/* Nametank site styles. Tokens from nametank-tokens.css v1.0; components from mockups/contact.html v1. */
/* ===== Tokens ===== */
@font-face { font-family: "Clash Grotesk"; src: url("/fonts/ClashGrotesk-Variable.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/fonts/Switzer-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/fonts/Switzer-VariableItalic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/JetBrainsMono-Variable-latin.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; } /* self-hosted: no third-party requests */

:root {
  --nt-ink: #101216;
  --nt-ink-800: #1E2024;
  --nt-ink-700: #323437;
  --nt-steel-500: #656667;
  --nt-steel-400: #838484;
  --nt-stone-200: #C5C5C2;
  --nt-stone-100: #DFDEDA;
  --nt-paper: #F4F3EE;
  --nt-signal: #FF4D1A;
  --nt-signal-deep: #C8380C;

  --nt-bg: var(--nt-ink);
  --nt-surface: #1A1C20;
  --nt-line: #2C2E32;
  --nt-text: var(--nt-paper);
  --nt-text-muted: #A3A4A2;
  --nt-accent: var(--nt-signal);
  --nt-accent-text: var(--nt-signal);
  --nt-on-accent: var(--nt-ink);

  --nt-font-display: "Clash Grotesk", "Arial Narrow", Arial, sans-serif;
  --nt-font-body: "Switzer", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --nt-font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --nt-size-display: clamp(2.75rem, 6vw, 5rem);
  --nt-size-h1: clamp(2.25rem, 4.5vw, 3.25rem);
  --nt-size-h2: 2.25rem;
  --nt-size-h3: 1.5rem;
  --nt-size-lead: 1.3125rem;
  --nt-size-body: 1.0625rem;
  --nt-size-small: 0.875rem;
  --nt-size-label: 0.75rem;
  --nt-size-data: 0.875rem;

  --nt-lean: 10deg;

  /* Build-level additions (not brand tokens) */
  --nt-gutter: 1.25rem;          /* 20px phone */
  --nt-max: 90rem;               /* 1440px */
  --nt-header-h: 4.25rem;        /* 68px phone */
  --nt-radius: 4px;
  --nt-ease: 180ms ease;
}
@media (min-width: 56.25em) {    /* 900px: desktop header, two-column layouts */
  :root { --nt-gutter: 4rem; --nt-header-h: 4.75rem; }
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nt-bg);
  color: var(--nt-text);
  font-family: var(--nt-font-body);
  font-size: var(--nt-size-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Footer stays at the bottom of the viewport on short pages */
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100dvh;
}
body > main { flex: 1 0 auto; }
h1, h2, h3 { margin: 0; font-family: var(--nt-font-display); text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--nt-signal); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--nt-gutter); top: -100px; z-index: 100;
  padding: 0.75rem 1rem; background: var(--nt-accent); color: var(--nt-on-accent);
  border-radius: var(--nt-radius); font-weight: 500;
}
.skip-link:focus { top: 0.75rem; }

.wrap { width: 100%; max-width: var(--nt-max); margin-inline: auto; padding-inline: var(--nt-gutter); }

/* Mono label with the skewed signal tick */
.label {
  display: flex; align-items: center; gap: 0.625rem;
  font-family: var(--nt-font-mono); font-size: var(--nt-size-label); font-weight: 500;
  line-height: 1.33; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nt-text-muted);
}
.label--tick::before {
  content: ""; flex: none; width: 4px; height: 14px; background: var(--nt-signal);
  transform: skewX(calc(var(--nt-lean) * -1));
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0 1.25rem; border-radius: var(--nt-radius);
  font-family: var(--nt-font-body); font-size: 0.9375rem; font-weight: 500; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color var(--nt-ease), border-color var(--nt-ease), color var(--nt-ease);
}
.btn--primary { background: var(--nt-accent); color: var(--nt-on-accent); }
.btn--primary:hover { background: color-mix(in srgb, var(--nt-signal) 86%, var(--nt-paper)); }
.btn--secondary { background: transparent; border-color: var(--nt-text); color: var(--nt-text); }
.btn--secondary:hover { border-color: var(--nt-signal); color: var(--nt-signal); }
.btn[disabled] { cursor: progress; opacity: 0.75; }

