/* ══════════════════════════════════════════════════════════════════
   HISHAM ALPHA — particle scenes on a fixed stage.
   ══════════════════════════════════════════════════════════════════ */
:root {
  --bg: #3b3e44;
  --bg2: #565a62;
  --ink: #f4f2ec;
  --ink-70: rgba(244, 242, 236, .82);
  --ink-55: rgba(244, 242, 236, .64);
  --ink-35: rgba(244, 242, 236, .42);
  --violet: #7895bb;
  --violet-2: #74c8e8;
  --teal: #91add0;
  --yellow: #94cee5;
  --pink: #d6e6f4;
  --sans: "Instrument Sans", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "Inter", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 4.2vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--violet); color: #fff; }

/* thin native scrollbar like the reference */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #303238; }
::-webkit-scrollbar-thumb { background: rgba(244,242,236,.32); border-radius: 3px; }

/* ── stage ───────────────────────────────────────────────── */
.stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: radial-gradient(42% 36% at 18% 24%, rgba(235,241,252,.18) 0%, transparent 76%), radial-gradient(38% 44% at 82% 72%, rgba(178,196,220,.16) 0%, transparent 78%), radial-gradient(120% 90% at 50% 45%, var(--bg2) 0%, var(--bg) 76%); }
.stage canvas { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; display: block; }
.stage__vignette { position: absolute; inset: 0; pointer-events: none;
  z-index: 2;
  background: radial-gradient(90% 80% at 50% 50%, transparent 40%, rgba(12,14,18,.28) 100%); }
