/* ==========================================================================
   SnackMint — Mithila Makhana Intelligence
   Design tokens: cream paper ground, deep pond-green, terracotta + roasted-
   gold accents, indigo reserved for data/traceability. Motifs drawn from
   Mithila (Madhubani) line-art: fish, lotus, sun, pond ripple.
   ========================================================================== */

:root {
  /* Color */
  --cream: #F6F1E4;
  --cream-soft: #EFE7D2;
  --cream-deep: #E6DAB8;
  --paper: #FBF8F0;
  --ink: #241F1A;
  --ink-soft: #55503F;
  --forest: #1F3D2B;
  --forest-deep: #142A1D;
  --forest-light: #2E5940;
  --terracotta: #C1622B;
  --terracotta-dark: #9C4A1E;
  --gold: #D9A441;
  --gold-soft: #EAC978;
  --indigo: #2A3D66;
  --indigo-soft: #3E5488;
  --line: rgba(36, 31, 26, 0.14);
  --line-on-dark: rgba(246, 241, 228, 0.18);
  --shadow: 0 20px 44px -24px rgba(20, 42, 29, 0.35);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --wrap: 1180px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; }
:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--forest);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* --------------------------------- Type -------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.04; font-weight: 560; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.12; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.28; }
h4 { font-size: 1.05rem; line-height: 1.3; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--terracotta);
  display: inline-block;
}
.on-dark .eyebrow { color: var(--gold-soft); }
.on-dark .eyebrow::before { background: var(--gold); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 46ch;
  line-height: 1.6;
}
.on-dark .lede { color: rgba(246, 241, 228, 0.78); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--paper); }

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

/* -------------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: var(--paper); box-shadow: 0 12px 24px -12px rgba(193, 98, 43, 0.55); }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta-dark); }
.on-dark .btn-ghost { border-color: var(--line-on-dark); color: var(--cream); }
.on-dark .btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-light { background: var(--cream); color: var(--forest-deep); }
.btn-light:hover { background: var(--paper); }
.btn svg { width: 16px; height: 16px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* -------------------------------- Header -------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 228, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.25rem;
  color: var(--forest-deep);
  flex-shrink: 0;
}
.logo-mark { width: 34px; height: 34px; color: var(--terracotta); flex-shrink: 0; }
.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  font-weight: 500;
  margin-top: 1px;
}

.site-nav ul { display: flex; gap: 1.9rem; }
.nav-cta { display: none; }
.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-block: 0.25rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--forest-deep); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,0.25);
  }
  .site-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 0.5rem var(--gutter) 1.5rem; }
  .site-nav a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { display: block; padding-top: 1rem; border-bottom: none; }
}

/* -------------------------------- Sections ------------------------------- */
main { display: block; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 0.65rem; }
.section-head .lede { margin-top: 0.9rem; }

.bg-cream-soft { background: var(--cream-soft); }
.bg-forest { background: var(--forest); color: var(--cream); }
.bg-forest-deep { background: var(--forest-deep); color: var(--cream); }
.bg-paper { background: var(--paper); }

/* motif divider */
.motif-divider {
  height: 34px;
  background-image: url("../images/motif-strip.svg");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 34px;
  opacity: 0.85;
}
.motif-divider.on-dark { filter: invert(1) sepia(0.15) saturate(2) hue-rotate(10deg) opacity(0.35); }

