:root {
  --ink: #04101d;
  --ink-2: #071827;
  --ink-3: #0b2236;
  --brand-blue: #004da0;
  --brand-blue-deep: #00499c;
  --brand-purple: #2e1d7b;
  --brand-purple-deep: #281674;
  --brand-sky: #3187c6;
  --cyan: #28c6f7;
  --cyan-deep: #037fae;
  --cyan-soft: #a7eaff;
  --paper: #f2f1ec;
  --paper-2: #e9e9e3;
  --white: #fbfdff;
  --muted-dark: #56626d;
  --line-dark: rgba(255,255,255,.16);
  --line-light: rgba(4,16,29,.18);
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: "Manrope", Arial, sans-serif;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --header-h: 72px;
  --shell: min(1440px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body::selection { color: var(--ink); background: var(--cyan); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
h1, h2, h3, p, figure, dl, dd { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 500; top: 12px; left: 12px; padding: 12px 16px; color: var(--ink); background: var(--white); transform: translateY(-160%); transition: transform 180ms var(--ease-out); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; box-shadow: 0 0 0 6px var(--cyan-deep); }
.section-shell { width: var(--shell); margin-inline: auto; }

/* Navigation */
.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header-h); display: grid; grid-template-columns: 196px 1fr 204px; align-items: center; padding: 0 28px; color: var(--white); background: rgba(4,16,29,.92); border-bottom: 1px solid var(--line-dark); backdrop-filter: blur(12px); transition: background-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out); }
.site-header.is-scrolled { background: rgba(4,16,29,.96); box-shadow: 0 16px 48px rgba(0,0,0,.2); }
.brand-mini { width: 184px; height: 44px; display: block; overflow: hidden; }
.brand-mini img { width: 174px; max-width: none; height: auto; opacity: .96; filter: brightness(0) invert(1); transform: translateY(-19px); }
.site-header nav { display: flex; justify-content: center; gap: clamp(20px, 2.8vw, 48px); }
.site-header nav a, .header-cta { font-size: .69rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.site-header nav a { position: relative; padding: 27px 0 24px; color: rgba(255,255,255,.7); transition: color 180ms ease; }
.site-header nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--brand-sky); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--white); }
.site-header nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { justify-self: end; display: flex; gap: 14px; align-items: center; padding: 11px 15px; color: var(--white); background: var(--brand-blue); transition: transform 200ms var(--ease-out), background-color 180ms ease; }
.menu-toggle { display: none; }

