/* ============================================================
   UMxID™ — Design System
   Light institutional: warm paper, ink, editorial serif,
   generous whitespace, no photography.
   ============================================================ */

/* ---- Axiforma (licensed via MyFonts / Monotype, order 7393665351850) ---- */
@font-face {
  font-family: "Axiforma";
  src: url("fonts/Axiforma-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Axiforma";
  src: url("fonts/Axiforma-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Axiforma";
  src: url("fonts/Axiforma-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --ink: #16130E;
  --ink-soft: #3D382F;
  --muted: #6E675C;
  --faint: #9C948A;
  --line: #E7E2D9;
  --line-strong: #D8D2C6;
  --accent: #D44438; /* sampled from official X mark red dot */
  --accent-deep: #CA1000; /* sampled from full lockup red dot */
  --accent-soft: #FAEAE8;
  --gold: #B98A2F;

  /* Hybrid type system: Axiforma display (self-hosted, licensed)
     + Newsreader serif as accent voice */
  --font-display: "Axiforma", "Inter", -apple-system, sans-serif;
  --font-accent: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-card: 0 1px 2px rgba(22, 19, 14, 0.04), 0 8px 24px rgba(22, 19, 14, 0.05);
  --shadow-float: 0 2px 6px rgba(22, 19, 14, 0.06), 0 24px 60px rgba(22, 19, 14, 0.10);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent-soft); color: var(--ink); }

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

a { color: inherit; text-decoration: none; }

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.container--narrow { max-width: 880px; }

/* ------------------------------------------------------------
   Typography
   ------------------------------------------------------------ */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.1;
  color: var(--ink);
}

.h-hero {
  font-size: clamp(46px, 7.2vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.024em;
}

.h-xl { font-size: clamp(36px, 4.6vw, 58px); }
.h-lg { font-size: clamp(28px, 3.4vw, 42px); }
.h-md { font-size: clamp(22px, 2.4vw, 28px); }

.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 42em;
}

.body-muted { color: var(--muted); }

.serif-i { font-family: var(--font-accent); font-style: italic; font-weight: 500; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--ink);
  color: var(--white);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(22, 19, 14, 0.22);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--white);
  color: var(--ink);
}
.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1.5px solid var(--line-strong);
  padding-bottom: 3px;
  transition: border-color 0.25s ease, gap 0.3s var(--ease);
}
.text-link:hover { border-color: var(--accent); gap: 12px; }

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 250, 247, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}

.wordmark { display: inline-flex; align-items: center; flex: none; }
.wordmark svg { height: 30px; width: auto; }

/* Brand wordmark (HTML recreation — swap for official SVG asset anytime) */
.brand {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1;
}
.brand .xmark {
  position: relative;
  width: 0.92em;
  height: 0.78em;
  margin: 0 0.02em;
  align-self: center;
}
.brand .xmark svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.brand .xmark .dot { fill: var(--accent); }
.brand .tm {
  font-size: 0.34em;
  font-weight: 700;
  letter-spacing: 0;
  margin-left: 0.18em;
  align-self: flex-start;
  color: var(--muted);
}
.brand--lg { font-size: 34px; }
.site-footer .brand { font-size: 24px; }

/* Official brand imagery */
.brand-img { height: 44px; width: auto; display: block; }
.brand-img--footer { height: 38px; }
.wordmark { display: inline-flex; align-items: center; }

