/* ===========================================================
   TWINCHIN — SHARED STYLESHEET (v2: product-site redesign)
   Cream + burnt-orange identity, restructured for clarity.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Nunito+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand colors — unchanged */
  --color-primary: #D84315;      /* Burnt Orange */
  --color-secondary: #FFCCBC;    /* Soft Peach */
  --color-background: #FFF8F3;   /* Warm Cream */
  --color-text: #2E2E2E;         /* Charcoal */
  --color-accent: #D4A017;       /* Warm Gold */

  --color-primary-dark: #A8330F;
  --color-surface: #FFFDFA;          /* card/input surface — warm off-white, never pure #fff */
  --color-surface-warm: #FFF8F3;     /* alias kept for older markup, = cream */
  --color-border: #EBD9CC;
  --color-text-muted: #6B5F57;

  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --shadow-soft: 0 8px 24px rgba(216, 67, 21, 0.08);
  --shadow-lift: 0 16px 40px rgba(46, 46, 46, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  background: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ===========================================================
   LAYOUT CONTAINERS
   =========================================================== */

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--space-md); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--space-md); }

.section { padding: var(--space-2xl) 0; }
.section-tight { padding: var(--space-xl) 0; }

/* Warm-white banding: alternate the two backgrounds instead of stacking
   decoration systems. Orange is reserved for CTA bands only. */
/* Three surfaces, site-wide: cream (default, nearly every section), the
   pattern (2–3 special/story spots, see .bg-pattern below), and orange
   (one CTA band per page, at most). No second "warm white" tier — .bg-white
   is kept only so existing markup doesn't need hunting-and-replacing, and
   just resolves to cream, same as .bg-cream. Pure white never appears as
   a section background; --color-surface (cards/inputs) is warm off-white,
   not #fff, so nothing reads as a clinical mistake sitting next to cream. */
.bg-cream, .bg-white { background: var(--color-background); }

/* The one decorative pattern surface — your chin-chin/sunburst artwork,
   scaled (not tiled: it's a directional radial burst, tiling it would
   seam badly at the repeat edge) and muted under a cream wash so body
   copy sitting on top stays fully legible. Used in exactly 3 places:
   the home "word of mouth" story section, the follow-along band, and
   the order page's email CTA — never behind photography or product cards. */
.bg-pattern {
  position: relative;
  background-color: var(--color-background);
  background-image:
    linear-gradient(rgba(255,248,243,0.6), rgba(255,248,243,0.6)),
    url('assets/pattern-chin-cubes.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
/* The overlay above is tuned to keep the pattern visible (Fife: "I can
   hardly see it" at the old ~0.8 opacity) rather than to keep every text
   role legible on it — orange and muted-brown text both drop under AA at
   any opacity that still shows the pattern. So those roles get bumped to
   full charcoal specifically when they sit on the pattern; charcoal clears
   6.8:1+ at this opacity with room to spare. */
.bg-pattern .eyebrow, .bg-pattern .text-muted, .bg-pattern cite,
.pull-quote-light .eyebrow,
.stat-banner .eyebrow, .stat-banner p,
.follow-band .eyebrow, .follow-band .text-muted {
  color: var(--color-text);
}
/* Uses primary-dark, not primary: plain white/cream body text on the
   brand's brighter burnt orange tops out at ~4.2:1, short of AA (4.5:1)
   for normal-size text. primary-dark is already in the palette as a
   supporting tone (the button hover shade) — same hue, same identity,
   just dark enough to clear contrast at real body-copy sizes. */
.bg-orange {
  background: var(--color-primary-dark);
  color: #FFF8F3;
}
.bg-orange h1, .bg-orange h2, .bg-orange h3 { color: #FFF8F3; }
.bg-orange p { color: #FFF8F3; }
.bg-orange .eyebrow { color: var(--color-secondary); }

/* Edge-to-edge section — no side gutters, image/content can bleed to viewport */
.bleed { width: 100%; }

/* ===========================================================
   TYPE SCALE — real contrast: hero ≈ 3× section heading ≈ 2× body
   =========================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-sm);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

/* Interior page headline */
h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  font-weight: 800;
}

/* The single, oversized home-hero headline — roughly 3× a section heading */
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--color-text);
  margin: 0 0 var(--space-md);
}

/* Section heading — roughly 2× body. Sans, not serif: this is the one
   change with the most leverage against the "magazine feature" feeling —
   every section on every page led with a serif headline over a paragraph,
   which reads as an article, not a shop. Serif stays reserved for the
   hero, product/event names, and genuine storytelling accents (quotes,
   the origin-story italics) so it still carries brand warmth, just not
   as the default for every single section. */
h2 {
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}

h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 700; }

