/* ==========================================================================
   JavaFolk - design tokens
   Palette: espresso brown + terracotta + mustard on warm paper.
   Deliberately different from any forest/amber "grove" theme: no rounded
   soft cards here, this is a stamped-ticket / pinned-corkboard look with
   thick ink borders and hard offset shadows.
   ========================================================================== */
:root {
  --espresso-950: #1c130c;
  --espresso-900: #2b1c12;
  --espresso-800: #382517;
  --espresso-700: #4a3423;
  --espresso-500: #6b4d35;

  --terracotta-700: #a8391a;
  --terracotta-600: #c1440e;
  --terracotta-500: #d85c28;
  --terracotta-100: #f6ddd0;

  --mustard-600: #b87f1c;
  --mustard-500: #e8a33d;
  --mustard-400: #f0b862;
  --mustard-100: #faeacb;

  --teal-700: #1f5c57;
  --teal-500: #2f8a83;

  --paper-50: #fbf5ea;
  --paper-100: #f4e9d8;
  --paper-200: #ecdcc0;
  --white: #fffdf8;

  --ink-900: #211a12;
  --ink-700: #4a3f33;
  --ink-500: #7a6c5a;
  --ink-300: #b3a48d;

  --success: #3c7a4e;
  --danger: #b23a2e;

  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Consolas', monospace;

  --radius-sm: 3px;
  --radius-md: 5px;

  --shadow-hard: 5px 5px 0 var(--ink-900);
  --shadow-hard-sm: 3px 3px 0 var(--ink-900);
  --shadow-hard-lg: 8px 8px 0 var(--ink-900);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper-50);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(34px, 5vw, 54px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: 19px; }
p { margin: 0 0 14px; color: var(--ink-700); }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 56px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--terracotta-700);
  background: var(--terracotta-100);
  border: 2px solid var(--ink-900);
  padding: 4px 11px 4px 8px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.eyebrow::before { content: "\25CF"; font-size: 8px; }
.lede { font-size: 17px; color: var(--ink-700); max-width: 56ch; }

/* ==========================================================================
   Buttons - blocky, hard-shadow, "pressed" interaction
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border: 2.5px solid var(--ink-900);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink-900);
  box-shadow: var(--shadow-hard-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink-900); }
.btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink-900); }
.btn-primary { background: var(--terracotta-600); color: var(--white); }
.btn-dark { background: var(--espresso-900); color: var(--paper-50); border-color: var(--ink-900); }
.btn-mustard { background: var(--mustard-500); color: var(--ink-900); }
.btn-outline { background: var(--paper-50); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; box-shadow: var(--shadow-hard-sm); }
.btn-block { width: 100%; }
.btn-ghost {
  border: none; box-shadow: none; background: none; font-family: var(--font-display);
  font-weight: 700; color: var(--ink-900); padding: 8px 4px; text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-ghost:hover { color: var(--terracotta-700); transform: none; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper-50);
  border-bottom: 3px solid var(--ink-900);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; gap: 20px; }
/* Layout inverted from the original left-logo/right-nav: the nav links
   (or the hamburger toggle on mobile) sit on the left, the brand mark
   sits on the right. */
.nav-links { order: 1; }
.brand { order: 2; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink-900); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--terracotta-600);
  border: 2.5px solid var(--ink-900);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.brand-mark svg { width: 25px; height: 25px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-700);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink-900); border-bottom-color: var(--terracotta-600); text-decoration: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 2px solid var(--ink-900); border-radius: var(--radius-sm); padding: 8px 9px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink-900); display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper-50);
    border-bottom: 3px solid var(--ink-900);
    flex-direction: column; align-items: flex-start;
    padding: 16px 24px 22px; gap: 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
}

/* ==========================================================================
   Chat edge tab - a square tab pinned to the right edge of the browser
   window, vertically centered, instead of a header button. Half of its
   border sits flush with the viewport edge so it reads as hanging off
   the side. Opens the same .chat-panel as before.
   ========================================================================== */
