/* =========================================================
   OPTION A — "FIELD"
   Editorial competition site. Paper background, ink typography,
   Hexaly orange as hero accent, navy as architecture color.
   Routing as visual language — nodes, edges, convex hulls.
   ========================================================= */

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

:root {
  /* Palette */
  --paper:     oklch(0.985 0.003 80);
  --paper-2:   oklch(0.965 0.004 80);
  --paper-3:   oklch(0.935 0.005 80);
  --ink:       oklch(0.18 0.018 255);
  --ink-2:     oklch(0.32 0.02 255);
  --ink-3:     oklch(0.52 0.015 255);
  --ink-4:     oklch(0.72 0.008 255);
  --rule:      oklch(0.90 0.006 80);
  --rule-2:    oklch(0.82 0.008 80);

  --orange:    #E8793F;     /* Hexaly brand */
  --orange-2:  #D2652F;
  --orange-3:  #FBE4D4;

  --navy:      oklch(0.30 0.06 258);
  --navy-2:    oklch(0.22 0.05 258);

  --teal:      oklch(0.58 0.11 195);
  --teal-2:    oklch(0.95 0.03 195);

  --green:     oklch(0.65 0.13 160);

  /* Type */
  --font-sans: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --maxw: 1240px;
  --gutter: 2rem;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.08;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); letter-spacing: -0.03em; margin-bottom: 0.5em; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.35em; }
h4 { font-size: 0.95rem; font-weight: 600; }
p  { margin-bottom: 1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.mono { font-family: var(--font-mono); }

/* ---- Layout primitives ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.rule { height: 1px; background: var(--rule); border: 0; width: 100%; }

/* ---- Navigation ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(253, 252, 249, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.9rem;
  color: var(--ink);
}
.nav-brand img { height: 48px; display: block; }
.nav-brand .nav-brand-hex { height: 36px; }
.nav-brand-div {
  width: 1px; height: 34px;
  background: var(--rule-2);
  margin: 0 0.2rem;
}
.nav-links {
  display: flex; align-items: center; gap: 0.15rem;
  list-style: none;
}
.nav-links a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0.85rem; right: 0.85rem;
  bottom: -2px;
  height: 2px;
  background: var(--orange);
}
.nav-lang {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.55rem !important;
  border: 1px solid var(--rule-2);
  border-radius: 4px;
  color: var(--ink-3) !important;
}
.nav-lang:hover { border-color: var(--ink); color: var(--ink) !important; background: transparent !important; }
.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 0.5rem 0.9rem !important;
  border-radius: 6px;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
}
.nav-cta:hover { background: var(--orange) !important; color: var(--paper) !important; }
.nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.4rem; color: var(--ink);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 75%, transparent 100%);
}
.hero-bg svg { width: 100%; height: 100%; }

.hero-meta {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.2rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.hero-meta span { display: inline-flex; gap: 0.5rem; align-items: center; }
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); display: inline-block; }

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  font-weight: 500;
  max-width: 16ch;
  margin-bottom: 1.4rem;
}
.hero-title .accent {
  color: var(--orange);
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-2);
  max-width: 52ch;
  line-height: 1.5;
  margin-bottom: 2.2rem;
}
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

/* ---- Logo lockup ---- */
.lockup {
  display: flex; align-items: center; gap: 1.4rem;
  padding: 0.8rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}
.lockup-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding-right: 1rem;
  border-right: 1px solid var(--rule-2);
}
.lockup img { height: 88px; opacity: 1; }
.lockup .hexaly-mark { height: 68px; opacity: 1; }

/* ---- Stat bar ---- */
.statbar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.statbar-cell {
  padding: 1.5rem 1.2rem;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 0.4rem;
}
.statbar-cell:last-child { border-right: 0; }
.statbar-k {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.statbar-v {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}
.statbar-v .mono-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-3);
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 0.15rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.3rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: transform 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
  border: 1px solid transparent;
}
.btn-arrow { font-family: var(--font-mono); font-size: 0.9rem; }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--orange); color: var(--paper); }
.btn-orange {
  background: var(--orange);
  color: var(--paper);
}
.btn-orange:hover { background: var(--orange-2); }
.btn-ghost {
  border-color: var(--rule-2);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }

/* ---- Section ---- */
.section { padding: 5rem 0; border-bottom: 1px solid var(--rule); }
.section:last-of-type { border-bottom: 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.section-head .eyebrow { margin-bottom: 0.9rem; display: inline-flex; }
.section-head h2 { margin: 0; }
.section-intro { color: var(--ink-2); font-size: 1.05rem; max-width: 55ch; }

.section-alt { background: var(--paper-2); }

/* ---- Cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.card {
  padding: 2rem 1.8rem;
  background: var(--paper);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  transition: background 0.2s;
}
.card:hover { background: var(--paper-2); }
.card-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-4);
  letter-spacing: 0.1em;
  margin-bottom: 1.8rem;
}
.card h3 { margin-bottom: 0.5em; font-size: 1.2rem; }
.card p { color: var(--ink-2); font-size: 0.95rem; }
.card-tag {
  position: absolute;
  top: 2rem; right: 1.8rem;
}

/* ---- Callout ---- */
.callout {
  border: 1px solid var(--rule);
  padding: 1.4rem 1.6rem;
  background: var(--paper);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.4rem;
  align-items: baseline;
}
.callout-n {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--orange);
  letter-spacing: 0.08em;
}
.callout h3 { margin-bottom: 0.3em; font-size: 1.05rem; }
.callout p { color: var(--ink-2); font-size: 0.95rem; }
.callout + .callout { border-top: 0; }

.callout-row { display: flex; flex-direction: column; }

/* ---- Table ---- */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
table.tbl th, table.tbl td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}
table.tbl thead th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.7rem;
}
table.tbl tbody tr:hover { background: var(--paper-2); }

/* ---- Tag ---- */
.tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.tag-orange { background: var(--orange-3); color: var(--orange-2); }
.tag-navy   { background: oklch(0.93 0.02 255); color: var(--navy); }
.tag-teal   { background: var(--teal-2); color: var(--teal); }
.tag-ink    { background: var(--paper-3); color: var(--ink-2); }
.tag::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; opacity: 0.7;
}

/* ---- Timeline (editorial) ---- */
.timeline-list { display: flex; flex-direction: column; }
.tl-row {
  display: grid;
  grid-template-columns: 220px 40px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.tl-row:last-child { border-bottom: 1px solid var(--rule); }
.tl-date {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.tl-marker {
  display: flex; justify-content: center;
}
.tl-marker span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink-4);
  display: block;
  margin-top: 0.55rem;
}
.tl-row.is-key .tl-marker span { background: var(--orange); width: 11px; height: 11px; }
.tl-row.is-key .tl-date { color: var(--orange); font-weight: 600; }
.tl-body h3 { font-size: 1.15rem; margin-bottom: 0.25em; }
.tl-body p { color: var(--ink-2); font-size: 0.95rem; max-width: 56ch; }

/* ---- Prize ticket ---- */
.prize-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.prize {
  border: 1px solid var(--rule);
  padding: 2rem;
  background: var(--paper);
  position: relative;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.prize-head {
  display: flex; justify-content: space-between; align-items: start;
  padding-bottom: 1.3rem;
  border-bottom: 1px dashed var(--rule-2);
  margin-bottom: 0.4rem;
}
.prize-head h3 { font-size: 1.4rem; font-weight: 500; }
.prize-amount {
  font-family: var(--font-sans);
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--orange);
  line-height: 1;
}
.prize-amount small { font-size: 0.9rem; color: var(--ink-3); font-weight: 400; display: block; font-family: var(--font-mono); letter-spacing: 0.04em; }
.prize ul { list-style: none; padding: 0; margin-top: 0.5rem; }
.prize ul li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--ink-2);
  display: flex; align-items: baseline; gap: 0.6rem;
}
.prize ul li::before {
  content: '+';
  color: var(--orange);
  font-family: var(--font-mono);
  font-weight: 500;
}
.prize ul li:last-child { border-bottom: 0; }

/* ---- Form ---- */
.form-card {
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 2.2rem;
  max-width: 640px;
}
.form-row { margin-bottom: 1.3rem; }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.5rem;
}
.form-row input, .form-row select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.15s;
}
.form-row input:focus, .form-row select:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--paper);
}

