/* ==========================================================================
   Agro Capital Fruit — Authentic Armenian Fruits, Vegetables & Specialty Foods
   ORGANIC MARKET design system (sister to Agro Capital US):
   fresh leaf green + warm cream + deep forest ink, apricot/pomegranate accents,
   condensed uppercase display type, soft offset shadows, subtle field grids.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Core palette — fresh produce */
  --leaf: #2E9E4F;          /* fresh green — primary accent */
  --leaf-2: #37B85C;        /* lighter green — hover */
  --leaf-deep: #1B6A33;     /* dark green — text-safe on light bg */
  --leaf-tint: #E7F3E8;     /* pale green wash */
  --ink: #15201A;           /* deep forest near-black */
  --iron: #1E2B23;          /* dark panel */
  --steel: #3B4A40;         /* deep gray-green */

  /* Warm secondary accents */
  --gold: #E0902F;          /* apricot/honey gold */
  --gold-deep: #95590F;     /* dark gold — text-safe */
  --berry: #C2402F;         /* pomegranate red */

  /* Oat / cream neutrals (warm) */
  --oat-50: #F8F5EC;
  --oat-100: #EFEADB;
  --oat-200: #E3DCC8;
  --oat-300: #CFC6AD;
  --oat-400: #A7A085;
  --oat-500: #7E7864;
  --oat-600: #5C5848;

  /* Surfaces */
  --bg: #F4F0E4;            /* body — warm cream */
  --bg-soft: #ECE7D6;       /* alt sections */
  --paper: #FFFFFF;         /* cards */

  /* Type colors */
  --body-c: #2C342D;
  --muted: #6B7065;

  --line: rgba(21, 32, 26, 0.12);
  --line-strong: rgba(21, 32, 26, 0.24);

  /* Soft offset shadows — fresh "sticker" look */
  --hard-1: 4px 4px 0 var(--ink);
  --hard-2: 6px 6px 0 var(--ink);
  --hard-3: 8px 8px 0 var(--ink);

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* Softer, friendlier corners (vs. sister's hard edges) */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-snappy: cubic-bezier(0.32, 0.72, 0, 1);

  --container: 1280px;
  --container-tight: 1120px;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-c);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 200ms var(--ease); }
button { font: inherit; cursor: pointer; }
::selection { background: var(--leaf); color: #fff; }

/* Fresh tape across the very top of the viewport */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--leaf) 0%, var(--leaf-2) 50%, var(--gold) 100%);
  z-index: 120;
  pointer-events: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
@media (min-width: 1024px){
  .container { width: min(100% - 4rem, var(--container)); }
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--leaf);
  padding: .75rem 1rem; z-index: 200;
  font-family: var(--font-mono);
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Soft field grid overlay ---------- */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 60;
  opacity: 0.4;
  background-image:
    linear-gradient(to right, rgba(21,32,26,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21,32,26,0.02) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5), transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5), transparent 78%);
}

/* ---------- Type ---------- */
.h-display, .display, h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
  color: var(--ink);
  text-transform: uppercase;
  text-wrap: balance;
}
.h-display {
  font-size: clamp(2.4rem, 1.5rem + 3.8vw, 4.6rem);
}
.h-display em {
  font-style: normal;
  font-weight: 700;
  color: var(--oat-400);
}
@supports (-webkit-text-stroke: 1px black) {
  .h-display em {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--leaf-deep);
  }
}
.display {
  font-size: clamp(3.4rem, 1.6rem + 8vw, 8rem);
  line-height: 0.92;
}
.display .display-line { display: block; }
.display .italic {
  font-style: normal;
  font-weight: 700;
  color: #fff;
  background: var(--leaf);
  display: inline-block;
  padding: 0 0.18em;
  margin-top: 0.06em;
  border-radius: var(--radius-sm);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: .45rem .75rem;
  background: var(--leaf);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
}
.eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--ink);
  border-radius: 50%;
}
.eyebrow-light {
  color: var(--ink);
  background: var(--leaf);
  border-color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  transition: transform 200ms var(--ease-snappy), background 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
}
.btn:active { transform: translate(1px, 1px); }

