/* ============================================================
   Youmeverse — static marketing site design system
   Shared by landing.html and the directory-backed static
   public pages. The Expo SPA does NOT use this.

   Brand: warm near-black grounds, single ochre accent,
   editorial serif display (Fraunces), amber light — matched to
   the persona portrait photography. Dark-first by design.
   ============================================================ */

:root {
  --bg: #0C0A08;
  --bg-raised: #14100B;
  --bg-card: #16120D;
  --ink: #F4EFE6;
  --ink-muted: rgba(244, 239, 230, 0.64);
  --ink-faint: rgba(244, 239, 230, 0.4);
  --line: rgba(244, 239, 230, 0.09);
  --line-strong: rgba(244, 239, 230, 0.16);
  --gold: #C9A876;
  --gold-bright: #E4C088;
  --gold-deep: #8F7448;
  --gold-soft: rgba(201, 168, 118, 0.13);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 8px;
  --radius-sm: 12px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(201, 168, 118, 0.32); }

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 420;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; }
h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; }
h3 { font-size: 20px; line-height: 1.3; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center-text { text-align: center; }
.mt-36 { margin-top: 36px; }
.muted-note {
  color: var(--ink-faint);
  font-size: 13.5px;
  max-width: 560px;
  margin: 26px auto 0;
}
.link-gold { color: var(--gold-bright); }
.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;
}

/* ---------- shared atoms ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--gold-deep);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: ""; width: 24px; height: 1px; background: var(--gold-deep);
}

.lede {
  color: var(--ink-muted);
  font-size: clamp(16.5px, 1.8vw, 19px);
  line-height: 1.65;
  max-width: 620px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 24px;
  font-size: 15px; font-weight: 500; font-family: var(--sans);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease, color 0.2s ease;
}
.btn:hover { border-color: var(--gold-deep); color: var(--gold-bright); }
.btn.primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #171106; font-weight: 650; border: none;
  box-shadow: 0 8px 28px -10px rgba(201, 168, 118, 0.45);
}
.btn.primary:hover { transform: translateY(-1px); color: #171106; box-shadow: 0 12px 32px -10px rgba(201, 168, 118, 0.55); }
.btn.big { padding: 16px 32px; font-size: 16.5px; }
.btn.lang { padding: 8px 14px; font-size: 13px; color: var(--ink-muted); border-color: var(--line); }
.btn.lang:hover { color: var(--gold-bright); }

.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; }
.sec-head.center .lede { margin-left: auto; margin-right: auto; }
.sec-num {
  font-family: var(--serif); font-weight: 340;
  font-size: 15px; color: var(--gold-deep);
  letter-spacing: 0.1em; display: block; margin-bottom: 12px;
}

/* ---------- header ---------- */

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 10, 8, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
header.site .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 28px; width: auto; }
.brand img[alt="Youmeverse"] { height: 16px; width: auto; }
nav.main { display: flex; align-items: center; gap: 26px; }
nav.main a.navlink {
  font-size: 14px; color: var(--ink-muted); text-decoration: none;
  transition: color 0.2s ease;
}
nav.main a.navlink:hover, nav.main a.navlink[aria-current="page"] { color: var(--gold-bright); }
nav.actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 760px) {
  nav.main a.navlink { display: none; }
  .btn.ghost-hide-sm { display: none; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero .glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 44% at 78% 30%, rgba(201, 168, 118, 0.13), transparent 68%),
    radial-gradient(40% 36% at 12% 78%, rgba(146, 96, 42, 0.08), transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 26px; }
.cta-row.center-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  color: var(--ink-faint); font-size: 13.5px;
}
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row span::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-deep); flex: none;
}

.collage { position: relative; height: clamp(380px, 44vw, 560px); }
.collage .p {
  position: absolute; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
  background: var(--bg-raised);
}
.collage .p img { width: 100%; height: 100%; object-fit: cover; }
.collage .p .tag {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(12, 10, 8, 0.72); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; font-size: 12px; color: var(--ink-muted);
}
.collage .p .tag b { color: var(--ink); font-weight: 600; }
.collage .p1 { width: 56%; height: 82%; left: 4%; top: 4%; transform: rotate(-2.2deg); z-index: 2; }
.collage .p2 { width: 44%; height: 58%; right: 0; top: 0; transform: rotate(2.4deg); z-index: 1; }
.collage .p3 { width: 42%; height: 52%; right: 6%; bottom: 0; transform: rotate(-1.4deg); z-index: 3; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .collage { height: clamp(300px, 60vw, 420px); max-width: 560px; }
}

/* ---------- generic sections ---------- */