/* Brand-first hero */
.hero { position: relative; min-height: 100svh; overflow: hidden; color: var(--ink); background: var(--paper); isolation: isolate; }
.hero-ambient { position: absolute; z-index: -2; inset: 0; pointer-events: none; background: radial-gradient(ellipse 58% 44% at 50% 24%, rgba(49,135,198,.12), transparent 68%), radial-gradient(ellipse 34% 30% at 44% 18%, rgba(46,29,123,.08), transparent 72%); }
.hero-ambient::after { content: ""; position: absolute; right: -14%; bottom: -42%; width: 64vw; aspect-ratio: 1; border: 1px solid rgba(0,77,160,.12); border-radius: 50%; box-shadow: 0 0 120px rgba(0,77,160,.06); }
.hero-brand-echo { position: absolute; z-index: -1; inset: var(--header-h) 0 auto; height: min(50svh, 440px); overflow: hidden; pointer-events: none; font-family: var(--display); font-size: clamp(10rem, 20vw, 21rem); line-height: .76; letter-spacing: -.035em; text-transform: uppercase; }
.hero-brand-echo span { position: absolute; color: rgba(0,77,160,.055); white-space: nowrap; }
.hero-brand-echo span:first-child { top: .12em; left: -.035em; }
.hero-brand-echo span:last-child { right: -.025em; bottom: -.02em; color: rgba(46,29,123,.05); }
.hero-shell { width: var(--shell); min-height: 100svh; margin: 0 auto; padding: calc(var(--header-h) + 16px) 0 30px; display: grid; grid-template-rows: min(50svh, 440px) auto; gap: clamp(18px, 2vw, 30px); align-content: start; }
.hero-brand-stage { align-self: center; justify-self: center; display: grid; place-items: center; gap: 14px; width: min(940px, 88vw); padding-top: 0; }
.hero-brand-stage::after { content: ""; width: min(320px, 48vw); height: 1px; background: linear-gradient(90deg, transparent, rgba(0,77,160,.72), transparent); transform: scaleX(.3); opacity: 0; animation: brand-rule 1000ms var(--ease-out) 720ms forwards; }
.hero-brand-stage p { margin: 0; color: rgba(4,16,29,.68); font-size: .64rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; animation: rise-in 720ms var(--ease-out) 480ms backwards; }
.hero-logo { width: auto; height: min(58svh, 550px); max-width: min(920px, 82vw); filter: brightness(1.08) saturate(1.08) drop-shadow(0 28px 54px rgba(0,77,160,.13)); transform: scale(1.1); animation: logo-arrive 1250ms var(--ease-out) 100ms backwards; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 8vw; align-items: end; }
.hero h1 { max-width: 18ch; margin: 0; font-family: var(--display); font-size: clamp(3.9rem, 6.3vw, 6rem); font-weight: 400; line-height: .86; letter-spacing: -.025em; text-transform: uppercase; }
.tone-phrase > span { display: block; color: var(--tone-final, var(--ink)); }
.motion-ready .tone-phrase > span { animation: tone-arrive 1960ms var(--ease-out) calc(660ms + var(--tone-delay)) both; }
.hero-intro { padding: 20px 0 4px; border-top: 1px solid rgba(4,16,29,.22); animation: rise-in 900ms var(--ease-out) 1420ms backwards; }
.hero-intro p { max-width: 44ch; margin-bottom: 25px; color: #3f4c56; font-size: .92rem; line-height: 1.75; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 22px; color: var(--ink); font-size: .63rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.text-link span { color: var(--brand-blue); font-size: 1rem; }

/* Shared motion and type */
.reveal { transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out), filter 760ms var(--ease-out); }
.motion-ready .reveal { opacity: 0; transform: translateY(24px); filter: blur(4px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.chromatic-copy { margin: 0; font-family: var(--display); font-size: clamp(3.8rem, 6.2vw, 6rem); font-weight: 400; line-height: .88; letter-spacing: -.025em; text-transform: uppercase; }
.chromatic-copy > span { display: block; color: var(--ink); }
.motion-ready .chromatic-copy[data-chromatic] > span { color: #7a858d; opacity: .72; transform: translateY(18px); clip-path: inset(-0.3em 100% 0 0); }
.chromatic-copy.is-visible > span { animation: chromatic-light 1140ms var(--ease-out) var(--word-delay) forwards; }
.chromatic-copy-light > span { color: var(--white); }
.motion-ready .chromatic-copy-light[data-chromatic] > span { color: rgba(255,255,255,.34); }
.chromatic-copy-light.is-visible > span { animation-name: chromatic-dark; }

/* About */
.about { padding: clamp(116px, 14vw, 210px) 0 clamp(100px, 12vw, 180px); color: var(--white); background: var(--ink); }
.about-grid { display: grid; grid-template-columns: 100px minmax(0, 1.3fr) minmax(280px, .55fr); gap: clamp(32px, 5vw, 86px); align-items: end; }
.section-route { align-self: stretch; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 16px; padding-top: 8px; color: rgba(255,255,255,.56); font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; }
.section-route i { width: 1px; height: 100%; min-height: 90px; background: var(--line-dark); }
.about-copy h2 { max-width: 18ch; }
.about-lead { max-width: 58ch; margin: 34px 0 0; color: rgba(255,255,255,.78); font-size: 1.02rem; line-height: 1.8; }
.about-evidence { align-self: end; padding: 30px 0 0; border-top: 1px solid var(--line-dark); }
.about-evidence p { max-width: 46ch; color: rgba(255,255,255,.66); font-size: .9rem; line-height: 1.8; }
.about-evidence p:last-child { margin-bottom: 0; }
.process-flow { margin-top: clamp(90px, 11vw, 160px); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-top: 1px solid var(--line-dark); }
.process-flow li { position: relative; min-height: 360px; padding: 30px 30px 30px 0; border-right: 1px solid var(--line-dark); }
.process-flow li + li { padding-left: 28px; }
.process-flow li:last-child { border-right: 0; }
.process-flow li::before { content: ""; position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-sky); }
.process-step::after { content: ""; position: absolute; inset: 18px 18px 22px 0; border-top: 1px solid rgba(49,135,198,.46); border-right: 1px solid rgba(49,135,198,.26); opacity: .18; transform: scaleX(.16); transform-origin: left top; }
.process-flow .process-title { display: block; margin-top: 22px; font-family: var(--display); font-size: clamp(2.1rem, 3vw, 3rem); line-height: .95; text-transform: uppercase; }
.process-flow p { position: relative; z-index: 1; max-width: 33ch; margin: 38px 0 0; color: rgba(255,255,255,.65); font-size: .82rem; line-height: 1.72; }
.process-flow p strong { color: rgba(255,255,255,.92); font-weight: 600; }
.process-icon { position: relative; z-index: 1; display: grid; width: 58px; height: 58px; place-items: center; color: var(--brand-sky); }
.process-icon i { position: relative; display: block; color: inherit; }
.process-icon-observe i { width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 64% 0 64% 0; transform: rotate(45deg); }
.process-icon-observe i::after { content: ""; position: absolute; top: 12px; left: 12px; width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 50%; }
.process-icon-visualize i { width: 34px; height: 34px; border: 1px solid currentColor; }
.process-icon-visualize i::before { content: ""; position: absolute; inset: 7px; border: 1px solid currentColor; }
.process-icon-visualize i::after { content: ""; position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; background: var(--ink); border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
.process-icon-resolve i { width: 36px; height: 36px; border: 1px solid currentColor; border-radius: 50%; }
.process-icon-resolve i::before, .process-icon-resolve i::after { content: ""; position: absolute; top: 50%; left: 50%; background: currentColor; transform: translate(-50%, -50%); }
.process-icon-resolve i::before { width: 1px; height: 46px; }
.process-icon-resolve i::after { width: 46px; height: 1px; }
.process-icon-build i { width: 36px; height: 36px; border-bottom: 1px solid currentColor; border-left: 1px solid currentColor; }
.process-icon-build i::before { content: ""; position: absolute; top: -6px; right: -6px; width: 25px; height: 18px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; }
.motion-ready .process-step.reveal { opacity: 1; transform: none; filter: none; }
.motion-ready .process-step .process-icon, .motion-ready .process-step .process-title, .motion-ready .process-step p { opacity: 0; transform: translateY(14px); }
.process-step.is-visible::after { animation: process-frame 800ms var(--ease-out) calc(var(--step-delay) + 80ms) forwards; }
.process-step.is-visible .process-icon { animation: process-item 680ms var(--ease-out) calc(var(--step-delay) + 180ms) forwards; }
.process-step.is-visible .process-title { animation: process-item 680ms var(--ease-out) calc(var(--step-delay) + 260ms) forwards; }
.process-step.is-visible p { animation: process-item 680ms var(--ease-out) calc(var(--step-delay) + 340ms) forwards; }

/* Services */
.services { padding: clamp(116px, 14vw, 200px) 0; color: var(--ink); background: var(--paper); }
.services-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .55fr); gap: 10vw; align-items: end; margin-bottom: clamp(84px, 10vw, 140px); }
.services-intro h2 { max-width: 12ch; }
.services-intro > p { max-width: 48ch; margin: 0 0 8px; color: #3f4c56; font-size: .92rem; line-height: 1.8; }
.services .chromatic-copy > span:last-child { color: var(--brand-blue); }
.services .chromatic-copy.is-visible > span:last-child { animation-name: chromatic-light-brand; }
.service-list { overflow: hidden; border-top: 1px solid var(--line-light); }
.service-row { display: grid; grid-template-columns: 58px minmax(280px, .95fr) minmax(280px, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: 154px; border-bottom: 1px solid var(--line-light); }
.service-index { color: var(--brand-blue); font-size: .68rem; font-weight: 700; letter-spacing: .14em; }
.service-row h3 { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 3.3vw, 3.65rem); font-weight: 400; line-height: .96; text-transform: uppercase; }
.service-copy-card { --service-shift: -72px; position: relative; isolation: isolate; width: 100%; max-width: 62ch; padding: 22px 26px; }
.service-row:nth-child(even) .service-copy-card { --service-shift: 72px; }
.service-copy-card::before { content: ""; position: absolute; z-index: -2; inset: 0; background: rgba(0,77,160,.055); }
.service-copy-card::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(var(--brand-sky),var(--brand-sky)) left top / 16px 1px no-repeat, linear-gradient(var(--brand-sky),var(--brand-sky)) left top / 1px 16px no-repeat, linear-gradient(var(--brand-sky),var(--brand-sky)) right top / 16px 1px no-repeat, linear-gradient(var(--brand-sky),var(--brand-sky)) right top / 1px 16px no-repeat, linear-gradient(var(--brand-sky),var(--brand-sky)) left bottom / 16px 1px no-repeat, linear-gradient(var(--brand-sky),var(--brand-sky)) left bottom / 1px 16px no-repeat, linear-gradient(var(--brand-sky),var(--brand-sky)) right bottom / 16px 1px no-repeat, linear-gradient(var(--brand-sky),var(--brand-sky)) right bottom / 1px 16px no-repeat; }
.service-row p { max-width: 58ch; margin: 0; color: #4e5a63; font-size: .88rem; line-height: 1.74; }
.service-row p strong, .service-deep-link { color: var(--brand-blue-deep); font-weight: 600; }
.service-deep-link { position: relative; display: inline; text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color 180ms ease, text-decoration-color 180ms ease; }
.service-deep-link span { display: inline-block; margin-left: .3em; font-size: .76em; transition: transform 220ms var(--ease-out); }
.motion-ready .service-row.reveal { opacity: 1; transform: none; filter: none; }
.motion-ready .service-copy-card { opacity: 0; transform: translateX(var(--service-shift)); clip-path: inset(0 100% 0 0); }
.motion-ready .service-row:nth-child(even) .service-copy-card { clip-path: inset(0 0 0 100%); }
.motion-ready .service-copy-card::before { transform: scaleX(.18); transform-origin: left; }
.motion-ready .service-row:nth-child(even) .service-copy-card::before { transform-origin: right; }
.motion-ready .service-row p { color: #7a858d; opacity: 0; transform: translateY(8px); }
.motion-ready .service-row p strong, .motion-ready .service-deep-link { color: #7a858d; }
.service-row.is-visible .service-copy-card { animation: service-card-enter 2500ms var(--ease-out) 90ms both; }
.service-row.is-visible .service-copy-card::before { animation: service-panel-build 2380ms var(--ease-out) 170ms both; }
.service-row.is-visible p { animation: service-copy-reveal 2650ms var(--ease-out) 330ms both; }
.service-row.is-visible p strong, .service-row.is-visible .service-deep-link { animation: service-accent-reveal 2650ms var(--ease-out) 470ms both; }
.services-archive-bridge { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 6vw, 94px); align-items: end; margin-top: clamp(64px, 8vw, 112px); padding-top: clamp(30px, 4vw, 48px); border-top: 1px solid var(--line-light); }
.services-archive-bridge h3 { margin: 0 0 12px; font-family: var(--display); font-size: clamp(2.5rem, 4vw, 4.35rem); font-weight: 400; line-height: .92; text-transform: uppercase; }
.services-archive-bridge p { max-width: 64ch; margin: 0; color: #4e5a63; font-size: .88rem; line-height: 1.74; }
.services-archive-bridge a { display: inline-flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 34px; padding: 14px 17px; color: var(--white); background: var(--brand-blue); font-size: .65rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; transition: transform 200ms var(--ease-out), background-color 180ms ease; }
.services-archive-bridge a span { color: var(--cyan-soft); font-size: 1rem; }

@media (hover: hover) and (pointer: fine) {
  .service-deep-link:hover { color: var(--brand-blue); text-decoration-color: currentColor; }
  .service-deep-link:hover span { transform: translate(3px, -3px); }
  .services-archive-bridge a:hover { background: var(--ink); transform: translateY(-2px); }
}

/* Project theatre */
.projects { padding: clamp(116px, 14vw, 200px) 0; color: var(--white); background: #020a12; }
.projects-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .55fr); gap: 10vw; align-items: end; margin-bottom: clamp(80px, 9vw, 130px); }
.projects-heading h2 { max-width: 12ch; }
.projects-heading > p { max-width: 43ch; margin: 0 0 8px; color: rgba(255,255,255,.68); font-size: .92rem; line-height: 1.8; }
.project-showcase { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(320px, .38fr); height: min(700px, calc(100svh - var(--header-h) - 36px)); min-height: 560px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.project-showcase > * { min-height: 0; }
.project-media { position: relative; min-height: 0; height: 100%; overflow: hidden; padding: 14px 14px 34px; background: #171c22; border: 1px solid rgba(255,255,255,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), inset 0 -22px 34px rgba(0,0,0,.48), 0 28px 68px rgba(0,0,0,.28); cursor: grab; touch-action: pan-y; user-select: none; }
.project-media::before { content: ""; position: absolute; z-index: 8; left: 50%; bottom: 13px; width: 56px; height: 3px; background: rgba(255,255,255,.2); border-radius: 999px; transform: translateX(-50%); }
.project-media::after { content: ""; position: absolute; z-index: 8; right: 25px; bottom: 12px; width: 5px; height: 5px; background: var(--brand-sky); border-radius: 50%; box-shadow: 0 0 12px rgba(49,135,198,.8); }
.project-media.is-dragging { cursor: grabbing; }
.project-boot { position: absolute; z-index: 20; inset: 14px 14px 34px; display: grid; place-content: center; justify-items: center; gap: 20px; overflow: hidden; color: var(--ink); background: #d9dcdd; pointer-events: auto; }
.project-boot::after { content: ""; position: absolute; inset: -30% -10%; background: linear-gradient(105deg, transparent 36%, rgba(255,255,255,.62) 48%, transparent 61%); transform: translateX(-100%); }
.project-boot-scan { position: absolute; inset: 0; opacity: .2; background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(4,16,29,.09) 4px); }
.project-boot img { position: relative; z-index: 2; width: min(330px, 46%); height: auto; filter: grayscale(1) contrast(.9); }
.project-boot small { position: relative; z-index: 2; color: rgba(4,16,29,.6); font-size: .55rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.project-media.is-booting .project-boot { animation: project-tv-boot 1500ms var(--ease-out) both; }
.project-media.is-booting .project-boot::after { animation: project-tv-scan 1500ms var(--ease-in-out) both; }
.project-media.is-booting .project-boot img { animation: project-tv-logo 1500ms var(--ease-out) both; }
.project-media.is-ready .project-boot { visibility: hidden; opacity: 0; pointer-events: none; }
.project-scene { position: absolute; inset: 14px 14px 34px; margin: 0; overflow: hidden; opacity: 0; transform: scale(1.035); pointer-events: none; transition: opacity 620ms var(--ease-in-out), transform 1000ms var(--ease-out); }
.project-scene.is-active { z-index: 2; opacity: 1; transform: scale(1); pointer-events: auto; }
.project-media.is-dragging .project-scene.is-active { transition: none; }
.project-scene img { width: 100%; height: 100%; object-fit: cover; }
.project-scene[data-project-scene="mega-before"] img { object-position: center 50%; }
.project-scene[data-project-scene="mega-after"] img { object-position: center 52%; }
.project-scene[data-project-scene="olympo"] img { object-position: center 56%; }
.project-scene[data-project-scene="imperio"] img { object-position: center 46%; }
.project-scene[data-project-scene="emporium"] img { object-position: center 50%; }
.project-scene[data-project-scene="venezuela"] img { object-position: center 52%; }
.project-scene.is-active[data-camera] img { will-change: transform; }
.project-scene.is-active[data-camera="forward"] img { animation: project-camera-forward 9s var(--ease-out) forwards; }
.project-scene.is-active[data-camera="left"] img { animation: project-camera-left 9s var(--ease-out) forwards; }
.project-scene.is-active[data-camera="right"] img { animation: project-camera-right 9s var(--ease-out) forwards; }
.project-scene.is-active[data-camera="up"] img { animation: project-camera-up 9s var(--ease-out) forwards; }
.project-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,10,18,.72), transparent 40%); }
.project-media-status { position: absolute; z-index: 4; inset: auto 38px 58px; display: flex; justify-content: space-between; gap: 24px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.42); color: var(--white); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.project-media-status span:first-child { color: var(--cyan-soft); }
.project-arrow { position: absolute; z-index: 6; top: 50%; width: 44px; height: 44px; padding: 0; color: var(--white); background: rgba(4,16,29,.78); border: 1px solid rgba(255,255,255,.38); cursor: pointer; transform: translateY(-50%); transition: color 180ms ease, background-color 180ms ease, transform 160ms var(--ease-out); }
.project-arrow::before { content: ""; position: absolute; top: 15px; width: 11px; height: 11px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; }
.project-arrow-prev { left: 16px; }
.project-arrow-prev::before { left: 17px; transform: rotate(-135deg); }
.project-arrow-next { right: 16px; }
.project-arrow-next::before { right: 17px; transform: rotate(45deg); }
.project-arrow:active { transform: translateY(-50%) scale(.96); }
.project-frame-nav { position: absolute; z-index: 6; left: 50%; bottom: 104px; display: flex; gap: 7px; transform: translateX(-50%); }
.project-frame-nav button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; cursor: pointer; }
.project-frame-nav button::before { content: ""; display: block; width: 38px; height: 2px; background: rgba(255,255,255,.5); transform: scaleX(.36); transition: background-color 180ms ease, transform 240ms var(--ease-in-out); }
.project-frame-nav button.is-active::before { background: var(--cyan); transform: scaleX(1); }
.project-console { min-height: 0; overflow: hidden; padding: 30px 24px 24px; display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid var(--line-dark); }
.project-description { position: relative; isolation: isolate; display: flex; flex: 1; flex-direction: column; justify-content: center; min-height: 400px; padding: 36px 18px; overflow: hidden; }
.project-description::before { content: ""; position: absolute; z-index: -1; inset: 14px 0; opacity: .7; background: linear-gradient(var(--cyan),var(--cyan)) 0 0/34px 1px no-repeat, linear-gradient(var(--cyan),var(--cyan)) 0 0/1px 34px no-repeat, linear-gradient(var(--cyan),var(--cyan)) 100% 0/34px 1px no-repeat, linear-gradient(var(--cyan),var(--cyan)) 100% 0/1px 34px no-repeat, linear-gradient(var(--cyan),var(--cyan)) 0 100%/34px 1px no-repeat, linear-gradient(var(--cyan),var(--cyan)) 0 100%/1px 34px no-repeat, linear-gradient(var(--cyan),var(--cyan)) 100% 100%/34px 1px no-repeat, linear-gradient(var(--cyan),var(--cyan)) 100% 100%/1px 34px no-repeat; }
.project-description::after { content: attr(data-ambient); position: absolute; z-index: -2; left: -4px; top: 50%; color: rgba(49,135,198,.075); font-family: var(--display); font-size: clamp(5.6rem, 7.8vw, 8.7rem); line-height: .75; letter-spacing: -.035em; text-transform: uppercase; white-space: nowrap; transform: translateY(-50%); }
.project-description.is-changing::before { animation: project-frame-reveal 760ms var(--ease-out) both; }
.project-description.is-changing::after { animation: project-ambient-reveal 900ms var(--ease-out) 80ms both; }
.project-description.is-changing .project-frame-label { animation: project-copy-reveal 520ms var(--ease-out) 80ms both; }
.project-description.is-changing h3 { animation: project-copy-reveal 640ms var(--ease-out) 150ms both; }
.project-description.is-changing p { animation: project-copy-reveal 640ms var(--ease-out) 240ms both; }
.project-description.is-changing .project-meta { animation: project-copy-reveal 540ms var(--ease-out) 330ms both; }
.project-frame-label { margin-bottom: 18px; color: var(--cyan); font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.project-description h3 { margin: 0 0 20px; font-family: var(--display); font-size: clamp(3.4rem, 5vw, 5.6rem); font-weight: 400; line-height: .88; text-transform: uppercase; }
.project-description p { max-width: 38ch; color: rgba(255,255,255,.68); font-size: .88rem; line-height: 1.75; }
.project-meta { color: rgba(255,255,255,.82); font-size: .61rem; font-weight: 700; letter-spacing: .12em; line-height: 1.55; text-transform: uppercase; }
.project-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 14px; margin-top: 24px; }
.project-tab { min-width: 0; min-height: 74px; padding: 15px 0 8px; display: grid; grid-template-columns: 12px 1fr; gap: 7px 6px; align-content: start; color: rgba(255,255,255,.5); background: transparent; border: 0; border-top: 1px solid var(--line-dark); cursor: pointer; text-align: left; transition: color 180ms ease, border-color 180ms ease; }
.project-tab i { display: block; width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 50%; }
.project-tab span { overflow: hidden; font-size: .59rem; font-weight: 700; letter-spacing: .1em; text-overflow: ellipsis; text-transform: uppercase; }
.project-tab small { grid-column: 2; color: rgba(255,255,255,.36); font-size: .52rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.project-tab.is-active { color: var(--cyan); border-color: var(--cyan); }
.project-tab.is-active i { background: var(--cyan); }
.project-tab.is-active small { color: rgba(167,234,255,.68); }

/* Mega evidence inside projects */
.mega-case { padding-top: clamp(96px, 11vw, 150px); }
.case-divider { display: grid; justify-items: center; gap: 30px; margin-bottom: clamp(76px, 9vw, 120px); text-align: center; }
.case-divider-line { position: relative; display: block; width: 1px; height: 88px; background: rgba(255,255,255,.26); }
.case-divider-line::before, .case-divider-line::after { content: ""; position: absolute; left: 50%; width: 7px; height: 7px; background: var(--brand-sky); border-radius: 50%; transform: translateX(-50%); }
.case-divider-line::before { top: -3px; }
.case-divider-line::after { bottom: -3px; }
.case-divider-copy.chromatic-copy { max-width: 18ch; margin: 0; font-family: var(--display); font-size: clamp(2.8rem, 4.8vw, 5.2rem); font-weight: 400; line-height: .9; letter-spacing: -.02em; text-transform: uppercase; }
.case-divider-line-bottom { height: 72px; }
.mega-case-copy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .55fr); gap: 9vw; align-items: start; margin-bottom: 64px; }
.mega-case-copy h3 { max-width: 10ch; margin: 0; font-family: var(--display); font-size: clamp(3.8rem, 5.8vw, 6rem); font-weight: 400; line-height: .88; text-transform: uppercase; }
.mega-case-context > p { max-width: 50ch; margin: 0; color: rgba(255,255,255,.69); font-size: .9rem; line-height: 1.78; }
.mega-case-copy dl { margin: 26px 0 0; border-top: 1px solid var(--line-dark); }
.mega-case-copy dl div { display: grid; grid-template-columns: 125px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line-dark); }
.mega-case-copy dt { color: rgba(255,255,255,.48); font-size: .61rem; font-weight: 700; letter-spacing: .1em; line-height: 1.45; text-transform: uppercase; }
.mega-case-copy dd { margin: 0; color: var(--white); font-size: .72rem; line-height: 1.55; }
.day-night-auto { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(340px, .5fr); gap: clamp(40px, 4.5vw, 68px); align-items: center; }
.day-night-auto > * { min-width: 0; }
.day-night-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.day-night-frame::after { content: ""; position: absolute; z-index: 3; inset: -4% -18%; background: linear-gradient(110deg, transparent 35%, rgba(40,198,247,.18) 54%, transparent 73%); opacity: 0; transform: translateX(-24%); transition: opacity 500ms var(--ease-out), transform 1800ms var(--ease-in-out); pointer-events: none; }
.day-night-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1800ms var(--ease-in-out), transform 2200ms var(--ease-out), filter 1800ms var(--ease-in-out); }
.day-night-frame .day-layer { z-index: 1; object-position: 50% 46%; }
.day-night-frame .night-layer { z-index: 2; opacity: 0; transform: scale(1.035); filter: saturate(.82) brightness(.82); object-position: center; }
.day-night-auto.is-transitioning .day-night-frame::after { opacity: .9; transform: translateX(24%); }
.day-night-auto.is-transitioning .day-night-frame img { will-change: opacity, transform, filter; }
.day-night-auto.is-night .night-layer { opacity: 1; transform: scale(1.012); filter: saturate(1) brightness(1); }
.day-night-auto.is-night .day-layer { transform: scale(1.022); filter: brightness(.62); }
.day-night-auto.is-settled .night-layer { animation: night-camera-settle 9s var(--ease-out) forwards; }
.day-night-label { position: absolute; z-index: 4; left: 22px; bottom: 22px; padding: 11px 13px; color: var(--white); background: rgba(4,16,29,.9); font-size: .61rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.day-night-control { position: absolute; z-index: 4; right: 22px; bottom: 22px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(242,241,236,.52); color: var(--white); background: rgba(4,16,29,.86); font: 700 .61rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease; }
.day-night-control:focus-visible { outline: 2px solid var(--brand-sky); outline-offset: 3px; }
.day-night-control:disabled { cursor: wait; opacity: .52; }
@media (hover: hover) and (pointer: fine) {
  .day-night-control:not(:disabled):hover { border-color: var(--brand-sky); background: var(--brand-blue); }
}
.day-night-note { align-self: stretch; display: grid; align-content: center; margin: 0; }
.day-night-insight { padding: 24px clamp(0px, 1vw, 16px) 28px 0; border-top: 1px solid var(--line-dark); }
.day-night-insight:last-child { border-bottom: 1px solid var(--line-dark); }
.day-night-note strong { display: block; max-width: 100%; margin-bottom: 16px; color: var(--white); font-size: 1rem; line-height: 1.55; overflow-wrap: break-word; }
.day-night-note p { max-width: 42ch; margin: 0; color: rgba(255,255,255,.66); font-size: .86rem; line-height: 1.76; overflow-wrap: break-word; }
.case-sequence { margin-top: clamp(88px, 9vw, 130px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; overflow: hidden; }
.case-sequence figure { position: relative; margin: 0; }
.case-sequence figure > div { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.case-sequence img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.case-sequence figure:nth-child(2) img { filter: saturate(.88) contrast(1.05); }
.case-sequence figcaption { position: relative; min-height: 230px; padding: 18px 0 0; border-top: 1px solid var(--line-dark); }
.case-sequence figure:not(:last-child) figcaption::before { content: ""; position: absolute; top: -1px; right: -22px; width: 22px; height: 1px; background: var(--line-dark); }
.case-sequence figure:not(:last-child) figcaption::after { content: ""; position: absolute; top: -4px; right: -20px; width: 6px; height: 6px; border-top: 1px solid var(--brand-sky); border-right: 1px solid var(--brand-sky); transform: rotate(45deg); }
.case-sequence figcaption span { color: var(--brand-sky); font-size: .61rem; font-weight: 700; letter-spacing: .14em; }
.case-sequence figcaption h4 { max-width: 11ch; margin: 18px 0 20px; font-family: var(--display); font-size: clamp(2.35rem, 3.5vw, 3.8rem); font-weight: 400; line-height: .92; text-transform: uppercase; }
.case-sequence figcaption p { max-width: 43ch; margin: 0; color: rgba(255,255,255,.64); font-size: .78rem; line-height: 1.68; }
.motion-ready .case-sequence figure.reveal { opacity: 1; transform: none; filter: none; }
.motion-ready .case-sequence figcaption { --case-shift: -64px; opacity: 0; transform: translateX(var(--case-shift)); clip-path: inset(0 100% 0 0); }
.motion-ready .case-sequence figure:nth-child(even) figcaption { --case-shift: 64px; clip-path: inset(0 0 0 100%); }
.case-sequence figure.is-visible figcaption { animation: case-caption-enter-left 1500ms var(--ease-out) 120ms both; }
.case-sequence figure:nth-child(even).is-visible figcaption { animation-name: case-caption-enter-right; }

/* Method */
.method { padding: clamp(120px, 15vw, 220px) 0; background: var(--paper); }
.method-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr); gap: clamp(64px, 7vw, 108px); }
.method-grid > *, .method-points, .method-point { min-width: 0; }
.method-copy { align-self: start; position: sticky; top: calc(var(--header-h) + 48px); }
.method-copy h2 { max-width: 15ch; }
.method-copy > p { max-width: 62ch; margin: 36px 0 0; color: var(--muted-dark); font-size: .92rem; line-height: 1.8; }
.method .chromatic-copy > span:last-child { color: var(--brand-blue); }
.method .chromatic-copy.is-visible > span:last-child { animation-name: chromatic-light-brand; }
.method-points { border-top: 1px solid var(--line-light); }
.method-point { position: relative; isolation: isolate; min-height: 260px; padding: 38px 28px 42px; overflow: hidden; border-bottom: 1px solid var(--line-light); }
.method-point::after { content: attr(data-ambient); position: absolute; z-index: -2; left: 12px; bottom: -8px; color: rgba(0,77,160,.055); font-family: var(--display); font-size: clamp(5.4rem, 7vw, 8rem); line-height: .76; text-transform: uppercase; white-space: nowrap; }
.method-corners { position: absolute; z-index: -1; inset: 18px 0; background: linear-gradient(var(--brand-sky),var(--brand-sky)) 0 0/28px 1px no-repeat, linear-gradient(var(--brand-sky),var(--brand-sky)) 0 0/1px 28px no-repeat, linear-gradient(var(--brand-sky),var(--brand-sky)) 100% 100%/28px 1px no-repeat, linear-gradient(var(--brand-sky),var(--brand-sky)) 100% 100%/1px 28px no-repeat; pointer-events: none; }
.method-points h3 { position: relative; z-index: 1; max-width: 13.5ch; margin: 0 0 42px; padding-right: 6px; font-family: var(--display); font-size: clamp(2.5rem, 3.5vw, 3.9rem); font-weight: 400; line-height: .94; text-transform: uppercase; text-wrap: balance; }
.method-points p { position: relative; z-index: 1; width: 100%; max-width: 54ch; margin: 0; color: #45535e; font-size: .88rem; line-height: 1.76; overflow-wrap: break-word; }
.motion-ready .method-point.reveal { opacity: 1; transform: none; filter: none; }
.motion-ready .method-point .method-corners { opacity: 0; clip-path: inset(0 100% 100% 0); }
.motion-ready .method-point::after, .motion-ready .method-point h3, .motion-ready .method-point p { opacity: 0; transform: translateY(18px); }
.method-point.is-visible .method-corners { animation: method-frame-reveal 820ms var(--ease-out) var(--method-delay) both; }
.method-point.is-visible::after { animation: method-copy-reveal 820ms var(--ease-out) calc(var(--method-delay) + 80ms) both; }
.method-point.is-visible h3 { animation: method-copy-reveal 680ms var(--ease-out) calc(var(--method-delay) + 150ms) both; }
.method-point.is-visible p { animation: method-copy-reveal 720ms var(--ease-out) calc(var(--method-delay) + 260ms) both; }

/* Contact */
.contact { position: relative; min-height: 92svh; padding: clamp(120px, 14vw, 200px) 0 30px; overflow: hidden; color: var(--white); background: var(--ink); }
.contact-mark { position: absolute; right: -5vw; top: 48%; width: min(780px, 55vw); opacity: .2; transform: translateY(-50%); filter: grayscale(1) brightness(2.25); pointer-events: none; }
.contact-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(390px, .75fr); gap: clamp(64px, 7vw, 108px); align-items: end; }
.contact-layout > *, .contact-aside, .contact-start, .contact-start li { min-width: 0; }
.contact-copy h2 { max-width: 11ch; }
.contact-copy > p { max-width: 58ch; margin: 38px 0 34px; color: rgba(255,255,255,.7); font-size: .94rem; line-height: 1.82; }
.contact-action { display: inline-flex; justify-content: space-between; align-items: center; width: min(100%, 390px); padding: 18px; color: var(--ink); background: var(--cyan); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: transform 240ms var(--ease-out), background-color 180ms ease; }
.contact-copy small { display: block; max-width: 390px; margin-top: 14px; color: rgba(255,255,255,.58); font-size: .68rem; line-height: 1.55; }
.contact-aside { align-self: end; }
.contact-aside h3 { width: 100%; max-width: 12ch; margin: 0 0 26px; font-family: var(--display); font-size: clamp(2.5rem, 3.4vw, 3.8rem); font-weight: 400; line-height: .92; text-transform: uppercase; text-wrap: balance; overflow-wrap: break-word; }
.contact-start { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); counter-reset: start-step; }
.contact-start li { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 16px 0 18px; border-bottom: 1px solid var(--line-dark); counter-increment: start-step; }
.contact-start strong { display: flex; min-width: 0; align-items: center; gap: 10px; color: var(--white); font-size: .71rem; line-height: 1.5; overflow-wrap: break-word; }
.contact-start strong::before { content: counter(start-step, decimal-leading-zero); color: var(--cyan); font-size: .55rem; letter-spacing: .1em; }
.contact-start span { width: 100%; max-width: 48ch; color: rgba(255,255,255,.64); font-size: .72rem; line-height: 1.65; overflow-wrap: break-word; }
.contact-scope { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 26px; border-top: 1px solid var(--line-dark); }
.contact-scope span { padding: 12px 0; color: rgba(255,255,255,.72); border-bottom: 1px solid var(--line-dark); font-size: .61rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.site-footer { position: relative; z-index: 2; margin-top: 120px; padding-top: 20px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; color: rgba(255,255,255,.62); border-top: 1px solid var(--line-dark); font-size: .62rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.site-footer span:nth-child(2) { text-align: center; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; }

/* States */
@media (hover:hover) and (pointer:fine) {
  .site-header nav a:hover::after { transform: scaleX(1); }
  .header-cta:hover, .contact-action:hover { background: var(--white); transform: translateY(-2px); }
  .project-tab:hover { color: var(--white); border-color: rgba(255,255,255,.6); }
  .project-arrow:hover { color: var(--ink); background: var(--white); }
  .case-sequence figure:hover img { transform: scale(1.025); }
}

@keyframes rise-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes logo-arrive { from { opacity: 0; transform: scale(.96); filter: blur(12px); } to { opacity: 1; transform: scale(1.1); filter: blur(0); } }
@keyframes brand-rule { to { opacity: 1; transform: scaleX(1); } }
@keyframes tone-arrive {
  0% { color: rgba(4,16,29,.2); clip-path: inset(0 100% 0 0); transform: translateY(18px); }
  24% { color: rgba(4,16,29,.46); clip-path: inset(0 0 0 0); transform: translateY(0); }
  48% { color: var(--tone-accent, var(--brand-sky)); clip-path: inset(0 0 0 0); transform: translateY(0); }
  72% { color: var(--tone-accent, var(--brand-sky)); clip-path: inset(0 0 0 0); transform: translateY(0); }
  100% { color: var(--tone-final, var(--white)); clip-path: inset(0 0 0 0); transform: translateY(0); }
}
@keyframes chromatic-light {
  0% { color: #7a858d; opacity: .72; clip-path: inset(-0.3em 100% 0 0); transform: translateY(18px); }
  52% { color: var(--cyan-deep); opacity: 1; clip-path: inset(-0.3em 0 0 0); transform: translateY(0); }
  100% { color: var(--ink); opacity: 1; clip-path: inset(-0.3em 0 0 0); transform: translateY(0); }
}
@keyframes chromatic-light-brand {
  0% { color: #7a858d; opacity: .72; clip-path: inset(-0.3em 100% 0 0); transform: translateY(18px); }
  52% { color: var(--brand-purple); opacity: 1; clip-path: inset(-0.3em 0 0 0); transform: translateY(0); }
  100% { color: var(--brand-blue); opacity: 1; clip-path: inset(-0.3em 0 0 0); transform: translateY(0); }
}
@keyframes chromatic-dark {
  0% { color: rgba(255,255,255,.34); opacity: .72; clip-path: inset(-0.3em 100% 0 0); transform: translateY(18px); }
  52% { color: var(--cyan); opacity: 1; clip-path: inset(-0.3em 0 0 0); transform: translateY(0); }
  100% { color: var(--white); opacity: 1; clip-path: inset(-0.3em 0 0 0); transform: translateY(0); }
}
@keyframes process-frame {
  from { opacity: .18; transform: scaleX(.16); }
  to { opacity: 1; transform: scaleX(1); }
}
@keyframes process-item {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes project-tv-boot {
  0%, 68% { visibility: visible; opacity: 1; }
  100% { visibility: hidden; opacity: 0; }
}
@keyframes project-tv-logo {
  0% { opacity: 0; transform: scale(.94); filter: grayscale(1) blur(8px); }
  24%, 68% { opacity: 1; transform: scale(1); filter: grayscale(1) blur(0); }
  100% { opacity: 0; transform: scale(1.025); filter: grayscale(1) blur(5px); }
}
@keyframes project-tv-scan {
  0% { transform: translateX(-105%); }
  100% { transform: translateX(105%); }
}
@keyframes service-card-enter {
  0% { opacity: 0; transform: translateX(var(--service-shift)); clip-path: inset(0 100% 0 0); }
  18% { opacity: 1; }
  100% { opacity: 1; transform: translateX(0); clip-path: inset(0); }
}
.service-row:nth-child(even) .service-copy-card { animation-name: service-card-enter-right; }
@keyframes service-card-enter-right {
  0% { opacity: 0; transform: translateX(var(--service-shift)); clip-path: inset(0 0 0 100%); }
  18% { opacity: 1; }
  100% { opacity: 1; transform: translateX(0); clip-path: inset(0); }
}
@keyframes service-panel-build {
  from { transform: scaleX(.18); opacity: .2; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes service-copy-reveal {
  0% { color: #7a858d; opacity: 0; transform: translateY(8px); }
  38% { color: var(--brand-sky); opacity: 1; transform: translateY(0); }
  68% { color: var(--brand-sky); opacity: 1; transform: translateY(0); }
  100% { color: #4e5a63; opacity: 1; transform: translateY(0); }
}
@keyframes service-accent-reveal {
  0% { color: #7a858d; }
  48% { color: var(--brand-sky); }
  100% { color: var(--brand-blue-deep); }
}
@keyframes case-caption-enter-left {
  0% { opacity: 0; transform: translateX(-64px); clip-path: inset(0 100% 0 0); }
  18% { opacity: 1; }
  100% { opacity: 1; transform: translateX(0); clip-path: inset(0); }
}
@keyframes case-caption-enter-right {
  0% { opacity: 0; transform: translateX(64px); clip-path: inset(0 0 0 100%); }
  18% { opacity: 1; }
  100% { opacity: 1; transform: translateX(0); clip-path: inset(0); }
}
@keyframes project-frame-reveal {
  from { opacity: 0; clip-path: inset(0 100% 100% 0); }
  to { opacity: .7; clip-path: inset(0); }
}
@keyframes project-ambient-reveal {
  from { opacity: 0; transform: translateY(-44%) scale(.98); }
  to { opacity: 1; transform: translateY(-50%) scale(1); }
}
@keyframes project-copy-reveal {
  from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(15px); }
  to { opacity: 1; clip-path: inset(0); transform: translateY(0); }
}
@keyframes method-frame-reveal {
  from { opacity: 0; clip-path: inset(0 100% 100% 0); }
  to { opacity: 1; clip-path: inset(0); }
}
@keyframes method-copy-reveal {
  from { opacity: 0; transform: translateY(18px); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: translateY(0); clip-path: inset(0); }
}
@keyframes project-camera-forward {
  from { transform: scale(1.015); }
  to { transform: scale(1.075); }
}
@keyframes project-camera-left {
  from { transform: scale(1.035) translateX(0); }
  to { transform: scale(1.075) translateX(-1.25%); }
}
@keyframes project-camera-right {
  from { transform: scale(1.035) translateX(0); }
  to { transform: scale(1.075) translateX(1.25%); }
}
@keyframes project-camera-up {
  from { transform: scale(1.025) translateY(0); }
  to { transform: scale(1.065) translateY(-1.1%); }
}
@keyframes night-camera-settle {
  from { transform: scale(1.012) translateX(0); }
  to { transform: scale(1.055) translateX(-.8%); }
}

@media (max-width: 1040px) {
  .project-showcase { grid-template-columns: minmax(0, 1.42fr) minmax(280px, .58fr); }
  .project-media { min-height: 0; }
  .project-console { padding: 28px 24px 24px; }
  .project-description h3 { font-size: 4.2rem; }
}

@media (max-width: 1120px) and (min-width: 901px) {
  .method-grid, .contact-layout { grid-template-columns: 1fr; gap: 72px; }
  .method-copy { position: static; }
  .contact-aside { width: min(100%, 620px); margin-left: auto; }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 40px, 720px); --header-h: 64px; }
  .site-header { grid-template-columns: 1fr auto; padding: 0 20px; }
  .brand-mini { width: 154px; height: 44px; }
  .brand-mini img { width: 148px; transform: translateY(-16.2px); }
  .site-header nav, .header-cta { display: none; }
  .menu-toggle { display: grid; gap: 5px; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line-dark); background: transparent; }
  .menu-toggle span:not(.sr-only) { display: block; height: 1px; background: currentColor; }
  .menu-open .site-header nav { position: fixed; inset: var(--header-h) 0 auto; max-height: calc(100svh - var(--header-h)); overflow-y: auto; display: flex; flex-direction: column; gap: 0; padding: 24px 20px 30px; color: var(--white); background: rgba(4,16,29,.98); border-bottom: 1px solid var(--line-dark); }
  .menu-open .site-header nav a { padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
  .hero-shell { padding-bottom: 32px; }
  .hero-brand-stage { width: min(740px, 90vw); }
  .hero-logo { width: auto; height: min(48svh, 390px); max-width: min(700px, 82vw); }
  .hero-bottom, .services-intro, .projects-heading, .mega-case-copy, .contact-layout, .services-archive-bridge { grid-template-columns: 1fr; gap: 34px; }
  .services-archive-bridge a { justify-self: start; }
  .hero-intro { width: min(100%, 520px); }
  .about-grid { grid-template-columns: 42px 1fr; }
  .about-evidence { grid-column: 2; }
  .process-flow { grid-template-columns: repeat(2, 1fr); }
  .process-flow li:nth-child(2) { border-right: 0; }
  .process-flow li:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .service-row { grid-template-columns: 42px minmax(240px, .82fr) 1fr; gap: 18px; }
  .project-showcase { grid-template-columns: 1fr; height: auto; min-height: auto; }
  .project-media { height: min(76vw, 620px); min-height: 0; }
  .project-console { min-height: 460px; border-top: 1px solid var(--line-dark); border-left: 0; }
  .project-description { justify-content: center; }
  .project-description h3 { font-size: clamp(3.4rem, 9vw, 5rem); }
  .day-night-auto { grid-template-columns: 1fr; }
  .day-night-note { padding-right: 0; }
  .day-night-note p { max-width: 58ch; }
  .method-grid { grid-template-columns: 1fr; gap: 84px; }
  .method-copy { position: static; }
  .contact-aside { margin-top: 32px; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 36px); }
  .hero-shell { padding-top: calc(var(--header-h) + 12px); grid-template-rows: min(40svh, 310px) auto; gap: 18px; }
  .hero-brand-stage { width: 100%; padding: 10px 0 0; gap: 12px; }
  .hero-brand-stage p { font-size: .52rem; letter-spacing: .14em; }
  .hero-logo { width: auto; height: min(40svh, 300px); max-width: 90vw; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 4.65rem); }
  .hero-intro { padding-top: 14px; }
  .hero-intro p { margin-bottom: 17px; font-size: .82rem; line-height: 1.65; }
  .chromatic-copy { font-size: clamp(3.5rem, 16vw, 5rem); }
  .about { padding-top: 100px; }
  .about-grid { grid-template-columns: 1fr; }
  .section-route { display: none; }
  .about-evidence { grid-column: auto; }
  .about-lead { font-size: .92rem; }
  .process-flow { grid-template-columns: 1fr; }
  .process-flow li, .process-flow li + li { min-height: auto; padding: 28px 0 38px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .process-step::after { inset: 18px 0 22px 0; }
  .process-flow p { max-width: 44ch; margin-top: 30px; }
  .services, .projects, .method, .contact { padding-top: 100px; padding-bottom: 100px; }
  .services-intro, .projects-heading { margin-bottom: 72px; }
  .service-row { grid-template-columns: 28px 1fr; padding: 26px 0; }
  .service-copy-card { --service-shift: -34px; grid-column: 2; padding: 18px 20px; }
  .service-row:nth-child(even) .service-copy-card { --service-shift: 34px; }
  .service-row h3 { font-size: 2.45rem; }
  .services-archive-bridge a { width: 100%; }
  .project-media { height: auto; min-height: 0; max-height: none; aspect-ratio: 4 / 5; padding: 10px 10px 30px; }
  .project-boot, .project-scene { inset: 10px 10px 30px; }
  .project-media-status { inset: auto 24px 48px; font-size: .55rem; }
  .project-arrow { top: 46%; width: 44px; height: 44px; }
  .project-arrow::before { top: 15px; }
  .project-arrow-prev { left: 12px; }
  .project-arrow-next { right: 12px; }
  .project-arrow-prev::before { left: 17px; }
  .project-arrow-next::before { right: 17px; }
  .project-frame-nav { bottom: 76px; gap: 2px; }
  .project-frame-nav button::before { width: 28px; }
  .project-console { min-height: 480px; padding: 22px 16px 18px; }
  .project-description { min-height: 330px; padding: 30px 14px; }
  .project-description::after { font-size: 5.2rem; }
  .project-description h3 { font-size: 3.8rem; }
  .project-description p { font-size: .82rem; }
  .project-tab small { display: none; }
  .mega-case { padding-top: 92px; }
  .case-divider { margin-bottom: 76px; }
  .mega-case-copy { grid-template-columns: 1fr; gap: 38px; }
  .mega-case-copy h3 { font-size: 4.1rem; }
  .day-night-label { left: 14px; bottom: 14px; max-width: calc(100% - 138px); }
  .day-night-control { right: 14px; bottom: 14px; padding-inline: 13px; }
  .case-sequence { grid-template-columns: 1fr; gap: 56px; }
  .case-sequence figure > div { aspect-ratio: 4 / 3; }
  .case-sequence figcaption { min-height: auto; padding-bottom: 20px; }
  .case-sequence figure:not(:last-child) figcaption::before, .case-sequence figure:not(:last-child) figcaption::after { display: none; }
  .method-point { min-height: auto; padding: 34px 20px 40px; }
  .method-points h3 { margin-bottom: 34px; }
  .contact-mark { width: 84vw; right: -28vw; }
  .contact-scope { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; margin-top: 90px; }
  .site-footer span:nth-child(2) { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-ready .reveal, .motion-ready .chromatic-copy[data-chromatic] > span { opacity: 1; transform: none; filter: none; clip-path: none; }
  .motion-ready .chromatic-copy[data-chromatic] > span { color: var(--ink); }
  .motion-ready .chromatic-copy-light[data-chromatic] > span { color: var(--white); }
  .motion-ready .services .chromatic-copy[data-chromatic] > span:last-child { color: var(--brand-blue); }
  .motion-ready .process-step .process-icon, .motion-ready .process-step .process-title, .motion-ready .process-step p { opacity: 1; transform: none; }
  .motion-ready .service-copy-card, .motion-ready .service-copy-card::before { opacity: 1; transform: none; clip-path: none; }
  .motion-ready .service-row p { color: #4e5a63; opacity: 1; transform: none; clip-path: none; }
  .motion-ready .service-row p strong, .motion-ready .service-deep-link { color: var(--brand-blue-deep); }
  .process-step::after { opacity: 1; transform: scaleX(1); }
  .hero-logo, .hero-brand-stage::after, .hero-brand-stage p, .tone-phrase > span, .hero-intro, .chromatic-copy.is-visible > span, .process-step.is-visible::after, .process-step.is-visible .process-icon, .process-step.is-visible .process-title, .process-step.is-visible p, .service-row.is-visible .service-copy-card, .service-row.is-visible .service-copy-card::before, .service-row.is-visible p, .service-row.is-visible p strong, .service-row.is-visible .service-deep-link { animation: none !important; }
  .project-boot { display: none; }
  .project-scene, .project-description, .project-arrow, .project-frame-nav button::before, .day-night-frame img, .day-night-frame::after, .day-night-control, .case-sequence img, .header-cta, .contact-action { transition: none !important; }
  .project-scene img, .project-description::before, .project-description::after, .project-description > *, .case-sequence figcaption, .method-point::after, .method-point .method-corners, .method-point h3, .method-point p, .day-night-auto.is-settled .night-layer { animation: none !important; opacity: 1; transform: none; clip-path: none; }
}
.contact-copy small a { text-decoration: underline; text-underline-offset: 3px; }