h4 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}

p { margin: 0 0 var(--space-sm); color: var(--color-text); }
.lede { font-size: 1.2rem; color: var(--color-text-muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }

.tbc {
  color: var(--color-text-muted);
  font-style: italic;
  font-size: 0.88em;
  border-bottom: 1px dashed var(--color-accent);
}

/* ===========================================================
   HEADER & NAV — sticky, 4 items + one persistent CTA
   =========================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 243, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0 0 34px 34px;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  flex-shrink: 0;
}
.brand img { height: 42px; width: auto; }

.nav-main {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex: 1;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a:hover, .nav-links a.active { color: var(--color-primary); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--color-primary);
}

.header-actions { display: flex; align-items: center; gap: var(--space-sm); flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text);
  cursor: pointer;
  padding: 0.2rem;
}

@media (max-width: 860px) {
  .nav-main { position: absolute; top: 100%; left: 0; right: 0; background: var(--color-background);
    border-bottom: 1px solid var(--color-border); flex-direction: column; align-items: stretch;
    gap: 0; display: none; padding: var(--space-sm) var(--space-md); }
  .nav-main.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; width: 100%; }
  .nav-links li { padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-toggle { display: block; }
  /* the Order CTA is never hidden behind the menu, per spec */
  .header-actions .btn { padding: 0.65rem 1.1rem; font-size: 0.88rem; }
}

/* ===========================================================
   BUTTONS
   =========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-align: center;
}

/* Cream text on the brand's brighter --color-primary is ~4.2:1 at button
   text sizes — short of AA's 4.5:1 for normal text. primary-dark clears
   it (6.3:1+) while still reading as burnt orange. */
.btn-primary { background: var(--color-primary-dark); color: #FFF8F3; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: #7C2A0D; transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.btn-secondary { background: transparent; border-color: var(--color-primary-dark); color: var(--color-primary-dark); }
.btn-secondary:hover { background: var(--color-primary-dark); color: #FFF8F3; transform: translateY(-2px); }

/* Used only where a button must sit ON a burnt-orange background:
   cream fill / charcoal text gives real contrast (gold-on-orange reads muddy). */
.btn-on-orange { background: var(--color-background); color: var(--color-text); }
.btn-on-orange:hover { background: var(--color-surface); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }

/* ===========================================================
   FORM ELEMENTS
   =========================================================== */

.field { margin-bottom: var(--space-md); text-align: left; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--color-text); }

.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"],
.field input[type="number"], .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(216, 67, 21, 0.12);
  outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: #A69A90; }

.inline-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.inline-form input { flex: 1 1 240px; }

/* ===========================================================
   CARDS
   =========================================================== */

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}
.card h3 { margin-bottom: 0.4rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-md); }

/* ===========================================================
   FOOTER
   =========================================================== */

