@font-face { font-family: Fraunces; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Fraunces; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Outfit; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/outfit-latin.woff2") format("woff2"); }
:root {
  color-scheme: dark;
  --bg: #07060d;
  --text: #f6f3ee;
  --muted: #c4bed4;
  --gold: #f2c14e;
  --line: rgba(255, 255, 255, 0.16);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: #f2c14e; color: #1a1020; }

.sky {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1.2px 1.2px at 8% 16%, #fff, transparent),
    radial-gradient(1px 1px at 18% 72%, rgba(255,255,255,.8), transparent),
    radial-gradient(1.4px 1.4px at 28% 28%, #fff, transparent),
    radial-gradient(1px 1px at 42% 84%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 63% 18%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 74% 64%, rgba(255,255,255,.85), transparent),
    radial-gradient(1px 1px at 88% 32%, #fff, transparent),
    radial-gradient(1px 1px at 92% 78%, rgba(255,255,255,.6), transparent),
    radial-gradient(ellipse at 20% 0%, rgba(124, 92, 255, 0.28), transparent 42%),
    radial-gradient(ellipse at 90% 100%, rgba(70, 190, 200, 0.16), transparent 40%),
    #07060d;
  z-index: -1; /* behind all page content, including unpositioned headings and the page header */
}

.globe-full { position: fixed; inset: 0; z-index: 1; }
.globe-full canvas { width: 100% !important; height: 100% !important; }
.globe-labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

.top, .hero-copy, .ticker, .claim, .hover-card, .fine-home { position: relative; z-index: 3; }
.top {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  pointer-events: none;
}
.top a, .top button, .top details { pointer-events: auto; }
.logo {
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
}
.logo span { color: var(--gold); }
.top nav { display: flex; gap: 1rem; margin-left: 0.6rem; }
.top nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
}
.top nav a:hover, .top nav a[aria-current="page"] { color: white; }
.count {
  margin-left: auto;
  text-align: right;
  line-height: 1.15;
}
.count strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
}
.count span { color: var(--muted); font-size: 0.82rem; }
.pill {
  pointer-events: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(100deg, #f6d56a 0%, #ff9a62 48%, #c89bff 100%);
  color: #1b1022;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 30px rgba(255, 154, 98, 0.28);
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid var(--line);
  box-shadow: none;
}
.menu { display: none; position: relative; }
.menu summary {
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgba(8,8,16,0.45);
}
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  display: grid;
  min-width: 180px;
  padding: 0.4rem;
  border-radius: 16px;
  background: rgba(12, 12, 20, 0.9);
  border: 1px solid var(--line);
}
.menu-panel a { text-decoration: none; padding: 0.45rem 0.6rem; border-radius: 10px; }

.hero-copy {
  position: absolute;
  left: 4.5vw;
  bottom: 11vh;
  max-width: 640px;
  pointer-events: none;
}
.hero-copy > * { pointer-events: auto; }
.hero-copy h1 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(3.3rem, 6.4vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.hero-copy h1 em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(90deg, #f6d56a, #ffb088 40%, #d7b4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.whisper {
  margin: 0 0 1rem;
  max-width: 42ch;
  color: #ebe6f4;
  font-size: 1.05rem;
}
.search {
  display: flex;
  gap: 0.45rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(10, 10, 18, 0.55);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 16px 50px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.2);
  backdrop-filter: blur(18px) saturate(1.3);
  max-width: 520px;
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.75rem 1rem;
  outline: none;
}
.search input::placeholder { color: #b7b0c6; }
.search-note { margin: 0.55rem 0 0; color: #f6d56a; font-size: 0.92rem; }
.legal-line {
  margin: 0.8rem 0 0;
  color: #ddd6ea;
  font-size: 0.92rem;
  max-width: 46ch;
}

.ticker {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.7rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(5,5,10,0.72));
  pointer-events: none;
}
.ticker-live {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f6d56a;
  white-space: nowrap;
}
.ticker-window { overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.ticker-track ul { display: flex; gap: 1.4rem; margin: 0; padding: 0 1.4rem 0 0; list-style: none; }
.ticker-track li { display: flex; align-items: center; gap: 0.55rem; white-space: nowrap; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.75rem; font-weight: 600; color: #1b1022;
  background: linear-gradient(140deg, #f6d56a, #d7b4ff);
}
.flag { font-size: 1rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hover-card, .claim {
  position: absolute;
  top: 5.5rem;
  right: 1.3rem;
  width: min(360px, calc(100% - 2rem));
  padding: 1.15rem 1.15rem 1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(18,16,28,0.62));
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 24px 70px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.28);
  backdrop-filter: blur(22px) saturate(1.45);
}
.hover-card p, .claim p { margin: 0 0 0.45rem; }
.kicker {
  margin: 0 0 0.25rem;
  color: #f6d56a;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.hover-card h2, .claim h2 {
  margin: 0 0 0.2rem;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 2.3rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price {
  font-family: var(--serif);
  font-size: 2.4rem;
  margin: 0.2rem 0;
}
.claim .btn { width: 100%; margin-top: 0.4rem; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0.55rem 0; font-size: 0.9rem; color: #efeaf8; }
.check input { margin-top: 0.2rem; accent-color: #f2c14e; }
.field { display: grid; gap: 0.3rem; margin: 0.6rem 0; font-size: 0.85rem; color: var(--muted); }
.field select, .page input, .page select {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  padding: 0.4rem 0.7rem;
}
.crown-burst { text-align: center; padding: 0.4rem 0 0.2rem; }
.crown-burst svg { width: 72px; height: 72px; margin: 0 auto 0.3rem; filter: drop-shadow(0 8px 16px rgba(242,193,78,0.45)); }
.crown-burst h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 520;
}
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.confetti i {
  position: absolute;
  width: 8px; height: 12px;
  border-radius: 2px;
  opacity: 0;
}
.celebrating .confetti i { opacity: 1; }
.celebrating .confetti i:nth-child(1) { left: 12%; top: 18%; background: #f6d56a; transform: rotate(18deg); }
.celebrating .confetti i:nth-child(2) { left: 28%; top: 10%; background: #ff8fba; transform: rotate(-20deg); }
.celebrating .confetti i:nth-child(3) { left: 70%; top: 14%; background: #8fd3ff; transform: rotate(30deg); }
.celebrating .confetti i:nth-child(4) { left: 84%; top: 28%; background: #c89bff; transform: rotate(-12deg); }
.celebrating .confetti i:nth-child(5) { left: 18%; top: 62%; background: #7dffa8; transform: rotate(40deg); }
.celebrating .confetti i:nth-child(6) { left: 78%; top: 58%; background: #f6d56a; transform: rotate(-32deg); }
.celebrating .confetti i { animation: drift 1.3s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateY(10px) rotate(20deg); } }

.page { position: relative; z-index: 2; min-height: 100vh; }
.page-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.3rem;
}
.page-top nav { display: flex; gap: 0.9rem; margin-left: auto; }
.page-top nav a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.page-top nav a[aria-current="page"], .page-top nav a:hover { color: white; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding-bottom: 3rem; }
.page h1 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.04em;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.95;
  margin: 0.2rem 0 0.6rem;
}
.lede { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: #f0e7d4; margin: 0 0 1rem; }
.glass {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.16);
  backdrop-filter: blur(16px);
}
.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1rem; align-items: start; }
.pad { padding: 1.15rem 1.2rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; margin: 0.5rem 0 1rem; }
.stat strong, .stat a { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 540; }
.stat span { display: block; color: var(--muted); font-size: 0.85rem; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.cards article h3, .stack h2, .stack h3 { font-family: var(--serif); font-weight: 540; letter-spacing: -0.03em; margin: 0 0 0.35rem; }
.meter { height: 8px; border-radius: 99px; background: rgba(255,255,255,0.1); overflow: hidden; margin: 0.4rem 0; }
.meter span { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #7dffa8, #f6d56a); }
.footer-note { color: var(--muted); font-size: 0.92rem; max-width: 70ch; }

.land-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1rem; min-height: calc(100vh - 88px); }
.land-globe { position: relative; min-height: 560px; border-radius: 28px; overflow: hidden; }
.land-globe .globe-mount { position: absolute; inset: 0; }
.globe-full .globe-mount { position: absolute; inset: 0; }
.land-layout .claim { position: relative; top: auto; right: auto; width: auto; }

.stage { display: grid; grid-template-columns: 300px 1fr; gap: 1.4rem; align-items: center; min-height: calc(100vh - 120px); }
.cover {
  position: relative;
  aspect-ratio: 3 / 4.3;
  border-radius: 18px 14px 14px 18px;
  padding: 1.3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #f6e7b8;
  background:
    radial-gradient(ellipse at 30% 15%, rgba(255, 230, 170, 0.18), transparent 42%),
    linear-gradient(160deg, #243158, #101526 45%, #070910);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 0 0 1px rgba(242, 193, 78, 0.45),
    inset 0 0 0 10px rgba(6, 8, 16, 0.35),
    inset 0 0 0 11px rgba(242, 193, 78, 0.28),
    0 30px 70px rgba(0,0,0,0.45);
}
.cover h1 {
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: #f8e7b0;
}
.cover .stamp-line {
  margin-top: auto;
  width: 100%;
  border: 1px solid rgba(248, 231, 176, 0.7);
  border-radius: 10px;
  padding: 0.55rem 0.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #fff8e8;
}
.spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 0 0, rgba(255,252,245,0.9), transparent 40%),
    linear-gradient(180deg, #f7f1e4, #ead7b4);
  color: #24180f;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}
.spread h2 { font-family: var(--serif); color: #24180f; margin: 0 0 0.4rem; }
.spread .page-in { padding: 1.2rem; }
.spread .warn { border: 1px solid rgba(125, 36, 50, 0.35); border-radius: 12px; padding: 0.6rem 0.7rem; }
.stamps { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.seal {
  width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  border: 2px solid currentColor;
  font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  transform: rotate(-8deg);
}
.seal b { display: block; font-size: 0.78rem; }
.seal.a { color: #7d2432; transform: rotate(-10deg); }
.seal.b { color: #6d4e1e; transform: rotate(7deg); }
.seal.c { color: #1d4a45; transform: rotate(4deg); }
.seal.d { color: #3d3a78; transform: rotate(-6deg); }

.deed-wrap { display: grid; place-items: center; min-height: calc(100vh - 120px); }
.deed {
  width: min(760px, 100%);
  position: relative;
  padding: 2.2rem 2rem 1.5rem;
  border-radius: 6px;
  background:
    radial-gradient(ellipse at 10% 0%, #fffaf0, transparent 42%),
    linear-gradient(180deg, #f8f3e6, #e7d3ae);
  color: #24180f;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.deed h1 { color: #24180f; text-align: center; font-size: clamp(2.4rem, 4vw, 3.5rem); }
.deed p { margin: 0 0 0.7rem; }
.deed-box { border: 1px solid rgba(125, 36, 50, 0.35); border-radius: 12px; padding: 0.75rem 0.8rem; }
.seal-row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.wax {
  width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  color: #f8e7b0;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.35), transparent 28%),
    radial-gradient(circle at 50% 50%, #a33344, #6d1c2b 70%);
  box-shadow: inset 0 -8px 14px rgba(0,0,0,0.25), 0 10px 18px rgba(0,0,0,0.25);
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.sign { font-family: var(--serif); font-style: italic; font-size: 1.6rem; margin: 0; }

.desk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.55rem 0.4rem; border-bottom: 1px solid rgba(255,255,255,0.1); vertical-align: top; }
th { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #f6d56a; font-weight: 500; }
.switches { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.switch { display: flex; gap: 0.7rem; align-items: center; padding: 0.45rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.switch input { accent-color: #f2c14e; width: 1.05rem; height: 1.05rem; }
.switch small { display: block; color: var(--muted); }

@media (max-width: 860px) {
  .top nav, .page-top nav, .count { display: none; }
  .menu { display: block; margin-left: auto; }
  .hero-copy { left: 1rem; right: 1rem; bottom: 4.6rem; }
  .hero-copy h1 { font-size: 2.8rem; }
  .search { max-width: none; }
  .hover-card, .claim { top: auto; bottom: 4.4rem; right: 0.8rem; left: 0.8rem; width: auto; }
  .grid-2, .land-layout, .stage, .spread, .switches, .stats, .desk-stats, .cards { grid-template-columns: 1fr; }
  .land-globe { min-height: 420px; }
  .ticker { padding-inline: 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.is-still *, .is-still *::before, .is-still *::after { animation: none !important; transition: none !important; }

.flag-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}
.flag-cloth {
  width: 36px;
  height: 24px;
  transform-origin: 0 50%;
  transform: perspective(90px) rotateY(18deg);
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.4));
  animation: wave 1.35s ease-in-out infinite;
}
.flag-pin.is-local .flag-cloth { width: 28px; height: 18px; }
.flag-cloth svg { width: 100%; height: 100%; }
.flag-pole {
  width: 2px;
  height: 26px;
  margin-top: -1px;
  background: linear-gradient(#f7f3ea, #8a8174);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.flag-pin.is-empty .flag-pole { height: 32px; background: linear-gradient(#efeaf8, #6e6878); }
.flag-pin.is-tiny { min-width: 28px; min-height: 28px; justify-content: flex-end; }
.flag-pin.is-tiny .flag-pole { height: 16px; }
.flag-pin.is-tiny .flag-label { max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flag-label {
  margin-top: 3px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(8, 8, 16, 0.78);
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.flag-pin.is-empty .flag-label { color: #f6d56a; }
@keyframes wave {
  50% { transform: perspective(90px) rotateY(-12deg) skewX(-6deg); }
}
.designer { display: grid; grid-template-columns: 320px 1fr; gap: 1rem; align-items: start; }
.flag-stage {
  height: 240px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2rem;
}
.flag-stage .flag-cloth { width: 120px; height: 80px; }
.flag-stage .flag-pole { height: 70px; width: 4px; }
.choices { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.4rem 0 0.8rem; }
.choices button, .swatch {
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  padding: 0.3rem 0.7rem;
}
.choices button[aria-pressed="true"] { background: #f6d56a; color: #1b1022; }
input[type="color"] { width: 42px; height: 36px; padding: 0; border: 0; background: transparent; }
@media (max-width: 860px) { .designer { grid-template-columns: 1fr; } }

.gift-card {
  position: absolute;
  right: 1.3rem;
  bottom: 4.6rem;
  z-index: 3;
  width: min(340px, calc(100% - 2rem));
  padding: 1rem 1.05rem 0.9rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(18,16,28,0.62));
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 24px 70px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.28);
  backdrop-filter: blur(22px) saturate(1.45);
}
.gift-card h2 { font-family: var(--serif); font-weight: 540; letter-spacing: -0.03em; margin: 0.15rem 0 0.35rem; font-size: 1.7rem; line-height: 1.05; }
.gift-card p { margin: 0 0 0.7rem; color: #efeaf8; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.auth-card, .prose, .reveal {
  width: min(720px, calc(100% - 2rem));
  margin: 1rem auto 2rem;
  padding: 1.3rem 1.3rem 1.1rem;
}
.prose { width: min(860px, calc(100% - 2rem)); }
.prose h1, .auth-card h1, .reveal h1 { font-family: var(--serif); letter-spacing: -0.04em; line-height: 0.98; }
.prose h2 { font-family: var(--serif); font-size: 1.6rem; margin: 1.2rem 0 0.4rem; }
.prose h3 { font-size: 1rem; margin: 0.9rem 0 0.25rem; }
.legal-meta, .legal-links { color: #d9d3e6; font-size: 0.92rem; }
.legal-foot { position: relative; z-index: 4; padding: 1.2rem 1.4rem 2rem; color: #b7b0c4; font-size: 0.82rem; }
.legal-foot p { margin: 0 0 0.45rem; }
.legal-foot a, .legal-links a, .legal-meta a { color: #f3efe8; }
.legal-foot nav { display: flex; flex-wrap: wrap; gap: 0.35rem 0.85rem; }
.legal-line a { color: #f3efe8; }
.home-legal { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 0.35rem 0.9rem; background: rgba(7,6,13,0.92); }
.home-legal nav { flex-wrap: nowrap; overflow-x: auto; }
.home-legal nav a { white-space: nowrap; }
body:has(.home-legal) .ticker { bottom: 2.15rem; }
.legal-review { margin: -0.2rem 0 0.8rem; color: #c9b27a; font-size: 0.8rem; letter-spacing: 0.03em; }
.prose p, .prose li { color: #ebe6f4; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.06); padding: 0.55rem 0.7rem;
}
.field textarea { min-height: 110px; }
.badge-founders { display: inline-block; margin: 0 auto 0.6rem; border: 1px solid #c9a36a; color: #6d4e1e; border-radius: 999px; padding: 0.2rem 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; }
.deed .badge-founders, .page-in .badge-founders { display: table; }
.deed.framed { outline: 10px solid #7d2432; outline-offset: 10px; }
.coat-stage { width: 140px; margin: 0.4rem 0; }
.coat-stage svg { width: 100%; height: auto; }
.motto { font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.occasions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.55rem; }
.occasions button, .occasions a {
  display: block; text-align: left; text-decoration: none; border-radius: 16px; padding: 0.75rem;
  border: 1px solid var(--line); background: rgba(255,255,255,0.05); color: inherit;
}
.occasions .on, .occasions button[aria-pressed="true"] { border-color: #f6d56a; background: rgba(246,213,106,0.12); }
.reveal-stage { text-align: center; padding: 2rem 1rem 1rem; }
.wrap-gift { width: 140px; height: 100px; margin: 0 auto 1rem; border-radius: 12px; background: linear-gradient(180deg, #f6d56a, #c89bff); position: relative; animation: unwrap 1.6s ease forwards; }
.wrap-gift::before, .wrap-gift::after { content: ""; position: absolute; background: #7d2432; }
.wrap-gift::before { width: 16px; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); }
.wrap-gift::after { height: 16px; left: 0; right: 0; top: 42px; }
@keyframes unwrap { 70% { transform: scale(1); } 100% { transform: scale(0.2) rotate(8deg); opacity: 0; } }
.plant { margin: 1rem auto; width: 90px; }
.plant .flag-cloth { width: 86px; height: 56px; animation: rise 1.2s 0.8s both, wave 1.35s 1.6s ease-in-out infinite; }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } to { transform: perspective(90px) rotateY(18deg); opacity: 1; } }
.note-ok { color: #b7f0c8; }
.note-bad { color: #ffb4c0; }
.table-wrap table { width: 100%; }
@media (max-width: 860px) {
  .gift-card { position: static; width: auto; margin: 0 1rem 5rem; }
  .occasions { grid-template-columns: 1fr 1fr; }
}

/* Classes that replace the old inline style attributes (CSP: style-src 'self'). */
.kicker-ink { color: #6d4e1e; }
.center { text-align: center; }
.inline-form { display: inline; }
.gap-y { margin: 1rem 0; }
.gap-top { margin-top: 1rem; }
.link-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 0.7rem; }
.link-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.35rem 0.9rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.05); text-decoration: none; }
.link-chips a:hover { border-color: rgba(246,213,106,0.6); }
.wrap > h1 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.04em; line-height: 0.98; }

/* Press page */
.press-brand { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.2rem; }
.press-logo { width: 80px; height: 80px; flex: 0 0 auto; border-radius: 16px; border: 1px solid var(--line); background: #070b14; }
.press-brand h1 { margin: 0.1rem 0 0; }
.press-facts { list-style: none; padding: 0; margin: 0 0 1rem; }
.press-facts li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.6rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.press-facts strong { color: #f3efe8; font-weight: 600; }
.press-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin: 1rem 0 1.4rem; }
.press-shots figure { margin: 0; }
.press-shots img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); background: #070b14; }
.press-shots figcaption { color: #d9d3e6; font-size: 0.88rem; margin: 0.4rem 0 0; }
@media (max-width: 860px) {
  .press-shots { grid-template-columns: 1fr; }
  .press-facts li { grid-template-columns: 1fr; gap: 0.15rem; }
}