.stage__grain { position: absolute; inset: -50%; pointer-events: none; opacity: .045; mix-blend-mode: screen;
  z-index: 3;
  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'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-4%)} 60%{transform:translate(-1%,3%)} 80%{transform:translate(3%,-1%)} 100%{transform:translate(0,0)} }

/* ── preloader ───────────────────────────────────────────── */
.pre { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center;
  transition: opacity .95s ease, visibility .95s; }
.pre.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.pre.is-bursting .pre__letter { animation: none; transform: scale(.4); opacity: 0; transition: transform .12s ease-out, opacity .12s ease-out; }
.pre__inner { position: relative; z-index: 2; width: min(320px, 70vw); text-align: center; }
.pre__impact { position: relative; width: min(260px, 100%); height: 68px; margin: 0 auto 18px; }
.pre__letter { position: absolute; bottom: 12px; height: 40px; fill: none; stroke: var(--pink); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; filter: drop-shadow(0 0 5px rgba(116,200,232,.35)); transform-origin: 50% 50%; will-change: transform, opacity, left; }
.pre__letter--h { left: 0; width: 26px; stroke: var(--teal); animation: pre-h-roll 3.2s linear both; }
.pre__letter--a { right: 0; width: 33px; stroke: var(--pink); animation: pre-a-roll 3.2s linear both; }
.pre__rail { position: absolute; right: 0; bottom: 13px; left: 0; height: 2px; background: rgba(255,255,255,.14); overflow: hidden; box-shadow: 0 0 10px rgba(116,200,232,.08); }
.pre__rail i { display: block; height: 100%; width: 0; background: var(--violet-2); transition: width .25s ease-out; }
.pre__burst { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pre__word { font-size: 22px; letter-spacing: -.02em; margin-bottom: 25px; }
.pre__meta { display: flex; justify-content: space-between; margin-top: 12px; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-55); font-family: var(--mono); }
.pre__meta em { font-style: normal; color: var(--ink); }
@keyframes pre-h-roll {
  0% { opacity: 0; transform: translate3d(0,-45vh,0) rotate(0deg) scale(1); animation-timing-function: cubic-bezier(.45,0,.78,1); }
  7% { opacity: 1; }
  30% { opacity: 1; left: 0; transform: translate3d(0,0,0) rotate(0deg) scaleX(1.08) scaleY(.9); }
  32.25% { left: 1.375%; transform: translate3d(0,-23.2%,0) rotate(45deg) scale(1); }
  34.5% { left: 2.75%; transform: translate3d(0,-30.3%,0) rotate(90deg) scale(1); }
  36.75% { left: 4.125%; transform: translate3d(0,-33.9%,0) rotate(135deg) scale(1); }
  39% { left: 5.5%; transform: translate3d(0,-35%,0) rotate(180deg) scale(1); }
  41.25% { left: 6.875%; transform: translate3d(0,-33.9%,0) rotate(225deg) scale(1); }
  43.5% { left: 8.25%; transform: translate3d(0,-30.3%,0) rotate(270deg) scale(1); }
  45.75% { left: 9.625%; transform: translate3d(0,-23.2%,0) rotate(315deg) scale(1); }
  48% { left: 11%; transform: translate3d(0,0,0) rotate(360deg) scaleX(1.08) scaleY(.9); }
  50.25% { left: 12.375%; transform: translate3d(0,-23.2%,0) rotate(405deg) scale(1); }
  52.5% { left: 13.75%; transform: translate3d(0,-30.3%,0) rotate(450deg) scale(1); }
  54.75% { left: 15.125%; transform: translate3d(0,-33.9%,0) rotate(495deg) scale(1); }
  57% { left: 16.5%; transform: translate3d(0,-35%,0) rotate(540deg) scale(1); }
  59.25% { left: 17.875%; transform: translate3d(0,-33.9%,0) rotate(585deg) scale(1); }
  61.5% { left: 19.25%; transform: translate3d(0,-30.3%,0) rotate(630deg) scale(1); }
  63.75% { left: 20.625%; transform: translate3d(0,-23.2%,0) rotate(675deg) scale(1); }
  66% { left: 22%; transform: translate3d(0,0,0) rotate(720deg) scaleX(1.08) scaleY(.9); }
  68.25% { left: 23.375%; transform: translate3d(0,-23.2%,0) rotate(765deg) scale(1); }
  70.5% { left: 24.75%; transform: translate3d(0,-30.3%,0) rotate(810deg) scale(1); }
  72.75% { left: 26.125%; transform: translate3d(0,-33.9%,0) rotate(855deg) scale(1); }
  75% { left: 27.5%; transform: translate3d(0,-35%,0) rotate(900deg) scale(1); }
  77.25% { left: 28.875%; transform: translate3d(0,-33.9%,0) rotate(945deg) scale(1); }
  79.5% { left: 30.25%; transform: translate3d(0,-30.3%,0) rotate(990deg) scale(1); }
  81.75% { left: 31.625%; transform: translate3d(0,-23.2%,0) rotate(1035deg) scale(1); }
  84%, 100% { left: 33%; opacity: 1; transform: translate3d(0,0,0) rotate(1080deg) scale(1); }
}
@keyframes pre-a-roll {
  0% { opacity: 0; transform: translate3d(0,-55vh,0) rotate(0deg) scale(1); animation-timing-function: cubic-bezier(.45,0,.78,1); }
  10% { opacity: 1; }
  30% { opacity: 1; right: 0; transform: translate3d(0,0,0) rotate(0deg) scaleX(1.08) scaleY(.9); }
  32.25% { right: 1.667%; transform: translate3d(0,-28.5%,0) rotate(-45deg) scale(1); }
  34.5% { right: 3.333%; transform: translate3d(0,-37.4%,0) rotate(-90deg) scale(1); }
  36.75% { right: 5%; transform: translate3d(0,-41.6%,0) rotate(-135deg) scale(1); }
  39% { right: 6.667%; transform: translate3d(0,-43.25%,0) rotate(-180deg) scale(1); }
  41.25% { right: 8.333%; transform: translate3d(0,-41.6%,0) rotate(-225deg) scale(1); }
  43.5% { right: 10%; transform: translate3d(0,-37.4%,0) rotate(-270deg) scale(1); }
  45.75% { right: 11.667%; transform: translate3d(0,-28.5%,0) rotate(-315deg) scale(1); }
  48% { right: 13.333%; transform: translate3d(0,0,0) rotate(-360deg) scaleX(1.08) scaleY(.9); }
  50.25% { right: 15%; transform: translate3d(0,-28.5%,0) rotate(-405deg) scale(1); }
  52.5% { right: 16.667%; transform: translate3d(0,-37.4%,0) rotate(-450deg) scale(1); }
  54.75% { right: 18.333%; transform: translate3d(0,-41.6%,0) rotate(-495deg) scale(1); }
  57% { right: 20%; transform: translate3d(0,-43.25%,0) rotate(-540deg) scale(1); }
  59.25% { right: 21.667%; transform: translate3d(0,-41.6%,0) rotate(-585deg) scale(1); }
  61.5% { right: 23.333%; transform: translate3d(0,-37.4%,0) rotate(-630deg) scale(1); }
  63.75% { right: 25%; transform: translate3d(0,-28.5%,0) rotate(-675deg) scale(1); }
  66% { right: 26.667%; transform: translate3d(0,0,0) rotate(-720deg) scaleX(1.08) scaleY(.9); }
  68.25% { right: 28.333%; transform: translate3d(0,-28.5%,0) rotate(-765deg) scale(1); }
  70.5% { right: 30%; transform: translate3d(0,-37.4%,0) rotate(-810deg) scale(1); }
  72.75% { right: 31.667%; transform: translate3d(0,-41.6%,0) rotate(-855deg) scale(1); }
  75% { right: 33.333%; transform: translate3d(0,-43.25%,0) rotate(-900deg) scale(1); }
  77.25% { right: 35%; transform: translate3d(0,-41.6%,0) rotate(-945deg) scale(1); }
  79.5% { right: 36.667%; transform: translate3d(0,-37.4%,0) rotate(-990deg) scale(1); }
  81.75% { right: 38.333%; transform: translate3d(0,-28.5%,0) rotate(-1035deg) scale(1); }
  84%, 100% { right: 40%; opacity: 1; transform: translate3d(0,0,0) rotate(-1080deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .pre__letter--h { left: 33%; animation: none; transform: none; opacity: 1; }
  .pre__letter--a { right: 40%; animation: none; transform: none; opacity: 1; }
}

/* ── cursor ──────────────────────────────────────────────── */
.cur, .cur-ring { position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; opacity: 0; will-change: transform; }
.cur { width: 128px; height: 128px; margin: -64px 0 0 -64px; border-radius: 50%;
  background: radial-gradient(circle, rgba(238,247,255,.16) 0%, rgba(116,200,232,.12) 25%, rgba(120,149,187,.07) 48%, transparent 72%);
  filter: blur(7px); mix-blend-mode: screen; transition: opacity .35s ease; }
.cur-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1px solid rgba(238,247,255,.35);
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), border-color .3s, background .3s; display: grid; place-items: center; }
.cur-ring span { font-family: var(--mono); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cur-ring.is-active { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: var(--violet-2); background: rgba(116,200,232,.15); }
.cur-ring.is-active span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cur, .cur-ring { display: none; } }

/* ── HUD ─────────────────────────────────────────────────── */
.hud { position: fixed; top: 0; left: 0; right: 0; z-index: 50; isolation: isolate; display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad); pointer-events: none; }
.hud::before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: calc(100% + 3px); pointer-events: none;
  background: linear-gradient(180deg, rgba(59,62,68,.68) 0%, rgba(59,62,68,.42) 82%, transparent 100%);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.hud > * { pointer-events: auto; }
