/* Preview A: The Constellation. Dark concrete world, magenta data drawn over it. */

@font-face { font-family: "Satoshi"; src: url("../../shared/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../../shared/fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../../shared/fonts/satoshi-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../../shared/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("../../shared/fonts/spacemono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  /* neutrals tinted toward the brand magenta (hue 358) */
  --ink-0: oklch(0.135 0.006 358);
  --ink-1: oklch(0.165 0.008 358);
  --ink-2: oklch(0.21 0.01 358);
  --rule: oklch(0.34 0.012 358);
  --rule-soft: oklch(0.27 0.01 358);
  --fg: oklch(0.965 0.005 358);
  --fg-2: oklch(0.78 0.01 358);
  --fg-3: oklch(0.62 0.012 358);
  --paper: oklch(0.972 0.003 358);
  --paper-ink: oklch(0.2 0.01 358);
  --paper-ink-2: oklch(0.42 0.012 358);
  --accent: oklch(0.6 0.244 358.6);          /* #E6007E */
  --accent-deep: oklch(0.52 0.215 358.6);

  --f-display: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;
  --f-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  /* type scale, every step at least 1.25 */
  --t-xs: 0.8125rem;   /* 13 */
  --t-s: 1.0625rem;    /* 17 */
  --t-m: 1.375rem;     /* 22 */
  --t-l: 1.75rem;      /* 28 */
  --t-xl: clamp(2.25rem, 3.4vw, 3rem);          /* 36 to 48 */
  --t-2xl: clamp(2.6rem, 5vw, 4.75rem);         /* h2 */
  --t-3xl: clamp(2.6rem, 6.6vw, 6.5rem);        /* services list */
  --t-hero: clamp(4rem, 13.4vw, 14rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);       /* exponential ease-out */
  --pad: clamp(20px, 4.4vw, 72px);
  --hd: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink-0); color: var(--fg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 var(--t-s)/1.6 var(--f-body); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--fg); padding: 10px 16px; font-weight: 600; transition: transform .3s var(--ease); }
.skip:focus { transform: translateY(72px); }

.wrap { padding-inline: var(--pad); max-width: 1600px; margin-inline: auto; }
.eyebrow { font: 400 var(--t-xs)/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.h2 { font: 700 var(--t-2xl)/1 var(--f-display); letter-spacing: -0.02em; text-wrap: balance; }
.body { color: var(--fg-2); max-width: 54ch; margin-top: 22px; }
.sub { font: 500 var(--t-m)/1.35 var(--f-display); color: var(--fg); margin-top: 22px; max-width: 30ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; background: var(--accent); color: var(--fg); font: 600 1rem/1 var(--f-body); text-decoration: none; transition: background-color .4s var(--ease), transform .4s var(--ease); }
.btn:hover { background: var(--accent-deep); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 18px; font: 600 1rem/1 var(--f-body); text-decoration: none; color: var(--fg); background: linear-gradient(var(--accent), var(--accent)) left calc(100% - 8px) / 100% 1px no-repeat; transition: background-size .5s var(--ease); }
.link::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .5s var(--ease); }
.link:hover::after { transform: translateX(4px) rotate(45deg); }

/* header */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd); display: flex; align-items: center; gap: 32px; padding-inline: var(--pad); transition: background-color .5s var(--ease); }
.hd::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; background: linear-gradient(180deg, oklch(0.135 0.006 358 / .78), oklch(0.135 0.006 358 / 0)); pointer-events: none; transition: opacity .5s var(--ease); }
.hd.is-solid::before { opacity: 0; }
.hd.is-solid { background: oklch(0.135 0.006 358 / .92); box-shadow: 0 1px 0 var(--rule-soft); }
.hd-logo img { width: 132px; height: auto; }
.hd-nav { display: flex; gap: 28px; margin-left: auto; font: 500 .9375rem/1 var(--f-body); }
.hd-nav a { text-decoration: none; color: var(--fg-2); padding: 14px 0; transition: color .3s var(--ease); }
.hd-nav a:hover { color: var(--fg); }
@media (max-width: 1023px) { .hd-nav { display: none; } .hd .btn { margin-left: auto; } }
@media (max-width: 420px) { .hd-logo img { width: 112px; } .hd .btn-sm { padding: 0 14px; font-size: .875rem; } }

