/* Declarative Ltd (declarative.nz)
   Corporate primitives from the Declarative Brand Guidelines. Do not alter.
   Theme: dark. Motion: CSS only (no script), all of it gated on prefers-reduced-motion. */

@font-face { font-family: "Oswald"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/oswald-300.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/oswald-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/montserrat-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/montserrat-600.woff2") format("woff2"); }

:root {
  /* Corporate primitives */
  --brand-charcoal: #58585B;
  --brand-orange: #F16521;
  --brand-orange-dark: #9F410C;
  --brand-red: #E41D32;

  /* Semantic roles, dark */
  --canvas: #09090B;
  --surface: #111113;
  --surface-raised: #17171A;
  --ink: #F4F4F5;            /* 18.9:1 on canvas */
  --ink-muted: #A1A1AA;      /* 7.9:1 on canvas */
  --ink-subtle: #8B8B93;     /* 5.9:1 on canvas, small labels only */
  --accent: var(--brand-orange); /* 6.4:1 on canvas, used for text and strokes */
  --on-accent: #0A0A0B;      /* dark ink on filled orange, 6.3:1 */
  --hairline: rgba(255, 255, 255, 0.08);   /* decorative dividers */
  --edge: rgba(255, 255, 255, 0.24);       /* interactive control edges, >3:1 */
  --focus: var(--brand-orange);

  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --measure: 60ch;
  --page: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--canvas); color: var(--ink); padding: 0.5rem 1rem; z-index: 50; }
