:root {
  color-scheme: dark;
  --ink: #f5f3ec;
  --muted: #aaa9a4;
  --night: #06080c;
  --night-soft: #0c1017;
  --panel: rgba(19, 24, 33, .76);
  --line: rgba(255, 255, 255, .14);
  --gold: #d8b46d;
  --gold-pale: #f2dfb5;
  --blue: #6e9fff;
  --max: 1240px;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 18%, rgba(59, 90, 160, .14), transparent 31rem),
    var(--night);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .17;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 15px;
  color: #050607;
  background: var(--gold-pale);
  border-radius: 999px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease;
}
.site-header.is-scrolled {
  background: rgba(6, 8, 12, .82);
  border-color: rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px) saturate(125%);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; }
.brand-lockup img { width: 40px; height: 40px; object-fit: contain; }
.brand-lockup span { font-size: .78rem; font-weight: 780; letter-spacing: .2em; text-transform: uppercase; }
.brand-lockup em { color: var(--gold); font-style: normal; }
.primary-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.primary-nav a {
  position: relative;
  color: rgba(245, 243, 236, .78);
  font-size: .82rem;
  font-weight: 650;
}
.primary-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); }
.nav-cta {
  padding: 11px 17px;
  border: 1px solid rgba(242, 223, 181, .5);
  border-radius: 999px;
  color: var(--ink) !important;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.nav-cta:hover { color: #111 !important; background: var(--gold-pale); transform: translateY(-1px); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.04); }
.menu-button span { display: block; width: 18px; height: 1px; margin: 5px auto; background: currentColor; transition: transform .25s ease, opacity .2s ease; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-media img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0) scale(1.06);
  filter: saturate(.9) contrast(1.08);
  transition: transform .55s var(--ease);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,7,11,.98) 0%, rgba(5,7,11,.82) 42%, rgba(5,7,11,.14) 76%),
    linear-gradient(0deg, #06080c 0%, transparent 42%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .24;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}
.hero-inner { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; padding: 150px 0 84px; }
.hero-copy { max-width: 850px; }
.kicker { margin: 0 0 24px; color: var(--gold-pale); font-size: .72rem; font-weight: 750; letter-spacing: .24em; text-transform: uppercase; }
.hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(3.15rem, 7.5vw, 7.8rem);
  font-weight: 590;
  line-height: .91;
  letter-spacing: -.062em;
  text-wrap: balance;
}
.hero h1 span { color: var(--gold-pale); }
.hero-lede { max-width: 660px; margin: 30px 0 0; color: rgba(245,243,236,.75); font-size: clamp(1rem, 1.55vw, 1.28rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(6,8,12,.32);
  backdrop-filter: blur(12px);
  font-size: .85rem;
  font-weight: 720;
  transition: transform .28s var(--ease), border-color .28s ease, background .28s ease;
}
.button::after { content: "↗"; font-size: 1rem; transition: transform .28s var(--ease); }
.button:hover { transform: translateY(-2px); border-color: rgba(242,223,181,.62); }
.button:hover::after { transform: translate(3px, -3px); }
.button.is-primary { color: #12100b; background: var(--gold-pale); border-color: var(--gold-pale); }
.hero-note { margin-top: 58px; display: flex; align-items: center; gap: 16px; color: rgba(245,243,236,.6); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.hero-note::before { content: ""; width: 48px; height: 1px; background: var(--gold); }

.statement { padding: clamp(100px, 15vw, 210px) 0; }
.statement p { max-width: 1080px; margin: 0; font-size: clamp(2.2rem, 5.9vw, 6.4rem); line-height: .98; letter-spacing: -.052em; color: rgba(245,243,236,.23); }
.statement strong { color: var(--ink); font-weight: 540; }

.section { padding: clamp(82px, 10vw, 150px) 0; }
.section-heading { display: grid; grid-template-columns: minmax(180px,.65fr) minmax(0,1.35fr); gap: 40px; margin-bottom: 62px; }
.section-label { margin: 7px 0 0; color: var(--gold); font-size: .7rem; font-weight: 770; letter-spacing: .23em; text-transform: uppercase; }
.section-heading h2 { max-width: 850px; margin: 0; font-size: clamp(2.55rem, 5.7vw, 6.1rem); font-weight: 560; line-height: .97; letter-spacing: -.052em; text-wrap: balance; }
.section-intro { max-width: 690px; margin: 22px 0 0; color: var(--muted); font-size: 1.02rem; }

.capability-stage { position: relative; display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); min-height: 650px; border: 1px solid var(--line); background: #090c12; overflow: hidden; }
.capability-tabs { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(26px, 4vw, 54px); background: linear-gradient(90deg, rgba(8,11,17,.98), rgba(8,11,17,.84) 78%, transparent); }
.capability-tab {
  width: 100%;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 22px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: rgba(245,243,236,.48);
  text-align: left;
  cursor: pointer;
}
.capability-tab:last-child { border-bottom: 1px solid var(--line); }
.capability-tab .marker { width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; }
.capability-tab b { font-size: clamp(1.05rem, 1.65vw, 1.45rem); font-weight: 600; }
.capability-tab .arrow { opacity: 0; transition: opacity .3s ease, transform .3s var(--ease); }
.capability-tab[aria-selected="true"] { color: var(--ink); }
.capability-tab[aria-selected="true"] .marker { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 24px rgba(216,180,109,.7); }
.capability-tab[aria-selected="true"] .arrow { opacity: 1; transform: translateX(4px); }
.capability-visuals { position: absolute; inset: 0; }
.capability-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .65s ease, visibility .65s ease; }
.capability-panel.is-active { opacity: 1; visibility: visible; }
.capability-panel img { width: 100%; height: 100%; object-fit: cover; object-position: 67% center; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.capability-panel.is-active img { transform: scale(1); }
.capability-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,11,17,.94) 0%, rgba(8,11,17,.35) 48%, rgba(8,11,17,.05)); }
.capability-copy { position: absolute; z-index: 2; right: clamp(24px, 4vw, 58px); bottom: clamp(24px, 4vw, 56px); width: min(420px, 42%); padding: 25px; border: 1px solid rgba(255,255,255,.18); background: rgba(7,10,15,.64); backdrop-filter: blur(18px); }
.capability-copy p { margin: 0; color: rgba(245,243,236,.78); }
.capability-copy a { display: inline-flex; margin-top: 18px; color: var(--gold-pale); font-size: .78rem; font-weight: 740; letter-spacing: .1em; text-transform: uppercase; }

