/* ============================================================
   KHAR — Plant-Ash Alkaline Drops
   "Modern Apothecary" design system
   ============================================================ */

:root {
  /* Palette */
  --bone: #f6f1e6;
  --bone-2: #efe7d6;
  --bone-3: #e6dcc6;
  --charcoal: #191510;
  --charcoal-2: #241f17;
  --ink: #211c14;
  --ink-soft: #57503f;
  --amber: #a85e1c;
  --amber-deep: #7c4212;
  --amber-glow: #d99a4e;
  --accent: #2643e0;          /* stark scientific blue */
  --accent-dark: #1d34b3;
  --green: #2f7d5f;           /* medicinal green, data points */
  --danger: #b3401d;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 18px 50px -18px rgba(33, 28, 20, 0.35);
  --maxw: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  background: var(--bone);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--amber-glow); color: var(--charcoal); }

img, svg { max-width: 100%; display: block; }

h1, h2, h3, .serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }

p.lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--ink-soft); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 1rem;
}

.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  text-decoration: none !important;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 30px -12px rgba(38, 67, 224, 0.55); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
/* button fill is a touch deeper than the --amber brand token so #fff label
   text clears WCAG AA (>=4.5:1); --amber itself is untouched for marks/glass */
.btn-amber { background: #9d5518; color: #fff; box-shadow: 0 12px 30px -12px rgba(168, 94, 28, 0.55); }
.btn-amber:hover { background: var(--amber-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(33,28,20,0.3); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: var(--bone); color: var(--charcoal); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
}
/* blur/bg lives on a pseudo-element: backdrop-filter on the header itself
   would make it the containing block for the fixed mobile nav panel */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(246, 241, 230, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(33,28,20,0.08);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.site-header.scrolled::before { opacity: 1; }
body.dark-page .site-header::before {
  background: rgba(25, 21, 16, 0.82);
  box-shadow: 0 1px 0 rgba(246,241,230,0.08);
}
.site-header .ribbon { position: relative; z-index: 1; }
/* light nav over the dark home hero, until scrolled or menu open */
body.hero-invert:not(.nav-open) .site-header:not(.scrolled) .brand,
body.hero-invert:not(.nav-open) .site-header:not(.scrolled) .nav-links a { color: var(--bone); }
body.hero-invert:not(.nav-open) .site-header:not(.scrolled) .nav-toggle span { color: var(--bone); }
/* keep the amber CTA's label white on the hero — bone text drops it below AA */
body.hero-invert:not(.nav-open) .site-header:not(.scrolled) .nav-links a.btn-amber { color: #fff; }
.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem var(--pad);
  max-width: calc(var(--maxw) + 4rem);
  margin: 0 auto;
}
.brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--ink);
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.brand .drop-mark { width: 16px; height: 22px; flex: none; }
body.dark-page .brand, .hero-dark .brand { color: var(--bone); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding-block: 0.3rem;
}
body.dark-page .nav-links a { color: var(--bone); }
/* the amber CTA keeps its white label on every page — .nav-links a and the
   dark-page rule above otherwise override .btn-amber's color (ink/bone on
   amber falls below AA) */
.nav-links a.btn-amber, body.dark-page .nav-links a.btn-amber { color: #fff; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(.2,.9,.3,1);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { white-space: nowrap; padding: 0.65rem 1.4rem; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px; height: 42px;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  color: var(--ink);
  margin: 5px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
body.dark-page .nav-toggle span { color: var(--bone); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--bone);
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    transform: translateY(-102%);
    transition: transform 0.45s cubic-bezier(.7,0,.3,1);
    z-index: 105;
  }
  body.dark-page .nav-links { background: var(--charcoal); }
  .nav-open .nav-links { transform: translateY(0); }
  .nav-links a { font-size: 1.3rem; }
  .nav-cta-li { margin-top: 0.5rem; }
}

/* ---------- Hero (dark, liquid) ---------- */
.hero-dark {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--bone);
  background:
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(168, 94, 28, 0.45), transparent 65%),
    radial-gradient(ellipse 60% 45% at 50% 105%, rgba(217, 154, 78, 0.35), transparent 70%),
    linear-gradient(180deg, #12100c 0%, #1b1610 55%, #241a10 100%);
  overflow: hidden;
  padding: 7rem var(--pad) 5rem;
}
.hero-dark h1 { color: var(--bone); }
.hero-dark .lead { color: rgba(246, 241, 230, 0.72); max-width: 560px; margin-inline: auto; }