.site-footer { background: var(--color-text); color: #F5EDE6; padding: var(--space-xl) 0 var(--space-lg); }
.site-footer p { color: #F5EDE6; }
.site-footer a { color: #F5EDE6; }
.site-footer a:hover { color: var(--color-secondary); }
.footer-social { display: flex; align-items: center; gap: 0.5rem; }
.footer-social img { width: 18px; height: 18px; flex-shrink: 0; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-lg); }
.site-footer h4 { color: var(--color-secondary); }
.site-footer .brand { color: #FFF8F3; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.85rem;
  color: #C9BDB3;
}
@media (max-width: 780px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ===========================================================
   ONE DECORATION MOTIF — the floating chin-chin cube.
   Kept, but pulled back to a single restrained treatment
   (a handful of pieces, quiet opacity) instead of stacking
   with waves/tickers. This is the only ambient decoration
   on the site.
   =========================================================== */

.ambient-cubes { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.acube { position: absolute; width: 54px; filter: drop-shadow(0 6px 10px rgba(110,67,32,0.16)); opacity: 0.28; will-change: transform; }
.acube-a { top: 12%; left: 4%; width: 50px; animation: driftA 24s ease-in-out infinite; }
.acube-b { top: 70%; left: 90%; width: 40px; animation: driftB 27s ease-in-out infinite; animation-delay: -6s; }
.acube-c { top: 84%; left: 8%; width: 34px; animation: driftC 21s ease-in-out infinite; animation-delay: -11s; opacity: 0.2; }

@keyframes driftA {
  0% { transform: translate(0,0) rotate(-8deg); } 50% { transform: translate(14px,-18px) rotate(6deg); } 100% { transform: translate(0,0) rotate(-8deg); }
}
@keyframes driftB {
  0% { transform: translate(0,0) rotate(6deg); } 50% { transform: translate(-16px,14px) rotate(-10deg); } 100% { transform: translate(0,0) rotate(6deg); }
}
@keyframes driftC {
  0% { transform: translate(0,0) rotate(-3deg); } 50% { transform: translate(-10px,-14px) rotate(10deg); } 100% { transform: translate(0,0) rotate(-3deg); }
}
@media (max-width: 780px) { .acube-c { display: none; } }
@media (prefers-reduced-motion: reduce) { .acube { animation: none; } }

/* ===========================================================
   SCROLL-REVEAL MOTION UTILITY
   Content is visible by default (never gated behind JS or scroll
   position — a JS failure or a non-scrolling full-page render
   must never hide real content). JS below only ADDS a brief
   fade-up polish for users who scroll normally; nothing depends
   on it for legibility.
   =========================================================== */

.reveal { opacity: 1; }
.js-reveal .reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.35s ease-out, transform 0.35s ease-out; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.05s; }
.reveal-delay-2 { transition-delay: 0.1s; }

/* ===========================================================
   PRODUCT GRID — real pack cards (home + products.html)
   =========================================================== */

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
@media (max-width: 860px) { .product-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.product-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.product-card .pc-body { padding: var(--space-md); display: flex; flex-direction: column; flex: 1; }
.product-card h3 { margin-bottom: 0.15rem; }
.product-card .pc-serving { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 0.6rem; }
.product-card .pc-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 0.8rem; padding-bottom: 0.8rem; border-bottom: 1px dashed var(--color-border); }
.product-card .pc-meta strong { color: var(--color-text); font-weight: 700; }
.product-card .pc-price { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--color-primary); margin-bottom: var(--space-sm); }
.product-card .btn { margin-top: auto; }

/* ===========================================================
   PROVENANCE — one full-bleed photo section, real weight
   =========================================================== */

.provenance {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  background: var(--color-text);
  overflow: hidden;
}
.provenance img.prov-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
/* The frying photo is busy right where the text sits (bright fried
   highlights directly behind letters) — a light fade-only overlay left
   the headline and button nearly unreadable on inspection. Darkened and
   pushed further up the frame so the whole text block sits on solid
   cover, plus a text-shadow on every text element as a belt-and-braces
   fix for whatever local brightness the gradient alone doesn't catch. */
.provenance::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,9,5,0.92) 0%, rgba(15,9,5,0.88) 55%, rgba(15,9,5,0.55) 80%, rgba(15,9,5,0.15) 100%);
}
.provenance .prov-content { position: relative; z-index: 2; padding: var(--space-xl) var(--space-md) var(--space-2xl); width: 100%; }
.provenance .prov-content .wrap-narrow { text-align: left; }
.provenance h2, .provenance p, .provenance .eyebrow, .provenance .prov-chapter {
  text-shadow: 0 2px 14px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.6);
}
.provenance h2 { color: #FFF8F3; }
.provenance p { color: #F5EAE0; font-size: 1.08rem; max-width: 560px; }
.provenance .eyebrow { color: #FFD9C4; }
/* .btn-secondary's default (primary-dark outline) is tuned for light
   cream backgrounds — against this section's dark photo overlay it drops
   to ~2.8:1. Cream outline/text clears 17:1 here instead. */
.provenance .btn-secondary { border-color: #FFF8F3; color: #FFF8F3; }
.provenance .btn-secondary:hover { background: #FFF8F3; color: var(--color-text); }
.provenance .prov-chapter { color: var(--color-secondary); font-family: var(--font-display); font-style: italic; font-size: 1.05rem; margin-top: var(--space-sm); }
@media (max-width: 780px) { .provenance { min-height: 460px; } }

/* ===========================================================
   PROOF — single customer quote, clearly-marked TBC slot
   =========================================================== */

.proof-quote { max-width: 640px; margin: 0 auto; text-align: center; }
.proof-quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--color-text);
  margin: 0 0 var(--space-sm);
  line-height: 1.4;
}
.proof-quote cite { font-style: normal; font-weight: 700; color: var(--color-text-muted); font-size: 0.95rem; }

.quote-slider { position: relative; min-height: 9.5rem; }
.quote-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.6s ease; pointer-events: none;
}
.quote-slide.is-active { opacity: 1; pointer-events: auto; }
.quote-slide blockquote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: var(--color-text); margin: 0 0 var(--space-sm); line-height: 1.4; }
.quote-slide cite { font-style: normal; font-weight: 700; color: var(--color-text-muted); font-size: 0.95rem; }
.quote-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: var(--space-sm); }
.quote-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-border); border: none; padding: 0; cursor: pointer; }
.quote-dot.is-active { background: var(--color-primary); }

