/* Swarna Shrunga. Palette is the label's own: roast brown and brass, with Coorg-mist neutrals and leaf green. */
:root {
  --roast: #26140b;
  --roast-2: #3a2012;
  --brass: #c99a3b;
  --brass-text: #7d5a12;      /* brass dark enough to read on light backgrounds */
  --mist: #e8ece9;
  --mist-2: #dbe2de;
  --paper: #f4f6f3;
  --leaf: #2e4b3a;
  --froth: #f6ebd2;
  --cherry: #a9302a;
  --ink: #1d120b;
  --muted: #5b5148;
  --line: rgba(38, 20, 11, .16);
  --wrap: min(1120px, calc(100% - 2.5rem));
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Hind', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--sans); color: var(--ink); background: var(--mist); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 62ch; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.012em; margin: 0 0 .55em; font-optical-sizing: auto; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }
[hidden] { display: none !important; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--brass); color: var(--roast); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: .5rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 1rem/1 var(--sans); padding: .95rem 1.5rem; border-radius: 3px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--brass); color: var(--roast); }
.btn-primary:hover { background: #d8aa4a; }
.btn-ghost { border-color: rgba(246, 235, 210, .55); color: var(--froth); }
.btn-ghost:hover { border-color: var(--froth); background: rgba(246, 235, 210, .08); }
.btn-dark { background: var(--roast); color: var(--froth); }
.btn-dark:hover { background: var(--roast-2); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero { background: var(--roast); color: var(--froth); position: relative; overflow: hidden; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; }
.brand { text-decoration: none; display: grid; line-height: 1.1; }
.brand b { font: 700 1.45rem/1 var(--serif); letter-spacing: -.01em; }
.brand span { font-size: .9rem; color: rgba(246, 235, 210, .7); margin-top: .25rem; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a:not(.btn) { text-decoration: none; font-size: 1rem; color: rgba(246, 235, 210, .85); }
.nav a:not(.btn):hover { color: var(--brass); }
.nav .btn { padding: .7rem 1.2rem; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center; padding: 2.5rem 0 4.5rem; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.9rem); font-weight: 700; margin-bottom: .45em; text-wrap: balance; }
.hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(246, 235, 210, .86); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .85rem; margin: 1.9rem 0 1.6rem; }
.hero .facts { font-size: .98rem; color: rgba(246, 235, 210, .7); margin: 0; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--brass); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: .5rem 0 3rem; gap: .5rem; }
}


