/* ============ Calcutta Sauces & Spices — site styles ============ */
:root {
  --yellow: #FDEE22;
  --yellow-soft: #FFF9C9;
  --green: #007A3D;
  --green-dark: #00522A;
  --ink: #141414;
  --ink-soft: #4A4A44;
  --paper: #FFFFFF;
  --cream: #FAF7EC;
  --line: #E8E3D2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 20, 10, .08);
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Archivo", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  padding: 7px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--yellow); text-decoration: none; font-weight: 600; }

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px; gap: 20px;
}
.logo img { height: 62px; width: auto; }

nav.main { display: flex; align-items: center; gap: 17px; flex-wrap: wrap; }
nav.main a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px;
  padding: 6px 2px; border-bottom: 3px solid transparent;
}
nav.main a:hover { border-bottom-color: var(--yellow); }
nav.main a.active { border-bottom-color: var(--green); }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: 999px; padding: 13px 26px; font-size: 16px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 14px rgba(253,238,34,.45); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline { border: 2px solid var(--ink); color: var(--ink); padding: 11px 24px; }
.btn-green { background: var(--green); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; white-space: nowrap; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(253,238,34,.35), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(0,122,61,.12), transparent 60%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px;
  align-items: center; padding-top: 72px; padding-bottom: 72px;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08; letter-spacing: -.5px; font-weight: 800;
}
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.hero p.lead { margin: 22px 0 30px; font-size: 19px; color: var(--ink-soft); max-width: 34em; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px;
}
.hero-card h3 { font-size: 17px; margin-bottom: 14px; }
.hero-card ul { list-style: none; }
.hero-card li {
  padding: 10px 0 10px 34px; position: relative; border-top: 1px dashed var(--line);
  font-size: 15.5px;
}
.hero-card li:first-child { border-top: 0; }
.hero-card li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- trust strip ---------- */
.strip { background: var(--ink); color: #fff; }
.strip .wrap {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 18px; padding-bottom: 18px;
}
.strip .item { display: flex; align-items: baseline; gap: 10px; }
.strip .num { color: var(--yellow); font-size: 26px; font-weight: 800; }
.strip .lbl { font-size: 14px; color: #cfcfc6; }

/* ---------- sections ---------- */
section.block { padding: 76px 0; }
section.block.tint { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.kicker {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green);
  background: rgba(0,122,61,.08); border-radius: 999px; padding: 6px 14px; margin-bottom: 16px;
}
h2.title { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -.4px; margin-bottom: 14px; }
p.sub { color: var(--ink-soft); max-width: 44em; margin-bottom: 40px; font-size: 18px; }

.grid { display: grid; gap: 22px; }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 2px 10px rgba(20,20,10,.04);
}
.card .emoji { font-size: 30px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--ink-soft); }
.card.feature { border-top: 5px solid var(--yellow); }

