/* ==========================================================================
   ABOVE THE STANDARD CO. — Design system
   Palette derived from the supplied ATS logo:
   logo field  #111C2F  ·  logo accent  #098BEA  ·  logotype  #FFFFFF
   ========================================================================== */

:root {
  /* Brand */
  --brand:          #098BEA;   /* primary — the blue cut in the "A" */
  --brand-hover:    #2C9FF2;   /* hover state */
  --brand-deep:     #0670BE;   /* pressed / on-light accent text */
  --brand-soft:     rgba(9, 139, 234, 0.12);
  --secondary:      #FFFFFF;   /* secondary — the logotype */
  --accent:         #7CC4F8;   /* accent — light tint for highlights & data */

  /* Surfaces */
  --navy:           #111C2F;   /* dark background — the logo field */
  --navy-deep:      #0B1322;
  --navy-raised:    #152338;
  --light:          #F4F6F9;   /* light background */
  --light-raised:   #FFFFFF;

  /* Text */
  --text-on-dark:        #FFFFFF;
  --text-on-dark-2:      rgba(226, 234, 245, 0.66);
  --text-on-dark-3:      rgba(226, 234, 245, 0.42);
  --text-on-light:       #0E1829;
  --text-on-light-2:     #566376;

  /* Lines */
  --line-dark:      rgba(255, 255, 255, 0.09);
  --line-dark-2:    rgba(255, 255, 255, 0.16);
  --line-light:     #DEE3EA;
  --line-light-2:   #C8D0DB;

  /* Type */
  --font-sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(88px, 12vw, 160px);
  --nav-h: 72px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-on-dark);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; font-size: 14px; font-weight: 500;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type scale ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-on-dark-2);
}
/* The slanted cut from the logo's "A", used as a brand marker */
.cut {
  display: inline-block; width: 18px; height: 6px;
  background: var(--brand);
  transform: skewX(-52deg);
  flex: none;
}

.h2 {
  font-size: clamp(34px, 5.2vw, 68px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}
.lede {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--text-on-dark-2);
  max-width: 34em;
  text-wrap: pretty;
}