/* ===========================================================
   FOLLOW ALONG — Instagram/TikTok strip + follow/email band
   =========================================================== */

.follow-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.6rem; }
.follow-grid a { position: relative; display: block; aspect-ratio: 1/1; border-radius: var(--radius-sm); overflow: hidden; }
.follow-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.follow-grid a:hover img { transform: scale(1.06); }
.follow-grid .fg-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(20,12,7,0.75), transparent);
  color: #FFF8F3; font-size: 0.72rem; font-weight: 700;
  padding: 0.5rem 0.5rem 0.35rem;
}
@media (max-width: 860px) { .follow-grid { grid-template-columns: repeat(3, 1fr); } }

/* This is "the follow-along band" the pattern belongs on — the text/email
   CTA strip, not the photo grid above it (photography stays on quiet cream
   per the no-pattern-behind-photos rule). */
.follow-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
  position: relative;
  background-color: var(--color-surface);
  background-image:
    linear-gradient(rgba(255,253,250,0.6), rgba(255,253,250,0.6)),
    url('assets/pattern-chin-cubes.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-top: var(--space-lg);
}
.follow-band .fb-social p { margin: 0 0 0.4rem; }
.follow-band .fb-email { display: flex; flex-direction: column; gap: 0.6rem; min-width: 280px; flex: 1 1 320px; }
.follow-band .fb-email .inline-form { margin: 0; }
@media (max-width: 700px) { .follow-band { flex-direction: column; align-items: stretch; } }

/* ===========================================================
   ORDER PAGE — three ranked ways to act
   =========================================================== */

.order-primary {
  position: relative;
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lift);
}
/* Numbered stamp badge — same dashed-circle motif as the "Grandma's Recipe"
   stamp on Our Story, reused here so "three ways to order, ranked" actually
   reads as ranked at a glance instead of three same-weight boxes. */
.step-badge {
  position: absolute;
  top: -16px;
  left: -14px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px dashed var(--color-primary-dark);
  box-shadow: 0 5px 12px rgba(110,67,32,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  transform: rotate(-8deg);
  z-index: 2;
}
.order-primary .op-rank { display: inline-block; background: var(--color-primary-dark); color: #FFF8F3; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 999px; margin-bottom: var(--space-sm); }
.order-channel-row { display: flex; gap: var(--space-md); flex-wrap: wrap; margin: var(--space-md) 0; }
.order-channel {
  flex: 1 1 260px;
  background: var(--color-surface-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}
.order-channel .oc-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; color: var(--color-text-muted); display: block; margin-bottom: 0.3rem; }
.order-channel .oc-value { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--color-primary); }
.order-fact-list { list-style: none; margin: var(--space-md) 0 0; padding: 0; }
.order-fact-list li { padding: 0.55rem 0; border-bottom: 1px dashed var(--color-border); display: flex; gap: 0.6rem; }
.order-fact-list li:last-child { border-bottom: none; }
.order-fact-list strong { flex-shrink: 0; min-width: 150px; color: var(--color-text); }

.order-secondary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); margin-top: var(--space-lg); }
@media (max-width: 860px) { .order-secondary-grid { grid-template-columns: 1fr; } }
.order-secondary-grid .card { position: relative; display: flex; flex-direction: column; }
.order-secondary-poster { margin-top: auto; padding-top: var(--space-sm); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.order-secondary-poster img { width: 100%; display: block; border-radius: var(--radius-md); }

.popup-list { list-style: none; margin: var(--space-sm) 0 0; padding: 0; }
.popup-list li { display: flex; justify-content: space-between; gap: var(--space-sm); padding: 0.8rem 0; border-bottom: 1px solid var(--color-border); font-weight: 600; flex-wrap: wrap; }
.popup-list li:last-child { border-bottom: none; }
.popup-list .pl-date { color: var(--color-primary); font-family: var(--font-display); }
.popup-empty { color: var(--color-text-muted); }

/* ===========================================================
   FACT GRID — products.html ingredients / allergens / storage
   =========================================================== */

.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-md); }
.fact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
}
.fact-card h4 { margin-bottom: 0.5rem; }
.fact-card p { font-size: 0.94rem; color: var(--color-text-muted); margin: 0; }

.ingredient-list-plain { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: var(--space-sm) 0 0; padding: 0; list-style: none; }
.ingredient-list-plain li {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--color-text);
}

