/* Ceya website. Seen through a camera viewfinder; the 3D world sits fixed behind everything. */
:root {
  --ink: #07161A; --ink-2: #102528; --deep: #22535A; --teal: #2F6B72; --mist: #E9F0EE; --white: #FFFFFF;
  --sun: #F7B32B; --ember: #FA9C3D; --coral: #FC864F; --rose: #FF6F61; --clay: #D7927B; --sage: #B0B596; --mint: #88D8B0;
  --muted: #9DB8B4;
  --ease: cubic-bezier(.6, 0, .2, 1);
  --pad: clamp(20px, 4.4vw, 72px);
  --hud: clamp(14px, 2.2vw, 30px);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color: var(--white); -webkit-font-smoothing: antialiased; }
body { margin: 0; font-family: Jost, Futura, "Century Gothic", system-ui, sans-serif; font-size: 18px; line-height: 1.6; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--sun); color: var(--ink); }
.is-loading body { overflow: hidden; }
@media (hover: hover) and (pointer: fine) { html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor input { cursor: none; } }

/* ---------- World and grain ---------- */
#world { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; }
.grain { position: fixed; inset: -50%; z-index: 40; pointer-events: none; opacity: .09; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-1%, 3%); } 80% { transform: translate(3%, 1%); } 100% { transform: translate(0, 0); } }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 60; background: var(--ink); display: grid; place-items: center; clip-path: circle(150% at 50% 50%); }
.loader-rings { width: min(42vmin, 380px); overflow: visible; }
.loader-tc { position: absolute; left: 50%; bottom: 9vh; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.loader-tc span { font-size: clamp(22px, 3vw, 34px); font-weight: 300; letter-spacing: .04em; }
.loader-tc i { font-style: normal; font-size: 13px; color: var(--muted); }

/* ---------- HUD ---------- */
.hud { position: fixed; inset: 0; z-index: 30; pointer-events: none; font-size: 13px; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.86); }
.hud-mark { position: absolute; width: clamp(18px, 2.6vw, 34px); aspect-ratio: 1; border: 0 solid rgba(255,255,255,.7); }
.hud-mark--tl { left: var(--hud); top: var(--hud); border-top-width: 1.5px; border-left-width: 1.5px; }
.hud-mark--tr { right: var(--hud); top: var(--hud); border-top-width: 1.5px; border-right-width: 1.5px; }
.hud-mark--bl { left: var(--hud); bottom: var(--hud); border-bottom-width: 1.5px; border-left-width: 1.5px; }
.hud-mark--br { right: var(--hud); bottom: var(--hud); border-bottom-width: 1.5px; border-right-width: 1.5px; }
.hud-rec { position: absolute; left: calc(var(--hud) + 44px); top: calc(var(--hud) + 6px); display: flex; align-items: center; gap: 8px; }
.hud-rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--rose); animation: rec 1.4s steps(2, jump-none) infinite; }
@keyframes rec { 50% { opacity: .2; } }
.hud-tc { position: absolute; right: calc(var(--hud) + 44px); top: calc(var(--hud) + 6px); }
.hud-scene { position: absolute; left: calc(var(--hud) + 44px); bottom: calc(var(--hud) + 6px); display: flex; gap: 12px; }
.hud-scene b { font-weight: 500; color: var(--sun); }
.hud-meter { position: absolute; right: calc(var(--hud) + 44px); bottom: calc(var(--hud) + 10px); display: flex; gap: 5px; }
.hud-meter li { width: 22px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.18); transition: background .4s; }
.hud-meter li.on:nth-child(1), .hud-meter li.on:nth-child(2) { background: var(--sun); } .hud-meter li.on:nth-child(3) { background: var(--ember); } .hud-meter li.on:nth-child(4) { background: var(--coral); }
.hud-meter li.on:nth-child(5) { background: var(--rose); } .hud-meter li.on:nth-child(6) { background: var(--clay); } .hud-meter li.on:nth-child(7) { background: var(--sage); } .hud-meter li.on:nth-child(8) { background: var(--mint); }
.hud-cross { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; transform: translate(-50%, -50%); opacity: .35; background: linear-gradient(#fff, #fff) center / 100% 1px no-repeat, linear-gradient(#fff, #fff) center / 1px 100% no-repeat; }
@media (max-width: 700px) { .hud-rec, .hud-tc, .hud-scene, .hud-meter { font-size: 11px; } .hud-meter li { width: 12px; } .hud-cross { display: none; } .hud-rec { left: calc(var(--hud) + 26px); } .hud-tc { right: calc(var(--hud) + 26px); } .hud-scene { left: calc(var(--hud) + 26px); } .hud-meter { right: calc(var(--hud) + 26px); } }

/* ---------- Top bar ---------- */
.top { position: fixed; z-index: 35; left: 0; right: 0; top: calc(var(--hud) + 40px); padding: 0 calc(var(--hud) + 44px); display: flex; align-items: center; gap: 20px; pointer-events: none; }
.top > * { pointer-events: auto; }
.top-logo { display: flex; align-items: center; gap: 10px; }
.top-logo img { width: 34px; }
.top-logo .top-word { width: 60px; }
.top-sound { margin-left: auto; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 6px; font-size: 14px; color: var(--muted); transition: color .2s; }
.top-sound:hover, .top-sound[aria-pressed="true"] { color: var(--white); }
.eq { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; }
.top-sound[aria-pressed="true"] .eq i { animation: eq .8s ease-in-out infinite alternate; }
.top-sound[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: .2s; } .top-sound[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: .4s; } .top-sound[aria-pressed="true"] .eq i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { to { height: 12px; } }
.top-menu { font-size: 15px; padding: 9px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); transition: background .2s, color .2s, border-color .2s; }
.top-menu:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
@media (max-width: 700px) { .top { top: calc(var(--hud) + 30px); padding: 0 calc(var(--hud) + 22px); } .top-sound { font-size: 0; gap: 0; min-width: 44px; justify-content: center; } .top-logo .top-word { display: none; } }

/* ---------- Menu ---------- */
.menu { position: fixed; inset: 0; z-index: 50; background: var(--ink-2); display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--hud) + 40px) calc(var(--hud) + 44px) calc(var(--hud) + 30px); clip-path: circle(0 at var(--mx, 95%) var(--my, 6%)); }
.menu[hidden] { display: grid; visibility: hidden; }
.menu-close { justify-self: end; font-size: 15px; padding: 9px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); }
.menu-list { align-self: center; display: grid; gap: 1vh; }
.menu-list a { display: flex; align-items: baseline; gap: 2vw; text-decoration: none; font-weight: 300; font-size: clamp(38px, 7vw, 104px); line-height: 1.02; letter-spacing: -.03em; transition: color .3s var(--ease), transform .5s var(--ease); }
.menu-list a i { font-style: normal; font-size: 14px; letter-spacing: 0; color: var(--muted); }
.menu-list a:hover, .menu-list a:focus-visible { color: var(--c); transform: translateX(1.4vw); }
.menu-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; color: var(--muted); font-size: 15px; }
.menu-foot img { height: 84px; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; z-index: 70; left: 0; top: 0; pointer-events: none; mix-blend-mode: normal; display: none; }
html.has-cursor .cursor { display: block; }
.cursor-ring { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.8); transition: width .35s var(--ease), height .35s var(--ease), left .35s var(--ease), top .35s var(--ease), background .35s, border-color .35s; }
.cursor-ring::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: var(--white); transition: opacity .2s; }
.cursor-label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font-size: 13px; font-weight: 500; color: var(--ink); opacity: 0; transition: opacity .25s; white-space: nowrap; }
.cursor.is-label .cursor-ring { left: -44px; top: -44px; width: 88px; height: 88px; background: var(--white); border-color: var(--white); }
.cursor.is-label .cursor-ring::after { opacity: 0; }
.cursor.is-label .cursor-label { opacity: 1; }