/* concrete planes, cropped from the deck backgrounds */
.planes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.plane { position: absolute; inset: -6% -4%; background-repeat: no-repeat; will-change: transform; mix-blend-mode: lighten; }
.plane-deep { background-image: url("../img/13-closing-hero.jpg"); background-size: cover; background-position: right center; opacity: .42; -webkit-mask-image: linear-gradient(90deg, transparent 38%, #000 80%); mask-image: linear-gradient(90deg, transparent 38%, #000 80%); }
.plane-mid { left: 24%; background-image: url("../img/01-cover-hero.jpg"); background-size: cover; background-position: 70% center; opacity: .9; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 62%); mask-image: linear-gradient(90deg, transparent 30%, #000 62%); }
.plane-near { background-image: url("../img/05-ecosystem-bg.jpg"); background-size: 118% auto; background-position: 40% 0; clip-path: polygon(62% 0, 79% 0, 99% 100%, 88% 100%); opacity: .55; }
.const-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; pointer-events: none; }
.gl-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gl .const-still { opacity: 0; transition: opacity 1.2s var(--ease); }
.no-gl .gl-canvas { display: none; }

/* HERO */
.hero { position: relative; isolation: isolate; }
.hero-stage { position: absolute; inset: 0 0 auto; height: 100svh; min-height: 640px; overflow: hidden; z-index: -1; background: var(--ink-0); }
.hero-intro { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--hd) + 40px); padding-bottom: clamp(36px, 7vh, 72px); }
.hero-h { font: 900 var(--t-hero)/.86 var(--f-display); letter-spacing: -0.04em; margin-left: -0.04em; }
.hero-h [data-line] { display: block; width: max-content; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: clamp(28px, 4.6vh, 52px); }
.lede { max-width: 46ch; color: var(--fg-2); font-size: var(--t-s); }
.actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.actions .link { margin-top: 0; }
.hero-frame, .hero-plate { display: none; }
.gl .hero-plate { display: block; position: absolute; left: var(--fx); top: var(--fy); width: var(--fw); height: var(--fh); background: var(--ink-0); opacity: 0; box-shadow: 0 0 0 1px var(--rule-soft); }

.idea { position: relative; padding-block: clamp(64px, 12vh, 140px); display: grid; gap: 48px; }
.idea-still { position: relative; aspect-ratio: 1600 / 1464; background: var(--ink-1); overflow: hidden; }
.idea-dots, .idea-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.idea-photo { object-fit: cover; clip-path: inset(0 0 0 50%); }
.idea-still .seam { left: 50%; }

.seam { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--accent); pointer-events: none; }
.seam i { position: absolute; left: -6px; top: 50%; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px oklch(0.6 0.244 358.6 / .22); }
.seam-tag { position: absolute; bottom: 18px; font: 400 var(--t-xs)/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; padding: 8px 10px; background: var(--ink-0); color: var(--fg); }
.seam-l { right: calc(50% + 14px); }
.seam-r { left: calc(50% + 14px); }