.hud__brand { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; letter-spacing: -.01em; }
.hud__avatar {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 15%;
  border: 1px solid rgba(238, 247, 255, .68);
  box-shadow: 0 0 0 2px rgba(116, 200, 232, .15);
}
.hud__nav { display: flex; align-items: center; gap: 28px; }
.hud__nav a:not(.pill) { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-55); transition: color .3s; }
.hud__nav a:not(.pill):hover, .hud__nav a.is-active { color: var(--ink); }
.hud__nav .pill { text-transform: none; letter-spacing: .02em; font-family: var(--sans); font-size: 12px; }

.pill { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; height: 24px; padding: 0 13px; border: 1px solid rgba(214, 230, 244, .78); border-radius: 999px; overflow: visible;
  background: linear-gradient(132deg, transparent 0 25%, rgba(214,248,255,.30) 25.4% 25.9%, transparent 26.3% 63%, rgba(220,245,255,.22) 63.4% 63.8%, transparent 64.2%), linear-gradient(38deg, transparent 0 44%, rgba(57,81,139,.28) 44.4% 44.9%, transparent 45.3%), linear-gradient(122deg, #8bdcf0 0%, #7cb5db 52%, #7895bb 100%);
  color: #24394b; font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  text-shadow: 0 1px 0 rgba(236, 251, 255, .48); transition: transform .35s var(--ease), opacity .25s ease, box-shadow .3s, filter .3s; box-shadow: 0 0 0 1px rgba(116,200,232,.12), 0 0 18px rgba(116,200,232,.20), inset 0 1px 0 rgba(236,251,255,.42); }
.pill::before, .pill::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.pill::before { z-index: 0; background: linear-gradient(145deg, rgba(210,249,255,.32), transparent 38%, rgba(4,39,134,.22)); opacity: .7; }
.pill::after { inset: 2px; opacity: 0; background: linear-gradient(126deg, transparent 0 33%, rgba(57,81,139,.96) 33.6% 34.2%, rgba(214,230,244,.9) 34.7% 35.2%, transparent 35.8%), linear-gradient(54deg, transparent 0 53%, rgba(57,81,139,.94) 53.5% 54.1%, rgba(214,230,244,.86) 54.6% 55.1%, transparent 55.7%), linear-gradient(162deg, transparent 0 43%, rgba(57,81,139,.9) 43.5% 44.1%, rgba(214,230,244,.82) 44.6% 45.1%, transparent 45.7%); filter: drop-shadow(0 0 4px rgba(116,200,232,.72)); transition: opacity .16s ease, transform .24s ease, clip-path .18s ease; transform: scale(.97); }
.pill.crack-left::after { clip-path: polygon(0 0, 44% 0, 38% 100%, 0 100%); }
.pill.crack-center::after { clip-path: inset(0); }
.pill.crack-right::after { clip-path: polygon(60% 0, 100% 0, 100% 100%, 55% 100%); }
.pill:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(116,200,232,.25), 0 0 25px rgba(116,200,232,.34), inset 0 1px 0 rgba(236,251,255,.58); }
.pill.crack-left::after, .pill.crack-center::after, .pill.crack-right::after, .pill:focus-visible::after { opacity: .94; transform: scale(1); }
.pill:focus-visible { outline: 2px solid rgba(116,200,232,.85); outline-offset: 4px; }
.pill.is-shattering { opacity: 0; transform: scale(.9); filter: brightness(1.4); pointer-events: none; }
.pill.is-shattering::before, .pill.is-shattering::after { opacity: 0; }
.pill.is-reforming { opacity: 1; transform: scale(1); transition: opacity .42s ease, transform .52s var(--ease), box-shadow .3s; }
.pill--lg { height: 30px; padding: 0 18px; font-size: 9.5px; }
.shard-canvas { position: fixed; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.magnet-canvas { position: fixed; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .pill, .pill::after { transition-duration: .01ms; } }

/* ── sections ────────────────────────────────────────────── */
main { position: relative; z-index: 2; }
.sec { position: relative; min-height: 100vh; padding: 0 var(--pad); }

.h2 { font-size: clamp(26px, 2.75vw, 42px); font-weight: 400; letter-spacing: -.025em; line-height: 1.12; margin-bottom: 20px; }
.h2--xl { font-size: clamp(38px, 4.4vw, 68px); letter-spacing: -.03em; line-height: 1.02; }
.body { font-size: 12.5px; line-height: 1.55; color: var(--ink-70); max-width: 34ch; margin-bottom: 14px; }
.body em { font-style: italic; }
.body em.hi { color: var(--yellow); }
.eyebrow { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); font-weight: 700; margin-bottom: 8px; }
.lnk { color: var(--yellow); }
.lnk:hover { text-decoration: underline; }

/* hero */
.sec--hero { display: flex; align-items: center; min-height: 100vh; }
.hero__copy { position: absolute; top: 55%; left: 50%; width: min(92vw, 740px); max-width: none; text-align: center; transform: translateX(-50%); }
.hero__copy .eyebrow { margin-bottom: 10px; font-size: 10px; }
.hero__body { font-size: 12.5px; line-height: 1.6; color: var(--ink-70); max-width: 40ch; margin: 0 auto 22px; }
.hero__copy .eyebrow, .hero__body, .hero__copy .pill { opacity: 0; transform: translateY(14px); }

/* side copy sections */
.sec--side { display: flex; align-items: center; }
.sec--side.sec--tall { min-height: 130vh; }
.sec--ideas { min-height: 70vh; }
.sec--right { justify-content: flex-end; }
.sec--right .side__copy { width: min(34vw, 420px); margin-right: 2vw; }
.sec--left .side__copy { width: min(34vw, 420px); margin-left: 1vw; }
.side__copy .body { max-width: 36ch; }
.sec--ideas .side__work-link { display: inline-flex; align-items: center; gap: 11px; margin-top: 4px; color: var(--ink-70); font-size: clamp(13px, 1.1vw, 15px); line-height: 1.4; text-decoration: none; transition: color .25s ease; }
.sec--ideas .side__work-link svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--violet-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.sec--ideas .side__work-link:hover { color: var(--violet-2); }
.sec--ideas .side__work-link:hover svg { transform: translateY(4px); }
.sec--ideas .side__work-link:focus-visible { outline: 1px solid var(--violet-2); outline-offset: 5px; border-radius: 2px; }
@media (min-width: 901px) {
  .sec--right .side__copy, .sec--left .side__copy { width: min(40vw, 520px); }
  .side__copy .h2 { font-size: clamp(36px, 3.35vw, 54px); margin-bottom: 24px; }
  .side__copy .body { max-width: 44ch; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.65; margin-bottom: 18px; }
  .side__copy .pill { height: 30px; padding-inline: 16px; font-size: 9.5px; }
}

/* team */
.sec--team { min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.team__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.team__bg img { position: absolute; left: 50%; top: 50%; width: 120vh; height: auto; transform: translate(-50%, -50%); opacity: 0;
  filter: blur(6px) saturate(.4) brightness(.5); transition: opacity 1s ease; }
.team__bg img.is-on { opacity: .12; }
.team__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(280px, 34vw) 1fr; gap: 6vw; align-items: center; width: 100%; }
.team__sub { font-size: 15px; margin-bottom: 14px; }
.team__copy .body { max-width: 40ch; }
.team__slider { position: relative; display: grid; grid-template-columns: 200px auto; grid-template-rows: auto auto; column-gap: 20px; row-gap: 22px; align-items: center; }
.team__cardwrap { position: relative; width: 200px; height: 310px; grid-row: 1; grid-column: 1; }
.team__card { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; background: #111; box-shadow: 0 30px 80px rgba(0,0,0,.6);
  transform-origin: 50% 100%; opacity: 0; will-change: transform, opacity; }
.team__card img { width: 100%; height: 100%; object-fit: cover; }
.team__card::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); border-radius: inherit; }
.team__meta { grid-row: 1; grid-column: 2; align-self: start; padding-top: 42px; }
.team__role { font-family: var(--mono); font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--violet-2); font-weight: 700; margin-bottom: 8px; min-height: 12px; }
.team__name { font-size: clamp(22px, 2.05vw, 32px); font-weight: 400; letter-spacing: -.02em; line-height: 1.12; margin-bottom: 12px; min-height: 2.24em; }
.team__name .ln { display: block; overflow: hidden; }
.team__name .ln span { display: block; }
.team__social { display: flex; gap: 10px; }
.team__social a svg { width: 12px; height: 12px; fill: var(--ink); opacity: .85; }
.team__ctrl { grid-row: 2; grid-column: 1; display: flex; justify-content: center; gap: 8px; }
.rbtn { width: 22px; height: 22px; border-radius: 50%; background: var(--violet); color: #fff; font-size: 11px; line-height: 1; display: grid; place-items: center;
  transition: background .25s, transform .3s var(--ease); }
