:root {
  --bg: #F7F5F0;
  --ink: #26241F;
  --muted: #5A564D;
  --line: #D9D4C9;
  --serif-display: "Didot", "Bodoni 72", "Playfair Display", Georgia, serif;
  --serif-text: "Baskerville", "Baskerville Old Face", Georgia, serif;
  --sans: "Avenir Next", "Helvetica Neue", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { color-scheme: light; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  min-height: 100svh;
  padding: max(60px, calc(env(safe-area-inset-top) + 44px)) 24px calc(32px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.card { position: relative; z-index: 2; width: 100%; max-width: 420px; animation: rise .7s ease-out both; }

.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-wrap: balance;
  color: var(--muted); line-height: 1.6;
}
.name {
  margin-top: 22px;
  font: 400 clamp(26px, 7.6vw, 34px)/1.05 var(--serif-display);
  letter-spacing: .09em; text-transform: uppercase;
}
.role { margin-top: 12px; font: italic 400 clamp(22px, 6.4vw, 26px)/1.3 var(--serif-text); color: var(--muted); }

.rule { border: 0; border-top: 1px solid var(--line); margin: 30px 0 26px; }

.tagline { font: italic 400 clamp(24px, 7vw, 29px)/1.25 var(--serif-text); }
.proofs { margin: 16px 0 28px; }
.trust { text-wrap: balance; font-size: 12.5px; font-weight: 500; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; color: var(--muted); }
.stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.stat { display: grid; gap: 6px; align-content: start; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat-n { font: 400 clamp(36px, 10vw, 42px)/1 var(--serif-display); letter-spacing: .02em; }
.stat-l { text-wrap: balance; font-size: 12px; font-weight: 500; letter-spacing: .1em; line-height: 1.45; text-transform: uppercase; color: var(--muted); }

.actions { display: grid; gap: 10px; }
.btn {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 64px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--ink);
  text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(.985); }
.btn-label { font-size: 14px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.btn-sub { white-space: nowrap; font-size: 16px; letter-spacing: .06em; font-variant-numeric: tabular-nums; opacity: .75; }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-line { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }

.links { list-style: none; margin-top: 18px; border-top: 1px solid var(--line); }
.links li { border-bottom: 1px solid var(--line); }
.links li:has(a[hidden]) { display: none; }
.links a {
  display: flex; justify-content: space-between; align-items: center; min-height: 58px;
  font-size: 14px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.links a::after { content: "\2192"; font-size: 16px; letter-spacing: 0; color: var(--muted); }

a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn-solid:focus-visible { outline-offset: 4px; }

/* Cameo layer: full-screen, never intercepts taps. Visitors only roam outside the card. */
.lane { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.stage { position: absolute; inset: 0; }
.cameo { position: absolute; left: 0; top: 0; will-change: transform; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.hop { display: block; }
.cameo svg { display: block; overflow: visible; }
.cameo * { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.eyes { transition: transform .22s ease; }
.cameo .f { fill: var(--bg); }
.cameo .d { fill: var(--ink); stroke: none; }
.cameo .m { stroke: var(--muted); }
.cameo text { fill: var(--ink); stroke: none; font: 600 5.2px var(--sans); letter-spacing: .1em; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .card { animation: none; } .lane { display: none; } }

@media (min-width: 700px) {
  body { align-items: center; padding-top: 48px; }
  .btn:hover.btn-solid { background: #3A372F; }
}

.langs { position: fixed; top: max(10px, env(safe-area-inset-top)); right: 12px; z-index: 3; display: flex; gap: 2px; }
.langs button {
  display: grid; place-items: center; width: 40px; height: 36px; background: none; border: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent; opacity: .5; transition: opacity .15s ease;
}
.langs button[aria-pressed="true"] { opacity: 1; }
.langs svg { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
.langs button[aria-pressed="true"] svg { box-shadow: 0 0 0 1.5px var(--ink); }
.langs button:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: 6px; }