.btn-pill { padding: 0.75rem 0.85rem 0.75rem 1.1rem; border-radius: var(--radius-pill); }
.btn-lg { padding: 1rem 1.05rem 1rem 1.35rem; font-size: .92rem; }

.btn-primary {
  background: var(--leaf);
  color: var(--ink);
  box-shadow: var(--hard-1);
}
.btn-primary:hover {
  background: var(--leaf-2);
  transform: translate(-2px, -2px);
  box-shadow: var(--hard-2);
}
.btn-primary .btn-icon {
  background: rgba(21,32,26,0.14);
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--leaf);
}
.btn-dark:hover {
  background: var(--iron);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--leaf);
}
.btn-dark .btn-icon { background: rgba(255,255,255,0.14); color: var(--leaf); }

.btn-warm {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
}
.btn-warm:hover {
  background: #ECA047;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.45);
}
.btn-warm .btn-icon { background: rgba(21, 32, 26, 0.14); color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-ghost .btn-icon { background: rgba(21,32,26,0.08); color: currentColor; }
.btn-ghost:hover .btn-icon { background: rgba(255,255,255,0.14); }

.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: var(--radius-pill);
  transition: transform 220ms var(--ease-snappy), background 200ms var(--ease);
}
.btn-icon svg { width: 13px; height: 13px; }
.btn-lg .btn-icon { width: 30px; height: 30px; }
.btn-lg .btn-icon svg { width: 15px; height: 15px; }
.btn:hover .btn-icon { transform: translate(2px, -2px); }

.btn-text {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; color: var(--ink);
  font-size: .85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  border: 0;
  border-bottom: 2px solid var(--ink);
  transition: gap 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.btn-text svg { width: 14px; height: 14px; }
.btn-text:hover { gap: .8rem; border-color: var(--leaf); color: var(--leaf-deep); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 80;
  transition: background 300ms var(--ease), backdrop-filter 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.site-header.is-scrolled {
  background: rgba(244, 240, 228, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 2px solid var(--ink);
}

/* Announcement running line — the long "not sold online" notice as a scrolling ticker */
.announce {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  background: var(--leaf);
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: .5rem 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.35;
  transition: background 200ms var(--ease);
}
.announce:hover { background: var(--leaf-2); }
.announce-track {
  display: inline-flex;
  align-items: center;
  animation: announce-scroll 40s linear infinite;
  will-change: transform;
}
.announce:hover .announce-track { animation-play-state: paused; }
.announce-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding-right: 2.75rem;
}
.announce-item svg { width: 16px; height: 16px; flex: none; }
.announce-item strong { font-weight: 700; }
.announce-sep { color: var(--leaf-deep); font-size: .62rem; }
@keyframes announce-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 560px) {
  .announce { font-size: .68rem; letter-spacing: .02em; }
}
/* Reduced motion: no scroll — show the message once, wrapped and centered */
@media (prefers-reduced-motion: reduce) {
  .announce { white-space: normal; text-align: center; padding: .5rem 1rem; }
  .announce-track { display: block; animation: none; }
  .announce-item { display: inline; padding-right: 0; }
  .announce-item ~ .announce-item { display: none; }
  .announce-sep { display: none; }
}

.header-shell {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.95rem;
  transition: padding 300ms var(--ease);
}
.site-header.is-scrolled .header-shell { padding-block: 0.6rem; }
@media (min-width: 1024px){
  .header-shell { width: min(100% - 4rem, var(--container)); }
}

.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--ink);
}
.brand-mark {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink);
  border: 2px solid var(--ink);
  color: var(--leaf);
  border-radius: var(--radius-md);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text {
  display: inline-flex; flex-direction: column; line-height: 1; gap: 3px;
}
.brand-line-1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-line-2 {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--leaf-deep);
}

.primary-nav {
  justify-self: center;
  display: none;
  gap: 0.2rem;
}
.primary-nav a {
  position: relative;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-pill);
  transition: color 180ms var(--ease), background 180ms var(--ease);
}
.primary-nav a:hover { color: var(--ink); background: rgba(21,32,26,0.06); }
.primary-nav a.is-active { color: var(--ink); background: var(--leaf); }