.skip:focus { left: var(--gutter); top: 0.5rem; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(9, 9, 11, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { height: 1.45rem; width: auto; }
.brand-entity {
  font-family: var(--font-display); font-weight: 300; font-size: 1.05rem; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1;
  color: var(--ink-muted); padding-left: 0.85rem; border-left: 1px solid var(--edge); white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.site-nav ul a {
  font-size: 0.875rem; font-weight: 400; color: var(--ink-muted); text-decoration: none;
  transition: color 0.2s;
}
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; line-height: 1;
  padding: 0.75rem 1.1rem; border-radius: 4px; text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn-primary { background: var(--brand-orange); color: var(--on-accent); }
.btn-primary:hover { background: #FF7A3A; }
.btn-ghost { border: 1px solid var(--edge); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--hairline); }
.hero::before { /* architectural grid, faded at the edges */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero .wrap {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center; gap: 2rem; padding-block: clamp(4rem, 10vw, 8.5rem) clamp(4rem, 9vw, 7rem);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 1.75rem;
  font-family: var(--font-display); font-weight: 300; font-size: 0.95rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: var(--brand-orange); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--ink); line-height: 1.02; margin: 0; }
.hero h1 {
  font-size: clamp(2.5rem, 11.5vw, 6.25rem); text-transform: uppercase; letter-spacing: -0.005em;
  max-width: 11ch;
}
.hero h1 .accent { color: var(--accent); }
.hero .lede { margin: 1.75rem 0 0; max-width: 46ch; font-size: clamp(1rem, 1.4vw, 1.125rem); color: var(--ink-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

/* Chevron array: the brand chevron, repeated as an architectural form */
.chevrons { width: 100%; height: auto; overflow: visible; }
.chevrons .ch { fill: none; stroke: rgba(255,255,255,0.22); stroke-width: 1.5; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.chevrons .ch-front { stroke: var(--brand-orange); stroke-width: 3; }
.chevrons .signal { fill: none; stroke: #FFFFFF; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0; }
.chevrons .node { fill: var(--brand-orange); }
.chevrons .tick { fill: none; stroke: rgba(255,255,255,0.14); stroke-width: 1; vector-effect: non-scaling-stroke; }

/* ---------- Ticker ---------- */
.ticker { border-bottom: 1px solid var(--hairline); overflow: hidden; padding-block: 1.4rem; }
.ticker-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ticker-track { display: flex; width: max-content; }
.ticker ul { list-style: none; margin: 0; padding: 0; display: flex; }
.ticker li {
  display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem;
  font-family: var(--font-display); font-weight: 300; font-size: 1.35rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-subtle); white-space: nowrap;
}
.ticker li::after { content: ""; width: 6px; height: 6px; background: var(--brand-orange); transform: rotate(45deg); }
.ticker a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
.ticker a:hover, .ticker a:focus-visible { color: var(--ink); }

.chevrons .o1 { opacity: 0.95; } .chevrons .o2 { opacity: 0.8; } .chevrons .o3 { opacity: 0.66; }
.chevrons .o4 { opacity: 0.52; } .chevrons .o5 { opacity: 0.4; } .chevrons .o6 { opacity: 0.28; } .chevrons .o7 { opacity: 0.18; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); border-bottom: 1px solid var(--hairline); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: 3.5rem; }
.section-head h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); text-transform: uppercase; }
.section-head p { margin: 0; max-width: 46ch; color: var(--ink-muted); }
.kicker { display: block; margin-bottom: 1rem; font-family: var(--font-display); font-weight: 300; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

/* Capability grid */
.caps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden; }
.cap { background: var(--canvas); padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1.25rem; transition: background-color 0.3s; }
.cap:hover { background: var(--surface); }
.cap-fig { height: 168px; border: 1px solid var(--hairline); border-radius: 10px; background:
  radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0) 0 0 / 16px 16px, var(--surface);
  display: grid; place-items: center; overflow: hidden; }
.cap-fig svg { width: 100%; height: 100%; }
.cap-index { font-family: var(--font-display); font-weight: 300; font-size: 0.9rem; letter-spacing: 0.12em; color: var(--ink-subtle); }
.cap h3 { font-size: 1.75rem; text-transform: uppercase; letter-spacing: 0.01em; }
.cap p { margin: 0; color: var(--ink-muted); max-width: 48ch; }
.specs { list-style: none; margin: auto 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; gap: 0.5rem; }
.specs li {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink);
  padding: 0.3rem 0.6rem; border: 1px solid var(--edge); border-radius: 3px; background: rgba(255,255,255,0.02);
}

/* Figure styling (inline SVG, classes only: CSP forbids style attributes) */
.fig-line { fill: none; stroke: rgba(255,255,255,0.28); stroke-width: 1.25; }
.fig-faint { fill: none; stroke: rgba(255,255,255,0.12); stroke-width: 1; }
.fig-accent { fill: none; stroke: var(--brand-orange); stroke-width: 1.75; }
.fig-fill { fill: var(--brand-orange); }
.fig-text { font-family: var(--font-display); font-weight: 300; font-size: 11px; letter-spacing: 0.1em; fill: var(--ink-subtle); text-transform: uppercase; }
.fig-text-accent { fill: var(--accent); }
.seat { fill: rgba(255,255,255,0.03); stroke: rgba(255,255,255,0.2); stroke-width: 1; }
.plate { fill: rgba(17,17,19,0.92); stroke: rgba(255,255,255,0.3); stroke-width: 1; }
.plate-top { stroke: var(--brand-orange); }
.ui-bar { fill: rgba(255,255,255,0.14); }
.ui-bar-accent { fill: var(--brand-orange); }

/* Group strip */
.group { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding: clamp(1.75rem, 4vw, 2.75rem); border: 1px solid var(--hairline); border-radius: 14px; background: linear-gradient(135deg, rgba(241,101,33,0.08), transparent 55%), var(--surface); }
.group h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); text-transform: uppercase; }
.group p { margin: 0.75rem 0 0; color: var(--ink-muted); max-width: 56ch; }

/* Contact */
.contact h2.big { font-size: clamp(3rem, 9vw, 7.5rem); text-transform: uppercase; line-height: 0.95; }
.contact-grid { margin: 3rem 0 0; display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2rem 5rem; }
.contact-item dt { font-family: var(--font-display); font-weight: 300; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-subtle); margin-bottom: 0.4rem; }
.contact-item dd { margin: 0; }
.contact-item a {
  position: relative; display: inline-flex; align-items: center; gap: 0.45em;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3.2vw, 2.25rem); line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.contact-item a span { white-space: nowrap; }