/* -------------------------------- Hero -------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--cream);
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 82% 12%, rgba(217, 164, 65, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 8% 88%, rgba(193, 98, 43, 0.2), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy h1 { color: var(--paper); }
.hero-copy .lede { margin-top: 1.1rem; margin-bottom: 1.9rem; max-width: 50ch; }
.hero-art { position: relative; }
.hero-ripple { width: 100%; height: auto; color: var(--gold); opacity: 0.9; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(246,241,228,0.75);
  border: 1px solid var(--line-on-dark);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}
.hero-badge svg { width: 13px; height: 13px; color: var(--gold); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 340px; margin-inline: auto; }
}

/* -------------------------------- Trust strip -------------------------------- */
.trust-strip { padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 2.2rem;
  align-items: center;
  justify-content: space-between;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.trust-item svg { width: 18px; height: 18px; color: var(--terracotta); flex-shrink: 0; }

/* -------------------------------- Problem grid -------------------------------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.problem-card { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.4rem); position: relative; }
.problem-card .step-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--terracotta-dark);
  letter-spacing: 0.08em;
}
.problem-card h3 { margin-top: 0.9rem; }
.problem-card p { margin-top: 0.6rem; color: var(--ink-soft); font-size: 0.96rem; }
.problem-card svg { width: 30px; height: 30px; color: var(--forest); margin-bottom: 0.4rem; }
@media (max-width: 760px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* -------------------------------- Layer / solution cards -------------------------------- */
.layer-stack { display: grid; gap: 1.1rem; }
.layer-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.3rem);
}
.layer-card .layer-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--forest);
  color: var(--gold-soft);
}
.layer-card .layer-icon svg { width: 32px; height: 32px; }
.layer-card .layer-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}
.layer-card h3 { margin-bottom: 0.5rem; }
.layer-card p { color: var(--ink-soft); }
.layer-card ul { margin-top: 0.9rem; display: grid; gap: 0.5rem; }
.layer-card li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.layer-card li svg { width: 16px; height: 16px; color: var(--terracotta); flex-shrink: 0; margin-top: 3px; }
@media (max-width: 620px) {
  .layer-card { grid-template-columns: 1fr; }
}

/* -------------------------------- Audience cards -------------------------------- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.audience-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.6rem);
  border: 1px solid var(--line-on-dark);
  position: relative;
  overflow: hidden;
}
.audience-card.farmers { background: var(--forest); color: var(--cream); }
.audience-card.buyers { background: var(--indigo); color: var(--cream); }
.audience-card .eyebrow { color: var(--gold-soft); }
.audience-card .eyebrow::before { background: var(--gold); }
.audience-card h3 { color: var(--paper); font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 0.6rem; }
.audience-card p.lede { color: rgba(246,241,228,0.8); margin-top: 0.8rem; }
.audience-card ul { margin-top: 1.3rem; display: grid; gap: 0.65rem; }
.audience-card li { display: flex; gap: 0.6rem; font-size: 0.93rem; color: rgba(246,241,228,0.86); }
.audience-card li svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.audience-card .btn { margin-top: 1.6rem; }
@media (max-width: 760px) { .audience-grid { grid-template-columns: 1fr; } }

/* -------------------------------- Traceability / QR -------------------------------- */
.trace-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.trace-visual {
  background: var(--forest-deep);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
}
.trace-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  box-shadow: var(--shadow);
}
.trace-qr { width: 92px; height: 92px; flex-shrink: 0; color: var(--forest-deep); }
.trace-meta { font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.65; color: var(--ink-soft); }
.trace-meta strong { color: var(--ink); display: block; font-size: 0.85rem; margin-bottom: 0.2rem; }
.trace-meta .verified { color: var(--forest); font-weight: 600; }
.trace-steps { margin-top: 1.4rem; display: grid; gap: 0.75rem; }
.trace-step { display: flex; gap: 0.7rem; align-items: flex-start; color: rgba(246,241,228,0.78); font-size: 0.85rem; }
.trace-step .n {
  font-family: var(--font-mono);
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(217,164,65,0.18); color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; flex-shrink: 0; margin-top: 1px;
}
.trace-copy ul { margin-top: 1.2rem; display: grid; gap: 0.7rem; }
.trace-copy li { display: flex; gap: 0.6rem; font-size: 0.95rem; color: var(--ink-soft); }
.trace-copy li svg { width: 17px; height: 17px; color: var(--terracotta); flex-shrink: 0; margin-top: 3px; }
@media (max-width: 860px) { .trace-panel { grid-template-columns: 1fr; } }