/* ===== Header (desktop Header A, phone Header C) ===== */
.site-header { border-bottom: 1px solid var(--nt-line); }
.site-header__bar { height: var(--nt-header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header__bar { padding-right: calc(var(--nt-gutter) - 4px); }
@media (min-width: 56.25em) { .site-header__bar { padding-right: var(--nt-gutter); } }

.logo-link { display: flex; align-items: center; min-height: 44px; }
.logo-link svg { height: 24px; width: auto; }
@media (min-width: 56.25em) { .logo-link svg { height: 28px; } }

.site-nav { display: none; }
@media (min-width: 56.25em) {
  .site-nav { display: flex; align-items: center; gap: 2.5rem; }
}
.site-nav a:not(.btn) {
  display: flex; align-items: center; min-height: 44px;
  font-size: 0.9375rem; font-weight: 500; transition: color var(--nt-ease);
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { color: var(--nt-accent-text); }

.menu-btn {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--nt-ink-700); border-radius: var(--nt-radius); cursor: pointer;
}
@media (min-width: 56.25em) { .menu-btn { display: none; } }

/* Phone menu: bottom sheet */
.sheet {
  position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: 100%; max-height: 92dvh;
  border: 0; border-top: 1px solid var(--nt-ink-700); border-radius: 16px 16px 0 0;
  background: var(--nt-surface); color: var(--nt-text);
  padding: 0.625rem var(--nt-gutter) calc(2.125rem + env(safe-area-inset-bottom));
}
.sheet::backdrop { background: rgba(5, 6, 8, 0.6); }
.sheet[open] { animation: sheet-up 200ms ease-out; }
@keyframes sheet-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet__grip { width: 40px; height: 4px; margin: 0 auto 0.375rem; border-radius: 2px; background: #4A4C50; }
.sheet__top { height: 52px; display: flex; align-items: center; justify-content: space-between; }
.sheet__top svg { height: 24px; width: auto; }
.sheet__close {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer; margin-right: -10px;
}
.sheet__nav { display: flex; flex-direction: column; margin-top: 0.375rem; }
.sheet__nav a {
  min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid var(--nt-line); font-size: 1.25rem; font-weight: 500;
}
.sheet__nav a[aria-current="page"] { color: var(--nt-accent-text); }
.sheet__meta { font-family: var(--nt-font-mono); font-size: 0.6875rem; font-weight: 400; color: var(--nt-text-muted); }
.sheet__tick { width: 4px; height: 16px; background: var(--nt-signal); transform: skewX(calc(var(--nt-lean) * -1)); }
.sheet__email {
  display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 1.125rem;
  font-family: var(--nt-font-mono); font-size: var(--nt-size-data); color: var(--nt-text-muted);
}
.sheet__email:hover { color: var(--nt-accent-text); }

/* ===== Contact page ===== */
.contact { padding-block: 2.75rem 3.5rem; }
@media (min-width: 56.25em) { .contact { padding-block: 6rem 7.5rem; } }

.contact__grid { display: flex; flex-direction: column; gap: 2.25rem; }
@media (min-width: 56.25em) {
  .contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr);
    grid-template-rows: repeat(4, auto) 1fr;
    column-gap: 1.5rem; row-gap: 3rem;
    grid-template-areas:
      "intro   . form"
      "email   . form"
      "offices . form"
      "links   . form"
      ".       . form";
  }
  .contact__intro { grid-area: intro; }
  .contact__email { grid-area: email; }
  .contact__offices { grid-area: offices; }
  .contact__links { grid-area: links; }
  .contact__form { grid-area: form; align-self: start; }
}

.contact__intro { display: flex; flex-direction: column; gap: 1.125rem; }
.contact__intro h1 { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 600; line-height: 0.95; letter-spacing: -0.02em; }
.contact__lead { font-size: 1.125rem; line-height: 1.5; color: var(--nt-stone-200); max-width: 29rem; }
@media (min-width: 56.25em) {
  .contact__intro { gap: 1.375rem; }
  .contact__lead { font-size: var(--nt-size-lead); }
}

/* Email: card on phone, big link on desktop */
.contact__email {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  min-height: 64px; padding: 0.75rem 1.125rem;
  background: var(--nt-surface); border: 1px solid var(--nt-ink-700); border-radius: var(--nt-radius);
  transition: border-color var(--nt-ease);
}
.contact__email:hover { border-color: var(--nt-signal); }
.contact__email-text { display: flex; flex-direction: column; gap: 0.125rem; min-width: 0; }
.contact__email-addr { font-size: 1.125rem; font-weight: 600; overflow-wrap: anywhere; }
.contact__email .label { font-size: 0.625rem; }
@media (min-width: 56.25em) {
  .contact__email { justify-content: flex-start; min-height: 0; padding: 0; background: none; border: 0; }
  .contact__email-text { gap: 0.5rem; }
  .contact__email .label { font-size: 0.6875rem; }
  .contact__email-addr {
    display: inline-flex; align-items: center; gap: 0.75rem; min-height: 44px;
    font-family: var(--nt-font-display); font-size: 2rem; font-weight: 500; letter-spacing: -0.01em;
    transition: color var(--nt-ease);
  }
  .contact__email:hover .contact__email-addr { color: var(--nt-accent-text); }
  .contact__email > .contact__arrow { display: none; }
}
.contact__arrow { flex: none; }
.contact__email-addr .contact__arrow { display: none; }
@media (min-width: 56.25em) { .contact__email-addr .contact__arrow { display: block; } }

/* Offices */
.contact__offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 56.25em) { .contact__offices { gap: 1.5rem; border-top: 1px solid var(--nt-line); padding-top: 1.75rem; } }
.office { display: flex; flex-direction: column; gap: 0.25rem; }
.office .label { font-size: 0.625rem; }
.office__city { font-family: var(--nt-font-display); font-size: 1.5rem; font-weight: 500; line-height: 1.1; }
.office__state { font-size: 0.875rem; color: var(--nt-stone-200); }
.office__tz { font-family: var(--nt-font-mono); font-size: 0.6875rem; color: var(--nt-text-muted); }
@media (min-width: 56.25em) {
  .office { gap: 0.375rem; }
  .office .label { font-size: 0.6875rem; }
  .office__city { font-size: 1.75rem; }
  .office__state { font-size: 0.9375rem; }
  .office__tz { font-size: 0.75rem; }
}

