/* ==========================================================================
   ClearTable Collective — PREMIUM CONCEPT
   A proposal stylesheet. Same page, same words, elevated presentation.
   Palette keeps the brand sage #7AAF88 front and center on a deep forest
   and warm ivory ground, with a restrained gold hairline as the premium cue.
   ========================================================================== */

:root {
  --ink:        #14251C;   /* deepest forest, near-black */
  --forest:     #1D3829;   /* dark section ground */
  --pine:       #2A4E3A;
  --sage:       #7AAF88;   /* the brand green */
  --sage-soft:  #A9CBB3;
  --sage-mist:  #E9F1EA;
  --sage-deep:  #486F58;   /* readable sage for small text on light ground */
  --gold:       #C9A26B;
  --ivory:      #FAF6EE;   /* page ground */
  --card:       #FFFFFF;
  --text:       #26382D;
  --muted:      #5C6E61;
  --line:       rgba(20, 37, 28, 0.10);
  --line-dark:  rgba(255, 255, 255, 0.14);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", "Segoe UI", Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-soft: 0 10px 30px rgba(20, 37, 28, 0.08);
  --shadow-lift: 0 18px 44px rgba(20, 37, 28, 0.16);
  --pad-inline: clamp(20px, 5vw, 48px);
  --section-gap: clamp(48px, 6vw, 76px);
}

/* ----------------------------------------------------------- base ------ */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }

a { color: var(--sage-deep); text-decoration: none; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 8px; transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Anchors are jump targets only. Absolute positioning keeps them out of the
   grid flow (they were stealing grid cells and creating phantom gaps), and
   the negative top makes every jump land clear of the sticky header. */
.anchor { position: absolute; top: -100px; height: 0; }

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: var(--pad-inline);
}

.section { padding-block: var(--section-gap); position: relative; }

/* hide the old decorative wave divider in this concept */
.wave { display: none; }

/* ------------------------------------------------------- eyebrows ------ */

.hero-eyebrow,
.about-eyebrow,
.selection-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.about-eyebrow::before,
.selection-eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold);
  flex: none;
}

/* -------------------------------------------------------- buttons ------ */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 17px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease,
              background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary,
.btn--accent,
.btn--light {
  background: var(--sage);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(122, 175, 136, 0.35);
}
.btn--primary:hover,
.btn--accent:hover,
.btn--light:hover {
  background: var(--sage-soft);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(122, 175, 136, 0.45);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }

.btn-wrap { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-wrap--center { justify-content: center; margin-top: 0; }

/* --------------------------------------------------------- header ------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(20, 37, 28, 0.08); }

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6px var(--pad-inline);
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-col--logo { flex: none; }
.site-logo-box { display: block; }
.site-logo img { width: 92px; height: auto; }

.header-col--nav { flex: 1; display: flex; justify-content: center; }

.nav-toggle { display: none; }

.site-nav ul,
.nav-menu {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
}
.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 2px;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 2px;
  height: 2px;
  background: var(--sage);
  transition: right .22s ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current]::after,
.site-nav a.is-current::after { right: 0; }

.header-col--cta { flex: none; }
.header-col--cta .btn { padding: 13px 24px; font-size: 14px; }

/* ----------------------------------------------------------- hero ------ */

.section--hero {
  position: relative;
  min-height: min(84vh, 760px);
  display: flex;
  align-items: center;
  padding-block: clamp(80px, 10vh, 116px);
  background:
    linear-gradient(112deg, rgba(15, 28, 21, 0.55) 0%, rgba(15, 28, 21, 0.42) 42%, rgba(15, 28, 21, 0.10) 78%, rgba(15, 28, 21, 0.22) 100%),
    url("images/hero-vending-table.webp") center right / cover no-repeat,
    linear-gradient(112deg, #21402E 0%, var(--forest) 55%, var(--pine) 100%);
  background-color: var(--forest);
}
.hero-shade {
  position: absolute; inset: auto 0 0 0; height: 110px;
  background: linear-gradient(to bottom, rgba(250,246,238,0) 0%, var(--ivory) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; width: 100%; }

.hero-eyebrow { color: var(--sage-soft); }
.hero-eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 5.6vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  max-width: 15ch;
  text-wrap: balance;
  margin-bottom: 10px;
}

.hero-cta { margin-top: 28px; }

.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 32px 0 0;
  padding: 0;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-badges li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* ---------------------------------------------------------- about ------ */

.section--about { background: var(--ivory); padding-block: clamp(20px, 2.5vw, 34px) clamp(36px, 4.5vw, 54px); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

/* the story reads in two columns on wide screens so the section stays short */
.about-cols {
  columns: 2;
  column-gap: 30px;
}
.about-cols .about-body {
  break-inside: avoid;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0.85em;
}

@media (max-width: 1100px) {
  .about-cols { columns: 1; }
}

.about-media { margin: 0; position: relative; width: 100%; max-width: 400px; justify-self: center; }
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  width: 100%;
  height: auto;
}
.about-media::after {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .6;
}

.about-eyebrow { color: var(--sage-deep); }

.about-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--ink);
  margin-bottom: 12px;
  text-wrap: balance;
}

