/* AZTEC Website 2026: shared styles. See docs/DESIGN.md. */

/* ============================================================= Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:target { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

/* ============================================================= Typography */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.06; letter-spacing: -0.015em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
h4 { font-size: var(--fs-h4); font-weight: 600; letter-spacing: 0; }
p { max-width: var(--measure); }
strong { font-weight: 600; color: var(--text); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow--muted { color: var(--text-3); }
.eyebrow__num { color: var(--brand-green); }
.eyebrow::before {
  content: "";
  width: 1.6rem; height: 1px;
  background: currentColor;
  opacity: 0.6;
  flex: none;
}
.eyebrow.no-rule::before { display: none; }

.lead { font-size: var(--fs-lead); color: var(--text-2); line-height: 1.5; max-width: 60ch; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.mono { font-family: var(--font-mono); }
.display { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-display); line-height: 1.0; letter-spacing: -0.025em; }

.prose p + p { margin-top: var(--space-5); }
.prose p { color: var(--text-2); }
.prose a { color: var(--teal-bright); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--green-bright); }

/* ============================================================= Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--container-pad); }
.container-wide { width: 100%; max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--container-pad); }
/* Vertical rhythm tiers: vary section spacing for emphasis instead of uniform bands. */
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.section--generous { padding-block: clamp(5.5rem, 12vw, 12rem); }
.band-800 { background: var(--bg-800); }
.band-700 { background: var(--bg-700); }
.band-900 { background: var(--bg-900); }
.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .eyebrow { margin-bottom: var(--space-4); }
.section-head h2 { margin-bottom: var(--space-4); }
.section-head p { color: var(--text-2); }
/* Stacked section intro: replaces the split-header (headline + floating explainer) pattern. */
.stack-narrow { max-width: 70ch; }
.stack-narrow > * + * { margin-top: var(--space-5); }
.stack-narrow h2 { margin-bottom: var(--space-4); }
.stack-narrow .eyebrow { margin-bottom: var(--space-4); }

.grid { display: grid; gap: var(--space-6); }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--7-5 { grid-template-columns: 7fr 5fr; }
  .split--5-7 { grid-template-columns: 5fr 7fr; }
  .split--wide-text { grid-template-columns: 1.2fr 1fr; }
}

.skip-link {
  position: absolute; left: var(--space-4); top: -100px;
  background: var(--brand-green); color: var(--brand-dark);
  padding: 0.6rem 1rem; border-radius: var(--radius-control);
  font-weight: 600; z-index: 200; transition: top 0.2s;
}
.skip-link:focus { top: var(--space-4); }

/* ============================================================= Focus */
:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================================= Header / Nav */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(6, 15, 17, 0.82);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.site-header__inner {
  width: 100%; max-width: var(--container-wide); margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
}
.brand { display: inline-flex; align-items: center; flex: none; }
/* Supplied logo is a teal-to-dark wordmark; render white for dark-mode legibility.
   Non-destructive display treatment only: the source SVG is unchanged. */
.brand img { height: 26px; width: auto; filter: brightness(0) invert(1); transition: opacity 0.2s var(--ease); }
.brand:hover img { opacity: 0.82; }
.brand:focus-visible { outline-offset: 4px; }

.primary-nav { display: none; }
@media (min-width: 1024px) {
  .primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
}
.primary-nav a {
  font-size: 0.95rem; color: var(--text-2);
  position: relative; padding-block: 0.5rem;
  transition: color 0.2s var(--ease);
}
.primary-nav a:hover { color: var(--text); }
.primary-nav a[aria-current="page"] { color: var(--text); }
.primary-nav a[aria-current="page"]::before {
  content: ""; position: absolute; top: -2px; left: 0; right: 0;
  height: 2px; background: var(--brand-green);
}
.header-actions { display: flex; align-items: center; gap: var(--space-4); }
.header-actions .btn { display: none; }
@media (min-width: 1024px) { .header-actions .btn { display: inline-flex; } }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; flex: none;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span { height: 2px; width: 100%; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg-900);
  padding: calc(var(--header-h) + 2rem) var(--container-pad) 2rem;
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.42s var(--ease), visibility 0.42s;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; padding-block: 0.7rem; color: var(--text); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.mobile-nav a[aria-current="page"] { color: var(--brand-green); }
.mobile-nav a .idx { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-3); font-weight: 400; }
.mobile-nav .btn { margin-top: var(--space-6); align-self: flex-start; }
.mobile-nav__meta { margin-top: auto; padding-top: 2rem; color: var(--text-3); font-family: var(--font-mono); font-size: var(--fs-small); }
@media (min-width: 1024px) { .mobile-nav { display: none; } }