@media (min-width: 768px) {
  .idea { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
}
@media (max-width: 767px) {
  .hero-stage { min-height: 0; }
  .plane-deep { background-position: 78% center; -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 70%); mask-image: linear-gradient(180deg, #000 10%, transparent 70%); opacity: .5; }
  .plane-mid { background-position: 82% top; background-size: auto 62%; -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 64%); mask-image: linear-gradient(180deg, #000 20%, transparent 64%); }
  .plane-near { display: none; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 26px; }
  .hero-h { font-size: 18.2vw; }
  .hero-intro { justify-content: flex-end; }
}

/* GL mode: the stage pins, the copy scrolls over it */
.gl .hero { height: 300vh; }
.gl .hero-stage { position: sticky; top: 0; height: 100vh; z-index: 0; }
.gl .hero-flow { position: relative; margin-top: -100vh; z-index: 1; }
.gl .hero-h { color: oklch(0.965 0.005 358 / .07); -webkit-text-stroke: 1.5px oklch(0.965 0.005 358 / .55); }
.gl .idea { min-height: 100vh; margin-top: 82vh; grid-template-columns: minmax(0, 1fr); align-content: center; padding-block: 0; }
.gl .idea-copy { max-width: 470px; padding: 36px 36px 30px 0; background: linear-gradient(90deg, var(--ink-0) 70%, transparent); }
.gl .idea-still { display: none; }
.gl .hero-frame { display: block; position: absolute; left: var(--fx); top: var(--fy); width: var(--fw); height: var(--fh); pointer-events: none; }
.gl .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; --s: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--s) * 100% - 6%), #000 calc(var(--s) * 100% + 6%));
  mask-image: linear-gradient(90deg, transparent calc(var(--s) * 100% - 6%), #000 calc(var(--s) * 100% + 6%)); }
.gl .hero-frame .seam { left: 0; transform: translateX(var(--seam-x, 0px)); opacity: 0; }
.gl .hero-frame .seam-l { right: auto; left: 0; transform: translateX(calc(var(--seam-x, 0px) - 100% - 14px)); opacity: 0; }
.gl .hero-frame .seam-r { left: 0; transform: translateX(calc(var(--seam-x, 0px) + 14px)); opacity: 0; }

/* CLIENTS: the sky of nodes */
.clients { position: relative; padding-block: clamp(96px, 14vh, 160px) clamp(64px, 10vh, 120px); overflow: hidden; isolation: isolate; }
.plane-band { position: absolute; inset: -10% 0; z-index: -1; background-repeat: no-repeat; pointer-events: none; will-change: transform; }
.plane-industries { background-image: url("../img/12-industries-bg.jpg"); background-size: cover; background-position: right center; opacity: .35; -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 85%); mask-image: linear-gradient(90deg, transparent 35%, #000 85%); }
.clients-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }   /* 25 Oct: six identical cells */
.sector { display: flex; width: 100%; text-align: left; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid var(--rule); background: var(--ink-0); cursor: pointer; font-weight: 600; font-size: .9375rem; transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.sector i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--accent); transition: background-color .4s var(--ease); }
.sector:hover, .sector[aria-pressed="true"] { border-color: var(--accent); }
.sector[aria-pressed="true"] i { background: var(--accent); }
.sky { position: relative; height: clamp(460px, 62vh, 620px); margin: clamp(32px, 6vh, 64px) var(--pad) 0; }
.sky-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sky-lines line { stroke: var(--fg); stroke-opacity: .14; stroke-width: 1; }
.sky-lines .hot { stroke: var(--accent); stroke-opacity: .95; stroke-width: 1.25; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw .9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sky-nodes li { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 0; height: 0; transition: opacity .5s var(--ease); }
.sky-nodes li::before { content: ""; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--fg); transition: background-color .4s var(--ease); }
.sky-nodes li:nth-child(4n+1)::before { background: var(--accent); }
.sky-nodes li::after { content: ""; position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--accent); transform: scale(.4); opacity: 0; transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.sky-nodes img { position: absolute; left: 20px; top: 0; transform: translateY(-50%); width: var(--w, 96px); max-width: none; height: auto; opacity: .92; transition: opacity .4s var(--ease); }
.sky-nodes li.sky-label::before, .sky-nodes li.sky-label::after { display: none; }
.sky-label { width: max-content !important; height: auto !important; transform: translateY(-50%); padding-bottom: 8px; border-bottom: 1px solid var(--rule); font: 400 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; pointer-events: none; }
.sky[data-active] .sky-label.on { color: var(--accent); border-color: var(--accent); }
.sky[data-active] li { opacity: .25; }
.sky[data-active] li.on { opacity: 1; }
.sky[data-active] li.on::before { background: var(--accent); }
.sky[data-active] li.on::after { opacity: .9; transform: scale(1); }
.clients-foot { margin-top: 18px; }
@media (max-width: 767px) {
  /* phones: the same six groups as a tidy grid, one label each, every logo in an identical cell */
  .sky { height: auto; margin: 28px var(--pad) 0; }
  .sky-lines { display: none; }
  .sky-nodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 10px; margin: 0; padding: 0; }
  .sky-nodes li { position: relative; left: auto; top: auto; width: auto; height: 76px; display: grid; place-items: center; }
  .sky-nodes li::before, .sky-nodes li::after { display: none; }
  .sky-nodes img { position: static; transform: none; width: calc(var(--w, 96px) * .8); max-width: 100%; }
  .sky-nodes li.sky-label { grid-column: 1 / -1; height: auto; width: auto !important; display: block; transform: none; margin: 22px 0 6px; }
  .sky-nodes li.sky-label:first-child { margin-top: 0; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sector { padding: 10px 14px; font-size: .875rem; line-height: 1.2; }
}

/* TEAM: four slabs fold into one */
.team { position: relative; }
.team-stage { min-height: 100svh; display: flex; align-items: center; padding-block: clamp(80px, 12vh, 140px); overflow: hidden; }
.team-grid { width: 100%; display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .team-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.fold-wrap { perspective: 1700px; perspective-origin: 50% 40%; }
.fold { container-type: inline-size; display: grid; grid-template-columns: repeat(4, 1fr); height: clamp(380px, 58vh, 540px); transform-style: preserve-3d; }
.slab { position: relative; transform-style: preserve-3d; will-change: transform;
  background-image: url("../img/13-closing-hero.jpg"); background-size: 260cqw auto; background-position: calc(-130cqw - var(--i) * 25cqw) 42%;
  box-shadow: inset 1px 0 0 oklch(1 0 0 / .08), inset -1px 0 0 oklch(0 0 0 / .35); }
.slab::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.135 0.006 358 / 0) 50%, oklch(0.135 0.006 358 / .55)); }
.slab span { position: absolute; left: 50%; bottom: 22px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); font: 700 clamp(1.4rem, 2.3vw, 2.25rem)/1 var(--f-display); letter-spacing: -0.01em; color: var(--fg); }
.slab-seam { position: absolute; left: 0; right: 0; top: 30%; height: 1px; background: var(--accent); }
.slab:first-child .slab-seam::before { content: ""; position: absolute; left: -4px; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.slab:last-child .slab-seam::after { content: ""; position: absolute; right: -6px; top: -6px; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--accent); }
.motion .team { height: 240vh; }
.motion .team-stage { position: sticky; top: 0; height: 100vh; }