.about-body {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 1em;
}
.about-body:first-of-type { color: var(--text); }

/* ------------------------------------------------------ selection ------ */

.section--selection { background: var(--card); }

.section--selection .section-inner { max-width: 980px; }

.selection-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}
.selection-eyebrow {
  justify-content: center;
  display: flex;
  color: var(--sage-deep);
  margin: 16px 0 26px;
  text-align: center;
}
.selection-eyebrow::after {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold);
  align-self: center;
}

.selection-lead {
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
  color: var(--muted);
  font-size: 17.5px;
}

.selection-subhead {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--ink);
  text-align: center;
  margin: clamp(34px, 4.5vw, 48px) 0 10px;
}

.selection-note {
  text-align: center;
  color: var(--muted);
  max-width: 58ch;
  margin: 0 auto 30px;
}

/* accordion (shared by Selection and FAQ) */

.accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.acc-item + .acc-item { border-top: 1px solid var(--line); }

.acc-heading { margin: 0; }

.acc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
  color: var(--ink);
  transition: background-color .15s ease;
}
.acc-toggle:hover { background: var(--sage-mist); }

.acc-title {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.4;
}

.acc-icon {
  flex: none;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color .18s ease, border-color .18s ease;
}
.acc-icon svg { width: 14px; height: 14px; fill: none; stroke: var(--sage-deep); stroke-width: 2; }
.acc-toggle:hover .acc-icon { border-color: var(--sage); }
.acc-toggle[aria-expanded="true"] .acc-icon { background: var(--sage); border-color: var(--sage); }
.acc-toggle[aria-expanded="true"] .acc-icon svg { stroke: var(--ink); }

.acc-icon-open { display: none; }
.acc-toggle[aria-expanded="true"] .acc-icon-open { display: block; }
.acc-toggle[aria-expanded="true"] .acc-icon-closed { display: none; }

.acc-panel { background: #FDFBF6; }
.acc-body {
  padding: 4px 26px 24px;
  color: var(--muted);
  font-size: 16px;
}
.acc-body p b, .acc-body b { color: var(--text); }

/* pillars */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: clamp(34px, 4.5vw, 48px) 0 8px;
}
.pillar {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 24px 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.pillar-title {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 10px;
}
.pillar-text { color: var(--muted); font-size: 15.5px; margin: 0; }

/* promise */

.selection-promise {
  background: var(--sage-mist);
  border: 1px solid rgba(122, 175, 136, 0.35);
  border-radius: var(--radius);
  padding: 26px 30px 14px;
  color: var(--text);
}
.selection-promise ul { margin-bottom: 0.8em; }

.section--selection .btn-wrap { justify-content: center; }

/* --------------------------------------------------- environments ------ */

.section--environments {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(122, 175, 136, 0.16), transparent 60%),
    var(--forest);
  padding-block: clamp(26px, 3vw, 38px) clamp(34px, 4vw, 48px);
}