/* ---------- Scenes ---------- */
#smooth { position: relative; z-index: 10; }
.scene { position: relative; padding: 0 calc(var(--hud) + 44px); }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line .ch, .line .wd { display: inline-block; will-change: transform; }

.scene--hero { min-height: 100svh; display: grid; align-content: end; padding-bottom: 18vh; }
.hero-kicker { font-size: 15px; color: var(--mint); margin-bottom: 2.4vh; }
.hero-title { font-weight: 300; font-size: clamp(64px, 13.4vw, 236px); line-height: .86; letter-spacing: -.045em; }
.hero-sub { margin-top: 3.4vh; max-width: 34ch; color: #C5D8D5; font-size: clamp(16px, 1.3vw, 19px); }
.hero-cue { position: absolute; right: calc(var(--hud) + 44px); bottom: 18vh; display: grid; justify-items: center; gap: 12px; min-width: 44px; padding: 4px 8px; font-size: 14px; text-decoration: none; color: var(--muted); }
.hero-cue i { width: 1px; height: 70px; background: linear-gradient(var(--white), transparent); transform-origin: top; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.scene--statement { min-height: 160vh; display: grid; align-items: center; }
.statement { position: sticky; top: 24vh; font-weight: 300; font-size: clamp(34px, 5.6vw, 92px); line-height: 1.04; letter-spacing: -.03em; max-width: 18ch; }
.statement .wd { opacity: .14; transition: none; }

.scene--layers { height: 400vh; }
.layers-pin { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: 4vw; }
.layers-head h2 { font-weight: 300; font-size: clamp(40px, 5.4vw, 92px); line-height: .98; letter-spacing: -.03em; }
.eyebrowless { font-size: 15px; color: var(--mint); margin-bottom: 18px; }
.layers-stack { position: relative; height: min(64vh, 560px); perspective: 1600px; }
.layer { position: absolute; inset: 0; border-radius: 6px; padding: clamp(24px, 3vw, 48px); background: rgba(10, 30, 33, .72); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border: 1px solid rgba(255,255,255,.12); display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; transform-origin: 50% 100%; box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.layer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); border-radius: 6px 6px 0 0; }
.layer-no { font-size: 14px; color: var(--c); font-variant-numeric: tabular-nums; }
.layer h3 { font-weight: 300; font-size: clamp(44px, 6vw, 104px); line-height: .9; letter-spacing: -.035em; }
.layer p { max-width: 36ch; color: #C5D8D5; }
.layer ul { display: flex; flex-wrap: wrap; gap: 8px; }
.layer li { font-size: 14px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); }
@media (max-width: 860px) { .layers-pin { grid-template-columns: 1fr; align-content: center; gap: 4vh; } .layers-stack { height: 52vh; } }

.scene--work { height: 420vh; }
.work-pin { position: sticky; top: 0; height: 100vh; display: grid; grid-template-rows: auto 1fr; align-content: center; gap: 4vh; overflow: hidden; padding-top: 14vh; }
.work-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.work-head h2 { font-weight: 300; font-size: clamp(40px, 5.4vw, 92px); line-height: 1; letter-spacing: -.03em; }
.work-head p { color: var(--muted); font-size: 15px; }
.strip { position: relative; margin: 0 calc(-1 * (var(--hud) + 44px)); padding: 26px 0; background: #050D0F; align-self: center; }
.perf { position: absolute; left: 0; right: 0; height: 12px; background: radial-gradient(ellipse 6px 4.5px at 50% 50%, rgba(233,240,238,.85) 95%, transparent 100%) 0 0 / 26px 12px repeat-x; }
.perf--top { top: 7px; } .perf--bottom { bottom: 7px; }
.strip-track { display: flex; gap: 14px; padding: 0 calc(var(--hud) + 44px); width: max-content; will-change: transform; }
.frame { position: relative; flex: none; width: clamp(280px, 34vw, 560px); aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; text-decoration: none; background: linear-gradient(135deg, var(--a), var(--b)); }
.frame-img { position: absolute; inset: 0; transition: transform .9s var(--ease); }
.frame-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,13,15,.75), transparent 55%); }
.frame-pat { position: absolute; inset: -10%; }
.frame-pat svg { width: 100%; height: 100%; }
.frame:hover .frame-img { transform: scale(1.06); }
.frame-meta { position: absolute; left: 22px; bottom: 18px; display: grid; z-index: 2; }
.frame-meta b { font-weight: 400; font-size: clamp(20px, 2vw, 30px); line-height: 1.1; }
.frame-meta i { font-style: normal; font-size: 14px; color: rgba(255,255,255,.75); }
.frame-tc { position: absolute; right: 18px; top: 14px; font-size: 13px; font-variant-numeric: tabular-nums; z-index: 2; opacity: .85; }