.chat-edge-tab {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 58;
  width: 64px;
  height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: var(--terracotta-600);
  color: var(--white);
  border: 2.5px solid var(--ink-900);
  border-right: none;
  border-radius: 10px 0 0 10px;
  box-shadow: -5px 5px 0 var(--ink-900);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.chat-edge-tab span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.chat-edge-tab:hover { background: var(--terracotta-700); transform: translateY(-50%) translateX(-3px); box-shadow: -8px 5px 0 var(--ink-900); }
@media (max-width: 640px) {
  .chat-edge-tab { width: 50px; height: 50px; }
  .chat-edge-tab svg { width: 18px; height: 18px; }
  .chat-edge-tab span { font-size: 9.5px; }
}

/* ==========================================================================
   Chat panel - opens anchored beside the edge tab
   ========================================================================== */
.chat-panel {
  position: fixed; top: 50%; right: 78px; z-index: 60;
  transform: translateY(-50%);
  width: 320px; max-width: calc(100vw - 110px);
  max-height: calc(100vh - 40px);
  background: var(--white);
  border: 2.5px solid var(--ink-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel.open { display: flex; animation: popIn 0.18s ease; }
@keyframes popIn { from { opacity: 0; transform: translateY(-50%) translateX(10px); } to { opacity: 1; transform: translateY(-50%) translateX(0); } }
.chat-panel-head {
  background: var(--espresso-900); color: var(--paper-50);
  padding: 12px 16px; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
}
.chat-panel-close { background: none; border: none; color: var(--paper-50); font-size: 20px; line-height: 1; padding: 0; }
.chat-panel-body { padding: 14px 16px; border-bottom: 1px dashed var(--paper-200); overflow-y: auto; max-height: 45vh; }
.chat-bubble { background: var(--paper-100); border: 1.5px solid var(--ink-900); border-radius: var(--radius-md); padding: 10px 12px; font-size: 13.5px; color: var(--ink-700); }
.chat-bubble.from-you { background: var(--mustard-100); margin-top: 8px; }
.chat-panel-form { display: flex; gap: 8px; padding: 12px 16px; }
.chat-panel-form input { flex: 1; border: 2px solid var(--ink-900); border-radius: var(--radius-sm); padding: 8px 10px; font-family: var(--font-body); font-size: 13.5px; }
.chat-panel-form button { border: 2px solid var(--ink-900); background: var(--terracotta-600); color: var(--white); border-radius: var(--radius-sm); padding: 8px 14px; font-weight: 700; font-size: 13px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.ticket-card {
  background: var(--espresso-950);
  border: 2.5px solid var(--ink-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard-lg);
  overflow: hidden;
  position: relative;
}
.ticket-tear {
  height: 0;
  border-top: 2px dashed var(--mustard-500);
  position: relative;
  margin: 0 18px;
}
.ticket-tear::before, .ticket-tear::after {
  content: ""; position: absolute; top: -8px; width: 16px; height: 16px;
  background: var(--paper-50); border-radius: 50%;
}
.ticket-tear::before { left: -26px; }
.ticket-tear::after { right: -26px; }
.ticket-head {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  font-family: var(--font-mono); font-size: 12px; color: var(--paper-100);
}
.ticket-head .rivet { width: 9px; height: 9px; border-radius: 50%; background: var(--mustard-500); border: 1.5px solid var(--espresso-950); }
.ticket-body { padding: 20px 20px 26px; font-family: var(--font-mono); font-size: 14px; color: var(--paper-100); min-height: 150px; }
.tw-line { display: block; color: var(--mustard-400); }
.tw-line .prompt { color: var(--teal-500); }
.tw-cursor { display: inline-block; width: 8px; height: 15px; background: var(--mustard-400); margin-left: 2px; vertical-align: -2px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-stats { display: flex; gap: 0; margin-top: 30px; flex-wrap: wrap; }
.hero-stat { padding: 0 22px; border-left: 2px dashed var(--ink-300); }
.hero-stat:first-child { padding-left: 0; border-left: none; }
.hero-stat .num { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--terracotta-700); }
.hero-stat .lbl { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-500); }

/* ==========================================================================
   Trust / stamp counters
   ========================================================================== */
.stamp-row { display: flex; flex-wrap: wrap; gap: 0; border-top: 2px solid var(--ink-900); border-bottom: 2px solid var(--ink-900); }
.stamp-item {
  flex: 1; min-width: 200px;
  padding: 26px 22px;
  border-left: 2px dashed var(--ink-900);
  text-align: center;
}
.stamp-item:first-child { border-left: none; }
.stamp-item .num { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--ink-900); }
.stamp-item .lbl { font-family: var(--font-mono); font-size: 12px; color: var(--ink-500); margin-top: 3px; }
@media (max-width: 700px) { .stamp-item { border-left: none; border-top: 2px dashed var(--ink-900); } .stamp-item:first-child { border-top: none; } }

/* ==========================================================================
   Corkboard / sticker grid - the asymmetric mixed layout, folk-craft version
   ========================================================================== */
.corkboard { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.sticker {
  grid-column: span 3;
  background: var(--white);
  border: 2.5px solid var(--ink-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard);
  padding: 24px;
  position: relative;
}
.sticker::before {
  content: "";
  position: absolute; top: -9px; left: 26px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--mustard-500);
  border: 2px solid var(--ink-900);
}
.sticker.wide { grid-column: span 4; }
.sticker.narrow { grid-column: span 2; }
.sticker.tall { grid-row: span 2; }
.sticker.rot-l { transform: rotate(-0.6deg); }
.sticker.rot-r { transform: rotate(0.6deg); }
.sticker.dark { background: var(--espresso-900); color: var(--paper-100); }
.sticker.dark h3, .sticker.dark h4 { color: var(--paper-50); }
.sticker.dark p { color: var(--paper-200); }
.sticker.dark::before { background: var(--terracotta-500); }
.sticker.accent { background: var(--mustard-100); }
.sticker-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--terracotta-100); border: 2px solid var(--ink-900);
  display: flex; align-items: center; justify-content: center;
  color: var(--terracotta-700); margin-bottom: 14px; flex: none;
}
.sticker.dark .sticker-icon { background: var(--espresso-700); color: var(--mustard-400); border-color: var(--paper-200); }
.sticker-icon svg { width: 21px; height: 21px; }
.sticker h3 { font-size: 18px; }
.sticker p:last-child { margin-bottom: 0; }
.sticker-row { display: flex; align-items: flex-start; gap: 14px; }
.sticker-row .sticker-icon { margin-bottom: 0; }

