:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-blue: #e9edff;
  --ink: #101827;
  --ink-soft: #273247;
  --muted: #667085;
  --line: rgba(16, 24, 39, 0.16);
  --line-soft: rgba(16, 24, 39, 0.09);
  --blue: #2f56ff;
  --blue-dark: #203bc1;
  --white: #f8fafc;
  --body: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page-pad: clamp(1.2rem, 4vw, 5rem);
  --content-width: 1320px;
  --radius: 1.25rem;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { min-width: 0; max-width: 100%; margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); }
main { min-width: 0; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
::selection { background: var(--blue); color: var(--white); }

.shell { width: min(100%, var(--content-width)); margin-inline: auto; padding-inline: var(--page-pad); }
.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .75rem 1rem; transform: translateY(-180%); background: var(--ink); color: var(--white); transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }
.header-sentinel { position: absolute; top: 1px; left: 0; width: 1px; height: 1px; pointer-events: none; }
.landing-progress { position: fixed; z-index: 60; top: 0; left: 0; width: 100%; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; animation: progress-grow linear both; animation-timeline: scroll(root block); }

.landing-header { position: fixed; z-index: 40; top: 0; left: 0; display: flex; width: 100%; min-height: 74px; align-items: center; justify-content: space-between; padding: 1rem var(--page-pad); border-bottom: 1px solid transparent; transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, min-height 220ms ease; }
.landing-header.is-scrolled { min-height: 64px; border-color: var(--line-soft); background: rgba(244, 246, 248, .9); box-shadow: 0 1rem 2.5rem rgba(16, 24, 39, .06); backdrop-filter: blur(18px); }
.landing-brand, .footer-brand { display: block; width: clamp(7.2rem, 12vw, 9.4rem); }
.landing-brand img, .footer-brand img { width: 100%; height: auto; }
.landing-nav { display: flex; align-items: center; gap: clamp(1rem, 2.8vw, 2.6rem); margin-left: auto; margin-right: clamp(1.2rem, 4vw, 4.3rem); }
.landing-nav a { position: relative; color: var(--ink-soft); font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.landing-nav a:not(.nav-contact)::after { position: absolute; right: 0; bottom: -.5rem; left: 0; height: 1px; transform: scaleX(0); transform-origin: right; background: var(--blue); content: ""; transition: transform 200ms ease; }
.landing-nav a:not(.nav-contact):hover::after { transform: scaleX(1); transform-origin: left; }
.landing-nav a:hover { color: var(--blue-dark); }
.nav-contact { padding: .62rem .95rem; border: 1px solid var(--ink); border-radius: 999px; transition: transform 180ms ease, background-color 180ms ease, color 180ms ease; }
.nav-contact:hover { transform: translateY(-2px); background: var(--ink); color: var(--white) !important; }
.landing-menu { display: none; width: 2.25rem; padding: .45rem 0; border: 0; background: transparent; cursor: pointer; }
.landing-menu span { display: block; width: 100%; height: 1px; margin: .3rem 0; background: var(--ink); transition: transform 180ms ease, opacity 180ms ease; }
.landing-menu.is-open span:first-child { transform: translateY(.2rem) rotate(45deg); }
.landing-menu.is-open span:last-child { transform: translateY(-.2rem) rotate(-45deg); }

.landing-hero { display: grid; min-height: 100dvh; grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr); gap: clamp(2.4rem, 7vw, 8.5rem); align-items: center; padding-top: clamp(7.5rem, 13vw, 10rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.hero-copy { max-width: 40rem; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.7rem; color: var(--muted); font-family: var(--mono); font-size: .65rem; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-mark { display: inline-block; width: 2.35rem; height: 1px; background: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { text-wrap: balance; }
h1 { max-width: 10ch; margin-bottom: 1.7rem; font-size: clamp(3.75rem, 7.8vw, 8.2rem); font-weight: 600; letter-spacing: -.085em; line-height: .91; }
h1 em, h2 em { color: var(--blue); font-style: italic; }
.hero-description { max-width: 35rem; margin-bottom: 2.1rem; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.14rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.35rem; }
.button { display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center; gap: .85rem; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: 999px; font-size: .67rem; font-weight: 750; letter-spacing: .12em; line-height: 1; text-transform: uppercase; white-space: nowrap; transition: transform 200ms ease, background-color 200ms ease, border-color 200ms ease, color 200ms ease; }
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(-1px) scale(.98); }
.button-blue { background: var(--blue); color: var(--white); box-shadow: 0 .9rem 1.8rem rgba(47, 86, 255, .18); }
.button-blue:hover { background: var(--blue-dark); }
.button-dark { background: var(--ink); color: var(--white); box-shadow: 0 .9rem 1.8rem rgba(16, 24, 39, .14); }
.button-dark:hover { background: var(--ink-soft); }
.button-light { border-color: rgba(248, 250, 252, .6); background: var(--white); color: var(--ink); }
.button-light:hover { border-color: var(--white); background: transparent; color: var(--white); }
.vector-icon { width: 1rem; height: 1rem; flex: 0 0 auto; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 0; border-bottom: 1px solid var(--blue); color: var(--ink-soft); font-size: .68rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; transition: gap 180ms ease, color 180ms ease; }
.text-link:hover { gap: .8rem; color: var(--blue-dark); }
.hero-availability { display: flex; align-items: center; gap: .55rem; margin: 3.4rem 0 0; color: var(--muted); font-family: var(--mono); font-size: .63rem; letter-spacing: .04em; }
.status-dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 .28rem rgba(47, 86, 255, .12); animation: status-pulse 2.8s ease-in-out infinite; }

.hero-visual { position: relative; min-width: 0; }
.studio-frame { position: relative; z-index: 2; width: min(100%, 34rem); margin-inline: auto; overflow: hidden; border-radius: var(--radius); background: var(--ink); box-shadow: 1.6rem 1.8rem 0 rgba(47, 86, 255, .13); aspect-ratio: 4 / 5; }
.studio-frame::after { position: absolute; inset: .7rem; border: 1px solid rgba(248, 250, 252, .27); border-radius: calc(var(--radius) - .45rem); content: ""; pointer-events: none; }
.studio-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.studio-frame-top, .studio-frame-bottom { position: absolute; z-index: 3; right: 1.35rem; left: 1.35rem; display: flex; align-items: center; justify-content: space-between; color: rgba(248, 250, 252, .8); font-family: var(--mono); font-size: .58rem; letter-spacing: .11em; line-height: 1.4; text-transform: uppercase; }
.studio-frame-top { top: 1.35rem; }
.studio-frame-bottom { bottom: 1.45rem; align-items: flex-end; color: var(--white); font-family: var(--body); font-size: .92rem; letter-spacing: -.01em; text-transform: none; }
.frame-index { color: rgba(248, 250, 252, .72); font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-orbit { position: absolute; border: 1px solid rgba(47, 86, 255, .24); border-radius: 50%; pointer-events: none; }
.orbit-one { top: 7%; right: -7%; width: 8.5rem; height: 8.5rem; animation: orbit-drift 12s ease-in-out infinite; }
.orbit-two { bottom: 1%; left: -11%; width: 12rem; height: 12rem; border-color: rgba(16, 24, 39, .16); animation: orbit-drift 16s ease-in-out infinite reverse; }

.section-block { padding-top: clamp(6rem, 12vw, 11rem); padding-bottom: clamp(6rem, 12vw, 11rem); }
.intro-section { display: grid; grid-template-columns: minmax(4rem, .24fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 8rem); border-top: 1px solid var(--line); }
.section-marker { display: flex; align-items: flex-start; gap: 1rem; color: var(--muted); font-family: var(--mono); font-size: .65rem; letter-spacing: .12em; }
.section-marker i { display: block; width: 2.25rem; height: 1px; margin-top: .35rem; background: var(--blue); }
.intro-copy { max-width: 56rem; }
.section-kicker { margin-bottom: 1.55rem; }
.intro-copy h2, .section-heading h2, .work-copy h2, .process-heading h2, .contact-inner h2 { max-width: 12ch; margin-bottom: 1.6rem; font-size: clamp(2.6rem, 5.8vw, 6.4rem); font-weight: 600; letter-spacing: -.08em; line-height: .96; }
.intro-copy > p:last-child, .work-copy > p:not(.section-kicker), .contact-inner > p:not(.section-kicker) { max-width: 35rem; color: var(--muted); font-size: 1rem; line-height: 1.75; }

.services-section { border-top: 1px solid var(--line); }
.section-heading { max-width: 45rem; margin-bottom: clamp(3rem, 7vw, 6.5rem); }
.section-heading h2 { max-width: 9ch; }
.services-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 3.5rem 3.5rem minmax(0, 1fr) 2rem; gap: 1rem; align-items: center; min-width: 0; padding: 1.8rem 0; border-bottom: 1px solid var(--line); transition: padding 220ms ease, background-color 220ms ease; }
.service-row:hover { padding-inline: 1.25rem; background: var(--surface-blue); }
.service-number { color: var(--muted); font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; }
.service-icon { display: grid; width: 2.35rem; height: 2.35rem; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); }
.service-icon svg { width: 1.3rem; height: 1.3rem; }
.service-row h3 { margin-bottom: .35rem; color: var(--ink); font-size: clamp(1rem, 1.8vw, 1.38rem); font-weight: 600; letter-spacing: -.025em; }
.service-row p { max-width: 35rem; margin-bottom: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.service-arrow { display: grid; place-items: center; color: var(--blue); transition: transform 180ms ease; }
.service-row:hover .service-arrow { transform: translateX(.3rem); }

.work-section { display: grid; grid-template-columns: minmax(0, .78fr) minmax(320px, 1.22fr); gap: clamp(2.5rem, 8vw, 9rem); align-items: center; border-top: 1px solid var(--line); }
.work-copy h2 { max-width: 9ch; }
.work-copy > p:not(.section-kicker) { margin-bottom: 2.1rem; }
.work-preview { position: relative; display: block; min-width: 0; overflow: hidden; border-radius: var(--radius); background: var(--ink); aspect-ratio: 1.18 / 1; }
.work-preview::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 24, 39, .03), rgba(16, 24, 39, .72)); content: ""; transition: opacity 260ms ease; }
.work-preview:hover::after { opacity: .82; }
.work-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; filter: saturate(.82); transition: transform 700ms cubic-bezier(.16, 1, .3, 1), filter 300ms ease; }
.work-preview:hover img { transform: scale(1.045); filter: saturate(1); }
.preview-label { position: absolute; z-index: 2; right: 1.45rem; bottom: 1.3rem; left: 1.45rem; display: flex; align-items: flex-end; justify-content: space-between; color: var(--white); }
.preview-label span { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }
.preview-label strong { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 650; }