.section--environments .btn-wrap {
  justify-content: center;
  margin-top: 20px;
}

.environments-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #fff;
  text-wrap: balance;
}

.env-intro {
  color: rgba(255, 255, 255, 0.78);
  max-width: 62ch;
  margin: 10px 0 0;
  font-size: 17px;
}

.env-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: clamp(18px, 2.5vw, 26px);
}

.env-cell {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.env-cell:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(122, 175, 136, 0.5);
}

.iconbox { display: flex; gap: 18px; align-items: flex-start; }

.iconbox-icon {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(122, 175, 136, 0.16);
  border: 1px solid rgba(122, 175, 136, 0.4);
  display: grid;
  place-items: center;
}
.iconbox-icon svg { width: 24px; height: 24px; fill: var(--sage-soft); }

.iconbox-title {
  font-family: var(--serif);
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}
.iconbox-desc { color: rgba(255, 255, 255, 0.72); font-size: 15px; line-height: 1.6; margin: 0; }

/* ------------------------------------------------------------ why ------ */

.section--why { background: var(--ivory); }

.section--why .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.why-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  color: var(--ink);
  text-wrap: balance;
}

.why-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 32px 34px;
}
.why-subtitle {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 12px;
}
.why-text { color: var(--muted); margin: 0; }
.why-text b { color: var(--text); }

/* -------------------------------------------------------- contact ------ */

.section--contact { background: var(--card); }

.section--contact .section-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 680px;
}

.contact-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
  margin-bottom: 10px;
}

.contact-block {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
}
.contact-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0;
  min-width: 118px;
}
.contact-value {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  margin: 0;
  overflow-wrap: anywhere;
}
.contact-value a { color: var(--ink); }
.contact-value a:hover { color: var(--sage-deep); }
.contact-block .btn-wrap {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
  padding-top: 0;
}

/* -------------------------------------------------- placement form ----- */

.section--request {
  background:
    radial-gradient(1100px 460px at 12% -10%, rgba(122, 175, 136, 0.14), transparent 60%),
    var(--forest);
}

.section--request .section-inner { max-width: 860px; }

.request-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #fff;
  text-align: center;
  text-wrap: balance;
}

.request-note {
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  margin: 10px auto 26px;
  max-width: 52ch;
}

.request-form {
  background: var(--ivory);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  padding: clamp(22px, 3.5vw, 36px);
}

.rf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.rf-field { display: block; min-width: 0; }
.rf-field--wide { grid-column: 1 / -1; }

.rf-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 7px;
}

.rf-input {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
select.rf-input { appearance: auto; }
.rf-input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122, 175, 136, 0.28);
}

.rf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.rf-actions { justify-content: center; margin-top: 22px; }

.rf-status { display: none; text-align: center; margin: 18px 0 0; font-size: 16.5px; }
.rf-status.is-ok {
  display: block;
  color: var(--ink);
  background: var(--sage-mist);
  border: 1px solid rgba(122, 175, 136, 0.5);
  border-radius: 12px;
  padding: 16px 20px;
}
.rf-status.is-err { display: block; color: #fff; }
.rf-status.is-err a { color: var(--sage-soft); text-decoration: underline; }

@media (max-width: 700px) {
  .rf-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ faq ------ */

.section--faq { background: var(--ivory); }
.section--faq .section-inner { max-width: 1080px; }

/* the ten FAQ categories sit as two columns of cards on desktop,
   so the whole list is visible without scrolling */
@media (min-width: 900px) {
  .section--faq .accordion {
    background: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
  }
  .section--faq .acc-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
  }
  .section--faq .acc-item + .acc-item { border-top: 1px solid var(--line); }
}

.faq-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  color: var(--ink);
  text-align: center;
  margin-bottom: clamp(22px, 3.5vw, 34px);
}