section.band { padding: clamp(64px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
section.band.raised { background: var(--bg-raised); }

/* persona cards */
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px) { .persona-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.persona {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--bg-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.persona:hover { transform: translateY(-4px); box-shadow: 0 32px 64px -28px rgba(0, 0, 0, 0.8); }
.persona .ph { position: relative; aspect-ratio: 3 / 3.4; overflow: hidden; }
.persona .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s ease; }
.persona:hover .ph img { transform: scale(1.035); }
.persona .ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12, 10, 8, 0.92) 100%);
}
.persona .meta { position: relative; padding: 0 22px 22px; margin-top: -52px; z-index: 2; }
.persona .meta .name { font-family: var(--serif); font-size: 27px; font-weight: 460; }
.persona .meta .place {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin: 4px 0 12px; font-weight: 600;
}
.persona .meta p { color: var(--ink-muted); font-size: 14.5px; margin: 0 0 14px; }
.persona .meta q {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 380;
  color: var(--ink); font-size: 15.5px; line-height: 1.5; quotes: "\201C" "\201D";
  border-left: 2px solid var(--gold-deep); padding-left: 12px;
}

/* feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 880px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { background: var(--bg); padding: 30px 26px; }
.feature .k {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; display: block; margin-bottom: 12px;
}
.feature h3 { font-family: var(--sans); font-weight: 650; font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--ink-muted); font-size: 14.5px; margin: 0; }

/* platform storytelling */
.showcase-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
@media (max-width: 900px) { .showcase-grid { grid-template-columns: 1fr; } }
.demo-panel {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(228, 192, 136, 0.08), var(--bg-card) 48%, #0f0c08);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.78);
  padding: clamp(18px, 3vw, 30px);
}
.demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--ink-faint);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-bright);
}
.status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #68d391;
  box-shadow: 0 0 18px rgba(104, 211, 145, 0.58);
}
.chat-stack { display: grid; gap: 12px; }
.bubble {
  max-width: 82%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 15px;
  color: var(--ink-muted);
  font-size: 14px;
  background: rgba(244, 239, 230, 0.04);
}
.bubble.user {
  justify-self: end;
  background: rgba(201, 168, 118, 0.12);
  color: var(--ink);
  border-color: rgba(201, 168, 118, 0.22);
}
.bubble.assistant { justify-self: start; }
.memory-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}
@media (max-width: 620px) { .memory-strip { grid-template-columns: 1fr; } }
.memory-pill {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--ink-faint);
  font-size: 12px;
  background: rgba(12, 10, 8, 0.52);
}
.memory-pill b {
  display: block;
  color: var(--gold-bright);
  font-size: 12px;
  margin-bottom: 3px;
}
.memory-map {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(244,239,230,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,239,230,0.04) 1px, transparent 1px),
    radial-gradient(70% 70% at 50% 50%, rgba(201, 168, 118, 0.14), transparent 68%),
    var(--bg-card);
  background-size: 32px 32px, 32px 32px, auto, auto;
  overflow: hidden;
}
.memory-node {
  position: absolute;
  width: 128px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(12, 10, 8, 0.78);
  padding: 12px;
  color: var(--ink-muted);
  font-size: 12px;
}
.memory-node b { color: var(--ink); display: block; margin-bottom: 4px; }
.memory-node.main {
  width: 150px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-color: var(--gold);
  color: var(--ink);
}
.memory-node.n1 { left: 8%; top: 12%; }
.memory-node.n2 { right: 8%; top: 18%; }
.memory-node.n3 { left: 12%; bottom: 12%; }
.memory-node.n4 { right: 10%; bottom: 10%; }
.memory-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 118, 0.58), transparent);
  transform-origin: left center;
}
.memory-line.l1 { width: 220px; left: 28%; top: 33%; transform: rotate(24deg); }
.memory-line.l2 { width: 210px; right: 24%; top: 37%; transform: rotate(-22deg); }
.memory-line.l3 { width: 220px; left: 27%; bottom: 31%; transform: rotate(-22deg); }
.memory-line.l4 { width: 230px; right: 22%; bottom: 33%; transform: rotate(22deg); }
@media (max-width: 620px) {
  .memory-map { min-height: 420px; }
  .memory-node { width: 118px; }
  .memory-node.main { width: 132px; }
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .workflow-grid { grid-template-columns: 1fr; } }
.workflow-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg-card);
}
.workflow-card .mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-bright);
  font-weight: 700;
  margin-bottom: 18px;
}
.workflow-card h3 { font-family: var(--sans); font-weight: 650; font-size: 17px; }
.workflow-card p { color: var(--ink-muted); font-size: 14.5px; margin: 0; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.quote-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 24px;
}
.quote-card q {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.42;
  color: var(--ink);
  quotes: "\201C" "\201D";
  margin-bottom: 18px;
}
.quote-card p { color: var(--ink-faint); font-size: 13px; margin: 0; }