@media (max-width: 900px) {
  .corkboard { grid-template-columns: repeat(2, 1fr); }
  .sticker, .sticker.wide, .sticker.narrow { grid-column: span 2; transform: none; }
}

/* ==========================================================================
   Tabs - folk badge style
   ========================================================================== */
.folk-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.folk-tab-btn {
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  padding: 9px 18px; border: 2px solid var(--ink-900); border-radius: 100px;
  background: var(--white); color: var(--ink-700);
}
.folk-tab-btn.active { background: var(--ink-900); color: var(--paper-50); }
.folk-tab-panel { display: none; }
.folk-tab-panel.active { display: block; animation: fadeUp 0.3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   Ledger - receipt-style spec list (infra specs), dotted leaders
   ========================================================================== */
.ledger { border: 2px solid var(--ink-900); border-radius: var(--radius-md); background: var(--white); padding: 6px 22px; }
.ledger-row {
  display: flex; align-items: baseline; gap: 8px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--ink-300);
  font-family: var(--font-mono); font-size: 13.5px;
}
.ledger-row:last-child { border-bottom: none; }
.ledger-row .lg-key { color: var(--ink-900); font-weight: 700; white-space: nowrap; }
.ledger-row .lg-fill { flex: 1; border-bottom: 1.5px dotted var(--ink-300); margin-bottom: 4px; }
.ledger-row .lg-val { color: var(--terracotta-700); white-space: nowrap; text-align: right; }
@media (max-width: 640px) {
  .ledger-row { flex-wrap: wrap; }
  .ledger-row .lg-fill { display: none; }
}

/* ==========================================================================
   Feature rows / compare table
   ========================================================================== */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 46px 0; border-bottom: 2px dashed var(--ink-300); }
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
@media (max-width: 800px) { .feature-row { grid-template-columns: 1fr; } .feature-row.reverse { direction: ltr; } }
.feature-visual {
  background: var(--white); border: 2.5px solid var(--ink-900); border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard); padding: 22px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-700);
}
.feature-tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--terracotta-700); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }

.compare-wrap { overflow-x: auto; border: 2px solid var(--ink-900); border-radius: var(--radius-md); }
table.compare { width: 100%; border-collapse: collapse; background: var(--white); font-size: 13.5px; min-width: 640px; }
table.compare th, table.compare td { padding: 12px 16px; text-align: left; border-bottom: 1px dashed var(--ink-300); }
table.compare th { font-family: var(--font-display); background: var(--paper-100); font-size: 13px; }
table.compare tr:last-child td { border-bottom: none; }
table.compare td.yes { color: var(--success); font-weight: 700; }
table.compare td.no { color: var(--ink-300); }

