:root {
  --navy: #031a32;
  --navy-2: #08243f;
  --paper: #f4f8fc;
  --white: #ffffff;
  --ink: #0a2034;
  --blue: #8dccff;
  --lime: #4dabf7;
  --coral: #1769b0;
  --line: rgba(3, 26, 50, .17);
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  background-image: linear-gradient(rgba(3,26,50,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(3,26,50,.045) 1px, transparent 1px);
  background-size: 64px 64px;
}
body::selection { color: var(--navy); background: var(--lime); }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
section[id] { scroll-margin-top: 78px; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  padding: .8rem 1rem; background: var(--lime); color: var(--navy);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed; z-index: 50; inset: 0 0 auto;
  height: var(--header-h); padding: 0 clamp(1rem, 3.4vw, 3.8rem);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  color: var(--white); border-bottom: 1px solid rgba(255,255,255,.18);
  transition: height .35s ease, background .35s ease, backdrop-filter .35s ease;
}
.site-header.is-scrolled {
  height: 68px; background: rgba(3, 26, 50, .88); backdrop-filter: blur(14px);
}
.brand { display: inline-flex; width: max-content; align-items: center; gap: .7rem; text-transform: uppercase; letter-spacing: .05em; font-size: .77rem; font-weight: 800; }
.brand img { width: 43px; height: 43px; border-radius: 50%; }
.brand b { font-weight: 400; opacity: .72; }
.desktop-nav { display: flex; gap: clamp(1.3rem, 3vw, 3rem); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.desktop-nav a { position: relative; padding: 1rem 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .65rem; height: 1px; background: var(--lime); transition: right .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.header-cta { justify-self: end; display: flex; align-items: center; gap: 1rem; padding: .75rem .9rem .75rem 1.15rem; border: 1px solid rgba(255,255,255,.45); border-radius: 100px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; transition: color .25s, background .25s; }
.header-cta span { display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: var(--lime); color: var(--navy); }
.header-cta:hover { background: var(--white); color: var(--navy); }

.story { height: 520vh; background: var(--navy); }
.story-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; color: var(--white); background: var(--navy); isolation: isolate; }
.story-video { position: absolute; z-index: -4; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; transform: scale(1.035); filter: saturate(.82) contrast(1.05); }
.story-wash { position: absolute; z-index: -3; inset: 0; background: linear-gradient(90deg, rgba(3,26,50,.84) 0%, rgba(3,26,50,.37) 48%, rgba(3,26,50,.62) 100%), linear-gradient(0deg, rgba(3,26,50,.48), transparent 45%); }
.story-grid { position: absolute; z-index: -2; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 9vw 9vw; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); }
.drawing-register { position: absolute; z-index: 2; display: flex; color: rgba(255,255,255,.58); font-size: .54rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.drawing-register--top { top: calc(var(--header-h) + 1.7rem); right: clamp(1.25rem, 3vw, 3.5rem); border: 1px solid rgba(255,255,255,.3); }
.drawing-register--top span { padding: .45rem .65rem; border-left: 1px solid rgba(255,255,255,.3); }
.drawing-register--top span:first-child { border-left: 0; color: var(--lime); }
.drawing-register--side { right: clamp(.4rem, 1.2vw, 1.25rem); top: 28%; height: 38%; flex-direction: column; align-items: center; justify-content: space-between; writing-mode: vertical-rl; }
.drawing-register--side i { width: 1px; flex: 1; margin: .7rem 0; background: rgba(255,255,255,.3); }
.story-kicker { position: absolute; top: calc(var(--header-h) + 2rem); left: clamp(1.25rem, 6vw, 7rem); margin: 0; opacity: .75; }
.eyebrow { display: flex; align-items: center; gap: .75rem; font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .17em; }
.eyebrow::before { content: ""; width: 1.8rem; height: 2px; background: currentColor; }
.media-loader { position: absolute; z-index: 10; inset: 0; display: flex; align-items: center; justify-content: center; gap: .8rem; color: var(--white); background: var(--navy); text-transform: uppercase; letter-spacing: .14em; font-size: .67rem; transition: opacity .5s ease, visibility .5s ease; }
.media-loader span { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 1s ease infinite; }
.media-loader.is-hidden { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { transform: scale(1.8); opacity: .45; } }

.chapters { position: absolute; inset: 0; }
.chapter { position: absolute; top: 50%; left: clamp(1.25rem, 8vw, 9rem); width: min(660px, 76vw); transform: translateY(-45%); opacity: 0; pointer-events: none; will-change: transform, opacity; }
.chapter--right { left: auto; right: clamp(1.25rem, 8vw, 9rem); text-align: right; }
.chapter--right .chapter-index, .chapter--right p { margin-left: auto; }
.chapter-index { width: max-content; margin: 0 0 1.1rem; padding: .4rem .75rem; border: 1px solid rgba(255,255,255,.5); border-radius: 100px; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.chapter h1, .chapter h2 { margin: 0; font-size: clamp(3.8rem, 8.5vw, 9.6rem); line-height: .82; letter-spacing: -.075em; text-transform: uppercase; font-stretch: condensed; }
.chapter h2 { font-size: clamp(3.3rem, 7.4vw, 8.4rem); }
.chapter h1 em, .chapter h2 em { color: var(--lime); font-family: Georgia, "Times New Roman", serif; font-weight: 400; text-transform: none; letter-spacing: -.05em; }
.chapter > p:not(.chapter-index) { max-width: 33rem; margin-top: 1.8rem; font-size: clamp(.95rem, 1.4vw, 1.2rem); line-height: 1.55; }
.text-link { pointer-events: auto; display: inline-flex; align-items: center; gap: 1rem; margin-top: 1rem; padding-bottom: .45rem; border-bottom: 1px solid currentColor; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }

.story-progress { position: absolute; right: clamp(1rem, 3vw, 3rem); bottom: 2rem; width: min(290px, 30vw); }
.story-progress__line { height: 2px; background: rgba(255,255,255,.28); overflow: hidden; }
.story-progress__line span { display: block; width: 100%; height: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; }
.story-progress ol { display: flex; justify-content: space-between; margin: .65rem 0 0; padding: 0; list-style: none; font-size: .56rem; text-transform: uppercase; letter-spacing: .12em; }
.story-progress li { opacity: .4; transition: opacity .2s, color .2s; }
.story-progress li.is-active { color: var(--lime); opacity: 1; }
.scroll-cue { position: absolute; left: clamp(1.25rem, 3vw, 3.5rem); bottom: 2rem; display: flex; align-items: center; gap: 1rem; font-size: .6rem; text-transform: uppercase; letter-spacing: .14em; }
.scroll-cue i { display: block; position: relative; width: 48px; height: 1px; background: rgba(255,255,255,.4); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--lime); animation: cue 1.8s ease-in-out infinite; transform: translateX(-100%); }
@keyframes cue { 55%,100% { transform: translateX(100%); } }

.section-shell { width: min(1440px, calc(100% - clamp(2rem, 8vw, 8rem))); margin-inline: auto; }
.architectural-section { position: relative; }
.architectural-section::after { content: ""; position: absolute; pointer-events: none; inset: 2rem 0 auto; height: 12px; background: repeating-linear-gradient(90deg, transparent 0 calc(8.333% - 1px), rgba(3,26,50,.24) calc(8.333% - 1px) 8.333%); border-top: 1px solid rgba(3,26,50,.24); }
.architectural-section--dark::after { background: repeating-linear-gradient(90deg, transparent 0 calc(8.333% - 1px), rgba(255,255,255,.2) calc(8.333% - 1px) 8.333%); border-color: rgba(255,255,255,.2); }
.manifesto { position: relative; display: grid; grid-template-columns: 1.5fr .5fr; gap: 8vw; padding-block: clamp(8rem, 16vw, 15rem); }
.section-number { position: absolute; z-index: -1; left: -5vw; top: 8%; color: rgba(3,26,50,.055); font-size: clamp(10rem, 25vw, 28rem); line-height: 1; font-weight: 900; letter-spacing: -.1em; }
.manifesto-copy h2, .section-heading h2, .process-intro h2 { margin: 1.8rem 0 0; font-size: clamp(3.2rem, 6.7vw, 7.5rem); line-height: .93; letter-spacing: -.065em; }
.manifesto-copy { position: relative; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.manifesto-copy::after { content: attr(data-plate); position: absolute; right: 0; top: .55rem; font-size: .55rem; font-weight: 800; letter-spacing: .15em; }
.manifesto-copy h2 em, .process-intro h2 em, .contact h2 em { color: var(--coral); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.manifesto-aside { align-self: end; max-width: 25rem; }
.manifesto-aside > p { font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.spec-panel { position: relative; padding: 2.5rem 1.5rem 1.5rem; border: 1px solid var(--line); background: rgba(244,248,252,.82); backdrop-filter: blur(8px); }
.spec-panel::before, .spec-panel::after { content: "+"; position: absolute; color: rgba(3,26,50,.45); font-size: 1rem; line-height: 1; }
.spec-panel::before { left: -.42rem; top: -.58rem; }
.spec-panel::after { right: -.42rem; bottom: -.58rem; }
.spec-panel__label { position: absolute; top: .7rem; left: 1.5rem; font-size: .54rem; font-weight: 800; letter-spacing: .16em; }
.round-link { position: relative; display: block; width: 9rem; height: 9rem; margin-top: 3rem; padding: 1.3rem; border: 1px solid var(--ink); border-radius: 50%; font-size: .58rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; transition: color .3s, background .3s, transform .3s; }
.round-link img { position: absolute; left: 50%; top: 48%; width: 4.35rem; height: 4.35rem; transform: translate(-50%, -50%); clip-path: inset(2px round 25%); }
.round-link b { position: absolute; right: 1.1rem; top: .85rem; font-size: 1.3rem; }
.round-link:hover { color: var(--paper); background: var(--navy); transform: rotate(8deg); }

.services { padding-bottom: clamp(8rem, 14vw, 14rem); }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; margin-bottom: clamp(3rem, 7vw, 6rem); }
.section-heading .eyebrow { flex-basis: 100%; }
.section-heading h2 { font-size: clamp(3.4rem, 7vw, 7.5rem); }
.heading-note { align-self: end; margin: 0 0 .8rem; color: rgba(3,26,50,.55); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.service-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.2rem; }
.service-card { position: relative; min-height: 420px; padding: clamp(1.6rem, 3vw, 3rem); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,.35); will-change: transform, opacity; }
.service-card::before { content: attr(data-sheet); position: absolute; top: 1rem; left: 50%; font-size: .52rem; font-weight: 800; letter-spacing: .16em; opacity: .55; }
.service-card::after { content: ""; position: absolute; inset: 12px; border: 1px solid currentColor; opacity: .13; pointer-events: none; }
.service-card--accent { background: #dcecf8; border-color: rgba(3,26,50,.35); }
.service-card--dark { color: var(--white); background: var(--navy); border-color: var(--navy); }
.service-card--media { min-height: 600px; color: var(--white); grid-row: span 2; }
.service-card--media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-card--media > .card-number { margin-top: 2rem; }
.media-card-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,26,50,.85), transparent 65%); }
.media-scrub { position: absolute !important; z-index: 3 !important; left: 1.5rem; right: 1.5rem; top: 1.5rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .65rem; color: var(--white); font-size: .5rem; font-weight: 800; letter-spacing: .12em; }
.media-scrub i { height: 2px; background: linear-gradient(90deg, var(--lime) calc(var(--media-progress, 0) * 100%), rgba(255,255,255,.35) 0); }
.media-scrub--project { top: 1.2rem; bottom: auto; }
.service-card > *:not(video):not(.media-card-overlay) { position: relative; z-index: 1; }
.card-number { font-size: .64rem; font-weight: 800; letter-spacing: .15em; }
.service-card h3 { max-width: 12ch; margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 4.4rem); line-height: .9; letter-spacing: -.055em; }
.service-card p { max-width: 29rem; margin: 0; }
.card-arrow { position: absolute; top: 2rem; right: 2rem; font-size: 1.6rem; }