.scene--grade { min-height: 120vh; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; gap: 4vw; }
.grade-copy h2 { font-weight: 300; font-size: clamp(40px, 4.8vw, 80px); line-height: 1; letter-spacing: -.03em; }
.grade-copy p { margin-top: 24px; color: #C5D8D5; max-width: 34ch; }
.grade-box { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; --x: 50%; touch-action: pan-y; }
.shot { position: absolute; inset: 0; }
.shot--graded { clip-path: inset(0 0 0 var(--x)); }
.scene-art { position: absolute; inset: 0; }
.scene-art i { position: absolute; display: block; }
.sky { inset: 0; background: linear-gradient(180deg, #8FA9B3 0%, #C9C2B0 55%, #D8C9A9 70%); }
.sun { left: 62%; top: 30%; width: 8%; aspect-ratio: 1; border-radius: 50%; background: #F4E6C8; box-shadow: 0 0 60px 20px rgba(244,230,200,.5); }
.hill { left: -10%; right: -10%; border-radius: 50% 50% 0 0; }
.hill--a { top: 52%; bottom: 0; background: linear-gradient(#6E7A6B, #3D453C); transform: rotate(-3deg); }
.hill--b { top: 66%; bottom: -10%; left: 20%; background: linear-gradient(#4B5248, #232722); transform: rotate(4deg); }
.person { left: 30%; bottom: 18%; width: 2.6%; height: 22%; background: #1C1F1C; border-radius: 40% 40% 10% 10%; }
.shot--raw .scene-art { filter: saturate(.7) contrast(.9); }
.shot--graded .scene-art { filter: saturate(1.12) contrast(1.06); }
.shot--graded .scene-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(247,179,43,.32), rgba(252,134,79,.14) 55%, rgba(34,83,90,.6)); mix-blend-mode: soft-light; }
.shot--graded .scene-art::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgba(16,60,66,.5), transparent 55%); mix-blend-mode: multiply; }
.grade-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--white); z-index: 3; }
.grade-handle span { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--white); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.grade-handle span::before, .grade-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -5px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.grade-handle span::before { left: 12px; border-right: 7px solid var(--ink); } .grade-handle span::after { right: 12px; border-left: 7px solid var(--ink); }
.grade-tag { position: absolute; top: 16px; font-size: 13px; z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgba(7,22,26,.6); }
.grade-tag--l { left: 16px; } .grade-tag--r { right: 16px; }
.grade-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 4; cursor: ew-resize; margin: 0; }
@media (max-width: 860px) { .scene--grade { grid-template-columns: 1fr; align-content: center; gap: 5vh; } }

.scene--process { height: 360vh; }
.process-pin { position: sticky; top: 0; height: 100vh; display: grid; align-content: center; gap: 8vh; }
.process-pin h2 { font-weight: 300; font-size: clamp(40px, 5.4vw, 92px); line-height: 1; letter-spacing: -.03em; }
.tl-track { position: relative; height: 2px; background: rgba(255,255,255,.14); }
.tl-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--sun), var(--coral), var(--rose), var(--clay), var(--mint)); }
.tl-head { position: absolute; top: -9px; left: 0; width: 2px; height: 20px; background: var(--white); }
.tl-head i { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-style: normal; font-size: 13px; font-variant-numeric: tabular-nums; background: var(--white); color: var(--ink); padding: 2px 8px; border-radius: 4px; }
.tl-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2vw; margin-top: 40px; }
.tl-steps li { opacity: .22; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); border-top: 2px solid var(--c); padding-top: 18px; }
.tl-steps li.on { opacity: 1; transform: none; }
.tl-steps b { display: block; font-weight: 400; font-size: clamp(20px, 1.8vw, 28px); margin-bottom: 8px; }
.tl-steps p { font-size: 15px; color: #C5D8D5; }
@media (max-width: 860px) { .tl-steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }

.scene--sound { min-height: 130vh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 4vw; }
.sound-copy h2 { font-weight: 300; font-size: clamp(40px, 5.4vw, 92px); line-height: 1; letter-spacing: -.03em; }
.sound-copy p { margin-top: 24px; color: #C5D8D5; max-width: 36ch; }
.btn-play { margin-top: 36px; display: inline-flex; align-items: center; gap: 14px; font-size: 17px; padding: 12px 26px 12px 12px; border-radius: 999px; background: var(--white); color: var(--ink); transition: transform .4s var(--ease); }
.btn-play-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); position: relative; }
.btn-play-icon::after { content: ""; position: absolute; left: 16px; top: 13px; border-left: 11px solid var(--mint); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.sound-wave { width: 100%; aspect-ratio: 1; }
@media (max-width: 860px) { .scene--sound { grid-template-columns: 1fr; align-content: center; } }

.scene--numbers { padding-top: 10vh; padding-bottom: 16vh; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2vw; }
.numbers li { border-top: 1px solid rgba(255,255,255,.2); padding-top: 22px; }
.numbers b { display: block; font-weight: 300; font-size: clamp(56px, 8vw, 140px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.numbers li:nth-child(1) b { color: var(--sun); } .numbers li:nth-child(2) b { color: var(--coral); } .numbers li:nth-child(3) b { color: var(--rose); } .numbers li:nth-child(4) b { color: var(--mint); }
.numbers span { display: block; margin-top: 12px; color: #C5D8D5; font-size: 15px; }
@media (max-width: 860px) { .numbers { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }

.scene--manifesto { min-height: 200vh; padding-top: 20vh; padding-bottom: 20vh; }
.manifesto { display: grid; gap: 4vh; }
.manifesto li { font-weight: 300; font-size: clamp(36px, 6.4vw, 112px); line-height: 1; letter-spacing: -.035em; opacity: .12; transform-origin: 0 50%; }
.manifesto li:last-child { color: var(--sun); }

.scene--clients { padding: 8vh 0; overflow: hidden; }
.marquee { white-space: nowrap; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); padding: 3vh 0; }
.marquee-track { display: inline-flex; align-items: center; gap: 4vw; will-change: transform; }
.marquee-track span { font-weight: 300; font-size: clamp(28px, 4vw, 64px); letter-spacing: -.02em; color: rgba(255,255,255,.75); }
.marquee-track i { width: 14px; height: 14px; border-left: 12px solid var(--sun); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

.scene--play { min-height: 140vh; display: grid; align-content: center; justify-items: start; padding-bottom: 20vh; }
.play-kicker { font-size: 15px; color: var(--mint); margin-bottom: 3vh; }
.play-title { font-weight: 300; font-size: clamp(64px, 14vw, 250px); line-height: .86; letter-spacing: -.045em; }
.btn-big { margin-top: 6vh; display: inline-flex; align-items: center; gap: 22px; padding: 22px 22px 22px 34px; border-radius: 999px; background: var(--sun); color: var(--ink); text-decoration: none; font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; transition: background .3s; }
.btn-big:hover { background: #FFC24A; }
.btn-big i { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); position: relative; }
.btn-big i::after { content: ""; position: absolute; left: 21px; top: 17px; border-left: 14px solid var(--sun); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }

.foot { position: relative; z-index: 10; background: var(--ink-2); padding: 12vh calc(var(--hud) + 44px) calc(var(--hud) + 60px); display: grid; grid-template-columns: auto 1fr; gap: 6vw; align-items: start; border-top: 1px solid rgba(255,255,255,.08); }
.foot-lockup { height: 180px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3vw; }
.foot-cols p { font-size: 15px; line-height: 1.8; color: #C5D8D5; }
.foot-cols b { display: block; font-weight: 500; color: var(--white); margin-bottom: 6px; }
.foot-cols a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }
.foot-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: repeat(2, 1fr); row-gap: 24px; } .foot-lockup { height: 130px; } }

/* Reveal helpers */
.reveal-up { opacity: 0; transform: translateY(24px); }
html.no-js .reveal-up, html.reduce .reveal-up { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .grain, .hud-rec i, .hero-cue i { animation: none; }
  .statement .wd, .manifesto li { opacity: 1 !important; }
}

/* Refinements from the first walk-through */
.layer { background: rgba(9, 27, 30, .94); }
.work-pin { padding-top: 22vh; }
.scrim { position: fixed; inset: 0; z-index: 5; pointer-events: none; opacity: 0; background: radial-gradient(120% 100% at 50% 50%, rgba(7,22,26,.62), rgba(7,22,26,.9)); }
.play-title { font-size: clamp(56px, 9.6vw, 176px); max-width: 7.5ch; }
@media (max-width: 860px) { .scene--play { align-content: end; padding-bottom: 22vh; } }

/* =========================================================
   Round two: no boxes. Everything floats in the film.
   ========================================================= */
.scene--layers { height: 520vh; }
.layers-pin { position: sticky; top: 0; height: 100vh; display: block; }
.layers-head { position: absolute; left: 0; top: 22vh; z-index: 2; }
.layers-kicker { font-size: 15px; color: var(--mint); margin-bottom: 14px; }
.layers-title { font-weight: 300; font-size: clamp(26px, 2.6vw, 42px); line-height: 1.05; letter-spacing: -.02em; }
.layers-depth { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.lyr { position: absolute; display: grid; justify-items: center; text-align: center; transform-origin: 50% 46%; will-change: transform, opacity, filter; }
.lyr-no { font-size: 14px; letter-spacing: .04em; color: var(--c); margin-bottom: 1vh; font-variant-numeric: tabular-nums; }
.lyr-word { font-weight: 300; font-size: clamp(84px, 17vw, 300px); line-height: .86; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--c); }
.lyr-body { margin-top: 3.4vh; display: grid; justify-items: center; gap: 16px; max-width: 44ch; }
.lyr-body p { color: #DDE9E6; font-size: clamp(16px, 1.3vw, 20px); }
.lyr-body ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; font-size: 14px; color: var(--muted); }
.lyr-body li { position: relative; padding-left: 14px; }
.lyr-body li::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--c); }
.layers-index { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 14px; font-size: 14px; text-align: right; }
.layers-index li { color: rgba(255,255,255,.3); transition: color .4s; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.layers-index li::after { content: ""; width: 18px; height: 1.5px; background: rgba(255,255,255,.25); transition: width .5s var(--ease), background .4s; }
.layers-index li.on { color: var(--white); }
.layers-index li.on::after { width: 44px; background: var(--c); }
@media (max-width: 860px) { .layers-head { top: 16vh; } .layers-index { display: none; } }

/* Scene 8: type, not buttons */
.cta { margin-top: 6vh; display: inline-flex; align-items: center; gap: clamp(16px, 2vw, 28px); text-decoration: none; font-weight: 300; font-size: clamp(30px, 4.2vw, 68px); letter-spacing: -.02em; line-height: 1; padding-bottom: 12px; background: linear-gradient(90deg, var(--sun), var(--rose), var(--mint)) 0 100% / 100% 2px no-repeat; transition: background-size .6s var(--ease), color .3s; }
.cta:hover { color: var(--sun); background-size: 0% 2px; background-position: 100% 100%; }
.cta-play { flex: none; width: 0; height: 0; border-left: clamp(20px, 2.4vw, 36px) solid var(--sun); border-top: clamp(12px, 1.4vw, 21px) solid transparent; border-bottom: clamp(12px, 1.4vw, 21px) solid transparent; transition: transform .5s var(--ease); }
.cta:hover .cta-play { transform: translateX(8px); }
.play-meta { margin-top: 5vh; display: flex; flex-wrap: wrap; gap: 8px 40px; font-size: 14px; color: var(--muted); }
.play-meta span::before { content: ""; display: inline-block; width: 18px; height: 1px; margin-right: 12px; vertical-align: middle; background: rgba(255,255,255,.35); }
.btn-play { background: none; color: var(--white); padding: 0; gap: 16px; }
.btn-play-icon { background: none; border: 1.5px solid rgba(255,255,255,.6); width: 52px; height: 52px; }
.btn-play-icon::after { left: 20px; top: 16px; border-left-color: var(--mint); }
.btn-play:hover .btn-play-icon { border-color: var(--mint); }
.marquee { border: 0; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.tl-head i { background: none; color: var(--white); padding: 0; bottom: 18px; }
.foot { background: transparent; border-top: 1px solid rgba(255,255,255,.12); }
.foot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent, rgba(7,22,26,.85) 40%); }
.layers-head { top: auto; bottom: 15vh; }
@media (max-width: 860px) { .layers-head { top: auto; bottom: 14vh; } }
.play-title { font-size: clamp(52px, 7.4vw, 136px); max-width: none; }
@media (min-width: 861px) { .scene--play > * { max-width: 50vw; } .play-meta { gap: 8px 28px; } }

/* Footer: the logo lands in the middle, details sit quietly below. No panels, no gradient. */
.foot { position: relative; z-index: 10; min-height: 100vh; height: 100vh; display: grid; grid-template-rows: 1fr auto auto; padding: 0 calc(var(--hud) + 44px) calc(var(--hud) + 52px); background: none; border: 0; gap: 0; }
.foot::before { display: none; }
.foot-stage { display: grid; place-items: center; }
.foot-lockup { height: min(40vh, 420px); width: auto; transform: translateY(-3vh); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 48px; font-size: 14px; color: #A9C4C0; }
.foot-bottom b { font-weight: 500; color: var(--white); margin-right: 10px; }
.foot-bottom a { text-decoration: none; color: #DDE9E6; transition: color .2s; }
.foot-bottom a:hover { color: var(--sun); }
.foot-top { margin-left: auto; }
.foot-top a { color: var(--white); }
.foot-note { margin-top: 18px; font-size: 12px; color: rgba(169,196,192,.6); }
@media (max-width: 860px) { .foot-bottom { gap: 10px 24px; font-size: 13px; } .foot-top { margin-left: 0; } .foot-lockup { height: 30vh; transform: translateY(-6vh); } }
.scene--resolve { min-height: 140vh; display: grid; align-items: end; justify-items: center; padding-bottom: 16vh; }
.resolve-cap { font-size: clamp(16px, 1.3vw, 19px); color: #C5D8D5; letter-spacing: .01em; }
/* The footer is one centred column: logo in the middle, details along the bottom. */
.foot { grid-template-columns: 1fr; align-items: stretch; }
.foot-stage { min-height: 0; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr; } }

/* Footer, round three: a calm stage for the logo, then four clear columns. */
.foot { min-height: 100vh; height: auto; grid-template-rows: 1fr auto auto; padding: 0 calc(var(--hud) + 44px) calc(var(--hud) + 56px); }
.foot-stage { display: grid; place-items: center; padding: 16vh 0 8vh; }
.foot-mark { position: relative; height: min(34vh, 360px); aspect-ratio: 387.8 / 589.2; }
.fm { position: absolute; inset: 0; width: 100%; height: 100%; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 32px 4vw; align-items: start; padding-bottom: 5vh; }
.fc-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.foot-cols p { font-size: 16px; line-height: 1.7; color: #E3EEEB; }
.foot-cols a { text-decoration: none; color: #E3EEEB; border-bottom: 1px solid rgba(255,255,255,.22); transition: color .2s, border-color .2s; }
.foot-cols a:hover { color: var(--sun); border-color: var(--sun); }
.fc-back { align-self: end; }
.fc-back a { display: inline-flex; align-items: center; gap: 12px; border: 0; font-size: 15px; color: var(--white); }
.fc-back i { width: 0; height: 0; border-bottom: 9px solid var(--sun); border-left: 6px solid transparent; border-right: 6px solid transparent; }
.foot-note { font-size: 12px; color: rgba(169,196,192,.65); margin-top: 0; }
@media (max-width: 860px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fc-back { grid-column: 1 / -1; } .foot-mark { height: 28vh; } }
@media (max-width: 1100px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } .fc-back { grid-column: 1 / -1; } }
.foot-stage { padding: 10vh 0 6vh; }
.foot-mark { height: min(30vh, 340px); }
.hud-cross { display: none; }

/* Skip link: visible only when focused from the keyboard. */
.skip { position: fixed; left: 16px; top: 16px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 15px; text-decoration: none; transform: translateY(-200%); transition: transform .2s; }
.skip:focus-visible { transform: none; }

/* Language switch: English pages offer عربي, Arabic pages offer English. It leads the right-hand group of the top bar. */
.top-lang { margin-inline-start: auto; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--muted); transition: color .2s, transform .6s var(--ease); }
.top-lang svg { display: block; }
.top-lang:hover { transform: rotate(-20deg); }
.top-lang:hover, .top-lang:focus-visible { color: var(--white); }
.top-lang + .top-sound { margin-left: 0; margin-inline-start: 0; }
@media (max-width: 700px) { .hero-cue { display: none; } }

/* Opening: the corner logo sits above the loading cover so the rings can land in it. */
html.intro .top { z-index: 65; }