/* falling amber drop animation */
.drop-anim {
  position: relative;
  width: 120px;
  height: 170px;
  margin: 0 auto 1.5rem;
}
.drop-anim .droplet {
  position: absolute;
  left: 50%;
  top: 0;
  width: 20px; height: 28px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 30%, #e8b26a, var(--amber) 55%, var(--amber-deep));
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: dropFall 3.2s cubic-bezier(.5,0,.9,.4) infinite;
  filter: drop-shadow(0 0 14px rgba(217, 154, 78, 0.5));
}
.drop-anim .droplet::before {
  content: "";
  position: absolute;
  top: -14px; left: 50%;
  width: 4px; height: 16px;
  transform: translateX(-50%);
  background: linear-gradient(to top, var(--amber), transparent);
  border-radius: 2px;
}
@keyframes dropFall {
  0%   { transform: translate(-50%, -30px) scale(0.5); opacity: 0; }
  12%  { opacity: 1; }
  62%  { transform: translate(-50%, 118px) scale(1); opacity: 1; }
  66%  { transform: translate(-50%, 124px) scale(1.25, 0.5); opacity: 0; }
  100% { transform: translate(-50%, 124px) scale(1.25, 0.5); opacity: 0; }
}
.drop-anim .ripple {
  position: absolute;
  left: 50%; top: 138px;
  width: 20px; height: 8px;
  border: 2px solid rgba(217, 154, 78, 0.75);
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  opacity: 0;
  animation: ripple 3.2s ease-out infinite;
}
.drop-anim .ripple:nth-child(3) { animation-delay: 0.22s; }
.drop-anim .ripple:nth-child(4) { animation-delay: 0.44s; }
@keyframes ripple {
  0%, 60% { transform: translateX(-50%) scale(0); opacity: 0; }
  66% { opacity: 0.9; }
  100% { transform: translateX(-50%) scale(6); opacity: 0; }
}
.hero-water {
  position: absolute;
  inset: auto 0 0 0;
  height: 22vh;
  background: linear-gradient(180deg, transparent, rgba(217, 154, 78, 0.10) 30%, rgba(168, 94, 28, 0.18));
  mask-image: linear-gradient(180deg, transparent, black 40%);
  pointer-events: none;
}
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(246,241,230,0.5);
  animation: hintFloat 2.4s ease-in-out infinite;
}
@keyframes hintFloat { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Page hero (interior pages, light) ---------- */
.page-hero {
  padding: clamp(9rem, 16vw, 12rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse 70% 60% at 85% -10%, rgba(217, 154, 78, 0.22), transparent 60%),
    var(--bone);
}
.page-hero .lead { max-width: 640px; }
body.dark-page .page-hero {
  background:
    radial-gradient(ellipse 70% 60% at 85% -10%, rgba(168, 94, 28, 0.3), transparent 60%),
    var(--charcoal);
}

/* ---------- Icon bar ---------- */
.icon-bar {
  background: var(--charcoal);
  color: var(--bone);
  padding-block: 2.4rem;
}
.icon-bar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.icon-item { display: flex; align-items: center; gap: 1rem; justify-content: center; }
.icon-item svg { width: 42px; height: 42px; flex: none; color: var(--amber-glow); }
.icon-item strong { display: block; font-size: 0.95rem; letter-spacing: 0.04em; }
.icon-item small { color: rgba(246,241,230,0.55); font-size: 0.8rem; }
@media (max-width: 720px) { .icon-bar .container { grid-template-columns: 1fr; gap: 1.4rem; } .icon-item { justify-content: flex-start; } }

/* ---------- Split screens ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split.reverse > :first-child { order: 0; } }

.panel {
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
}
.panel-problem {
  background: var(--bone-2);
  border: 1px solid rgba(179, 64, 29, 0.25);
}
.panel-solution {
  background: var(--charcoal);
  color: var(--bone);
  box-shadow: var(--shadow);
}
.panel h3 { margin-bottom: 1.2rem; }
.panel ul { list-style: none; display: grid; gap: 0.9rem; }
.panel li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.98rem; }
.panel li svg { width: 20px; height: 20px; flex: none; margin-top: 0.2rem; }
.panel-problem li svg { color: var(--danger); }
.panel-solution li svg { color: var(--amber-glow); }
.panel-solution small { color: rgba(246,241,230,0.6); }
.panel .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.panel-problem .tag { background: rgba(179, 64, 29, 0.12); color: var(--danger); }
.panel-solution .tag { background: rgba(217, 154, 78, 0.16); color: var(--amber-glow); }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid rgba(33,28,20,0.08);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.35s cubic-bezier(.2,.9,.3,1), box-shadow 0.35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }
.card .chem-symbol {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--amber);
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  margin-bottom: 0.9rem;
}
.card .chem-symbol sub { font-size: 0.9rem; color: var(--ink-soft); }
.card .fn {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(47, 125, 95, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

/* quotes */
.quote-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.4rem 0;
}
.quote-card::before {
  content: "\201C";
  display: block;
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 0.6;
  margin-bottom: 0.7rem;
  color: var(--gamosa);
}
.quote-card:hover { transform: none; box-shadow: none; }
.quote-card blockquote { font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; color: var(--ink); }
.quote-card cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Product image placeholder ---------- */
.ph-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(168, 94, 28, 0.25), transparent 65%),
    linear-gradient(165deg, var(--bone-2), var(--bone-3));
  border: 1px solid rgba(33,28,20,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  aspect-ratio: 4 / 5;
}
.ph-frame.wide { aspect-ratio: 16 / 9; min-height: 260px; }
.ph-frame.dark {
  background:
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(217, 154, 78, 0.28), transparent 65%),
    linear-gradient(165deg, #221c14, #171310);
  border-color: rgba(246,241,230,0.1);
}
.ph-frame .bottle { width: min(38%, 150px); height: auto; filter: drop-shadow(0 24px 30px rgba(33,28,20,0.35)); }
.ph-frame > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Faint ambient video behind a section; content stacks above it. */
.bg-video-wrap { position: relative; overflow: hidden; }
.bg-video-wrap > .bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  filter: saturate(0.55) sepia(0.3);
  pointer-events: none;
}
.bg-video-wrap > .container { position: relative; }
.ph-frame .ph-label {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(246,241,230,0.92);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.ph-frame.dark .ph-label { color: rgba(246,241,230,0.88); background: rgba(25,21,16,0.82); }

/* ---------- pH scale ---------- */
.ph-scale-wrap {
  background: var(--charcoal);
  color: var(--bone);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  box-shadow: var(--shadow);
}
.ph-readout { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.ph-value { font-family: var(--serif); font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; transition: color 0.3s ease; }
.ph-name { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(246,241,230,0.65); }
.ph-desc { max-width: 420px; color: rgba(246,241,230,0.7); font-size: 0.95rem; }
.ph-track {
  position: relative;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    #c0392b 0%, #e67e22 18%, #f1c40f 34%, #7db46c 50%, #27ae60 62%, #16a085 76%, #2980b9 90%, #6c3fb5 100%);
  margin-block: 1.4rem 0.6rem;
}
.ph-slider {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  inset: -14px 0;
  width: 100%;
  height: 46px;
  background: transparent;
  cursor: grab;
  margin: 0;
}
.ph-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bone);
  border: 4px solid var(--charcoal);
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  cursor: grab;
}
.ph-slider::-moz-range-thumb {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bone);
  border: 4px solid var(--charcoal);
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  cursor: grab;
}
.ph-ticks { display: flex; justify-content: space-between; font-size: 0.72rem; color: rgba(246,241,230,0.5); letter-spacing: 0.05em; }
.ph-stops { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.ph-stop {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(246,241,230,0.25);
  background: transparent;
  color: rgba(246,241,230,0.75);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--sans);
}
.ph-stop:hover, .ph-stop.active { background: var(--bone); color: var(--charcoal); border-color: var(--bone); }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid rgba(33,28,20,0.1); box-shadow: var(--shadow); }
table.compare { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; }
.compare th, .compare td { padding: 1.1rem 1.4rem; text-align: left; border-bottom: 1px solid rgba(33,28,20,0.08); font-size: 0.95rem; }
.compare thead th { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); background: var(--bone-2); }
.compare thead th.khar-col { background: var(--charcoal); color: var(--amber-glow); }
.compare td.khar-col { background: rgba(217, 154, 78, 0.08); font-weight: 600; }
.compare .yes { color: var(--green); font-weight: 700; }
.compare .no { color: var(--danger); font-weight: 700; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 780px; margin-inline: auto; padding-left: 2.4rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--amber-glow), var(--amber), var(--charcoal));
}
.tl-step { position: relative; padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before {
  content: "";
  position: absolute;
  left: -2.4rem; top: 6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bone);
  border: 3px solid var(--amber);
  box-shadow: 0 0 0 5px var(--bone);
}
.tl-step .tl-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--amber);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}
.tl-step h3 { margin-bottom: 0.6rem; }
.tl-step p { color: var(--ink-soft); max-width: 560px; }