.process-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 9vw, 10rem); border-top: 1px solid var(--line); }
.process-heading h2 { max-width: 8ch; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-item { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1.5rem; padding: 1.55rem 0 1.7rem; border-bottom: 1px solid var(--line); }
.process-item > span { color: var(--blue); font-family: var(--mono); font-size: .65rem; letter-spacing: .08em; }
.process-item h3 { margin-bottom: .45rem; font-size: 1.35rem; letter-spacing: -.04em; }
.process-item p { max-width: 32rem; margin-bottom: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }

.contact-section { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.contact-inner { position: relative; z-index: 2; padding-top: clamp(5.5rem, 10vw, 9rem); padding-bottom: clamp(5.5rem, 10vw, 9rem); }
.section-kicker-light { color: rgba(248, 250, 252, .66); }
.contact-inner h2 { max-width: 8ch; }
.contact-inner h2 em { color: #88a0ff; }
.contact-inner > p:not(.section-kicker) { color: rgba(248, 250, 252, .68); }
.contact-inner .button { margin-top: 1rem; }
.contact-mark { position: absolute; right: clamp(1rem, 9vw, 10rem); bottom: -7rem; color: rgba(47, 86, 255, .23); font-size: clamp(25rem, 45vw, 54rem); font-weight: 600; letter-spacing: -.18em; line-height: .75; pointer-events: none; }
.landing-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; min-height: 8rem; padding-top: 2rem; padding-bottom: 2rem; }
.footer-brand { width: clamp(6.7rem, 10vw, 8rem); }
.landing-footer p { margin: 0; color: var(--muted); font-size: .78rem; text-align: center; }
.footer-up { display: inline-flex; align-items: center; justify-content: flex-end; gap: .55rem; color: var(--ink-soft); font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-up:hover { color: var(--blue-dark); }

.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 700ms cubic-bezier(.16, 1, .3, 1), transform 700ms cubic-bezier(.16, 1, .3, 1); transition-delay: var(--delay, 0ms); }
.reveal[data-reveal="left"] { transform: translateX(-1.5rem); }
.reveal[data-reveal="right"] { transform: translateX(1.5rem); }
.reveal.is-visible { opacity: 1; transform: translate(0, 0); }

@keyframes progress-grow { to { transform: scaleX(1); } }
@keyframes status-pulse { 0%, 100% { box-shadow: 0 0 0 .28rem rgba(47, 86, 255, .12); } 50% { box-shadow: 0 0 0 .52rem rgba(47, 86, 255, .03); } }
@keyframes orbit-drift { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-.45rem, .65rem, 0); } }