.rbtn:hover { background: #22c79a; transform: scale(1.12); }
.rbtn:active { transform: scale(.94); }

/* cta */
.sec--cta { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.cta__copy { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta__h { font-size: clamp(24px, 2.6vw, 40px); font-weight: 400; letter-spacing: -.025em; line-height: 1.15; text-shadow: 0 2px 30px rgba(0,0,0,.28); }
.foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px var(--pad); font-family: var(--mono);
  font-size: 8.5px; letter-spacing: .06em; color: var(--ink-55); }
.foot__nav { display: flex; gap: 22px; text-transform: uppercase; letter-spacing: .12em; }
.foot__nav a:hover { color: var(--ink); }
.foot__soc { display: flex; gap: 14px; }
.foot__soc svg { width: 12px; height: 12px; fill: var(--ink); opacity: .85; }

/* reveal (JS toggles) */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hud__nav { gap: 16px; }
  .hud__nav { gap: 12px; }
  .hero__copy { top: 55%; width: min(92vw, 740px); padding-top: 0; }
  .sec--right, .sec--left { justify-content: flex-start; align-items: flex-end; padding-bottom: 12vh; }
  .sec--right .side__copy, .sec--left .side__copy { width: min(100%, 420px); margin: 0; }
  .sec--side.sec--tall { min-height: 100vh; }
  .team__grid { grid-template-columns: 1fr; gap: 40px; padding: 16vh 0 10vh; }
  .team__slider { grid-template-columns: 170px auto; }
  .team__cardwrap { width: 170px; height: 262px; }
  .foot { flex-wrap: wrap; gap: 8px; justify-content: center; text-align: center; }
  .foot__c { width: 100%; }
}

/* ── reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .stage__grain { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero__copy .eyebrow, .hero__body, .hero__copy .pill { transform: none; opacity: 1; }
  .cur, .cur-ring { display: none; }
}


/* portfolio additions */
.hud__avatar { flex: 0 0 30px; }
.hud__nav a:not(.pill) { text-transform: none; letter-spacing: .02em; font-family: var(--sans); font-size: 12px; }
.hud__nav a.is-active { color: var(--ink); }
.contact__note { color: var(--ink-70); font-size: 12px; }
@media (max-width: 900px) {
  .hud { padding-left: max(16px, var(--pad)); padding-right: max(16px, var(--pad)); }
  .hud__brand { font-size: 13px; gap: 5px; }
  .hud__nav { gap: 10px; }
  .hud__nav a:not(.pill) { font-size: 10px; }
  .hud__nav .pill { padding: 0 10px; font-size: 8px; }
}

@media (max-width: 520px) {
  .hud__avatar { width: 26px; height: 26px; flex-basis: 26px; }
  .hud__brand { font-size: 11px; }
  .hud__nav { gap: 7px; }
  .hud__nav a:not(.pill) { font-size: 8px; }
  .hud__nav .pill { padding: 0 8px; }
}

.hero__copy .hero__socials { opacity: 0; transform: translateY(14px); }
.hero__socials { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 14px; }
.social-link { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(238,247,255,.24); border-radius: 50%; color: #eef7ff; background: rgba(120,149,187,.10); transition: color .2s, background .2s, border-color .2s, transform .2s; }
a.social-link:hover { background: #7895bb; border-color: #74c8e8; transform: translateY(-2px); }
a.social-link:focus-visible { outline: 2px solid #74c8e8; outline-offset: 3px; }
.social-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social-link .social-dot { fill: currentColor; stroke: none; }
@media (prefers-reduced-motion: reduce) { .hero__copy .hero__socials { transform: none; opacity: 1; } }

/* Portfolio work */
.work-section {
  --work-surface: #242930;
  --work-line: #535e6c;
  width: min(100%, 1420px);
  min-height: auto;
  margin-inline: auto;
  padding-block: clamp(72px, 11vw, 150px);
  scroll-margin-top: 44px;
  background: radial-gradient(ellipse at 35% 20%, #252a31aa, transparent 72%);
}
.work-anchor { position: absolute; top: 0; scroll-margin-top: 44px; }
.work-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 12px 36px;
  align-items: end;
  padding-bottom: clamp(18px, 3vw, 34px);
  border-bottom: 1px solid var(--work-line);
}
.work-heading h2 {
  font-size: clamp(42px, 6.5vw, 96px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.065em;
}
.work-heading > p, .work-card__copy > p:not(.work-type), .work-case__header p:not(.work-type) {
  max-width: 48ch;
  color: var(--ink-70);
  font-size: clamp(14px, 1.35vw, 17px);
}
.work-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 28px;
}
.work-index a {
  padding: 7px 13px;
  border: 1px solid var(--work-line);
  border-radius: 99px;
  background: var(--work-surface);
  font-size: 13px;
}
.work-index a[aria-current] { background: var(--pink); color: #222930; border-color: transparent; }
.work-credit {
  margin: -12px 0 12px;
  color: var(--ink-70);
  font-size: 12px;
  text-align: end;
}
.work-grid, .work-case__compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.work-card, .work-case {
  overflow: hidden;
  border: 1px solid var(--work-line);
  border-radius: 14px;
  background: var(--work-surface);
}
.work-card__image { position: relative; display: block; overflow: hidden; background: #181c22; }
.work-card__image video { position: absolute; inset: 0; opacity: 0; }
.work-card__image video.is-playing-preview { opacity: 1; }
#boba, #juice-paradise { scroll-margin-top: 84px; }
.work-card__image img, .work-card__image video, .work-case__compare img, .work-case__compare video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}
.work-card__copy, .work-case { padding: clamp(16px, 2.6vw, 34px); }
.work-type { color: #a8d4e6; font-size: 13px; margin-bottom: 5px; }
.work-card h3, .work-case h3 {
  margin-bottom: 6px;
  font-size: clamp(26px, 3.6vw, 47px);
  line-height: 1.06;
  letter-spacing: -.05em;
  font-weight: 500;
}
.work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: .25em;
  font-size: 14px;
}
.work-card__copy .work-link { margin-top: 14px; }
.work-card__copy .work-link + .work-link { margin-inline-start: 16px; }
.work-case { margin-top: clamp(18px, 3vw, 34px); }
#blend, #aquarium { scroll-margin-top: 84px; }
.work-case__header .blend-credit { margin-top: 10px; }
.work-case__header { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.work-case__compare figure { min-width: 0; }
.work-case__compare figcaption {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding-block: 8px;
  border-top: 1px solid var(--work-line);
}
.work-case__compare figcaption span { color: var(--ink-70); font-size: 13px; }
.work-case__compare img, .work-case__compare video { aspect-ratio: 16 / 9; object-fit: contain; border-radius: 6px; background: #171b20; }
.work-preview { position: relative; }
.work-preview__toggle {
  position: absolute;
  inset: 0;
  width: 100%;
  border-radius: 6px;
}
.work-preview__toggle > img { height: 100%; }
.work-preview__icon {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff66;
  border-radius: 50%;
  background: #171b20dd;
  color: #fff;
  font-size: 13px;
}
.work-preview__toggle[aria-pressed="true"] > * { visibility: hidden; }
.work-preview__toggle:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; }
.work-index a:hover { border-color: var(--violet-2); }
.work-link:hover { color: var(--violet-2); }
.work-section :is(.work-index a, .work-link, video):focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; }
.work-card__image:focus-visible { outline: 2px solid var(--violet-2); outline-offset: -4px; }
@media (max-width: 780px) {
  .work-heading { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .work-grid, .work-case__compare { grid-template-columns: 1fr; }
}