/* ---------- Ritual rows ---------- */
.ritual-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); }
.ritual-row:nth-child(even) > .ph-frame { order: 2; }
@media (max-width: 860px) {
  .ritual-row { grid-template-columns: 1fr; }
  .ritual-row:nth-child(even) > .ph-frame { order: 0; }
}
.dose-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(38, 67, 224, 0.08);
  border: 1px solid rgba(38, 67, 224, 0.25);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}

/* ---------- Shop ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.price-card {
  background: #fff;
  border: 1px solid rgba(33,28,20,0.1);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.2rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  transition: transform 0.35s cubic-bezier(.2,.9,.3,1), box-shadow 0.35s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.price-card .plan-flag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.35rem; }
.price-card .plan-sub { color: var(--ink-soft); font-size: 0.88rem; min-height: 2.6em; }
.price-card .price { font-family: var(--serif); font-size: 2.6rem; margin-block: 0.8rem 0.2rem; }
.price-card .price small { font-size: 1rem; color: var(--ink-soft); font-family: var(--sans); }
.price-card .was { color: var(--ink-soft); text-decoration: line-through; font-size: 0.9rem; }
.price-card .save-tag { color: var(--green); font-weight: 700; font-size: 0.85rem; }
.price-card ul { list-style: none; margin-block: 1.3rem; display: grid; gap: 0.55rem; flex: 1; }
.price-card li { font-size: 0.9rem; color: var(--ink-soft); display: flex; gap: 0.55rem; align-items: flex-start; }
.price-card li::before { content: "✓"; color: var(--green); font-weight: 700; }
.price-card .btn { justify-content: center; }

/* sticky mobile ATC */
.sticky-atc {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(25, 21, 16, 0.94);
  backdrop-filter: blur(12px);
  color: var(--bone);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(.2,.9,.3,1);
}
.sticky-atc.visible { transform: translateY(0); }
.sticky-atc .atc-info strong { display: block; font-size: 0.9rem; }
.sticky-atc .atc-info span { font-size: 0.8rem; color: rgba(246,241,230,0.6); }
.sticky-atc .btn { padding: 0.7rem 1.4rem; font-size: 0.85rem; }
@media (max-width: 760px) { .sticky-atc { display: flex; } }