/* Next-step links */
.contact__links { display: flex; flex-direction: column; border-top: 1px solid var(--nt-line); }
.next-link {
  min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 0.75rem; border-bottom: 1px solid var(--nt-line);
}
.next-link__text { display: flex; flex-direction: column; gap: 0.125rem; }
.next-link__title { font-size: var(--nt-size-body); font-weight: 500; }
.next-link__sub { font-size: 0.875rem; color: var(--nt-text-muted); }
.next-link svg { flex: none; transition: transform var(--nt-ease); }
.next-link:hover .next-link__title { color: var(--nt-accent-text); }
.next-link:hover svg { transform: translateX(3px); }
@media (min-width: 56.25em) { .next-link__sub { font-size: 0.9375rem; } }

/* Form panel */
.contact__form {
  --field-bg: var(--nt-surface);
  display: flex; flex-direction: column; gap: 1.25rem;
  border-top: 1px solid var(--nt-line); padding-top: 2rem;
}
@media (min-width: 56.25em) {
  .contact__form {
    --field-bg: var(--nt-bg);
    gap: 1.5rem; padding: 2.75rem;
    background: var(--nt-surface); border: 1px solid var(--nt-line); border-radius: var(--nt-radius);
  }
}
.contact__form h2 { font-size: 1.625rem; font-weight: 500; line-height: 1.1; }
@media (min-width: 56.25em) { .contact__form h2 { font-size: 1.75rem; } }

