/* ==========================================================================
   Hurry Up Produce — hurryupproduce.com
   Design system implemented from "Hurry Up Produce — MVP Design Phase 1" (Figma)
   ========================================================================== */

/* ---- Font ---- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  /* Greens */
  --green-900: #1F4A26; /* footer, deepest */
  --green-800: #275C33; /* hover states, stats band depth */
  --green-700: #2E6B3C; /* primary buttons, bands */
  --green-600: #2F6C3D; /* headings accent, links */
  --green-100: #DDEBD2; /* soft chips */
  --tint:       #F2F6E8; /* light band background */
  --tint-strong:#E9F1DB; /* illustration panels */
  --card-tint:  #F7FAF0; /* sidebar cards */

  /* Orange — brand #E8842C fails AA for text pairings (2.7:1 w/ white);
     deep variant passes 4.5:1+ in every text use. Bright stays for fills
     with dark labels (5.49:1) and decorative bars. */
  --orange-500: #E8842C;
  --orange-700: #AB5A13;

  /* Ink & neutrals */
  --ink:      #1C2B1F;
  --body:     #4B5563;
  --muted:    #6B7280;
  --line:     #E4E8DF;
  --line-soft:#EDF0E8;
  --white:    #FFFFFF;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-h1: clamp(2.1rem, 1.2rem + 3.4vw, 3.25rem);
  --fs-h2: clamp(1.6rem, 1.1rem + 1.8vw, 2.25rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8125rem;

  /* Rhythm */
  --radius: 10px;
  --radius-lg: 16px;
  --pad-band: clamp(3rem, 2rem + 4vw, 5.5rem);
  --container: 1240px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.9, 0.3, 1);
  --dur: 550ms;
}