/* ---- Footer ---- */
.footer {
  background: var(--ink);
  color: oklch(0.85 0.005 80);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid oklch(0.28 0.02 255);
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: oklch(0.65 0.01 80);
  font-weight: 500;
  margin-bottom: 1rem;
}
.footer a { color: oklch(0.85 0.005 80); font-size: 0.92rem; display: block; padding: 0.25rem 0; transition: color 0.15s; }
.footer a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: oklch(0.55 0.01 80);
  flex-wrap: wrap; gap: 1rem;
}
.footer-logos { display: flex; align-items: center; gap: 1.6rem; }
.footer-logos img { height: 40px; opacity: 0.9; filter: none; }
.footer-logos .hexaly-mark { height: 36px; opacity: 1; }
.footer-logos img.on-dark { filter: brightness(0) invert(1); opacity: 0.55; }

/* ---- Page header (subpages) ---- */
.page-header {
  position: relative;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.page-header-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}
.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.035em;
  margin-bottom: 0.3em;
}
.page-header-desc { color: var(--ink-2); font-size: 1.05rem; max-width: 40ch; }
.page-header .nodeplot {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  opacity: 0.5;
  pointer-events: none;
}

/* ---- Content typography ---- */
.prose p { color: var(--ink-2); font-size: 1.02rem; line-height: 1.65; margin-bottom: 1.1em; }
.prose p strong { color: var(--ink); }
.prose h3 { margin-top: 2rem; font-size: 1.25rem; }
.prose a { color: var(--orange); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.prose a:hover { color: var(--ink); }

/* ---- Equation / Formula block ---- */
.formula {
  border: 1px solid var(--rule);
  background: var(--paper-2);
  padding: 1.8rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.8;
  overflow-x: auto;
  border-left: 3px solid var(--orange);
}
.formula .k { color: var(--orange); }
.formula .c { color: var(--ink-3); }

/* ---- Utilities ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }

.spec-list { display: flex; flex-direction: column; }
.spec-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 0.9rem 0;
  gap: 1.5rem;
  border-top: 1px solid var(--rule);
}
.spec-row:last-child { border-bottom: 1px solid var(--rule); }
.spec-k {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.spec-v { color: var(--ink); font-size: 0.98rem; }

/* ---- Switcher badge (top of each page, to jump to Option B) ---- */
.switcher {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  z-index: 60;
  display: flex;
  gap: 0;
  background: var(--ink);
  border-radius: 999px;
  padding: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
.switcher a {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: oklch(0.75 0.01 80);
  text-transform: uppercase;
}
.switcher a.on { background: var(--orange); color: var(--paper); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .statbar { grid-template-columns: repeat(2, 1fr); }
  .statbar-cell { border-bottom: 1px solid var(--rule); }
  .section-head { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
  .prize-grid { grid-template-columns: 1fr; }
  .page-header-inner { grid-template-columns: 1fr; }
  .page-header .nodeplot { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .tl-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .tl-marker { display: none; }
  .spec-row { grid-template-columns: 1fr; gap: 0.25rem; }
}
@media (max-width: 680px) {
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--paper); flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--rule); align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-brand { gap: 0.5rem; }
  .nav-brand img { height: 34px; }
  .nav-brand .nav-brand-hex { height: 24px; }
  .nav-brand-div { height: 22px; margin: 0 0.1rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .callout { grid-template-columns: 1fr; gap: 0.5rem; }
  .section { padding: 3rem 0; }
}
* Ensure every nodemap container fills its parent */
[data-nodemap] {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
}
[data-nodemap] svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Page header — make sure the node-plot background has height and is behind content */
.page-header { position: relative; overflow: hidden; }
.page-header .nodeplot {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0) 100%);
}
.page-header > .wrap { position: relative; z-index: 1; }

/* Hero-bg (home) — same treatment */
.hero { position: relative; overflow: hidden; }
.hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.8;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 65%, rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 65%, rgba(0,0,0,0) 100%);
}
.hero > .wrap { position: relative; z-index: 1; }

/* NOTE callout — add breathing room and align label top */
.callout { align-items: flex-start; }
.callout .callout-n {
  padding: 0.35em 0.6em;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Tighten oversized card padding */
.card { padding: 1.8rem 1.6rem; }
.prize { padding: 2rem; }

/* Leaderboard header compact */
.leaderboard-head { padding: 0.6rem 1.2rem !important; }