/* ============================================================= Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-weight: 600; font-size: 0.95rem; line-height: 1;
  padding: 0.85rem 1.4rem; min-height: 44px;
  border-radius: var(--radius-control);
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  text-align: center;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--brand-green); color: var(--brand-dark); }
.btn--primary:hover { background: var(--green-bright); transform: translateY(-1px); box-shadow: var(--shadow-1); }
.btn--secondary { border-color: var(--line-strong); color: var(--text); }
.btn--secondary:hover { border-color: var(--teal-bright); background: var(--bg-600); }
.btn--ghost { color: var(--teal-bright); padding-inline: 0; min-height: 0; }
.btn--ghost:hover { color: var(--green-bright); }
.btn--ghost .arrow { transition: transform 0.2s var(--ease); }
.btn--ghost:hover .arrow { transform: translateX(4px); }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5em; color: var(--teal-bright); font-weight: 500; }
.link-arrow:hover { color: var(--green-bright); }
.link-arrow .arrow { transition: transform 0.2s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ============================================================= Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, var(--bg-900) 2%, rgba(6,15,17,0.55) 30%, rgba(6,15,17,0.15) 55%, rgba(6,15,17,0.45) 100%),
    linear-gradient(to right, rgba(6,15,17,0.7), rgba(6,15,17,0.1) 60%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(3rem, 8vh, 7rem) clamp(2.5rem, 6vh, 4rem); }
.hero__title { font-size: var(--fs-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.0; max-width: 15ch; }
.hero__title .accent { color: var(--brand-green); }
.hero__lead { margin-top: var(--space-5); max-width: 48ch; font-size: var(--fs-lead); color: var(--text); }
.hero__actions { margin-top: var(--space-7); display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero__meta {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  display: flex; flex-wrap: wrap; gap: var(--space-5) clamp(2rem, 5vw, 4rem);
  padding-top: var(--space-5); border-top: 1px solid var(--line-strong);
}
.hero__meta .kv { display: flex; flex-direction: column; gap: 0.3rem; }
.hero__meta .kv dt { font-family: var(--font-mono); font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-3); }
.hero__meta .kv dd { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--text); }
.scroll-cue { position: absolute; z-index: 2; bottom: 1.4rem; right: var(--container-pad); display: none; align-items: center; gap: 0.6rem; font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
@media (min-width: 768px) { .scroll-cue { display: flex; } }
.scroll-cue .bar { width: 1px; height: 34px; background: linear-gradient(to bottom, transparent, var(--teal-bright)); position: relative; overflow: hidden; }
.scroll-cue .bar::after { content: ""; position: absolute; inset: 0; background: var(--brand-green); animation: cueflow 2.4s var(--ease) infinite; }
@keyframes cueflow { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Page hero (interior pages, no full-bleed photo) */
.page-hero { padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: var(--fs-display); font-weight: 700; letter-spacing: -0.025em; max-width: 16ch; }
.page-hero .lead { margin-top: var(--space-5); }
.page-hero__crumb { margin-bottom: var(--space-5); }
.page-hero--media { min-height: 78vh; display: flex; align-items: flex-end; }
.page-hero--media .page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero--media .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--media .page-hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, var(--bg-900) 3%, rgba(6,15,17,0.5) 40%, rgba(6,15,17,0.35)); }

/* ============================================================= Flow line motif (signature) */
.flowline { position: relative; padding-left: calc(var(--space-6) + 1px); }
.flowline::before { content: ""; position: absolute; left: 0; top: 0.3em; bottom: 0.3em; width: 2px; background: linear-gradient(to bottom, var(--brand-green), var(--brand-teal)); border-radius: 2px; }

/* ============================================================= Outcome band */
.outcomes { display: grid; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .outcomes { grid-template-columns: repeat(3, 1fr); } }
.outcome { padding: clamp(1.8rem, 3vw, 2.8rem) 0; }
@media (min-width: 768px) {
  .outcome { padding: clamp(2rem, 3vw, 3rem) clamp(1.5rem, 3vw, 2.5rem); border-left: 1px solid var(--line); }
  .outcome:first-child { padding-left: 0; border-left: none; }
  .outcome:last-child { padding-right: 0; }
}
.outcome:not(:last-child) { border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .outcome:not(:last-child) { border-bottom: none; } }
.outcome__icon { color: var(--brand-green); margin-bottom: var(--space-4); }
.outcome__icon svg { width: 30px; height: 30px; }
.outcome h3 { font-size: var(--fs-h3); margin-bottom: var(--space-3); }
.outcome p { color: var(--text-2); font-size: 0.98rem; }

