:root {
  --ink: #f2f0ea;
  --muted: #9a9a96;
  --acid: #d7ff3f;
  --surface: #0a0a0a;
  --panel: #101216;
  --line: rgba(255,255,255,.16);
  --page: min(1440px, 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--surface); scroll-behavior: smooth; }
body { min-height: 100vh; background: var(--surface); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  align-items: center;
  background: rgba(5,5,5,.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(20px,4vw,64px);
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
}

.brand { font-size: 18px; font-weight: 800; letter-spacing: -.04em; position: relative; z-index: 32; }
.brand span, .eyebrow, .section-index { color: var(--acid); }
.site-nav { align-items: center; display: flex; gap: clamp(16px,2.2vw,34px); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.site-nav a { color: rgba(255,255,255,.72); transition: color .2s; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--acid); }
.site-nav .nav-contact { border-bottom: 1px solid; color: var(--ink); padding-bottom: 4px; }
.menu-toggle { display: none; }

.service-hero {
  isolation: isolate;
  min-height: min(880px, 100svh);
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 130px clamp(20px,5vw,76px) clamp(68px,9vh,110px);
}

.service-hero > img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; z-index: -3; }
.hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.93), rgba(0,0,0,.48) 58%, rgba(0,0,0,.12)), linear-gradient(0deg, rgba(0,0,0,.72), transparent 58%); inset: 0; position: absolute; z-index: -2; }
.hero-shade::after { background: linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.08) 50%, transparent 50.2%); background-size: 24vw 100%; content: ""; inset: 0; opacity: .4; position: absolute; }
.hero-copy { max-width: 1080px; }
.eyebrow, .section-index { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-copy h1 { font-size: clamp(58px,9vw,136px); font-weight: 400; letter-spacing: -.075em; line-height: .86; margin: 22px 0 30px; max-width: 1120px; text-wrap: balance; }
.hero-copy > p:last-child { color: #cacac5; font-size: clamp(16px,1.55vw,21px); line-height: 1.6; max-width: 680px; }
.scroll-cue { align-items: center; bottom: 38px; color: var(--muted); display: flex; font-size: 10px; gap: 14px; letter-spacing: .12em; position: absolute; right: clamp(20px,5vw,76px); text-transform: uppercase; }
.scroll-cue span { background: currentColor; height: 1px; width: 54px; }

.service-hero--collective { background: #050505; }
.service-hero--collective > img { height: auto; left: auto; object-fit: contain; opacity: .14; right: -8vw; top: 11%; width: min(78vw,1120px); }
.service-hero--collective .hero-shade { background: linear-gradient(90deg,rgba(0,0,0,.98) 0%,rgba(0,0,0,.86) 48%,rgba(0,0,0,.18) 100%), linear-gradient(0deg,rgba(0,0,0,.7),transparent 64%); }
.service-hero--collective .hero-shade::before { background: var(--acid); content: ""; height: 2px; left: clamp(20px,5vw,76px); position: absolute; top: 50%; width: clamp(70px,10vw,150px); }
.service-hero--collective .hero-copy { position: relative; z-index: 2; }

.section { padding: clamp(90px,11vw,170px) clamp(20px,5vw,76px); }
.intro { display: grid; gap: 40px; grid-template-columns: 1fr 3fr; }
.intro > div { max-width: 1100px; }
.intro h2, .section-heading h2, .page-cta h2 { font-size: clamp(42px,6.5vw,96px); font-weight: 400; letter-spacing: -.06em; line-height: .96; text-wrap: balance; }
.intro div p { color: var(--muted); font-size: 17px; line-height: 1.75; margin-top: 34px; max-width: 720px; }
.intro div p:first-of-type { color: #d5d4ce; font-size: clamp(18px,1.7vw,24px); }

.capabilities { background: radial-gradient(circle at 80% 0%, rgba(50,72,92,.2), transparent 35%), #090b0e; }
.section-heading { display: grid; gap: 40px; grid-template-columns: 1fr 3fr; margin-bottom: 80px; }
.section-heading > div > p { color: var(--muted); font-size: 15px; line-height: 1.65; margin-top: 28px; max-width: 600px; }
.feature-grid { border-left: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2,1fr); }
.feature-grid article { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 320px; padding: clamp(26px,3vw,46px); }
.feature-grid article > span { color: var(--acid); font-size: 10px; }
.feature-grid h3 { font-size: clamp(30px,3.4vw,52px); font-weight: 400; letter-spacing: -.05em; line-height: 1; margin: auto 0 24px; }
.feature-grid p { color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 480px; }

.works { background: #080808; }
.case-grid { display: grid; gap: clamp(24px,3vw,48px); grid-template-columns: repeat(2,1fr); }
.case:last-child:nth-child(odd) { grid-column: 1 / -1; }
.case figure { aspect-ratio: 16/10; background: #151515; overflow: hidden; position: relative; }
.case figure::after { background: linear-gradient(transparent 46%, rgba(0,0,0,.76)); content: ""; inset: 0; position: absolute; }
.case img { filter: saturate(.82) contrast(1.07); height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1), filter .6s; width: 100%; }
.case:hover img { filter: saturate(1) contrast(1.03); transform: scale(1.025); }
.case figure span { bottom: 20px; color: var(--acid); font-size: 10px; font-weight: 700; letter-spacing: .12em; position: absolute; right: 20px; text-transform: uppercase; z-index: 2; }
.case > div { border-top: 1px solid var(--line); display: grid; gap: 12px 24px; grid-template-columns: 1fr 2fr; padding: 24px 0 36px; }
.case small { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.case h3 { font-size: clamp(30px,4vw,58px); font-weight: 400; grid-column: 2; letter-spacing: -.055em; line-height: .95; }
.case p { color: #aaa9a4; font-size: 14px; grid-column: 2; line-height: 1.6; }

.external { background: linear-gradient(180deg,#0b0e12,#08090b); }
.external-list { border-top: 1px solid var(--line); }
.external-list a { align-items: baseline; border-bottom: 1px solid var(--line); display: grid; gap: 20px; grid-template-columns: .8fr 2fr auto; padding: 28px 0; }
.external-list span { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.external-list strong { font-size: clamp(22px,2.8vw,42px); font-weight: 400; letter-spacing: -.04em; }
.external-list i { color: var(--acid); font-size: 24px; font-style: normal; }

.faq { background: #0a0a0a; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { align-items: center; cursor: pointer; display: flex; font-size: clamp(22px,2.5vw,36px); justify-content: space-between; letter-spacing: -.035em; list-style: none; padding: 28px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--acid); font-size: 30px; font-weight: 300; }
.faq details p { color: var(--muted); line-height: 1.7; max-width: 760px; padding: 0 0 30px; }

.related { background: #080a0d; border-top: 1px solid var(--line); }
.related-links { border-left: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3,1fr); }
.related-links a { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); font-size: clamp(20px,2.4vw,34px); letter-spacing: -.04em; min-height: 140px; padding: 26px; transition: background .2s,color .2s; }
.related-links a::after { color: var(--acid); content: " ↗"; }
.related-links a:hover { background: var(--acid); color: #111; }
.related-links a:hover::after { color: #111; }

.page-cta { display: flex; flex-direction: column; justify-content: center; min-height: 88svh; padding: clamp(90px,12vw,190px) clamp(20px,5vw,76px); }
.page-cta h2 { margin: 28px 0 62px; max-width: 1000px; }
.page-cta h2 span { color: #686865; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-actions a { border: 1px solid rgba(255,255,255,.25); font-size: 11px; letter-spacing: .09em; padding: 15px 18px; text-transform: uppercase; transition: background .2s,color .2s,border-color .2s; }
.cta-actions a:hover { background: var(--acid); border-color: var(--acid); color: #111; }
.page-cta > p:last-child { color: var(--muted); font-size: 12px; letter-spacing: .04em; line-height: 1.55; margin-top: 26px; }

.footer { align-items: end; border-top: 1px solid var(--line); display: grid; gap: 30px; grid-template-columns: 1fr auto 1fr; padding: 34px clamp(20px,5vw,76px); }
.footer nav { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; }
.footer nav a { border-bottom: 1px solid rgba(255,255,255,.3); color: #c5c4be; font-size: 12px; letter-spacing: .1em; padding-bottom: 4px; text-transform: uppercase; }
.footer p { color: var(--muted); font-size: 10px; justify-self: end; line-height: 1.5; text-align: right; }

@media (max-width: 760px) {
  .site-header { padding: 20px; }
  .menu-toggle { background: transparent; border: 0; border-bottom: 1px solid; color: var(--ink); cursor: pointer; display: block; font-size: 11px; letter-spacing: .12em; padding: 6px 0; text-transform: uppercase; z-index: 32; }
  .site-nav { align-items: flex-start; background: #050709fa; flex-direction: column; gap: 22px; height: 100svh; justify-content: flex-start; left: 0; opacity: 0; overflow-y: auto; padding: 112px 24px 40px; pointer-events: none; position: fixed; top: 0; transform: translateY(-12px); transition: .3s; visibility: hidden; width: 100vw; z-index: 31; }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }
  .site-nav a, .site-nav .nav-contact { border: 0; color: var(--ink); font-size: clamp(30px,10vw,46px); font-weight: 400; letter-spacing: -.045em; text-transform: none; }
  .service-hero { min-height: 88svh; padding: 110px 20px 78px; }
  .service-hero > img { object-position: center; }
  .hero-shade { background: linear-gradient(0deg,rgba(0,0,0,.94),rgba(0,0,0,.36) 80%); }
  .hero-copy h1 { font-size: clamp(46px,14.5vw,72px); letter-spacing: -.065em; line-height: .9; }
  .service-hero--collective > img { opacity: .17; right: -24%; top: 14%; width: 132vw; }
  .service-hero--collective .hero-shade { background: linear-gradient(0deg,rgba(0,0,0,.96),rgba(0,0,0,.5) 82%); }
  .service-hero--collective .hero-shade::before { display: none; }
  .scroll-cue { bottom: 26px; left: 20px; right: auto; }
  .intro, .section-heading { grid-template-columns: 1fr; }
  .intro .section-index, .section-heading .section-index { margin-bottom: 4px; }
  .feature-grid, .case-grid, .related-links { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 280px; }
  .case:last-child:nth-child(odd) { grid-column: auto; }
  .case > div { grid-template-columns: 1fr; }
  .case h3, .case p { grid-column: 1; }
  .external-list a { grid-template-columns: 1fr auto; }
  .external-list strong { grid-column: 1; }
  .external-list i { grid-column: 2; grid-row: 1 / 3; }
  .footer { align-items: start; grid-template-columns: 1fr; }
  .footer nav { justify-content: flex-start; }
  .footer p { justify-self: start; text-align: left; }
}

body.nav-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