.spice-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); margin-top: var(--space-md); max-width: 420px; }
.spice-duo img { border-radius: var(--radius-md); aspect-ratio: 1/1; object-fit: cover; width: 100%; box-shadow: var(--shadow-soft); }
.spice-duo .spice-cap { grid-column: 1 / -1; font-size: 0.85rem; color: var(--color-text-muted); text-align: center; }

/* ===========================================================
   EVENTS PAGE
   =========================================================== */

.event-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); }
.event-gallery img { border-radius: var(--radius-md); aspect-ratio: 1/1; object-fit: cover; width: 100%; box-shadow: var(--shadow-soft); }
@media (max-width: 780px) { .event-gallery { grid-template-columns: repeat(2, 1fr); } }

.event-fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-md); }
.event-fact-grid .fact-card .fc-num { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--color-primary); display: block; margin-bottom: 0.2rem; }

.format-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
@media (max-width: 700px) { .format-grid { grid-template-columns: 1fr; } }
.format-option { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-md); box-shadow: var(--shadow-soft); }

/* ===========================================================
   FAQ — native details/summary, tap-friendly by default
   =========================================================== */

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  padding: 0.2rem var(--space-md);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-md) 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: var(--space-md); margin: 0; color: var(--color-text-muted); }

/* ===========================================================
   HERO (home) — single product shot, single CTA
   =========================================================== */

/* Slim charcoal announcement bar above the header. */
.announce-bar {
  background: var(--color-text);
  color: var(--color-background);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem var(--space-md);
}

/* Full-bleed photo hero: one real photo fills the section, full resolution,
   no blur. A single vertical scrim (charcoal, not a color of its own)
   stays nearly clear over the top ~36% so the product itself is what you
   see first, then ramps in under the copy so the text stays readable —
   capped well short of solid black so the photo keeps showing through
   even behind the text block. */
.hero.bleed {
  position: relative;
  min-height: min(84vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero.bleed .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%;
  filter: saturate(1.14) contrast(1.06);
}
.hero.bleed::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(46,46,46,0.20) 0%,
    rgba(46,46,46,0.04) 14%,
    rgba(46,46,46,0.04) 34%,
    rgba(46,46,46,0.55) 45%,
    rgba(46,46,46,0.78) 54%,
    rgba(46,46,46,0.87) 72%,
    rgba(46,46,46,0.90) 100%);
}
.hero.bleed .wrap { position: relative; z-index: 2; width: 100%; padding-top: clamp(280px, 40vw, 400px); padding-bottom: var(--space-xl); }
.hero-copy { max-width: 640px; }
.hero-copy .eyebrow { background: var(--color-primary); color: #FFF8F3; border: none; border-radius: 999px; padding: 0.4rem 1rem; }
.hero-copy .hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(44px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.032em;
  color: #FFF8F3; margin: var(--space-sm) 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55), 0 6px 24px rgba(0,0,0,0.45);
}
.hero-copy .lede { font-size: 19px; color: #FFF8F3; text-shadow: 0 1px 3px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.4); margin-bottom: var(--space-md); }
.hero-cta-row { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }
.hero-cta-row .btn-primary { border-radius: 999px; background: #FFF8F3; color: var(--color-primary); box-shadow: none; }
.hero-cta-row .btn-primary:hover { background: var(--color-secondary); transform: translateY(-2px); }
.hero-cta-row .btn-text { border: none; background: none; color: #FFF8F3; font-weight: 700; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 4px; padding: 0.85rem 0; }
@media (max-width: 860px) {
  .hero.bleed { min-height: min(74vh, 640px); align-items: flex-end; }
  .hero.bleed .wrap { padding-top: clamp(180px, 46vw, 280px); padding-bottom: var(--space-lg); }
  .hero.bleed .hero-bg { object-position: 50% 30%; }
  .hero-copy { max-width: 100%; }
}

/* Slim charcoal strip under the hero: ownership badge + social line. */
.hero-badge-strip { background: var(--color-text); padding: var(--space-md) 0; }
.hero-badge-strip .wrap { display: flex; align-items: center; gap: var(--space-md); }
.twin-badge {
  flex-shrink: 0; width: 74px; height: 74px; border-radius: 50%;
  background: var(--color-background); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-body); font-weight: 800; font-size: 0.66rem; letter-spacing: 0.03em;
  text-transform: uppercase; line-height: 1.15; padding: 0.4rem;
}
.hero-badge-strip p { margin: 0; color: var(--color-background); font-size: 0.95rem; }
.hero-badge-strip a { color: var(--color-secondary); font-weight: 700; }

/* Scrolling value-prop ticker — its own charcoal strip, not laid over the
   photo, so it stays within the site's five-color palette. A bit of
   motion, pauses for anyone who's asked for reduced motion. */
.hero-marquee { overflow: hidden; background: var(--color-text); border-top: 1px solid rgba(255,248,243,0.15); padding: 0.6rem 0; }
.hero-marquee-track { display: flex; width: max-content; gap: 2.5rem; animation: marquee 26s linear infinite; }
.hero-marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-background); white-space: nowrap; }
.hero-marquee-track .dot { color: var(--color-accent); margin-left: 0.6rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hero-marquee-track { animation: none; } }

/* Header row for a social/photo section — eyebrow+heading on the left,
   a "follow us" link pinned to the right on wide screens. */
.social-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: var(--space-sm) var(--space-md); }
.social-header .sh-text .eyebrow { margin-bottom: 0.2rem; }
.social-header .sh-text h2 { margin-bottom: 0.2rem; }
.social-header .sh-link { font-weight: 700; font-size: 0.95rem; white-space: nowrap; padding-bottom: 0.3rem; }

