/* ==========================================================================
   OggyKart — Modern Bazaar
   An editorial take on a B2B2C marketplace.
   Type: Fraunces (display) + Bricolage Grotesque (body) + JetBrains Mono (mono)
   Palette: Tomato · Marigold · Saffron · Midnight · Cream
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px; line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ---------- Tokens ---------- */
:root {
  /* Spice palette */
  --tomato: #D62828;
  --tomato-dark: #9D1B1B;
  --marigold: #F77F00;
  --saffron: #FCBF49;
  --midnight: #0E1B2C;
  --ink: #1A2433;
  --ink-soft: #4A5568;
  --muted: #8896A6;
  --line: #E5DCC9;
  --cream: #FFF8E7;
  --cream-dark: #F4E8C8;
  --antique: #EAE0C8;
  --paper: #FFFCF3;

  --shadow-sm: 0 2px 0 var(--ink);
  --shadow-md: 0 6px 0 var(--ink);
  --shadow-lg: 0 10px 0 var(--ink);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --container: 1240px;
  --pad: clamp(20px, 4vw, 44px);
}

/* ---------- Paper grain (subtle global texture) ---------- */
body::before {
  content: ''; position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .55; mix-blend-mode: multiply;
}
main, .site-header, .site-footer { position: relative; z-index: 2; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--midnight);
}
h1 {
  font-size: clamp(2.6rem, 7.4vw, 6.4rem);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
h1 em {
  font-style: italic; font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--tomato);
}
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 500; }
h2 em { font-style: italic; color: var(--tomato); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; }
h4 { font-size: 1.18rem; font-weight: 600; line-height: 1.25; }
p  { color: var(--ink-soft); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-soft); max-width: 58ch; line-height: 1.55; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .76rem; font-weight: 500;
  color: var(--tomato); text-transform: uppercase;
  letter-spacing: .12em;
}
.eyebrow .dash { width: 26px; height: 1.5px; background: var(--tomato); }
.serif { font-family: 'Fraunces', serif; }
.mono  { font-family: 'JetBrains Mono', monospace; }

/* Decorative asterisk (used liberally) */
.asterisk {
  display: inline-block; color: var(--marigold); font-weight: 400;
  font-family: 'Fraunces', serif;
  transform: translateY(-.15em);
}

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(56px, 7vw, 96px) 0; position: relative; }
.section-narrow { padding: clamp(40px, 5vw, 64px) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 30px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 1rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  border: 2px solid var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn-primary {
  background: var(--tomato); color: var(--cream);
  box-shadow: 0 4px 0 var(--ink);
}
.btn-primary:hover { transform: translate(-1px, -2px); box-shadow: 0 6px 0 var(--ink); }
.btn-primary:active { transform: translate(0, 2px); box-shadow: 0 2px 0 var(--ink); }
.btn-ghost {
  background: var(--cream); color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: var(--paper); transform: translate(-1px, -2px); box-shadow: 0 4px 0 var(--ink); }
.btn-dark {
  background: var(--midnight); color: var(--cream);
  border-color: var(--midnight);
  box-shadow: 0 4px 0 var(--tomato);
}
.btn-dark:hover { transform: translate(-1px, -2px); box-shadow: 0 6px 0 var(--tomato); }
.btn-lg { padding: 20px 36px; font-size: 1.05rem; }
.btn-icon { width: 18px; height: 18px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--tomato); font-weight: 600;
  border-bottom: 1.5px solid var(--tomato);
  padding-bottom: 2px; transition: gap .2s ease;
}
.arrow-link:hover { gap: 14px; }
.arrow-link svg { width: 18px; height: 18px; }

/* ---------- Marquee (the signature element) ---------- */
.marquee {
  position: relative;
  contain: inline-size;
  background: var(--tomato); color: var(--cream);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  overflow: hidden; padding: 16px 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 400;
}
.marquee-track {
  display: flex; gap: 50px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 50px; flex-shrink: 0; }
.marquee-track .star { color: var(--saffron); font-size: 1.4em; line-height: 0; transform: translateY(-.05em); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 248, 231, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 2px solid var(--ink);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px; overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: 1.55rem; color: var(--midnight);
  letter-spacing: -.025em; line-height: 1;
}
.brand-name em { font-style: italic; color: var(--tomato); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 18px; border-radius: var(--r-pill);
  font-weight: 500; color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--tomato); background: rgba(214, 40, 40, .07); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--cream); border: 2px solid var(--ink);
  align-items: center; justify-content: center;
  box-shadow: 3px 3px 0 var(--ink);
}
.nav-toggle span {
  position: relative; display: block; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 7vw, 100px) 0 clamp(40px, 5vw, 70px);
  background: var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.hero-text { position: relative; }
