/* ==========================================================================
   Rexhino Gançi — v2
   Black + lime, grounded by moss-stone, forest and bone.
   One hero object (a back-lit moss-stone planet, WebGL), glass cards,
   solid lime and bone blocks for rhythm. Type: Geist + Instrument Serif italic.
   ========================================================================== */

:root {
  --bg: #0b0b0c;
  --bg-2: #111112;
  --card: #141415;
  --card-2: #1a1a1b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f1ea;
  --muted: #a19e97;
  --quiet: #6c6a65;

  --lime: #c8f55a;
  --lime-2: #b4e63a;
  --lime-rgb: 200, 245, 90;
  --mint: #6ff0a6;
  --forest: #1c1c1d;
  --moss: #2c4422;
  --bone: #ece8dc;
  --bone-2: #ddd8c8;
  --stone: #8a8577;
  --ink: #0a0f08;

  --sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 76px;
  --section-y: clamp(96px, 11vw, 168px);
  --gap: 16px;
  --pad: clamp(22px, 2.4vw, 32px);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; font-weight: 400; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; overflow-x: clip;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, dt, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.nowrap { white-space: nowrap; }
@media (max-width: 600px) { .nowrap { white-space: normal; } }

/* ---------- Type ---------- */
.display { font-size: clamp(2.6rem, 1rem + 6vw, 6.4rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.05em; }
.display .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.display .line__in { display: inline-block; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; padding-right: 0.05em; }
.display .serif, .h2 .serif { font-size: 1.07em; line-height: 0.9; }
.h2 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 4.1rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.045em; }
.h3 { font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.65rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; }
.h4 { font-size: 1.25rem; font-weight: 500; }
.hl, .grad { color: var(--lime); }
.lede { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 36em; }
.footnote { font-size: 0.875rem; color: var(--quiet); }

.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px 0 10px; margin-bottom: 22px; border-radius: 999px; font-size: 0.875rem; font-weight: 500; color: var(--text); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); }
.pill svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--lime); fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pill--dark { color: var(--ink); background: rgba(10, 15, 8, 0.07); box-shadow: inset 0 0 0 1px rgba(10, 15, 8, 0.14); }
.pill--dark svg { background: var(--ink); stroke: var(--lime); }