@media (min-width: 940px) { .primary-nav { display: inline-flex; } }

.header-cta { display: inline-flex; align-items: center; gap: .6rem; justify-self: end; }
.header-cta .btn-primary { display: none; }
@media (min-width: 640px) { .header-cta .btn-primary { display: inline-flex; } }

.menu-toggle {
  width: 44px; height: 44px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 300ms var(--ease-snappy), opacity 200ms var(--ease);
  transform-origin: center;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
@media (min-width: 940px) { .menu-toggle { display: none; } }

/* ---------- Mobile Nav ---------- */
.mobile-nav {
  position: fixed; inset: 0;
  z-index: 70;
  background: var(--bg);
  background-image:
    linear-gradient(to right, rgba(21,32,26,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21,32,26,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  padding: 8.5rem 1.5rem 2rem;
  display: flex; flex-direction: column; gap: 2rem;
  opacity: 0; pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 300ms var(--ease), transform 350ms var(--ease-snappy);
}
.mobile-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a {
  display: flex; align-items: baseline; gap: 1.25rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.85rem 0;
  border-top: 2px solid var(--ink);
  color: var(--ink);
  opacity: 0; transform: translateY(14px);
  transition: opacity 450ms var(--ease) calc(var(--i,0) * 55ms), transform 450ms var(--ease-snappy) calc(var(--i,0) * 55ms), color 200ms var(--ease), padding-left 200ms var(--ease);
}
.mobile-nav nav a:last-child { border-bottom: 2px solid var(--ink); }
.mobile-nav nav a .mn-index {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink);
  background: var(--leaf);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.mobile-nav nav a:hover { padding-left: .5rem; color: var(--leaf-deep); }
.mobile-nav.is-open nav a { opacity: 1; transform: translateY(0); }
.mobile-nav nav a:nth-child(1) { --i: 1; }
.mobile-nav nav a:nth-child(2) { --i: 2; }
.mobile-nav nav a:nth-child(3) { --i: 3; }
.mobile-nav nav a:nth-child(4) { --i: 4; }
.mobile-nav nav a:nth-child(5) { --i: 5; }
.mobile-nav nav a:nth-child(6) { --i: 6; }

.mobile-shop { align-self: flex-start; }
.mobile-foot {
  margin-top: auto;
  display: flex; flex-direction: column; gap: .35rem;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--muted);
  border-top: 2px solid var(--ink);
  padding-top: 1.5rem;
}
.mobile-foot a { color: var(--ink); font-weight: 500; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  padding-top: clamp(8.5rem, 15vh, 10.5rem);
  padding-bottom: clamp(4rem, 12vh, 7rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute; inset: 0;
  z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, #F7F3E9 0%, var(--bg) 100%);
}
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(21,32,26,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21,32,26,0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 25%, rgba(0,0,0,0.8) 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 25%, rgba(0,0,0,0.8) 80%, transparent 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  right: -6%; top: 8%;
  width: 46%; height: 60%;
  background: radial-gradient(circle at 70% 40%, rgba(46,158,79,0.16), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 980px){
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 4rem;
  }
}

.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { margin-bottom: 1.75rem; }
.hero-tagline {
  margin: 1.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem);
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1.1;
  max-width: 30ch;
}
.hero-tagline .amp { color: var(--leaf-deep); padding: 0 .1em; }
.hero-sub {
  margin: 1.25rem 0 2rem;
  font-size: clamp(1rem, 0.92rem + 0.3vw, 1.1rem);
  color: var(--body-c);
  max-width: 56ch;
  line-height: 1.65;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero-tag {
  margin-top: 2.25rem;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .55rem;
  color: var(--steel);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-tag .sep { color: var(--leaf-deep); }

/* Hero card stack — produce plates */
.hero-card-stack {
  position: relative;
  min-height: 460px;
  perspective: 1200px;
}
@media (min-width: 980px){ .hero-card-stack { min-height: 560px; } }

.hc {
  position: absolute;
  width: 62%;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 0.5rem 0.5rem 0.85rem;
  box-shadow: var(--hard-2);
  margin: 0;
  transition: transform 450ms var(--ease-snappy), box-shadow 300ms var(--ease);
}
.hc img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: contain;
  background: var(--oat-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.6rem;
}
.hc figcaption {
  padding: .6rem .5rem 0;
  display: flex; flex-direction: column; gap: .2rem;
}
.hc-kicker {
  font-family: var(--font-mono);
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--leaf-deep); font-weight: 600;
}
.hc-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
}

.hc-1 { top: 0; right: 0; width: 58%; transform: rotate(1.5deg); z-index: 2; }
.hc-2 { top: 18%; left: 2%; width: 52%; transform: rotate(-2deg); z-index: 3; }
.hc-3 { bottom: 6%; right: 6%; width: 56%; transform: rotate(1deg); z-index: 1; }

.hero-card-stack:hover .hc-1 { transform: rotate(2.5deg) translateY(-6px); }
.hero-card-stack:hover .hc-2 { transform: rotate(-3deg) translate(-8px, -2px); }
.hero-card-stack:hover .hc-3 { transform: rotate(1.5deg) translateY(6px); }

.hc-meta {
  position: absolute;
  left: -1rem; bottom: 14%;
  background: var(--ink);
  color: var(--paper);
  padding: .85rem 1.1rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column;
  z-index: 4;
  box-shadow: 5px 5px 0 var(--leaf);
  transform: rotate(-1.5deg);
}
.hc-meta-label {
  font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--leaf); font-weight: 600;
}
.hc-meta-value {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.15rem;
}

@media (max-width: 640px) {
  .hc { width: 60%; }
  .hc-1 { top: 0; right: 0; }
  .hc-2 { top: 18%; left: 0; width: 56%; }
  .hc-3 { bottom: 0; right: 8%; width: 56%; }
  .hc-meta { left: -.25rem; bottom: 6%; }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 1.5rem;
  transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
}
.scroll-line {
  width: 2px; height: 40px;
  background: linear-gradient(to bottom, var(--ink), transparent);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 2px; height: 50%;
  background: var(--leaf);
  animation: scroll-drop 2.2s var(--ease) infinite;
}
@keyframes scroll-drop {
  0% { transform: translateY(-100%); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(220%); opacity: 0; }
}
@media (max-width: 640px) { .scroll-cue { display: none; } }

/* ---------- Marquee — fresh conveyor ---------- */
.marquee {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  padding: 1.4rem 0;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--leaf), var(--gold));
}
.marquee::before { top: 0; }
.marquee::after { bottom: 0; }
.marquee-track {
  display: inline-flex; align-items: center; gap: 2.25rem;
  white-space: nowrap;
  animation: marquee 42s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--paper);
  will-change: transform;
}
.marquee-track .m-dot { color: var(--leaf); font-size: .7rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}
.section-head {
  display: flex; flex-direction: column; gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 64ch;
}
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
}
.section-lead strong { color: var(--leaf-deep); }