.contact-icon {
  flex: none; width: 0.8em; height: 0.8em;
  fill: none; stroke: var(--brand-orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.contact-item a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.15rem; height: 2px;
  background: var(--brand-orange); transform-origin: left; transform: scaleX(0.25); transition: transform 0.45s var(--ease);
}
.contact-item a:hover::after, .contact-item a:focus-visible::after { transform: scaleX(1); }

/* Long-form pages */
.page-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--hairline); }
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 80% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 90% at 80% 0%, #000 10%, transparent 70%);
}
.page-head .wrap { position: relative; padding-block: clamp(3rem, 7vw, 5rem); }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 4rem); text-transform: uppercase; }
.page-head p { margin: 1rem 0 0; color: var(--ink-muted); font-size: 1.1rem; }
.prose { max-width: var(--measure); padding-block: clamp(2.5rem, 6vw, 4.5rem); color: #D4D4D8; }
.prose h2 { font-size: 1.6rem; margin: 2.75rem 0 0.75rem; text-transform: uppercase; letter-spacing: 0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.35rem; }
.prose li::marker { color: var(--accent); }
.prose .meta { color: var(--ink-subtle); font-size: 0.875rem; }

/* Footer */
.site-footer { font-size: 0.875rem; color: var(--ink-subtle); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 2.25rem; }
.site-footer p { margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.site-footer a { color: var(--ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Load sequence */
  .hero .eyebrow, .hero h1, .hero .lede, .hero-actions { animation: rise 0.9s var(--ease) both; }
  .hero h1 { animation-delay: 0.08s; }
  .hero .lede { animation-delay: 0.2s; }
  .hero-actions { animation-delay: 0.3s; }

  /* Chevrons draw in back to front, then a signal runs along the front edge */
  .chevrons .ch { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) forwards; }
  .chevrons .ch:nth-of-type(1) { animation-delay: 0.85s; }
  .chevrons .ch:nth-of-type(2) { animation-delay: 0.75s; }
  .chevrons .ch:nth-of-type(3) { animation-delay: 0.65s; }
  .chevrons .ch:nth-of-type(4) { animation-delay: 0.55s; }
  .chevrons .ch:nth-of-type(5) { animation-delay: 0.45s; }
  .chevrons .ch:nth-of-type(6) { animation-delay: 0.35s; }
  .chevrons .ch:nth-of-type(7) { animation-delay: 0.25s; }
  .chevrons .ch-front { animation-delay: 1s; animation-duration: 1.2s; }
  .chevrons .signal { stroke-dasharray: 0.08 0.92; stroke-dashoffset: 0.08; animation: signal 4.5s linear 2.4s infinite; }
  .chevrons .node { transform-box: fill-box; transform-origin: center; animation: pop 0.5s var(--ease) both, breathe 3s ease-in-out 2.2s infinite; }
  .chevrons .node { animation-delay: 1.9s, 2.4s; }
  .chevrons .tick { animation: fade 1.5s ease both 0.2s; }

  /* Ticker */
  .ticker-track { animation: marquee 48s linear infinite; }
  .ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }

  /* Figures */
  .seat-on { animation: seat 6s ease-in-out infinite; }
  .seat-on:nth-of-type(3n)   { animation-delay: 0.4s; }
  .seat-on:nth-of-type(3n+1) { animation-delay: 1.2s; }
  .seat-on:nth-of-type(4n)   { animation-delay: 2s; }
  .seat-on:nth-of-type(5n)   { animation-delay: 2.8s; }
  .packet { animation: travel 3.6s var(--ease) infinite; }
  .stage-dot { animation: stage 3.6s ease infinite; }
  .stage-dot:nth-of-type(2) { animation-delay: 1.2s; }
  .stage-dot:nth-of-type(3) { animation-delay: 2.4s; }
  .plate-g { animation: float 6s ease-in-out infinite; }
  .plate-g:nth-of-type(2) { animation-delay: -1s; }
  .plate-g:nth-of-type(3) { animation-delay: -2s; }
  .ui-bar, .ui-bar-accent { transform-box: fill-box; transform-origin: left center; animation: build 5s var(--ease) infinite; }
  .ui-row:nth-of-type(2) > * { animation-delay: 0.25s; }
  .ui-row:nth-of-type(3) > * { animation-delay: 0.5s; }
  .ui-row:nth-of-type(4) > * { animation-delay: 0.75s; }

  /* Scroll-triggered reveals: progressive enhancement, no script */
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% cover 28%; }
    .caps .cap:nth-child(2) { animation-range: entry 12% cover 34%; }
    .caps .cap:nth-child(4) { animation-range: entry 12% cover 34%; }
  }
}

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes signal { 0% { stroke-dashoffset: 0.08; opacity: 0; } 8% { opacity: 1; } 60% { opacity: 1; } 70%, 100% { stroke-dashoffset: -0.92; opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes seat { 0%, 15% { fill: rgba(255,255,255,0.03); stroke: rgba(255,255,255,0.2); } 25%, 80% { fill: var(--brand-orange); stroke: var(--brand-orange); } 90%, 100% { fill: rgba(255,255,255,0.03); stroke: rgba(255,255,255,0.2); } }
@keyframes travel { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(220px); opacity: 0; } }
@keyframes stage { 0%, 20% { fill: var(--surface); } 30%, 85% { fill: var(--brand-orange); } 100% { fill: var(--surface); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes build { 0% { transform: scaleX(0); opacity: 0; } 15% { transform: scaleX(1); opacity: 1; } 80% { transform: scaleX(1); opacity: 1; } 95%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Static state for reduced motion: show the finished figures */
@media (prefers-reduced-motion: reduce) {
  .chevrons .signal { display: none; }
  .ticker-track { flex-wrap: wrap; width: auto; }
  .ticker-track ul[aria-hidden] { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 60rem) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 26rem; justify-self: end; margin-top: -1rem; }
  .section-head { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr; }
  .group { grid-template-columns: 1fr; }
}
@media (max-width: 44rem) {
  .site-nav ul { display: none; }
  .brand { gap: 0.65rem; }
  .brand img { height: 1.25rem; }
  .brand-entity { font-size: 0.9rem; letter-spacing: 0.12em; padding-left: 0.65rem; }
  .hero-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media print {
  :root { --canvas: #fff; --surface: #fff; --ink: #000; --ink-muted: #333; --ink-subtle: #444; color-scheme: light; }
  .site-header { position: static; }
  .hero-visual, .ticker, .site-nav, .skip, .hero::before, .page-head::before { display: none; }
}

.nocase { text-transform: none; }

/* Two-column hero: size the headline to its column */
@media (min-width: 60.01rem) { .hero h1 { font-size: clamp(3rem, 6.4vw, 6.25rem); } }

/* Very narrow phones: the lockup needs the full header width; the hero CTA covers contact */
@media (max-width: 25rem) { .site-nav .btn { display: none; } }

/* =====================================================================
   declarative.nz additions. Same primitives and roles as above.
   ===================================================================== */

/* Header: brand without entity label; nav stays visible on small screens */
.site-nav ul a[aria-current="page"] { color: var(--ink); }
@media (max-width: 44rem) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 0; padding-top: 0.75rem; }
  .site-nav { display: contents; }
  .site-nav ul {
    display: flex; order: 3; width: 100%; gap: 1.5rem; overflow-x: auto;
    padding: 0.6rem 0 0.8rem; margin-top: 0.6rem; border-top: 1px solid var(--hairline);
    scrollbar-width: none;
  }
  .site-nav ul::-webkit-scrollbar { display: none; }
  .site-nav ul a { white-space: nowrap; }
  .site-nav .btn { padding: 0.6rem 0.9rem; }
  html { scroll-padding-top: 9rem; }
}
@media (max-width: 25rem) { .site-nav .btn { display: inline-flex; } }

/* Hero variants */
.hero-page .wrap { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3.5rem, 7vw, 5.5rem); }
.hero-page h1 { max-width: 14ch; }
@media (min-width: 60.01rem) { .hero-page h1 { font-size: clamp(2.75rem, 5vw, 4.75rem); } }
.hero-note { margin: 1.5rem 0 0; font-size: 0.875rem; color: var(--ink-subtle); }
.crumb { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1.5rem; font-family: var(--font-display); font-weight: 300; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; }
.crumb a { color: var(--ink-muted); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.crumb span[aria-hidden] { color: var(--ink-subtle); }

/* Hero figure frame for page heroes */
.hero-fig { border: 1px solid var(--hairline); border-radius: 14px; background:
  radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0) 0 0 / 16px 16px, var(--surface);
  aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.hero-fig svg { width: 100%; height: 100%; }

/* Statement band */
.statement { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1.5rem 4rem; align-items: start; }
.statement h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); text-transform: uppercase; }
.statement p { margin: 0; color: var(--ink-muted); font-size: 1.075rem; max-width: 52ch; }
.statement p + p { margin-top: 1rem; }

/* Three-up grid (paths, managed services) */
.caps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cap-link { margin-top: auto; padding-top: 0.5rem; font-weight: 600; font-size: 0.875rem; text-decoration: none; display: inline-flex; gap: 0.5rem; align-items: center; }
.cap-link .arrow { transition: transform 0.2s var(--ease); }
.cap-link:hover .arrow { transform: translateX(3px); }
.cap .specs + .cap-link { margin-top: 0; }

/* Feature grid: short heading and one line */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2.5rem; }
.features li { border-top: 1px solid var(--edge); padding-top: 1.25rem; position: relative; }
.features li::before { content: ""; position: absolute; top: -1px; left: 0; width: 2.5rem; height: 2px; background: var(--brand-orange); transition: width 0.6s var(--ease); }
.features li:target::before { width: 100%; }
.features li:target h3 { color: var(--brand-orange); }
.features h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.6rem; }
.features p { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }
.features-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Numbered layers */
.layers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden; counter-reset: layer; }
.layers li { background: var(--canvas); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.4rem 1.5rem; counter-increment: layer; transition: background-color 0.3s; }
.layers li:hover { background: var(--surface); }
.layers li::before { content: counter(layer, decimal-leading-zero); grid-row: span 2; font-family: var(--font-display); font-weight: 300; font-size: 2.25rem; line-height: 1; color: var(--accent); }
.layers h3 { font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.01em; }
.layers p { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }
.layers-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Two-up panels (sector, context) */
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.panel { border: 1px solid var(--hairline); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--surface); }
.panel h3 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 0.75rem; }
.panel p { margin: 0; color: var(--ink-muted); }
.panel-accent { background: linear-gradient(135deg, rgba(241,101,33,0.08), transparent 55%), var(--surface); }