/* cart toast */
.toast {
  position: fixed;
  bottom: 6.5rem;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--charcoal);
  color: var(--bone);
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 200;
  max-width: min(92vw, 480px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 761px) { .toast { bottom: 2.5rem; } }

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px; height: 20px;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--amber);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 0.35rem;
}

/* ---------- Dark page (Mixology / B2B) ---------- */
body.dark-page { background: var(--charcoal); color: var(--bone); }
body.dark-page h1, body.dark-page h2, body.dark-page h3 { color: var(--bone); }
body.dark-page p.lead, body.dark-page .card p { color: rgba(246,241,230,0.65); }
body.dark-page .card {
  background: var(--charcoal-2);
  border-color: rgba(246,241,230,0.09);
}
body.dark-page .eyebrow { color: var(--amber-glow); }
body.dark-page section { border-color: rgba(246,241,230,0.08); }

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: rgba(246,241,230,0.6);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(246,241,230,0.05);
  border: 1px solid rgba(246,241,230,0.18);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--amber-glow);
  background: rgba(246,241,230,0.08);
}
.field select option { color: var(--ink); }

/* ---------- FAQ accordion ---------- */
.accordion { max-width: 780px; margin-inline: auto; display: grid; gap: 0.9rem; }
.acc-item {
  background: #fff;
  border: 1px solid rgba(33,28,20,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.acc-item[open] { box-shadow: var(--shadow); }
.acc-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary .acc-icon {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--amber);
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.acc-item[open] summary .acc-icon { transform: rotate(45deg); background: var(--amber); color: #fff; }
.acc-body { padding: 0 1.5rem 1.4rem; color: var(--ink-soft); font-size: 0.95rem; }

/* safety box */
.safety-box {
  max-width: 780px;
  margin: 0 auto;
  background: #fff7ed;
  border: 2px solid var(--danger);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
}
.safety-box svg { width: 44px; height: 44px; flex: none; color: var(--danger); }
.safety-box h3 { color: var(--danger); margin-bottom: 0.6rem; }
.safety-box p { font-size: 0.95rem; }
.safety-box ul { margin: 0.8rem 0 0 1.2rem; font-size: 0.92rem; display: grid; gap: 0.4rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(246,241,230,0.7);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(246,241,230,0.12);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: var(--bone); margin-bottom: 0.8rem; }
.site-footer p { font-size: 0.88rem; max-width: 320px; }
.site-footer h3 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-glow);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; display: grid; gap: 0.55rem; }
.site-footer a { color: rgba(246,241,230,0.7); font-size: 0.9rem; }
.site-footer a:hover { color: var(--bone); }
.footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 1.8rem;
  font-size: 0.78rem;
  /* 0.66 alpha keeps the safety line ("Always dilute before use") above AA
     on charcoal; 0.4 measured 3.5:1 */
  color: rgba(246,241,230,0.66);
}