.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 56.25em) { .form-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label, .topic legend { font-size: 0.875rem; font-weight: 500; color: var(--nt-stone-200); }
.field__opt { color: var(--nt-steel-400); font-weight: 400; }
.field input, .field textarea {
  width: 100%; height: 52px; padding: 0 1rem;
  background: var(--field-bg); color: var(--nt-text);
  border: 1px solid var(--nt-ink-700); border-radius: var(--nt-radius);
  font-size: 1rem; /* 16px keeps iOS from zooming */
  transition: border-color var(--nt-ease);
}
.field textarea { height: auto; min-height: 150px; padding: 0.875rem 1rem; line-height: 1.5; resize: vertical; }
@media (min-width: 56.25em) { .field textarea { min-height: 180px; } }
.field input:hover, .field textarea:hover { border-color: var(--nt-steel-500); }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 0; border-color: var(--nt-signal); }
.field [aria-invalid="true"] { border-color: var(--nt-signal); }
.field__error { font-size: 0.875rem; line-height: 1.4; color: var(--nt-accent-text); }
.field__error:empty { display: none; }

/* Topic picker */
.topic { margin: 0; padding: 0; border: 0; min-width: 0; }
.topic legend { padding: 0; margin-bottom: 0.625rem; }
.topic__options {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.375rem;
  padding: 4px; background: var(--nt-surface); border: 1px solid var(--nt-line); border-radius: 6px;
}
@media (min-width: 56.25em) {
  .topic__options { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.625rem; padding: 0; background: none; border: 0; }
}
.topic__opt {
  position: relative; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 0.625rem;
  padding: 0 0.5rem; border-radius: var(--nt-radius); cursor: pointer;
  font-size: 0.875rem; font-weight: 600; color: var(--nt-stone-200);
  transition: background-color var(--nt-ease), border-color var(--nt-ease), color var(--nt-ease);
}
.topic__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.topic__opt:has(input:checked) { background: var(--nt-accent); color: var(--nt-on-accent); }
.topic__opt:has(input:focus-visible) { outline: 2px solid var(--nt-signal); outline-offset: 3px; }
.topic__dot { display: none; }
@media (min-width: 56.25em) {
  .topic__opt { font-size: 0.9375rem; font-weight: 500; background: var(--field-bg); border: 1px solid var(--nt-ink-700); }
  .topic__opt:hover { border-color: var(--nt-steel-500); }
  .topic__opt:has(input:checked) { background: var(--field-bg); border-color: var(--nt-signal); color: var(--nt-text); }
  .topic__dot { display: block; flex: none; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--nt-steel-500); }
  .topic__opt:has(input:checked) .topic__dot { background: var(--nt-signal); box-shadow: none; }
}

.topic-note {
  display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.875rem 1rem;
  background: var(--field-bg); border: 1px solid var(--nt-line); border-radius: var(--nt-radius);
}
.topic-note::before {
  content: ""; flex: none; width: 4px; height: 16px; margin-top: 3px; background: var(--nt-signal);
  transform: skewX(calc(var(--nt-lean) * -1));
}
.topic-note p { font-size: 0.9375rem; line-height: 1.5; color: var(--nt-stone-200); }

.form-foot { display: flex; flex-direction: column-reverse; gap: 1.25rem; }
@media (min-width: 56.25em) { .form-foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem; } }
.form-foot__privacy { font-size: var(--nt-size-small); line-height: 1.5; color: var(--nt-text-muted); max-width: 22.5rem; }
.form-foot__privacy a { color: var(--nt-text); text-decoration: underline; text-underline-offset: 2px; }
.form-foot__privacy a:hover { color: var(--nt-accent-text); }
.form-foot .btn { min-height: 56px; width: 100%; padding: 0 1.75rem; font-size: 1rem; font-weight: 600; }
@media (min-width: 56.25em) { .form-foot .btn { min-height: 52px; width: auto; flex: none; } }

.form-alert {
  display: flex; gap: 0.75rem; padding: 0.875rem 1rem; border: 1px solid var(--nt-signal); border-radius: var(--nt-radius);
  font-size: 0.9375rem; line-height: 1.5;
}
.form-alert[hidden] { display: none; }
.form-alert a { text-decoration: underline; text-underline-offset: 2px; }

.form-success { display: flex; flex-direction: column; gap: 1rem; }
.form-success[hidden] { display: none; }
.form-success h2 { display: flex; align-items: center; gap: 0.75rem; }
.form-success p { color: var(--nt-stone-200); line-height: 1.6; }
.form-success a { color: var(--nt-accent-text); text-decoration: underline; text-underline-offset: 2px; }