/* ==========================================================================
   Pricing tickets
   ========================================================================== */
.ticket-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 980px) { .ticket-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ticket-grid { grid-template-columns: 1fr; } }

.price-ticket {
  background: var(--white);
  border: 2.5px solid var(--ink-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard);
  display: flex; flex-direction: column;
  position: relative;
}
.price-ticket.featured { background: var(--espresso-900); color: var(--paper-100); }
.price-ticket.featured h3, .price-ticket.featured .price-amt { color: var(--paper-50); }
.price-ticket.featured p { color: var(--paper-200); }
.ribbon {
  position: absolute; top: -13px; right: 16px;
  background: var(--mustard-500); color: var(--ink-900);
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  padding: 4px 10px; border: 2px solid var(--ink-900); border-radius: 100px;
}
.price-ticket-head { padding: 22px 22px 18px; }
.price-amt { font-family: var(--font-display); font-size: 38px; font-weight: 700; }
.price-amt .per { font-family: var(--font-mono); font-size: 13px; font-weight: 400; color: var(--ink-500); }
.price-ticket.featured .price-amt .per { color: var(--paper-200); }
.ticket-perf {
  height: 14px;
  background-image: radial-gradient(circle at 12px 0, transparent 6px, var(--paper-50) 6.5px);
  background-size: 24px 14px;
  background-repeat: repeat-x;
}
.price-ticket.featured .ticket-perf { background-image: radial-gradient(circle at 12px 0, transparent 6px, var(--espresso-900) 6.5px); }
.price-ticket-body { padding: 18px 22px 22px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.price-feats { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.price-feats li { display: flex; align-items: flex-start; gap: 8px; }
.price-feats svg { flex: none; margin-top: 2px; color: var(--success); }
.price-ticket.featured .price-feats svg { color: var(--mustard-400); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-item { border: 2px solid var(--ink-900); border-radius: var(--radius-md); background: var(--white); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 16px 20px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink-900);
}
.faq-q .plus { font-family: var(--font-mono); font-size: 18px; color: var(--terracotta-600); flex: none; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a-in { padding: 0 20px 18px; font-size: 14px; color: var(--ink-700); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--espresso-950); border-top: 3px solid var(--ink-900); border-bottom: 3px solid var(--ink-900); }
.cta-band h2, .cta-band p { color: var(--paper-50); }
.cta-band .lede { color: var(--paper-200); }

/* ==========================================================================
   Page hero (subpages)
   ========================================================================== */
.page-hero { padding: 46px 0 40px; border-bottom: 2px dashed var(--ink-300); }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 13px; margin-bottom: 6px; color: var(--ink-900); }
input, select, textarea {
  width: 100%; font-family: var(--font-body); font-size: 14.5px; color: var(--ink-900);
  border: 2px solid var(--ink-900); border-radius: var(--radius-sm); padding: 11px 13px; background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 3px 3px 0 var(--mustard-500); }
textarea { min-height: 120px; resize: vertical; }

.note-box, .success-box {
  display: flex; gap: 10px; align-items: flex-start;
  border: 2px solid var(--ink-900); border-radius: var(--radius-md);
  padding: 14px 16px; font-size: 13.5px;
}
.note-box { background: var(--mustard-100); color: var(--ink-900); }
.success-box { background: var(--terracotta-100); color: var(--ink-900); }
.success-box svg { flex: none; color: var(--success); margin-top: 1px; }

.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-list { display: flex; flex-direction: column; gap: 14px; }
.contact-info-item {
  display: flex; gap: 14px; align-items: flex-start;
  border: 2px solid var(--ink-900); border-radius: var(--radius-md);
  background: var(--white); padding: 16px 18px;
}
.contact-info-item h4 { margin-bottom: 4px; font-size: 15px; }
.contact-info-item p { margin-bottom: 4px; font-size: 13.5px; }
.card-icon {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--terracotta-100); border: 2px solid var(--ink-900);
  display: flex; align-items: center; justify-content: center; color: var(--terracotta-700);
}
.card-icon svg { width: 19px; height: 19px; }