/* ---------- Section scaffolding ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--light { background: var(--light); color: var(--text-on-light); }
.section--light .eyebrow { color: var(--text-on-light-2); }
.section--light .lede { color: var(--text-on-light-2); }
.section--deep { background: var(--navy-deep); }

.section-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 20px; margin-bottom: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line-dark);
}
.section--light .section-meta { border-color: var(--line-light); }
.section-index { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--text-on-dark-3); }
.section--light .section-index { color: var(--text-on-light-2); }

.section-head {
  display: grid; gap: 28px;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 88px);
}
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: var(--line-dark-2);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 24px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); border-radius: 3px;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn .arrow { display: inline-block; transition: transform .35s var(--ease-out); }
.btn:hover .arrow--right { transform: translateX(4px); }
.btn:hover .arrow--down { transform: translateY(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary { --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: var(--brand); }
.btn--primary:hover { --btn-bg: var(--brand-hover); --btn-bd: var(--brand-hover); }
.btn--ghost { --btn-fg: var(--text-on-dark); }
.btn--ghost:hover { --btn-bd: rgba(255,255,255,.42); --btn-bg: rgba(255,255,255,.04); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; gap: 10px; }
.btn--lg { height: 60px; padding: 0 30px; font-size: 16px; }

.link {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .4s var(--ease-out), color .2s var(--ease);
  padding-bottom: 2px;
}
.link:hover { background-size: 100% 1px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 19, 34, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-dark);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 14px; flex: none; }
.nav__brand img { height: 22px; width: auto; }
.nav__brand-sep { width: 1px; height: 18px; background: var(--line-dark-2); }
.nav__brand-name { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-dark-2); }
@media (max-width: 1080px) { .nav__brand-sep, .nav__brand-name { display: none; } }

.nav__links { display: flex; align-items: center; gap: 40px; font-size: 15px; color: var(--text-on-dark-2); }
.nav__links a { transition: color .2s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text-on-dark); }
.nav__right { display: flex; align-items: center; gap: 12px; }

.nav__toggle { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.nav__toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff;
  transition: transform .35s var(--ease-out), opacity .2s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav-open .nav__toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 820px) {
  :root { --nav-h: 64px; }
  .nav__links, .nav__right .btn { display: none; }
  .nav__toggle { display: block; }
  .nav__brand img { height: 19px; }
}

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy-deep);
  padding: calc(var(--nav-h) + 32px) var(--gutter) 32px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.nav-open .menu { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.nav-open { overflow: hidden; }
.nav-open .nav { background: var(--navy-deep); border-bottom-color: var(--line-dark); }
.menu__links { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); }
.menu__links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line-dark);
  font-size: 30px; font-weight: 500; letter-spacing: -0.03em;
  transform: translateY(12px); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out);
}
.menu__links a small { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--text-on-dark-3); font-weight: 400; }
.nav-open .menu__links a { transform: none; opacity: 1; }
.nav-open .menu__links a:nth-child(2) { transition-delay: .05s; }
.nav-open .menu__links a:nth-child(3) { transition-delay: .1s; }
.menu__foot { margin-top: auto; display: grid; gap: 20px; }
.menu__foot .btn { width: 100%; }
.menu__contact { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--text-on-dark-2); }
@media (min-width: 821px) { .menu { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--nav-h) + clamp(48px, 9vh, 120px));
  background:
    radial-gradient(1200px 600px at 78% 30%, rgba(9,139,234,0.10), transparent 60%),
    var(--navy);
}
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.5) 38%, #000 62%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.5) 38%, #000 62%);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero__title {
  margin-top: 28px;
  font-size: clamp(56px, 10.4vw, 156px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title .dot { color: var(--brand); }
.hero__sub {
  margin-top: clamp(28px, 4vw, 40px);
  max-width: 30em;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--text-on-dark-2);
  text-wrap: pretty;
}
.hero__ctas { margin-top: clamp(32px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 12px; }

.hero__bar {
  position: relative; z-index: 2;
  margin-top: clamp(56px, 10vh, 112px);
  border-top: 1px solid var(--line-dark);
}
.hero__bar-inner {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-on-dark-3);
}
.hero__bar-inner > * { padding: 20px 0; display: flex; align-items: center; gap: 10px; }
.hero__bar-inner > * + * { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero__bar-inner b { font-weight: 500; color: var(--text-on-dark-2); }
.hero__scroll { justify-content: flex-end; padding-right: 0; }
.hero__scroll i { display: block; width: 1px; height: 18px; background: var(--line-dark-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: var(--brand); animation: scrollcue 2.4s var(--ease) infinite; }
@keyframes scrollcue { 0% { top: -100%; } 60%, 100% { top: 100%; } }

@media (max-width: 820px) {
  .hero { padding-top: calc(var(--nav-h) + 56px); }
  .hero__canvas {
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.35) 45%, #000 100%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.35) 45%, #000 100%);
  }
  .hero__title { font-size: clamp(52px, 16.5vw, 96px); letter-spacing: -0.05em; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__bar-inner { grid-template-columns: 1fr 1fr; }
  .hero__bar-inner > *:nth-child(3) { display: none; }
  .hero__scroll { display: none !important; }
  .hero__bar-inner > * { padding: 16px 0; font-size: 11px; }
  .hero__bar-inner > * + * { padding-left: 16px; }
}
@media (min-width: 821px) and (max-width: 1080px) {
  .hero__bar-inner { grid-template-columns: repeat(2, minmax(0,1fr)) auto; }
  .hero__bar-inner > *:nth-child(3) { display: none; }
}

/* ==========================================================================
   What we do
   ========================================================================== */
