/* ============ BEAM WORDMARK FOOTER (merged 2026-11-30) ============
   Vanilla port of the 21st.dev "Beam Wordmark Footer", scoped under
   .bwf. Companion script lives inline in index.html after the footer.
   Includes Sami's corrections: no hover lift, orange beam, and (2026-12-01)
   the wordmark is his full name "mohammed sami" in lowercase Poppins 700,
   fitted to the word box width, no vertical squash,
   with a stronger blurred bottom fade (see .bwf-l-blur and .bwf-foot).
   Round 3 (2026-12-01): the wordmark stands flush on the footer's
   bottom edge (slight glyph crop, no space below), top corners up to
   60px/42px, and a slight vignette joins the bottom blur.
   Round 4 (2026-12-01): wordmark side padding widened to 40% beyond
   the content column's inset (see .bwf-word-box) — bottom, blur and
   corners exactly as round 3 left them.
   Static pass (Sami, 2026-12-01): ALL footer motion removed — the
   pointer-tracked glow and beam loop are gone (script + .bwf-glow
   layer deleted), every transition and hover movement is stripped;
   hover states now change instantly. Content also scaled up a step
   (links 23px, description 20px, labels 18px, socials 44px). */

/* ===== Beam Wordmark Footer (vanilla port of the 21st.dev React component) ===== */
.bwf{position:relative;isolation:isolate;overflow:hidden;container-type:inline-size;background:var(--bwf-bg);color:var(--bwf-ink);font-family:var(--bwf-sans);-webkit-font-smoothing:antialiased;touch-action:pan-y}
:where(.bwf) a{color:inherit;text-decoration:none}
:where(.bwf) button{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer}
:where(.bwf) ul{list-style:none;margin:0;padding:0}
:where(.bwf) p{margin:0}
.bwf svg{max-width:none;display:block}
.bwf .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.bwf-rule{position:absolute;left:0;right:0;top:0;height:1px;z-index:3;background:linear-gradient(90deg,rgba(var(--bwf-acc),.15),rgba(var(--bwf-acc),.55) var(--bwf-b),rgba(var(--bwf-acc),.15))}
.bwf-sky{position:absolute;inset:0;z-index:0;pointer-events:none}
.bwf-wash{position:absolute;inset:0;background:radial-gradient(120% 90% at 8% 0%,rgba(var(--bwf-acc),.2),transparent 55%),radial-gradient(90% 70% at 92% 8%,rgba(var(--bwf-acc),.14),transparent 60%),linear-gradient(180deg,rgba(var(--bwf-acc),.06),transparent 70%)}
.bwf-bands{position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(var(--bwf-acc),.05) 0 1.6cqw,transparent 1.6cqw 4.2cqw);-webkit-mask-image:linear-gradient(100deg,#000 0%,transparent 55%);mask-image:linear-gradient(100deg,#000 0%,transparent 55%);opacity:.9}
.bwf-beam{position:absolute;inset:0;filter:blur(calc(1px + 1.6cqw));background:linear-gradient(var(--bwf-ang),transparent calc(var(--bwf-b) - 11%),rgba(var(--bwf-acc),.10) calc(var(--bwf-b) - 5%),rgba(var(--bwf-acc),.34) var(--bwf-b),rgba(var(--bwf-acc),.08) calc(var(--bwf-b) + 4%),transparent calc(var(--bwf-b) + 9%)),linear-gradient(var(--bwf-ang),transparent calc(var(--bwf-b) - 34%),rgba(var(--bwf-acc),.10) calc(var(--bwf-b) - 27%),transparent calc(var(--bwf-b) - 20%))}
.bwf-grain{position:absolute;inset:0;opacity:.14;mix-blend-mode:overlay;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}
.bwf-inner{position:relative;z-index:2;box-sizing:border-box;max-width:1120px;margin:0 auto;padding:clamp(48px,8.5cqw,104px) clamp(26px,7.8cqw,114px) 0;display:grid;grid-template-columns:minmax(0,1.62fr) minmax(0,.86fr) minmax(0,.86fr);column-gap:clamp(28px,4.6cqw,56px);row-gap:52px}
.bwf-label{font-size:18px;line-height:1;letter-spacing:.01em;color:rgb(var(--bwf-acc));padding-bottom:15px;position:relative;display:block}
.bwf-label::after{content:'';position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,rgba(var(--bwf-acc),.55),rgba(var(--bwf-acc),.28))}
.bwf-col{min-width:0}
.bwf-col:nth-child(1){max-width:420px}
.bwf-socials{display:flex;gap:18px;margin-top:16px}
.bwf-soc{position:relative;width:44px;height:44px;display:grid;place-items:center;border-radius:5px;color:rgba(var(--bwf-ink-rgb),.62);background:linear-gradient(180deg,rgba(var(--bwf-ink-rgb),.09),rgba(var(--bwf-ink-rgb),.025));box-shadow:inset 0 0 0 1px rgba(var(--bwf-ink-rgb),.16),inset 0 1px 0 rgba(var(--bwf-ink-rgb),.14),0 6px 14px -8px rgba(0,0,0,.8)}
.bwf-soc svg{width:22px;height:22px}
.bwf-soc:hover,.bwf-soc:focus-visible{color:var(--bwf-ink);background:linear-gradient(180deg,rgba(var(--bwf-acc),.32),rgba(var(--bwf-acc),.08));box-shadow:inset 0 0 0 1px rgba(var(--bwf-acc),.75),inset 0 1px 0 rgba(var(--bwf-ink-rgb),.3),0 10px 26px -8px rgba(var(--bwf-acc),.75)}
.bwf-soc:focus-visible{outline:none}
.bwf-tip{position:absolute;z-index:5;left:50%;top:calc(100% + 9px);translate:-50% 0;white-space:nowrap;font-size:11px;line-height:1;padding:6px 8px;border-radius:4px;background:rgba(var(--bwf-acc),.95);color:#fff;opacity:0;pointer-events:none}
.bwf-tip::after{content:'';position:absolute;left:50%;bottom:100%;margin-left:-4px;border:4px solid transparent;border-bottom-color:rgba(var(--bwf-acc),.95)}
.bwf-soc:hover .bwf-tip,.bwf-soc:focus-visible .bwf-tip{opacity:1}
.bwf-credits{margin-top:25px;font-size:20px;line-height:1.5;color:var(--bwf-muted)}
.bwf-credits p+p{margin-top:2px}
.bwf-credits b{font-weight:400;color:var(--bwf-ink)}
.bwf-credits a{color:var(--bwf-ink);background:linear-gradient(rgb(var(--bwf-acc)),rgb(var(--bwf-acc))) 0 100%/0 1px no-repeat}
.bwf-credits a:hover,.bwf-credits a:focus-visible{background-size:100% 1px;color:#fff;outline:none}
.bwf-links{margin-top:16px;display:flex;flex-direction:column;gap:0}
.bwf-link{position:relative;display:inline-flex;align-items:center;gap:8px;padding:7px 0;font-size:23px;line-height:30px;color:rgba(var(--bwf-ink-rgb),.78)}
.bwf-link-t{display:inline-block}
.bwf-link::before{content:'';position:absolute;left:0;top:50%;width:6px;height:1px;margin-top:0;background:rgb(var(--bwf-acc));transform:scaleX(0);transform-origin:0 50%}
.bwf-link svg{width:12px;height:12px;opacity:0;color:rgb(var(--bwf-acc))}
.bwf-link:hover,.bwf-link:focus-visible{color:#fff;outline:none}
.bwf-link:hover::before,.bwf-link:focus-visible::before{transform:scaleX(1)}
.bwf-link:hover svg,.bwf-link:focus-visible svg{opacity:1}
.bwf-link:focus-visible .bwf-link-t{text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(var(--bwf-acc),.8)}
.bwf-word{position:relative;z-index:1;overflow:hidden;margin-top:clamp(28px,7cqw,96px)}
/* Wordmark side padding (Sami, 2026-12-01 round 4): the wordmark is
   pulled in from BOTH edges, equal left and right, at 40% more than
   the content column's side inset — the column uses
   clamp(26px,7.8cqw,114px) (= 112.32px at a 1440px footer), so the
   word box uses the same clamp pattern scaled by 1.4:
   clamp(36px,10.92cqw,160px) = 157.25px per side at 1440px, 42.6px
   at 390px. fit() in the footer script reads this computed padding
   and rescales the font to the narrower box, so the wordmark gets
   slightly smaller and clearly separated from the frame edges. The
   bottom flush position, blur/vignette and top corners are untouched. */
.bwf-word-box{padding:0 clamp(36px,10.92cqw,160px);box-sizing:border-box;text-align:center}
/* Flush with the bottom edge (Sami, 2026-12-01 round 3): the word box
   height is baseline + CUT (0.14em of air under the glyph bottoms, and
   "mohammed sami" has no descenders, so the glyph bottoms ARE the
   baseline). Shifting the whole word down by .17em on this relatively
   positioned box puts the glyph feet ON the footer's bottom edge with
   a slight crop (~.03em) into it — the word stands on the frame, no
   padding below. place() measures offsetTop, which includes relative
   offsets, so the beam painting tracks the shift exactly. */
.bwf-word-in{position:relative;top:.17em;display:inline-flex;white-space:nowrap;font-family:'Poppins',sans-serif;font-weight:var(--bwf-ww);line-height:1;letter-spacing:-.02em;user-select:none;-webkit-user-select:none}
.bwf-lw{display:inline-block}
/* SAMI CORRECTION: letters never move — no hover lift, no hop, no
   entrance rise (all removed in the 2026-12-01 static pass). */
/* Wordmark letters (Sami, 2026-12-01): no squash — letters render at their
   natural Poppins proportions, so the beam maths need no compensation:
   background-size = section size, background-position = -(letter offset),
   glow a plain circle. (The 2026-11-30 scaleY(.85) squash and its / .85
   compensation were removed with the Archivo "SAMI" wordmark.) */
.bwf-l{display:inline-block;color:transparent;-webkit-background-clip:text;background-clip:text;background-repeat:no-repeat;background-size:var(--bwf-rw) var(--bwf-rh);background-position:calc(var(--bwf-x) * -1) calc(var(--bwf-y) * -1);
background-image:radial-gradient(circle 22cqw at var(--bwf-px) var(--bwf-py),rgba(var(--bwf-lit),calc(var(--bwf-g) * .85)),transparent 70%),
linear-gradient(var(--bwf-ang),transparent calc(var(--bwf-b) - 9%),rgba(var(--bwf-lit),.55) calc(var(--bwf-b) - 1.5%),rgba(var(--bwf-lit),.7) var(--bwf-b),rgba(var(--bwf-lit),.2) calc(var(--bwf-b) + 3.5%),transparent calc(var(--bwf-b) + 8%)),
linear-gradient(180deg,var(--bwf-wt) var(--bwf-top),var(--bwf-wf) var(--bwf-bot))}
/* Blurred twin layer: a second copy of the wordmark, blurred and masked so
   it only shows through in the bottom band — the glyph feet themselves
   soften progressively. The twin itself is pure blur; the slight
   vignette Sami allowed in round 3 lives on .bwf-foot, not here. */
.bwf-l-blur{position:absolute;inset:0;pointer-events:none;filter:blur(.09em);-webkit-mask-image:linear-gradient(180deg,transparent 52%,#000 88%);mask-image:linear-gradient(180deg,transparent 52%,#000 88%)}
.bwf-l-blur .bwf-l{cursor:default}
/* Bottom fade (Sami, 2026-12-01 round 3: blur dominant + a SLIGHT
   vignette, reversing round 2's blur-only call for this spot): the
   .bwf-l-blur twin letters blur the bottom band of the glyphs
   themselves, and this strip adds a backdrop blur over the lower 55%
   of the word box (masked in gradually, full at the bottom edge),
   plus a light ground-colour gradient that deepens to only ~.32
   alpha at the very edge — a whisper of vignette under the blur,
   nowhere near the old solid-#050505 curtain round 2 removed. The
   wordmark now stands flush on the bottom edge (see .bwf-word-in),
   so this zone runs right down to and past the glyph feet. */
.bwf-foot{position:absolute;left:0;right:0;bottom:0;height:55%;z-index:2;pointer-events:none;background:linear-gradient(180deg,transparent 42%,rgba(var(--bwf-bg-rgb),.32) 100%);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);-webkit-mask-image:linear-gradient(180deg,transparent 30%,#000 88%);mask-image:linear-gradient(180deg,transparent 30%,#000 88%)}
/* Rounder top corners (Sami, 2026-12-01; round 3 raised again): the
   seam radius lives in smooth.css (footer.bwf, 28px desktop / 20px
   mobile); this higher-specificity override raises it to 60px / 42px
   so the footer's top corners read dramatically rounder.
   Corner-notch fix (Sami, 2026-12-01): the radius (60px) was LARGER
   than the seam overlap (28px), so the lower wedge of each corner
   cut-out had neither the FAQ (ends 28px up) nor the footer behind
   it and the black body canvas showed through as a small black
   square notch at both corners. The overlap now MATCHES the radius
   (margin-top -60px / -42px, same rule as the other seams where
   margin = -radius), so the whole arc band sits over the FAQ and
   the cut-outs show only what's behind the footer. */
footer.bwf#beamFooter{border-top-left-radius:60px;border-top-right-radius:60px;margin-top:-60px}
@media (max-width:768px){footer.bwf#beamFooter{border-top-left-radius:42px;border-top-right-radius:42px;margin-top:-42px}}
@container (max-width: 760px){.bwf-inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr);row-gap:40px}.bwf-col:nth-child(1){grid-column:1 / -1;max-width:none}}
/* No reduced-motion block: since the 2026-12-01 static pass the
   footer has no transitions or animations left to disable. */

/* Mobile fix round 4 (Sami, 2026-12-01): the wordmark read far too
   small on phones and the Explore/Connect links far too big.
   Wordmark: fit() in the footer script sizes the word to the word
   box's inner width, so the mobile word box sheds its wide side
   padding (42.6px -> 8px a side at 390px) and the tracking tightens
   a touch; the fitted size grows as far as a one-line fit allows.
   Links: down from 23px/30px to a standard mobile 16.5px/22px, so
   two-word items like "Fluctuate Studio" can sit on one line. */
@media (max-width:820px){
  .bwf-word-box{padding:0 8px}
  .bwf-word-in{letter-spacing:-.055em}
  .bwf-link{font-size:16.5px;line-height:22px;padding:5px 0}
}