/* ---------- Ghost section numbers ---------- */
.about, .stores, .why, .products, .contact {
  isolation: isolate;
  overflow: hidden;
}
.about::before, .stores::before, .why::before,
.products::before, .contact::before {
  position: absolute;
  top: clamp(0.5rem, 3vw, 2rem);
  right: 1.5%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(7rem, 17vw, 17rem);
  line-height: 1;
  color: rgba(21, 32, 26, 0.045);
  z-index: -1;
  pointer-events: none;
}
.about::before    { content: "01"; }
.stores::before   { content: "02"; }
.why::before      { content: "03"; }
.products::before { content: "04"; }
.contact::before  { content: "05"; }

/* leaf dot-cluster accents */
.why::after {
  content: "";
  position: absolute;
  bottom: 7%; right: 4%;
  width: 96px; height: 96px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'><g stroke='%231B6A33' stroke-width='1.2' fill='none' opacity='0.4'><circle cx='48' cy='48' r='32'/><circle cx='48' cy='48' r='20'/><path d='M48 6 V22 M48 74 V90 M6 48 H22 M74 48 H90'/></g><circle cx='48' cy='48' r='4' fill='%232E9E4F'/></svg>");
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: -1;
}
.products::after {
  content: "";
  position: absolute;
  bottom: 12%; left: 3%;
  width: 230px; height: 230px;
  background-image: radial-gradient(circle, rgba(46,158,79,0.18) 1.4px, transparent 2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7), transparent 75%);
  pointer-events: none;
  z-index: -1;
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 980px){
  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 5rem;
  }
}
.about-prose .lead {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.05rem + 1vw, 1.9rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.15;
  margin-top: 0;
}
.about-prose p { color: var(--body-c); max-width: 64ch; }
.about-stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1rem;
  border-top: 2px solid var(--ink);
  padding-top: 2rem;
}
.stat {
  display: flex; flex-direction: column; gap: .35rem;
  padding: 0.25rem 0 0.25rem 0.9rem;
  border-left: 3px solid var(--leaf);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  text-transform: uppercase;
}
.stat-text { color: var(--ink); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}