.services {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark);
}
.service {
  position: relative;
  padding: clamp(28px, 3.6vw, 48px);
  min-height: clamp(260px, 24vw, 340px);
  border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  display: flex; flex-direction: column;
  transition: background-color .4s var(--ease);
}
.service::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.service:hover { background: rgba(255,255,255,0.025); }
.service:hover::before { transform: scaleX(1); }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; }
.service__num { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: var(--text-on-dark-3); transition: color .3s var(--ease); }
.service:hover .service__num { color: var(--brand); }
.service__icon { width: 40px; height: 40px; color: var(--text-on-dark-3); transition: color .4s var(--ease), transform .6s var(--ease-out); }
.service:hover .service__icon { color: var(--accent); transform: translateY(-3px); }
.service__body { padding-top: clamp(48px, 5vw, 72px); transition: transform .6s var(--ease-out); }
.service:hover .service__body { transform: translateY(-4px); }
.service__title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; text-transform: uppercase; }
.service__text { margin-top: 14px; color: var(--text-on-dark-2); max-width: 30em; font-size: 16px; }
.tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em;
  padding: 6px 10px; border: 1px solid var(--line-dark-2); border-radius: 2px;
  color: var(--text-on-dark-2);
}
@media (max-width: 720px) {
  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service__body { padding-top: 36px; }
}

/* ==========================================================================
   How we work
   ========================================================================== */
.process { position: relative; }
.process__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.process__track {
  position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-light-2);
}
.process__track::after {
  content: ""; position: absolute; inset: 0; background: var(--brand);
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out) .2s;
}
.process.is-in .process__track::after { transform: scaleX(1); }
.step { position: relative; padding-right: clamp(24px, 4vw, 64px); }
.step__node {
  position: relative; width: 15px; height: 15px; background: var(--light);
  border: 1px solid var(--line-light-2); display: grid; place-items: center;
  transition: border-color .4s var(--ease);
}
.step__node::after { content: ""; width: 5px; height: 5px; background: var(--text-on-light); transition: background-color .4s var(--ease); }
.process.is-in .step__node { border-color: var(--brand); }
.process.is-in .step__node::after { background: var(--brand); }
.process.is-in .step:nth-child(2) .step__node, .process.is-in .step:nth-child(2) .step__node::after { transition-delay: .6s; }
.process.is-in .step:nth-child(3) .step__node, .process.is-in .step:nth-child(3) .step__node::after { transition-delay: 1.1s; }
.step__num { margin-top: 36px; font-family: var(--font-mono); font-size: 13px; color: var(--brand-deep); letter-spacing: .06em; }
.step__title { margin-top: 14px; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; text-transform: uppercase; }
.step__text { margin-top: 18px; color: var(--text-on-light-2); max-width: 22em; }

@media (max-width: 820px) {
  .process { padding-left: 36px; }
  .process__steps { grid-template-columns: 1fr; gap: 48px; }
  .process__track { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .process__track::after { transform: scaleY(0); transform-origin: top; }
  .process.is-in .process__track::after { transform: scaleY(1); }
  .step { padding-right: 0; }
  .step__node { position: absolute; left: -36px; top: 2px; }
  .step__num { margin-top: 0; }
}

/* ==========================================================================
   Why ATS
   ========================================================================== */
.why { border-top: 1px solid var(--line-light); }
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.why__copy .h2 { margin-top: 28px; }
.why__body { margin-top: 32px; display: grid; gap: 18px; max-width: 32em; color: var(--text-on-light-2); font-size: clamp(17px, 1.4vw, 18px); }
.why__body p:first-child { color: var(--text-on-light); font-weight: 500; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.45; letter-spacing: -0.01em; }

.why__figure {
  position: relative; aspect-ratio: 5 / 4;
  border: 1px solid var(--line-light);
  background:
    linear-gradient(var(--line-light) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line-light) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--light-raised);
  background-blend-mode: normal;
}
.why__figure::before { /* soften grid */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(closest-side, rgba(255,255,255,0.35), rgba(255,255,255,0.85));
}
.why__figure svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.why__figure .tangle path { fill: none; stroke: var(--text-on-light); stroke-opacity: .28; stroke-width: 1.2; }
.why__figure .tangle path.hl { stroke: var(--brand); stroke-opacity: 1; stroke-width: 2; }
.why__figure .draw path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease-out); }
.why__figure.is-in .draw path { stroke-dashoffset: 0; }
.why__figure .gate { fill: var(--light-raised); stroke: var(--text-on-light); stroke-width: 1; }
.why__caption {
  position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-light-2);
}
.why__caption span:last-child { color: var(--brand-deep); }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Currently building
   ========================================================================== */