.form-body, .form-stack { display: flex; flex-direction: column; gap: inherit; }
.form-body[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== Footer (Footer A) ===== */
.site-footer { border-top: 1px solid var(--nt-line); }
.site-footer__main { display: flex; flex-direction: column; gap: 2.25rem; padding-block: 3rem 0; }
@media (min-width: 56.25em) {
  .site-footer__main {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; padding-block: 4.5rem 4rem;
  }
  .site-footer__brand { grid-column: span 5; }
  .site-footer__company { grid-column: 7 / span 2; }
  .site-footer__contact { grid-column: span 4; }
}
.site-footer__brand { display: flex; flex-direction: column; gap: 1.125rem; }
.site-footer__brand svg { width: 220px; height: auto; }
@media (min-width: 56.25em) { .site-footer__brand { gap: 1.375rem; } .site-footer__brand svg { width: 280px; } }
.site-footer__line { font-size: 1rem; line-height: 1.55; color: var(--nt-stone-200); max-width: 22.5rem; }
@media (min-width: 56.25em) { .site-footer__line { font-size: var(--nt-size-body); line-height: 1.6; } }

.site-footer__col { display: flex; flex-direction: column; }
.site-footer__col .label { font-size: 0.6875rem; margin-bottom: 0.5rem; }
.site-footer__col a, .site-footer__col span.footer-item { font-size: 0.9375rem; }
.site-footer__col a:hover { color: var(--nt-accent-text); }

/* Company links: big rows on phone, plain list on desktop */
.site-footer__company .label { display: none; }
.site-footer__company ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nt-line); }
.site-footer__company li a {
  min-height: 56px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--nt-line); font-size: var(--nt-size-body); font-weight: 500;
}
@media (min-width: 56.25em) {
  .site-footer__company .label { display: flex; }
  .site-footer__company ul { border-top: 0; display: flex; flex-direction: column; gap: 0.875rem; }
  .site-footer__company li a { min-height: 0; border-bottom: 0; font-size: 0.9375rem; font-weight: 400; }
  .site-footer__company li a svg { display: none; }
}
.site-footer__contact { gap: 0.375rem; }
.site-footer__contact a { min-height: 44px; display: flex; align-items: center; overflow-wrap: anywhere; }
.footer-item { color: var(--nt-stone-200); }
@media (min-width: 56.25em) {
  .site-footer__contact { gap: 0.875rem; }
  .site-footer__contact .label { margin-bottom: -0.375rem; }
  .site-footer__contact a { min-height: 0; }
}

.site-footer__legal {
  display: flex; flex-direction: column-reverse; gap: 0.75rem;
  margin-top: 2.25rem; padding-block: 1.25rem calc(2.125rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--nt-line);
  font-family: var(--nt-font-mono); font-size: 0.75rem; color: var(--nt-text-muted);
}
.site-footer__legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.site-footer__legal a { min-height: 44px; display: flex; align-items: center; }
.site-footer__legal a:hover { color: var(--nt-text); }
@media (min-width: 56.25em) {
  .site-footer__legal { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 0; padding-block: 0; min-height: 76px; }
  .site-footer__legal ul { gap: 1.75rem; }
}