/* range cards */
.range { color: #fff; border-radius: var(--radius); padding: 30px; min-height: 240px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden; text-decoration: none;
}
.range h3 { font-size: 22px; margin-bottom: 6px; color: #fff; }
.range p { font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: 14px; }
.range .go { font-weight: 700; color: var(--yellow); font-size: 15px; }
.range.spices { background: linear-gradient(160deg, #8a3b00, #5c2500); }
.range.sauces { background: linear-gradient(160deg, #a01414, #5f0a0a); }
.range.bulk   { background: linear-gradient(160deg, var(--green), var(--green-dark)); }
.range::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  border-radius: 50%; background: rgba(255,255,255,.08);
}

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 66px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 15.5px; color: var(--ink-soft); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--green-dark), var(--green)); color: #fff; }
.cta-band .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.3px; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 8px; max-width: 34em; }
.cta-band .btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- footer ---------- */
footer.site { background: var(--ink); color: #B9B9AE; font-size: 15px; }
footer.site .wrap {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px;
  padding-top: 56px; padding-bottom: 40px;
}
footer.site img { height: 54px; width: auto; margin-bottom: 14px; }
footer.site h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: .04em; }
footer.site a { color: #B9B9AE; text-decoration: none; display: block; padding: 4px 0; }
footer.site a:hover { color: var(--yellow); }
.footnote {
  border-top: 1px solid #2c2c2c; padding: 18px 0; font-size: 13.5px; color: #8b8b82;
}
.footnote .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 0; padding-bottom: 0; }

/* ---------- forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 34px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: 14px; display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 15.5px; background: #FDFCF7;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--yellow); border-color: var(--yellow); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: 54px; padding-bottom: 54px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.4px; line-height: 1.1; }
.page-hero p { color: var(--ink-soft); margin-top: 12px; max-width: 44em; font-size: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  nav.main { display: none; }
  .grid.c4, .grid.c3, .grid.c2, .form-grid { grid-template-columns: 1fr; }
  .strip .wrap { justify-content: flex-start; }
  footer.site .wrap { grid-template-columns: 1fr; }
}

/* ---------- dark hero & dark sections (v3) ---------- */
.hero-dark {
  background: #0B0B0B;
  color: #fff;
  border-bottom: 4px solid var(--yellow);
  overflow: hidden;
}
.hero-dark .wrap {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px;
  align-items: center; padding-top: 64px; padding-bottom: 64px;
}
.hero-dark h1 {
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: 1.06; letter-spacing: -.5px; font-weight: 800; color: #fff;
}
.hero-dark h1 .yl { color: var(--yellow); }
.hero-dark p.lead { margin: 22px 0 30px; font-size: 19px; color: #C9C9BE; max-width: 32em; }
.hero-dark .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dark .hero-img img { width: 100%; max-width: 560px; margin: 0 auto; }
.hero-dark .ticks { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.hero-dark .tick { font-size: 14.5px; color: #E4E4D8; }
.hero-dark .tick::before { content: "✓ "; color: var(--yellow); font-weight: 800; }

section.block.dark { background: #0B0B0B; color: #fff; border: 0; }
section.block.dark .title { color: #fff; }
section.block.dark .sub { color: #B9B9AE; }
section.block.dark .kicker { color: var(--yellow); background: rgba(253,238,34,.1); }

.pcard {
  background: #141414; border: 1px solid #262626; border-radius: var(--radius);
  overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  transition: transform .15s ease, border-color .15s ease;
}
.pcard:hover { transform: translateY(-3px); border-color: var(--yellow); }
.pcard .ph { background: #000; display: flex; align-items: center; justify-content: center; padding: 18px; min-height: 210px; }
.pcard .ph img { max-height: 200px; width: auto; max-width: 100%; }
.pcard .pbody { padding: 20px 22px 24px; }
.pcard h3 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.pcard p { color: #A8A89D; font-size: 14.5px; margin-bottom: 12px; }
.pcard .go { color: var(--yellow); font-weight: 700; font-size: 14.5px; }
.pcard .formats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chip {
  font-size: 12.5px; font-weight: 700; color: var(--yellow);
  border: 1px solid rgba(253,238,34,.4); border-radius: 999px; padding: 3px 10px;
}

/* products page */
.cat-section { padding: 60px 0; border-bottom: 1px solid #1E1E1E; }
.cat-section .head { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin-bottom: 30px; }
.cat-section .head img { max-height: 260px; width: auto; max-width: 100%; }
.cat-section h2 { font-size: clamp(26px, 3vw, 36px); color: var(--yellow); letter-spacing: -.3px; }
.cat-section .formats { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 6px; }
.cat-section p.note { color: #B9B9AE; font-size: 15.5px; max-width: 40em; }
.flavours {
  columns: 3; column-gap: 34px; margin-top: 22px;
  font-size: 15.5px; color: #E4E4D8;
}
.flavours li { break-inside: avoid; padding: 6px 0; border-bottom: 1px dashed #262626; list-style: none; }
.flavours li.has-sizes { cursor: pointer; position: relative; padding-right: 24px; }
.flavours li.has-sizes::after {
  content: '+'; position: absolute; right: 4px; top: 4px;
  color: var(--yellow); font-weight: 800; font-size: 16px; line-height: 1;
}
.flavours li.has-sizes.open::after { content: '\2212'; }
.flavours li.has-sizes:hover .fname { color: #fff; }
.flavours .fsizes { display: none; }
.flavours li.open .fsizes { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0 4px; }
.flavours .schip {
  font-size: 11.5px; font-weight: 700; color: var(--yellow);
  border: 1px solid rgba(253,238,34,.4); border-radius: 999px; padding: 2px 9px; white-space: nowrap;
}
.dark-page { background: #0B0B0B; }

@media (max-width: 960px) {
  .hero-dark .wrap { grid-template-columns: 1fr; }
  .cat-section .head { grid-template-columns: 1fr; }
  .flavours { columns: 2; }
}
@media (max-width: 640px) { .flavours { columns: 1; } }

/* ---------- image cards on light pages ---------- */
.imgcard {
  background: #0B0B0B; border-radius: var(--radius); padding: 26px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.imgcard img { max-height: 300px; width: auto; max-width: 100%; }
.imgcard.tall img { max-height: 380px; }
.imgstrip {
  background: #0B0B0B; border-top: 4px solid var(--yellow);
}
.imgstrip .wrap {
  display: flex; gap: 30px; align-items: center; justify-content: center;
  padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap;
}
.imgstrip img { max-height: 120px; width: auto; }

/* ---------- polish pass: mobile nav, icons, focus ---------- */
.navtoggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 10px; cursor: pointer;
}
.navtoggle span { width: 24px; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
header.site.menu-open .navtoggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
header.site.menu-open .navtoggle span:nth-child(2) { opacity: 0; }
header.site.menu-open .navtoggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--green); outline-offset: 2px;
}

.cicon { width: 36px; height: 36px; margin-bottom: 12px; display: block; }

@media (max-width: 640px) {
  .navtoggle { display: flex; }
  header.site { position: sticky; }
  header.site .wrap { position: relative; }
  nav.main { display: none; }
  header.site.menu-open nav.main {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 24px 18px; box-shadow: 0 14px 30px rgba(20,20,10,.12);
  }
  header.site.menu-open nav.main a { padding: 10px 0; width: 100%; border-bottom: 0; font-size: 17px; }
  .topbar .wrap { justify-content: center; text-align: center; }
}

/* ---------- story page ---------- */
.story h3 { font-size: 21px; margin: 34px 0 8px; letter-spacing: -.2px; }
.story h3:first-child { margin-top: 0; }
.story p { color: var(--ink-soft); }
.pull {
  border-left: 5px solid var(--yellow);
  padding: 6px 0 6px 20px; margin: 30px 0;
  font-size: 21px; font-weight: 700; line-height: 1.35; color: var(--ink);
}

/* ---------- inline form success ---------- */
.form-success {
  background: #FFF9C9; border: 2px solid var(--yellow); border-radius: var(--radius);
  padding: 30px; text-align: center;
}
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- legal pages ---------- */
.legal { max-width: 46em; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; letter-spacing: -.2px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { margin: 0 0 14px 22px; color: var(--ink-soft); }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--green); font-weight: 700; }

/* ---------- cookie notice ---------- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  margin: 0 auto; max-width: 720px;
  background: #141414; color: #fff; border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
  padding: 18px 20px;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.cookie-bar p { flex: 1 1 320px; font-size: 14.5px; line-height: 1.5; color: #E4E4D8; }
.cookie-bar a { color: var(--yellow); font-weight: 700; }
.cookie-bar .acts { display: flex; gap: 10px; }
.cookie-bar button {
  font: inherit; font-weight: 700; font-size: 14px; border-radius: 999px;
  padding: 10px 18px; cursor: pointer; border: 2px solid transparent;
}
.cookie-bar .accept { background: var(--yellow); color: #141414; }
.cookie-bar .decline { background: transparent; color: #fff; border-color: #555; }
.consent-line { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 10px; align-items: flex-start; }
.consent-line input { width: auto; margin-top: 4px; }
.consent-line a { color: var(--green); font-weight: 700; }