/* ============================================================= Media frame */
.frame { position: relative; border: 1px solid var(--line); border-radius: var(--radius-panel); overflow: hidden; background: var(--bg-700); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
/* Duotone scrim: settles a bright daytime image into the dark cinematic direction
   without heavy filtering that would misrepresent the equipment. */
.frame--duotone::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,15,17,0.28), rgba(6,15,17,0.42)), rgba(3,106,117,0.14); mix-blend-mode: normal; }
.frame--duotone .frame__tag { z-index: 2; }
.frame--tall { aspect-ratio: 3 / 4; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--square { aspect-ratio: 1 / 1; }
.frame__tag {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-2); background: rgba(6,15,17,0.72); backdrop-filter: blur(4px);
  padding: 0.5rem 0.8rem; border-top: 1px solid var(--line); border-right: 1px solid var(--line);
}
figure.media { margin: 0; }
figure.media figcaption { margin-top: var(--space-3); font-family: var(--font-mono); font-size: var(--fs-small); color: var(--text-3); letter-spacing: 0.02em; }

/* ============================================================= Mechanism / steps */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); padding: var(--space-6) 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--brand-green); padding-top: 0.35rem; }
.step h3 { font-size: var(--fs-h4); margin-bottom: var(--space-2); }
.step p { color: var(--text-2); font-size: 0.98rem; }
@media (min-width: 768px) {
  .step { grid-template-columns: 3rem 1fr; gap: var(--space-6); }
}

/* ============================================================= Benefit ledger */
.ledger { border-top: 1px solid var(--line); }
.ledger__row { display: grid; gap: var(--space-2) var(--space-6); padding: var(--space-5) 0; border-bottom: 1px solid var(--line); align-items: start; }
@media (min-width: 768px) { .ledger__row { grid-template-columns: 1.1fr 1.4fr; } }
.ledger__row h3 { font-size: var(--fs-h4); display: flex; align-items: baseline; gap: 0.7rem; }
.ledger__row h3 .mono { font-size: 0.8rem; color: var(--brand-green); }
.ledger__row p { color: var(--text-2); font-size: 0.98rem; }

/* ============================================================= Cards / panels */
/* Restrained surface depth: one hairline top inner-highlight lifts flat dark
   surfaces off the background. No nested bezels, no glow (reconciled High-end lens). */
.panel, .spec-card, .member, .inline-cta, .form-section, .drawing, .frame, .table-wrap {
  box-shadow: inset 0 1px 0 rgba(246, 252, 252, 0.045);
}
.panel { background: var(--bg-600); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: clamp(1.5rem, 3vw, 2.2rem); }
.card-grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.spec-card { background: var(--bg-600); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: clamp(1.4rem, 2.5vw, 1.9rem); display: flex; flex-direction: column; gap: var(--space-3); height: 100%; transition: border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.spec-card:hover { border-color: var(--line-strong); }
.spec-card__icon { color: var(--teal-bright); }
.spec-card__icon svg { width: 26px; height: 26px; }
.spec-card h3 { font-size: var(--fs-h4); }
.spec-card p { color: var(--text-2); font-size: 0.95rem; }

/* Evidence framework: ruled measures, not empty value tiles.
   The absence of numbers reads as deliberate: what testwork quantifies, per orebody. */
.evidence { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .evidence { grid-template-columns: repeat(3, 1fr); border-top: none; } }
.evidence__item { padding: var(--space-6) 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--space-3); min-height: 100%; }
@media (min-width: 768px) {
  .evidence__item { padding: 0 clamp(1.5rem, 3vw, 2.5rem); border-bottom: none; border-left: 1px solid var(--line); }
  .evidence__item:first-child { border-left: none; padding-left: 0; }
  .evidence__item:last-child { padding-right: 0; }
}
.evidence__icon { color: var(--teal-bright); }
.evidence__icon svg { width: 28px; height: 28px; }
.evidence__item h3 { font-size: var(--fs-h4); margin-top: var(--space-2); }
.evidence__item p { color: var(--text-2); font-size: 0.95rem; }
.evidence__tag { margin-top: auto; padding-top: var(--space-3); font-family: var(--font-mono); font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-3); display: inline-flex; align-items: center; gap: 0.6em; }
.evidence__tag::before { content: ""; width: 16px; height: 1px; background: var(--brand-green); flex: none; }