/* Generic interior page hero (about/products/recipes/events/faq/contact/order) */
.page-hero { padding: var(--space-xl) 0 var(--space-lg); text-align: center; }
.page-hero h1 { max-width: 720px; margin: 0 auto var(--space-sm); }
.page-hero p { max-width: 580px; margin: 0 auto; }

/* ===========================================================
   CONTACT PAGE (kept, decluttered)
   =========================================================== */

.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-xl); align-items: start; }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info-card { background: var(--color-surface); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow-soft); border: 1px solid var(--color-border); }
.contact-line { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) 0; border-bottom: 1px dashed var(--color-border); }
.contact-line:last-child { border-bottom: none; }
.contact-line .contact-label-mark {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-surface-warm); border: 1.5px solid var(--color-border); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-line a, .contact-line span.value { font-weight: 700; color: var(--color-text); }
.contact-line a:hover { color: var(--color-primary); }
.contact-line .label { display: block; font-size: 0.8rem; color: var(--color-text-muted); font-weight: 600; }
.card-poster { margin-top: var(--space-lg); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.card-poster img { width: 100%; display: block; }
.contact-form-card { background: var(--color-surface); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow-soft); border: 1px solid var(--color-border); }

/* ===========================================================
   ABOUT / STORY PAGE (kept, decluttered — no hover-only, no waves)
   =========================================================== */

.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; padding: var(--space-xl) 0; }
.chapter.reverse .chapter-img { order: 2; }
.chapter-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); aspect-ratio: 4/3.2; object-fit: cover; width: 100%; }
.chapter-text p { font-size: 1.05rem; }
@media (max-width: 860px) {
  .chapter, .chapter.reverse { grid-template-columns: 1fr; padding: var(--space-lg) 0; }
  .chapter.reverse .chapter-img { order: -1; }
  .chapter-img { max-width: 420px; margin: 0 auto; }
}

/* Static twin-photo duo — replaces the old hover-swap (dead on mobile) */
.twin-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.twin-duo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); aspect-ratio: 3/4; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .twin-duo { max-width: 420px; margin: 0 auto; } }

/* Rubber-stamp badge — overlaps a chapter photo corner. One per page, max. */
.chapter-img { position: relative; }
.story-stamp {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px dashed var(--color-primary-dark);
  box-shadow: 0 6px 16px rgba(110,67,32,0.24), inset 0 0 0 6px var(--color-background);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-11deg);
  z-index: 2;
}
.story-stamp span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  line-height: 1.2;
}
@media (max-width: 780px) {
  .story-stamp { width: 80px; height: 80px; top: -10px; right: 8px; }
  .story-stamp span { font-size: 0.58rem; }
}

/* Quote card — textured, tilted, with an oversized quote mark. Not a flat box. */
.pull-quote-light {
  position: relative;
  background-color: var(--color-surface);
  background-image:
    linear-gradient(rgba(255,253,250,0.6), rgba(255,253,250,0.6)),
    url('assets/pattern-chin-cubes.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--color-accent);
  border-radius: 22px 8px 22px 8px;
  color: var(--color-text);
  padding: var(--space-lg) var(--space-lg) var(--space-lg) calc(var(--space-lg) + 1rem);
  text-align: center;
  max-width: 620px;
  margin: var(--space-lg) auto;
  transform: rotate(-1.1deg);
  box-shadow: 0 10px 24px rgba(110,67,32,0.16);
}
.pull-quote-light::before {
  content: "\201C";
  position: absolute;
  top: -0.6rem;
  left: 0.7rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--color-accent);
  opacity: 0.5;
  line-height: 1;
}
.pull-quote-light p { font-family: var(--font-display); font-style: normal; font-size: 1.25rem; margin: 0; color: var(--color-text); position: relative; }