/* Tiers */
.tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.tiers-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tier { border: 1px solid var(--hairline); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--canvas); display: flex; flex-direction: column; gap: 0.75rem; transition: border-color 0.3s; }
.tier:hover { border-color: var(--edge); }
.tier-name { font-family: var(--font-display); font-weight: 300; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.tier h3 { font-size: 1.6rem; text-transform: uppercase; }
.tier p { margin: 0; color: var(--ink-muted); }
.tier-scale { display: flex; gap: 4px; margin-top: auto; padding-top: 1rem; }
.tier-scale i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.1); }
.tier-scale i.on { background: var(--brand-orange); }

/* Included strip */
.included { margin-top: 1.25rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 2.5rem; align-items: center; border: 1px solid var(--hairline); border-radius: 14px; padding: 1.5rem clamp(1.5rem, 3vw, 2.25rem); background: var(--surface); }
.included > p { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.included .specs { margin: 0; padding: 0; border: 0; }

/* Check list */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.checks li { display: flex; gap: 0.85rem; align-items: baseline; color: var(--ink); }
.checks li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--brand-orange); transform: translateY(-2px) rotate(45deg); }
.checks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 2rem; }

/* Extension band */
.extension { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2rem 4rem; align-items: center; padding: clamp(1.75rem, 4vw, 3rem); border: 1px solid var(--hairline); border-radius: 14px; background: linear-gradient(135deg, rgba(241,101,33,0.08), transparent 55%), var(--surface); }
.extension h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); text-transform: uppercase; }
.extension p { margin: 0.9rem 0 0; color: var(--ink-muted); max-width: 52ch; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; position: relative; }
.steps li { counter-increment: step; position: relative; padding-top: 3.25rem; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.08em; color: var(--on-accent); background: var(--brand-orange); width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 4px; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 1.125rem; left: 2.25rem; right: -2rem; height: 1px; background: var(--edge); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.steps p { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }

/* FAQ (native disclosure, no script) */
.faq { border-top: 1px solid var(--hairline); max-width: 56rem; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.4rem 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.4rem); text-transform: uppercase; letter-spacing: 0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 300; font-size: 1.75rem; line-height: 1; color: var(--accent); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.75rem; color: #D4D4D8; max-width: var(--measure); }
.faq .answer p { margin: 0 0 0.9rem; }
.faq .answer ul { margin: 0 0 0.9rem; padding-left: 1.25rem; }
.faq .answer li::marker { color: var(--accent); }

/* Embedded tool */
.embed { border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden; background: var(--surface); }
.embed iframe { display: block; width: 100%; height: 760px; border: 0; }
.embed-note { margin: 1rem 0 0; font-size: 0.875rem; color: var(--ink-subtle); }

/* Team */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.person { border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.person img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.4s var(--ease); }
.person:hover img { filter: grayscale(0.6) contrast(1.05); }
.person-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.person h3 { font-size: 1.5rem; text-transform: uppercase; }
.person h3 a { color: inherit; text-decoration: none; }
.person-role { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.person-bio { margin: 0.25rem 0 0; color: var(--ink-muted); font-size: 0.95rem; }

/* Contact page: three channels */
.contact-grid-3 { grid-template-columns: repeat(3, auto); column-gap: 3.5rem; }
/* Keep each channel on one line: size the text so all three fit the row */
.contact-grid-3 .contact-item a { font-size: clamp(1.5rem, 3.4vw - 0.6rem, 2.25rem); }
@media (max-width: 72rem) {
  .contact-grid-3 { grid-template-columns: repeat(2, auto); }
  .contact-grid-3 .contact-item:first-child { grid-column: 1 / -1; }
  .contact-grid-3 .contact-item a { font-size: clamp(1.5rem, 4vw, 2rem); }
}
@media (max-width: 25rem) {
  .contact-grid-3 .contact-item a { font-size: 1.3rem; }
}

/* Proof strip */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.proof div { padding: 1.75rem 1.5rem 1.75rem 0; }
.proof div + div { padding-left: 1.5rem; border-left: 1px solid var(--hairline); }
.proof strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.5vw, 1.9rem); text-transform: uppercase; line-height: 1.1; }
.proof span { display: block; margin-top: 0.4rem; color: var(--ink-muted); font-size: 0.9rem; }

