/* ============================================================
   Bhadra Purnima — Srimad Bhagavatam Dāna
   A printed-page palette: ivory paper, kumkum, gold leaf, ink.
   ============================================================ */

:root {
  --paper:      #fbf6ec;
  --paper-2:    #f5ebd8;
  --paper-3:    #efe2ca;
  --ink:        #241811;
  --ink-soft:   #5d4835;
  --ink-faint:  #8a7359;
  --maroon:     #7b1e28;
  --maroon-dp:  #4c0f17;
  --saffron:    #c05c1a;
  --gold:       #b0872b;
  --gold-lt:    #e2c789;
  --gold-pale:  #f0e2bd;
  --tulsi:      #46654b;
  --line:       rgba(36, 24, 17, .16);
  --line-soft:  rgba(36, 24, 17, .08);

  --display: "Marcellus", "Iowan Old Style", Georgia, serif;
  --serif:   "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1140px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 3px;

  --shadow-sm: 0 1px 2px rgba(76, 15, 23, .06), 0 6px 18px -12px rgba(76, 15, 23, .3);
  --shadow-md: 0 2px 4px rgba(76, 15, 23, .07), 0 22px 48px -28px rgba(76, 15, 23, .45);
}

/* paper grain, used as a background layer on light sections */
.grain, body {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (max-width: 900px) { html { scroll-padding-top: 8rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.15; }
p { margin: 0 0 1em; }
a { color: var(--maroon); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--saffron); }

:where(a, button, input, select, textarea, summary, details):focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: min(100% - (var(--gut) * 2), var(--wrap)); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--maroon); color: #fff; padding: .75rem 1.25rem;
}
.skip-link:focus { left: 0; }

/* ───────────────────────────────────────────────── typography ── */
.h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  color: var(--maroon-dp);
  letter-spacing: -.01em;
  max-width: 22ch;
}
.h4 { font-family: var(--display); font-size: 1.1rem; color: var(--maroon-dp); margin-bottom: .35rem; }

