@font-face { font-family: 'TeX Gyre Adventor'; src: url('/fonts/adventor-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'TeX Gyre Adventor'; src: url('/fonts/adventor-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'akaIndic'; src: url('/fonts/akaIndic.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --font-body: 'TeX Gyre Adventor', 'Century Gothic', 'URW Gothic', 'Avant Garde', Questrial, system-ui, sans-serif;
  --font-title: 'akaIndic', Georgia, serif;

  --navy: #442E88;
  --navy-ink: #2A1F52;
  --periwinkle: #8392C5;
  --bg: #FFFEFB;
  --ink: #241F33;
  --ink-soft: #5C5670;
  --line: rgba(68,46,136,0.14);
  --line-strong: rgba(68,46,136,0.38);
  --error: #B8341A;

  --gold: #E6C22E;
  --gold-deep: #B99416;
  --gold-tint: #FBF3C6;
  --magenta: #D33393;
  --magenta-tint: #FACDE2;
  --coral: #F15A38;
  --coral-tint: #FBCDC3;
  --green: #189A4C;
  --green-tint: #D0EBC7;
}

/* One class per product sets its colours everywhere (cards, shop, cart). */
.p-curry     { --card-color: var(--gold-deep); --card-tint: var(--gold-tint);    --dot: #F1D642; }
.p-brinjal   { --card-color: var(--magenta);   --card-tint: var(--magenta-tint); --dot: #D33393; }
.p-kussoundi { --card-color: var(--coral);     --card-tint: var(--coral-tint);   --dot: #F15A38; }
.p-lime      { --card-color: var(--green);     --card-tint: var(--green-tint);   --dot: #10A84A; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); }
body.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--magenta); }
:focus-visible { outline: 3px solid var(--periwinkle); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }
.icon { width: 22px; height: 22px; flex: none; }

.page {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.page > main { flex: 1; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

.eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
  margin: 0 0 14px 0;
}

h1, h2, h3 { font-family: var(--font-title); font-weight: 400; font-synthesis: none; margin: 0; color: var(--navy-ink); }
.section-head h2, .story-copy h2, .contact h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.15; }

.wordmark { display: block; flex: none; aspect-ratio: 4657 / 786; height: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--navy);
  cursor: pointer;
  white-space: nowrap;
}
.btn-solid { background: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--navy-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn:disabled:hover { background: var(--navy); }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: transparent; color: var(--navy); border: 2px solid transparent; border-radius: 8px; cursor: pointer;
}
.icon-btn:hover { border-color: var(--line-strong); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,254,251,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 40px; max-width: 1180px; margin: 0 auto; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-word { width: 170px; color: var(--navy); }
.nav-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.nav-links a { font-weight: 700; font-size: 15px; color: var(--ink); }
.nav-links a:hover { color: var(--magenta); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.cart-btn {
  position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px;
  background: transparent; color: var(--navy); border: 2px solid var(--navy); border-radius: 8px; cursor: pointer;
}
.cart-btn:hover { background: var(--gold-tint); }
.cart-count {
  position: absolute; top: -9px; right: -9px; min-width: 22px; height: 22px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 11px;
  background: var(--magenta); color: #fff; font-size: 12px; font-weight: 700; line-height: 1;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 96px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.85fr; gap: 56px; align-items: center; }
.hero-lead { color: var(--magenta); margin: 0 0 20px; line-height: 0; }
.hero-lead .wordmark { width: clamp(240px, 36vw, 420px); }
.hero-copy h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.15; margin: 10px 0 22px; }
.hero-copy p.sub { font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 46ch; margin: 0 0 32px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.hero-medallion { display: block; width: min(360px, 80%); aspect-ratio: 1/1; }
.hero-flourish { position: absolute; top: -30px; right: -10px; width: 150px; height: 150px; opacity: 0.9; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 620px; margin: 0 0 44px; }
.section-head p { font-size: 17px; color: var(--ink-soft); margin: 14px 0 0; line-height: 1.6; }

/* ---------- Product cards (home) ---------- */
.range { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card, .product {
  border: 2px solid var(--card-color, var(--navy));
  border-radius: 10px; padding: 30px;
  display: flex; flex-direction: column; gap: 16px; background: #fff;
}
.card-photo { display: block; width: 100%; height: auto; border-radius: 6px; }
.card > a:has(> .card-photo) { display: block; margin: -4px 0 -6px; }
.product-photo { margin: -4px 0 0; }
.product-photo figcaption { margin-top: 6px; text-align: center; font-size: 12px; letter-spacing: 0.03em; color: var(--ink-soft); }
.card-top { display: flex; align-items: center; gap: 18px; }
.card-icon { width: 68px; height: 68px; flex: none; color: var(--dot, var(--navy)); }
.card-title-wrap { display: flex; flex-direction: column; gap: 6px; }
.card-title { font-family: var(--font-title); font-weight: 400; font-size: 36px; color: var(--card-color, var(--navy)); line-height: 1.15; margin: 0; }
.card-weight { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-soft); text-transform: uppercase; }
.card-desc { font-size: 16px; line-height: 1.6; color: var(--ink); margin: 0; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--card-tint, var(--gold-tint)); color: var(--navy-ink); }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--card-color); margin-top: auto; min-height: 44px; }
.card-link:hover { color: var(--navy); }
.card-link .icon { width: 18px; height: 18px; }

/* ---------- Story ---------- */
.story-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.story-copy h2 { margin-bottom: 20px; }
.story-copy p { font-size: 17px; line-height: 1.7; color: var(--ink); margin: 0 0 18px; }
.promise-box { border: 2px solid var(--navy); border-radius: 10px; padding: 28px 30px; background: #fff; }
.promise-box h3 { font-size: 32px; color: var(--navy); margin: 0 0 18px; }
.promise-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.promise-row:first-of-type { border-top: none; }
.promise-label { color: var(--ink-soft); font-weight: 700; }
.promise-value { color: var(--navy-ink); font-weight: 700; text-align: right; }

/* ---------- Home contact band ---------- */
.contact { background: var(--navy); color: #fff; }
.contact .eyebrow { color: var(--gold); }
.contact h2 { color: #fff; }
.contact-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.contact-copy { max-width: 560px; }
.contact-copy p { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.86); margin: 14px 0 0; }
.contact .btn-solid { background: #fff; color: var(--navy); border-color: #fff; }
.contact .btn-solid:hover { background: var(--gold-tint); color: var(--navy-ink); }

/* ---------- Inner page header ---------- */
.page-head { padding: 64px 0 28px; }
.page-head h1 { font-size: clamp(38px, 5.5vw, 60px); line-height: 1.1; margin: 0 0 16px; }
.page-head .lead { font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 60ch; margin: 0; }

/* ---------- Shop ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; padding-top: 12px; padding-bottom: 56px; }
.product { scroll-margin-top: 110px; }
.product .card-top { margin-bottom: 2px; }
.ingredients { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.variants { border: 0; margin: 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.variant {
  position: relative; flex: 1 1 150px; display: flex; flex-direction: column; gap: 5px; line-height: 1.3;
  padding: 12px 16px; min-height: 64px; cursor: pointer;
  border: 2px solid var(--line-strong); border-radius: 10px; background: #fff;
}
.variant input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.variant:hover { border-color: var(--card-color); }
.variant:has(input:checked) { border-color: var(--card-color); background: var(--card-tint); box-shadow: 0 0 0 1px var(--card-color) inset; }
.variant:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
.variant-label { font-weight: 700; font-size: 15px; color: var(--navy-ink); }
.variant-price { font-size: 15px; color: var(--ink-soft); }
.variant:has(input:checked) .variant-price { color: var(--navy-ink); font-weight: 700; }
.variant-note { margin: 0; font-size: 14px; color: var(--ink-soft); min-height: 1.5em; line-height: 1.5; }
.buy-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: auto; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--navy); border-radius: 8px; background: #fff; }
.qty-btn { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 0; color: var(--navy); cursor: pointer; border-radius: 6px; }
.qty-btn:hover { background: var(--gold-tint); }
.qty-input { width: 48px; height: 44px; text-align: center; border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 16px; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shop-help { padding-top: 0; padding-bottom: 88px; }
.shop-help p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink-soft); max-width: 70ch; }

.notice { border: 2px solid var(--periwinkle); background: #F3F4FA; border-radius: 10px; padding: 14px 18px; font-size: 15px; line-height: 1.6; margin: 0 0 24px; }
.notice a { text-decoration: underline; }
.notice-ok { border-color: var(--green); background: var(--green-tint); }
.notice-warn { border-color: var(--gold-deep); background: var(--gold-tint); }
.notice-error { border-color: var(--error); background: #FDEDE8; color: #6E1E0D; }

/* ---------- Cart drawer ---------- */
.cart-overlay { position: fixed; inset: 0; background: rgba(36,31,51,0.5); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40; }
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 50;
  background: #fff; border-left: 2px solid var(--navy);
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility 0s .25s;
}
.cart.open { transform: none; visibility: visible; transition: transform .25s; }
.cart:focus { outline: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 16px 24px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 34px; }
.cart-body { flex: 1; overflow-y: auto; padding: 4px 24px; }
.cart-empty { padding: 40px 0; text-align: center; color: var(--ink-soft); line-height: 1.6; }
.cart-empty .btn { margin-top: 16px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line-photo { display: block; width: 72px; height: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.cart-line-name { font-family: var(--font-title); font-size: 24px; line-height: 1.15; color: var(--card-color, var(--navy)); margin: 0; }
.cart-line-meta { font-size: 14px; color: var(--ink-soft); margin: 2px 0 10px; }
.cart-line .qty { border-width: 1.5px; }
.cart-line .qty-btn { width: 36px; height: 36px; }
.cart-line .qty-input { width: 40px; height: 36px; font-size: 15px; }
.cart-line-total { font-weight: 700; font-size: 16px; text-align: right; }
.cart-line-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cart-remove { background: none; border: 0; padding: 10px 0; font: inherit; font-size: 13px; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
.cart-remove:hover { color: var(--error); }
.cart-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); background: #FAFAFD; }
.cart-foot:empty { display: none; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; padding: 4px 0; color: var(--ink-soft); }
.sum-row.total { font-weight: 700; font-size: 18px; color: var(--navy-ink); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.cart-fineprint { margin: 12px 0 0; font-size: 13px; color: var(--ink-soft); text-align: center; line-height: 1.5; }
.cart-foot .btn { margin-top: 14px; }
.cart-foot .notice { margin: 12px 0 0; font-size: 14px; }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: start; padding-top: 8px; padding-bottom: 88px; }
.form-box { border: 2px solid var(--navy); border-radius: 10px; padding: 32px; background: #fff; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 700; font-size: 15px; color: var(--navy-ink); padding: 0; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.input {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 2px solid var(--line-strong); border-radius: 8px;
}
select.input { appearance: auto; }
textarea.input { min-height: 150px; resize: vertical; line-height: 1.5; }
.input:focus-visible { outline: 3px solid var(--periwinkle); outline-offset: 1px; border-color: var(--navy); }
.field.has-error .input { border-color: var(--error); }
.field-error { color: var(--error); font-size: 14px; margin: 0; }
.radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 2px solid var(--line-strong); border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 15px; }
.radio-pill:has(input:checked) { border-color: var(--navy); background: var(--gold-tint); }
.radio-pill:has(input:focus-visible) { outline: 3px solid var(--periwinkle); outline-offset: 2px; }
.radio-pill input { accent-color: var(--navy); width: 18px; height: 18px; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 16px 0 0; }
.side-box { border: 2px solid var(--line-strong); border-radius: 10px; padding: 26px 28px; background: #fff; }
.side-box h2 { font-size: 30px; margin: 0 0 12px; }
.side-box p { margin: 0 0 14px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.side-box p:last-child { margin-bottom: 0; }
.side-box a { font-weight: 700; text-decoration: underline; }

/* ---------- Prose + status pages ---------- */
.prose { max-width: 720px; padding-bottom: 96px; }
.prose h2 { font-size: 34px; margin: 38px 0 10px; }
.prose p, .prose li { font-size: 17px; line-height: 1.75; color: var(--ink); }
.prose p { margin: 0 0 16px; }
.prose a { text-decoration: underline; }
.center-card { max-width: 620px; margin: 0 auto; text-align: center; padding: 96px 0 120px; }
.center-card .tick { width: 72px; height: 72px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: var(--green-tint); color: var(--green); }
.center-card .tick .icon { width: 36px; height: 36px; }
.center-card h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.1; margin-bottom: 16px; }
.center-card p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 14px; }
.center-card .btn { margin-top: 16px; }

/* ---------- Footer ---------- */
.footer { padding: 48px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-mark { width: 26px; height: 26px; flex: none; }
.footer-word { width: 130px; color: var(--navy); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; font-weight: 700; }
.footer-meta { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink-soft); text-align: right; }
.footer-meta a { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner, .story-inner, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 220px; }
  .hero-medallion { width: 220px; }
  .hero-flourish { display: none; }
}
@media (max-width: 780px) {
  .card-grid, .shop-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-inner { gap: 12px 16px; }
  .brand { order: 1; }
  .nav-actions { order: 2; margin-left: auto; }
  .nav-links { order: 3; width: 100%; gap: 22px; }
}
@media (max-width: 560px) {
  .wrap, .nav-inner { padding-left: 22px; padding-right: 22px; }
  .brand-word { width: 128px; }
  .nav-actions { gap: 10px; }
  .nav-actions .btn { padding: 0 18px; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .card, .product, .form-box { padding: 24px; }
  .page-head { padding: 44px 0 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
  .cart-body, .cart-foot { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cart, .cart.open, .cart-overlay { transition: none; }
}