/* the bottle photo in the hero */
.hero-photo { display: block; justify-self: center; }
.hero-photo img { display: block; width: auto; height: min(66vh, 540px); max-width: 100%; object-fit: cover; border-radius: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
@media (max-width: 900px) {
  .hero-photo { order: 2; margin-top: 1.5rem; }
  .hero-photo img { height: auto; width: min(78vw, 340px); }
}

/* ---------- sections ---------- */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head { margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* steps are a true sequence, so they are numbered */
.steps { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 1rem; border-top: 3px solid var(--brass); }
.steps li::before { content: counter(step); display: block; font: 700 2.6rem/1 var(--serif); color: var(--brass-text); margin-bottom: .6rem; }
.steps h3 { margin-bottom: .35rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; }
table.ratios { border-collapse: collapse; width: 100%; max-width: 760px; font-size: 1rem; }
.ratios caption { text-align: left; font: 600 1.25rem/1.2 var(--serif); padding-bottom: .75rem; }
.ratios th, .ratios td { text-align: left; padding: .75rem 1rem .75rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ratios thead th { font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--roast); }
.ratios tbody th { font-weight: 600; }

/* ---------- what's in the bottle ---------- */
.inside { background: var(--mist-2); }
.inside-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.inside-grid > div:first-child { max-width: 52rem; }
@media (min-width: 901px) { .inside-grid:has(.bottles figure:not([hidden])) { grid-template-columns: 1.2fr .8fr; gap: 3rem; } }
.formula { margin: 1.75rem 0 2.25rem; }
.formula-bar { display: flex; height: 2.2rem; border-radius: 3px; overflow: hidden; border: 1px solid var(--roast); }
.formula-bar span:nth-child(1) { flex: 60; background: var(--brass); }
.formula-bar span:nth-child(2) { flex: 20; background: #5a3320; }
.formula-bar span:nth-child(3) { flex: 20; background: var(--leaf); }
.formula ul { list-style: none; display: grid; grid-template-columns: 60fr 20fr 20fr; gap: .5rem; margin: .6rem 0 0; padding: 0; font-size: .95rem; }
.formula li b { display: block; font-size: 1.15rem; }
.formula li { color: var(--muted); }
@media (max-width: 600px) { .formula ul { grid-template-columns: 1fr; } .formula li b { display: inline; margin-right: .4rem; } }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.25rem; margin: 0; padding: 0; list-style: none; }
.points li { border-top: 2px solid var(--roast); padding-top: .75rem; }
.points h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.points p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 600px) { .points { grid-template-columns: 1fr; } }
.bottles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bottles figure { margin: 0; }
.bottles img { border-radius: 3px; width: 100%; height: auto; background: var(--mist); }
.bottles figcaption { font-size: .9rem; color: var(--muted); margin-top: .35rem; }

/* ---------- ordering ---------- */
.order { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.order-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
@media (max-width: 960px) { .order-grid { grid-template-columns: 1fr; gap: 2rem; } }
.packs { border: 0; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.packs legend { font: 600 1.05rem/1.2 var(--sans); padding: 0; margin-bottom: .75rem; }
.pack { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: .25rem 1rem; align-items: center; padding: 1rem 1.1rem; border: 2px solid var(--line); border-radius: 4px; background: #fff; cursor: pointer; transition: border-color .15s, background-color .15s; }
.pack:hover { border-color: rgba(38, 20, 11, .4); }
.pack input { grid-row: 1 / span 2; width: 1.25rem; height: 1.25rem; accent-color: var(--roast); margin: 0; }
.pack:has(input:checked) { border-color: var(--roast); background: #fffdf7; box-shadow: inset 0 0 0 1px var(--roast); }
.pack:has(input:focus-visible) { outline: 3px solid var(--brass); outline-offset: 2px; }
.pack-title { font: 600 1.15rem/1.2 var(--serif); }
.pack-sub { grid-column: 2; color: var(--muted); font-size: .95rem; }
.pack-price { grid-column: 3; grid-row: 1; text-align: right; font: 700 1.3rem/1.1 var(--serif); }
.pack-price s { font: 400 .95rem/1 var(--sans); color: var(--muted); margin-right: .35rem; }
.pack-save { grid-column: 3; grid-row: 2; text-align: right; font-size: .9rem; font-weight: 600; color: var(--cherry); }

.order-form { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.25rem, 3vw, 2rem); }
.order-form h3 { margin-bottom: 1rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1rem; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: .75rem .85rem; border: 1.5px solid rgba(38, 20, 11, .35); border-radius: 3px; background: #fff; color: var(--ink); }
.field textarea { resize: vertical; min-height: 4.6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--brass); outline-offset: 0; border-color: var(--roast); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--cherry); }
.field .err { color: var(--cherry); font-size: .9rem; margin: .3rem 0 0; min-height: 0; }
.summary { margin: 1.5rem 0 .25rem; padding: 1rem 0 0; border-top: 2px solid var(--roast); }
.summary div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.summary .total { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .7rem; font-size: 1.2rem; }
.summary .total dt { color: var(--ink); font-weight: 600; }
.summary .total dd { font: 700 1.5rem/1 var(--serif); }
.eta { min-height: 1.5rem; margin: .4rem 0 1rem; color: var(--leaf); font-weight: 600; }
.eta.bad { color: var(--cherry); }
.form-error { background: #fbeceb; border: 1px solid var(--cherry); color: #7c1d18; padding: .75rem 1rem; border-radius: 3px; margin: 0 0 1rem; }
.order-form .btn { width: 100%; padding: 1.1rem; font-size: 1.1rem; }
.fine { font-size: .9rem; color: var(--muted); margin: .9rem 0 0; }

/* ---------- roots ---------- */
.roots { background: var(--leaf); color: #eef2ee; }
.roots-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.roots-grid > div:first-child { max-width: 46rem; }
@media (min-width: 901px) { .roots-grid:has(figure:not([hidden])) { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
.roots p { color: rgba(238, 242, 238, .88); }
.roots figure { margin: 0; }
.roots img { width: 100%; height: auto; border-radius: 3px; }
.quote { margin: 2.5rem 0 0; padding-left: 1.25rem; border-left: 3px solid var(--brass); max-width: 40rem; }
.quote p { font: 500 1.35rem/1.4 var(--serif); margin: 0 0 .5rem; color: #fff; }
.quote footer { font-size: .95rem; color: rgba(238, 242, 238, .75); }

/* ---------- video, faq ---------- */
.video { padding-bottom: 0; }
.video-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 3rem; align-items: center; }
.video-grid .section-head { margin: 0; }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 848 / 478; border-radius: 4px; background: var(--roast); }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
#how { padding-top: clamp(2.5rem, 5vw, 4rem); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font: 600 1.15rem/1.3 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font: 400 1.7rem/1 var(--sans); color: var(--brass-text); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--muted); padding-right: 2rem; }

/* ---------- footer ---------- */
.foot { background: var(--roast); color: rgba(246, 235, 210, .85); padding: 3.5rem 0 2rem; font-size: .98rem; }
.foot a { color: var(--froth); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; gap: 1.75rem; } }
.foot h3 { font: 600 1.05rem/1.2 var(--sans); color: var(--brass); margin-bottom: .6rem; letter-spacing: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.foot .tag { font: 600 1.5rem/1.1 var(--serif); color: var(--froth); margin-bottom: .4rem; }
.foot p { margin: 0 0 .45rem; }
.legal { border-top: 1px solid rgba(246, 235, 210, .2); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .9rem; color: rgba(246, 235, 210, .65); }
.legal p { max-width: none; }

/* ---------- confirmation and policy pages ---------- */
.plain { background: var(--paper); min-height: 100vh; }
.plain .bar { border-bottom: 1px solid var(--line); background: var(--roast); }
.doc { padding: 3rem 0 4rem; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.doc h2 { font-size: 1.4rem; margin-top: 2rem; }
.doc li { margin-bottom: .4rem; }
.doc .updated { color: var(--muted); font-size: .95rem; }
.thanks-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.5rem, 4vw, 2.5rem); margin-top: 1.5rem; }
.thanks-card dl { margin: 1.25rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.5rem; }
.thanks-card dt { color: var(--muted); }
.thanks-card dd { margin: 0; font-weight: 600; }
.pending { color: var(--muted); }

/* ---------- reassurance beside the order form ---------- */
.assure { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .85rem; }
.assure li { border-left: 3px solid var(--brass); padding-left: .9rem; color: var(--muted); font-size: 1rem; }
.assure b { color: var(--ink); display: block; }
@media (min-width: 961px) { .order-side { position: sticky; top: 1.5rem; } }