/* -------------------------------- Timeline / roadmap -------------------------------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 21px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--terracotta), var(--gold));
  opacity: 0.4;
}
.timeline-item { display: grid; grid-template-columns: 44px 1fr; gap: 1.3rem; padding-block: 1.15rem; position: relative; }
.timeline-dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; color: var(--terracotta-dark);
  z-index: 1;
}
.timeline-item.is-done .timeline-dot { background: var(--terracotta); color: var(--paper); }
.timeline-body h4 { margin-bottom: 0.3rem; }
.timeline-body p { color: var(--ink-soft); font-size: 0.94rem; }
.timeline-status {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--forest-deep);
}

/* -------------------------------- Sustainability band -------------------------------- */
.loop-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.loop-diagram { display: flex; align-items: center; justify-content: center; gap: 0.6rem; flex-wrap: wrap; }
.loop-node {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest-deep);
  flex: 0 1 150px;
  text-align: center;
}
.loop-arrow { color: var(--terracotta); width: 22px; height: 22px; flex-shrink: 0; }
@media (max-width: 760px) { .loop-band { grid-template-columns: 1fr; } .loop-diagram { flex-direction: column; } .loop-arrow { transform: rotate(90deg); } }

/* -------------------------------- Stats -------------------------------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem;
}
.stat-card .num { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.4rem); color: var(--forest-deep); font-weight: 600; }
.stat-card .label { margin-top: 0.35rem; font-size: 0.85rem; color: var(--ink-soft); }
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; } }

/* -------------------------------- FAQ -------------------------------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.faq-q .icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--terracotta); transition: transform 0.2s ease; }
.faq-item[data-open="true"] .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.faq-a p { padding-bottom: 1.25rem; max-width: 62ch; }

/* -------------------------------- Cards generic -------------------------------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.6rem; }

/* -------------------------------- CTA band -------------------------------- */
.cta-band {
  background: var(--forest-deep);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,164,65,0.25), transparent 70%);
}
.cta-band h2 { color: var(--paper); max-width: 22ch; }
.cta-band .lede { color: rgba(246,241,228,0.75); margin-top: 0.6rem; }
.cta-band .btn-ghost { border-color: var(--line-on-dark); color: var(--cream); }
.cta-band .btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

/* -------------------------------- Forms -------------------------------- */
.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--forest-deep); }
.field .hint { font-size: 0.78rem; color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.96rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(193,98,43,0.15);
}
.field input:invalid[data-touched="true"], .field textarea:invalid[data-touched="true"] {
  border-color: #B3432B;
}
.field-error { font-size: 0.78rem; color: #B3432B; min-height: 1em; visibility: hidden; }
.field input:invalid[data-touched="true"] ~ .field-error,
.field select:invalid[data-touched="true"] ~ .field-error,
.field textarea:invalid[data-touched="true"] ~ .field-error { visibility: visible; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.9rem; }
.form-success {
  display: none;
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  align-items: center;
  gap: 0.8rem;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 24px; height: 24px; color: var(--gold); flex-shrink: 0; }
form.is-submitted .form-grid,
form.is-submitted .form-submit-row { display: none; }

/* -------------------------------- Footer -------------------------------- */
.site-footer { background: var(--forest-deep); color: rgba(246,241,228,0.85); padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 2.5rem;
}
.footer-brand .logo { color: var(--cream); }
.footer-brand p { margin-top: 1rem; color: rgba(246,241,228,0.68); font-size: 0.92rem; max-width: 32ch; }
.footer-col h4 { color: var(--cream); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; font-family: var(--font-mono); font-weight: 600; }
.footer-col ul { margin-top: 1rem; display: grid; gap: 0.65rem; }
.footer-col a { text-decoration: none; color: rgba(246,241,228,0.72); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-location { display: flex; gap: 0.55rem; font-size: 0.88rem; color: rgba(246,241,228,0.72); align-items: flex-start; }
.footer-location svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-on-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(246,241,228,0.55);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* -------------------------------- Page hero (interior pages) -------------------------------- */
.page-hero {
  background: var(--forest-deep);
  color: var(--cream);
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 90% 0%, rgba(217,164,65,0.18), transparent 60%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: var(--paper); max-width: 22ch; }
.page-hero .lede { color: rgba(246, 241, 228, 0.78); }
.breadcrumb { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: rgba(246,241,228,0.55); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(246,241,228,0.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-soft); }

/* -------------------------------- Two column generic -------------------------------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

/* -------------------------------- Utility -------------------------------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 2.5rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 600; color: var(--forest-deep);
  background: var(--cream-deep); border-radius: 999px; padding: 0.4rem 0.85rem;
}