.label {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.label::after {
  content: "";
  display: block;
  width: 2.5rem; height: 1px;
  margin-top: .7rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.small { font-size: .875rem; color: var(--ink-soft); }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { margin-bottom: .3rem; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.linkish { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold-lt); }
.linkish:hover { border-bottom-color: currentColor; }

.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head__note { max-width: 58ch; color: var(--ink-soft); margin-top: .9rem; }

/* ───────────────────────────────────────────────────── buttons ── */
.btn {
  --btn-bg: var(--maroon);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem;
  padding: .8rem 1.8rem;
  font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: .02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn--solid {
  background: var(--btn-bg); color: #fdf6e6;
  box-shadow: inset 0 0 0 1px rgba(226, 199, 137, .35), var(--shadow-sm);
}
.btn--solid:hover { background: var(--maroon-dp); color: #fff; transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(226,199,137,.55), var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--maroon-dp); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--maroon); background: rgba(123, 30, 40, .04); color: var(--maroon-dp); }
.btn--sm { min-height: 2.4rem; padding: .45rem 1.1rem; font-size: .85rem; }
@media (pointer: coarse) { .btn--sm { min-height: 2.9rem; } }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ────────────────────────────────────────────────────── header ── */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 246, 236, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head__inner { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--maroon-dp); }
.brand__logo { height: 2.9rem; width: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__sub { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); max-width: 9rem; }
.site-nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); margin-left: auto; order: 2; }
.site-nav a { font-size: .9rem; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--maroon); }
.site-head__cta { order: 3; color: #fdf6e6; flex: none; }

/* On small screens the links drop to their own scrollable strip,
   so nothing is hidden away behind a menu button. */
@media (max-width: 900px) {
  .site-head__inner { flex-wrap: wrap; min-height: 0; padding-block: .65rem 0; }
  .site-head__cta { order: 2; margin-left: auto; }
  .site-nav {
    order: 3; width: 100%; margin-left: 0;
    overflow-x: auto; scrollbar-width: none;
    gap: 1.15rem; padding: .55rem .1rem;
    margin-top: .55rem;
    border-top: 1px solid var(--line-soft);
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { font-size: .82rem; }
}
@media (max-width: 560px) {
  .brand__logo { height: 2.3rem; }
  .brand__sub { font-size: .6rem; }
  .site-head__cta { padding: .4rem .95rem; }
  .site-nav { padding-block: .4rem; margin-top: .4rem; gap: 1rem; }
}

/* ──────────────────────────────────────────────────────── hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3.5rem, 9vw, 7rem);
  background:
    radial-gradient(120% 90% at 78% 6%, rgba(240, 226, 189, .85) 0%, rgba(251, 246, 236, 0) 58%),
    radial-gradient(90% 70% at 12% 100%, rgba(192, 92, 26, .07) 0%, rgba(251, 246, 236, 0) 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.hero__moon { position: absolute; inset: 0; pointer-events: none; }
.hero__moon-disc {
  position: absolute;
  top: clamp(-8rem, -6vw, -3rem); right: clamp(-6rem, 4vw, 6rem);
  width: clamp(20rem, 38vw, 34rem); aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 30%, rgba(255, 255, 255, .95) 0%, rgba(250, 238, 210, .9) 42%, rgba(238, 219, 175, .85) 74%, rgba(226, 199, 137, .7) 100%);
  box-shadow: 0 0 0 1px rgba(226, 199, 137, .5), 0 0 120px 40px rgba(240, 226, 189, .55);
}
.hero__moon-disc::before, .hero__moon-disc::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(197, 166, 110, .16);
}
.hero__moon-disc::before { width: 22%; height: 22%; top: 26%; left: 22%; box-shadow: 8rem 4rem 0 -1.6rem rgba(197,166,110,.13), 3rem 9rem 0 -2.2rem rgba(197,166,110,.12); }
.hero__moon-disc::after { width: 12%; height: 12%; bottom: 24%; right: 26%; }

.hero__inner { position: relative; text-align: center; padding-bottom: clamp(2rem, 5vw, 3.5rem); }

.kicker {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--saffron);
  margin: 0 0 1.25rem;
}
.kicker__rule { width: 2rem; height: 1px; background: currentColor; opacity: .5; }

.hero__title { display: flex; flex-direction: column; align-items: center; gap: .1em; margin-bottom: 1.25rem; }
.hero__title-main {
  font-family: var(--display);
  font-size: clamp(3.1rem, 11vw, 7.5rem);
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--maroon-dp);
}
.hero__title-year {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.6vw, 1.9rem);
  letter-spacing: .55em;
  text-indent: .55em;
  color: var(--gold);
}
.hero__lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0 auto 1.6rem;
}
.hero__date {
  display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; justify-content: center;
  font-size: .85rem; letter-spacing: .06em; color: var(--ink-soft);
  padding: .45rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, .6);
  margin-bottom: 2rem;
}
.dot { width: .4rem; height: .4rem; border-radius: 50%; background: var(--saffron); flex: none; }
.hero__count { color: var(--maroon); font-weight: 500; border-left: 1px solid var(--line); padding-left: .6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* the shelf of volumes — a real product photo, edges feathered into the
   hero background so it reads as part of the page rather than a pasted box */
.shelf { position: relative; margin-top: clamp(1.5rem, 4vw, 3rem); padding-inline: var(--gut); }
.shelf__photo {
  width: min(100%, 1080px);
  margin-inline: auto;
  display: block;
  filter: drop-shadow(0 20px 34px rgba(76, 15, 23, .16));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .shelf__photo { animation: shelf-rise .9s cubic-bezier(.22, 1, .36, 1) both; animation-delay: .12s; }
  @keyframes shelf-rise { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
}

/* ────────────────────────────────────────────────── verse band ── */
.verse-band {
  background:
    radial-gradient(80% 120% at 50% -20%, rgba(176, 135, 43, .28) 0%, rgba(76, 15, 23, 0) 60%),
    linear-gradient(180deg, #57121a 0%, #400d14 100%);
  color: var(--gold-pale);
  padding-block: clamp(3rem, 7vw, 5.5rem);
  text-align: center;
  border-block: 1px solid rgba(226, 199, 137, .25);
}
.verse { max-width: 46rem; }
.verse__sanskrit { font-size: clamp(1.05rem, 2.2vw, 1.45rem); line-height: 1.9; color: #f4e3b8; margin-bottom: 1.4rem; }
.verse__roman {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1rem, 1.9vw, 1.25rem); line-height: 1.8;
  color: rgba(240, 226, 189, .78);
  margin-bottom: 1.6rem;
}
.verse__gloss {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.1vw, 1.45rem); line-height: 1.6;
  color: #fbf1d9;
  max-width: 40ch; margin-inline: auto;
}
.verse__ref { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(226, 199, 137, .7); margin: 0; }

/* ─────────────────────────────────────────────────────── intro ── */
.intro { padding-block: clamp(3.5rem, 8vw, 6rem); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 880px) { .intro__grid { grid-template-columns: 15rem minmax(0, 1fr); } }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.facts li { display: flex; flex-direction: column; padding-left: 1rem; border-left: 2px solid var(--gold-lt); }
.facts__n { font-family: var(--display); font-size: 1.9rem; color: var(--maroon); line-height: 1; }
.facts__l { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-top: .3rem; }
.intro__body p { max-width: 62ch; color: var(--ink-soft); font-size: 1.05rem; }
.intro__body .h2 { margin-bottom: 1.25rem; }
.intro__delivery { color: var(--tulsi) !important; border-top: 1px solid var(--line-soft); padding-top: 1rem; }

/* ─────────────────────────────────────────────────── offerings ── */
.offerings {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-top: 1px solid var(--line-soft);
}
.cards { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); align-items: start; }
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: .45rem;
  border: 1px solid rgba(176, 135, 43, .22);
  border-radius: 2px; pointer-events: none;
}
.card--feature {
  background: #fffcf2;
  border-color: rgba(176, 135, 43, .5);
  box-shadow: var(--shadow-md);
}
.card--feature::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold) 55%, var(--saffron));
}
.card__flag {
  align-self: flex-start;
  margin: 0 0 1rem;
  padding: .25rem .8rem;
  background: var(--maroon); color: var(--gold-pale);
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  border-radius: 999px;
}
.card--feature .card__num { margin-top: 0; }
.card__num {
  font-family: var(--display); font-size: 2.6rem; line-height: 1;
  color: var(--gold); opacity: .5; margin: 0 0 .6rem;
}
.card__title { font-family: var(--display); font-size: 1.5rem; color: var(--maroon-dp); margin-bottom: .75rem; }
.card__body { color: var(--ink-soft); font-size: .96rem; }
.card__list { list-style: none; margin: 0 0 1.5rem; padding: 0; border-top: 1px solid var(--line-soft); }
.card__list li {
  position: relative;
  padding: .7rem 0 .7rem 1.4rem;
  font-size: .9rem; color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
}
.card__list li::before {
  content: "❖"; position: absolute; left: 0; top: .65rem;
  color: var(--gold); font-size: .7rem;
}
.card__price { font-size: .85rem; color: var(--ink-faint); margin-bottom: 1.25rem; }
.card__price strong { font-family: var(--display); font-size: 1.6rem; color: var(--maroon); font-weight: 400; }
.card__cta { margin-top: auto; }