/* ---------- PROMISE STRIP (inside About) ---------- */
.promise-block {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 2px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 760px){
  .promise-block { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.promise {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--hard-1);
  transition: transform 250ms var(--ease-snappy), box-shadow 250ms var(--ease);
}
.promise:hover { transform: translate(-3px, -3px); box-shadow: var(--hard-2); }
.promise-icn {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--leaf-tint);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  color: var(--leaf-deep);
  margin-bottom: 1rem;
}
.promise-icn svg { width: 24px; height: 24px; }
.promise h3 { font-size: 1.35rem; margin: 0 0 .5rem; }
.promise p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- WHERE TO BUY (STORES) ---------- */
.stores {
  background: var(--bg-soft);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.stores-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) { .stores-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .stores-grid { grid-template-columns: repeat(4, 1fr); } }

.store-card {
  position: relative;
  display: flex; flex-direction: column; gap: .3rem;
  padding: 1.75rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  color: var(--ink);
  transition: transform 250ms var(--ease-snappy), box-shadow 250ms var(--ease);
}
.store-card:hover { transform: translate(-3px, -3px); box-shadow: var(--hard-2); }
.store-icn {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--leaf);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  color: var(--ink);
  margin-bottom: 1rem;
}
.store-icn svg { width: 24px; height: 24px; }
.store-kicker {
  font-family: var(--font-mono);
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--leaf-deep); font-weight: 600;
}
.store-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.8rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.05;
}
.store-loc {
  font-size: 0.92rem;
  color: var(--muted);
}
.store-cta {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--leaf-deep);
  transition: gap 200ms var(--ease), color 200ms var(--ease);
}
.store-cta svg { width: 13px; height: 13px; }
.store-card:hover .store-cta { gap: .65rem; }