.hero-eyebrow { margin-bottom: 22px; }
.hero h1 { margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Hero meta strip — three small data points like a magazine */
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 28px;
  margin-top: 42px; padding-top: 30px;
  border-top: 1.5px dashed var(--ink-soft);
}
.hero-meta-item .num {
  font-family: 'Fraunces', serif; font-style: italic;
  font-weight: 500; font-size: 2rem; color: var(--tomato); line-height: 1;
}
.hero-meta-item .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: .1em; margin-top: 4px;
}

/* Hero visual — composed editorial collage */
.hero-visual {
  position: relative;
  height: clamp(520px, 64vw, 680px);
}
.hero-stamp {
  position: absolute; top: 6%; right: 0;
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--saffron);
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 1.05rem; text-align: center;
  color: var(--midnight); font-weight: 500;
  transform: rotate(-12deg);
  box-shadow: 4px 4px 0 var(--ink);
  z-index: 5;
  animation: spin-slow 30s linear infinite;
}
@keyframes spin-slow {
  from { transform: rotate(-12deg); }
  to   { transform: rotate(348deg); }
}
.hero-stamp span {
  display: inline-block;
  animation: counter-spin 30s linear infinite;
}
@keyframes counter-spin {
  from { transform: rotate(12deg); }
  to   { transform: rotate(-348deg); }
}