.building__status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-on-dark-2);
  padding: 8px 12px; border: 1px solid var(--line-dark-2); border-radius: 2px;
}
.pulse { position: relative; width: 7px; height: 7px; background: var(--brand); border-radius: 50%; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--brand); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }

.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.area { padding: clamp(28px, 3vw, 40px) clamp(20px, 2.6vw, 36px) 0 0; }
.area + .area { padding-left: clamp(20px, 2.6vw, 36px); border-left: 1px solid var(--line-dark); }
.area__head { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--text-on-dark-3); }
.area__bar { flex: 1; height: 2px; background: var(--line-dark); position: relative; overflow: hidden; }
.area__bar::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 34%;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: scan 3.6s var(--ease) infinite;
}
.area:nth-child(2) .area__bar::after { animation-delay: 1.2s; }
.area:nth-child(3) .area__bar::after { animation-delay: 2.4s; }
@keyframes scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
.area__title { margin-top: 36px; font-size: clamp(20px, 2vw, 24px); font-weight: 600; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.15; }
.area__text { margin-top: 12px; color: var(--text-on-dark-2); font-size: 16px; max-width: 24em; }
.building__more {
  margin-top: clamp(56px, 7vw, 88px); padding-top: 24px; border-top: 1px dashed var(--line-dark-2);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-on-dark-2);
}
.caret { width: 8px; height: 15px; background: var(--brand); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 820px) {
  .areas { grid-template-columns: 1fr; border-top: 0; }
  .area, .area + .area { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .area__title { margin-top: 20px; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.about__title { font-size: clamp(44px, 7.4vw, 112px); font-weight: 700; line-height: .92; letter-spacing: -0.05em; text-transform: uppercase; }
.about__title .dot { color: var(--brand); }
.about__body { display: grid; gap: 20px; color: var(--text-on-light-2); font-size: clamp(17px, 1.4vw, 19px); padding-top: 8px; }
.about__body p:first-child { color: var(--text-on-light); font-size: clamp(20px, 1.9vw, 24px); font-weight: 500; line-height: 1.4; letter-spacing: -0.015em; }
.about__facts { margin-top: 20px; border-top: 1px solid var(--line-light); }
.about__facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; }
.about__facts li span:first-child { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-on-light-2); padding-top: 2px; }
.about__facts li span:last-child { color: var(--text-on-light); text-align: right; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% 110%, rgba(9,139,234,0.16), transparent 65%),
    var(--navy);
}
.contact__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--line-dark) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 100%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 80% 100%, #000 10%, transparent 70%);
  opacity: .7;
}
.contact .container { position: relative; }
.contact__title {
  margin-top: 28px;
  font-size: clamp(40px, 7vw, 104px);
  font-weight: 700; line-height: .95; letter-spacing: -0.05em; text-transform: uppercase;
  max-width: 13em; text-wrap: balance;
}
.contact__row {
  margin-top: clamp(40px, 5vw, 56px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.contact__row .lede { max-width: 26em; }
.channels { margin-top: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.channel {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  padding: 28px 0; border-bottom: 1px solid var(--line-dark);
  transition: color .25s var(--ease);
}
.channel + .channel { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.channel:not(:last-child) { padding-right: 32px; }
.channel__label { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-dark-3); margin-bottom: 10px; }
.channel__value { font-size: clamp(18px, 2vw, 26px); font-weight: 500; letter-spacing: -0.02em; word-break: break-word; }
.channel__arrow {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line-dark-2); border-radius: 2px;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease-out);
}
.channel__arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.channel:hover .channel__arrow { background: var(--brand); border-color: var(--brand); }
.channel:hover .channel__arrow svg { transform: translate(2px, -2px); }
@media (max-width: 720px) {
  .contact__row .btn { width: 100%; }
  .channels { grid-template-columns: 1fr; }
  .channel + .channel { padding-left: 0; border-left: 0; }
  .channel:not(:last-child) { padding-right: 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-deep); padding-top: clamp(64px, 8vw, 96px); border-top: 1px solid var(--line-dark); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 48px; padding-bottom: clamp(48px, 6vw, 72px); }
.footer__logo { width: 180px; height: auto; }
.footer__tagline { margin-top: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-on-dark-3); line-height: 1.9; }
.footer__tagline strong { display: block; color: var(--text-on-dark); font-weight: 500; }
.footer__col h3 { font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-dark-3); margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 12px; font-size: 15px; color: var(--text-on-dark-2); }
.footer__col a:hover { color: var(--text-on-dark); }
.footer__col li span { color: var(--text-on-dark-3); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-block: 24px 32px; border-top: 1px solid var(--line-dark);
  font-size: 13px; color: var(--text-on-dark-3);
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a:hover { color: var(--text-on-dark); }
@media (max-width: 820px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__logo { width: 150px; }
}
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; gap: 40px; } }