/* ---- Reset-lite ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 0.6em; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
a { color: var(--green-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-800); }
ul { padding-left: 1.2em; }
strong { color: var(--ink); }

/* ---- Focus & a11y ---- */
:focus-visible {
  outline: 3px solid var(--orange-700);
  outline-offset: 2px;
  border-radius: 4px;
}
.on-dark :focus-visible, .footer :focus-visible { outline-color: #F5C08A; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--green-900); color: #fff; padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius) 0; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---- Layout helpers ---- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.band { padding-block: var(--pad-band); }
.band--tint { background: var(--tint); }

/* ---- Eyebrow / section headings ---- */
.eyebrow {
  display: block;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin-bottom: 0.9rem;
}
.underline-head { display: inline-block; padding-bottom: 0.45rem; border-bottom: 3px solid var(--green-700); }
.underline-head--orange { border-bottom-color: var(--orange-500); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.1rem; padding: 0.95rem 1.35rem; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  font-family: var(--font); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.25;
  transition: background-color 180ms var(--ease), color 180ms var(--ease),
              border-color 180ms var(--ease), transform 180ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .btn-sub {
  font-weight: 500; font-size: 0.72rem; letter-spacing: 0.02em;
  text-transform: none; opacity: 0.85;
}
.btn--green { background: var(--green-700); color: #fff; }
.btn--green:hover { background: var(--green-800); color: #fff; }
.btn--orange { background: var(--orange-500); color: var(--ink); }
.btn--orange:hover { background: #DE7A20; color: var(--ink); }
.btn--outline { background: transparent; color: var(--green-700); border-color: var(--green-700); }
.btn--outline:hover { background: var(--green-700); color: #fff; }
.btn--small { padding: 0.55rem 1.1rem; font-size: 0.78rem; border-radius: 8px; }
.btn--block { width: 100%; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-row { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-mark { height: 46px; width: auto; flex: none; }
.brand-name {
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink); line-height: 1.3;
}
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: clamp(0.7rem, 1.6vw, 1.5rem); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: inline-block; padding: 0.4rem 0.1rem; text-decoration: none;
  color: var(--body); font-weight: 500; font-size: 0.9375rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--green-700); }
.nav-cta { display: flex; align-items: center; gap: 0.7rem; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  padding: 0.5rem; border-radius: 8px; color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin-left: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    display: none; box-shadow: 0 18px 30px -18px rgba(28, 43, 31, 0.25);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0; }
  .site-nav a { display: block; padding: 0.8rem clamp(1.1rem, 4vw, 2rem); border-bottom: 0; }
  .site-nav a[aria-current="page"] { background: var(--tint); border-bottom: 0; }
  .nav-cta .btn--small { padding: 0.5rem 0.8rem; }
  .nav-cta .nav-cta-secondary { display: none; }
}

/* ---- Page hero band (interior pages) ---- */
.page-hero { background: var(--tint); padding-block: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); }
.page-hero h1 { margin-bottom: 0.35em; }
.page-hero .lede { font-size: 1.0625rem; max-width: 62ch; margin: 0; }
.page-hero--split { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

/* ---- Home hero ---- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.hero-copy .lede { font-size: 1.0625rem; max-width: 46ch; }
.hero h1 { margin-bottom: 0.4em; }
.hero h1 .line { display: block; }
.hero h1 .line--green { color: var(--green-600); }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-art {
  background: var(--tint-strong); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 3rem); min-height: 280px;
  display: flex; align-items: center; justify-content: center;
}
.hero-art:has(.crate-photo), .art-panel:has(.crate-photo) { padding: 0; overflow: hidden; }
.hero-art picture, .art-panel picture { display: contents; }
.crate-photo {
  width: 100%; height: 100%; min-height: inherit;
  object-fit: cover; border-radius: var(--radius-lg); display: block;
}
.empty-state .es-art .crate-photo { border-radius: 12px; min-height: 0; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 200px; }
}

/* ---- How it works ---- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem); margin-top: 2.8rem; position: relative;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-icon {
  width: 92px; height: 92px; margin: 0 auto 1rem; border-radius: 50%;
  background: #fff; border: 2px solid var(--green-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; position: relative;
}
.step-num {
  position: absolute; top: -4px; right: -4px; width: 28px; height: 28px;
  border-radius: 50%; background: var(--green-700); color: #fff;
  font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.step p { margin: 0; color: var(--ink); font-weight: 500; font-size: 0.9375rem; }
.steps-path {
  /* Explicit width: an absolutely-positioned SVG with left+right insets keeps
     its intrinsic viewBox ratio instead of stretching (replaced element). */
  position: absolute; top: 46px; left: 12.5%; width: 75%; height: 2px; z-index: 0;
}
.steps-path line { stroke: #CBDDBC; stroke-width: 2; }
.steps-path .drawn { stroke: var(--green-700); }
@media (max-width: 760px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .steps-path { display: none; }
}

/* ---- Mission strip (honest replacement for invented stats) ---- */
.mission-strip { background: var(--green-700); color: #fff; padding-block: 2.2rem; }
.mission-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.mission-item { display: flex; align-items: center; gap: 0.9rem; justify-content: center; }
.mission-item .m-icon { font-size: 1.5rem; flex: none; }
.mission-item .m-title { font-size: 1.15rem; font-weight: 800; color: #fff; display: block; line-height: 1.2; }
.mission-item .m-sub { font-size: 0.85rem; color: #DCE9D5; }
@media (max-width: 900px) { .mission-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mission-grid { grid-template-columns: 1fr; } .mission-item { justify-content: flex-start; } }

/* ---- Cards ---- */
.card-grid { display: grid; gap: 1.4rem; margin-top: 2.4rem; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid--4, .card-grid--3 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--green-700);
  border-radius: var(--radius); padding: 1.5rem 1.4rem;
}
.card h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.05rem; margin-bottom: 0.5rem; }
.card p { margin: 0; font-size: 0.9375rem; }
.card .card-icon { font-size: 1.25rem; }

/* ---- Forms ---- */
.form-shell {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.4rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.6rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 0.45rem; }
.field .req { color: var(--orange-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.field input::placeholder, .field textarea::placeholder { color: #9AA3AE; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(46, 107, 60, 0.18);
}
.field textarea { min-height: 150px; resize: vertical; }
.field .hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.35rem; }
.dropzone {
  border: 2px dashed var(--line); border-radius: var(--radius);
  padding: 1.6rem; text-align: center; color: var(--muted); font-size: 0.9rem;
}
.dropzone input { border: 0; padding: 0; }
.form-note { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.875rem; color: var(--muted); margin-top: 1rem; }

/* Form status states (3.3: no ambiguous submit states) */
.form-status { margin-top: 1rem; border-radius: var(--radius); padding: 1rem 1.2rem; font-size: 0.9375rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: var(--tint); color: var(--green-900); border: 1px solid var(--green-100); }
.form-status--err { background: #FDF3EC; color: #8A3B0B; border: 1px solid #F3D9C2; }

/* ---- Sidebar panels ---- */
.side-panel { background: var(--card-tint); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.6rem 1.5rem; }
.side-panel h2, .side-panel h3 { font-size: 1.15rem; margin-bottom: 1.1rem; }
.benefit { display: flex; gap: 0.85rem; align-items: flex-start; margin-bottom: 1.05rem; }
.benefit:last-child { margin-bottom: 0; }
.benefit .b-icon { flex: none; font-size: 1.15rem; line-height: 1.5; }
.benefit .b-title { display: block; font-weight: 700; color: var(--ink); font-size: 0.9375rem; }
.benefit .b-sub { font-size: 0.875rem; color: var(--body); }

.note-card {
  background: #FCF8EC; border: 1px solid #EFE3C2; border-radius: var(--radius);
  padding: 1rem 1.2rem; font-size: 0.875rem; color: var(--body);
  display: flex; gap: 0.7rem; align-items: flex-start;
}
.note-card .n-icon { flex: none; }
.disclaimer-banner {
  background: #FCF8EC; border-left: 4px solid var(--orange-500);
  border-radius: 8px; padding: 1.1rem 1.4rem; margin-block: 1.8rem;
}
.disclaimer-banner strong { display: block; margin-bottom: 0.2rem; }
.disclaimer-banner p { margin: 0; font-size: 0.9375rem; }

/* ---- Two-column page layout (form + sidebar) ---- */
.split { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.side-stack { display: grid; gap: 1.5rem; }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.section-gap { margin-top: 2rem; }
.page-hero--slim { padding-block: 1.1rem; }
.back-link { font-weight: 600; text-decoration: none; }
.detail-title { margin-top: 1.2rem; }
.detail-about { margin-top: 1rem; }
.similar-wrap { margin-top: 1.1rem; }
.hero--compact { padding-block: clamp(2rem, 1rem + 3vw, 4rem); }
.mission-block { border-left: 4px solid var(--green-700); padding-left: 1.2rem; margin-bottom: 1.4rem; }
.mission-block h2 { font-size: 1.15rem; color: var(--green-600); margin-bottom: 0.4rem; }
.mission-block p { margin: 0; }
.goal-line { font-weight: 700; color: var(--ink); font-size: 1.0625rem; max-width: 44ch; }

/* ---- Illustration panels ---- */
.art-panel {
  background: var(--tint-strong); border-radius: var(--radius-lg);
  padding: 1.6rem; display: flex; align-items: center; justify-content: center;
}

/* ---- FAQ accordion ---- */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; }
.faq-item[open] { border-color: var(--green-700); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.15rem 1.4rem; font-weight: 600; color: var(--ink); font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-mark { flex: none; width: 22px; height: 22px; position: relative; }
.faq-item summary .faq-mark::before, .faq-item summary .faq-mark::after {
  content: ""; position: absolute; background: var(--green-700); border-radius: 2px;
  transition: transform 200ms var(--ease);
}
.faq-item summary .faq-mark::before { width: 14px; height: 2px; top: 10px; left: 4px; }
.faq-item summary .faq-mark::after { width: 2px; height: 14px; top: 4px; left: 10px; }
.faq-item[open] summary { color: var(--green-600); }
.faq-item[open] summary .faq-mark::after { transform: rotate(90deg); }
.faq-item .faq-body { padding: 0 1.4rem 1.3rem; font-size: 0.9375rem; }
.faq-item .faq-body p { margin-bottom: 0.6em; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* Quick links list */
.quick-links { list-style: none; margin: 0; padding: 0; }
.quick-links li { border-bottom: 1px solid var(--line-soft); padding: 0.75rem 0; }
.quick-links li:last-child { border-bottom: 0; }
.quick-links a { font-weight: 700; text-decoration: none; font-size: 0.9375rem; }
.quick-links a:hover { text-decoration: underline; }
.quick-links .ql-sub { display: block; font-size: 0.8125rem; color: var(--muted); }

/* ---- Find produce ---- */
.search-bar {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 0.9rem; gap: 0; align-items: stretch;
}
.search-cell { padding: 0.2rem 1.1rem; border-right: 1px solid var(--line-soft); }
.search-cell:first-child { padding-left: 0.4rem; }
.search-cell label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--ink); margin-bottom: 0.15rem; }
.search-cell input, .search-cell select {
  width: 100%; border: 0; font: inherit; font-size: 0.9rem; color: var(--body); background: transparent; padding: 0.15rem 0;
}
.search-cell input:focus, .search-cell select:focus { outline: none; }
.search-bar .btn { align-self: center; margin-left: 0.9rem; }
@media (max-width: 920px) {
  .search-bar { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .search-cell { border-right: 0; padding: 0.2rem 0.4rem; }
  .search-bar .btn { grid-column: 1 / -1; margin-left: 0; }
}

.search-fieldset { border: 0; padding: 0; margin: 0; }
.search-fieldset:disabled .search-bar { opacity: 0.55; }
.search-fieldset:disabled input, .search-fieldset:disabled select, .search-fieldset:disabled .btn { cursor: not-allowed; }

.empty-state {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  padding: clamp(2.2rem, 5vw, 4rem); text-align: center; margin-top: 2.2rem;
}
.empty-state .es-art { margin: 0 auto 1.4rem; width: 130px; }
.empty-state h2 { font-size: 1.5rem; }
.empty-state p { max-width: 56ch; margin-inline: auto; }
.empty-state .hero-ctas { justify-content: center; }

/* ---- Listings ---- */
.listing-list { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.listing-row {
  display: grid; grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1.4fr) auto;
  gap: 1.3rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.1rem 1.3rem;
}
.listing-tile {
  width: 72px; height: 72px; border-radius: 12px; background: var(--card-tint);
  border: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: center;
  font-size: 2rem; flex: none;
}
.listing-name { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.listing-name .l-title { font-weight: 800; color: var(--green-600); font-size: 1.15rem; }
.listing-name .l-qty { font-weight: 700; color: var(--ink); font-size: 0.9375rem; }
.listing-org { font-size: 0.875rem; color: var(--muted); }
.listing-loc { font-size: 0.9rem; color: var(--body); margin-top: 0.15rem; }
.listing-meta { font-size: 0.9375rem; color: var(--body); }
.listing-meta .dot { margin-inline: 0.5rem; color: var(--muted); }
.listing-actions { display: grid; gap: 0.55rem; justify-items: stretch; }
@media (max-width: 860px) {
  .listing-row { grid-template-columns: auto 1fr; }
  .listing-meta { grid-column: 1 / -1; }
  .listing-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}

.skeleton-row { height: 108px; border-radius: var(--radius-lg); border: 1px solid var(--line-soft);
  background: linear-gradient(100deg, #fff 40%, var(--card-tint) 50%, #fff 60%); background-size: 200% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .skeleton-row { animation: shimmer 1.2s linear infinite; }
  @keyframes shimmer { to { background-position: -200% 0; } }
}

/* Detail page */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 920px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-art { position: relative; background: var(--tint-strong); border-radius: var(--radius-lg);
  min-height: 260px; display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.badge-fresh {
  position: absolute; top: 14px; left: 14px; background: var(--green-800); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.4rem 0.7rem; border-radius: 7px;
}
.spec-list { border-top: 1px solid var(--line-soft); margin-top: 1.4rem; }
.spec-row { display: flex; gap: 0.9rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line-soft); }
.spec-row .s-icon { flex: none; width: 1.6rem; text-align: center; }
.spec-row .s-label { display: block; font-size: 0.8rem; color: var(--muted); }
.spec-row .s-value { font-weight: 600; color: var(--ink); font-size: 0.9575rem; overflow-wrap: anywhere; }
.contact-reveal { display: none; }
.contact-reveal.is-open { display: block; }
.steps-mini { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.steps-mini > div { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; }
.steps-mini .n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--green-700);
  color: #fff; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (max-width: 760px) { .steps-mini { grid-template-columns: 1fr; } }
.similar-item { display: flex; align-items: center; gap: 0.8rem; border: 1px solid var(--line);
  border-left: 4px solid var(--green-700); border-radius: 10px; padding: 0.7rem 0.9rem; margin-bottom: 0.8rem;
  background: #fff; text-decoration: none; }
.similar-item:hover { border-color: var(--green-700); }
.similar-item .si-emoji { font-size: 1.4rem; }
.similar-item .si-name { font-weight: 700; color: var(--ink); font-size: 0.9375rem; display: block; }
.similar-item .si-sub { font-size: 0.8125rem; color: var(--muted); }

/* Listing photos */
.photo-strip { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.photo-strip:empty { display: none; }
.photo-tile { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: var(--card-tint); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-rm { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%;
  border: 0; background: rgba(28,43,31,0.85); color: #fff; font-size: 14px; line-height: 1;
  cursor: pointer; display: grid; place-items: center; padding: 0; }
.photo-rm:hover { background: #a3341f; }
.field-hint { font-size: 0.8125rem; color: var(--muted); margin: 0.35rem 0 0; }
.listing-tile img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; display: block; }
.detail-art img.d-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-lg); }
.detail-thumbs { display: flex; gap: 0.6rem; margin-top: 0.8rem; }
.detail-thumbs button { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; padding: 0;
  border: 2px solid var(--line); background: none; cursor: pointer; }
.detail-thumbs button.is-active { border-color: var(--green-700); }
.detail-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Split quantity field + consent row */
.qty-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.6rem; }
.consent-row { display: flex; gap: 0.7rem; align-items: flex-start; background: var(--card-tint);
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 0.9rem 1rem; }
.consent-row input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; flex: none; accent-color: var(--green-700); }
.consent-row label { font-size: 0.875rem; color: var(--body); font-weight: 500; }

/* ---- Contact info rows ---- */
.info-row { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 1.15rem; }
.info-row:last-child { margin-bottom: 0; }
.info-row .i-icon { flex: none; font-size: 1.1rem; line-height: 1.5; }
.info-row .i-title { display: block; font-weight: 700; color: var(--ink); font-size: 0.9375rem; }
.info-row .i-sub { font-size: 0.9rem; color: var(--body); }
.panel--green { background: var(--green-800); color: #E7F0E2; border-radius: var(--radius-lg); padding: 1.8rem 1.6rem; }
.panel--green h2, .panel--green h3 { color: #fff; }
.panel--green p { color: #DCE9D5; }
.panel--green hr { border: 0; border-top: 1px solid rgba(255,255,255,0.25); margin: 1.4rem 0; }

/* ---- Terms ---- */
.terms-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.6rem); }
.terms-card section { padding-block: 1.4rem; border-bottom: 1px solid var(--line-soft); }
.terms-card section:first-child { padding-top: 0; }
.terms-card section:last-child { border-bottom: 0; padding-bottom: 0; }
.terms-card h2 { font-size: 1.15rem; color: var(--green-600); margin-bottom: 0.4rem; }
.terms-card p { margin: 0; font-size: 0.9575rem; }

/* ---- CTA banner ---- */
.cta-banner { background: var(--tint); text-align: center; padding-block: 1.6rem; font-weight: 600; color: var(--ink); }
.cta-banner p { margin: 0; }

/* ---- Footer ---- */
.footer { background: var(--green-900); color: #C9DCC9; padding-block: 2.2rem; font-size: 0.9rem; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer .f-brand { color: #fff; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.9rem; }
.footer .f-tag { display: block; font-weight: 400; letter-spacing: 0; text-transform: none; color: #C9DCC9; font-size: 0.85rem; margin-top: 0.15rem; }
.footer nav { display: flex; gap: 1.4rem; }
.footer a { color: #E7F0E2; }
.footer a:hover { color: #fff; }
.footer .f-copy { color: #A9C3A9; }

/* ---- Reveal motion (JS adds .reveal-init once; base CSS keeps final state
        so content is never hidden without JS — per 3.3 degradation) ---- */
.reveal { opacity: 1; transform: none; }
.reveal-init .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal-init .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-init .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Hero entrance choreography (JS-gated the same way) */
.hero-stage .hero-line, .hero-stage .hero-fade { opacity: 1; transform: none; }
.reveal-init .hero-stage .hero-line { opacity: 0; transform: translateY(26px); }
.reveal-init .hero-stage .hero-fade { opacity: 0; transform: translateY(14px); }
.reveal-init .hero-stage.play .hero-line, .reveal-init .hero-stage.play .hero-fade {
  opacity: 1; transform: none;
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal-init .hero-stage.play .hero-line:nth-child(2) { transition-delay: 90ms; }
.reveal-init .hero-stage.play .hero-fade { transition-delay: 220ms; }
.reveal-init .hero-stage.play .hero-ctas.hero-fade { transition-delay: 320ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal-init .hero-stage .hero-line, .reveal-init .hero-stage .hero-fade {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* Crate art idle float — decorative only */
@media (prefers-reduced-motion: no-preference) {
  .crate-float, .hero-art .crate-photo { animation: crate-settle 900ms var(--ease) both; }
  @keyframes crate-settle {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
}

@media print {
  .site-header, .footer, .cta-banner { display: none; }
}