.work-stack { position: relative; }
.work-card {
  position: sticky;
  top: 106px;
  min-height: min(72vh, 760px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 58px;
  border: 1px solid var(--line);
  background: #0b0f16;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.42);
}
.work-card:nth-child(2) { top: 126px; }
.work-card:nth-child(3) { top: 146px; }
.work-media { min-height: 460px; overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .8s ease; }
.work-card:hover .work-media img { transform: scale(1.035); filter: saturate(1.12); }
.work-content { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(30px, 5vw, 72px); }
.work-type { color: var(--gold); font-size: .7rem; font-weight: 760; letter-spacing: .2em; text-transform: uppercase; }
.work-content h3 { max-width: 520px; margin: 18px 0; font-size: clamp(2.1rem, 4vw, 4.8rem); font-weight: 560; line-height: .97; letter-spacing: -.045em; }
.work-content p { max-width: 520px; margin: 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--gold-pale); font-size: .8rem; font-weight: 740; letter-spacing: .1em; text-transform: uppercase; }
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translateX(5px); }

.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.path-card { position: relative; min-height: 650px; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; border: 1px solid var(--line); }
.path-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s ease; }
.path-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4,6,10,.98), rgba(4,6,10,.18) 75%); }
.path-card:hover img { transform: scale(1.045); filter: saturate(1.12); }
.path-content { width: 100%; padding: clamp(28px,4vw,54px); }
.path-content h3 { margin: 10px 0 12px; font-size: clamp(2rem, 3.5vw, 4rem); font-weight: 560; line-height: 1; letter-spacing: -.04em; }
.path-content p { max-width: 510px; margin: 0; color: rgba(245,243,236,.72); }
.credentials { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; color: rgba(245,243,236,.62); font-size: .76rem; }

.ecosystem-panel { position: relative; min-height: 720px; display: grid; align-items: end; isolation: isolate; overflow: hidden; border: 1px solid var(--line); }
.ecosystem-panel > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ecosystem-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,7,11,.98), rgba(5,7,11,.46) 62%, rgba(5,7,11,.18)), linear-gradient(0deg, rgba(5,7,11,.92), transparent 55%); }
.ecosystem-content { padding: clamp(30px, 6vw, 78px); }
.ecosystem-content h2 { max-width: 820px; margin: 0; font-size: clamp(2.7rem, 6vw, 6.5rem); font-weight: 560; line-height: .94; letter-spacing: -.055em; }
.ecosystem-content > p { max-width: 650px; color: rgba(245,243,236,.72); }
.brand-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.brand-list a, .brand-list span { padding: 10px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(5,7,11,.44); backdrop-filter: blur(12px); font-size: .78rem; font-weight: 690; transition: background .25s ease, border-color .25s ease, transform .25s var(--ease); }
.brand-list a:hover { transform: translateY(-2px); border-color: rgba(242,223,181,.5); background: rgba(216,180,109,.11); }