/* ==========================================================================
   About: punch strip (timeline) + postcard + stamp facts
   ========================================================================== */
.punch-strip { position: relative; padding-left: 30px; }
.punch-strip::before { content: ""; position: absolute; left: 8px; top: 4px; bottom: 4px; border-left: 2px dashed var(--ink-900); }
.punch-item { position: relative; padding-bottom: 34px; }
.punch-item:last-child { padding-bottom: 0; }
.punch-item::before {
  content: ""; position: absolute; left: -30px; top: 2px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--mustard-500); border: 2.5px solid var(--ink-900);
}
.punch-tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--terracotta-700); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.punch-item h4 { font-size: 16px; margin: 4px 0; }
.punch-item p { font-size: 14px; margin-bottom: 0; }

.stamp-fact {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--white); border: 2px dashed var(--ink-900); border-radius: var(--radius-md);
  padding: 16px; transform: rotate(-0.4deg);
}
.stamp-fact:nth-child(even) { transform: rotate(0.4deg); }
.stamp-fact .mono-num { font-family: var(--font-mono); color: var(--terracotta-700); font-weight: 700; font-size: 14px; flex: none; }
.stamp-fact p { margin: 0; font-size: 13.5px; }

.postcard {
  background: var(--white); border: 2.5px solid var(--ink-900); border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard); padding: 24px; position: relative;
}
.postcard-stamp {
  position: absolute; top: 16px; right: 18px;
  width: 46px; height: 56px; border: 2px dashed var(--ink-900); border-radius: 3px;
  display: flex; align-items: center; justify-content: center; background: var(--mustard-100); color: var(--terracotta-700);
}
.postcard-line { font-family: var(--font-mono); font-size: 13px; color: var(--ink-700); border-bottom: 1px dashed var(--ink-300); padding: 8px 0; }
.postcard-line:last-child { border-bottom: none; }
.postcard-line .who { color: var(--ink-900); font-weight: 700; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 800px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Scroll reveal + counters
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view .stagger-child { animation: revealFade 0.5s ease forwards; }
.stagger-child { opacity: 0; }
.stagger-child:nth-child(1) { animation-delay: 0.02s; }
.stagger-child:nth-child(2) { animation-delay: 0.08s; }
.stagger-child:nth-child(3) { animation-delay: 0.14s; }
.stagger-child:nth-child(4) { animation-delay: 0.2s; }
.stagger-child:nth-child(5) { animation-delay: 0.26s; }
.stagger-child:nth-child(6) { animation-delay: 0.32s; }
@keyframes revealFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger-child { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .tw-cursor { animation: none !important; }
}
.stat-counter { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Checkout - order desk + receipt invoice
   ========================================================================== */
.order-shell { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: flex-start; }
@media (max-width: 940px) { .order-shell { grid-template-columns: 1fr; } }

.order-block {
  background: var(--white); border: 2.5px solid var(--ink-900); border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard); padding: 24px; margin-bottom: 22px;
}
.order-block-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.order-step-num {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--ink-900); color: var(--paper-50);
  font-family: var(--font-mono); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.order-block-head h3 { margin: 0; font-size: 17px; }

.customer-tabs { display: flex; gap: 10px; margin-bottom: 18px; }
.customer-tabs button {
  flex: 1; font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  padding: 10px; border: 2px solid var(--ink-900); border-radius: var(--radius-sm); background: var(--white);
}
.customer-tabs button.active { background: var(--ink-900); color: var(--paper-50); }
.customer-pane { display: none; }
.customer-pane.active { display: block; animation: fadeUp 0.25s ease; }

.plan-pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
@media (max-width: 560px) { .plan-pick-grid { grid-template-columns: 1fr; } }
.plan-pick {
  border: 2px solid var(--ink-900); border-radius: var(--radius-md); padding: 14px 16px; cursor: pointer;
  background: var(--white);
}
.plan-pick.selected { background: var(--mustard-100); box-shadow: var(--shadow-hard-sm); }
.plan-pick .pp-name { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; }
.plan-pick .pp-price { font-family: var(--font-mono); font-size: 13px; color: var(--terracotta-700); }

.billing-toggle { display: inline-flex; border: 2px solid var(--ink-900); border-radius: 100px; padding: 3px; margin-bottom: 18px; }
.billing-toggle button {
  border: none; background: none; padding: 7px 16px; border-radius: 100px;
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px; color: var(--ink-700);
}
.billing-toggle button.active { background: var(--ink-900); color: var(--paper-50); }

.addon-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px dashed var(--ink-300); }
.addon-row:first-of-type { border-top: none; }
.addon-row input { width: auto; margin-top: 3px; }
.addon-row .ar-name { font-weight: 700; font-size: 14px; }
.addon-row .ar-price { font-family: var(--font-mono); font-size: 12.5px; color: var(--terracotta-700); }
.addon-row .ar-sub { font-size: 12.5px; color: var(--ink-500); }