/* Footer, three columns on large screens */
.site-footer .footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem; padding-block: 3rem 2rem; border-top: 1px solid var(--hairline); }
.footer-brand img { height: 1.3rem; width: auto; }
.footer-brand p { margin: 1rem 0 0; max-width: 40ch; }
.footer-col h2 { font-family: var(--font-display); font-weight: 300; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-subtle); margin: 0 0 0.9rem; }
.site-footer .footer-col ul { display: grid; gap: 0.55rem; }
.site-footer .footer-base { border-top: 1px solid var(--hairline); padding-block: 1.5rem 2.25rem; }

/* Additional figure classes */
.fig-node { fill: var(--surface-raised); stroke: rgba(255,255,255,0.3); stroke-width: 1.25; }
.fig-node-accent { fill: var(--surface-raised); stroke: var(--brand-orange); stroke-width: 1.5; }
.fig-dim { fill: rgba(255,255,255,0.06); }
.fig-text-ink { fill: var(--ink); }
.orbit { fill: none; stroke: rgba(255,255,255,0.14); stroke-width: 1; stroke-dasharray: 3 5; }
.orbit-dot { fill: var(--brand-orange); }
.doc { fill: var(--surface-raised); stroke: rgba(255,255,255,0.22); stroke-width: 1; }
.doc-tag { fill: var(--brand-orange); }
.doc-tag-dim { fill: rgba(255,255,255,0.18); }
.shield { fill: none; stroke: var(--brand-orange); stroke-width: 1.75; }
.mail { fill: var(--surface-raised); stroke: rgba(255,255,255,0.3); stroke-width: 1.25; }
.chip { fill: rgba(255,255,255,0.03); stroke: var(--edge); stroke-width: 1; }
.chip-on { fill: rgba(241,101,33,0.12); stroke: var(--brand-orange); }
.blueprint { fill: none; stroke: rgba(255,255,255,0.22); stroke-width: 1; }
.scan { fill: none; stroke: var(--brand-orange); stroke-width: 1.5; }

