/* ==========================================================================
   The Harvest Trading Post — design system
   Modern marketplace usability + restrained country trading-post character
   ========================================================================== */

:root {
  /* Color */
  --cream: #f7f1e3;
  --cream-2: #efe6d2;
  --paper: #fffcf5;
  --line: #e2d6be;
  --orange: #d9731e;
  --orange-dark: #b65a10;
  --orange-soft: #f6dcc2;
  --charcoal: #22201c;
  --ink: #2e2a25;
  --muted: #6b6358;
  --green: #4f6b3a;
  --green-soft: #dfe6d3;
  --wheat: #e7b75a;
  --wood: #6e4a2c;

  /* Type — Fractul Variable (Adobe Fonts) is the brand reference; Archivo is the stand-in */
  --font-display: "Archivo", "Fractul Variable", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & depth */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(34, 32, 28, .06), 0 8px 24px rgba(34, 32, 28, .08);
  --shadow-lg: 0 2px 4px rgba(34, 32, 28, .08), 0 18px 40px rgba(34, 32, 28, .14);

  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  color: var(--charcoal);
  line-height: 1.1;
  margin: 0 0 .5em;
}
.display, h1 { font-weight: 800; font-style: italic; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; font-style: italic; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dark);
  margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); }
.btn--dark { background: var(--charcoal); color: var(--cream); }
.btn--dark:hover { background: #000; }
.btn--ghost { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn--ghost:hover { background: var(--charcoal); color: var(--cream); }
.btn--light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--light:hover { background: #fff; color: var(--charcoal); }
.btn--sm { padding: .5em 1em; font-size: .85rem; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Preview banner ---------- */
.preview-bar {
  background: var(--charcoal); color: var(--cream-2);
  font-size: .82rem; text-align: center; padding: .45rem 1rem;
}
.preview-bar strong { color: var(--wheat); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 245, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 42px; height: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__small { font-family: var(--font-display); font-size: .62rem; font-weight: 700; letter-spacing: .28em; color: var(--orange-dark); text-transform: uppercase; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.22rem; color: var(--charcoal); letter-spacing: -.01em; }

.main-nav { flex: 1; }
.main-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; justify-content: center; }
.main-nav a {
  display: block; padding: .5rem .7rem; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  text-decoration: none; color: var(--ink); position: relative;
}
.main-nav a:hover { color: var(--orange-dark); }
.main-nav a[aria-current="page"] { color: var(--orange-dark); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .15rem; height: 3px; border-radius: 3px; background: var(--orange);
}
.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--cream-2); }
.link-login { font-family: var(--font-display); font-weight: 600; font-size: .92rem; text-decoration: none; padding: .5rem .6rem; }
.link-login:hover { color: var(--orange-dark); }
.nav-toggle { display: none; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-grid; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: .75rem 20px 1rem; }
  .main-nav a { padding: .8rem .5rem; font-size: 1rem; }
  .main-nav a[aria-current="page"]::after { display: none; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .link-login, .header-actions .btn { display: none; }
  .brand__name { font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.hero > svg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(34,32,28,.78) 0%, rgba(34,32,28,.45) 45%, rgba(34,32,28,0) 75%);
}
.hero .wrap { padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(6rem, 10vw, 8rem); }
.hero .eyebrow { color: var(--wheat); }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 7vw, 5.4rem); margin-bottom: .2em; }
.hero h1 span { color: var(--wheat); }
.hero .lead { color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.search-bar {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; max-width: 720px;
  background: var(--paper); padding: .5rem; border-radius: 999px; box-shadow: var(--shadow-lg);
}
.search-bar label { flex: 1 1 200px; display: flex; align-items: center; gap: .5rem; padding: 0 .9rem; color: var(--muted); }
.search-bar label + label { border-left: 1px solid var(--line); }
.search-bar input { border: 0; outline: 0; background: transparent; width: 100%; padding: .6rem 0; color: var(--ink); }
.search-bar .icon { width: 20px; height: 20px; flex-shrink: 0; }
@media (max-width: 640px) {
  .search-bar { border-radius: var(--radius); }
  .search-bar label + label { border-left: 0; border-top: 1px solid var(--line); }
  .search-bar .btn { width: 100%; }
}

/* ---------- Quick tiles ---------- */
.quick { margin-top: -3.5rem; position: relative; z-index: 2; }
.quick__grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: .75rem;
  background: var(--paper); border-radius: var(--radius); padding: .9rem; box-shadow: var(--shadow-lg);
}
.tile {
  display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center;
  padding: 1rem .5rem; border-radius: var(--radius-sm); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--charcoal);
  transition: background .15s, color .15s;
}
.tile__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); transition: background .15s, color .15s; }
.tile:hover { background: var(--cream); }
.tile:hover .tile__icon { background: var(--orange); color: #fff; }
.tile--wholesale .tile__icon { background: var(--charcoal); color: var(--wheat); }
@media (max-width: 900px) { .quick__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .quick__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section--tint { background: var(--cream-2); }
.section--paper { background: var(--paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: .4rem 0 0; color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-display); font-weight: 700; color: var(--orange-dark); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__art { aspect-ratio: 4 / 3; position: relative; display: grid; place-items: center; }
.card__art svg { width: 62%; height: auto; }
.card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--charcoal); margin: 0; }
.card__meta { display: flex; align-items: center; gap: .35rem; font-size: .85rem; color: var(--muted); }
.card__meta svg { width: 16px; height: 16px; }
.card__price { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--charcoal); margin-top: auto; padding-top: .4rem; }
.card__price small { font-size: .8rem; font-weight: 600; color: var(--muted); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .6rem; }