/* ===== Docked phone buttons (every page except Contact) ===== */
.dock {
  position: fixed; inset: auto 0 0 0; z-index: 20;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem;
  padding: 0.75rem var(--nt-gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--nt-bg) 92%, transparent);
  border-top: 1px solid var(--nt-line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.dock .btn { min-height: 48px; }
.has-dock .site-footer__legal { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
@media (min-width: 56.25em) {
  .dock { display: none; }
  .has-dock .site-footer__legal { padding-bottom: 0; }
}

/* ===== 404 ===== */
.notfound { padding-block: 5rem 6rem; }
.notfound__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; max-width: 40rem; }
.notfound h1 { font-size: var(--nt-size-h1); font-weight: 600; line-height: 1; letter-spacing: -0.015em; }
.notfound p { color: var(--nt-stone-200); }
@media (min-width: 56.25em) { .notfound { padding-block: 8rem 10rem; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* =====================================================================
   NEW for Home, About, Work with us, Partner with us, legal pages, 404.
   Append to site.css as is. Uses only existing tokens and the 900px
   (56.25em) breakpoint. Nothing above this line in site.css changes.
   ===================================================================== */

/* ===== Buttons on signal grounds ===== */
/* Paper text on signal is not allowed, so buttons inside the band are ink. */
.btn--ink { background: var(--nt-ink); color: var(--nt-paper); }
.btn--ink:hover { background: var(--nt-ink-800); }
.btn--lg { min-height: 52px; padding: 0 1.75rem; font-size: 1rem; font-weight: 600; }
.btn__arrow { flex: none; transition: transform var(--nt-ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ===== Page hero (inner pages) ===== */
.page-hero { padding-block: 2.75rem 3rem; }
.page-hero__inner { display: flex; flex-direction: column; gap: 1.125rem; max-width: 56rem; }
.page-hero h1 { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 600; line-height: 0.95; letter-spacing: -0.02em; }
.page-hero__lead { font-size: 1.125rem; line-height: 1.5; color: var(--nt-stone-200); max-width: 36rem; }
@media (min-width: 56.25em) {
  .page-hero { padding-block: 6rem 5rem; }
  .page-hero__inner { gap: 1.375rem; }
  .page-hero__lead { font-size: var(--nt-size-lead); }
}

/* ===== Spec section: label and heading left, body right ===== */
/* Same 5 / 1 / 6 split as the contact page, so every page shares one rhythm. */
.section { border-top: 1px solid var(--nt-line); padding-block: 3rem; }
.section__grid { display: flex; flex-direction: column; gap: 1.5rem; }
.section__head { display: flex; flex-direction: column; gap: 1rem; }
.section__head h2 { font-size: 2rem; font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
.section__body { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.section__body > p { color: var(--nt-stone-200); max-width: 40rem; }
.section__body h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.15; margin-top: 0.75rem; }
@media (min-width: 56.25em) {
  .section { padding-block: 5.5rem; }
  .section__grid {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr);
    column-gap: 1.5rem; align-items: start;
  }
  .section__head { grid-column: 1; gap: 1.25rem; }
  .section__head h2 { font-size: var(--nt-size-h2); }
  .section__body { grid-column: 3; }
}

/* Statement: one big paragraph, used where a section has no heading */
.statement { font-size: 1.25rem; line-height: 1.45; color: var(--nt-text); max-width: 46rem; }
.statement + .statement { margin-top: 1rem; }
@media (min-width: 56.25em) { .statement { font-size: 1.625rem; line-height: 1.4; } }

/* ===== Spec list: rows with a tick, name, and mono meta ===== */
.spec-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nt-line); }
.spec-list li {
  min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 0.75rem; border-bottom: 1px solid var(--nt-line);
}
.spec-list__name { display: flex; align-items: center; gap: 0.875rem; font-weight: 500; }
.spec-list__name::before {
  content: ""; flex: none; width: 4px; height: 14px; background: var(--nt-signal);
  transform: skewX(calc(var(--nt-lean) * -1));
}
.spec-list__meta {
  flex: none; font-family: var(--nt-font-mono); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--nt-text-muted); text-align: right;
}

/* ===== Data strip (Home) ===== */
.data-strip { border-block: 1px solid var(--nt-line); }
.data-strip__list { margin: 0; display: grid; }
.data-strip__item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-block: 1.25rem; border-bottom: 1px solid var(--nt-line);
}
.data-strip__item:last-child { border-bottom: 0; }
.data-strip__value {
  margin: 0; font-family: var(--nt-font-mono); font-weight: 500; font-size: 2rem; line-height: 1;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--nt-text);
}
@media (min-width: 56.25em) {
  .data-strip__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .data-strip__item {
    flex-direction: column-reverse; align-items: flex-start; justify-content: flex-end; gap: 1rem;
    padding: 2.75rem 0 2.75rem 2rem; border-bottom: 0; border-left: 1px solid var(--nt-line);
  }
  .data-strip__item:first-child { padding-left: 0; border-left: 0; }
  .data-strip__value { font-size: 3.25rem; }
}