/* numbered steps */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 760px) { .steps3 { grid-template-columns: 1fr; gap: 28px; } }
.step3 .n {
  font-family: var(--serif); font-weight: 320; font-size: 44px;
  color: var(--gold-deep); line-height: 1; margin-bottom: 14px;
}
.step3 h3 { font-family: var(--sans); font-weight: 650; font-size: 17px; }
.step3 p { color: var(--ink-muted); font-size: 14.5px; margin: 0; }

/* book player mock */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.player-mock {
  background: linear-gradient(160deg, #1A140D, #100D09);
  border: 1px solid var(--line-strong); border-radius: 22px;
  padding: 26px; max-width: 420px; margin: 0 auto;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.player-mock .cover {
  aspect-ratio: 1; border-radius: 14px; margin-bottom: 20px;
  background:
    radial-gradient(90% 90% at 20% 10%, rgba(228, 192, 136, 0.24), transparent 60%),
    linear-gradient(150deg, #2A2013, #14100A);
  border: 1px solid var(--line);
  display: flex; align-items: flex-end; padding: 18px;
}
.player-mock .cover .t { font-family: var(--serif); font-size: 21px; font-weight: 420; line-height: 1.2; }
.player-mock .cover .sub { font-size: 14px; color: var(--ink-muted); }
.player-mock .row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-muted); margin-bottom: 10px; }
.player-mock .bar { height: 4px; border-radius: 4px; background: rgba(244, 239, 230, 0.12); overflow: hidden; margin-bottom: 20px; }
.player-mock .bar i { display: block; height: 100%; width: 38%; background: var(--gold); border-radius: 4px; }
.player-mock .controls { display: flex; align-items: center; justify-content: center; gap: 22px; }
.player-mock .control-icon {
  color: var(--ink-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  min-width: 28px;
  text-align: center;
}
.player-mock .play {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--gold); color: #171106;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  padding-left: 2px;
}
.player-mock .ask {
  margin-top: 20px; text-align: center;
  border: 1px dashed var(--gold-deep); border-radius: 999px;
  padding: 10px 16px; font-size: 13.5px; color: var(--gold-bright);
}

/* pricing */
.pack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .pack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pack-grid { grid-template-columns: 1fr; } }
.pack {
  position: relative; background: var(--bg-card);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.pack:hover { transform: translateY(-4px); border-color: var(--gold-deep); }
.pack.hot { border-color: var(--gold); background: linear-gradient(180deg, rgba(201, 168, 118, 0.09), var(--bg-card) 55%); }
.pack .flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #171106; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 999px; padding: 4px 14px; white-space: nowrap;
}
.pack .price { font-family: var(--serif); font-size: 34px; font-weight: 460; margin-bottom: 2px; }
.pack .price small { font-size: 15px; color: var(--ink-muted); font-family: var(--sans); }
.pack .tokens { color: var(--gold-bright); font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.pack p { color: var(--ink-muted); font-size: 13.5px; margin: 0; }
.pricing-note { color: var(--ink-faint); font-size: 13.5px; max-width: 680px; margin: 28px auto 0; text-align: center; }

.pay-row {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-top: 36px; color: var(--ink-muted); font-size: 14px;
}
.pay-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 18px; font-size: 13.5px; color: var(--ink);
  background: var(--bg-raised);
}
.pay-chip i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pay-chip i.mtn { background: #FFCC00; }
.pay-chip i.orange { background: #FF7900; }

/* install steps */
.install-steps { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.install-steps .step { max-width: 240px; text-align: center; }
.install-steps .n {
  width: 38px; height: 38px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--gold-soft); color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 17px;
}
.install-steps p { color: var(--ink-muted); font-size: 14px; margin: 0; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0;
  font-weight: 600; font-size: 16.5px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif); font-size: 24px; font-weight: 300; color: var(--gold);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-muted); font-size: 15px; padding-bottom: 22px; margin: 0; max-width: 660px; }

/* final CTA */
.cta-final { text-align: center; padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-final .glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 60% at 50% 100%, rgba(201, 168, 118, 0.12), transparent 70%);
}
.cta-final h2 { font-size: clamp(32px, 4.6vw, 54px); max-width: 720px; margin: 0 auto 18px; position: relative; }
.cta-final .lede { margin: 0 auto 36px; position: relative; }

