/* ==========================================================
   Kathaā — Stories of Flavours
   Mobile-first styles
   ========================================================== */

:root {
  --maroon: #6e1518;
  --maroon-2: #8a1d20;
  --maroon-deep: #3f0a0c;
  --ink: #2b1712;
  --ink-soft: #6a5249;
  --cream: #f6ecda;
  --paper: #fbf5ea;
  --paper-2: #f3e7d1;
  --gold: #c99a43;
  --gold-soft: #e3c27b;
  --leaf: #3c5a2b;
  --leaf-deep: #22351a;
  --line: rgba(110, 21, 24, 0.14);
  --shadow: 0 10px 30px -12px rgba(63, 10, 12, 0.35);
  --shadow-lg: 0 24px 60px -20px rgba(63, 10, 12, 0.5);
  --radius: 22px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.2 0 0 0 0 0.1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper) var(--noise);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; -webkit-tap-highlight-color: transparent; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
em { font-style: italic; color: var(--maroon); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.4em; border-radius: 999px;
  font-weight: 500; font-size: 1rem; letter-spacing: .01em; text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: scale(.97); }
.btn svg { font-size: 1.15em; }
.btn-gold { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); color: var(--maroon-deep); box-shadow: 0 10px 24px -10px rgba(201,154,67,.9); }
.btn-ghost { color: var(--cream); border: 1px solid rgba(246,236,218,.45); backdrop-filter: blur(6px); background: rgba(63,10,12,.18); }
.btn-maroon { background: linear-gradient(180deg, var(--maroon-2), var(--maroon)); color: var(--cream); box-shadow: 0 12px 26px -12px rgba(110,21,24,.9); }
.btn-maroon:disabled { opacity: .6; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px;
  color: var(--cream);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.topbar.solid {
  background: rgba(63, 10, 12, .92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 6px 20px -12px rgba(0,0,0,.6);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mono { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; letter-spacing: .01em; }
.brand-sub { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; opacity: .8; margin-top: 3px; }
.nav-links { display: none; }
.bag-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.35rem;
  background: rgba(246,236,218,.14); border: 1px solid rgba(246,236,218,.3);
  color: var(--cream);
}
.bag-count {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--gold); color: var(--maroon-deep);
  font-size: .72rem; font-weight: 600; display: grid; place-items: center;
  transform: scale(0); transition: transform .25s cubic-bezier(.3,1.6,.5,1);
}
.bag-count.show { transform: scale(1); }
.bump { animation: bump .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes bump { 40% { transform: scale(1.18); } }

@media (max-width: 380px) {
  .topbar { padding-left: 14px; padding-right: 14px; }
  .brand { gap: 8px; }
  .brand .mono { width: 36px; height: 36px; }
  .brand-name { font-size: 1.3rem; }
  .brand-sub { font-size: .56rem; letter-spacing: .14em; }
  .bag-btn { width: 42px; height: 42px; }
}

/* ---------- Hero (all illustrated: kolam emblem, no photo) ---------- */
.hero {
  position: relative; color: var(--cream); overflow: hidden; isolation: isolate; text-align: center;
  padding: calc(82px + env(safe-area-inset-top, 0px)) 20px 44px;
  background:
    radial-gradient(60% 42% at 50% 30%, rgba(201,154,67,.22), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23c99a43' stroke-opacity='.13'%3E%3Cpath d='M36 4 68 36 36 68 4 36Z'/%3E%3Ccircle cx='36' cy='36' r='9'/%3E%3C/g%3E%3Cg fill='%23c99a43' fill-opacity='.28'%3E%3Ccircle cx='36' cy='36' r='1.6'/%3E%3Ccircle cx='0' cy='0' r='1.6'/%3E%3Ccircle cx='72' cy='0' r='1.6'/%3E%3Ccircle cx='0' cy='72' r='1.6'/%3E%3Ccircle cx='72' cy='72' r='1.6'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #5a1013 0%, var(--maroon-deep) 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; background: var(--noise); pointer-events: none; z-index: -1; }
.hero-art { width: min(100%, 400px); margin: 0 auto 18px; }
.emblem { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 10px 24px rgba(0,0,0,.35)); }
.emblem .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.6,0,.3,1) forwards; }
.emblem .d2 { animation-delay: .35s; }
.emblem .d3 { animation-duration: .7s; animation-delay: .9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.emblem .badge { transform-box: fill-box; transform-origin: center; opacity: 0; animation: badgePop .6s cubic-bezier(.3,1.5,.5,1) forwards; }
.emblem .b1 { animation-delay: 1.1s; } .emblem .b3 { animation-delay: 1.25s; } .emblem .b4 { animation-delay: 1.4s; } .emblem .b2 { animation-delay: 1.55s; }
@keyframes badgePop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
.emblem .em-fade { opacity: 0; animation: fadeIn .9s ease .6s forwards; }
.emblem.static .draw, .emblem.static .badge, .emblem.static .em-fade { animation: none; stroke-dashoffset: 0; opacity: 1; }
.footer-emblem .emblem { filter: none; }
/* On phones the hero emblem already shows the name, so the header shows only the monogram until you scroll */
.brand-text { transition: opacity .3s ease; }
@media (max-width: 899px) { .topbar:not(.solid) .brand-text { opacity: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.hero-content { position: relative; max-width: 560px; margin: 0 auto; animation: rise .9s .3s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px;
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft);
}
.hero h1 { font-size: clamp(2.2rem, 11vw, 5rem); font-weight: 600; }
.hero h1 em { color: var(--gold-soft); display: block; }
.hero-lede { margin: 14px auto 24px; font-size: 1rem; color: rgba(246,236,218,.86); max-width: 34ch; }
.hero-ctas { display: flex; flex-direction: column; gap: 10px; max-width: 380px; margin: 0 auto; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; background: var(--gold); color: var(--maroon-deep);
  border-block: 1px solid rgba(63,10,12,.25);
}
.marquee-track {
  display: flex; gap: 18px; width: max-content; padding: 11px 0;
  animation: marquee 32s linear infinite;
  font-family: var(--serif); font-size: 1.08rem; font-weight: 600; font-style: italic; white-space: nowrap;
}
.marquee-track i { font-style: normal; font-size: .75rem; align-self: center; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 64px 18px; max-width: 1180px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 28px; }
.kicker {
  margin: 0 0 8px; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--maroon); font-weight: 500;
}
.kicker.light { color: var(--gold-soft); }
.section-head h2 { font-size: clamp(2.3rem, 9vw, 3.4rem); }
.kolam { width: 150px; height: 18px; color: var(--gold); margin: 14px auto 0; display: block; }
.section-sub { color: var(--ink-soft); margin: 14px auto 0; max-width: 40ch; }

/* ---------- Chips ---------- */
.chips {
  display: flex; gap: 8px; justify-content: center; margin: 0 auto 22px;
  padding: 8px 0;
}
.chip {
  padding: 9px 18px; border-radius: 999px; font-size: .92rem; font-weight: 500;
  background: rgba(255,255,255,.7); border: 1px solid var(--line); color: var(--ink);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: all .2s ease;
}
.chip.is-active { background: var(--maroon); color: var(--cream); border-color: var(--maroon); box-shadow: 0 8px 18px -10px rgba(110,21,24,.9); }

/* ---------- Product cards ---------- */
.grid { display: grid; gap: 20px; }
.card {
  background: #fffaf2; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(110,21,24,.08);
  display: flex; flex-direction: column;
  animation: rise .6s ease both;
}
.card.hide { display: none; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.tag {
  position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(63,10,12,.82); color: var(--gold-soft); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card-head h3 { font-size: 1.75rem; color: var(--maroon-deep); }
.te { margin: 4px 0 0; color: var(--ink-soft); font-size: .92rem; }
.spice { display: flex; gap: 1px; color: #c9302c; font-size: 1rem; padding-top: 6px; }
.spice .off { color: rgba(110,21,24,.18); }
.tagline { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--maroon); }
.desc { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.variants { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.variant {
  padding: 8px 14px; border-radius: 12px; font-size: .9rem; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); transition: all .15s ease;
}
.variant[aria-checked="true"] { border-color: var(--maroon); background: rgba(110,21,24,.07); color: var(--maroon); font-weight: 600; box-shadow: inset 0 0 0 1px var(--maroon); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.price { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--maroon-deep); line-height: 1; }
.price small { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 400; color: var(--ink-soft); margin-top: 4px; letter-spacing: .02em; }
.add-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--maroon); color: var(--cream); font-weight: 500;
  box-shadow: 0 10px 20px -10px rgba(110,21,24,.9); transition: transform .15s ease;
}
.add-btn:active { transform: scale(.95); }
.stepper {
  display: inline-flex; align-items: center; border-radius: 999px; background: var(--maroon); color: var(--cream);
  min-height: 48px; box-shadow: 0 10px 20px -10px rgba(110,21,24,.9);
}
.stepper button { width: 46px; height: 48px; display: grid; place-items: center; font-size: 1.05rem; color: var(--cream); }
.stepper output { min-width: 26px; text-align: center; font-weight: 600; }
.stepper.sm { min-height: 38px; background: var(--paper-2); color: var(--maroon-deep); box-shadow: none; }
.stepper.sm button { width: 36px; height: 38px; color: var(--maroon); font-size: .95rem; }

/* ---------- Story ---------- */
.story {
  background: radial-gradient(120% 80% at 80% 0%, #4e6f37 0%, var(--leaf) 40%, var(--leaf-deep) 100%);
  color: var(--cream); position: relative; overflow: hidden;
}
.story::before { content: ""; position: absolute; inset: 0; background: var(--noise); opacity: .8; pointer-events: none; }
.story-inner { position: relative; max-width: 1180px; margin: 0 auto; padding: 64px 22px; display: grid; gap: 30px; }
.story-fig { margin: 0 auto; width: min(100%, 340px); }
.story-photo {
  aspect-ratio: 300 / 340; border-radius: 999px 999px 22px 22px; overflow: hidden;
  border: 2px solid var(--gold); outline: 1px solid rgba(201,154,67,.5); outline-offset: 6px;
  box-shadow: 0 26px 50px -18px rgba(0,0,0,.6); background: var(--leaf-deep);
}
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.story h2 { font-size: clamp(2.5rem, 10vw, 3.6rem); }
.story h2 em { color: var(--gold-soft); }
.story-copy p { color: rgba(246,236,218,.85); margin: 14px 0 0; }
.script { font-family: var(--script); font-size: 1.7rem; line-height: 1.15; color: var(--gold-soft) !important; margin-top: 22px !important; }
.script.center { text-align: center; color: var(--maroon) !important; }
.promise { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.promise li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--cream); }
.promise span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(227,194,123,.55); color: var(--gold-soft); font-size: 1.15rem; flex: none; }

/* ---------- Inside the jar: spice plate ---------- */
.inside {
  position: relative; color: var(--cream); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 40% at 50% 52%, rgba(201,154,67,.20), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23c99a43' stroke-opacity='.13'%3E%3Cpath d='M36 4 68 36 36 68 4 36Z'/%3E%3Ccircle cx='36' cy='36' r='9'/%3E%3C/g%3E%3Cg fill='%23c99a43' fill-opacity='.28'%3E%3Ccircle cx='36' cy='36' r='1.6'/%3E%3Ccircle cx='0' cy='0' r='1.6'/%3E%3Ccircle cx='72' cy='0' r='1.6'/%3E%3Ccircle cx='0' cy='72' r='1.6'/%3E%3Ccircle cx='72' cy='72' r='1.6'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #2e140f 0%, #22100b 55%, #1b0c09 100%);
}
.inside::after { content: ""; position: absolute; inset: 0; background: var(--noise); opacity: .9; pointer-events: none; z-index: -1; }
.inside .section-head h2 { color: var(--cream); }
.inside .section-head h2 em { color: var(--gold-soft); }
.inside .kolam { color: var(--gold); }
.orbit { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin: 6px auto 0; }
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-ring { fill: none; stroke: var(--gold); stroke-width: .35; stroke-dasharray: 1.2 1.6; opacity: .75;
  transform-box: fill-box; transform-origin: center; animation: spin 90s linear infinite; }
.orbit-ring2 { fill: none; stroke: var(--gold-soft); stroke-width: .3; opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.spoke { stroke: var(--gold); stroke-width: .3; stroke-dasharray: .6 .9; opacity: .35; transition: opacity .4s, stroke-width .4s; }
.spoke.on { opacity: 1; stroke-width: .45; stroke-dasharray: none; stroke: var(--gold-soft); }
.orbit-center {
  position: absolute; left: 31%; top: 31%; width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--gold-soft);
  box-shadow: 0 0 0 6px rgba(227,194,123,.12), 0 0 60px 6px rgba(201,154,67,.35), 0 24px 40px -14px rgba(0,0,0,.8);
  opacity: 0; transform: scale(.85); transition: opacity .8s ease, transform .9s cubic-bezier(.2,1.2,.4,1);
}
.orbit-center img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.node {
  position: absolute; width: 20%; left: calc(50% + var(--x) * 1%); top: calc(50% + var(--y) * 1%);
  margin-left: -10%; margin-top: -10%; padding: 0; text-align: center; color: inherit;
  opacity: 0; transform: scale(.55);
  transition: opacity .5s ease, transform .7s cubic-bezier(.3,1.5,.5,1);
  transition-delay: calc(var(--i) * 90ms + .25s);
}
.orbit.in .node, .orbit.in .orbit-center { opacity: 1; transform: none; }
.node-img {
  display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #2e140f;
  border: 2px solid rgba(227,194,123,.75);
  box-shadow: 0 0 0 3px rgba(227,194,123,.10), 0 12px 22px -8px rgba(0,0,0,.8);
  transition: transform .45s cubic-bezier(.3,1.4,.5,1), box-shadow .45s ease, border-color .45s ease;
}
.node-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.node-label {
  display: block; margin-top: 5px; font-size: clamp(.66rem, 2.7vw, .92rem); letter-spacing: .05em;
  color: rgba(246,236,218,.78); white-space: nowrap; transition: color .3s ease;
}
.node.on .node-img { transform: scale(1.13); border-color: var(--gold-soft);
  box-shadow: 0 0 0 4px rgba(227,194,123,.35), 0 0 28px 6px rgba(227,194,123,.45), 0 14px 26px -8px rgba(0,0,0,.8); }
.node.on .node-label { color: var(--gold-soft); font-weight: 500; }
.node:focus-visible { outline: none; }
.node:focus-visible .node-img { outline: 2px solid var(--gold-soft); outline-offset: 4px; }
.orbit-caption { min-height: 74px; text-align: center; margin: 22px auto 0; max-width: 32ch; }
.orbit-caption b { display: block; font-family: var(--serif); font-size: 1.85rem; font-weight: 600; color: var(--gold-soft); line-height: 1.1; }
.orbit-caption span { display: block; margin-top: 4px; color: rgba(246,236,218,.8); }
.orbit-caption .swap { animation: capIn .45s ease; }
@keyframes capIn { from { opacity: 0; transform: translateY(6px); } }
.orbit-hint { text-align: center; margin: 10px 0 0; font-size: .78rem; letter-spacing: .06em; color: rgba(227,194,123,.65); }

/* ---------- Pairings ---------- */
.pairings { padding-right: 0; padding-left: 0; }
.pairings .section-head { padding: 0 18px; }
.pair-scroll {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 18px 18px;
  scrollbar-width: none;
}
.pair-scroll::-webkit-scrollbar { display: none; }
.pair {
  scroll-snap-align: start; flex: 0 0 72%; max-width: 280px;
  background: linear-gradient(160deg, #fffaf2, var(--paper-2)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px;
}
.pair-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(201,154,67,.16); color: var(--maroon); margin-bottom: 14px; box-shadow: inset 0 0 0 1px rgba(201,154,67,.35); }
.pair-icon svg { width: 32px; height: 32px; }
.pair h3 { font-size: 1.45rem; color: var(--maroon-deep); }
.pair p { margin: 6px 0 0; color: var(--ink-soft); font-size: .93rem; }

/* ---------- How to order ---------- */
.how { background: linear-gradient(180deg, transparent, rgba(201,154,67,.08)); border-radius: 0; }
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 0; position: relative; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 0 0 22px; position: relative; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 52px; bottom: 4px; width: 1px; background: repeating-linear-gradient(180deg, var(--gold) 0 4px, transparent 4px 9px); }
.step-n {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--maroon); color: var(--gold-soft); font-family: var(--serif); font-size: 1.6rem; font-weight: 700;
  box-shadow: 0 0 0 5px rgba(110,21,24,.08);
}
.steps h3 { font-size: 1.45rem; color: var(--maroon-deep); margin-top: 4px; }
.steps p { margin: 4px 0 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 10px; }
details { background: #fffaf2; border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; }
summary {
  list-style: none; cursor: pointer; padding: 18px 28px 18px 0; position: relative;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--maroon-deep);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--gold); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0 0 18px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer {
  background: var(--maroon-deep) var(--noise); color: var(--cream); text-align: center;
  padding: 56px 22px calc(120px + var(--safe-b));
}
.footer-emblem { width: min(80%, 300px); margin: 0 auto; }
.footer-script { font-family: var(--script); font-size: 1.9rem; color: var(--gold-soft); margin: 18px 0 6px; }
.footer-meta { display: inline-flex; align-items: center; gap: 6px; margin: 0; opacity: .8; font-size: .95rem; }
.footer-insta {
  display: flex; width: fit-content; margin: 18px auto 0; align-items: center; gap: 8px; text-decoration: none;
  padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(227,194,123,.4); color: var(--gold-soft);
}
.footer-insta svg { font-size: 1.2rem; }
.footer-small { margin: 26px 0 0; font-size: .78rem; opacity: .55; }