/* ==========================================================================
   Placeholder legal pages
   ========================================================================== */
.legal { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.legal main { flex: 1; padding-top: calc(var(--nav-h) + clamp(64px, 12vh, 140px)); padding-bottom: var(--section-y); }
.legal .nav { background: rgba(11, 19, 34, 0.9); border-bottom-color: var(--line-dark); }
.legal h1 { margin-top: 28px; font-size: clamp(44px, 8vw, 104px); font-weight: 700; line-height: .95; letter-spacing: -0.05em; text-transform: uppercase; }
.legal__note { margin-top: 40px; max-width: 36em; padding: 24px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); color: var(--text-on-dark-2); display: grid; gap: 12px; }
.legal__note a { color: var(--text-on-dark); }
.legal__back { margin-top: 40px; }
.legal__meta { margin-top: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-on-dark-3); }

.legal__layout { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--nav-h) + 32px); border-top: 1px solid var(--line-dark); padding-top: 20px; }
.legal__toc p { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-dark-3); margin-bottom: 14px; }
.legal__toc ol { display: grid; gap: 10px; font-size: 14px; color: var(--text-on-dark-2); counter-reset: toc; }
.legal__toc a:hover { color: var(--text-on-dark); }
@media (max-width: 900px) { .legal__layout { grid-template-columns: 1fr; } .legal__toc { display: none; } }

.prose { max-width: 42em; color: var(--text-on-dark-2); font-size: 16.5px; line-height: 1.7; }
.prose > * + * { margin-top: 16px; }
.prose h2 {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  color: var(--text-on-dark); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.prose h2:first-child { margin-top: 0; }
.prose h2 span { font-family: var(--font-mono); font-size: 13px; font-weight: 400; color: var(--brand); margin-right: 12px; letter-spacing: .04em; }
.prose h3 { margin-top: 28px; color: var(--text-on-dark); font-size: 17px; font-weight: 600; }
.prose ul { display: grid; gap: 10px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 3px; background: var(--brand); transform: skewX(-52deg); }
.prose strong { color: var(--text-on-dark); font-weight: 500; }
.prose a { color: var(--text-on-dark); text-decoration: underline; text-decoration-color: var(--line-dark-2); text-underline-offset: 3px; transition: text-decoration-color .2s var(--ease); }
.prose a:hover { text-decoration-color: var(--brand); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 20px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line-dark); }
.prose th { font-family: var(--font-mono); font-size: 11.5px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--text-on-dark-3); }
.prose td:first-child { color: var(--text-on-dark); width: 42%; }
@media (max-width: 560px) {
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100% !important; }
  .prose thead { display: none; }
  .prose tr { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .prose td { border: 0; padding: 2px 0; }
}

/* ==========================================================================
   Motion
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }

.js .hero__title .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.js .hero__title .line:nth-child(2) > span { transition-delay: .09s; }
.js .hero__title .line:nth-child(3) > span { transition-delay: .18s; }
.js .is-loaded .hero__title .line > span { transform: none; }
.js .hero__fade { opacity: 0; transform: translateY(12px); transition: opacity 1s var(--ease-out) .45s, transform 1s var(--ease-out) .45s; }
.js .hero__fade--late { transition-delay: .6s; }
.js .is-loaded .hero__fade { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero__fade, .js .hero__title .line > span { opacity: 1; transform: none; }
}