/* ============================================================= Diagram mount */
.drawing { border: 1px solid var(--line-strong); border-radius: var(--radius-panel); overflow: hidden; background: var(--bg-700); }
.drawing__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); background: var(--bg-600); }
.drawing__bar .label { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.drawing__bar .dwg { font-family: var(--font-mono); font-size: var(--fs-eyebrow); color: var(--text-3); }
.drawing__mount { background: #EEEAE0; padding: clamp(1rem, 2.5vw, 2rem); overflow: auto; max-height: 560px; box-shadow: inset 0 0 0 1px rgba(9, 23, 26, 0.12), inset 0 2px 14px rgba(9, 23, 26, 0.10); }
.drawing__mount img { width: 100%; min-width: 620px; max-width: 1000px; margin-inline: auto; border-radius: 2px; box-shadow: 0 1px 0 rgba(9,23,26,0.06); }
.drawing.is-zoomed .drawing__mount { max-height: none; }
.drawing__zoom { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--teal-bright); font-family: var(--font-mono); font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.1em; }
.drawing__zoom:hover { color: var(--green-bright); }

/* ============================================================= Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-panel); }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; }
table.data caption { text-align: left; padding: 1rem 1.2rem; font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--line); }
table.data th, table.data td { text-align: left; padding: 0.95rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.95rem; }
table.data thead th { background: var(--bg-700); font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); font-weight: 500; }
table.data tbody th { font-family: var(--font-display); font-weight: 500; color: var(--text); }
table.data td { color: var(--text-2); }
table.data tr:last-child th, table.data tr:last-child td { border-bottom: none; }
table.data .yes { color: var(--brand-green); }
table.data .no { color: var(--text-3); }

/* ============================================================= CTA */
.cta-band { position: relative; overflow: hidden; }
.cta-band__media { position: absolute; inset: 0; z-index: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.cta-band__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(6,15,17,0.94) 30%, rgba(6,15,17,0.6)); }
.cta-band__inner { position: relative; z-index: 2; padding-block: clamp(4rem, 9vw, 8rem); }
.cta-band h2 { font-size: var(--fs-h1); max-width: 18ch; }
.cta-band p { margin-top: var(--space-5); color: var(--text); max-width: 46ch; }
.cta-band .hero__actions { margin-top: var(--space-6); }

.inline-cta { border: 1px solid var(--line-strong); border-radius: var(--radius-panel); padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); background: var(--bg-700); }
.inline-cta h3 { font-size: var(--fs-h3); max-width: 24ch; }
.inline-cta p { color: var(--text-2); margin-top: var(--space-2); font-size: 0.98rem; }

/* ============================================================= Team */
.team-grid { display: grid; gap: var(--space-5); }
@media (min-width: 560px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.member { border: 1px solid var(--line); border-radius: var(--radius-panel); overflow: hidden; background: var(--bg-600); display: flex; flex-direction: column; }
.member__photo { aspect-ratio: 4 / 5; position: relative; background: var(--bg-500); overflow: hidden; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: saturate(0.92) contrast(1.02); }
.member__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background:
  radial-gradient(120% 100% at 50% 0%, var(--bg-500), var(--bg-700)); }
.member__placeholder span { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; color: var(--teal-bright); opacity: 0.85; letter-spacing: 0.05em; }
.member__body { padding: var(--space-5); }
.member__body h3 { font-size: var(--fs-h4); }
.member__role { font-family: var(--font-mono); font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal-bright); margin-top: 0.4rem; }
.member__role.pending { color: var(--text-3); }
.member__body p { color: var(--text-2); font-size: 0.92rem; margin-top: var(--space-3); }

/* ============================================================= Innovations list */
.innov { border-top: 1px solid var(--line); }
.innov__item { display: grid; gap: var(--space-3) var(--space-6); padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .innov__item { grid-template-columns: 1fr 1.4fr auto; align-items: start; } }
.innov__item h3 { font-size: var(--fs-h3); }
.innov__cat { font-family: var(--font-mono); font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal-bright); margin-top: 0.5rem; }
.innov__item p { color: var(--text-2); font-size: 0.98rem; }
.status-chip { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--line-strong); border-radius: var(--radius-control); padding: 0.4rem 0.7rem; white-space: nowrap; }
.status-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--warning); flex: none; }
.status-chip--dev::before { background: var(--warning); }
.status-chip--pending::before { background: var(--text-3); }

/* ============================================================= Forms */
.form-section { border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--bg-700); padding: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: var(--space-5); }
.form-section > legend, .form-section__head { padding: 0; margin-bottom: var(--space-5); width: 100%; }
.form-section__head { display: flex; align-items: baseline; gap: 0.8rem; border-bottom: 1px solid var(--line); padding-bottom: var(--space-4); }
.form-section__head .num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--brand-green); }
.form-section__head h3 { font-size: var(--fs-h4); }
.form-grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.col-span-2 { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 500; color: var(--text); }
.field .req { color: var(--brand-green); }
.field .hint { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-3); }
.field input, .field select, .field textarea {
  background: var(--bg-800); border: 1px solid var(--line-strong); border-radius: var(--radius-control);
  padding: 0.75rem 0.85rem; min-height: 46px; color: var(--text);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--teal-bright); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--brand-green); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239FB6B3' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.2rem; }