.head { margin-bottom: clamp(44px, 5vw, 72px); }
.head--center { text-align: center; display: grid; justify-items: center; }
.head--center .lede { margin-top: 22px; }
.head--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
@media (max-width: 860px) { .head--split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --bg-b: var(--lime);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1rem/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  transform: translate(var(--tx, 0px), var(--ty, 0px));
  transition: transform 0.35s var(--ease), background-color 0.25s ease, box-shadow 0.3s ease, color 0.25s ease;
}
.btn .i-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn:active { transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(0.97); }
.btn--lime { background: var(--lime); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn--lime:hover { background: #d6ff72; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 12px 44px -6px rgba(var(--lime-rgb), 0.10); }
.btn--ghost { background: rgba(255, 255, 255, 0.05); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(var(--lime-rgb), 0.45); }
.btn--dark { background: var(--ink); color: var(--lime); }
.btn--dark:hover { background: #1d1d1e; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }
.btn--small .i-arrow { width: 16px; height: 16px; }
.btn--large { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn--xl { min-height: 64px; padding: 0 34px; font-size: 1.125rem; }
.btn--block { width: 100%; }
.link { color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgba(255, 255, 255, 0.3); transition: text-decoration-color 0.2s ease, color 0.2s ease; }
.link:hover { color: var(--lime); text-decoration-color: var(--lime); }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; }

/* ---------- Nav ---------- */
.nav { position: fixed; left: 0; right: 0; top: 0; z-index: 50; padding: 14px var(--gutter) 0; transition: transform 0.5s var(--ease); }
.nav.is-hidden { transform: translateY(-120%); }
.nav__inner {
  position: relative; max-width: calc(var(--wrap) + 20px); height: 60px; margin: 0 auto; padding: 0 8px 0 16px;
  display: flex; align-items: center; gap: 20px; border-radius: 999px;
  background: rgba(22, 22, 23, 0.55); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: saturate(150%) blur(20px); backdrop-filter: saturate(150%) blur(20px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.brand__mark { width: 32px; height: 32px; flex: none; border-radius: 9px; transition: transform 0.5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg); }
.nav__menu { margin: 0 auto; }
.nav__links { display: flex; gap: 2px; }
.nav__links a { position: relative; display: block; padding: 8px 14px; border-radius: 999px; font-size: 0.9375rem; color: var(--muted); text-decoration: none; transition: color 0.2s ease, background-color 0.2s ease; }
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav__links a.is-current, .nav__links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.nav__menu-cta, .nav__toggle { display: none; }
@media (max-width: 880px) {
  .nav__inner { gap: 10px; padding-left: 12px; }
  .nav__menu { margin: 0; }
  .nav__cta { margin-left: auto; }
  .js .nav__toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: var(--text); cursor: pointer; }
  .nav__toggle-icon, .nav__toggle-icon::before { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.3s ease; }
  .nav__toggle-icon { transform: translateY(-3px); }
  .nav__toggle-icon::before { content: ""; transform: translateY(6px); }
  .menu-open .nav__toggle-icon { transform: rotate(45deg); }
  .menu-open .nav__toggle-icon::before { transform: rotate(-90deg); }
  .js .nav__menu { position: fixed; left: var(--gutter); right: var(--gutter); top: 84px; padding: 16px; border-radius: 24px; background: rgba(18, 18, 19, 0.97); box-shadow: inset 0 0 0 1px var(--line-2); display: flex; flex-direction: column; gap: 16px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s; }
  .js.menu-open .nav__menu { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s ease, transform 0.25s ease; }
  .js .nav__links { flex-direction: column; }
  .js .nav__links a { padding: 14px 12px; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; color: var(--text); border-radius: 14px; }
  .js .nav__menu-cta { display: inline-flex; }
  html:not(.js) .nav__menu { display: none; }
}
@media (max-width: 420px) { .nav__cta { padding: 0 14px; } .nav__cta .i-arrow { display: none; } }

/* ---------- Orb canvas (WebGL moss-stone planet) ---------- */
.orb { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; overflow: clip; padding: calc(var(--nav-h) + clamp(48px, 9vh, 110px)) 0 clamp(40px, 5vw, 72px); }
.hero__fallback { position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 70% at 50% 120%, rgba(var(--lime-rgb), 0.35), rgba(40, 40, 38, 0.6) 35%, transparent 65%), var(--bg); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero__inner { text-align: center; display: grid; justify-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 4px 12px 4px 4px; border-radius: 999px; font-size: 0.875rem; color: var(--text); text-decoration: none; background: rgba(22, 22, 23, 0.6); box-shadow: inset 0 0 0 1px var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: box-shadow 0.3s ease; }
.badge:hover { box-shadow: inset 0 0 0 1px rgba(var(--lime-rgb), 0.5); }
.badge__tag { white-space: nowrap; display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 600; }
.badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.display--hero { margin-top: clamp(22px, 2.6vw, 34px); max-width: 12.5em; }
.display--hero .serif { color: var(--lime); }
.hero__inner .lede { margin-top: clamp(18px, 2vw, 26px); }
.hero__inner .actions { margin-top: clamp(26px, 3vw, 38px); }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 26px; font-size: 0.875rem; color: var(--muted); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { width: 16px; height: 16px; fill: none; stroke: var(--lime); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Glass KPI cards on the horizon */
.hero__cards { margin-top: clamp(72px, 10vw, 150px); }
.kpis { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: var(--gap); align-items: end; }
.kpi {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-height: 250px; padding: var(--pad); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(32, 32, 33, 0.62), rgba(14, 14, 15, 0.72));
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  transform: translate3d(0, var(--fy, 0px), 0);
}
.kpi::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--lime-rgb), 0.8), transparent); }
.kpi__head { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.kpi__head dt { font-size: 0.9375rem; color: var(--text); font-weight: 500; }
.kpi__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(var(--lime-rgb), 0.12); box-shadow: inset 0 0 0 1px rgba(var(--lime-rgb), 0.35); }
.kpi__icon svg { width: 18px; height: 18px; fill: none; stroke: var(--lime); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.kpi__chip { margin-left: auto; padding: 5px 12px; border-radius: 999px; font-size: 0.8125rem; color: var(--muted); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); }
.kpi__num { position: relative; z-index: 1; font-size: clamp(2.6rem, 1.8rem + 2.2vw, 3.6rem); font-weight: 500; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.kpi__num--big { font-size: clamp(3.4rem, 2rem + 4vw, 5.6rem); text-align: center; }
.kpi__sub { position: relative; z-index: 1; margin-top: -8px; font-size: 0.9375rem; color: var(--muted); }
.kpi__sub strong { color: var(--lime); font-weight: 600; margin-right: 4px; }

.kpi--chart { min-height: 340px; background: radial-gradient(70% 60% at 65% 30%, rgba(var(--lime-rgb), 0.16), transparent 70%), linear-gradient(180deg, rgba(32, 32, 33, 0.66), rgba(14, 14, 15, 0.78)); }
.chart { position: absolute; left: 0; right: 0; top: 74px; width: 100%; height: 46%; overflow: visible; }
.chart__area { fill: url(#cf); }
.chart__line { fill: none; stroke: var(--lime); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 8px rgba(var(--lime-rgb), 0.9)) drop-shadow(0 0 24px rgba(var(--lime-rgb), 0.6)); }
.chart__dot { position: absolute; left: 65.5%; top: calc(74px + 46% * 26 / 170); width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #f6ffd8; box-shadow: 0 0 0 6px rgba(var(--lime-rgb), 0.25), 0 0 30px 10px rgba(var(--lime-rgb), 0.8); z-index: 1; }

.ring { position: absolute; right: 20px; bottom: 20px; width: 118px; height: 118px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 14; }
.ring__track { stroke: rgba(255, 255, 255, 0.07); }
.ring__fill { stroke: url(#rg); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 10px rgba(var(--lime-rgb), 0.6)); }

.bars { position: absolute; right: 22px; bottom: 22px; display: flex; align-items: flex-end; gap: 6px; height: 112px; }
.bars i { width: 14px; height: calc(var(--h) * 100%); border-radius: 5px; background: linear-gradient(180deg, var(--lime), rgba(var(--lime-rgb), 0.12)); transform-origin: 50% 100%; }
.bars i:last-child { background: linear-gradient(180deg, #f2ffc8, var(--lime)); box-shadow: 0 0 22px rgba(var(--lime-rgb), 0.75); }
.hero__cards .footnote { margin-top: 18px; text-align: center; }

@media (max-width: 900px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi--chart { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 520px) {
  .kpi { min-height: 210px; }
  .kpi--chart { min-height: 330px; }
  .kpi--chart .chart { top: 62px; height: 34%; }
  .kpi--chart .chart__dot { top: calc(62px + 34% * 26 / 170); }
  .ring { width: 84px; height: 84px; right: 16px; bottom: 16px; }
  .bars { height: 78px; gap: 4px; right: 16px; bottom: 16px; } .bars i { width: 9px; }
  .kpi__num { font-size: 2.4rem; }
  .kpi__head { flex-wrap: wrap; } .kpi__head dt { font-size: 0.875rem; }
  .kpi--ring .kpi__icon, .kpi--bars .kpi__icon { display: none; }
  .kpi--ring, .kpi--bars { justify-content: flex-end; padding-top: 104px; }
  .kpi--ring .kpi__head, .kpi--bars .kpi__head { position: absolute; left: var(--pad); right: var(--pad); top: var(--pad); }
  .ring { top: auto; bottom: auto; top: 56px; right: 14px; width: 62px; height: 62px; }
  .bars { top: 60px; bottom: auto; height: 50px; }
  .badge { font-size: 0.75rem; text-align: left; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.services { overflow-x: clip; }

/* Work: two rows together */
.work { padding-bottom: clamp(72px, 8vw, 120px); }
.work__rows { display: grid; gap: 14px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.js .marquee { cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.js .marquee.is-dragging { cursor: grabbing; }
.js .marquee.is-dragging a { pointer-events: none; }
.tile {
  position: relative; flex: none; width: clamp(220px, 22vw, 320px); aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end; padding: 18px; border-radius: var(--r-lg); text-decoration: none; color: var(--text);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.6s var(--ease), box-shadow 0.4s ease;
}
/* Placeholder look: soft moss light, big rounded shape. Real images cover it. */
.tile__glow { position: absolute; inset: 0; z-index: -1; transition: transform 1.2s var(--ease); }
.tile--v0 .tile__glow { background: radial-gradient(90% 60% at 50% 110%, rgba(var(--lime-rgb), 0.45), rgba(40, 40, 38, 0.6) 45%, transparent 75%), linear-gradient(160deg, #1a1a1b, #0e0e0f); }
.tile--v1 .tile__glow { background: radial-gradient(70% 55% at 100% 0%, rgba(var(--lime-rgb), 0.32), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(60, 58, 52, 0.8), transparent 70%), #121213; }
.tile--v2 .tile__glow { background: radial-gradient(60% 45% at 30% 35%, rgba(236, 232, 220, 0.16), transparent 70%), linear-gradient(200deg, #1c1c1d, #0e0e0f 70%); }
.tile--v3 .tile__glow { background: linear-gradient(160deg, rgba(var(--lime-rgb), 0.9), #6aa82a 55%, #1d3a12); }
.tile--v3 { color: var(--ink); }
.tile--v3 .tile__group { color: rgba(10, 15, 8, 0.7) !important; }
.tile img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; transition: transform 1.2s var(--ease), opacity 0.6s ease; }
.tile img, .shot img { color: transparent; font-size: 0; }
.tile img.is-missing { display: none; }
.tile:has(img.is-loaded) { color: var(--text); }
.tile:has(img.is-loaded)::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); }
.tile__meta { position: relative; z-index: 2; display: grid; gap: 4px; }
.tile__group { font-size: 0.8125rem; color: var(--lime); }
.tile__name { font-size: 1.25rem; font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; }
.tile:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(var(--lime-rgb), 0.45), 0 30px 60px -30px rgba(var(--lime-rgb), 0.10); }
.tile:hover img, .tile:hover .tile__glow { transform: scale(1.07); }
.work__cta { margin-top: clamp(44px, 5vw, 64px); }

/* Services */
.services__glow { position: absolute; left: 50%; top: 10%; width: min(1200px, 120vw); height: 700px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(40, 40, 38, 0.9), transparent 70%); pointer-events: none; z-index: -1; }
.gigs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.gig {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 16px; padding: 12px 12px var(--pad);
  border-radius: var(--r-xl); background: linear-gradient(180deg, rgba(30, 30, 31, 0.75), rgba(14, 14, 15, 0.85));
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: transform 0.5s var(--ease), box-shadow 0.4s ease;
}
.gig > *:not(.gig__burst):not(.gig__thumb) { margin-inline: 12px; }
.gig__burst { position: absolute; left: -10%; right: -10%; top: -40%; height: 70%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(var(--lime-rgb), 0.35), rgba(var(--lime-rgb), 0.08) 45%, transparent 70%); filter: blur(10px); opacity: 0.7; transition: opacity 0.5s ease, transform 0.8s var(--ease); }
.gig:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(var(--lime-rgb), 0.4), 0 40px 80px -40px rgba(var(--lime-rgb), 0.22); }
.gig:hover .gig__burst { opacity: 1; transform: scale(1.1); }
.gig__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-top: 18px; }
.gig__top a { text-decoration: none; }
.gig__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 30px -10px rgba(var(--lime-rgb), 0.10); }
.gig__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gig__desc { color: var(--muted); min-height: 4.65em; }
.gig__thumb { display: block; overflow: hidden; border-radius: 20px; }
.gig__thumb img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.gig:hover .gig__thumb img { transform: scale(1.05); }
.more { border-top: 1px solid var(--line); }
.more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 0 2px; font-size: 0.9375rem; font-weight: 500; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--lime); transition: transform 0.3s ease; }
.more[open] summary::after { transform: rotate(45deg); }
.checklist { display: grid; gap: 8px; padding: 12px 0 2px; }
.checklist li { position: relative; padding-left: 24px; font-size: 0.9375rem; color: var(--muted); line-height: 1.45; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg); }
.gig__foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.price { display: flex; align-items: baseline; gap: 8px; color: var(--muted); }
.price strong { font-size: 2.4rem; font-weight: 500; letter-spacing: -0.05em; color: var(--text); line-height: 1; }
.gig__rating { font-size: 0.875rem; color: var(--muted); text-align: right; }
/* Featured gig: solid lime */
.gig--lime { background: linear-gradient(180deg, #d4ff6e, var(--lime) 40%, #a9dc3a); color: var(--ink); box-shadow: 0 40px 90px -40px rgba(var(--lime-rgb), 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.gig--lime .gig__burst { background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.55), transparent 70%); }
.gig--lime .gig__desc, .gig--lime .price, .gig--lime .gig__rating, .gig--lime .checklist li { color: rgba(10, 15, 8, 0.72); }
.gig--lime .price strong { color: var(--ink); }
.gig--lime .gig__icon { background: var(--ink); box-shadow: none; }
.gig--lime .more, .gig--lime .gig__foot { border-color: rgba(10, 15, 8, 0.14); }
.gig--lime .more summary::after { color: var(--ink); }
.gig--lime .checklist li::before { border-color: var(--ink); }
.gig--lime:hover { box-shadow: 0 50px 100px -40px rgba(var(--lime-rgb), 0.10); }
@media (max-width: 1060px) { .gigs { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }

.custom { position: relative; overflow: hidden; margin-top: var(--gap); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(26px, 3.4vw, 44px); border-radius: var(--r-xl); background: radial-gradient(60% 140% at 100% 50%, rgba(var(--lime-rgb), 0.12), transparent 70%), rgba(22, 22, 23, 0.7); box-shadow: inset 0 0 0 1px var(--line-2); }
.custom p { margin: 10px 0 18px; color: var(--muted); max-width: 40em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { display: inline-flex; align-items: center; min-height: 36px; padding: 0 15px; border-radius: 999px; font-size: 0.9375rem; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color 0.25s ease, color 0.25s ease, transform 0.35s var(--ease); }
.pills li:hover { background: var(--lime); color: var(--ink); transform: translateY(-2px); }
@media (max-width: 860px) { .custom { grid-template-columns: 1fr; } .custom .btn { width: 100%; } }

/* Reviews: a bone block, grounded */
.reviews__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: start; }
.reviews__side { position: sticky; top: calc(var(--nav-h) + 24px); }
.score { position: relative; overflow: hidden; padding: clamp(28px, 3.4vw, 48px); border-radius: var(--r-xl); background: var(--lime); color: var(--ink); box-shadow: 0 40px 100px -50px rgba(var(--lime-rgb), 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.score::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; border: 40px solid rgba(10, 15, 8, 0.07); }
.score .h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.2rem); }
.score .h2 span { display: block; color: rgba(10, 15, 8, 0.55); }
.score__lede { margin-top: 16px; color: rgba(10, 15, 8, 0.72); }
.score__big { display: flex; align-items: center; gap: 18px; margin: 28px 0 6px; }
.quote__big { font-size: clamp(5rem, 3rem + 5vw, 8rem); font-weight: 500; line-height: 0.85; letter-spacing: -0.06em; }
.score .stars { width: 120px; height: 24px; fill: var(--ink); }
.score__note { margin-bottom: 26px; font-size: 0.9375rem; color: rgba(10, 15, 8, 0.72); }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.quote { display: flex; flex-direction: column; gap: 18px; padding: var(--pad); border-radius: var(--r-lg); background: var(--bone); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7); transition: transform 0.5s var(--ease); }
.quote:hover { transform: translateY(-5px) rotate(-0.4deg); }
.quote--0 { grid-column: 1 / -1; background: var(--card-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.quote--0 blockquote { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.15; }
.quote--0 .quote__meta { color: var(--muted); border-color: var(--line); }
.quote--0 .quote__meta strong { color: var(--text); }
.quote--0 .stars { fill: var(--lime); }
.quote--3 { background: var(--bone-2); }
.stars { width: 96px; height: 19px; fill: #3f6b1a; }
.quote blockquote { margin-bottom: auto; font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.025em; }
.quote__meta { padding-top: 14px; border-top: 1px solid rgba(10, 15, 8, 0.12); font-size: 0.8125rem; color: rgba(10, 15, 8, 0.6); }
.quote__meta strong { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
@media (max-width: 980px) { .reviews__grid { grid-template-columns: 1fr; } .reviews__side { position: static; } }
@media (max-width: 560px) { .quotes { grid-template-columns: 1fr; } }

/* Team: rows */
.crew { border-top: 1px solid var(--line-2); }
.crew__row {
  position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 32px; align-items: center;
  padding: clamp(24px, 3vw, 38px) clamp(8px, 1.4vw, 20px); border-bottom: 1px solid var(--line-2); transition: background-color 0.4s ease;
}
.crew__row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--lime); box-shadow: 0 0 14px var(--lime); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.7s var(--ease); }
.crew__row:hover { background: rgba(255, 255, 255, 0.025); }
.crew__row:hover::after { transform: scaleX(1); }
.crew__n { font-size: 0.9375rem; color: var(--quiet); font-variant-numeric: tabular-nums; }
.crew__who { display: flex; align-items: center; gap: 22px; }
.crew__name { font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.crew__photo { width: 84px; height: 84px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--lime), 0 0 30px 0 rgba(var(--lime-rgb), 0.5); }
.crew__initial { flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; font-size: 2rem; font-weight: 500; color: var(--ink); background: radial-gradient(circle at 30% 25%, #f2ffcc, var(--lime) 45%, #4c7f1a); box-shadow: 0 0 30px -6px rgba(var(--lime-rgb), 0.7); }
.crew__initial--2 { background: radial-gradient(circle at 30% 25%, #ffffff, var(--bone) 45%, var(--stone)); box-shadow: none; }
.crew__initial--plus { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.crew__initial--plus svg { width: 28px; height: 28px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; }
.crew__badge { display: inline-flex; align-items: center; min-height: 26px; margin-bottom: 8px; padding: 0 11px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 0.8125rem; font-weight: 600; }
.crew__tag { display: block; margin-bottom: 6px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--lime); }
.crew__info { color: var(--muted); font-size: 0.9875rem; }
.crew__role { margin-bottom: 6px; font-weight: 500; color: var(--text); }
.crew__info .pills { margin-top: 14px; }
.crew__row--lead { background: radial-gradient(60% 120% at 30% 50%, rgba(var(--lime-rgb), 0.07), transparent 70%); }
@media (max-width: 820px) {
  .crew__row { grid-template-columns: 1fr; gap: 16px; }
  .crew__n { display: none; }
  .crew__photo, .crew__initial { width: 64px; height: 64px; font-size: 1.5rem; }
}

/* Bands: two crossing ribbons of words */
.bands { position: relative; height: clamp(200px, 22vw, 300px); display: grid; place-items: center; overflow: hidden; }
.band { position: absolute; left: -5%; right: -5%; padding: clamp(14px, 1.6vw, 22px) 0; -webkit-mask-image: none; mask-image: none; }
.band .marquee__track { gap: 0; align-items: center; }
.band span { display: inline-flex; align-items: center; gap: 0.5em; padding-right: 0.5em; font-size: clamp(1.8rem, 1rem + 3vw, 3.6rem); font-weight: 600; letter-spacing: -0.04em; white-space: nowrap; line-height: 1; }
.band span::after { content: "✦"; font-size: 0.6em; }
.band--lime { background: var(--lime); color: var(--ink); transform: rotate(-4deg); z-index: 2; box-shadow: 0 20px 60px -20px rgba(var(--lime-rgb), 0.10); }
.band--dark { background: var(--forest); color: var(--bone); transform: rotate(3deg); }
.band--dark span::after { color: var(--lime); }
.band--dark span:nth-child(even) { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq__list { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); background: rgba(22, 22, 23, 0.8); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.faq details:hover { background: rgba(28, 28, 29, 0.9); }
.faq details[open] { box-shadow: inset 0 0 0 1px rgba(var(--lime-rgb), 0.35); background: rgba(28, 28, 29, 0.9); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 22px 22px 26px; font-size: 1.125rem; font-weight: 500; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.06); background-image: linear-gradient(var(--lime), var(--lime)), linear-gradient(var(--lime), var(--lime)); background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat; transition: transform 0.35s var(--ease), background-color 0.3s ease; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--lime); background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)); }
.faq details p { padding: 0 26px 24px; color: var(--muted); max-width: 42em; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__head { position: static; } }

/* Closing */
.closing { text-align: center; }
.closing__panel { position: relative; overflow: hidden; isolation: isolate; display: grid; justify-items: center; padding: clamp(72px, 10vw, 150px) clamp(20px, 5vw, 64px) clamp(190px, 24vw, 340px); border-radius: clamp(26px, 3vw, 44px); background: #0e0e0f; box-shadow: inset 0 0 0 1px var(--line-2); }
.closing__panel::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(80% 60% at 50% 120%, rgba(var(--lime-rgb), 0.4), rgba(40, 40, 38, 0.5) 40%, transparent 70%); }
.display--closing { font-size: clamp(2.4rem, 1rem + 5vw, 5.4rem); max-width: 11em; }
.closing .lede { margin: 24px auto 36px; max-width: 30em; }
.closing__note { margin-top: 26px; font-size: 0.9375rem; color: var(--muted); }

/* Footer */
.footer { position: relative; padding: clamp(56px, 6vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; font-size: 0.9375rem; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; }
.footer__tag { margin-top: 14px; max-width: 24em; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col a { text-decoration: none; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--lime); }
.footer__h { margin-bottom: 4px; color: var(--text); font-weight: 500; }
.footer__wordmark { margin: clamp(40px, 6vw, 80px) 0 0; font-size: clamp(3.4rem, 1rem + 11vw, 11rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.85; white-space: nowrap; text-align: center; color: transparent; background: linear-gradient(180deg, rgba(var(--lime-rgb), 0.5), rgba(var(--lime-rgb), 0.02) 85%); -webkit-background-clip: text; background-clip: text; }
.footer__legal { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 0.875rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Portfolio page ---------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--nav-h) + clamp(64px, 9vw, 120px)) 0 clamp(40px, 5vw, 64px); text-align: center; }
.page-head .display { margin: 0 auto; }
.page-head .lede { margin: 22px auto 0; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
html:not(.js) .filters { display: none; }
.filters--sticky { position: sticky; top: 84px; z-index: 20; padding: 10px; margin: 0 auto 28px; width: fit-content; max-width: 100%; border-radius: 999px; background: rgba(18, 18, 19, 0.8); box-shadow: inset 0 0 0 1px var(--line-2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.filter { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer; font: 500 0.9375rem/1 var(--sans); color: var(--text); background: transparent; transition: background-color 0.25s ease, color 0.25s ease; }
.filter:hover { background: rgba(255, 255, 255, 0.08); }
.filter[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
@media (max-width: 700px) { .filters--sticky { border-radius: 22px; } }
.niches { display: grid; gap: var(--gap); }
.card { position: relative; border-radius: var(--r-xl); background: linear-gradient(180deg, rgba(28, 28, 29, 0.7), rgba(14, 14, 15, 0.8)); box-shadow: inset 0 0 0 1px var(--line-2); }
.niche { padding: var(--pad); scroll-margin-top: 160px; }
.niche[hidden] { display: none; }
.niche__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 20px; }
.niche__group { font-size: 0.9375rem; color: var(--lime); }
.shots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.shot { position: relative; display: block; padding: 0; border: 0; overflow: hidden; border-radius: var(--r-md); background: var(--card-2); cursor: zoom-in; transition: transform 0.5s var(--ease), box-shadow 0.4s ease; }
.shot:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(var(--lime-rgb), 0.10); }
.shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.shot.is-missing { display: none; }
.shots:not(:has(.shot:not(.is-missing)))::before { content: "Work samples for this niche go here"; grid-column: 1 / -1; padding: 30px; border-radius: var(--r-md); background: radial-gradient(60% 120% at 50% 120%, rgba(var(--lime-rgb), 0.12), transparent 70%), rgba(255, 255, 255, 0.02); box-shadow: inset 0 0 0 1px var(--line); color: var(--quiet); font-size: 0.9375rem; text-align: center; }
@media (max-width: 900px) { .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: clamp(16px, 4vw, 56px); border: 0; background: transparent; color: var(--text); overflow: hidden; }
.lightbox::backdrop { background: rgba(6, 6, 7, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr) auto; align-items: center; justify-items: center; gap: 16px; }
.lightbox__img { grid-column: 2; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: var(--r-lg); }
.lightbox__caption { grid-column: 1 / -1; font-size: 0.9375rem; color: var(--muted); }
.lightbox__btn { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; color: var(--text); transition: background-color 0.25s ease, color 0.25s ease; }
.lightbox__btn:hover { background: var(--lime); color: var(--ink); }
.lightbox__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { position: absolute; right: 20px; top: 20px; }
@media (max-width: 640px) { .lightbox[open] { grid-template-columns: 1fr 1fr; } .lightbox__img { grid-column: 1 / -1; grid-row: 1; } .lightbox__caption { grid-row: 3; } .lightbox__btn--prev { grid-row: 2; justify-self: end; } .lightbox__btn--next { grid-row: 2; justify-self: start; } }

.notfound { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 0 64px; }
.notfound .lede { margin: 22px auto 34px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html:not(.js) .marquee__track { animation: drift 70s linear infinite; }
  @keyframes drift { to { transform: translateX(calc(-50% - 7px)); } }

  .js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease) calc(var(--i, 0) * 90ms), transform 1.1s var(--out) calc(var(--i, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* Hero entrance */
  .js .orb { animation: fade 2s ease 0.1s backwards; }
  .js [data-rise] { animation: rise 1s var(--out) backwards; }
  .js .badge { animation-delay: 0.1s; }
  .js .hero__inner .lede { animation-delay: 0.55s; }
  .js .hero__inner .actions { animation-delay: 0.7s; }
  .js .checks { animation-delay: 0.85s; }
  .js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
  .js [data-split] .w > span { display: inline-block; animation: word 1.1s var(--out) backwards; animation-delay: calc(0.2s + var(--wi) * 70ms); }
  .js .kpi { animation: card-in 1.4s var(--out) backwards; }
  .js .kpi--ring { animation-delay: 0.9s; } .js .kpi--chart { animation-delay: 0.75s; } .js .kpi--bars { animation-delay: 1.05s; }
  .js .page-head .line__in, .js .notfound .line__in { animation: word 1.1s var(--out) 0.15s backwards; }
  .js .page-head .line:nth-child(2) .line__in, .js .notfound .line:nth-child(2) .line__in { animation-delay: 0.28s; }
  .js .page-head .lede, .js .notfound .lede { animation: rise 1s var(--out) 0.45s backwards; }

  /* KPI visuals draw in */
  .js .chart__line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s var(--ease) 1.2s forwards; }
  .js .chart__area { opacity: 0; animation: fade-to 1.4s ease 2.2s forwards; }
  .js .chart__dot { opacity: 0; animation: pop 0.7s var(--out) 2.6s forwards, glow 2.6s ease-in-out 3.4s infinite; }
  .js .ring__fill { stroke-dashoffset: 1; animation: draw 1.8s var(--ease) 1.2s forwards; }
  .js .bars i { transform: scaleY(0); animation: grow 1s var(--out) forwards; }
  .bars i:nth-child(1) { animation-delay: 1.3s; } .bars i:nth-child(2) { animation-delay: 1.38s; } .bars i:nth-child(3) { animation-delay: 1.46s; } .bars i:nth-child(4) { animation-delay: 1.54s; } .bars i:nth-child(5) { animation-delay: 1.62s; } .bars i:nth-child(6) { animation-delay: 1.7s; } .bars i:nth-child(7) { animation-delay: 1.78s; }

  .js .tile img, .js .shot img { opacity: 0; }
  .js .tile img.is-loaded, .js .shot img.is-loaded { opacity: 1; }

  @keyframes fade { from { opacity: 0; } }
  @keyframes fade-to { to { opacity: 1; } }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
  @keyframes word { from { transform: translateY(105%); } }
  @keyframes card-in { from { opacity: 0; translate: 0 90px; scale: 0.96; } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes grow { to { transform: none; } }
  @keyframes pop { from { opacity: 0; scale: 0; } to { opacity: 1; scale: 1; } }
  @keyframes glow { 50% { box-shadow: 0 0 0 12px rgba(var(--lime-rgb), 0.12), 0 0 44px 14px rgba(var(--lime-rgb), 0.95); } }

  @supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    details::details-content { height: 0; overflow: hidden; transition: height 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
    details[open]::details-content { height: auto; }
  }
  .lightbox[open] .lightbox__img { animation: rise 0.45s var(--out); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .marquee { overflow-x: auto; }
}

/* ==========================================================================
   v3 additions: cursor-lit grid, glowing corner marks, moving-lines stage
   ========================================================================== */
/* Grid: barely there everywhere, lit in lime around the cursor */
.gridfx { --g: 64px; position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.gridfx::before, .gridfx::after { content: ""; position: absolute; inset: 0; background-size: var(--g) var(--g); background-position: -1px -1px; }
.gridfx::before {
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 25%, transparent 80%); mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 25%, transparent 80%);
}
.gridfx::after {
  background-image: linear-gradient(rgba(var(--lime-rgb), 0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--lime-rgb), 0.35) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(220px circle at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 100%);
  mask-image: radial-gradient(220px circle at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 100%);
}
.gridfx__glow { position: absolute; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--lime-rgb), 0.12), rgba(var(--lime-rgb), 0.03) 45%, transparent 70%); transform: translate3d(var(--mx, -999px), var(--my, -999px), 0); opacity: var(--on, 0); transition: opacity 0.5s ease; }
/* L-shaped corner marks sitting on grid intersections */
.corner { position: absolute; left: calc(var(--g) * var(--cx) - 1px); top: calc(var(--g) * var(--cy) - 1px); width: 18px; height: 18px; border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); filter: drop-shadow(0 0 6px rgba(var(--lime-rgb), 0.9)); opacity: 0.55; }
.corner--r { border-left: 0; border-right: 2px solid var(--lime); transform: translateX(-16px); }
.corner--b { border-bottom: 0; border-top: 2px solid var(--lime); }
.corner--rb { border-left: 0; border-bottom: 0; border-right: 2px solid var(--lime); border-top: 2px solid var(--lime); transform: translateX(-16px); }
@media (max-width: 700px) { .gridfx { --g: 44px; } .gridfx::after, .gridfx__glow { display: none; } .corner { display: none; } }

/* Moving-lines stage: glossy light tubes (three.js) behind the team heading */
.team { padding-top: 0; }
.lines { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(560px, 92vh, 900px); display: grid; place-items: center; margin-bottom: clamp(48px, 6vw, 88px); text-align: center; }
.lines::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(var(--bg), transparent 18%, transparent 82%, var(--bg)), radial-gradient(48% 34% at 50% 52%, rgba(10, 10, 11, 0.88), rgba(10, 10, 11, 0.5) 55%, transparent 80%); }
.lines__gl { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.lines__inner { display: grid; justify-items: center; }
.lines__title { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5.4rem); max-width: 11em; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.7); }
.lines__inner .lede { margin-top: 22px; color: #c4c8bb; text-shadow: 0 1px 20px rgba(0, 0, 0, 0.9); }
.lines__nums { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lines__nums span {
  position: absolute; left: var(--x); top: var(--y); font-size: calc(0.9rem + var(--z) * 0.6rem); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  color: rgba(241, 240, 232, calc(0.25 + var(--z) * 0.45)); text-shadow: 0 0 14px rgba(var(--lime-rgb), 0.55);
  filter: blur(calc((1.2 - var(--z)) * 1.6px));
  transform: translate3d(calc(var(--px, 0) * var(--z) * 30px), calc(var(--py, 0) * var(--z) * 30px), 0);
}
@media (prefers-reduced-motion: no-preference) {
  .corner { animation: corner 3.6s ease-in-out infinite; }
  .corner:nth-child(3) { animation-delay: -1.2s; } .corner:nth-child(4) { animation-delay: -2.1s; } .corner:nth-child(5) { animation-delay: -0.6s; }
  @keyframes corner { 50% { opacity: 1; filter: drop-shadow(0 0 12px rgba(var(--lime-rgb), 1)); } }
  .lines__nums span { animation: num 9s ease-in-out infinite; animation-delay: calc(var(--d) * -1); }
  @keyframes num { 0%, 100% { opacity: 0; translate: 0 18px; } 20%, 70% { opacity: 1; } 50% { translate: 0 -18px; } }
}

/* ==========================================================================
   v4: compact hero with globe, live stats, story portfolio
   ========================================================================== */
.team--plain { padding-top: var(--section-y); }

/* Hero: copy left, rotating globe right, stats strip underneath */
.hero { padding: calc(var(--nav-h) + clamp(36px, 6vh, 72px)) 0 clamp(24px, 3vw, 40px); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 24px; text-align: left; justify-items: stretch; }
.hero__copy { display: grid; justify-items: start; }
.hero__copy .display--hero { max-width: 11em; font-size: clamp(2.6rem, 1rem + 5vw, 5.6rem); }
.hero__copy .lede { margin-left: 0; }
.hero__copy .actions, .hero__copy .checks { justify-content: flex-start; }
.hero__globe-spot { width: 100%; aspect-ratio: 1; max-width: 560px; justify-self: center; }
.hero::after { height: 80px; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { justify-items: center; }
  .hero__copy .lede { margin-inline: auto; }
  .hero__copy .actions, .hero__copy .checks { justify-content: center; }
  .hero__globe-spot { max-width: 340px; margin: 4px auto -10px; }
}

.hero__stats { margin-top: clamp(20px, 3vw, 36px); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 128px; padding: 18px 20px;
  border-radius: 20px; background: linear-gradient(180deg, rgba(30, 30, 31, 0.6), rgba(14, 14, 15, 0.7));
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.stat__num { position: relative; z-index: 1; font-size: clamp(1.9rem, 1.3rem + 1.4vw, 2.6rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat dt { position: relative; z-index: 1; margin-top: 6px; font-size: 0.875rem; color: var(--muted); }
.stat__fx { position: absolute; right: 0; top: 0; bottom: 0; width: 58%; pointer-events: none; }
.stars-fx { overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.fstar { position: absolute; bottom: -24px; display: block; animation: fstar 3s ease-out forwards; }
.fstar svg { width: 100%; height: 100%; fill: var(--lime); filter: drop-shadow(0 0 6px rgba(var(--lime-rgb), 0.9)); }
@keyframes fstar { 0% { transform: translate(0, 0) rotate(0) scale(0.4); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(var(--dx), -150px) rotate(var(--rot)) scale(1); opacity: 0; } }
.spark { width: 62%; height: 100%; }
.stat--line .stat__fx { -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.tick-bars { display: flex; align-items: flex-end; justify-content: flex-end; gap: 5px; padding: 18px 18px 18px 0; width: 46%; }
.tick-bars i { flex: none; width: 8px; height: calc(var(--h) * 100%); border-radius: 4px; background: linear-gradient(180deg, var(--lime), rgba(var(--lime-rgb), 0.12)); transition: height 0.5s var(--out), opacity 0.5s ease, width 0.5s var(--out), margin 0.5s var(--out); }
.tick-bars i:last-child { background: linear-gradient(180deg, #f2ffc8, var(--lime)); box-shadow: 0 0 14px rgba(var(--lime-rgb), 0.8); }
.tick-bars i.is-new { height: 0; }
.tick-bars i.is-out { width: 0; margin-right: -5px; opacity: 0; }
.years-fx { display: grid; grid-template-columns: repeat(5, 10px); gap: 7px; align-content: start; justify-content: end; padding: 20px; }
.years-fx i { width: 10px; height: 10px; border-radius: 50%; background: rgba(var(--lime-rgb), 0.14); box-shadow: inset 0 0 0 1px rgba(var(--lime-rgb), 0.35); transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.years-fx i.on { background: var(--lime); box-shadow: 0 0 10px rgba(var(--lime-rgb), 0.8); }
.hero__stats .footnote { margin-top: 12px; text-align: center; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .stat { min-height: 112px; padding: 14px 16px; } .stat dt { font-size: 0.8rem; } }

/* Portfolio on the home page, right under the hero */
.work { padding-top: clamp(48px, 6vw, 88px); }
.work__head { margin-bottom: 28px; }
.ptabs { display: flex; gap: 6px; padding: 6px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: rgba(22, 22, 23, 0.7); box-shadow: inset 0 0 0 1px var(--line-2); width: fit-content; max-width: 100%; }
.ptabs::-webkit-scrollbar { display: none; }
.ptab { flex: none; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer; background: transparent; color: var(--muted); font: 500 0.9375rem/1 var(--sans); transition: background-color 0.25s ease, color 0.25s ease; }
.ptab:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.ptab[aria-selected="true"] { background: var(--lime); color: var(--ink); }
.cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.cases[hidden] { display: none; }
.case { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 10px 10px 18px; border: 0; text-align: left; cursor: pointer; color: var(--text); font: inherit; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(28, 28, 29, 0.75), rgba(14, 14, 15, 0.85)); box-shadow: inset 0 0 0 1px var(--line-2); transition: transform 0.5s var(--ease), box-shadow 0.4s ease; }
.case:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(var(--lime-rgb), 0.45), 0 30px 60px -30px rgba(var(--lime-rgb), 0.10); }
.case__cover { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; background: radial-gradient(80% 60% at 70% 110%, rgba(var(--lime-rgb), 0.35), rgba(40, 40, 38, 0.6) 45%, transparent 75%), linear-gradient(160deg, #1b1b1c, #0e0e0f); }
.case__cover::before { content: "Cover image"; position: absolute; left: 14px; top: 12px; font-size: 0.75rem; color: rgba(241, 240, 232, 0.35); letter-spacing: 0.04em; }
.case__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.case:hover .case__cover img { transform: scale(1.05); }
.case__metric { position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; padding: 12px 14px; border-radius: 14px; font-size: 0.8125rem; color: var(--muted); background: rgba(12, 12, 13, 0.72); box-shadow: inset 0 0 0 1px var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.case__metric b { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.04em; color: var(--lime); line-height: 1.1; }
.case__meta { display: grid; gap: 4px; padding: 0 6px; }
.case__meta strong { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.case__meta > span { font-size: 0.875rem; color: var(--muted); }
.case__meta em { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-style: normal; font-size: 0.875rem; font-weight: 500; color: var(--lime); }
.case__meta em .i-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.case:hover .case__meta em .i-arrow { transform: translateX(4px); }
@media (max-width: 1000px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cases { gap: 10px; } .case__metric b { font-size: 1.3rem; } .case__meta strong { font-size: 1rem; } }
.work__cta { margin-top: 32px; }

/* Portfolio page */
.p-count { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.p-count span { display: grid; min-width: 130px; padding: 12px 18px; border-radius: 16px; font-size: 0.8125rem; color: var(--muted); background: rgba(22, 22, 23, 0.7); box-shadow: inset 0 0 0 1px var(--line-2); }
.p-count b { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.04em; color: var(--text); }
.idx { padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(40px, 5vw, 72px); }
.idx-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 20px; }
.idx-head p { color: var(--muted); max-width: 34em; font-size: 0.9375rem; }
.idx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.idx-col { padding: 18px 16px 12px; border-radius: 20px; background: linear-gradient(180deg, rgba(28, 28, 29, 0.7), rgba(14, 14, 15, 0.8)); box-shadow: inset 0 0 0 1px var(--line-2); }
.idx-col h3 { margin: 0 0 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
.idx-item { display: flex; width: calc(100% + 16px); margin-inline: -8px; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 8px; border: 0; border-radius: 12px; background: transparent; color: var(--text); font: 500 1rem/1.2 var(--sans); text-align: left; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.idx-item .i-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; opacity: 0.35; transition: transform 0.25s var(--ease), opacity 0.2s ease; }
.idx-item:hover { background: var(--lime); color: var(--ink); }
.idx-item:hover .i-arrow { opacity: 1; transform: translateX(3px); }
@media (max-width: 900px) { .idx-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .idx-grid { grid-template-columns: 1fr; } }
.pgroups { padding-top: 0; }
.pgroup + .pgroup { margin-top: clamp(48px, 6vw, 80px); }
.pgroup__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.pgroup__head p { color: var(--muted); font-size: 0.9375rem; }

/* ---------- Story panel ---------- */
.story-open { overflow: hidden; }
.story { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: var(--text); background: var(--bg); overflow: hidden; }
.story[open] { display: flex; flex-direction: column; }
.story::backdrop { background: rgba(6, 6, 7, 0.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.story__bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 14px clamp(16px, 3vw, 32px); background: rgba(12, 12, 13, 0.88); box-shadow: inset 0 -1px 0 var(--line-2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.story__crumb { min-width: 0; }
.story__group { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
.story__name { font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem); font-weight: 500; letter-spacing: -0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story__sample { margin-left: auto; flex: none; padding: 6px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; color: #ffd27a; background: rgba(255, 196, 80, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 196, 80, 0.35); }
.story__ctrls { display: flex; gap: 6px; flex: none; }
.story__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; color: var(--text); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color 0.2s ease, color 0.2s ease; }
.story__btn:hover { background: var(--lime); color: var(--ink); }
.story__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.story__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.story__progress i { display: block; height: 100%; background: var(--lime); box-shadow: 0 0 10px var(--lime); transform: scaleX(0); transform-origin: 0 50%; }
.story__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; }
.story__body { max-width: 1180px; margin: 0 auto; padding: clamp(28px, 4vw, 56px) clamp(16px, 3vw, 32px) 80px; }
@media (max-width: 640px) { .story__sample { display: none; } .story__ctrls { margin-left: auto; } .story__btn { width: 40px; height: 40px; } }

.st { padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line); }
.st--open { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: 0; border-top: 0; }
.st__client { font-size: 0.9375rem; color: var(--lime); }
.st__headline { margin-top: 14px; font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.2rem); font-weight: 500; line-height: 1; letter-spacing: -0.05em; }
.st__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 28px; margin-top: 28px; font-size: 0.8125rem; color: var(--muted); }
.st__facts b { display: block; font-size: 0.9375rem; font-weight: 500; color: var(--text); }
.st__open-media { position: relative; }
.st__float { position: absolute; left: -18px; bottom: 22px; display: grid; padding: 14px 18px; border-radius: 18px; font-size: 0.8125rem; color: var(--muted); background: rgba(14, 14, 15, 0.85); box-shadow: inset 0 0 0 1px rgba(var(--lime-rgb), 0.4), 0 20px 50px -20px rgba(0, 0, 0, 0.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.st__float b { font-size: 2rem; font-weight: 500; letter-spacing: -0.05em; color: var(--lime); line-height: 1.05; }
@media (max-width: 820px) { .st--open { grid-template-columns: 1fr; } .st__float { left: 12px; } .st__facts { grid-template-columns: 1fr 1fr; } }

.st__k { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.st__k span { display: grid; place-items: center; width: 36px; height: 26px; border-radius: 999px; color: var(--ink); background: var(--lime); letter-spacing: 0.02em; }
.st h4 { margin-bottom: 12px; font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.st h5 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; }
.st p { color: var(--muted); }
.st__big { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem) !important; line-height: 1.2; letter-spacing: -0.035em; color: var(--text) !important; }
.st__big--lime { max-width: 28em; }
.st__two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 48px; align-items: start; }
.st__problem { padding: 22px; border-radius: 20px; background: rgba(255, 120, 90, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 140, 110, 0.2); }
.st__problem h4 { color: #ff9f86; }
@media (max-width: 820px) { .st__two { grid-template-columns: 1fr; } }

.moves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.move { padding: 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(30, 30, 31, 0.7), rgba(14, 14, 15, 0.8)); box-shadow: inset 0 0 0 1px var(--line-2); }
.move__n { display: block; margin-bottom: 18px; font-size: 0.8125rem; color: var(--lime); }
.craft { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.craft__step { padding: 12px 12px 22px; border-radius: 22px; background: rgba(22, 22, 23, 0.7); box-shadow: inset 0 0 0 1px var(--line-2); }
.craft__step h5, .craft__step p { padding: 0 10px; }
.craft__viz { position: relative; height: 150px; margin-bottom: 18px; border-radius: 14px; overflow: hidden; background: #121213; box-shadow: inset 0 0 0 1px var(--line); }
.craft__viz--style { display: flex; align-items: center; justify-content: center; gap: 10px; }
.craft__viz--style i { width: 34px; height: 34px; border-radius: 50%; background: var(--lime); }
.craft__viz--style i:nth-child(2) { background: var(--bone); } .craft__viz--style i:nth-child(3) { background: var(--forest); box-shadow: inset 0 0 0 1px var(--line-2); } .craft__viz--style i:nth-child(4) { background: var(--stone); }
.craft__viz--style span { margin-left: 8px; font-family: var(--serif); font-style: italic; font-size: 3rem; color: var(--text); }
.craft__viz--reel { display: flex; align-items: center; justify-content: center; gap: 8px; }
.craft__viz--reel b { width: 52px; aspect-ratio: 9 / 16; border-radius: 8px; background: linear-gradient(180deg, #262627, #121213); box-shadow: inset 0 0 0 1px var(--line-2); }
.craft__viz--reel b:nth-child(2) { width: 64px; background: linear-gradient(180deg, rgba(var(--lime-rgb), 0.5), #3a4a1c); }
.craft__viz--reel em { position: absolute; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-style: normal; font-size: 0.75rem; color: var(--ink); background: var(--lime); }
.craft__viz--ab { display: flex; align-items: center; justify-content: center; gap: 14px; }
.ab { position: relative; display: grid; place-items: center; width: 70px; height: 88px; border-radius: 12px; font-size: 1.5rem; font-weight: 600; color: var(--muted); background: #1e1e1f; box-shadow: inset 0 0 0 1px var(--line-2); }
.ab--b { color: var(--ink); background: var(--lime); }
.ab i { position: absolute; right: -8px; top: -8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 0.75rem; font-style: normal; color: var(--lime); background: var(--ink); box-shadow: 0 0 0 2px var(--lime); }
@media (max-width: 820px) { .moves, .craft { grid-template-columns: 1fr; } }

.ph { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: radial-gradient(70% 60% at 60% 110%, rgba(var(--lime-rgb), 0.25), transparent 70%), linear-gradient(160deg, #1b1b1c, #0e0e0f); box-shadow: inset 0 0 0 1px var(--line-2); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 0.75rem; color: rgba(241, 240, 232, 0.45); }
.ph--wide { aspect-ratio: 4 / 3; border-radius: 24px; }
.ph--reel { aspect-ratio: 9 / 16; }
.ph--post { aspect-ratio: 4 / 5; }
.work-reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 760px; }
.work-posts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
@media (max-width: 820px) { .work-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.res { padding: 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(30, 30, 31, 0.7), rgba(14, 14, 15, 0.8)); box-shadow: inset 0 0 0 1px var(--line-2); }
.res:first-child { background: var(--lime); }
.res:first-child .res__num, .res:first-child .res__label { color: var(--ink); }
.res__num { font-size: clamp(2.2rem, 1.4rem + 2vw, 3.4rem); font-weight: 500; line-height: 1; letter-spacing: -0.05em; color: var(--text) !important; font-variant-numeric: tabular-nums; }
.res__label { margin-top: 10px; font-size: 0.9375rem; }
@media (max-width: 820px) { .results { grid-template-columns: 1fr 1fr; } }
.growth { margin-top: 12px; padding: 22px 22px 16px; border-radius: 22px; background: rgba(22, 22, 23, 0.7); box-shadow: inset 0 0 0 1px var(--line-2); }
.growth__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; }
.growth__nums { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; color: var(--muted) !important; }
.growth__nums b { font-size: 1.8rem; font-weight: 500; letter-spacing: -0.04em; color: var(--lime); }
.growth__nums .i-arrow { width: 20px; height: 20px; fill: none; stroke: var(--lime); stroke-width: 2; }
.growth__chart { width: 100%; height: 160px; margin-top: 12px; overflow: visible; }
.growth__area { fill: url(#gf); }
.growth__line { fill: none; stroke: var(--lime); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 8px rgba(var(--lime-rgb), 0.8)); }
.growth__axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.75rem; color: var(--quiet); }
.st__quote { margin: 28px 0 0; padding: clamp(24px, 3vw, 36px); border-radius: 22px; background: var(--bone); color: var(--ink); }
.st__quote p { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -0.03em; color: var(--ink) !important; }
.st__quote footer { margin-top: 14px; font-size: 0.875rem; color: rgba(10, 15, 8, 0.6); }
.st--cta { text-align: center; }
.st--cta h3 { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.05; margin-bottom: 28px; }
.st--cta .serif { color: var(--lime); }

@media (prefers-reduced-motion: no-preference) {
  .story[open] { animation: story-in 0.5s var(--out); }
  @keyframes story-in { from { opacity: 0; transform: translateY(24px); } }
  .st:not(.st--open) { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.9s var(--out); }
  .st.is-in { opacity: 1; transform: none; }
  .st .move, .st .craft__step, .st .res, .st .ph { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.8s var(--out); }
  .st.is-in .move, .st.is-in .craft__step, .st.is-in .res, .st.is-in .ph { opacity: 1; transform: none; }
  .st.is-in :is(.move, .craft__step, .res, .ph):nth-child(2) { transition-delay: 0.08s; } .st.is-in :is(.move, .craft__step, .res, .ph):nth-child(3) { transition-delay: 0.16s; } .st.is-in :is(.move, .craft__step, .res, .ph):nth-child(4) { transition-delay: 0.24s; } .st.is-in :is(.ph):nth-child(5) { transition-delay: 0.32s; } .st.is-in :is(.ph):nth-child(6) { transition-delay: 0.4s; }
  .growth__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease) 0.3s; }
  .st.is-in .growth__line { stroke-dashoffset: 0; }
  .growth__area { opacity: 0; transition: opacity 1.2s ease 1.2s; }
  .st.is-in .growth__area { opacity: 1; }
  .craft__viz--reel b:nth-child(2) { animation: reel 3s ease-in-out infinite; }
  @keyframes reel { 50% { transform: translateY(-6px); } }
  .ab--b i { animation: pick 2.4s ease-in-out infinite; }
  @keyframes pick { 0%, 40% { transform: scale(0); } 55%, 100% { transform: scale(1); } }
}

@media (min-width: 900px) { .ptabs { flex-wrap: wrap; border-radius: 26px; overflow: visible; } }
.work { padding-top: clamp(28px, 4vw, 56px); }

/* v5: centred hero, globe rising behind the stats */
.hero { padding: calc(var(--nav-h) + clamp(44px, 8vh, 96px)) 0 clamp(28px, 3vw, 44px); }
.hero__inner { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; }
.hero__copy { justify-items: center; }
.hero__copy .display--hero { max-width: 12em; font-size: clamp(2.6rem, 1rem + 5.6vw, 6.2rem); }
.hero__copy .lede { margin-inline: auto; }
.hero__copy .actions, .hero__copy .checks { justify-content: center; }
.hero__globe-spot { position: absolute; left: 50%; bottom: 0; width: min(1240px, 120vw); max-width: none; aspect-ratio: 1; transform: translate(-50%, 66%); margin: 0; pointer-events: none; }
.hero__stats { position: relative; margin-top: clamp(72px, 12vw, 190px); }
.hero::after { height: 120px; }
@media (max-width: 900px) { .hero__globe-spot { width: 170vw; transform: translate(-50%, 70%); } .hero__stats { margin-top: 140px; } }

/* v5 story layout: pitch on the left (sticky), work on the right */
.story__body { max-width: 1400px; padding: 20px clamp(14px, 2.4vw, 28px) 48px; }
.sl { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.sl__side { position: sticky; top: 0; max-height: calc(100dvh - 120px); overflow-y: auto; scrollbar-width: thin; padding: 22px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.sl__client { font-size: 0.875rem; color: var(--muted); }
.sl__headline { margin-top: 8px; font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.3rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.045em; }
.sl__results { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.sr { padding: 14px; border-radius: 16px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.sr--lead { background: var(--lime); }
.sr--lead .sr__num, .sr--lead .sr__label { color: var(--ink); }
.sr__num { font-size: 1.8rem; font-weight: 500; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.sr__label { margin-top: 6px; font-size: 0.8125rem; color: var(--muted); line-height: 1.3; }
.sl__growth { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin-top: 8px; padding: 14px; border-radius: 16px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.8125rem; color: var(--muted); }
.sl__growth b { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 500; }
.sl__growth b .i-arrow { width: 14px; height: 14px; fill: none; stroke: var(--lime); stroke-width: 2; }
.sl__growth i { grid-column: 1 / -1; position: relative; height: 6px; margin-top: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.sl__growth i::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--from) * 100%); background: rgba(255, 255, 255, 0.25); border-radius: 6px; }
.sl__growth i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--to) * 100%); background: var(--lime); border-radius: 6px; transform-origin: 0 50%; transform: scaleX(var(--g, 1)); transition: transform 1.6s var(--out) 0.3s; }
.sl:not(.is-in) .sl__growth i::after { --g: calc(var(--from) / var(--to)); }
.sl__growth small { grid-column: 1 / -1; font-size: 0.75rem; color: var(--quiet); }
.sl__block { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.sl__block h4 { margin-bottom: 8px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
.sl__block p { font-size: 0.9375rem; color: var(--text); line-height: 1.45; }
.sl__moves { display: grid; gap: 10px; counter-reset: m; }
.sl__moves li { position: relative; padding-left: 30px; font-size: 0.875rem; color: var(--muted); line-height: 1.4; counter-increment: m; }
.sl__moves li::before { content: counter(m); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 0.6875rem; font-weight: 600; color: var(--ink); background: var(--bone); }
.sl__moves b { display: block; color: var(--text); font-weight: 500; }
.sl__quote { margin: 20px 0 0; padding: 16px 18px; border-radius: 16px; background: var(--bone); color: var(--ink); }
.sl__quote p { font-size: 1.05rem; line-height: 1.3; letter-spacing: -0.02em; }
.sl__quote footer { margin-top: 8px; font-size: 0.8125rem; color: rgba(10, 15, 8, 0.6); }
.sl__cta { display: grid; gap: 8px; margin-top: 18px; }
.sl__cta .btn { min-height: 50px; font-size: 0.9375rem; white-space: normal; text-align: center; line-height: 1.2; }

.sl__work { display: grid; gap: 12px; }
.wall { display: grid; gap: 12px; }
.wall--reels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wall--posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wt { position: relative; margin: 0; overflow: hidden; border-radius: 18px; background: radial-gradient(70% 50% at 50% 115%, rgba(var(--lime-rgb), 0.16), transparent 70%), linear-gradient(165deg, #1d1d1e, #0f0f10); box-shadow: inset 0 0 0 1px var(--line-2); }
.wt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.wt:hover img { transform: scale(1.04); }
.wt--reel { aspect-ratio: 9 / 16; }
.wt--post { aspect-ratio: 4 / 5; }
.wt--wide { aspect-ratio: 16 / 7; }
.wt__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.wt__play svg { width: 20px; height: 20px; fill: var(--text); margin-left: 3px; }
.wt figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; gap: 6px; justify-items: start; }
.wt figcaption span { padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 500; color: var(--text); background: rgba(10, 10, 11, 0.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.wt figcaption em { max-width: 100%; padding: 10px 12px; border-radius: 12px; font-style: normal; font-size: 0.8125rem; line-height: 1.35; color: var(--ink); background: var(--bone); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6); opacity: 0; transform: translateY(8px); transition: opacity 0.3s ease, transform 0.35s var(--out); }
.wt:hover figcaption em, .wt:focus-within figcaption em { opacity: 1; transform: none; }
@media (hover: none) { .wt figcaption em { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .sl { grid-template-columns: 1fr; }
  .sl__side { position: static; max-height: none; overflow: visible; display: contents; }
  .sl__side > * { order: 3; }
  .sl__client, .sl__headline, .sl__results { order: 0; }
  .sl__work { order: 1; }
  .sl__growth, .sl__block, .sl__quote, .sl__cta { order: 2; }
  .sl__client { margin-top: 4px; }
  .sl__headline { margin: 0; font-size: 1.6rem; }
  .sl__results { grid-template-columns: repeat(4, minmax(130px, 1fr)); overflow-x: auto; margin: 0 -14px; padding: 0 14px 4px; scrollbar-width: none; }
  .wall--reels { grid-template-columns: repeat(3, 70%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .wall--reels .wt { scroll-snap-align: start; }
  .wall--posts { grid-template-columns: 1fr 1fr; }
  .sl > * { min-width: 0; }
}
@media (max-width: 900px) { .sl { display: flex; flex-direction: column; gap: 14px; } .sl__side { display: contents; } }
@media (prefers-reduced-motion: no-preference) {
  .sl__work .wt { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.7s var(--out); }
  .sl.is-in .sl__work .wt { opacity: 1; transform: none; }
  .sl.is-in .wall .wt:nth-child(2) { transition-delay: 0.06s; } .sl.is-in .wall .wt:nth-child(3) { transition-delay: 0.12s; } .sl.is-in .wall .wt:nth-child(4) { transition-delay: 0.18s; } .sl.is-in .wall .wt:nth-child(5) { transition-delay: 0.24s; } .sl.is-in .wall .wt:nth-child(6) { transition-delay: 0.3s; }
}
@media (max-width: 900px) { .sl { align-items: stretch; } .sl__work { width: 100%; } }
.hero__stats { margin-top: clamp(110px, 15vw, 230px); }
.hero__globe-spot { transform: translate(-50%, 70%); }

/* v6: real client work inside the story panel */
.sl__clients { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.cpill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border: 0; border-radius: 999px; font: inherit; font-size: 0.8125rem; font-weight: 500; color: var(--muted); background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background 0.25s ease, color 0.25s ease; }
.cpill img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.cpill:hover { color: var(--text); }
.cpill[aria-selected="true"] { color: var(--ink); background: var(--bone); box-shadow: none; }
.sl__client b { color: var(--text); font-weight: 600; }
.sl__what { margin-top: 4px; font-size: 0.875rem; color: var(--muted); line-height: 1.4; }
.wt video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wall--reels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wall--reels.wall--n1 { grid-template-columns: minmax(0, 300px); }
.wall--reels.wall--n2 { grid-template-columns: repeat(2, minmax(0, 300px)); }
.wall--posts { display: block; columns: 3 220px; column-gap: 12px; }
.wall--posts .wt { break-inside: avoid; margin-bottom: 12px; }
@media (max-width: 900px) {
  .sl__clients { order: 0; margin: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .cpill { flex: none; }
  .sl__what { order: 0; }
  .wall--reels.wall--n1, .wall--reels.wall--n2 { grid-template-columns: repeat(2, 62%); }
  .wall--posts { columns: 2 140px; }
}

/* ===== v7 ===== */
/* Nav stays put, always */
.nav.is-hidden { transform: none; }
.nav.is-scrolled .nav__inner { background: rgba(14, 14, 15, 0.86); }
.nav__port { display: none; }
@media (max-width: 880px) {
  .nav__port { display: inline-flex; margin-left: auto; }
  .nav__port + .nav__cta { margin-left: 0; }
  .nav__inner { gap: 8px; background: rgba(14, 14, 15, 0.86); }
}
@media (max-width: 560px) {
  .brand > span { display: none; }
  .nav__port, .nav__cta { min-height: 40px; padding: 0 14px; font-size: 0.875rem; }
  .nav__cta .i-arrow { display: none; }
}

/* Stats: bars sit in the top-right corner on small cards so they never cross the number */
@media (max-width: 760px) {
  .stat { min-height: 116px; }
  .tick-bars { top: 0; bottom: auto; height: 40%; width: 42%; padding: 12px 12px 0 0; gap: 3px; }
  .tick-bars i { width: 6px; }
  .stars-fx, .spark { opacity: 0.7; }
}

/* Hero: a few real posts floating around the headline, blurred until hovered */
.hfloat { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hfloat__card { position: absolute; display: block; width: clamp(96px, 9vw, 150px); aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; pointer-events: auto; background: #111;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  filter: blur(5px) saturate(0.85); opacity: 0.5; transform: rotate(var(--rot, 0deg)) scale(0.96);
  transition: filter 0.5s var(--ease), opacity 0.5s var(--ease), transform 0.6s var(--ease);
  animation: hfloat 9s ease-in-out infinite; animation-delay: var(--d, 0s); }
.hfloat__card i { position: absolute; inset: 0; display: block; }
.hfloat__card:hover, .hfloat__card:focus-visible { filter: none; opacity: 1; transform: rotate(0deg) scale(1.12); animation-play-state: paused; z-index: 2; }
.hfloat__card--1 { left: 6%; top: 24%; --rot: -8deg; --d: 0s; }
.hfloat__card--2 { right: 7%; top: 18%; --rot: 7deg; --d: -2.5s; width: clamp(88px, 8vw, 132px); }
.hfloat__card--3 { left: 13%; top: 58%; --rot: 5deg; --d: -5s; width: clamp(80px, 7vw, 120px); }
.hfloat__card--4 { right: 12%; top: 54%; --rot: -6deg; --d: -7s; }
@keyframes hfloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@media (max-width: 1100px) { .hfloat__card--3, .hfloat__card--4 { top: auto; bottom: 34%; } .hfloat__card--1 { top: 16%; left: 2%; } .hfloat__card--2 { top: 12%; right: 2%; } }
@media (max-width: 760px) {
  .hfloat__card { width: 64px; border-radius: 10px; opacity: 0.35; }
  .hfloat__card--1 { left: -10px; top: 92px; } .hfloat__card--2 { right: -8px; top: 120px; }
  .hfloat__card--3, .hfloat__card--4 { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hfloat__card { animation: none; } }
.hero__inner { position: relative; z-index: 2; pointer-events: none; }
.hero__inner a, .hero__inner button { pointer-events: auto; }

/* Work rows: real posts drifting sideways, drag or use arrows */
.cases--reel { display: block; }
.wreel { position: relative; margin-inline: calc(var(--gutter) * -1); }
.wreel__view { overflow: hidden; padding: 6px var(--gutter) 10px; touch-action: pan-y; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.wreel__view:active { cursor: grabbing; }
.wreel__track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.wcard { position: relative; flex: none; width: clamp(200px, 21vw, 290px); aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: pointer; background: #121213; color: var(--text); font: inherit; text-align: left;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: transform 0.5s var(--ease), box-shadow 0.4s ease; -webkit-user-select: none; user-select: none; }
.wcard__img { position: absolute; inset: 0; display: block; transition: transform 1s var(--ease); }
.wcard:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(var(--lime-rgb), 0.5), 0 30px 60px -30px rgba(var(--lime-rgb), 0.25); }
.wcard:hover .wcard__img { transform: scale(1.05); }
.wcard__meta { position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; gap: 1px; padding: 10px 12px; border-radius: 12px; background: rgba(10, 10, 11, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(8px); transition: opacity 0.3s ease, transform 0.35s var(--out); }
.wcard__meta b { font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.02em; }
.wcard__meta span { font-size: 0.75rem; color: var(--muted); }
.wcard:hover .wcard__meta, .wcard:focus-visible .wcard__meta { opacity: 1; transform: none; }
@media (hover: none) { .wcard__meta { opacity: 1; transform: none; } }
.wcard__reel { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(10, 10, 11, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.wcard__reel svg { width: 13px; height: 13px; fill: var(--lime); margin-left: 2px; }
.wreel__btn { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; cursor: pointer; color: var(--ink); background: var(--lime); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7); transition: transform 0.3s var(--ease), opacity 0.3s ease; }
.wreel__btn:hover { transform: scale(1.08); }
.wreel__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wreel__btn--prev { left: max(8px, calc(var(--gutter) - 24px)); }
.wreel__btn--next { right: max(8px, calc(var(--gutter) - 24px)); }
@media (max-width: 760px) {
  .wcard { width: 62vw; border-radius: 16px; }
  .wreel__btn { width: 40px; height: 40px; margin-top: -20px; }
}
.pgroup .cases--reel { margin-top: 6px; }

/* Story panel: sprite tiles + client pills with thumbs */
.wt__img { position: absolute; inset: 0; display: block; background-repeat: no-repeat; transition: transform 1s var(--ease); }
.wt:hover .wt__img { transform: scale(1.04); }
.sl__clients { display: flex; flex-wrap: nowrap; gap: 6px; margin: 0 -22px 16px; padding: 0 22px 6px; overflow-x: auto; scrollbar-width: none; }
.sl__clients::-webkit-scrollbar { display: none; }
.cpill { flex: none; }
.cpill i { display: block; width: 26px; height: 26px; border-radius: 50%; flex: none; }
@media (max-width: 900px) { .sl__clients { margin: 0 -14px; padding: 0 14px 4px; } }

/* Portfolio index: small work thumbs on each row */
.idx-item { gap: 12px; justify-content: flex-start; }
.idx-thumbs { display: inline-flex; flex: none; }
.idx-thumbs i { display: block; width: 30px; height: 38px; border-radius: 7px; box-shadow: 0 0 0 2px #151516, 0 6px 14px -6px rgba(0, 0, 0, 0.7); transition: transform 0.35s var(--ease); }
.idx-thumbs i + i { margin-left: -12px; }
.idx-thumbs i:nth-child(1) { transform: rotate(-5deg); }
.idx-thumbs i:nth-child(3) { transform: rotate(5deg); }
.idx-item:hover .idx-thumbs i:nth-child(1) { transform: rotate(-10deg) translateX(-3px); }
.idx-item:hover .idx-thumbs i:nth-child(3) { transform: rotate(10deg) translateX(3px); }
.idx-name { flex: 1; min-width: 0; }
.idx-count { flex: none; font-style: normal; font-size: 0.75rem; color: var(--quiet); }
.idx-item:hover .idx-count { color: rgba(10, 15, 8, 0.6); }
.idx-item .i-arrow { flex: none; }

/* v8: two work rows */
[data-panel] .wreel + .wreel { margin-top: 14px; }
[data-panel] .wreel .wcard { width: clamp(180px, 17vw, 240px); }
@media (max-width: 760px) { [data-panel] .wreel .wcard { width: 44vw; } [data-panel] .wreel + .wreel { margin-top: 10px; } }

/* v8: package buttons centred in the card */
.gig .btn--block { width: auto; align-self: stretch; margin-inline: 12px; }

/* v8: team photos without the lead's lime ring */
.crew__photo--team { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--line-2); }

/* v8: one clean frame around the hero copy */
.hero__copy { position: relative; }
.hframe { position: absolute; width: 34px; height: 34px; border: 0 solid var(--lime); opacity: 0.9; pointer-events: none; }
.hframe--tl { top: -28px; left: -56px; border-top-width: 1.5px; border-left-width: 1.5px; border-top-left-radius: 4px; }
.hframe--br { bottom: -28px; right: -56px; border-bottom-width: 1.5px; border-right-width: 1.5px; border-bottom-right-radius: 4px; }
@media (max-width: 760px) { .hframe { width: 22px; height: 22px; } .hframe--tl { top: -18px; left: -6px; } .hframe--br { bottom: -18px; right: -6px; } }

/* v8: page-body background, a faint labyrinth lit by the cursor, plus slow particles */
body.home { background: transparent; }
.bgfx { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; --mx: 50vw; --my: 50vh; }
.bgfx.is-on { opacity: 1; }
.bgfx__maze { position: absolute; inset: -2px; opacity: 0.13; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='336' height='336'%3E%3Cpath d='M0 0h28M28 0h28M56 0v28M84 0h28M112 0v28M140 0h28M168 0h28M196 0v28M224 0h28M252 0h28M280 0h28M308 0h28M0 28h28M28 28v28M56 28h28M84 28h28M112 28v28M140 28h28M140 28v28M168 28v28M196 28h28M252 28h28M280 28v28M308 28h28M0 56h28M28 56h28M56 56h28M84 56v28M112 56h28M140 56v28M168 56v28M196 56h28M224 56v28M252 56h28M280 56h28M308 56h28M0 84v28M28 84h28M56 84h28M84 84v28M112 84v28M140 84h28M168 84v28M196 84v28M224 84h28M252 84v28M280 84v28M308 84v28M0 112v28M28 112h28M84 112h28M112 112h28M140 112v28M168 112h28M196 112v28M224 112h28M252 112v28M280 112v28M308 112v28M0 140v28M28 140h28M56 140v28M84 140v28M112 140v28M140 140v28M168 140v28M196 140h28M196 140v28M224 140v28M252 140v28M280 140h28M308 140v28M0 168v28M56 168v28M84 168h28M112 168h28M140 168v28M168 168h28M196 168v28M224 168h28M252 168h28M280 168h28M308 168v28M0 196h28M28 196h28M56 196h28M84 196v28M112 196h28M140 196h28M168 196v28M196 196v28M224 196v28M252 196v28M280 196h28M308 196h28M0 224h28M28 224v28M84 224h28M112 224h28M140 224h28M168 224h28M196 224v28M224 224v28M252 224h28M280 224h28M308 224h28M0 252h28M28 252v28M84 252v28M112 252v28M140 252v28M168 252v28M196 252h28M224 252v28M252 252v28M280 252v28M308 252v28M0 280h28M28 280h28M56 280h28M84 280v28M112 280h28M140 280h28M168 280h28M196 280h28M224 280h28M252 280h28M280 280h28M308 280h28M0 308h28M28 308h28M56 308h28M84 308v28M112 308v28M140 308h28M168 308h28M196 308h28M224 308h28M252 308h28M280 308v28' fill='none' stroke='white' stroke-width='1' stroke-linecap='square'/%3E%3C/svg%3E"); background-size: 336px 336px;
  -webkit-mask-image: radial-gradient(circle 320px at var(--mx) var(--my), #000 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.12) 100%);
  mask-image: radial-gradient(circle 320px at var(--mx) var(--my), #000 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.12) 100%); }
.bgfx__glow { position: absolute; inset: 0; background: radial-gradient(circle 420px at var(--mx) var(--my), rgba(var(--lime-rgb), 0.035), transparent 70%); }
.bgfx__dots { position: absolute; inset: 0; width: 100%; height: 100%; }

/* v9: reel cards mixed into the work rows */
.wcard { --cw: clamp(200px, 21vw, 290px); width: var(--cw); }
[data-panel] .wreel .wcard { --cw: clamp(180px, 17vw, 240px); width: var(--cw); }
@media (max-width: 760px) { .wcard { --cw: 62vw; width: var(--cw); } [data-panel] .wreel .wcard { --cw: 44vw; width: var(--cw); } }
.wcard.wcard--reel, [data-panel] .wreel .wcard.wcard--reel { width: calc(var(--cw) * 0.703); aspect-ratio: 9 / 16; }
.wcard__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s ease; }
.wcard.is-playing .wcard__vid { opacity: 1; }
.wcard__tag { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 99px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink); background: var(--lime); }
.wcard--reel .wcard__meta { z-index: 2; }

/* v10: everything in the rows at post ratio 4:5; story wall as a 3-column grid (3 posts, 3 reels, 3 posts) */
.wcard.wcard--reel, [data-panel] .wreel .wcard.wcard--reel { width: var(--cw); aspect-ratio: 4 / 5; }
.wall--posts, .story .wall--posts { display: grid; columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
.wall--posts .wt { margin-bottom: 0; }
.wt--reel video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .wall--posts, .story .wall--posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .wall--posts .wt figcaption { display: none; } }

/* v11: rows keep every piece's own ratio. Same height, width follows the ratio (posts 4:5 or 1:1, reels 9:16). Nothing is cropped. */
.wcard, [data-panel] .wreel .wcard { --ch: calc(var(--cw) * 1.25); height: var(--ch); width: calc(var(--ch) / var(--r, 1.25)); aspect-ratio: auto; }
.wcard.wcard--reel, [data-panel] .wreel .wcard.wcard--reel { width: calc(var(--ch) * 0.5625); aspect-ratio: auto; }
/* industry groups: 3 rows of 2 */
.ptabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; border-radius: 26px; width: min(100%, 640px); }
.ptab { flex: initial; width: 100%; padding: 8px 14px; line-height: 1.25; white-space: normal; text-align: center; }
@media (max-width: 480px) { .ptab { font-size: 0.8125rem; padding: 8px 10px; } }
.wcard:hover .wcard__img { transform: none; }
/* v11b: tabs spread across the full width: 3 x 2 on desktop, 2 x 3 on phones */
.ptabs { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .ptabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* v12: service-based case panel */
.sl__svc { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 18px; }
.sl__tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; color: var(--ink); background: var(--lime); }
.sl__tag--soft { color: var(--text); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 500; }
.sl__ch p { color: var(--muted); }
.sl__fix { margin-top: 8px; color: var(--text) !important; }
.sl__fix b { color: var(--lime); font-weight: 600; margin-right: 4px; }
.sl__results--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sl__results--3 .sr__num { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.sl__note { margin: 8px 0 20px; font-size: 0.75rem; color: var(--muted); }
.sl__dl { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 8px 0 0; list-style: none; }
.sl__dl li { padding: 6px 12px; border-radius: 999px; font-size: 0.8125rem; color: var(--text); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); }

/* v13: reel posters + filled slots */
.wt--reel .wt__img { background-repeat: no-repeat; }
.wt--reel video { position: absolute; inset: 0; }
.wt__blur { filter: blur(22px) brightness(0.55); transform: scale(1.25); }
.wt:hover .wt__blur { transform: scale(1.25); }
.wt__fit { position: absolute; left: 0; right: 0; top: 50%; width: 100%; transform: translateY(-50%); background-repeat: no-repeat; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7); }

/* v14: justified rows, native ratios */
.sl__work .wall--posts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; columns: auto; }
.jrow { display: flex; gap: 12px; align-items: flex-start; }
.jrow > .wt { flex-basis: 0; flex-shrink: 1; min-width: 0; margin: 0; }
@media (max-width: 760px) { .sl__work .wall--posts, .jrow { gap: 6px; } .jrow .wt figcaption { display: none; } }