@media (prefers-reduced-motion: no-preference) {
  .hero-page .crumb { animation: rise 0.9s var(--ease) both; }
  .hero-fig { animation: fade 1.2s ease both 0.3s; }
  .orbit-g { transform-box: view-box; transform-origin: 160px 84px; animation: spin 24s linear infinite; }
  .orbit-g-rev { animation-direction: reverse; animation-duration: 36s; }
  .doc-tag { animation: tag 5s ease-in-out infinite; }
  .doc-g:nth-of-type(2) .doc-tag { animation-delay: 0.8s; }
  .doc-g:nth-of-type(3) .doc-tag { animation-delay: 1.6s; }
  .doc-g:nth-of-type(4) .doc-tag { animation-delay: 2.4s; }
  .chip-on { animation: chip 4.8s ease-in-out infinite; }
  .chip-g:nth-of-type(2) .chip-on { animation-delay: 0.6s; }
  .chip-g:nth-of-type(3) .chip-on { animation-delay: 1.2s; }
  .chip-g:nth-of-type(4) .chip-on { animation-delay: 1.8s; }
  .chip-g:nth-of-type(5) .chip-on { animation-delay: 2.4s; }
  .scan { animation: scan 4s var(--ease) infinite; }
  .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s var(--ease) forwards 0.4s; }
  .pulse { transform-box: fill-box; transform-origin: center; animation: breathe 3s ease-in-out infinite; }
  @supports (animation-timeline: view()) {
    .features li, .layers li, .tier, .steps li, .person, .panel { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% cover 25%; }
  }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes tag { 0%, 20% { fill: rgba(255,255,255,0.18); } 35%, 80% { fill: var(--brand-orange); } 95%, 100% { fill: rgba(255,255,255,0.18); } }