.nameplate {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1rem;
  text-align: center;
  background: linear-gradient(180deg, #fdf4dd, #f7ead0);
  border: 1px solid rgba(176, 135, 43, .35);
}
.nameplate__rule { display: block; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.nameplate__kicker { font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint); margin: .6rem 0 .15rem; }
.nameplate__name { font-family: var(--display); font-size: 1.35rem; color: var(--maroon-dp); margin: 0 0 .15rem; }
.nameplate__sub { font-family: var(--serif); font-style: italic; font-size: .9rem; color: var(--gold); margin: 0 0 .6rem; }

/* ────────────────────────────────────────────────── price list ── */
.prices { padding-block: clamp(3.5rem, 8vw, 6rem); }
.table-scroll { overflow-x: auto; border-block: 1px solid var(--line); }
.pricetable { width: 100%; border-collapse: collapse; min-width: 40rem; }
.pricetable th, .pricetable td { padding: 1.1rem 1rem; text-align: left; vertical-align: baseline; }
.pricetable thead th {
  font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-faint); border-bottom: 1px solid var(--line);
}
.pricetable tbody tr + tr th, .pricetable tbody tr + tr td { border-top: 1px solid var(--line-soft); }
.pricetable tbody tr:hover { background: rgba(240, 226, 189, .3); }
.pricetable__lang { font-family: var(--display); font-size: 1.2rem; color: var(--maroon-dp); font-weight: 400; }
.pricetable td { color: var(--ink-soft); font-size: .95rem; }
.pricetable__note { display: block; font-size: .8rem; color: var(--ink-faint); }
.pricetable__price { font-family: var(--display); font-size: 1.25rem; color: var(--maroon); white-space: nowrap; }