.process { color: var(--white); background-color: var(--navy); background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 64px 64px; padding-block: clamp(8rem, 14vw, 13rem); }
.process-intro { margin-bottom: 6rem; }
.process-intro h2 em { color: var(--lime); }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.25); }
.process-list article { min-height: 360px; padding: 2rem 1.4rem; border-right: 1px solid rgba(255,255,255,.25); will-change: transform, opacity; }
.process-list article:first-child { border-left: 1px solid rgba(255,255,255,.25); }
.process-list span { color: var(--lime); font-size: .65rem; letter-spacing: .15em; }
.process-list h3 { margin: 7rem 0 1rem; font-size: clamp(1.8rem, 3vw, 3.5rem); letter-spacing: -.05em; }
.process-list p { color: rgba(255,255,255,.66); font-size: .92rem; }

.possibilities { padding-block: clamp(8rem, 14vw, 14rem); }
.project { position: relative; overflow: hidden; min-height: 420px; background: var(--navy-2); will-change: transform, opacity; }
.project::after { content: "+"; position: absolute; z-index: 3; right: .65rem; top: .35rem; color: var(--lime); font-size: 1.3rem; }
.project > img, .project > video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.project:hover > img, .project:hover > video { transform: scale(1.035); }
.project--wide { aspect-ratio: 16 / 8.5; }
.project-pair { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.2rem; margin-top: 1.2rem; }
.project-pair > * { min-width: 0; }
.project--video { aspect-ratio: 4 / 5; }
.project--landscape { aspect-ratio: auto; }
.project-caption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.6rem; color: var(--white); background: linear-gradient(0deg, rgba(3,26,50,.9), transparent); text-transform: uppercase; font-size: .66rem; letter-spacing: .12em; }
.project-caption b { font-weight: 800; }