/* Phone mockups */
.phone {
  width: 270px; height: 585px;
  border-radius: 38px;
  background: var(--ink);
  padding: 11px;
  box-shadow: 4px 4px 0 var(--ink);
  border: 2px solid var(--ink);
  transition: transform .3s ease, box-shadow .3s ease;
}
.phone:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 28px;
  background: var(--cream); overflow: hidden; position: relative;
}
/* Real screenshot inside phone-screen — fills the bezel cleanly */
.phone-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.phone-screen.is-shot { background: #fff; }

/* Hero stacked phones — rotated; preserve rotation on hover */
.phone-1 { position: absolute; left: 0; top: 8%; transform: rotate(-6deg); z-index: 2; }
.phone-2 { position: absolute; right: 0; bottom: 0; transform: rotate(7deg); z-index: 1; }
.phone-1:hover { transform: rotate(-6deg) translate(-2px, -2px); z-index: 3; }
.phone-2:hover { transform: rotate(7deg)  translate(-2px, -2px); z-index: 3; }

/* Phone screen content */
.ps-bar {
  height: 26px; background: var(--paper);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px; font-family: 'JetBrains Mono', monospace;
  font-size: .62rem; color: var(--ink);
}
.ps-bar .right { display: flex; gap: 4px; }
.ps-header {
  padding: 14px 18px 16px; background: var(--tomato); color: var(--cream);
}
.ps-header .loc { font-family: 'JetBrains Mono', monospace; font-size: .62rem; opacity: .85; text-transform: uppercase; letter-spacing: .1em; }
.ps-header .city { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.05rem; margin-top: 2px; }
.ps-search {
  margin-top: 12px; background: rgba(255, 248, 231, .25);
  border-radius: 8px; padding: 8px 12px; font-size: .68rem;
  display: flex; align-items: center; gap: 8px; backdrop-filter: blur(4px);
  color: var(--cream);
}
.ps-cats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; padding: 14px;
}
.ps-cat {
  aspect-ratio: 1; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  border: 1.5px solid var(--ink);
}
.ps-cat:nth-child(1) { background: #FFE5D6; }
.ps-cat:nth-child(2) { background: #FFF1B8; }
.ps-cat:nth-child(3) { background: #D6F1E4; }
.ps-cat:nth-child(4) { background: #E4DEFF; }
.ps-cat:nth-child(5) { background: #FFD6E0; }
.ps-cat:nth-child(6) { background: #D6EEFF; }
.ps-cat:nth-child(7) { background: #FFE4D6; }
.ps-cat:nth-child(8) { background: #FFEFD6; }
.ps-banner {
  margin: 6px 14px; padding: 12px 14px; border-radius: 12px;
  background: var(--midnight); color: var(--cream);
  border: 1.5px solid var(--ink);
}
.ps-banner h6 { font-family: 'Fraunces', serif; font-style: italic; font-size: .92rem; font-weight: 500; }
.ps-banner small { font-size: .62rem; opacity: .8; font-family: 'JetBrains Mono', monospace; }
.ps-products {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; padding: 12px 14px;
}
.ps-product {
  background: var(--paper); border-radius: 10px; padding: 8px;
  border: 1.5px solid var(--ink);
}
.ps-product .ps-img {
  aspect-ratio: 1; border-radius: 6px; background: var(--cream);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.ps-product p { font-size: .62rem; color: var(--ink); margin-top: 6px; font-weight: 600; line-height: 1.2; }
.ps-product span { font-size: .68rem; color: var(--tomato); font-weight: 700; font-family: 'JetBrains Mono', monospace; }

/* Hero decorative arc */
.hero-deco {
  position: absolute; left: -60px; bottom: -100px;
  width: 320px; height: 320px;
  border: 2px dashed var(--marigold);
  border-radius: 50%;
  opacity: .6; z-index: 0;
}
.hero-deco-2 {
  position: absolute; right: 25%; top: 40%;
  font-family: 'Fraunces', serif; font-size: 3rem;
  color: var(--marigold); opacity: .35;
  transform: rotate(15deg);
  z-index: 1;
}

/* ---------- Index strip (numbered like magazine TOC) ---------- */
.index-strip {
  background: var(--midnight); color: var(--cream);
  padding: 22px 0; border-bottom: 2px solid var(--ink);
}
.index-track {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .76rem; text-transform: uppercase; letter-spacing: .1em;
}
.index-track .item { display: flex; align-items: center; gap: 10px; }
.index-track .item .n { color: var(--saffron); }
.index-track .item .b { width: 4px; height: 4px; background: var(--tomato); border-radius: 50%; }

/* ---------- Section heads (with index number) ---------- */
.section-head {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 60px);
  align-items: end; margin-bottom: 40px;
}
.section-head .num {
  font-family: 'Fraunces', serif; font-style: italic;
  font-weight: 400; font-size: clamp(3rem, 7vw, 5rem);
  color: var(--tomato); line-height: .9;
}
.section-head .text { max-width: 760px; }
.section-head .text .lead { margin-top: 18px; }
.section-head.center {
  grid-template-columns: 1fr; text-align: center; justify-items: center;
}

/* ---------- Value cards (4-up) ---------- */
.values { background: var(--paper); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
  padding: 32px 26px; border-radius: var(--r-md);
  background: var(--cream); border: 2px solid var(--ink);
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.value-card:hover { transform: translate(-3px, -3px); box-shadow: 0 9px 0 var(--ink); }
.value-card .v-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: .12em;
}
.value-card h4 { margin: 14px 0 10px; }
.value-card p { font-size: .96rem; }
.value-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--saffron); color: var(--ink);
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  margin-top: 22px;
  box-shadow: 3px 3px 0 var(--ink);
}
.value-icon svg { width: 28px; height: 28px; }
.value-card:nth-child(1) .value-icon { background: var(--saffron); }
.value-card:nth-child(2) .value-icon { background: var(--marigold); color: var(--cream); }
.value-card:nth-child(3) .value-icon { background: #D6F1E4; }
.value-card:nth-child(4) .value-icon { background: #E4DEFF; }

/* ---------- Categories (asymmetric grid) ---------- */
.categories { background: var(--cream); }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.cat-card {
  position: relative; aspect-ratio: 1;
  border-radius: var(--r-md);
  border: 2px solid var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 18px;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  min-width: 0;
}
.cat-card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.cat-emoji { font-size: 2.4rem; margin-bottom: 10px; }
.cat-card h5 { font-size: .92rem; color: var(--ink); font-weight: 600; overflow-wrap: break-word; }
.cat-card .price-tag {
  position: absolute; top: 10px; right: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: .62rem;
  background: var(--ink); color: var(--cream);
  padding: 3px 8px; border-radius: var(--r-pill);
}
.cat-card:nth-child(1)  { background: #FFE5D6; }
.cat-card:nth-child(2)  { background: #FFF1B8; }
.cat-card:nth-child(3)  { background: #D6F1E4; }
.cat-card:nth-child(4)  { background: #E4DEFF; }
.cat-card:nth-child(5)  { background: #FFD6E0; }
.cat-card:nth-child(6)  { background: #D6EEFF; }
.cat-card:nth-child(7)  { background: #FFE4D6; }
.cat-card:nth-child(8)  { background: #DCE5DC; }
.cat-card:nth-child(9)  { background: #F0E5D6; }
.cat-card:nth-child(10) { background: #FFEFD6; }
.cat-card:nth-child(11) { background: #FFD6D6; }
.cat-card:nth-child(12) { background: #E0E8FF; }

/* ---------- Split (app showcase / sellers) ---------- */
.split-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
}
.split-grid.reverse .split-text { order: 2; }
.split-text h2 { margin-bottom: 22px; }
.split-text .lead { margin-bottom: 32px; }
.feature-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.feature-list li { display: flex; align-items: start; gap: 16px; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--saffron); color: var(--ink);
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-text strong { display: block; font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--midnight); margin-bottom: 4px; font-weight: 600; }
.feature-text span { color: var(--ink-soft); font-size: .96rem; }

.split-visual { position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center; }

/* Big single phone (for app showcase) */
.phone-big {
  width: 320px; height: 693px; border-radius: 44px;
  background: var(--ink); padding: 13px;
  box-shadow: 5px 5px 0 var(--ink);
  border: 2px solid var(--ink);
  position: relative; z-index: 2;
  transition: transform .35s ease, box-shadow .35s ease;
}
.phone-big:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--ink);
}
.phone-big .phone-screen { border-radius: 32px; }

/* Decorative behind-phone elements */
.split-visual .badge-deco {
  position: absolute; width: 110px; height: 110px;
  background: var(--marigold); border: 2px solid var(--ink);
  border-radius: 50%; box-shadow: 4px 4px 0 var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-style: italic; font-size: .9rem; text-align: center;
  color: var(--ink); font-weight: 500;
  z-index: 3;
}
.split-visual .arc {
  position: absolute; width: 440px; height: 440px;
  border: 2px dashed var(--ink-soft);
  border-radius: 50%; opacity: .35;
  z-index: 0;
}

/* ---------- Sellers section (dark) ---------- */
.sellers-section {
  background: var(--midnight); color: var(--cream);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  position: relative; overflow: hidden;
}
.sellers-section h2 { color: var(--cream); }
.sellers-section h2 em { color: var(--saffron); }
.sellers-section .lead { color: rgba(255, 248, 231, .75); }
.sellers-section .section-head .num { color: var(--saffron); }
.sellers-section .eyebrow { color: var(--saffron); }
.sellers-section .eyebrow .dash { background: var(--saffron); }
.sellers-section .feature-text strong { color: var(--cream); }
.sellers-section .feature-text span { color: rgba(255, 248, 231, .65); }
.sellers-section .feature-icon { background: var(--marigold); color: var(--cream); border-color: var(--cream); }

/* Seller dashboard mock */
.dashboard-mock {
  background: var(--cream); border: 2px solid var(--ink);
  border-radius: var(--r-md); padding: 26px;
  box-shadow: 12px 12px 0 var(--marigold);
  width: 100%; max-width: 480px; position: relative; z-index: 2;
  color: var(--ink);
}
.dm-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1.5px dashed var(--ink-soft);
}
.dm-head .dm-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.08rem; }
.dm-head .dm-pill {
  font-family: 'JetBrains Mono', monospace; font-size: .68rem;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: #D6F1E4; color: #15803d; font-weight: 500;
  border: 1.5px solid #15803d;
}
.dm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.dm-stat {
  padding: 14px 12px; border-radius: 10px;
  background: var(--paper); border: 1.5px solid var(--ink);
}
.dm-stat small {
  display: block;
  font-family: 'JetBrains Mono', monospace; font-size: .62rem;
  color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em;
}
.dm-stat strong { display: block; font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 600; margin-top: 4px; color: var(--midnight); }
.dm-chart {
  height: 100px; border-radius: 10px; margin-bottom: 18px;
  background: var(--paper); border: 1.5px solid var(--ink);
  position: relative; overflow: hidden; padding: 12px;
}
.dm-chart svg { width: 100%; height: 100%; }
.dm-list { display: flex; flex-direction: column; gap: 8px; }
.dm-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 10px;
  background: var(--paper); border: 1.5px solid var(--ink);
}
.dm-row .left { display: flex; align-items: center; gap: 12px; }
.dm-row .dot {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--tomato); color: var(--cream);
  border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: .9rem;
}
.dm-row .ord-name { font-size: .82rem; font-weight: 600; color: var(--midnight); display: block; line-height: 1.2; }
.dm-row .ord-meta { font-family: 'JetBrains Mono', monospace; font-size: .62rem; color: var(--ink-soft); }
.dm-row .price { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: var(--tomato); font-size: .9rem; }

/* ---------- How it works (numbered cards) ---------- */
.steps { background: var(--paper); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-card {
  padding: 40px 28px 32px; border-radius: var(--r-md);
  background: var(--cream); border: 2px solid var(--ink);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translate(-3px, -3px); box-shadow: 0 9px 0 var(--ink); }
.step-num {
  position: absolute; top: -22px; left: 26px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--tomato); color: var(--cream);
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-style: italic;
  font-weight: 500; font-size: 1.5rem;
  box-shadow: 3px 3px 0 var(--ink);
}
.step-card h4 { margin: 14px 0 10px; }
.step-card p { font-size: .96rem; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  padding: 32px; border-radius: var(--r-md);
  background: var(--paper); border: 2px solid var(--ink);
  display: flex; flex-direction: column; gap: 22px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.testimonial-card .quote-mark {
  font-family: 'Fraunces', serif; font-size: 4rem;
  color: var(--tomato); line-height: .5; height: 30px;
  font-style: italic;
}
.testimonial-card .quote {
  font-family: 'Fraunces', serif; font-size: 1.05rem;
  color: var(--midnight); line-height: 1.5; font-weight: 500;
  flex: 1;
}
.testimonial-card .stars { color: var(--marigold); font-size: 1.1rem; letter-spacing: 3px; }
.testimonial-card .who { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1.5px dashed var(--ink-soft); }
.testimonial-card .avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--marigold); color: var(--cream);
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.05rem;
}
.testimonial-card .who p { font-weight: 600; color: var(--midnight); font-size: .95rem; line-height: 1.3; }
.testimonial-card .who small { color: var(--ink-soft); font-size: .8rem; font-family: 'JetBrains Mono', monospace; }
.testimonial-card:nth-child(2) { background: var(--saffron); }
.testimonial-card:nth-child(2) .quote-mark { color: var(--tomato); }

/* ---------- Download CTA ---------- */
.download {
  background: var(--tomato); color: var(--cream);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  position: relative; overflow: hidden;
}
.download::before {
  content: ''; position: absolute; top: -100px; right: -50px;
  width: 360px; height: 360px;
  background: var(--marigold); border-radius: 50%;
  border: 2px solid var(--ink);
  opacity: .5;
  z-index: 0;
}
.download-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 2;
}
.download h2 { color: var(--cream); }
.download h2 em { color: var(--saffron); font-style: italic; }
.download p { color: rgba(255, 248, 231, .9); font-size: 1.1rem; max-width: 50ch; }
.download-badges { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 24px; border-radius: var(--r-md);
  background: var(--midnight); color: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.store-badge:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.store-badge svg { width: 28px; height: 28px; }
.store-badge .small { font-size: .68rem; opacity: .8; line-height: 1; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .08em; }
.store-badge .big   { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 600; line-height: 1.1; margin-top: 2px; }
.qr-card {
  background: var(--cream); color: var(--ink); border: 2px solid var(--ink);
  border-radius: var(--r-md); padding: 18px;
  display: inline-flex; align-items: center; gap: 18px;
  margin-top: 28px; box-shadow: 6px 6px 0 var(--ink);
}
.qr-box {
  width: 92px; height: 92px; border-radius: 8px;
  background: var(--cream); padding: 6px;
  border: 2px solid var(--ink);
}
.qr-card .qr-text strong { font-family: 'Fraunces', serif; font-weight: 600; display: block; font-size: 1rem; color: var(--midnight); }
.qr-card .qr-text small { color: var(--ink-soft); font-size: .8rem; font-family: 'JetBrains Mono', monospace; }
.download-visual {
  position: relative; min-height: 480px;
  display: flex; align-items: center; justify-content: center;
  padding: 30px 0;
}
.download-visual .phone {
  position: relative; top: auto; left: auto;
  transform: rotate(-4deg);
  flex-shrink: 0;
}
.download-visual .phone:hover       { transform: rotate(-4deg) translate(-2px, -2px); }
.download-visual .phone-big:hover   { transform: rotate(-4deg) translate(-3px, -3px); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--midnight); color: rgba(255, 248, 231, .7);
  padding: 90px 0 30px;
  border-top: 2px solid var(--ink);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 60px;
}
.footer-brand .brand { color: var(--cream); margin-bottom: 22px; }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand .brand-name em { color: var(--saffron); }
.footer-brand p { color: rgba(255, 248, 231, .6); font-size: .96rem; max-width: 340px; line-height: 1.55; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255, 248, 231, .07);
  border: 1.5px solid rgba(255, 248, 231, .15);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, border-color .25s ease;
}
.footer-social a:hover { background: var(--tomato); border-color: var(--tomato); }
.footer-social svg { width: 18px; height: 18px; color: var(--cream); }
.footer-col h5 {
  color: var(--cream); font-family: 'JetBrains Mono', monospace;
  font-size: .76rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 22px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: rgba(255, 248, 231, .65); font-size: .96rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--saffron); }
.footer-bottom {
  border-top: 1.5px dashed rgba(255, 248, 231, .15); padding-top: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: .76rem; color: rgba(255, 248, 231, .5);
  text-transform: uppercase; letter-spacing: .08em;
}
.footer-bottom a { color: rgba(255, 248, 231, .65); margin-left: 22px; }
.footer-bottom a:hover { color: var(--saffron); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: clamp(56px, 6vw, 88px) 0 clamp(40px, 5vw, 64px);
  background: var(--cream);
  text-align: center;
  border-bottom: 2px solid var(--ink);
  position: relative; overflow: hidden;
}
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { max-width: 900px; margin: 0 auto 18px; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
/* Tighten gap between page-hero and the section that follows it */
.page-hero + .section,
.page-hero + .marquee + .section {
  padding-top: clamp(48px, 6vw, 80px);
}
.page-hero .deco-1, .page-hero .deco-2 {
  position: absolute; font-family: 'Fraunces', serif; font-size: 5rem;
  color: var(--marigold); opacity: .3; pointer-events: none;
}
.page-hero .deco-1 { top: 20%; left: 8%; transform: rotate(-15deg); }
.page-hero .deco-2 { bottom: 15%; right: 8%; transform: rotate(20deg); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 4vw, 60px); }
.contact-info-card {
  background: var(--midnight); color: var(--cream);
  border: 2px solid var(--ink); border-radius: var(--r-md);
  padding: 44px 36px; height: 100%;
  box-shadow: 8px 8px 0 var(--tomato);
  position: relative; overflow: hidden;
}
.contact-info-card::before {
  content: '✱'; position: absolute; top: -20px; right: -10px;
  font-family: 'Fraunces', serif; font-size: 8rem;
  color: var(--saffron); opacity: .25;
}
.contact-info-card h3 { color: var(--cream); margin-bottom: 14px; font-size: 1.7rem; }
.contact-info-card .lead { color: rgba(255, 248, 231, .8); margin-bottom: 36px; }
.contact-info-list { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; align-items: start; gap: 16px; }
.contact-info-item .ci-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--marigold); color: var(--cream);
  border: 2px solid var(--cream);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item svg { width: 20px; height: 20px; }
.contact-info-item small {
  font-family: 'JetBrains Mono', monospace; font-size: .72rem;
  color: rgba(255, 248, 231, .7); display: block;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px;
}
.contact-info-item strong { color: var(--cream); font-weight: 600; font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 500; }

.contact-form {
  background: var(--cream); border: 2px solid var(--ink);
  border-radius: var(--r-md); padding: 44px 36px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; font-weight: 500;
  color: var(--ink); text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 8px;
}
.form-control {
  width: 100%; padding: 14px 18px;
  border: 2px solid var(--ink); border-radius: 10px;
  background: var(--paper); color: var(--ink);
  transition: box-shadow .2s ease, transform .15s ease;
  font-family: 'Bricolage Grotesque', sans-serif;
}
.form-control:focus {
  outline: 0; box-shadow: 4px 4px 0 var(--tomato);
  transform: translate(-2px, -2px);
}
textarea.form-control { min-height: 140px; resize: vertical; }
.alert-success {
  padding: 16px 20px; border-radius: 10px;
  background: #D6F1E4; color: #15803d;
  border: 2px solid #15803d;
  margin-bottom: 22px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}

/* ---------- About pillars ---------- */
.about-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar-card {
  padding: 40px 32px; border-radius: var(--r-md);
  background: var(--paper); border: 2px solid var(--ink);
  box-shadow: var(--shadow-md);
}
.pillar-card .pi {
  width: 64px; height: 64px; border-radius: 18px;
  background: var(--tomato); color: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  display: flex; align-items: center; justify-content: center; margin-bottom: 26px;
}
.pillar-card:nth-child(2) .pi { background: var(--saffron); color: var(--ink); }
.pillar-card:nth-child(3) .pi { background: var(--midnight); color: var(--cream); }
.pillar-card .pi svg { width: 30px; height: 30px; }
.pillar-card h4 { margin-bottom: 12px; font-size: 1.3rem; }

/* About story split */
.story-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.story-text h2 { margin-bottom: 26px; }
.story-text p { margin-bottom: 18px; font-size: 1.05rem; }
.story-text p:first-of-type::first-letter {
  font-family: 'Fraunces', serif;
  font-size: 4.5rem; font-weight: 500;
  color: var(--tomato); float: left;
  line-height: .85; padding: 4px 14px 0 0;
  font-style: italic;
}
.story-visual {
  position: relative;
  background: var(--saffron); border: 2px solid var(--ink);
  border-radius: var(--r-md); padding: 44px;
  box-shadow: 10px 10px 0 var(--ink);
}
.story-visual .quote-block {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 1.4rem; line-height: 1.4;
  color: var(--midnight); margin-bottom: 24px;
}
.story-visual .quote-attr {
  font-family: 'JetBrains Mono', monospace;
  font-size: .8rem; color: var(--ink); text-transform: uppercase; letter-spacing: .1em;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin: 0 auto; }
.faq-item {
  border: 2px solid var(--ink); border-radius: var(--r-md);
  background: var(--cream); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.faq-item.open { box-shadow: var(--shadow-md); transform: translate(-2px, -2px); }
.faq-q {
  padding: 22px 26px; display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; gap: 16px; width: 100%; text-align: left;
}
.faq-q strong { font-family: 'Fraunces', serif; font-weight: 600; color: var(--midnight); font-size: 1.1rem; }
.faq-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream-dark); border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform .3s ease, background .25s ease;
  color: var(--ink);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--tomato); color: var(--cream); }
.faq-icon svg { width: 16px; height: 16px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 26px 22px; color: var(--ink-soft); font-size: 1rem; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 820px; margin: 0 auto;
}
.legal-content h2 { font-size: 1.6rem; margin: 38px 0 16px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { margin-bottom: 16px; line-height: 1.7; }
.legal-content ul { margin: 14px 0 22px 22px; }
.legal-content ul li { list-style: disc; color: var(--ink-soft); margin-bottom: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
  .footer-grid .footer-col:nth-child(4),
  .footer-grid .footer-col:nth-child(5) { grid-column: span 1; }
  .cats-grid { grid-template-columns: repeat(4, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  /* Hamburger nav for all tablets and medium screens */
  .nav-links { display: none; }
  .nav-cta .btn:not(.btn-primary) { display: none; }
  .nav-cta .btn-primary { padding: 12px 20px; font-size: .9rem; }
  .nav-toggle { display: flex; }
  .nav-wrap { gap: 12px; }
  .site-header.menu-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 78px; left: 0; right: 0;
    background: var(--cream); padding: 20px var(--pad); gap: 4px;
    border-bottom: 2px solid var(--ink);
  }
  .site-header.menu-open .nav-links a { width: 100%; padding: 14px 18px; }
}

@media (max-width: 880px) {
  .hero-grid, .split-grid, .split-grid.reverse, .download-grid, .contact-grid, .story-grid {
    grid-template-columns: 1fr;
  }
  .split-grid.reverse .split-text { order: 0; }
  .hero-visual { height: 560px; margin-top: 30px; }
  .phone-1 { left: 5%; }
  .phone-2 { right: 5%; }
  .download-visual { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .testimonials-grid, .steps-grid, .about-pillars { grid-template-columns: 1fr; }
  .split-visual { overflow: hidden; }
  .split-visual .arc { width: min(440px, 100%); height: min(440px, 100%); }
}

@media (max-width: 560px) {
  /* Nav: shrink everything so toggle always stays visible */
  .nav-wrap { gap: 8px; }
  .brand-name { font-size: 1.25rem; }
  .nav-cta .btn-primary { padding: 10px 14px; font-size: .85rem; }
  .nav-cta .btn-primary .btn-icon { display: none; }

  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 440px; }
  .phone { width: 200px; height: 433px; border-radius: 34px; }
  .phone .phone-screen { border-radius: 25px; }
  .phone-big { width: 260px; height: 563px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: start; }
  .footer-bottom a { margin-left: 0; margin-right: 18px; }
  .contact-info-card, .contact-form { padding: 28px 22px; }
  .qr-card { width: 100%; }
  .hero-stamp { width: 100px; height: 100px; font-size: .85rem; }
  .marquee { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 390px) {
  .hero-visual { height: 370px; }
  .phone { width: 165px; height: 357px; border-radius: 28px; }
  .phone .phone-screen { border-radius: 20px; }
  .hero-stamp { width: 84px; height: 84px; font-size: .72rem; }
  .btn-lg { padding: 16px 24px; font-size: 1rem; }
}

@media (max-width: 360px) {
  /* Very small phones: drop the nav button entirely — it's still in the hero */
  .nav-cta .btn-primary { display: none; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Pricing — single one-time entry fee (the "ticket")
   A bold editorial admission-stub design replacing the multi-tier plans grid.
   ========================================================================== */

.pricing-single { background: var(--cream); }
.pricing-single .lead { margin-left: auto; margin-right: auto; }

.ticket-wrap {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  padding-top: 30px;
}

/* Tilted "Pay Once / Sell Forever" stamp slapped on the corner */
.ticket-stamp {
  position: absolute;
  top: -10px; right: 1%;
  z-index: 5;
  width: 134px; height: 134px;
  border-radius: 50%;
  background: var(--tomato);
  color: var(--cream);
  display: grid; place-items: center;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; line-height: 1.45;
  font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase;
  border: 2.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(9deg);
  transition: transform .35s ease;
}
.ticket-stamp::before {
  /* dashed circle inside, ticket-stamp ornamentation */
  content: '';
  position: absolute; inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(255,248,231,.55);
  pointer-events: none;
}
.ticket-wrap:hover .ticket-stamp { transform: rotate(14deg) scale(1.05); }

/* The ticket itself */
.ticket {
  display: grid;
  grid-template-columns: 380px 1fr;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 14px 14px 0 var(--ink);
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ticket-wrap:hover .ticket {
  transform: translate(-3px, -3px);
  box-shadow: 18px 18px 0 var(--ink);
}

/* Tear-line notch indicators */
.ticket-notch {
  position: absolute;
  left: 380px;
  width: 26px; height: 26px;
  background: var(--cream);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 4;
}
.ticket-notch-top { top: -14px; }
.ticket-notch-bot { bottom: -14px; }

/* ---- LEFT STUB (the price) ---- */
.ticket-stub {
  background: var(--midnight);
  color: var(--cream);
  padding: 32px 30px 24px;
  position: relative;
  border-radius: 19px 0 0 19px;
  border-right: 2px dashed rgba(255,248,231,.22);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  overflow: hidden;
}
.ticket-stub::before {
  /* subtle marigold/saffron glow on stub corners */
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 88% 8%,  rgba(247,127,0,.42), transparent 38%),
    radial-gradient(circle at 8% 92%,  rgba(252,191,73,.30), transparent 42%);
  pointer-events: none;
}
.ticket-stub > * { position: relative; z-index: 1; }

.stub-corner {
  position: absolute;
  top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,248,231,.65);
  z-index: 2;
}
.stub-corner-tl { left: 18px; }
.stub-corner-tr { right: 18px; }

.stub-mid {
  margin-top: auto; margin-bottom: auto;
  padding: 30px 0 8px;
}
.stub-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; letter-spacing: .18em;
  color: var(--saffron);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.stub-price {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(4.8rem, 9vw, 6.8rem);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  line-height: .9;
  color: var(--cream);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.stub-price .rupee {
  font-style: normal;
  font-size: .42em;
  color: var(--saffron);
  margin-top: .42em;
  font-variation-settings: "opsz" 80, "SOFT" 50, "WONK" 0;
}
.stub-price .amount {
  text-shadow: 4px 4px 0 rgba(214,40,40,.45);
}
.stub-label {
  font-family: 'Fraunces', serif;
  font-size: 1.08rem;
  color: var(--cream);
  margin-top: 10px;
  letter-spacing: .005em;
}
.stub-label em {
  font-style: italic;
  color: var(--saffron);
  font-weight: 500;
}

.stub-foot { margin-top: auto; }
.stub-bar {
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255,248,231,.22), transparent);
  margin-bottom: 12px;
}
.stub-foot small {
  font-family: 'JetBrains Mono', monospace;
  font-size: .64rem;
  letter-spacing: .22em;
  color: rgba(255,248,231,.55);
  text-transform: uppercase;
  display: block;
  text-align: center;
}

/* ---- RIGHT BODY (what you get) ---- */
.ticket-body {
  padding: 36px 40px 28px;
  position: relative;
  border-radius: 0 19px 19px 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 31px,
      rgba(26,36,51,.035) 31px 32px
    ),
    var(--paper);
}
.body-head .kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--tomato);
  text-transform: uppercase;
  font-weight: 500;
}
.body-head h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 0;
  line-height: 1.05;
  margin-top: 8px; margin-bottom: 24px;
  color: var(--midnight);
  letter-spacing: -0.02em;
}
.body-head h3 em {
  font-style: italic;
  color: var(--tomato);
  font-weight: 400;
}

.ticket-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  border-top: 1.5px dashed var(--line);
  border-bottom: 1.5px dashed var(--line);
  padding: 24px 0;
  margin-bottom: 18px;
}
.ticket-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.tf-check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--saffron);
  border: 1.5px solid var(--ink);
  color: var(--ink);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; font-size: .82rem;
  margin-top: 1px;
  box-shadow: 2px 2px 0 var(--ink);
}
.ticket-features strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem; font-weight: 600;
  color: var(--midnight);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.ticket-features small {
  display: block;
  font-size: .85rem;
  color: var(--ink-soft);
  margin-top: 4px;
  line-height: 1.5;
}

.ticket-meta {
  display: flex; flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  color: var(--tomato);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}

.ticket-cta {
  width: 100%;
  font-size: 1.05rem;
  padding: 18px 30px;
}

.ticket-barcode {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1.5px dashed var(--line);
}
.bars {
  height: 38px;
  background-image:
    linear-gradient(90deg,
      var(--ink) 0 2px,   transparent 2px 6px,
      var(--ink) 6px 7px, transparent 7px 10px,
      var(--ink) 10px 13px, transparent 13px 16px,
      var(--ink) 16px 17px, transparent 17px 22px,
      var(--ink) 22px 25px, transparent 25px 27px,
      var(--ink) 27px 29px, transparent 29px 33px,
      var(--ink) 33px 36px, transparent 36px 39px,
      var(--ink) 39px 41px, transparent 41px 45px,
      var(--ink) 45px 48px, transparent 48px 51px,
      var(--ink) 51px 52px, transparent 52px 57px,
      var(--ink) 57px 60px, transparent 60px 63px,
      var(--ink) 63px 65px, transparent 65px 69px,
      var(--ink) 69px 72px, transparent 72px 75px,
      var(--ink) 75px 77px, transparent 77px 80px
    );
  background-repeat: repeat-x;
  background-size: 80px 100%;
}
.barcode-no {
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem;
  letter-spacing: .26em;
  color: var(--ink-soft);
  text-align: center;
}

/* ---- Responsive — stack ticket on small screens ---- */
@media (max-width: 880px) {
  .ticket {
    grid-template-columns: 1fr;
  }
  .ticket-stub {
    border-right: 0;
    border-bottom: 2px dashed rgba(255,248,231,.22);
    border-radius: 19px 19px 0 0;
    min-height: auto;
    padding: 28px 24px 22px;
  }
  .ticket-body {
    border-radius: 0 0 19px 19px;
    padding: 28px 24px 24px;
  }
  .ticket-features { grid-template-columns: 1fr; gap: 16px; }
  .ticket-notch { display: none; }
  .stub-mid { padding: 22px 0 6px; }
  .ticket-stamp {
    width: 96px; height: 96px;
    font-size: .60rem;
    top: -14px; right: 4%;
  }
  .stub-price { font-size: 4.4rem; }
}

@media (max-width: 480px) {
  .ticket-stub { padding: 24px 20px 18px; }
  .ticket-body { padding: 24px 20px 22px; }
  .stub-corner { font-size: .60rem; }
  .ticket-meta { gap: 12px; font-size: .66rem; }
  .stub-price { font-size: 3.8rem; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .hero-stamp, .hero-stamp span { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .ticket, .ticket-stamp { transition: none; }
}