/* Stat banner — was solid orange (a second orange band this page couldn't afford,
   see the bottom CTA below). Now a tilted, dashed-border "ticket" on the pattern
   surface instead, so orange stays reserved for the one CTA band per page. */
.stat-banner {
  position: relative;
  background-color: var(--color-surface);
  background-image:
    linear-gradient(rgba(255,253,250,0.6), rgba(255,253,250,0.6)),
    url('assets/pattern-chin-cubes.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: var(--color-text);
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  border: 2px dashed var(--color-primary-dark);
  border-radius: var(--radius-lg);
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 10px 24px rgba(110,67,32,0.16);
}
.stat-banner .big { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--color-primary-dark); display: block; line-height: 1; margin-bottom: 0.3rem; }
.stat-banner p { color: var(--color-text-muted); margin: 0.4rem 0 0; }

.know-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-lg) var(--space-md); }
/* Organic "cloud" card, not a plain rectangle — an irregular border-radius
   blob per card, each tilted a different way, that settles flat and lifts
   on hover/tap for a bit of movement. */
.know-card {
  position: relative;
  background: var(--color-surface);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  border-radius: 63% 37% 54% 46% / 43% 37% 63% 57%;
  transition: transform 0.35s ease, border-radius 0.35s ease, box-shadow 0.35s ease;
}
.know-card:hover { transform: translateY(-6px) rotate(0deg) !important; border-radius: 46% 54% 37% 63% / 57% 63% 37% 43%; box-shadow: var(--shadow-lift); }
.know-card:nth-child(4n+1) { border-color: var(--color-primary); transform: rotate(-2deg); }
.know-card:nth-child(4n+2) { border-color: var(--color-accent); transform: rotate(1.6deg); }
.know-card:nth-child(4n+3) { border-color: var(--color-primary-dark); transform: rotate(-1.3deg); }
.know-card:nth-child(4n+4) { border-color: var(--color-secondary); transform: rotate(2deg); }
.know-card .know-num {
  position: absolute; top: -14px; left: -10px; width: 34px; height: 34px;
  border-radius: 50%; background: var(--color-primary-dark); color: #FFF8F3;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft);
}
.know-card:nth-child(4n+2) .know-num { background: var(--color-accent); }
.know-card:nth-child(4n+3) .know-num { background: var(--color-primary); }
.know-card:nth-child(4n+4) .know-num { background: var(--color-primary-dark); }
.know-card h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.know-card p { font-size: 0.92rem; color: var(--color-text-muted); margin: 0; }
@media (max-width: 640px) { .know-card { transform: none !important; border-radius: var(--radius-md); } }

.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); }
.gallery-strip img { border-radius: var(--radius-md); aspect-ratio: 1/1; object-fit: cover; width: 100%; box-shadow: var(--shadow-soft); }
@media (max-width: 780px) { .gallery-strip { grid-template-columns: repeat(2, 1fr); } }

/* Four-step "how it's made" strip — always-visible captions, not hover text,
   so the step order reads on mobile without a tap. */
.process-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); }
.process-strip figure { margin: 0; }
.process-strip img { border-radius: var(--radius-md); aspect-ratio: 1/1; object-fit: cover; width: 100%; box-shadow: var(--shadow-soft); }
.process-strip figcaption { text-align: center; font-size: 0.78rem; font-weight: 700; color: var(--color-text-muted); margin-top: 0.5rem; letter-spacing: 0.04em; text-transform: uppercase; }
.process-strip .step-num { color: var(--color-primary-dark); margin-right: 0.3rem; }
@media (max-width: 780px) { .process-strip { grid-template-columns: repeat(2, 1fr); } }

/* ===========================================================
   RECIPES PAGE
   =========================================================== */

.recipe-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-xl); align-items: center; background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); border: 1px solid var(--color-border); padding: var(--space-lg); }
.recipe-card .recipe-img { border-radius: var(--radius-md); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow-soft); }
.recipe-meta { display: flex; gap: var(--space-md); margin: var(--space-sm) 0 var(--space-md); flex-wrap: wrap; }
.recipe-meta span { font-size: 0.85rem; font-weight: 700; color: var(--color-text-muted); background: var(--color-background); border-radius: 999px; padding: 0.3rem 0.8rem; }
.recipe-list h4 { margin-top: var(--space-md); margin-bottom: 0.4rem; }
.recipe-list ul, .recipe-list ol { margin: 0; padding-left: 1.2rem; }
.recipe-list li { margin-bottom: 0.4rem; color: var(--color-text); }
.recipe-note { background: var(--color-background); border-left: 4px solid var(--color-accent); border-radius: var(--radius-sm); padding: var(--space-sm) var(--space-md); font-size: 0.9rem; color: var(--color-text-muted); margin-top: var(--space-md); }
@media (max-width: 780px) { .recipe-card { grid-template-columns: 1fr; } }