.store-card-cta {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.store-card-cta:hover { box-shadow: 6px 6px 0 var(--leaf); }
.store-card-cta .store-icn { background: var(--leaf); border-color: var(--leaf); color: var(--ink); }
.store-card-cta .store-kicker { color: var(--leaf); }
.store-card-cta .store-name { color: var(--paper); }
.store-card-cta .store-loc { color: rgba(255,255,255,0.7); }
.store-card-cta .store-cta { color: var(--leaf); }

/* ---------- WHY US ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-card {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  transition: transform 250ms var(--ease-snappy), box-shadow 250ms var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.why-card::after {
  content: "";
  position: absolute; inset: auto -20% -50% auto;
  width: 60%; aspect-ratio: 1/1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(46,158,79,0.20), transparent 70%);
  opacity: 0;
  transition: opacity 300ms var(--ease);
  z-index: -1;
}
.why-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--hard-2);
}
.why-card:hover::after { opacity: 1; }
.why-icn {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--leaf);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  color: var(--ink);
  margin-bottom: 1.25rem;
  transition: background 250ms var(--ease), color 250ms var(--ease);
}
.why-icn svg { width: 22px; height: 22px; }
.why-card:hover .why-icn { background: var(--ink); color: var(--leaf); }
.why-card h3 {
  font-size: 1.45rem; margin: 0 0 .6rem;
}
.why-card p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 36ch; }

/* ---------- PRODUCTS ---------- */
.cat-tabs {
  display: flex; flex-wrap: wrap; gap: .35rem;
  padding: 0.4rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: var(--hard-1);
  margin-bottom: 2.5rem;
  width: 100%;
  max-width: max-content;
}
@media (max-width: 720px){
  .cat-tabs { border-radius: var(--radius-lg); }
  .cat-tab { font-size: .72rem; padding: 0.55rem 0.8rem; }
}
.cat-tab {
  padding: 0.6rem 1rem;
  border: 0;
  background: transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel);
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.cat-tab:hover { background: var(--oat-100); color: var(--ink); }
.cat-tab.is-active {
  background: var(--leaf);
  color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.pcard {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 250ms var(--ease-snappy), box-shadow 250ms var(--ease);
}
.pcard:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--hard-2);
}
.pcard-img {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--oat-50);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
.pcard-img::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(21,32,26,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21,32,26,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.pcard-img img {
  position: relative;
  width: 100%; height: 100%; object-fit: contain;
  padding: 1rem;
  transition: transform 600ms var(--ease);
}
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-body {
  padding: 1.1rem 1.1rem 1.25rem;
  display: flex; flex-direction: column; gap: .4rem;
  flex: 1;
}
.pcard-cat {
  font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--leaf-deep); font-weight: 600;
}
.pcard h3 {
  font-size: 1.3rem;
  margin: 0;
}
.pcard p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.pcard-meta {
  font-size: 0.85rem !important;
  color: var(--muted);
  flex: 1;
}
.pcard-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; flex-wrap: wrap;
  margin-top: .65rem;
  padding-top: .75rem;
  border-top: 1px dashed var(--line-strong);
}
.price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.price-unit {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 500;
}
.pcard-avail {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--font-mono);
  font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600;
  color: var(--leaf-deep);
  background: var(--leaf-tint);
  border: 1px solid rgba(46,158,79,0.4);
  padding: .28rem .5rem;
  border-radius: var(--radius-pill);
}

@media (min-width: 1024px) {
  .pcard-feat { grid-column: span 2; grid-row: span 1; }
  .pcard-feat .pcard-img { aspect-ratio: 16/10; }
  .pcard-feat .pcard-img img { padding: 1.5rem; }
  .pcard-feat .pcard-body { padding: 1.5rem 1.75rem 1.75rem; gap: .6rem; }
  .pcard-feat h3 { font-size: 1.9rem; }
}

.pcard.is-hidden { display: none; }

/* Photo product cards — real photography fills the frame (vs. cut-out products) */
.pcard-photo .pcard-img { background: var(--oat-100); }
.pcard-photo .pcard-img::before { display: none; }
.pcard-photo .pcard-img img { object-fit: cover; padding: 0; }

.product-foot {
  margin-top: 3rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.product-foot p {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- COMMITMENT BLOCK — deep forest ---------- */
.heritage {
  position: relative;
  color: var(--paper);
  padding: clamp(5rem, 10vw, 8rem) 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.heritage::before,
.heritage::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--leaf), var(--gold));
  z-index: 2;
}
.heritage::before { top: 0; }
.heritage::after { bottom: 0; }

.heritage-bg {
  position: absolute; inset: 0;
  z-index: -1;
}
.heritage-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6), transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6), transparent 82%);
}
.heritage-bg::after {
  content: "";
  position: absolute; right: -110px; top: -110px;
  width: 460px; height: 460px;
  border: 2px dashed rgba(46, 158, 79, 0.3);
  border-radius: 50%;
}

.heritage-grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 920px) {
  .heritage-grid { grid-template-columns: 1.2fr 1fr; gap: 5rem; }
}
.heritage-copy h2 { color: var(--paper); }
.h-display-light { color: var(--paper); }
.h-display-light em { color: var(--leaf); font-style: normal; }
@supports (-webkit-text-stroke: 1px white) {
  .h-display-light em {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--leaf);
  }
}
.heritage-copy p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 54ch;
  margin: 1.5rem 0 2rem;
}
.heritage-quote {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem);
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}
.quote-mark {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--leaf);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.quote-mark svg { width: 26px; height: 26px; }
.heritage-quote blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 1.05rem + 1.4vw, 2.1rem);
  margin: 0 0 1rem;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--paper);
}
.heritage-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--leaf); font-weight: 600;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }

.contact-card {
  position: relative;
  display: flex; flex-direction: column; gap: .35rem;
  padding: 1.75rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  transition: transform 250ms var(--ease-snappy), box-shadow 250ms var(--ease);
  color: var(--ink);
}
.contact-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--hard-2);
}
.cc-icon {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--leaf);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  color: var(--ink);
  margin-bottom: 1rem;
}
.cc-icon svg { width: 22px; height: 22px; }
.cc-label {
  font-family: var(--font-mono);
  font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.cc-value {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 700;
  text-transform: uppercase;
  margin: .15rem 0 .8rem;
  word-break: break-word;
  color: var(--ink);
}
.cc-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--leaf-deep);
  transition: gap 200ms var(--ease), color 200ms var(--ease);
}
.cc-cta svg { width: 13px; height: 13px; }
.contact-card:hover .cc-cta { gap: .65rem; }

.contact-card-shop {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.contact-card-shop:hover { box-shadow: 6px 6px 0 var(--leaf); }
.contact-card-shop .cc-icon { background: var(--leaf); border-color: var(--leaf); color: var(--ink); }
.contact-card-shop .cc-label { color: rgba(255,255,255,0.6); }
.contact-card-shop .cc-value { color: var(--paper); }
.contact-card-shop .cc-cta { color: var(--leaf); }

.contact-form {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--hard-3);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.contact-form h3 {
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  margin: 0 0 .5rem;
}
.cf-help { color: var(--muted); margin: 0 0 1.5rem; }
.cf-help a { color: var(--ink); border-bottom: 2px solid var(--leaf); font-weight: 600; }
.cf-grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 640px) { .cf-grid { grid-template-columns: 1fr 1fr; } }
.cf-field { display: flex; flex-direction: column; gap: .4rem; }
.cf-field.cf-full { grid-column: 1 / -1; }
.cf-field span {
  font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel); font-weight: 600;
}
.cf-field input,
.cf-field textarea {
  font: inherit;
  padding: 0.85rem 1rem;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--oat-50);
  color: var(--ink);
  transition: border-color 180ms var(--ease), box-shadow 200ms var(--ease), background 180ms var(--ease);
}
.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(46, 158, 79, 0.35);
}
.cf-actions {
  margin-top: 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
}
.cf-note { color: var(--muted); margin: 0; font-size: .9rem; }
.cf-note.is-ok { color: var(--leaf-deep); }
.cf-note.is-err { color: var(--berry); }

/* ---------- FOOTER ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
}
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--leaf), var(--gold));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.brand-foot { color: var(--paper); }
.brand-foot .brand-mark {
  background: transparent;
  border-color: var(--leaf);
  color: var(--leaf);
}
.brand-foot .brand-line-1 { color: var(--paper); }
.brand-foot .brand-line-2 { color: var(--leaf); }
.foot-brand p {
  margin: 1rem 0 1.5rem;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.65);
}
.foot-brand .btn-primary {
  background: var(--leaf);
  color: var(--ink);
  border-color: var(--leaf);
  box-shadow: none;
}
.foot-brand .btn-primary:hover {
  background: var(--leaf-2);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.25);
}

.foot-col {
  display: flex; flex-direction: column; gap: .65rem;
}
.foot-col h4 {
  font-family: var(--font-mono);
  font-size: .66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--leaf); font-weight: 600;
  margin: 0 0 .5rem;
}
.foot-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  transition: color 180ms var(--ease), padding-left 180ms var(--ease);
  display: inline-flex; align-items: center;
}
.foot-col a:hover { color: var(--leaf); }
.foot-tag {
  margin: 1rem 0 0;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-base {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: 0.03em;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease-snappy);
  transition-delay: 60ms;
}
.reveal[data-stagger="1"] { transition-delay: 90ms; }
.reveal[data-stagger="2"] { transition-delay: 160ms; }
.reveal[data-stagger="3"] { transition-delay: 230ms; }
.reveal[data-stagger="4"] { transition-delay: 300ms; }
.reveal[data-stagger="5"] { transition-delay: 370ms; }
.reveal[data-stagger="6"] { transition-delay: 440ms; }
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Focus visible */
:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 2px;
}