/* --------------------------------------------------------- footer ------ */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(201, 162, 107, 0.4);
}

.footer-top-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(32px, 4.5vw, 48px) var(--pad-inline);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.site-footer .site-logo-box {
  display: inline-block;
  background: var(--ivory);
  border-radius: 14px;
  padding: 12px 16px;
}
.site-footer .site-logo img { width: 140px; }

.footer-heading {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-soft);
  margin-bottom: 16px;
}

/* menu links sit in two columns to keep the footer short */
.footer-col--menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 26px;
  align-content: start;
}
.footer-col--menu .footer-heading { grid-column: 1 / -1; }

.footer-link { margin: 0 0 8px; }
.footer-link a { color: rgba(255, 255, 255, 0.8); font-size: 15px; }
.footer-link a:hover { color: var(--sage-soft); }

.footer-contact { list-style: none; margin: 0 0 14px; padding: 0; }
.footer-contact li { display: flex; align-items: center; gap: 12px; }
.footer-contact a { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, 0.8); }
.footer-contact a:hover { color: var(--sage-soft); }
.footer-contact-icon svg { width: 16px; height: 16px; fill: var(--gold); display: block; }
.footer-contact-text { font-size: 15px; min-width: 0; overflow-wrap: anywhere; }

.footer-bar { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px var(--pad-inline);
  text-align: center;
}
.footer-copy {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
}

/* -------------------------------------------- mobile sticky CTA -------- */

.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(20, 37, 28, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(122, 175, 136, 0.4);
}
.mobile-cta .btn { width: 100%; text-align: center; }

/* -------------------------------------------------- reveal motion ------ */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .pillar, .env-cell { transition: none; }
}

/* ----------------------------------------------------- responsive ------ */

@media (max-width: 1024px) {

  .header-inner { gap: 16px; }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
    cursor: pointer;
    order: 3;
  }
  .nav-toggle-box { display: block; width: 20px; height: 16px; }
  .nav-toggle-icon { width: 20px; height: 16px; fill: var(--ink); display: block; }

  .header-col--nav { justify-content: flex-end; order: 2; flex: 1; }

  .site-nav { position: static; }
  .site-nav ul, .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(20, 37, 28, 0.14);
    padding: 8px 0;
  }
  .site-nav.is-open ul, .site-nav.is-open .nav-menu { display: flex; }
  .site-nav a {
    display: block;
    padding: 14px var(--pad-inline);
    font-size: 16px;
  }
  .site-nav a::after { display: none; }

  .header-col--cta { display: none; }
}

@media (max-width: 900px) {
  .about-grid,
  .section--why .section-inner,
  .section--contact .section-inner { grid-template-columns: 1fr; }

  .about-media { max-width: 420px; order: 2; justify-self: start; }
  .about-media::after { inset: 16px -14px -14px 16px; }

  .pillar-grid { grid-template-columns: 1fr; }
  .env-grid { grid-template-columns: 1fr; }

  .contact-title { grid-column: auto; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }

  .section { padding-block: clamp(56px, 12vw, 80px); }

  .section--hero {
    min-height: 78vh;
    padding-block: 104px 90px;
    background:
      linear-gradient(160deg, rgba(15, 28, 21, 0.62) 0%, rgba(15, 28, 21, 0.38) 55%, rgba(15, 28, 21, 0.30) 100%),
      url("images/hero-vending-table.webp") center right / cover no-repeat,
      linear-gradient(160deg, #21402E 0%, var(--forest) 60%, var(--pine) 100%);
  }
  .hero-title { max-width: none; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .hero-badges { gap: 12px 18px; }

  .btn { padding: 16px 24px; }

  .acc-toggle { padding: 18px 18px; }
  .acc-body { padding: 2px 18px 20px; }

  .mobile-cta { display: block; }
  body { padding-bottom: 76px; }

  .footer-top-inner { grid-template-columns: 1fr; gap: 34px; }
}