/* ---------- Reveal on scroll ---------- */
body.js-anim .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s cubic-bezier(.2,.7,.3,1), transform 0.45s cubic-bezier(.2,.7,.3,1);
  /* cap the stagger so anchor jumps and fast scrolls never land on blank bone */
  transition-delay: min(var(--rd, 0s), 0.12s);
}
body.js-anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .drop-anim .droplet, .drop-anim .ripple, .scroll-hint { animation: none; }
}

/* parallax layer */
.parallax { will-change: transform; }

/* section tints */
.tint { background: var(--bone-2); }
.tint-dark { background: var(--charcoal); color: var(--bone); }
.tint-dark h2, .tint-dark h3 { color: var(--bone); }
.tint-dark p { color: rgba(246,241,230,0.7); }

/* announcement ribbon */
.ribbon {
  background: var(--gamosa);
  color: #fff;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.5rem 1rem;
}

/* ============================================================
   Assam & khar motifs
   gamosa weave, Assamese script, ash speckle, xorai & jaapi
   ============================================================ */
:root {
  --gamosa: #b3202c;                       /* gamosa red */
  --ax: "Noto Serif Bengali", "Cormorant Garamond", Georgia, serif;
}

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

/* italic amber accent inside editorial headings */
h1 em, h2 em { font-style: italic; color: var(--amber); }
.hero-dark h1 em { color: var(--amber-glow); }