.delivery-notes { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 2rem; }
.delivery-notes__item p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ─────────────────────────────────────────────────────── steps ── */
.how { padding-block: clamp(3.5rem, 8vw, 6rem); background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); border-top: 1px solid var(--line-soft); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.step { position: relative; padding-top: 3.25rem; }
.step::after {
  content: ""; position: absolute; top: 1.25rem; left: 3.25rem; right: -1rem; height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold-lt) 0 4px, transparent 4px 9px);
}
.step:last-child::after { display: none; }
.step__n {
  position: absolute; top: 0; left: 0;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1.05rem; color: var(--maroon);
  background: #fffdf7; border: 1px solid var(--gold-lt);
}
.step__t { font-family: var(--display); font-size: 1.2rem; color: var(--maroon-dp); margin-bottom: .4rem; }
.step p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ───────────────────────────────────────────────────────── faq ── */
.faq { padding-block: clamp(3.5rem, 8vw, 6rem); }
.faq__grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (min-width: 880px) { .faq__grid { grid-template-columns: 18rem minmax(0, 1fr); } .faq .section-head { margin-bottom: 0; } }
.qa { border-top: 1px solid var(--line-soft); }
.qa:last-child { border-bottom: 1px solid var(--line-soft); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--display); font-size: 1.08rem; color: var(--maroon-dp);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; margin-left: auto; color: var(--gold); font-size: 1.3rem; line-height: 1;
  transition: transform .2s ease;
}
.qa[open] summary::after { content: "–"; }
.qa p { max-width: 62ch; color: var(--ink-soft); font-size: .95rem; padding-bottom: 1.1rem; margin: 0; }