/* ---------- prose (legal / about body) ---------- */

.prose { max-width: 720px; }
.prose h2 { font-size: 24px; margin: 2.2em 0 0.6em; }
.prose h3 { font-size: 18px; font-family: var(--sans); font-weight: 650; margin: 1.8em 0 0.5em; }
.prose p, .prose li { color: var(--ink-muted); font-size: 15.5px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--gold-bright); }
.updated { color: var(--ink-faint); font-size: 13.5px; margin-bottom: 40px; }

.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); }
.page-hero .lede { max-width: 720px; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 760px) { .metric-grid { grid-template-columns: 1fr; } }
.metric {
  background: var(--bg);
  padding: 28px 24px;
}
.metric b {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 420;
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 10px;
}
.metric span { color: var(--ink-muted); font-size: 14px; }
.route-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 760px) { .route-list { grid-template-columns: 1fr; } }
.route-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg-card);
}
.route-card h3 { font-family: var(--sans); font-size: 17px; font-weight: 650; margin-bottom: 8px; }
.route-card p { color: var(--ink-muted); font-size: 14.5px; margin: 0; }

/* ---------- footer ---------- */

footer.site { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg-raised); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid .col h4 {
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600; margin: 0 0 16px;
}
.foot-grid .col a { display: block; color: var(--ink-muted); font-size: 14px; text-decoration: none; margin-bottom: 10px; transition: color 0.2s ease; }
.foot-grid .col a:hover { color: var(--gold-bright); }
.foot-brand p { color: var(--ink-faint); font-size: 13.5px; max-width: 280px; margin: 14px 0 0; }
.foot-bottom {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--ink-faint); font-size: 13px;
}
.foot-bottom a { color: inherit; }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .persona, .pack, .btn { transition: none; }
}

[hidden] { display: none !important; }

/* ============================================================
   Forms (contact + careers) — POST /api/contact via site.js
   ============================================================ */
.form { display: grid; gap: 18px; max-width: 640px; }
.form.wide { max-width: 760px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted);
}
.field input,
.field select,
.field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--bg-raised);
}
/* Honeypot — visually removed but focusable by bots. Never use display:none
   (some bots skip hidden fields). */
.field.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 14px; color: var(--ink-muted); }
.form-status.ok { color: var(--gold-bright); }
.form-status.err { color: #E08A7A; }

/* Careers — open role cards */
.role-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 26px 28px;
  display: grid; gap: 10px; align-content: start;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.role-card:hover { transform: translateY(-4px); border-color: var(--gold-deep); }
.role-card h3 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.role-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.role-tag {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-soft);
  border: 1px solid rgba(201, 168, 118, 0.28);
  border-radius: 999px; padding: 4px 12px;
}
.role-card p { margin: 0; color: var(--ink-muted); }
.role-card ul { margin: 4px 0 0; padding-left: 18px; color: var(--ink-muted); }
.role-card ul li { margin: 4px 0; }
.role-grid { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .role-grid { grid-template-columns: 1fr; } }
.role-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px; text-decoration: none;
  color: var(--gold-bright); font-weight: 600; font-size: 14.5px;
}
.role-cta::after { content: "→"; transition: transform 0.2s ease; }
.role-cta:hover::after { transform: translateX(4px); }

/* Careers — role detail pages (job descriptions) */
.crumb {
  display: inline-block; margin-bottom: 20px;
  color: var(--ink-muted); font-size: 13.5px; text-decoration: none;
  transition: color 0.2s ease;
}
.crumb:hover { color: var(--gold-bright); }
.jd { max-width: 760px; }
.jd h2 {
  font-size: 26px;
  margin: 2.1em 0 0.6em;
  padding-top: 1.1em;
  border-top: 1px solid var(--line);
}
.jd > h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.jd p, .jd li { color: var(--ink-muted); font-size: 15.5px; }
.jd ul { padding-left: 22px; margin: 0 0 1em; }
.jd li { margin-bottom: 9px; }
.jd li::marker { color: var(--gold-deep); }
.jd strong { color: var(--ink); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 1em; }
.chip {
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 16px; font-size: 13.5px; color: var(--ink);
  background: var(--bg-raised);
}
.hire-steps { display: grid; gap: 0; margin: 6px 0 1em; }
.hire-step {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.hire-step:last-child { border-bottom: none; }
.hire-step .n {
  font-family: var(--serif); font-weight: 320; font-size: 26px;
  color: var(--gold-deep); line-height: 1;
}
.hire-step b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 3px; }
.hire-step p { margin: 0; font-size: 14.5px; }