/* SERVICES */
.services { position: relative; padding-block: clamp(96px, 14vh, 160px); border-top: 1px solid var(--rule-soft); }
.svc-head { display: grid; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 7vh, 80px); }
@media (min-width: 900px) { .svc-head { grid-template-columns: 1fr 1fr; } }
.svc { position: relative; isolation: isolate; }
.svc-media { position: absolute; z-index: -1; right: var(--pad); top: 0; width: min(36vw, 520px); aspect-ratio: 4 / 5; pointer-events: none; transform: translateY(var(--my, 0px)); transition: transform .8s var(--ease); }
.svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s var(--ease), transform 1s var(--ease); }
.svc-media img.is-pattern { object-fit: contain; background: var(--ink-1); padding: 8%; }
.svc-media img.on { opacity: .62; transform: scale(1); }
.svc-list li { border-top: 1px solid var(--rule-soft); }
.svc-list li:last-child { border-bottom: 1px solid var(--rule-soft); }
.svc-list a { position: relative; display: block; padding-block: clamp(10px, 1.6vh, 18px); text-decoration: none; font: 700 var(--t-3xl)/1.02 var(--f-display); letter-spacing: -0.03em; color: var(--fg); transition: color .5s var(--ease); }
.svc-list a span { display: inline-block; transition: transform .6s var(--ease); }
.svc-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.svc-list a::before { content: ""; position: absolute; left: -22px; top: 50%; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .5s var(--ease); }
.svc.is-hot .svc-list a { color: var(--fg-3); }
.svc.is-hot .svc-list a.on { color: var(--fg); }
.svc-list a.on::after { transform: scaleX(1); }
.svc-list a.on::before { transform: scale(1); }
.svc-list a.on span { transform: translateX(14px); }
@media (max-width: 767px) {
  .svc-media { display: none; }
  .svc-list a { font-size: clamp(1.9rem, 9vw, 2.6rem); }
}