/* ───────────────────────────────────────────────────── cta band ── */
.cta-band {
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(176, 135, 43, .3) 0%, rgba(76, 15, 23, 0) 65%),
    linear-gradient(180deg, #57121a 0%, #3c0c13 100%);
  color: var(--gold-pale);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  text-align: center;
}
.cta-band__om { font-size: 2rem; color: var(--gold); opacity: .6; margin: 0 0 .5rem; letter-spacing: .3em; }
.cta-band__title { font-family: var(--display); font-size: clamp(1.7rem, 4vw, 2.9rem); color: #fbf1d9; margin-bottom: .6rem; }
.cta-band__sub { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: rgba(240, 226, 189, .8); margin-bottom: 2rem; }
.cta-band .btn--ghost { color: var(--gold-pale); border-color: rgba(226, 199, 137, .45); }
.cta-band .btn--ghost:hover { background: rgba(226, 199, 137, .12); color: #fff; border-color: var(--gold-lt); }
.cta-band .btn--solid { background: var(--gold); color: #3c0c13; box-shadow: none; }
.cta-band .btn--solid:hover { background: var(--gold-lt); color: #3c0c13; }

/* ────────────────────────────────────────────────────── footer ── */
.site-foot { background: #221610; color: rgba(240, 226, 189, .72); padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; font-size: .9rem; }
.site-foot a { color: var(--gold-lt); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.site-foot__col--wide { grid-column: span 1; }
.site-foot__mark { font-size: 1.05rem; color: var(--gold); margin-bottom: .75rem; }
.site-foot__name { font-family: var(--display); font-size: 1.15rem; color: #f5ead1; margin-bottom: .35rem; }
.site-foot__addr { max-width: 26ch; line-height: 1.6; }
.site-foot__h { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.site-foot__base {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(240, 226, 189, .14);
  font-size: .8rem; color: rgba(240, 226, 189, .5);
}
.site-foot__base p { margin: 0; }

/* ═══════════════════════════════════════════════ forms & pages ══ */
.page-form main, .page-doc main { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }

.form-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.form-head .h2 { margin-inline: auto; }
.form-head p { max-width: 52ch; margin-inline: auto; color: var(--ink-soft); }

.form-shell { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
@media (min-width: 940px) { .form-shell { grid-template-columns: minmax(0, 1fr) 21rem; } }

.formcard {
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
fieldset { border: 0; margin: 0 0 2rem; padding: 0; }
fieldset:last-of-type { margin-bottom: 1rem; }
legend {
  font-family: var(--display); font-size: 1.25rem; color: var(--maroon-dp);
  padding: 0 0 .35rem; margin-bottom: 1.1rem; width: 100%;
  border-bottom: 1px solid var(--line-soft);
}
legend .legend__hint { display: block; font-family: var(--sans); font-size: .82rem; color: var(--ink-faint); margin-top: .3rem; }

.field { margin-bottom: 1.35rem; }
.field > label, .field__label {
  display: block; font-size: .84rem; font-weight: 500; letter-spacing: .02em;
  color: var(--ink); margin-bottom: .4rem;
}
.field .hint { display: block; font-size: .8rem; color: var(--ink-faint); margin-bottom: .4rem; }
.req { color: var(--maroon); }
.optional { color: var(--ink-faint); font-weight: 400; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
  width: 100%;
  min-height: 3rem;
  padding: .7rem .85rem;
  font: inherit; font-size: 1rem;
  color: var(--ink);
  background: #fffefb;
  border: 1px solid rgba(36, 24, 17, .22);
  border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 6rem; resize: vertical; line-height: 1.5; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237b1e28' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem;
}
input:hover, select:hover, textarea:hover { border-color: rgba(36, 24, 17, .38); }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(123, 30, 40, .12);
}
input:user-invalid, textarea:user-invalid, select:user-invalid,
input.is-invalid, textarea.is-invalid, select.is-invalid { border-color: #a3271f; background: #fdf2f0; }
input:user-valid, textarea:user-valid { border-color: rgba(70, 101, 75, .55); }

.error-msg { display: block; color: #a3271f; font-size: .84rem; margin-top: .35rem; }
.error-msg::before { content: "▲ "; font-size: .7em; }
.field--error input, .field--error select, .field--error textarea { border-color: #a3271f; background: #fdf2f0; }

.row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }

/* set line items — one language + quantity per row */
.setlines { display: grid; gap: .6rem; margin-bottom: 1rem; }
.setline { display: grid; grid-template-columns: 1fr 6rem 2.5rem; gap: .6rem; align-items: center; }
.setline--head { gap: .6rem; padding: 0 0 .1rem; }
.setline--head span { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.setline__lang, .setline__qty { min-width: 0; }
.setline__remove {
  width: 2.4rem; height: 2.4rem; padding: 0; justify-self: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fffefb; color: var(--maroon); font-size: 1.3rem; line-height: 1; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.setline__remove:hover { background: #fdf2f0; border-color: #a3271f; color: #a3271f; }
.setline__remove[hidden] { display: none; }
.btn-add {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .9rem; font: inherit; font-size: .9rem; font-weight: 500;
  color: var(--maroon-dp); background: #fff9f0;
  border: 1px dashed var(--gold-lt); border-radius: var(--radius); cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.btn-add:hover { background: #fdf4e0; border-color: var(--gold); }
.btn-add[hidden] { display: none; }
@media (max-width: 460px) {
  .setline { grid-template-columns: 1fr 4.5rem 2.4rem; }
  .setline--head span:first-child { display: none; }
}

/* choice tiles (radio) */
.choices { display: grid; gap: .75rem; }
.choices--2 { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice__box {
  display: block; height: 100%;
  padding: 1rem 1.1rem 1rem 2.9rem;
  background: #fffefb;
  border: 1px solid rgba(36, 24, 17, .2);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.choice__box::before {
  content: ""; position: absolute; left: 1rem; top: 1.25rem;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  border: 1px solid rgba(36, 24, 17, .35); background: #fff;
}
.choice input:checked + .choice__box { border-color: var(--maroon); background: #fff9f0; box-shadow: 0 0 0 1px var(--maroon); }
.choice input:checked + .choice__box::before { border-color: var(--maroon); background: radial-gradient(circle, var(--maroon) 0 42%, #fff 46%); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--maroon); outline-offset: 2px; }
.choice__t { display: block; font-weight: 500; font-size: .95rem; color: var(--ink); }
.choice__d { display: block; font-size: .84rem; color: var(--ink-faint); margin-top: .15rem; }
.choice__price { display: block; font-family: var(--display); color: var(--maroon); font-size: 1.15rem; margin-top: .3rem; }

/* checkbox */
.check { display: flex; align-items: flex-start; gap: .7rem; cursor: pointer; padding: .35rem 0; }
.check input { width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--maroon); flex: none; }
.check span { font-size: .92rem; color: var(--ink-soft); }
.check strong { color: var(--ink); font-weight: 500; }

/* amount picker */
.amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.amount { position: relative; }
.amount input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.amount__box {
  display: block; text-align: center; padding: .9rem .5rem;
  font-family: var(--display); font-size: 1.2rem; color: var(--maroon-dp);
  background: #fffefb; border: 1px solid rgba(36, 24, 17, .2); border-radius: var(--radius);
  cursor: pointer; transition: all .15s ease;
}
.amount input:checked + .amount__box { background: var(--maroon); color: #fdf3e0; border-color: var(--maroon); }
.amount input:focus-visible + .amount__box { outline: 2px solid var(--maroon); outline-offset: 2px; }

/* summary rail */
.rail { position: sticky; top: 5.5rem; }
.summary {
  background: linear-gradient(180deg, #fffcf2, #fdf6e6);
  border: 1px solid rgba(176, 135, 43, .4);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.summary__h { font-family: var(--display); font-size: 1.15rem; color: var(--maroon-dp); margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 1px solid rgba(176, 135, 43, .3); }
.summary__row { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; padding: .45rem 0; color: var(--ink-soft); }
.summary__row dt { color: var(--ink-faint); }
.summary__row dd { margin: 0; text-align: right; color: var(--ink); }
.summary__total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(176, 135, 43, .3);
}
.summary__total dt { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.summary__total dd { margin: 0; font-family: var(--display); font-size: 2rem; color: var(--maroon); }
.summary__note { font-size: .8rem; color: var(--ink-faint); margin: 1rem 0 0; line-height: 1.5; }
.summary__seal { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: var(--tulsi); margin-top: 1rem; }

.notice { padding: 1rem 1.2rem; border-radius: var(--radius); font-size: .92rem; margin-bottom: 1.5rem; }
.notice--warn { background: #fdf3e2; border: 1px solid rgba(192, 92, 26, .35); color: #7a3a12; }
.notice--info { background: #f2f6f1; border: 1px solid rgba(70, 101, 75, .3); color: #33513a; }
.notice--error { background: #fdf2f0; border: 1px solid rgba(163, 39, 31, .35); color: #8d2119; }
.notice p:last-child { margin-bottom: 0; }

.form-actions { border-top: 1px solid var(--line-soft); padding-top: 1.5rem; margin-top: .5rem; }
.form-actions .small { margin-top: .9rem; }

/* ────────────────────────────────────────── receipt / doc pages ── */
.doc { max-width: 46rem; margin-inline: auto; }
.doc h1 { font-family: var(--display); font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--maroon-dp); margin-bottom: 1.25rem; }
.doc h2 { font-family: var(--display); font-size: 1.3rem; color: var(--maroon-dp); margin: 2rem 0 .6rem; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { padding-left: 1.2rem; }
.doc li { margin-bottom: .4rem; }
.doc__meta { font-size: .82rem; color: var(--ink-faint); }

.receipt { max-width: 40rem; margin-inline: auto; }
.receipt__seal {
  width: 4.5rem; height: 4.5rem; margin: 0 auto 1.25rem;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--gold-lt); background: linear-gradient(180deg, #fdf4dd, #f7ead0);
  font-size: 1.6rem; color: var(--maroon);
}
.receipt__status { text-align: center; margin-bottom: 2rem; }
.receipt__status h1 { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--maroon-dp); margin-bottom: .5rem; }
.receipt__ref {
  display: inline-block; font-family: var(--display); font-size: 1.3rem; letter-spacing: .08em;
  color: var(--maroon); background: #fffcf2; border: 1px dashed var(--gold-lt);
  padding: .4rem 1.1rem; border-radius: var(--radius);
}
.receipt__table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.receipt__table th, .receipt__table td { text-align: left; padding: .8rem .25rem; border-bottom: 1px solid var(--line-soft); font-size: .93rem; vertical-align: top; }
.receipt__table th { font-weight: 500; color: var(--ink-faint); width: 40%; }
.receipt__table td { color: var(--ink); }
.badge {
  display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .25rem .7rem; border-radius: 999px; border: 1px solid currentColor;
}
.badge--ok { color: #2f6b3c; background: rgba(70, 101, 75, .1); }
.badge--pending { color: #8a5a12; background: rgba(192, 92, 26, .1); }
.badge--fail { color: #a3271f; background: rgba(163, 39, 31, .08); }

.page-plain { display: grid; place-items: center; min-height: 100vh; text-align: center; }
.page-plain .wrap { max-width: 32rem; }


/* ─────────────────────────────────────────────────── utilities ── */
.center { text-align: center; }
.block { display: block; }
.muted { color: var(--ink-soft); }
.stack-1 { margin-top: 1.35rem; }
.stack-2 { margin-top: 2rem; }
.doc--center { text-align: center; padding-block: 3rem; }
.doc--center h1 { margin-inline: auto; }
.kicker--center { justify-content: center; }
.input--pan { max-width: 14rem; text-transform: uppercase; }
.rail__help { margin-top: 1rem; padding-inline: .25rem; }
.receipt__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.handoff { padding-block: 4rem; max-width: 34rem; }
.handoff__title { margin-inline: auto; text-align: center; }
.field--muted { opacity: .45; }

@media print {
  .site-head, .site-foot, .receipt__actions, .skip-link { display: none !important; }
  body { background: #fff; }
  .receipt { max-width: none; }
}