.contact { position: relative; min-height: 100svh; padding: 10rem clamp(1.5rem, 7vw, 7rem) 4rem; display: flex; flex-direction: column; justify-content: center; overflow: hidden; color: var(--white); background: var(--coral); }
.contact::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px); background-size: 8vw 8vw; }
.contact-content { position: relative; z-index: 2; }
.contact h2 { margin: 1.5rem 0 3rem; font-size: clamp(4rem, 10.5vw, 11rem); line-height: .82; letter-spacing: -.075em; text-transform: uppercase; }
.contact h2 em { color: var(--navy); text-transform: none; }
.contact-button { display: flex; align-items: center; justify-content: space-between; width: min(100%, 430px); padding: .85rem .85rem .85rem 1.5rem; border: 1px solid currentColor; border-radius: 100px; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; transition: color .25s, background .25s; }
.contact-button b { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; color: var(--white); background: var(--navy); font-size: 1.3rem; }
.contact-button:hover { color: var(--navy); background: var(--white); }
.contact-orbit { position: absolute; right: -11vw; top: 3%; width: min(45vw, 650px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; }
.contact-orbit::before, .contact-orbit::after { content: ""; position: absolute; border-radius: 50%; border: inherit; }
.contact-orbit::before { inset: 15%; }
.contact-orbit::after { inset: 35%; background: var(--lime); border: 0; }
.contact-number { position: absolute; right: 4rem; bottom: 2rem; margin: 0; font-size: .68rem; font-weight: 800; letter-spacing: .14em; }

.site-footer { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 4rem; align-items: start; padding: 5rem clamp(1.5rem, 7vw, 7rem) 2rem; color: var(--white); background: var(--navy); }
.footer-brand { display: flex; align-items: center; gap: 1rem; font-weight: 800; text-transform: uppercase; }
.footer-brand img { border-radius: 50%; }
.site-footer > p { max-width: 35rem; margin: 0; color: rgba(255,255,255,.62); }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.footer-social-link { display: inline-flex; align-items: center; gap: .55rem; }
.footer-social-link img { width: 1.55rem; height: 1.55rem; clip-path: inset(1px round 25%); }
.site-footer small { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.45); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }

.whatsapp-fab { position: fixed; z-index: 45; right: 1.25rem; bottom: 1.25rem; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--lime); color: var(--navy); box-shadow: 0 10px 35px rgba(3,26,50,.25); transition: transform .25s; }
.whatsapp-fab:hover { transform: rotate(-8deg) scale(1.08); }
.whatsapp-fab svg { width: 1.65rem; fill: currentColor; }

[data-scroll-animate] { opacity: var(--motion-opacity, 0); transform: translate3d(calc(var(--motion-x, 0) * 1px), calc(var(--motion-y, 0) * 1px), 0); will-change: transform, opacity; }

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .story { height: 460vh; }
  .story-video { object-position: 50% center; }
  .chapter, .chapter--right { top: 55%; left: 1.25rem; right: auto; width: calc(100% - 2.5rem); text-align: left; }
  .chapter--right .chapter-index, .chapter--right p { margin-left: 0; }
  .chapter h1, .chapter h2 { font-size: clamp(3.15rem, 14vw, 6rem); }
  .story-progress { left: 1.25rem; right: 1.25rem; width: auto; bottom: 1.4rem; }
  .scroll-cue { display: none; }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto-aside { max-width: 35rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card--media { min-height: 650px; grid-row: auto; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list article:nth-child(3) { border-left: 1px solid rgba(255,255,255,.25); }
  .project-pair { grid-template-columns: 1fr; }
  .project--landscape { aspect-ratio: 16 / 10; }
  .project { width: 100%; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 560px) {
  .brand span { font-size: .68rem; }
  .header-cta { padding: .55rem; }
  .header-cta > span { width: 1.9rem; height: 1.9rem; }
  .header-cta { font-size: 0; }
  .header-cta > span { font-size: .9rem; }
  .story-video { object-position: 42% center; transform: none; }
  .story-wash { background: linear-gradient(0deg, rgba(3,26,50,.84), rgba(3,26,50,.18) 75%, rgba(3,26,50,.5)); }
  .story-grid { background-size: 20vw 20vw; }
  .drawing-register--side { display: none; }
  .story-kicker { right: 1rem; font-size: .55rem; }
  .chapter { top: 56%; }
  .chapter > p:not(.chapter-index) { max-width: 29rem; font-size: .92rem; }
  .manifesto, .services, .possibilities { width: calc(100% - 2rem); }
  .manifesto-copy h2, .section-heading h2, .process-intro h2 { font-size: clamp(2.8rem, 13vw, 4.8rem); }
  .service-card { min-height: 370px; }
  .service-card--media { min-height: 570px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list article, .process-list article:nth-child(3) { min-height: 270px; border-left: 1px solid rgba(255,255,255,.25); }
  .process-list h3 { margin-top: 4rem; }
  .project--wide { aspect-ratio: 4 / 5; }
  .project--wide img { object-position: 37% center; }
  .contact { min-height: 90svh; padding-inline: 1.25rem; }
  .contact h2 { font-size: clamp(3.3rem, 16vw, 6rem); }
  .contact-number { left: 1.25rem; right: auto; }
  .site-footer { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer > p { grid-column: auto; grid-row: auto; }
  .footer-links { align-items: flex-start; }
  .whatsapp-fab { width: 3.25rem; height: 3.25rem; }
  [data-scroll-animate] { --motion-x: 0 !important; }
}