/* OFFERS */
.offers { padding-top: clamp(96px, 14vh, 160px); }
.offers-head { margin-bottom: clamp(48px, 8vh, 96px); }
.band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(72px, 12vh, 140px); }
.band-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .band-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.band-h { font: 700 clamp(3rem, 8.4vw, 8.5rem)/.9 var(--f-display); letter-spacing: -0.035em; }
.band-line { font: 500 var(--t-l)/1.2 var(--f-display); margin-top: 18px; }
.band-toni { background: var(--ink-1); border-top: 1px solid var(--rule-soft); }
.toni-orbit { width: 100%; max-height: 560px; overflow: visible; }
.toni-orbit .ring { fill: none; stroke: var(--fg); stroke-opacity: .2; }
.toni-orbit .ring.dot { stroke-dasharray: 1 5; stroke-opacity: .5; stroke-linecap: round; }
.toni-orbit .ring.acc { stroke: var(--accent); stroke-opacity: .8; }
.toni-orbit g { transition: transform 1.2s var(--ease); }
.band-lf { background: var(--paper); color: var(--paper-ink); }
.band-lf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/08-leadforge-bg.jpg") right -380px center / auto 100% no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 32%, #000 52%); mask-image: linear-gradient(90deg, transparent 32%, #000 52%); }
.band-lf .eyebrow, .band-lf .body { color: var(--paper-ink-2); }
.band-lf .link { color: var(--paper-ink); }
.lf-stage { position: relative; height: clamp(420px, 60vh, 600px); display: grid; place-items: center; }
.lf-flow { position: absolute; top: 0; left: -6vw; width: calc(100% + 6vw); height: 100%; pointer-events: none; }
.lf-3d { position: relative; width: min(100%, 640px); height: 100%; transform-style: preserve-3d; perspective: 1400px; }
.lf-dash, .lf-card { position: absolute; box-shadow: 0 40px 80px -30px oklch(0.2 0.02 358 / .45); border-radius: 18px; }
.lf-dash { width: 112%; left: -6%; top: 6%; transform: perspective(1400px) rotateX(16deg) rotateY(-26deg) rotateZ(4deg) translateZ(-160px); opacity: .55; }
.lf-card { width: 46%; right: 14%; top: 10%; transform: perspective(1400px) rotateX(10deg) rotateY(-22deg) rotateZ(2deg) translateZ(40px); transition: transform 1.2s var(--ease); }
.lf-stage figcaption { position: absolute; left: 0; bottom: 0; font: 500 var(--t-xs)/1.3 var(--f-body); color: var(--paper-ink-2); }
.band-vibe { background: var(--accent); color: var(--fg); }
.band-vibe .eyebrow { color: var(--fg); }
.band-vibe .eyebrow::before { background: var(--fg); }
.band-vibe .body { color: oklch(0.97 0.01 358 / .92); }
.band-vibe .link { background-image: linear-gradient(var(--fg), var(--fg)); }
.band-vibe .band-h { font-size: clamp(2.6rem, 6.2vw, 6.25rem); }
.vibe-pattern { position: absolute; inset: 0; z-index: -1; background: url("../../shared/pattern-3.svg") right -10% center / auto 140% no-repeat; filter: brightness(0) invert(1); opacity: .16; }
.vibe-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid oklch(0.97 0.01 358 / .45); }
.vibe-list li { font: 700 var(--t-xl)/1 var(--f-display); padding: 28px 0; border-bottom: 1px solid oklch(0.97 0.01 358 / .45); }
.vibe-list li:nth-child(odd) { border-right: 1px solid oklch(0.97 0.01 358 / .45); }
.vibe-list li:nth-child(even) { padding-left: 28px; }
@media (max-width: 767px) {
  .lf-stage { height: 440px; }
  .lf-card { width: 58%; right: 8%; }
  .band-lf::before { background-position: 62% center; -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 60%); mask-image: linear-gradient(180deg, transparent 30%, #000 60%); }
}

/* WORK rail */
.work { padding-block: clamp(96px, 14vh, 160px) clamp(64px, 10vh, 120px); }
.work-head { display: grid; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 6vh, 64px); }
@media (min-width: 900px) { .work-head { grid-template-columns: 1fr 1fr; } }
.rail { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding-inline: var(--pad); cursor: grab; scroll-snap-type: x proximity; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail figure { flex: none; height: clamp(360px, 72vh, 720px); scroll-snap-align: start; scroll-margin-inline: var(--pad); background: var(--ink-1); }
.rail img { height: 100%; width: auto; user-select: none; -webkit-user-drag: none; }
.rail-meta { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.rail-hint { font: 400 var(--t-xs)/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.rail-bar { position: relative; flex: 1; height: 1px; background: var(--rule); max-width: 420px; }
.rail-bar i { position: absolute; inset: -0.5px auto -0.5px 0; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, .2)); height: 2px; top: -0.5px; }
@media (max-width: 767px) { .rail figure { height: 440px; } .rail { gap: 8px; } }

/* CITIES */
.cities { position: relative; padding-block: clamp(96px, 14vh, 160px); border-top: 1px solid var(--rule-soft); background: radial-gradient(120% 80% at 70% 60%, var(--ink-1), var(--ink-0)); overflow: hidden; }
.map { position: relative; margin-top: clamp(24px, 4vh, 48px); }
.map-svg { width: 100%; height: auto; display: block; overflow: hidden; }
.map-grid circle { fill: var(--fg); }
.map-grid line { stroke: var(--fg); stroke-opacity: .1; }
.arc-under { fill: none; stroke: var(--accent); stroke-opacity: .25; stroke-width: 6; }
.arc { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.pulse { fill: var(--fg); }
.city .dot { fill: var(--accent); }
.city .ring { fill: none; stroke: var(--accent); stroke-opacity: .6; }
.city-label { position: absolute; }
.city-label h3 { font: 700 clamp(2.4rem, 6vw, 6rem)/.9 var(--f-display); letter-spacing: -0.03em; }
.coord { font: 500 var(--t-s)/1.4 var(--f-body); font-variant-numeric: tabular-nums; color: var(--fg); margin-top: 12px; }
.clock { font: 400 var(--t-xs)/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); margin-top: 6px; }
.clock time { color: var(--fg); font-variant-numeric: tabular-nums; letter-spacing: .04em; margin-left: 6px; }
.map-inner { position: relative; }
.city-beirut { left: calc(22.1% + 44px); top: calc(30.5% + 30px); }
.city-dubai { right: calc(19.8% + 76px); top: calc(73.9% - 64px); text-align: right; }
@media (max-width: 767px) {
  .map-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .map-svg { grid-column: 1 / -1; aspect-ratio: 860 / 700; }
  .city-label { position: static; }
  .city-label h3 { font-size: 2.6rem; }
  .coord { font-size: .875rem; }
}

/* CLOSING */
.closing { position: relative; isolation: isolate; }
.closing-stage { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: flex-end; }
.plane-close { background-image: url("../img/13-closing-hero.jpg"); background-size: cover; background-position: right center; opacity: .75; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 75%); mask-image: linear-gradient(90deg, transparent 30%, #000 75%); }
.closing-inner { position: relative; width: 100%; padding-top: calc(var(--hd) + 64px); padding-bottom: clamp(40px, 8vh, 88px); }
.closing-copy { max-width: 620px; }
.giant { display: block; width: max-content; max-width: 100%; margin-top: clamp(28px, 6vh, 72px); font: 700 clamp(3.4rem, 12.4vw, 13rem)/.86 var(--f-display); letter-spacing: -0.04em; text-decoration: none; color: var(--fg); background: linear-gradient(var(--accent), var(--accent)) left bottom / 0% 6px no-repeat; padding-bottom: 14px; transition: background-size .9s var(--ease), color .5s var(--ease); }
.giant span { display: block; }
.giant:hover, .giant:focus-visible { background-size: 100% 6px; }
.giant span:last-child { color: var(--accent); }
.motion.gl .closing { height: 180vh; }
.motion.gl .closing-stage { position: sticky; top: 0; height: 100vh; }

/* FOOTER */
.ft { border-top: 1px solid var(--rule-soft); padding-block: 48px; color: var(--fg-2); font-size: .9375rem; }
.ft-grid { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center; }
.ft-grid img { width: 120px; }
.ft a { color: var(--fg); margin-right: 18px; text-underline-offset: 4px; }
.ft-small { margin-left: auto; color: var(--fg-3); font-size: var(--t-xs); }
@media (max-width: 767px) { .ft-small { margin-left: 0; } }