.pay-method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
@media (max-width: 560px) { .pay-method-grid { grid-template-columns: 1fr; } }
.pay-method-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .pay-method-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pay-method-grid-3 { grid-template-columns: 1fr; } }
.pay-method {
  display: flex; align-items: center; gap: 12px; border: 2px solid var(--ink-900); border-radius: var(--radius-md);
  padding: 14px; cursor: pointer; background: var(--white);
}
.pay-method:hover { background: var(--paper-100); }
.pay-method.selected { background: var(--mustard-100); box-shadow: var(--shadow-hard-sm); }
.pay-method .pm-icon {
  width: 36px; height: 36px; border-radius: 50%; background: var(--terracotta-100); border: 2px solid var(--ink-900);
  display: flex; align-items: center; justify-content: center; color: var(--terracotta-700); flex: none;
}
.pay-method.selected .pm-icon { background: var(--ink-900); color: var(--mustard-400); }
.pay-method .pm-name { font-weight: 700; font-size: 14px; }
.pay-method .pm-sub { font-size: 12px; color: var(--ink-500); }
.pay-detail-pane { display: none; border-top: 1px dashed var(--ink-300); padding-top: 16px; margin-top: 4px; }
.pay-detail-pane.active { display: block; animation: fadeUp 0.25s ease; }

.receipt {
  background: var(--white); border: 2.5px solid var(--ink-900); border-radius: var(--radius-md) var(--radius-md) 0 0;
  box-shadow: var(--shadow-hard); position: sticky; top: 90px; overflow: hidden;
}
.receipt-head { background: var(--ink-900); color: var(--paper-50); padding: 16px 20px; font-family: var(--font-mono); font-size: 12px; }
.receipt-head .r-num { color: var(--mustard-400); font-weight: 700; }

/* Compact "who's checking out" box, folded into the top of the receipt
   card instead of living as its own wide block in the left column. */
.receipt-account { padding: 16px 20px 4px; }
.receipt-account h4 {
  margin: 0 0 10px; font-family: var(--font-display); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-500);
}
.receipt-account .customer-tabs { gap: 6px; margin-bottom: 12px; }
.receipt-account .customer-tabs button { padding: 6px; font-size: 11.5px; }
.receipt-account .customer-pane label { font-size: 11.5px; margin-bottom: 3px; }
.receipt-account .customer-pane input { padding: 8px 10px; font-size: 13px; margin-bottom: 10px; }
.receipt-account .customer-pane #existingContinue { margin-top: 2px; }
.receipt-account #existingNote { font-size: 11.5px; margin: 8px 0 0; }
.receipt-divider-thick { border: none; border-top: 2.5px solid var(--ink-900); margin: 4px 0 0; }
.receipt-body { padding: 18px 20px; }
.receipt-line { display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-700); padding: 6px 0; }
.receipt-divider { border: none; border-top: 1.5px dashed var(--ink-300); margin: 10px 0; }
.coupon-row { padding: 2px 0 8px; }
.coupon-row label { font-size: 11.5px; margin-bottom: 5px; }
.coupon-input-row { display: flex; gap: 6px; }
.coupon-input-row input { padding: 8px 10px; font-size: 12.5px; }
.coupon-input-row .btn { padding: 8px 12px; font-size: 11.5px; white-space: nowrap; flex: none; }
.coupon-note { font-size: 11px; color: var(--ink-500); margin: 7px 0 0; line-height: 1.5; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-mono); font-weight: 700; padding-top: 10px; }
.receipt-total .amt { font-size: 22px; color: var(--terracotta-700); }
.receipt-jagged {
  height: 14px;
  background-image: radial-gradient(circle at 12px 14px, transparent 7px, var(--paper-50) 7.5px);
  background-size: 24px 14px; background-repeat: repeat-x;
}
.receipt-foot { font-size: 11.5px; color: var(--ink-500); padding: 12px 20px 18px; background: var(--paper-100); }