/* woven border strip inspired by the gamosa's phul (motif) band */
.gamosa-divider {
  height: 36px;
  max-width: min(88%, 680px);
  margin-inline: auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='36'%3E%3Crect y='3' width='48' height='2' fill='%23b3202c'/%3E%3Crect y='31' width='48' height='2' fill='%23b3202c'/%3E%3Cpath d='M24 8 L34 18 L24 28 L14 18 Z' fill='%23b3202c'/%3E%3Cpath d='M24 13 L29 18 L24 23 L19 18 Z' fill='%23f6f1e6'/%3E%3Cpath d='M24 16 L26 18 L24 20 L22 18 Z' fill='%23b3202c'/%3E%3Cpath d='M0 18 L5 14 L5 22 Z' fill='%23b3202c'/%3E%3Cpath d='M48 18 L43 14 L43 22 Z' fill='%23b3202c'/%3E%3C/svg%3E") repeat-x center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
section > .gamosa-divider { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.site-footer > .gamosa-divider { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

/* woven diamond before every section eyebrow */
.eyebrow::before {
  content: "\25C6";
  font-size: 0.72em;
  margin-right: 0.55rem;
  color: var(--gamosa);
  vertical-align: 1px;
}

/* Assamese script in the wordmark */
.brand-ax {
  font-family: var(--ax);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0;
  margin-left: 0.15rem;
  transform: translateY(-2px);
}
.site-footer .footer-ax { font-size: 0.92rem; color: var(--amber-glow); margin-top: 0.7rem; }

/* খাৰ watermarks */
.hero-dark::before {
  content: "খাৰ";
  position: absolute;
  left: 50%; top: 47%;
  transform: translate(-50%, -50%);
  font-family: var(--ax);
  font-size: clamp(14rem, 34vw, 26rem);
  font-weight: 600;
  line-height: 1;
  color: rgba(217, 154, 78, 0.055);
  pointer-events: none;
  user-select: none;
}
.page-hero { position: relative; overflow: hidden; }
.page-hero::before {
  content: attr(data-wm);
  position: absolute;
  right: -1rem; bottom: -6rem;
  font-family: var(--ax);
  font-size: clamp(11rem, 24vw, 20rem);
  font-weight: 600;
  line-height: 1;
  color: rgba(168, 94, 28, 0.07);
  pointer-events: none;
  user-select: none;
}
body.dark-page .page-hero::before { color: rgba(217, 154, 78, 0.06); }

/* ash speckle over dark surfaces — the ash the drops are born from */
.icon-bar { position: relative; }
.hero-dark::after, .tint-dark::after, .icon-bar::after, body.dark-page .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='%23f6f1e6' fill-opacity='0.1'%3E%3Ccircle cx='10' cy='14' r='1'/%3E%3Ccircle cx='36' cy='6' r='0.7'/%3E%3Ccircle cx='70' cy='22' r='1.2'/%3E%3Ccircle cx='120' cy='10' r='0.8'/%3E%3Ccircle cx='148' cy='30' r='1'/%3E%3Ccircle cx='24' cy='52' r='0.8'/%3E%3Ccircle cx='60' cy='64' r='1.3'/%3E%3Ccircle cx='100' cy='48' r='0.7'/%3E%3Ccircle cx='140' cy='70' r='1.1'/%3E%3Ccircle cx='14' cy='92' r='1.2'/%3E%3Ccircle cx='48' cy='104' r='0.7'/%3E%3Ccircle cx='88' cy='96' r='1'/%3E%3Ccircle cx='128' cy='112' r='0.8'/%3E%3Ccircle cx='30' cy='132' r='1'/%3E%3Ccircle cx='72' cy='144' r='0.8'/%3E%3Ccircle cx='112' cy='136' r='1.3'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.55;
  pointer-events: none;
}

/* founder's note — bordered like the red end-bands of a gamosa */
.founder-note {
  background: #fff;
  border: 1px solid rgba(33,28,20,0.08);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: clamp(2.4rem, 5vw, 3.6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.founder-note::before, .founder-note::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 7px;
  background: var(--gamosa);
}
.founder-note::before { top: 0; }
.founder-note::after { bottom: 0; }
.founder-note .motif-ico { width: 52px; height: 52px; margin: 0 auto 1.3rem; color: var(--amber); }
.founder-note .fq {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.3vw, 1.45rem);
  line-height: 1.55;
  color: var(--ink);
}
.founder-note .sig {
  margin-top: 1.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.founder-note .sig strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

/* Assam motif strip: jaapi, xorai, tea sprig */
.assam-strip {
  display: flex;
  justify-content: center;
  gap: clamp(1.8rem, 6vw, 4.5rem);
  flex-wrap: wrap;
  text-align: center;
}
.assam-strip .motif svg { width: 54px; height: 54px; margin: 0 auto 0.7rem; color: var(--amber); }
.assam-strip .motif strong { display: block; font-size: 0.92rem; }
.assam-strip .motif small { color: var(--ink-soft); font-size: 0.78rem; letter-spacing: 0.06em; }

/* ---------- Trade ledger (mixology) ---------- */
.trade-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2.5rem, 6vw, 5rem);
}
.trade-item { padding-block: 1.7rem; border-top: 1px solid rgba(246,241,230,0.14); }
.trade-item h3 { color: var(--amber-glow); margin-bottom: 0.45rem; }
.trade-item p { color: rgba(246,241,230,0.65); font-size: 0.95rem; }
@media (max-width: 720px) { .trade-list { grid-template-columns: 1fr; } }

/* ---------- Assurance row (shop) ---------- */
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 4vw, 3rem); }
.assure > div { border-top: 2px solid var(--amber); padding-top: 1.1rem; }
.assure h3 { margin-bottom: 0.5rem; }
.assure p { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 860px) { .assure { grid-template-columns: 1fr; } }

/* section-title above a peer group (keeps heading order h1 -> h2 -> h3) */
.section-title { text-align: center; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }

/* ============================================================
   Reservation cart (drawer)
   z-index scale: header 100 · toast 200 · cart-backdrop 300 · cart-drawer 310
   ============================================================ */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.25s ease, transform 0.2s ease;
}
.cart-btn:hover { background: rgba(168,94,28,0.14); }
.cart-btn:active { transform: scale(0.94); }
.cart-btn svg { width: 19px; height: 19px; }
.cart-count {
  position: absolute;
  top: 1px; right: 1px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gamosa);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
  box-shadow: 0 0 0 1.5px rgba(25,21,16,0.28);
}
.cart-count.is-zero { display: none; }

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 9, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.32s ease;
  z-index: 300;
}
body.cart-open .cart-backdrop { opacity: 1; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(404px, 92vw);
  background: var(--bone);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  box-shadow: -22px 0 55px -22px rgba(20,15,9,0.55);
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(.2,.7,.3,1);
  z-index: 310;
}
body.cart-open .cart-drawer { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(33,28,20,0.1);
}
.cart-head h2 { font-size: 1.6rem; margin: 0; }
.cart-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.7rem; line-height: 1; color: var(--ink-soft);
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.cart-close:hover { color: var(--ink); background: rgba(33,28,20,0.06); }

.cart-note {
  padding: 0.9rem 1.5rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-soft);
  background: var(--bone-2);
}
.cart-note strong { color: var(--gamosa); font-weight: 700; }

.cart-list {
  list-style: none;
  margin: 0;
  padding: 0.4rem 1.5rem;
  overflow-y: auto;
  flex: 1;
}
.cart-item {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(33,28,20,0.08);
}
.ci-main { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.ci-name { font-weight: 600; }
.ci-price { font-variant-numeric: tabular-nums; color: var(--ink-soft); white-space: nowrap; }
.ci-qty { display: flex; align-items: center; gap: 0.55rem; }
.ci-dec, .ci-inc {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid rgba(33,28,20,0.25);
  background: transparent; cursor: pointer;
  font-size: 1rem; line-height: 1; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.ci-dec:hover, .ci-inc:hover { border-color: var(--ink); }
.ci-n { min-width: 1.4ch; text-align: center; font-variant-numeric: tabular-nums; }
.ci-remove {
  margin-left: auto; background: none; border: none; cursor: pointer;
  font-size: 0.78rem; color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 2px;
}
.ci-remove:hover { color: var(--gamosa); }

.cart-empty {
  flex: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 2rem;
  text-align: center;
  color: var(--ink-soft);
}
.cart-empty a { color: var(--amber-deep); font-weight: 600; }
.cart-drawer.is-empty .cart-list,
.cart-drawer.is-empty .cart-foot { display: none; }
.cart-drawer.is-empty .cart-empty { display: flex; }

.cart-foot {
  padding: 1.2rem 1.5rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(33,28,20,0.12);
  background: var(--bone);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}
.cart-subtotal strong { font-family: var(--serif); font-size: 1.65rem; letter-spacing: -0.01em; }
.cart-foot .btn { width: 100%; justify-content: center; }
.cart-fine { margin-top: 0.7rem; font-size: 0.72rem; color: var(--ink-soft); text-align: center; line-height: 1.45; }

.cart-btn:focus-visible, .cart-close:focus-visible,
.ci-dec:focus-visible, .ci-inc:focus-visible, .ci-remove:focus-visible,
.cart-empty a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .cart-backdrop, .cart-drawer { transition: none; }
}

/* ---------- Reservation form (drawer foot) ---------- */
.cart-reserve label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}
.cr-row { display: flex; gap: 0.55rem; flex-wrap: wrap; }
.cr-row input {
  flex: 1 1 150px;
  min-width: 0;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid rgba(33,28,20,0.25);
  border-radius: 999px;
  background: #fff;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
}
.cr-row input:focus { outline: none; border-color: var(--amber-deep); }
.cr-row input::placeholder { color: var(--ink-soft); }
.cr-hold { flex: 0 0 auto; padding: 0.75rem 1.3rem; font-size: 0.85rem; }
.cr-error { margin-top: 0.5rem; font-size: 0.78rem; color: var(--danger); }
.cart-confirm {
  padding: 0.85rem 1rem;
  background: rgba(47,125,95,0.1);
  border: 1px solid rgba(47,125,95,0.3);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--green);
}
.cart-reserve { margin-bottom: 0.9rem; }
.cart-confirm { margin-bottom: 0.9rem; }
.cr-row input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 400;
  background: var(--ink);
  color: var(--bone);
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 10px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus-visible { top: 0; outline: 2px solid var(--accent); outline-offset: 2px; }

/* sticky mobile bar: give the page matching bottom room while it's shown,
   so the bar never occludes the footer safety line or the last card's button */
body.atc-visible { padding-bottom: 84px; }