@keyframes chip { 0%, 15% { fill: rgba(255,255,255,0.03); stroke: rgba(255,255,255,0.24); } 30%, 85% { fill: rgba(241,101,33,0.12); stroke: var(--brand-orange); } 100% { fill: rgba(255,255,255,0.03); stroke: rgba(255,255,255,0.24); } }
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(96px); opacity: 0; } }

@media (max-width: 60rem) {
  .statement, .extension, .panels, .tiers, .tiers-2, .layers-3 { grid-template-columns: 1fr; }
  .caps-3 { grid-template-columns: 1fr; }
  .features, .features-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .steps li:nth-child(2n)::after { display: none; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof div:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof div:nth-child(n+3) { border-top: 1px solid var(--hairline); }
  .site-footer .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .included { grid-template-columns: 1fr; }
  .hero-page .hero-visual { max-width: 30rem; justify-self: stretch; margin-top: 0.5rem; }
}
@media (max-width: 44rem) {
  .features, .features-4, .layers, .steps, .team, .checks-2, .contact-grid-3 { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .hero-page .hero-visual { display: none; }
  .embed iframe { height: 900px; }
}
@media print {
  .hero-fig, .embed, .tier-scale { display: none; }
}

/* Utilities and page-specific */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.panel .panel-title { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 0.75rem; }
.contact h1.big { font-size: clamp(3rem, 9vw, 7.5rem); text-transform: uppercase; line-height: 0.95; }
.contact .lede { margin: 1.75rem 0 0; max-width: 56ch; font-size: clamp(1rem, 1.4vw, 1.125rem); color: var(--ink-muted); }
.contact .eyebrow { margin-bottom: 1.5rem; }
.answer code { font-size: 0.9em; padding: 0.1rem 0.35rem; border: 1px solid var(--edge); border-radius: 3px; }
.footer-base a { color: var(--ink-muted); }
.team-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team-4 .person-body { padding: 1.25rem; }
.team-4 .person h3 { font-size: 1.3rem; }
@media (max-width: 72rem) { .team-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 44rem) { .team-4 { grid-template-columns: 1fr; } }
.person-ph { aspect-ratio: 1; border-bottom: 1px solid var(--hairline);
  background: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0) 0 0 / 16px 16px, var(--surface-raised); }
.person-ph svg { display: block; width: 100%; height: 100%; fill: rgba(255, 255, 255, 0.14); }

/* vArch allocation bar */
.alloc { fill: var(--brand-orange); transform-box: fill-box; transform-origin: left center; transform: scaleX(0.5); }
@media (prefers-reduced-motion: no-preference) { .alloc { animation: alloc 7s var(--ease) infinite; } }
@keyframes alloc { 0%, 12% { transform: scaleX(0.22); } 30%, 45% { transform: scaleX(0.55); } 60%, 75% { transform: scaleX(0.9); } 90%, 100% { transform: scaleX(0.22); } }