.order-error { display: none; background: var(--terracotta-100); border: 2px solid var(--danger); color: var(--danger); border-radius: var(--radius-md); padding: 12px 14px; font-size: 13.5px; margin-bottom: 14px; }
.terms-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; font-size: 13px; color: var(--ink-700); }
.terms-row input { width: auto; margin-top: 3px; }
.order-submit-row { display: flex; justify-content: flex-end; }

.link-btn {
  background: none; border: none; padding: 0; margin: 0;
  font: inherit; color: var(--terracotta-700);
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.link-btn:hover { color: var(--terracotta-600); }

/* ==========================================================================
   Modal (Terms of Service / SLA popups)
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(28, 19, 12, 0.6);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; animation: fadeUp 0.15s ease; }
.modal-box {
  background: var(--white);
  border: 2.5px solid var(--ink-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard-lg);
  width: 100%; max-width: 640px;
  max-height: 82vh;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.modal-head {
  background: var(--espresso-900); color: var(--paper-50);
  padding: 15px 20px; flex: none;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
}
.modal-close { background: none; border: none; color: var(--paper-50); font-size: 22px; line-height: 1; padding: 0; }
.modal-body { padding: 20px 22px 24px; overflow-y: auto; font-size: 13.5px; color: var(--ink-700); }
.modal-body h4 { font-size: 14px; margin: 18px 0 6px; color: var(--ink-900); }
.modal-body h4:first-child { margin-top: 0; }
.modal-body p { margin-bottom: 10px; }
.modal-note {
  font-size: 12px; color: var(--ink-500); background: var(--paper-100);
  border: 1.5px dashed var(--ink-300); border-radius: var(--radius-sm);
  padding: 10px 12px; margin-bottom: 16px;
}

.confirm-panel { text-align: center; padding: 20px 0; }
.check-badge {
  width: 64px; height: 64px; border-radius: 50%; background: var(--success); color: var(--white);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; border: 3px solid var(--ink-900);
}
.ref-code {
  display: inline-block; font-family: var(--font-mono); font-weight: 700; font-size: 16px;
  background: var(--mustard-100); border: 2px dashed var(--ink-900); border-radius: var(--radius-sm);
  padding: 8px 16px; margin: 10px 0 4px;
}

/* ==========================================================================
   Footer - torn off the page like a ticket stub, with a postmark stamp
   next to the wordmark instead of a plain logo lockup.
   ========================================================================== */
.site-footer { background: var(--espresso-950); color: var(--paper-200); padding: 0 0 0; margin-top: 20px; }
.footer-perf {
  height: 17px;
  background-image: radial-gradient(circle at 12px 0, transparent 7px, var(--paper-50) 7.5px);
  background-size: 24px 17px;
  background-repeat: repeat-x;
}
.footer-perf-line { height: 3px; background: var(--mustard-500); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 42px 0 34px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand-row { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--paper-50); margin-bottom: 0; }
.footer-postmark {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  border: 2px dashed var(--mustard-400);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--mustard-400);
  font-family: var(--font-mono); font-size: 9px; line-height: 1.3;
  text-transform: uppercase; letter-spacing: 0.03em;
  transform: rotate(-9deg);
}
.footer-postmark b { font-size: 12px; letter-spacing: 0; }
.footer-tagline {
  font-family: var(--font-mono); font-size: 12px; color: var(--mustard-400);
  margin-top: 10px; margin-bottom: 0;
}
.footer-col h4 { color: var(--paper-50); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.footer-col h4 .idx { color: var(--terracotta-500); font-family: var(--font-mono); margin-right: 6px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: var(--paper-200); font-size: 13.5px; }
.footer-col a:hover { color: var(--mustard-400); }
.footer-bottom {
  border-top: 1.5px dashed var(--espresso-700);
  padding: 18px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; color: var(--ink-300);
}
.legal-links { display: flex; gap: 10px; }
.legal-links a {
  color: var(--ink-300);
  border: 1.5px solid var(--espresso-700);
  border-radius: 100px;
  padding: 3px 11px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.legal-links a:hover { border-color: var(--mustard-400); color: var(--mustard-400); text-decoration: none; }