.field .error-msg { font-size: 0.8rem; color: var(--error); display: none; align-items: center; gap: 0.4rem; }
.field .error-msg svg { width: 14px; height: 14px; flex: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field.has-error .error-msg { display: flex; }

.file-drop { border: 1px dashed var(--line-strong); border-radius: var(--radius-control); padding: 1.4rem; text-align: center; color: var(--text-2); background: var(--bg-800); transition: border-color 0.2s, background 0.2s; cursor: pointer; display: block; }
.file-drop:hover, .file-drop:focus-within { border-color: var(--teal-bright); background: var(--bg-700); }
.file-drop input[type="file"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.file-drop .fd-icon { color: var(--teal-bright); margin-bottom: 0.6rem; display: inline-flex; }
.file-drop .fd-name { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text); margin-top: 0.6rem; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; }
.consent input[type="checkbox"] { width: 20px; height: 20px; margin-top: 0.15rem; accent-color: var(--brand-green); flex: none; }
.consent label { font-size: 0.9rem; color: var(--text-2); font-weight: 400; }
.consent a { color: var(--teal-bright); text-decoration: underline; text-underline-offset: 0.2em; }

.form-note { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-3); line-height: 1.6; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--bg-800); padding: var(--space-4) var(--space-5); }

/* Notice: full-bordered callout with a leading label: replaces side-stripe accents. */
.notice { border: 1px solid var(--line-strong); border-radius: var(--radius-panel); background: var(--bg-700); padding: clamp(1.2rem, 2.5vw, 1.6rem); box-shadow: inset 0 1px 0 rgba(246,252,252,0.045); }
.notice__label { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-mono); font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.14em; color: var(--teal-bright); margin-bottom: var(--space-3); }
.notice__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright); flex: none; }
.notice--warn .notice__label { color: var(--warning); }
.notice--warn .notice__label::before { background: var(--warning); }
.notice p { color: var(--text-2); margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; margin-top: var(--space-6); }

/* ============================================================= Footer */
.site-footer { background: var(--bg-900); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer-top { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 26px; margin-bottom: var(--space-5); filter: brightness(0) invert(1); }
.footer-brand p { color: var(--text-2); font-size: 0.95rem; max-width: 34ch; }
.footer-col h2 { font-family: var(--font-mono); font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-3); font-weight: 500; margin-bottom: var(--space-4); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a, .footer-col address { color: var(--text-2); font-size: 0.95rem; font-style: normal; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-col address a { display: block; }
.footer-cta { border: 1px solid var(--line-strong); border-radius: var(--radius-panel); padding: var(--space-5); background: var(--bg-800); }
.footer-cta h2 { font-family: var(--font-display); font-size: var(--fs-h4); color: var(--text); text-transform: none; letter-spacing: -0.01em; margin-bottom: var(--space-3); font-weight: 600; }
.footer-cta p { color: var(--text-2); font-size: 0.9rem; margin-bottom: var(--space-4); }
.footer-bottom { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: var(--space-5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: center; }
.footer-bottom p, .footer-bottom a { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3); letter-spacing: 0.04em; }
.footer-bottom a:hover { color: var(--text-2); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-5); }

/* ============================================================= Utilities */
.stack-sm > * + * { margin-top: var(--space-4); }
.stack > * + * { margin-top: var(--space-6); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.text-center { text-align: center; }
.maxw-prose { max-width: var(--measure); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.divider { height: 1px; background: var(--line); border: none; }
.tag-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.tag { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--line); border-radius: var(--radius-control); padding: 0.4rem 0.7rem; }

/* ============================================================= Reveal animation
   Hidden state applies only when JS is active (.js on <html>), so content
   remains fully visible if JavaScript is disabled or fails. */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal-delay="3"] { transition-delay: 0.24s; }
.js [data-reveal-delay="4"] { transition-delay: 0.32s; }

/* ============================================================= Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .scroll-cue .bar::after { display: none; }
}

/* ============================================================= High contrast */
@media (prefers-contrast: more) {
  :root { --line: rgba(246,252,252,0.28); --line-strong: rgba(246,252,252,0.4); --text-2: #C4D6D3; --text-3: #97AEAB; }
}