/* ===== Covered by (plain text press line: no logos, no links) ===== */
.press { display: flex; flex-direction: column; gap: 1.5rem; }
.press__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.press__list li {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--nt-font-display); font-size: 1.375rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em;
}
/* Phone: one outlet per line. Desktop: one line with skewed separators. */
.press__list { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
@media (min-width: 56.25em) {
  .press__list { flex-direction: row; align-items: center; }
  .press__list li:not(:last-child)::after {
    content: ""; flex: none; width: 3px; height: 0.9em; background: var(--nt-steel-500);
    transform: skewX(calc(var(--nt-lean) * -1));
  }
}
.press__more { color: var(--nt-text-muted); }
@media (min-width: 56.25em) {
  .press { gap: 2rem; }
  .press__list { gap: 0.75rem 1.5rem; }
  .press__list li { font-size: 2.25rem; gap: 1.5rem; }
}

/* ===== Partner band (signal ground) ===== */
.band { background: var(--nt-signal); color: var(--nt-ink); }
.band :focus-visible { outline-color: var(--nt-ink); }
.band__inner { padding-block: 3rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.band .label { color: var(--nt-ink); }
.band .label--tick::before { background: var(--nt-ink); }
.band__text { display: flex; flex-direction: column; gap: 1rem; }
.band h2 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 600; line-height: 1; letter-spacing: -0.015em; max-width: 16ch; }
.band__sub { font-size: var(--nt-size-body); line-height: 1.5; max-width: 32rem; }
.band .btn { width: 100%; }
@media (min-width: 56.25em) {
  .band__inner { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 3rem; padding-block: 5rem; }
  .band .btn { width: auto; flex: none; }
}

/* ===== Home ===== */
.home-hero { padding-block: 3rem 3.5rem; }
.home-hero__grid { display: flex; flex-direction: column; gap: 1.25rem; }
.home-hero__text { display: flex; flex-direction: column; gap: 1.25rem; }
.home-hero h1 { font-size: var(--nt-size-display); font-weight: 600; line-height: 0.95; letter-spacing: -0.02em; max-width: 13ch; }
.home-hero__lead { font-size: 1.125rem; line-height: 1.5; color: var(--nt-stone-200); max-width: 34rem; }
.home-hero__actions { display: none; }
.home-hero__mark { display: none; }
@media (min-width: 56.25em) {
  .home-hero { padding-block: 7rem 6rem; }
  .home-hero__grid {
    display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: 1.5rem; align-items: center;
  }
  .home-hero__text { gap: 1.5rem; }
  .home-hero__lead { font-size: var(--nt-size-lead); }
  /* Phone gets the same two actions in the dock, so the hero buttons are desktop only */
  .home-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.75rem; }
  .home-hero__mark { display: block; justify-self: end; width: min(100%, 17rem); height: auto; }
}

/* ===== Work with us: role rows ===== */
.stack { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 56.25em) { .stack { gap: 2rem; } }
.roles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nt-line); }
.role {
  display: grid; gap: 0.625rem; padding-block: 1.75rem; border-bottom: 1px solid var(--nt-line);
  grid-template-areas: "loc" "title" "desc" "apply";
}
.role__loc { grid-area: loc; }
.role__title { grid-area: title; font-size: 1.5rem; font-weight: 500; line-height: 1.15; }
.role__desc { grid-area: desc; color: var(--nt-stone-200); max-width: 38rem; }
.role__apply { grid-area: apply; justify-self: start; margin-top: 0.5rem; }
@media (min-width: 56.25em) {
  .role {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto;
    grid-template-areas: "title desc apply" "loc desc apply";
    grid-template-rows: auto 1fr;
    column-gap: 1.5rem; row-gap: 0.75rem; padding-block: 2.25rem; align-items: start;
  }
  .role__title { font-size: 1.75rem; }
  .role__apply { justify-self: end; margin-top: 0; }
}