.trust-strip { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vw, 94px); }
.trust-copy h2 { margin: 0; font-size: clamp(2.3rem, 4.8vw, 5rem); font-weight: 560; line-height: .98; letter-spacing: -.045em; }
.trust-copy p { max-width: 540px; color: var(--muted); }
.trust-strip img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }

.final-cta { padding: clamp(110px, 14vw, 190px) 0; text-align: center; }
.final-cta h2 { max-width: 960px; margin: 0 auto; font-size: clamp(3rem, 7.6vw, 8.2rem); font-weight: 560; line-height: .89; letter-spacing: -.062em; }
.final-cta p { max-width: 580px; margin: 30px auto 0; color: var(--muted); }
.final-cta .actions { justify-content: center; }

.site-footer { border-top: 1px solid var(--line); }
.footer-main { min-height: 220px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.footer-statement { max-width: 600px; }
.footer-statement strong { display: block; font-size: clamp(1.5rem, 2.8vw, 2.8rem); font-weight: 560; letter-spacing: -.035em; }
.footer-statement p { margin: 10px 0 0; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; }
.footer-links a { color: rgba(245,243,236,.72); font-size: .8rem; }
.footer-links a:hover { color: var(--gold-pale); }
.footer-legal { padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(245,243,236,.45); font-size: .7rem; }
.footer-legal a { text-decoration: underline; text-underline-offset: 4px; }

[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .85s ease, transform .9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-34px); }
[data-reveal="left"].is-visible { transform: translateX(0); }

@media (max-width: 920px) {
  .menu-button { display: block; }
  .primary-nav {
    position: fixed;
    top: 68px;
    left: 20px;
    right: 20px;
    display: none;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    background: rgba(8,11,17,.96);
    backdrop-filter: blur(18px);
  }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding: 12px 4px; font-size: .95rem; }
  .nav-cta { text-align: center; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .capability-stage { grid-template-columns: 1fr; min-height: 780px; }
  .capability-tabs { justify-content: flex-end; padding-top: 360px; background: linear-gradient(0deg, rgba(8,11,17,.99) 0%, rgba(8,11,17,.88) 48%, transparent 78%); }
  .capability-panel img { object-position: center top; }
  .capability-panel::after { background: linear-gradient(0deg, rgba(8,11,17,.96) 0%, transparent 75%); }
  .capability-copy { display: none; }
  .work-card { grid-template-columns: 1fr; top: 92px; }
  .work-card:nth-child(2), .work-card:nth-child(3) { top: 108px; }
  .work-media { min-height: 340px; }
  .paths, .trust-strip { grid-template-columns: 1fr; }
  .path-card { min-height: 580px; }
  .trust-strip img { min-height: 420px; }
  .footer-main { align-items: flex-start; flex-direction: column; justify-content: center; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .shell { width: min(var(--max), calc(100% - 28px)); }
  .header-inner { min-height: 68px; }
  .brand-lockup span { font-size: .7rem; }
  .hero { min-height: 880px; }
  .hero::before { background: linear-gradient(0deg, rgba(5,7,11,.99) 0%, rgba(5,7,11,.72) 57%, rgba(5,7,11,.28) 100%); }
  .hero-media img { height: 62%; object-position: 60% top; }
  .hero-inner { width: min(var(--max), calc(100% - 28px)); padding: 330px 0 54px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .hero-lede { font-size: .98rem; }
  .hero-note { margin-top: 38px; }
  .statement { padding: 100px 0; }
  .statement p { font-size: 2.55rem; }
  .section { padding: 80px 0; }
  .section-heading { margin-bottom: 36px; }
  .section-heading h2 { font-size: 2.8rem; }
  .capability-stage { min-height: 710px; }
  .capability-tabs { padding: 330px 22px 26px; }
  .capability-tab { padding: 18px 0; }
  .work-card, .work-card:nth-child(2), .work-card:nth-child(3) { position: relative; top: auto; min-height: 0; margin-bottom: 20px; }
  .work-media { min-height: 285px; }
  .work-content { min-height: 360px; }
  .path-card { min-height: 560px; }
  .ecosystem-panel { min-height: 700px; }
  .trust-copy { padding: 55px 22px; }
  .trust-strip img { min-height: 330px; }
  .final-cta h2 { font-size: clamp(3.15rem, 15vw, 5.2rem); }
  .footer-legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-media img { transform: scale(1.02); }
}