/* ===========================================================
   POP-UP CALENDAR — market-ticket theme
   =========================================================== */

.ticket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-md); }

.ticket-card {
  display: flex;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.ticket-date {
  position: relative;
  flex-shrink: 0;
  width: 100px;
  background: var(--color-primary);
  color: #FFF8F3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-sm);
  text-align: center;
}
/* Perforated-ticket seam: punched dots matching the page background */
.ticket-date::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: -1px;
  width: 2px;
  background-image: radial-gradient(circle, var(--color-background) 3px, transparent 3.5px);
  background-size: 14px 18px;
  background-repeat: repeat-y;
}
.ticket-day { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; line-height: 1; }
.ticket-month { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; margin-top: 0.2rem; }
.ticket-body { padding: var(--space-md) var(--space-lg); flex: 1; }
.ticket-body h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.ticket-body .ticket-meta { color: var(--color-text-muted); font-size: 0.9rem; margin: 0 0 0.5rem; }
.ticket-body a { font-weight: 700; font-size: 0.9rem; }

/* Empty / "Updating Soon" state — same dashed-ticket-on-pattern language as
   the About page's stat banner, so an unfilled calendar still feels intentional. */
.ticket-empty {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background-color: var(--color-surface);
  background-image:
    linear-gradient(rgba(255,253,250,0.6), rgba(255,253,250,0.6)),
    url('assets/pattern-chin-cubes.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border: 2px dashed var(--color-primary-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: 0 10px 24px rgba(110,67,32,0.16);
}
.ticket-empty .twin-badge {
  position: relative;
  margin: 0 auto var(--space-md);
  transform: rotate(-6deg);
  width: 84px;
  height: 84px;
  box-shadow: 0 6px 14px rgba(110,67,32,0.22);
}
.ticket-empty h3 { margin: 0 0 0.4rem; }
.ticket-empty p { color: var(--color-text-muted); max-width: 420px; margin: 0 auto; }
.ticket-empty .btn { margin-top: var(--space-md); }

/* ---------- Branded form success state ---------- */
.form-success {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-surface-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.fs-check {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--color-primary); color: #FFF8F3;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700; margin: 0 auto var(--space-sm);
}
.form-success h3 { font-family: var(--font-display); margin: 0 0 0.35rem; font-size: 1.2rem; }
.form-success p { color: var(--color-text-muted); margin: 0 auto; max-width: 360px; font-size: 0.92rem; }
.form-success.compact { padding: var(--space-md) var(--space-sm); }
.form-success.compact .fs-check { width: 40px; height: 40px; font-size: 1.1rem; margin-bottom: 0.5rem; }
.form-success.compact h3 { font-size: 1.05rem; }

/* ---------- Standalone thank-you page ---------- */
.thanks-hero { text-align: center; padding: var(--space-2xl) 0; }
.thanks-hero .fs-check { width: 76px; height: 76px; font-size: 2.2rem; }
.thanks-hero h1 { margin: var(--space-md) 0 0.5rem; }
.thanks-hero p { color: var(--color-text-muted); max-width: 440px; margin: 0 auto var(--space-lg); }

/* ---------- Email capture popup ---------- */
.popup-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(46,46,46,0.55);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-md);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.popup-overlay.is-open { opacity: 1; pointer-events: auto; }
.popup-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  max-width: 420px; width: 100%;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  box-shadow: 0 20px 50px rgba(46,46,46,0.35);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.3s ease;
}
.popup-overlay.is-open .popup-card { transform: none; }
.popup-close {
  position: absolute; top: 0.6rem; right: 0.7rem;
  background: none; border: none; font-size: 1.3rem; line-height: 1;
  color: var(--color-text-muted); cursor: pointer; padding: 0.3rem;
}
.popup-close:hover { color: var(--color-text); }
.popup-card .twin-badge { margin: 0 auto var(--space-sm); width: 60px; height: 60px; font-size: 0.58rem; }
.popup-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 0.4rem; }
.popup-card p { color: var(--color-text-muted); font-size: 0.92rem; margin: 0 0 var(--space-sm); }
.popup-card .inline-form { justify-content: center; }
.popup-card .form-success { margin-top: 0; }
@media (max-width: 480px) {
  .popup-card .inline-form { flex-direction: column; }
  .popup-card .inline-form input, .popup-card .inline-form button { width: 100%; }
}