@media (max-width: 900px) {
  .landing-hero { gap: 3rem; }
  .landing-nav { gap: 1rem; margin-right: 1.5rem; }
  .landing-nav a { font-size: .6rem; }
  .work-section, .process-section { gap: 3.5rem; }
}

@media (max-width: 720px) {
  .landing-header { min-height: 66px; padding-top: .8rem; padding-bottom: .8rem; }
  .landing-header.is-scrolled { min-height: 60px; }
  .landing-nav { position: absolute; top: calc(100% + .5rem); right: var(--page-pad); left: var(--page-pad); display: grid; gap: 0; margin: 0; padding: .45rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .96); box-shadow: 0 1.2rem 2.5rem rgba(16, 24, 39, .1); opacity: 0; pointer-events: none; transform: translateY(-.5rem); transition: opacity 180ms ease, transform 180ms ease; }
  .landing-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .landing-nav a { padding: .85rem .75rem; font-size: .66rem; }
  .landing-nav .nav-contact { margin-top: .35rem; text-align: center; }
  .landing-nav a:not(.nav-contact)::after { display: none; }
  .landing-menu { display: block; }
  body.is-menu-open { overflow: hidden; }
  .landing-hero { display: block; min-height: auto; padding-top: 9.25rem; padding-bottom: 5.5rem; }
  h1 { max-width: 9ch; font-size: clamp(3.4rem, 16vw, 5.8rem); }
  .hero-description { max-width: 30rem; font-size: .98rem; }
  .hero-availability { margin-top: 2.5rem; font-size: .57rem; line-height: 1.5; }
  .hero-visual { margin-top: 4rem; padding-right: .65rem; }
  .studio-frame { width: min(100%, 26rem); margin-right: 0; margin-left: auto; box-shadow: .7rem .8rem 0 rgba(47, 86, 255, .13); }
  .orbit-one { right: -4%; }
  .orbit-two { bottom: -4%; left: -7%; }
  .section-block { padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .intro-section, .work-section, .process-section { display: block; }
  .section-marker { margin-bottom: 3rem; }
  .intro-copy h2, .section-heading h2, .work-copy h2, .process-heading h2, .contact-inner h2 { max-width: 10ch; font-size: clamp(2.85rem, 12vw, 4.8rem); }
  .section-heading { margin-bottom: 3rem; }
  .service-row { grid-template-columns: 2.2rem 2.65rem minmax(0, 1fr); gap: .7rem; align-items: start; padding: 1.35rem 0; }
  .service-row:hover { padding-inline: .55rem; }
  .service-arrow { display: none; }
  .service-row h3 { font-size: 1.08rem; line-height: 1.2; }
  .service-row p { font-size: .82rem; line-height: 1.5; }
  .work-copy { margin-bottom: 3rem; }
  .work-preview { aspect-ratio: 1 / 1.1; }
  .process-heading { margin-bottom: 3rem; }
  .contact-mark { right: -3rem; bottom: -3rem; font-size: 24rem; }
  .landing-footer { grid-template-columns: 1fr auto; gap: 1.25rem; }
  .landing-footer p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .footer-up { grid-column: 2; grid-row: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal[data-reveal="left"], .reveal[data-reveal="right"] { opacity: 1; transform: none; }
}