.callout {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  padding: 1.5rem; background: var(--nt-surface); border: 1px solid var(--nt-line); border-radius: var(--nt-radius);
}
.callout__text { display: flex; flex-direction: column; gap: 0.5rem; }
.callout h3 { font-size: 1.5rem; font-weight: 500; line-height: 1.15; }
.callout p { color: var(--nt-stone-200); }
.callout .btn { width: 100%; }
@media (min-width: 56.25em) {
  .callout { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.25rem 2.5rem; }
  .callout .btn { width: auto; flex: none; }
}

/* ===== Partner with us: two ways in ===== */
.cards { display: grid; gap: 1rem; }
@media (min-width: 56.25em) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
.card {
  display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem;
  background: var(--nt-surface); border: 1px solid var(--nt-line); border-radius: var(--nt-radius);
}
.card h3 { margin: 0; font-size: 1.25rem; }
.card p { color: var(--nt-stone-200); font-size: 1rem; }

/* ===== Long-form text pages (Accessibility, Privacy, Terms) ===== */
.legal { padding-block: 0 4rem; }
.legal__grid { display: flex; flex-direction: column; }
.toc { display: none; }
@media (min-width: 56.25em) {
  .legal { padding-block: 0 7.5rem; }
  .legal__grid {
    display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr) minmax(0, 8fr);
    column-gap: 1.5rem; align-items: start;
  }
  .toc {
    grid-column: 1; position: sticky; top: 2rem;
    display: flex; flex-direction: column; gap: 0.25rem; padding-top: 2.5rem; border-top: 1px solid var(--nt-line);
  }
  .toc .label { margin-bottom: 0.75rem; }
  .toc a { min-height: 36px; display: flex; align-items: center; font-size: 0.9375rem; color: var(--nt-text-muted); transition: color var(--nt-ease); }
  .toc a:hover { color: var(--nt-text); }
  .legal .prose { grid-column: 3; }
}
.prose { max-width: 42rem; border-top: 1px solid var(--nt-line); padding-top: 2.5rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 3rem 0 1rem; font-size: 1.5rem; font-weight: 500; line-height: 1.15; scroll-margin-top: 1.5rem; }
.prose h3 { margin: 2rem 0 0.75rem; font-size: 1.1875rem; font-weight: 500; line-height: 1.2; }
.prose p { margin: 0 0 1rem; color: var(--nt-stone-200); }
.prose strong { color: var(--nt-text); font-weight: 600; }
.prose a { color: var(--nt-accent-text); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding: 0; list-style: none; }
.prose li { position: relative; margin-bottom: 0.625rem; color: var(--nt-stone-200); }
.prose ul > li { padding-left: 1.5rem; }
.prose ul > li::before {
  content: ""; position: absolute; left: 0.25rem; top: 0.5em; width: 4px; height: 12px;
  background: var(--nt-signal); transform: skewX(calc(var(--nt-lean) * -1));
}
.prose ol { counter-reset: item; }
.prose ol > li { counter-increment: item; padding-left: 2.25rem; }
.prose ol > li::before {
  content: counter(item, decimal-leading-zero); position: absolute; left: 0; top: 0.2em;
  font-family: var(--nt-font-mono); font-size: 0.75rem; color: var(--nt-text-muted);
}
.legal__meta {
  margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--nt-line);
  font-family: var(--nt-font-mono); font-size: var(--nt-size-data); color: var(--nt-text-muted);
}

/* ===== 404 (design pass, overrides the base 404 block) ===== */
.notfound__inner { gap: 1.25rem; }
.notfound h1 { font-size: clamp(3rem, 6vw, 4.5rem); line-height: 0.95; letter-spacing: -0.02em; }
.notfound__request {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem; width: 100%; margin-top: 0.75rem;
  padding: 1rem 1.125rem; background: var(--nt-surface); border: 1px solid var(--nt-line); border-radius: var(--nt-radius);
  font-family: var(--nt-font-mono); font-size: var(--nt-size-data); line-height: 1.5;
}
.notfound__method { color: var(--nt-accent-text); font-weight: 500; }
.notfound__path { color: var(--nt-text); overflow-wrap: anywhere; flex: 1 1 12rem; }
.notfound__status { color: var(--nt-text-muted); }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