.vertical-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 56px;
  align-items: flex-end;
  margin-top: 40px;
}
.vertical-marks figure { margin: 0; }
.vertical-marks img { height: 54px; width: auto; display: block; }
.vertical-marks figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .brand-img { height: 34px; }
  .brand-img--footer { height: 32px; }
  .vertical-marks { gap: 22px 36px; }
  .vertical-marks img { height: 42px; }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  position: relative;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--ink); }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header-cta .btn { padding: 11px 22px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

@media (max-width: 940px) {
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 0 20px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px var(--pad); font-size: 17px; }
  .main-nav a.is-active::after { display: none; }
  .nav-toggle { display: block; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-cta .btn--ghost { display: none; }
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */

.section { padding: clamp(90px, 11vw, 150px) 0; }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: clamp(64px, 8vw, 100px) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .h-xl, .section-head .h-lg { margin-bottom: 22px; }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.hero {
  padding: calc(76px + clamp(70px, 9vw, 130px)) 0 clamp(70px, 8vw, 110px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 28px; }
.hero-copy .h-hero { margin-bottom: 26px; }
.hero-sub {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(21px, 2.2vw, 27px);
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.hero-sub .sep { color: var(--accent); font-style: normal; padding: 0 10px; }
.hero-copy .lede { margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta div { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.hero-meta strong { display: block; color: var(--ink); font-weight: 600; font-size: 14.5px; margin-bottom: 2px; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
}

/* ------------------------------------------------------------
   Unification visual (hero)
   ------------------------------------------------------------ */

.unify { position: relative; aspect-ratio: 1 / 1; max-width: 560px; margin-left: auto; }
@media (max-width: 940px) { .unify { margin: 0 auto; } }

.unify-svg { width: 100%; height: 100%; overflow: visible; }

.unify .ring { animation: spin 90s linear infinite; transform-origin: 300px 300px; }
.unify .ring--inner { animation-duration: 70s; animation-direction: reverse; }

@keyframes spin { to { transform: rotate(360deg); } }

.unify .spoke {
  stroke: var(--line-strong);
  stroke-width: 1;
  stroke-dasharray: 4 5;
  animation: dashflow 2.4s linear infinite;
}
@keyframes dashflow { to { stroke-dashoffset: -18; } }

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-card);
  white-space: nowrap;
  transform: translate(-50%, -50%);
  animation: bob 6s ease-in-out infinite;
}
.chip i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.chip:nth-child(odd) { animation-delay: -3s; }
.chip:nth-child(3n) i { background: var(--accent); }
.chip:nth-child(3n+1) i { background: #3E7A54; }

@keyframes bob {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-8px); }
}

/* Branded vertical chips */
.chip--brand {
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 16px 9px;
  border-radius: 14px;
}
.chip--brand img {
  height: 15px;
  width: auto;
  display: block;
}
.chip--brand em {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 640px) {
  .chip--brand { padding: 8px 12px 7px; }
  .chip--brand img { height: 12px; }
  .chip--brand em { font-size: 8.5px; }
}

.unify-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--ink);
  color: var(--white);
  border-radius: 20px;
  padding: 22px 28px;
  text-align: center;
  box-shadow: var(--shadow-float);
  animation: corepulse 5s ease-in-out infinite;
}
@keyframes corepulse {
  0%, 100% { box-shadow: var(--shadow-float), 0 0 0 0 rgba(224, 68, 42, 0.28); }
  50% { box-shadow: var(--shadow-float), 0 0 0 16px rgba(224, 68, 42, 0); }
}
.unify-core .check {
  width: 34px; height: 34px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.unify-core .label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.unify-core .sublabel { font-size: 11px; color: rgba(255,255,255,0.55); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 3px; }

/* ------------------------------------------------------------
   Trust strip
   ------------------------------------------------------------ */

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.trust-item {
  padding: 34px 32px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .mark {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.trust-item strong { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 3px; }
.trust-item span { font-size: 14px; color: var(--muted); line-height: 1.5; }

@media (max-width: 860px) {
  .trust-strip .container { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: none; border-top: 1px solid var(--line); }
  .trust-item { padding: 24px 0; }
}

/* ------------------------------------------------------------
   Statement / What is UMxID
   ------------------------------------------------------------ */

.statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 21em;
}
.statement em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(48px, 6vw, 72px);
}
.principle {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.principle:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.principle .num {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 15px;
  color: var(--faint);
  display: block;
  margin-bottom: 18px;
}
.principle h3 { font-size: 21px; margin-bottom: 10px; }
.principle p { font-size: 15px; color: var(--muted); }

@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   Video theater
   ------------------------------------------------------------ */

.theater {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.theater-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.theater-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.theater-bar i:first-child { background: var(--accent); }
.theater-bar .url {
  margin-left: 12px;
  font-size: 12.5px;
  color: var(--faint);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.theater iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.theater-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

/* ------------------------------------------------------------
   Verticals / roadmap
   ------------------------------------------------------------ */

.roadmap { display: flex; flex-direction: column; }
.phase {
  display: grid;
  grid-template-columns: 130px minmax(0, 1.1fr) minmax(0, 1.6fr) 170px;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  padding: clamp(30px, 4vw, 44px) clamp(8px, 1.5vw, 20px);
  border-top: 1px solid var(--line);
  position: relative;
  transition: background 0.3s ease;
}
.phase:last-child { border-bottom: 1px solid var(--line); }
a.phase:hover { background: var(--white); }
a.phase:hover .phase-go { background: var(--ink); color: var(--white); transform: translateX(4px); }

.phase-num {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(30px, 3.4vw, 44px);
  color: var(--faint);
  line-height: 1;
}
.phase-num small {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 10px;
}

.phase-title h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 8px; }
.phase-title .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line-strong);
  padding: 4px 12px;
  border-radius: 999px;
}
.tag--accent { color: var(--accent); border-color: rgba(224, 68, 42, 0.35); background: var(--accent-soft); }

.phase-desc { font-size: 15.5px; color: var(--muted); }

.phase-go {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 20px;
  transition: all 0.3s var(--ease);
}
.phase-go--soon { border-style: dashed; color: var(--faint); }

@media (max-width: 940px) {
  .phase { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .phase-go { justify-self: start; }
}

/* ------------------------------------------------------------
   Split feature rows (vertical pages)
   ------------------------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.split.section-gap { margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.check-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-soft);
  align-items: flex-start;
}
.check-list li:first-child { border-top: 1px solid var(--line); }
.check-list .ck {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.check-list strong { color: var(--ink); font-weight: 600; }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.benefit {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px;
}
.benefit strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.benefit span { font-size: 14px; color: var(--muted); line-height: 1.55; }
@media (max-width: 640px) { .benefit-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   Quote / partners
   ------------------------------------------------------------ */

.bigquote {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.35;
  letter-spacing: -0.005em;
  max-width: 26em;
}
.bigquote .mark { color: var(--accent); }

/* ------------------------------------------------------------
   CTA band
   ------------------------------------------------------------ */

.cta-band {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(56px, 7vw, 96px) clamp(28px, 6vw, 90px);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  pointer-events: none;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  pointer-events: none;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(30px, 4vw, 48px);
  max-width: 15em;
  margin-bottom: 16px;
}
.cta-band p { color: rgba(255, 255, 255, 0.66); max-width: 36em; margin-bottom: 36px; font-size: 17px; }
.cta-band .note { font-size: 13.5px; color: rgba(255,255,255,0.45); margin: 18px 0 0; }

/* ------------------------------------------------------------
   Page hero (interior pages)
   ------------------------------------------------------------ */

.page-hero {
  padding: calc(76px + clamp(60px, 8vw, 110px)) 0 clamp(50px, 6vw, 80px);
}
.page-hero .h-hero { font-size: clamp(40px, 6vw, 76px); margin-bottom: 24px; max-width: 13em; }
.page-hero .lede { max-width: 38em; }

/* ------------------------------------------------------------
   Forms
   ------------------------------------------------------------ */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-card);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.field label .req { color: var(--accent); }
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(22, 19, 14, 0.07);
}

.choice-set { display: flex; flex-direction: column; gap: 10px; }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  font-size: 15px;
  background: var(--paper);
}
.choice:hover { border-color: var(--line-strong); }
.choice input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--white); }
.choice strong { font-weight: 600; }
.choice small { display: block; color: var(--muted); font-size: 13px; margin-top: 1px; }

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.form-foot .fine { font-size: 13px; color: var(--faint); max-width: 30em; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 7vw, 90px) 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 64px;
}
.footer-brand p {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 22em;
  margin-top: 18px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 15px; color: var(--ink-soft); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--ink); }

.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--faint);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   Reveal-on-scroll
   ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