/* ---------- Floating cart bar ---------- */
.cartbar {
  position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 14px; border-radius: 20px;
  background: linear-gradient(180deg, #7b181c, var(--maroon-deep)); color: var(--cream);
  box-shadow: 0 18px 40px -14px rgba(63,10,12,.85), 0 0 0 1px rgba(227,194,123,.25) inset;
  animation: slideUp .35s cubic-bezier(.2,1.2,.4,1) both;
  max-width: 560px; margin: 0 auto;
}
@keyframes slideUp { from { transform: translateY(130%); } }
.cartbar-left { display: flex; align-items: center; gap: 12px; }
.cartbar-icon { position: relative; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(246,236,218,.12); font-size: 1.3rem; }
.cartbar-icon b { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--maroon-deep); font-size: .72rem; display: grid; place-items: center; }
.cartbar-text { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.cartbar-text small { font-size: .78rem; opacity: .75; }
.cartbar-text strong { font-family: var(--serif); font-size: 1.45rem; }
.cartbar-cta { display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px; border-radius: 14px; background: var(--gold); color: var(--maroon-deep); font-weight: 600; font-size: .95rem; }

/* ---------- Sheet ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(30,5,6,.55); backdrop-filter: blur(3px); animation: fade .25s ease both; }
@keyframes fade { from { opacity: 0; } }
.sheet {
  position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; max-height: 92svh;
  display: flex; flex-direction: column;
  background: var(--paper) var(--noise); border-radius: 26px 26px 0 0;
  box-shadow: 0 -20px 60px -20px rgba(0,0,0,.5);
  animation: sheetUp .38s cubic-bezier(.2,1,.3,1) both;
}
.sheet.closing { animation: sheetDown .25s ease-in both; }
.sheet-backdrop.closing { animation: fade .25s ease reverse both; }
@keyframes sheetUp { from { transform: translateY(100%); } }
@keyframes sheetDown { to { transform: translateY(100%); } }
.sheet-handle { width: 44px; height: 5px; border-radius: 9px; background: rgba(110,21,24,.2); margin: 10px auto 0; }
.sheet-head { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 6px 12px 12px; border-bottom: 1px solid var(--line); }
.sheet-title-wrap { text-align: center; grid-column: 2; }
.sheet-head h2 { font-size: 1.7rem; color: var(--maroon-deep); }
.progress { list-style: none; display: flex; gap: 6px; justify-content: center; padding: 0; margin: 8px 0 0; }
.progress li { width: 22px; height: 4px; border-radius: 9px; background: rgba(110,21,24,.15); transition: background .3s; }
.progress li.on { background: var(--maroon); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; color: var(--maroon-deep); background: rgba(110,21,24,.06); }
#sheetBack { grid-column: 1; grid-row: 1; }
#sheetClose { grid-column: 3; grid-row: 1; }
.sheet-body { overflow-y: auto; padding: 16px 16px 8px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet-foot { padding: 12px 16px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); background: rgba(251,245,234,.96); }
.sheet-foot .btn { justify-content: space-between; padding: 0 22px; }
.btn-total { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.foot-note { margin: 8px 0 0; text-align: center; font-size: .78rem; color: var(--ink-soft); }

.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 68px 1fr auto; gap: 12px; align-items: center; padding: 10px; background: #fffaf2; border: 1px solid var(--line); border-radius: 18px; }
.line img { width: 68px; height: 68px; border-radius: 12px; object-fit: cover; }
.line h4 { margin: 0; font-family: var(--serif); font-size: 1.2rem; color: var(--maroon-deep); line-height: 1.1; }
.line p { margin: 3px 0 0; font-size: .82rem; color: var(--ink-soft); }
.line .line-price { font-weight: 600; color: var(--ink); font-size: .95rem; margin-top: 4px; }
.line-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

.summary { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: rgba(201,154,67,.12); }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; }
.sum-row strong { font-family: var(--serif); font-size: 1.5rem; color: var(--maroon-deep); }
.sum-row.muted { font-size: .88rem; color: var(--ink-soft); }
.empty { text-align: center; padding: 30px 10px 20px; color: var(--ink-soft); }
.empty-mono { width: 72px; height: 72px; margin: 0 auto 10px; display: block; }

/* Form */
.form-intro { margin: 0 0 16px; font-size: .93rem; color: var(--ink-soft); }
.form-intro b { color: var(--maroon); font-weight: 500; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field-row.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.field label { font-size: .85rem; font-weight: 500; color: var(--ink); }
.opt { color: var(--ink-soft); font-weight: 400; }
.field small { font-size: .78rem; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 14px; border-radius: 14px; border: 1px solid rgba(110,21,24,.2); background: #fffdf8;
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.field input[type="date"] { min-height: 50px; }
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(110,21,24,.1); }
.prefix { display: flex; align-items: stretch; border-radius: 14px; border: 1px solid rgba(110,21,24,.2); background: #fffdf8; overflow: hidden; }
.prefix:focus-within { border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(110,21,24,.1); }
.prefix span { display: grid; place-items: center; padding: 0 12px; color: var(--ink-soft); background: var(--paper-2); border-right: 1px solid var(--line); font-weight: 500; }
.prefix input { border: 0 !important; box-shadow: none !important; border-radius: 0; }
.field.invalid input, .field.invalid textarea, .field.invalid .prefix { border-color: #b3261e; background: #fff6f5; }
.err { color: #b3261e; font-size: .78rem; }
.mini-summary { margin: 6px 0 4px; padding: 12px 14px; border-radius: 14px; background: rgba(201,154,67,.12); font-size: .88rem; color: var(--ink-soft); }
.mini-summary b { color: var(--maroon-deep); }

/* Done */
.done { text-align: center; padding: 10px 6px 4px; }
.done-badge { width: 76px; height: 76px; margin: 6px auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; color: var(--cream); background: var(--leaf); box-shadow: 0 0 0 8px rgba(60,90,43,.12); animation: pop .5s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.done h3 { font-size: 2.1rem; color: var(--maroon-deep); }
.done-lede { margin: 8px 0 0; color: var(--ink-soft); }
.done-lede b { color: var(--maroon); letter-spacing: .04em; }
.done-note { display: flex; gap: 10px; align-items: flex-start; text-align: left; margin: 18px 0 0; padding: 14px; border-radius: 14px; background: #fffaf2; border: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.done-note svg { font-size: 1.3rem; color: var(--maroon); margin-top: 1px; }
.done-note b { color: var(--ink); overflow-wrap: anywhere; }
#donePhone { white-space: nowrap; }
.done-summary { margin-top: 14px; text-align: left; font-size: .9rem; }
.done-summary div { display: flex; justify-content: space-between; padding: 7px 2px; border-bottom: 1px dashed var(--line); }
.done-summary div:last-child { border: 0; font-weight: 600; color: var(--maroon-deep); }

/* Toast */
.toast {
  position: fixed; z-index: 70; left: 50%; top: calc(76px + env(safe-area-inset-top, 0px));
  transform: translate(-50%, -20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px; font-size: .88rem;
  box-shadow: var(--shadow); transition: all .3s ease; white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Spinner */
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(246,236,218,.35); border-top-color: var(--cream); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   Larger screens
   ========================================================== */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pair { flex-basis: 260px; }
  .hero-ctas .btn { flex: 0 0 auto; }
}

@media (min-width: 900px) {
  .topbar { padding-left: 32px; padding-right: 32px; }
  .nav-links { display: flex; gap: 28px; }
  .nav-links a { text-decoration: none; font-size: .95rem; opacity: .85; }
  .nav-links a:hover { opacity: 1; color: var(--gold-soft); }
  .hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; text-align: left; min-height: min(100svh, 820px); padding: 110px 64px 70px; }
  .hero-art { order: 2; width: 100%; max-width: 520px; margin: 0; }
  .hero-content { order: 1; margin: 0; }
  .hero-lede { margin-left: 0; }
  .hero-ctas { flex-direction: row; max-width: none; margin: 0; }
  .hero h1 { font-size: clamp(3.4rem, 5.6vw, 5.2rem); }
  .section { padding: 96px 32px; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .card-head h3 { font-size: 1.55rem; }
  .story-inner { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 70px; padding: 100px 32px; }
  .pair-scroll { justify-content: center; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .steps li { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .steps li:not(:last-child)::after { left: calc(50% + 36px); right: calc(-50% + 36px); top: 26px; bottom: auto; width: auto; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 4px, transparent 4px 9px); }
  .how .btn-block { width: auto; display: flex; max-width: 320px; margin: 0 auto; }

  .sheet { left: auto; right: 24px; bottom: 24px; top: 24px; width: 440px; max-height: none; border-radius: 26px; }
  .sheet-handle { display: none; }
  @keyframes sheetUp { from { transform: translateX(110%); } }
  @keyframes sheetDown { to { transform: translateX(110%); } }
  .cartbar { left: auto; right: 24px; bottom: 24px; width: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.serif-name { font-family: var(--serif); font-weight: 600; font-size: 1.1em; }

/* honeypot field for bots — hidden from people */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- SEO additions: links, about, static menu fallback ---------- */
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.card-static .card-body h3 a { color: var(--maroon-deep); text-decoration: none; }
.card-static .price { font-size: 1.4rem; }
.about-copy { max-width: 720px; margin: 0 auto; color: var(--ink-soft); font-size: 1rem; }
.about-copy p { margin: 0 0 14px; }
.about-copy a { color: var(--maroon); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.footer-links { margin: 14px 0 0; font-size: .9rem; line-height: 1.9; }
.footer-links a { color: var(--gold-soft); text-decoration: none; }

/* ---------- Product pages ---------- */
.pp-body { background: var(--paper) var(--noise); }
.pp { max-width: 1040px; margin: 0 auto; padding: calc(78px + env(safe-area-inset-top, 0px)) 18px 40px; }
.crumbs { font-size: .82rem; color: var(--ink-soft); margin: 4px 0 14px; }
.crumbs a { color: var(--maroon); text-decoration: none; }
.pp-hero { display: grid; gap: 20px; }
.pp-img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.pp-info h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); color: var(--maroon-deep); }
.pp-alt { display: block; font-size: .55em; font-style: italic; color: var(--maroon); font-weight: 500; margin-top: 4px; }
.pp-info .te { margin: 8px 0 0; color: var(--ink-soft); }
.pp-info .tagline { margin: 6px 0 16px; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--maroon); }
.pp-sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.pp-size { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 16px; text-decoration: none; color: var(--ink);
  background: #fffaf2; border: 1px solid var(--line); box-shadow: 0 8px 18px -14px rgba(63,10,12,.6); transition: transform .15s, border-color .15s; }
.pp-size:hover { transform: translateY(-2px); border-color: var(--maroon); }
.pp-size b { font-size: .9rem; color: var(--ink-soft); font-weight: 500; }
.pp-size span { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--maroon-deep); line-height: 1.1; }
.pp-size em { font-style: normal; font-size: .85rem; color: var(--maroon); font-weight: 600; }
.pp-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: .85rem; color: var(--ink-soft); }
.pp-note svg { color: var(--leaf); font-size: 1.1rem; margin-top: 2px; }
.pp-section { margin-top: 34px; }
.pp-section h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); color: var(--maroon-deep); margin-bottom: 10px; }
.pp-section p { color: var(--ink-soft); margin: 0 0 12px; }
.pp-list { margin: 0; padding-left: 20px; color: var(--ink-soft); line-height: 1.9; }
.pp-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.pp-more-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); background: #fffaf2; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; padding-bottom: 12px; }
.pp-more-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pp-more-card b { font-family: var(--serif); font-size: 1.2rem; color: var(--maroon-deep); padding: 4px 12px 0; }
.pp-more-card span { font-size: .82rem; color: var(--ink-soft); padding: 0 12px; }
.pp-cta { margin-top: 30px; }
.pp-footer { padding-bottom: calc(40px + var(--safe-b)); }
.pp-body .topbar .brand-text { opacity: 1; }
@media (min-width: 900px) {
  .pp-hero { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; }
  .pp-cta { width: auto; display: flex; max-width: 360px; margin: 30px auto 0; }
}