.badge {
  position: absolute; top: .75rem; left: .75rem;
  display: inline-block; padding: .25rem .6rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--paper); color: var(--charcoal);
}
.badge--sale { background: var(--orange); color: #fff; }
.badge--trade { background: var(--green); color: #fff; }
.badge--wanted { background: var(--charcoal); color: var(--wheat); }
.badge--sample { left: auto; right: .75rem; background: rgba(255,252,245,.85); color: var(--muted); font-weight: 600; }

.pill { display: inline-block; padding: .2rem .6rem; border-radius: 999px; background: var(--cream-2); font-size: .78rem; font-weight: 600; color: var(--muted); }
.pill--green { background: var(--green-soft); color: var(--green); }
.pill--orange { background: var(--orange-soft); color: var(--orange-dark); }

/* Illustrated product art backgrounds */
.art--tomato { background: linear-gradient(160deg, #f6c9a8, #e9895a); }
.art--hay { background: linear-gradient(160deg, #f3dfa3, #d9ad55); }
.art--corn { background: linear-gradient(160deg, #e4ebc3, #a8bd6c); }
.art--eggs { background: linear-gradient(160deg, #f4ead8, #dccaa5); }
.art--feed { background: linear-gradient(160deg, #eadcc2, #c4a77a); }
.art--potato { background: linear-gradient(160deg, #eadfc8, #bfa47a); }
.art--onion { background: linear-gradient(160deg, #f6e2c0, #d6a25a); }
.art--seed { background: linear-gradient(160deg, #dfe6d3, #93ab76); }
.art--meat { background: linear-gradient(160deg, #f3d6cf, #d98a7a); }
.art--chicken { background: linear-gradient(160deg, #f6e2c0, #e0ae6e); }
.art--posts { background: linear-gradient(160deg, #e4ebc3, #b9c78f); }
.art--tools { background: linear-gradient(160deg, #e6e0d4, #b9ad97); }

/* ---------- Map + events ---------- */
.map-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.25rem; }
@media (max-width: 900px) { .map-layout { grid-template-columns: 1fr; } }
.map-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #e9e3cf; min-height: 380px; }
.map-card svg.map-art { width: 100%; height: 100%; position: absolute; inset: 0; }
.map-legend {
  position: absolute; left: 1rem; bottom: 1rem; display: flex; gap: 1rem; flex-wrap: wrap;
  background: var(--paper); padding: .6rem .9rem; border-radius: 999px; box-shadow: var(--shadow); font-size: .85rem; font-weight: 600;
}
.map-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot--market { background: var(--green); }
.dot--swap { background: var(--orange); }
.map-note { position: absolute; right: 1rem; top: 1rem; background: rgba(255,252,245,.9); padding: .35rem .75rem; border-radius: 999px; font-size: .78rem; color: var(--muted); }
.map-pin { cursor: pointer; }
.map-pin:hover circle:first-child, .map-pin:focus circle:first-child { r: 15; }

.events { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.events h3 { margin-bottom: 1rem; }
.event { display: flex; gap: .9rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.event:first-of-type { border-top: 0; padding-top: 0; }
.event__date {
  flex-shrink: 0; width: 56px; text-align: center; border-radius: var(--radius-sm); padding: .35rem 0;
  font-family: var(--font-display); line-height: 1.1; background: var(--cream-2);
}
.event__date b { display: block; font-size: 1.35rem; font-weight: 800; color: var(--charcoal); }
.event__date span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-dark); }
.event__date--swap { background: var(--orange-soft); }
.event__date--market { background: var(--green-soft); }
.event h4 { font-size: 1rem; margin: 0 0 .15rem; }
.event p { margin: 0; font-size: .86rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 1.4rem 1.25rem; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--charcoal); color: var(--wheat); font-family: var(--font-display); font-weight: 800; font-style: italic; margin-bottom: .9rem;
}
.step h3 { margin-bottom: .3rem; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Promo panels ---------- */
.promo { position: relative; border-radius: var(--radius); overflow: hidden; padding: 2rem; min-height: 260px; display: flex; flex-direction: column; justify-content: end; color: #fff; isolation: isolate; }
.promo > svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(34,32,28,.82), rgba(34,32,28,.1) 70%); }
.promo h3 { color: #fff; font-size: 1.6rem; font-style: italic; font-weight: 800; }
.promo p { color: rgba(255,255,255,.86); max-width: 42ch; }

/* ---------- Wholesale feature strip ---------- */
.feature-dark { background: var(--charcoal); color: var(--cream-2); position: relative; overflow: hidden; }
.feature-dark h2 { color: #fff; }
.feature-dark .lead { color: rgba(239,230,210,.8); }
.feature-dark .eyebrow { color: var(--wheat); }
.feature-dark__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .feature-dark__grid { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .6rem; align-items: start; }
.checklist li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: .15rem; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Group purchase progress ---------- */
.gp-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; color: var(--ink); }
.gp-card__top { display: flex; justify-content: space-between; align-items: start; gap: .75rem; }
.gp-card h3 { margin: 0; }
.gp-card__price { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--charcoal); }
.gp-card__price small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.progress { height: 12px; border-radius: 999px; background: var(--cream-2); overflow: hidden; }
.progress__bar { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--wheat)); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.gp-card__nums { display: flex; justify-content: space-between; font-size: .86rem; color: var(--muted); }
.gp-card__nums b { color: var(--charcoal); }
.gp-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: .75rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gp-card__stats div { font-size: .78rem; color: var(--muted); }
.gp-card__stats b { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--charcoal); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--orange); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); }
.cta-band .btn--dark:hover { background: #000; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.page-hero > svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(34,32,28,.85), rgba(34,32,28,.35) 70%, rgba(34,32,28,.15)); }
.page-hero .wrap { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4.2rem); margin-bottom: .2em; }
.page-hero .eyebrow { color: var(--wheat); }
.page-hero .lead { color: rgba(255,255,255,.88); }

/* ---------- Wholesale layout ---------- */
.ws-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .ws-layout { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: 92px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
@media (max-width: 900px) { .sidebar { position: static; } }
.sidebar h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
@media (max-width: 900px) { .cat-list { display: flex; flex-wrap: wrap; gap: .4rem; } }
.cat-list button {
  width: 100%; text-align: left; border: 0; background: transparent; padding: .55rem .7rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .92rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between;
}
.cat-list button:hover { background: var(--cream); }
.cat-list button[aria-pressed="true"] { background: var(--charcoal); color: var(--cream); }
.cat-list button span { opacity: .6; font-weight: 500; }
@media (max-width: 900px) { .cat-list button { width: auto; border: 1px solid var(--line); border-radius: 999px; } }

.ws-card .card__art { aspect-ratio: 16 / 9; }
.ws-card .card__art svg { width: 44%; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .75rem; margin: .4rem 0; font-size: .84rem; }
.spec div { color: var(--muted); }
.spec b { display: block; color: var(--charcoal); font-weight: 600; font-size: .9rem; }
.tiers { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .2rem; }
.empty-note { display: none; padding: 2rem; text-align: center; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }

.models { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 760px) { .models { grid-template-columns: 1fr; } }
.model { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.model__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-dark); margin-bottom: 1rem; }
.model--dark { background: var(--charcoal); color: var(--cream-2); border-color: var(--charcoal); }
.model--dark h3 { color: #fff; }
.model--dark .model__icon { background: rgba(231,183,90,.15); color: var(--wheat); }
.model ol { padding-left: 1.2rem; margin: .5rem 0 1.25rem; }
.model li { margin-bottom: .3rem; }

.supplier { display: flex; gap: 1rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.supplier__logo { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.1rem; color: #fff; }
.supplier h3 { margin: 0 0 .1rem; font-size: 1rem; }
.supplier p { margin: 0; font-size: .84rem; color: var(--muted); }

.request { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius-sm); padding: 1rem 1.1rem; }
.request h3 { font-size: 1rem; margin-bottom: .2rem; }
.request p { margin: 0; font-size: .88rem; color: var(--muted); }

.notice { display: flex; gap: .75rem; align-items: start; background: var(--green-soft); color: #33472a; border-radius: var(--radius-sm); padding: 1rem 1.1rem; font-size: .92rem; }
.notice svg { flex-shrink: 0; color: var(--green); }

/* ---------- Coming soon pages ---------- */
.soon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .soon-grid { grid-template-columns: 1fr; } }
.soon-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.soon-item .tile__icon { margin-bottom: .9rem; }
.soon-item p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(239,230,210,.75); margin-top: 0; }
.wood-strip {
  height: 18px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.12) 0 2px, transparent 2px 140px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #8a5d37, var(--wood));
}
.site-footer .wrap { padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__small { color: var(--wheat); }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--wheat); }
.footer-tag { font-family: var(--font-display); font-style: italic; font-weight: 700; color: var(--wheat); margin-top: 1rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(239,230,210,.15); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .84rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--charcoal); color: var(--cream); padding: .8rem 1.2rem; border-radius: 999px; box-shadow: var(--shadow-lg);
  font-size: .92rem; transition: opacity .2s, transform .2s; z-index: 100; max-width: calc(100% - 32px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

[hidden] { display: none !important; }
