/* ==========================================================================
   ALISHO COFFEE EXPORT
   Palette: ivory #F4F0E8 · coffee green #143D29 · forest #1C4A32 · bronze #B08A63 · charcoal #151515
   Built mobile-first for real phones (iPhone mini to Galaxy / Huawei on Chrome) and scaled up to laptop.
   Images live in /assets/img/. Every image slot has a tonal gradient fallback.
   ========================================================================== */

:root {
  --ivory: #F4F0E8;
  --ivory-2: #EBE5D8;
  --green: #143D29;
  --forest: #1C4A32;
  --bronze: #B08A63;
  --bronze-lt: #D2B38F;
  --ink: #151515;
  --ink-soft: rgba(21, 21, 21, .7);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --pad-y: clamp(72px, 10vw, 150px);

  /* header + logo sizes (large over the hero, tighter once you scroll) */
  --header-h: 140px;
  --logo-h: 116px;
  --hero-top: 158px;
}
body.is-compact { --header-h: 88px; --logo-h: 62px; }
@media (max-width: 720px) {
  :root { --header-h: 100px; --logo-h: 80px; --hero-top: 112px; }
  body.is-compact { --header-h: 74px; --logo-h: 54px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 1px solid var(--bronze); outline-offset: 4px; }
::selection { background: var(--green); color: var(--ivory); }

body.is-loading, body.menu-open { overflow: hidden; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ivory); padding: 10px 16px; }
.skip-link:focus { left: 8px; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.wrap--narrow { max-width: 1000px; }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); margin-bottom: 18px; }
.eyebrow--light { color: var(--bronze-lt); }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5.2vw, 72px); line-height: 1.06; letter-spacing: -.01em; color: var(--green); text-wrap: balance; }
.display--light { color: var(--ivory); }
.display--sm { font-size: clamp(32px, 3.8vw, 54px); }
.display em { font-style: italic; color: var(--bronze-lt); }
.body-l { font-size: clamp(15.5px, 1.3vw, 18px); max-width: 580px; margin-top: 16px; color: var(--ink-soft); }
.body-l--light { color: rgba(244, 240, 232, .74); margin-left: auto; margin-right: auto; }
.body-l--center { margin-left: auto; margin-right: auto; }
.footnote { font-size: 12.5px; letter-spacing: .03em; color: var(--ink-soft); margin-top: 28px; }
.footnote--center { text-align: center; }

.section { padding: var(--pad-y) 0; position: relative; }
.section__head { margin-bottom: clamp(40px, 5.5vw, 80px); }
.section__head--center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px;
  padding: 16px 34px; font-family: var(--sans); font-size: 11.5px; font-weight: 400;
  letter-spacing: .24em; text-transform: uppercase; border: 1px solid transparent; text-align: center;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.btn--light { background: var(--ivory); color: var(--green); }
.btn--bronze { background: var(--bronze); color: var(--ivory); }
.btn--outline { border-color: rgba(244, 240, 232, .4); color: var(--ivory); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--light:hover { background: var(--bronze); color: var(--ivory); }
  .btn--bronze:hover { background: var(--ivory); color: var(--green); }
  .btn--outline:hover { border-color: var(--bronze); background: var(--bronze); }
}
.btn:active { opacity: .85; }

.link-arrow { display: inline-block; margin-top: 28px; padding: 10px 0 6px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; border-bottom: 1px solid currentColor; transition: color .4s, letter-spacing .5s var(--ease); }
.link-arrow::after { content: "  \2192"; }
@media (hover: hover) { .link-arrow:hover { color: var(--bronze); letter-spacing: .28em; } }

/* ---------- Header / nav ----------
   Over the hero: transparent bar, large ivory logo.
   After the hero: ivory bar, the same logo in green. Never split, never moves on touch. */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--ivory); background: transparent;
  transition: height .6s var(--ease), background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s;
}
body.is-solid .site-header { background: var(--ivory); color: var(--green); box-shadow: 0 1px 0 rgba(20, 61, 41, .12); }
body.menu-open .site-header { background: transparent; color: var(--ivory); box-shadow: none; }

.nav {
  height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.nav__btn { font-size: 11.5px; letter-spacing: .28em; text-transform: uppercase; font-weight: 400; display: inline-flex; align-items: center; gap: 14px; min-height: 48px; position: relative; transition: opacity .8s var(--ease) .4s; }
body.is-loading .nav__btn { opacity: 0; }
.nav__menu { grid-column: 1; justify-self: start; }
.nav__inquire { grid-column: 3; justify-self: end; }
.nav__label, .nav__inquire { position: relative; }
.nav__label::after, .nav__inquire::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
@media (hover: hover) { .nav__menu:hover .nav__label::after, .nav__inquire:hover::after { transform: scaleX(1); } }
.nav__burger { display: inline-flex; flex-direction: column; gap: 6px; width: 24px; }
.nav__burger i { display: block; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
body.menu-open .nav__burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav__burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav__logo {
  grid-column: 2; justify-self: center; position: relative; display: block;
  height: var(--logo-h); width: calc(var(--logo-h) * .8358);
  transition: height .6s var(--ease), width .6s var(--ease);
  opacity: 0;
}
.nav__logo .logo { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .5s var(--ease); pointer-events: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.logo--green { opacity: 0; }
body.is-solid .logo--green { opacity: 1; }
body.is-solid .logo--ivory { opacity: 0; }
body.menu-open .logo--green { opacity: 0; }
body.menu-open .logo--ivory { opacity: 1; }
/* entrance: the mark is drawn in from the top, softly */
body:not(.is-loading) .nav__logo { animation: logoIn 1.8s var(--ease) .15s both; }
@keyframes logoIn {
  from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(-12px); }
  55%  { opacity: 1; }
  to   { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
}

/* ---------- Menu overlay ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 90; background: var(--green); color: var(--ivory);
  display: flex; flex-direction: column; align-items: center;
  padding: calc(var(--header-h) + 8px) var(--gutter) max(26px, env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
body.menu-open .menu-overlay { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease); }
.menu-overlay__nav { width: 100%; max-width: 620px; margin: auto 0; }
.menu-overlay__list { border-top: 1px solid rgba(244, 240, 232, .14); }
.menu-overlay__list li { overflow: hidden; border-bottom: 1px solid rgba(244, 240, 232, .14); }
.menu-overlay__list a {
  display: flex; align-items: baseline; gap: 18px; padding: clamp(12px, 2.4vh, 20px) 6px;
  font-family: var(--serif); font-size: clamp(30px, 6vw, 46px); line-height: 1.15; color: var(--ivory);
  transform: translateY(105%); transition: transform .8s var(--ease), color .3s, padding .4s var(--ease);
}
body.menu-open .menu-overlay__list a { transform: none; }
body.menu-open .menu-overlay__list li:nth-child(2) a { transition-delay: .05s; }
body.menu-open .menu-overlay__list li:nth-child(3) a { transition-delay: .1s; }
body.menu-open .menu-overlay__list li:nth-child(4) a { transition-delay: .15s; }
body.menu-open .menu-overlay__list li:nth-child(5) a { transition-delay: .2s; }
body.menu-open .menu-overlay__list li:nth-child(6) a { transition-delay: .25s; }
.mi { font-family: var(--sans); font-size: 11px; letter-spacing: .24em; color: var(--bronze-lt); min-width: 28px; }
.mt { flex: 1; }
.menu-overlay__list a::after { content: "\2192"; font-family: var(--sans); font-size: 18px; color: var(--bronze-lt); opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .4s var(--ease); }
.menu-overlay__list a:active, .menu-overlay__list a:focus-visible { color: var(--bronze-lt); }
.menu-overlay__list a:active::after, .menu-overlay__list a:focus-visible::after { opacity: 1; transform: none; }
@media (hover: hover) {
  .menu-overlay__list:hover a { color: rgba(244, 240, 232, .38); }
  .menu-overlay__list a:hover { color: #fff; padding-left: 16px; }
  .menu-overlay__list a:hover::after { opacity: 1; transform: none; }
}
.menu-overlay__foot { width: 100%; max-width: 620px; margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-lt); }
.menu-overlay__foot a { letter-spacing: .08em; text-transform: none; color: rgba(244, 240, 232, .8); font-size: 13.5px; }

/* ---------- Hero (full-bleed) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; color: var(--ivory); display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--hero-top) 0 64px; background: var(--green); }
.hero__media {
  position: absolute; inset: -4%; will-change: transform;
  background-image: url("../img/hero.jpg"), radial-gradient(120% 90% at 70% 20%, #3C6B4E 0%, #1C4A32 38%, #0E2A1C 100%);
  background-size: cover; background-position: 56% center;
  transform: translate3d(calc(var(--mx, 0) * -22px), calc(var(--my, 0) * -16px), 0) scale(1.06);
  transition: transform .9s var(--ease);
  animation: heroSettle 2.6s var(--ease) both;
}
body.is-loading .hero__media { transform: scale(1.18); }
@keyframes heroSettle { from { filter: brightness(.5); } to { filter: brightness(1); } }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 28, 19, .6) 0%, rgba(10, 28, 19, .2) 30%, rgba(10, 28, 19, .22) 55%, rgba(10, 28, 19, .68) 100%); }
.hero__content { position: relative; padding: 0 var(--gutter); max-width: 1240px; }
.hero .eyebrow--light { color: #E8D3B3; font-size: 12px; letter-spacing: .36em; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 7vw, 84px); line-height: 1.05; letter-spacing: -.015em; margin: 6px 0 24px; text-wrap: balance; }
.hero__sub { font-family: var(--serif); font-size: clamp(21px, 2.3vw, 32px); line-height: 1.3; margin: 0 auto 40px; max-width: 760px; color: rgba(244, 240, 232, .94); }
.hero__sub span, .hero__sub em { display: block; }
.hero__sub em { color: #E8D3B3; }
.hero__tag { position: absolute; left: 28px; bottom: 26px; text-align: left; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(244, 240, 232, .75); display: flex; flex-direction: column; gap: 6px; }
.hero__tag strong { font-weight: 400; color: #E8D3B3; letter-spacing: .2em; }
.hero__scroll { position: absolute; left: 50%; bottom: 20px; width: 1px; height: 56px; background: rgba(244, 240, 232, .25); overflow: hidden; }
.hero__scroll span { display: block; width: 100%; height: 40%; background: var(--ivory); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 1.4s var(--ease) var(--d, 0s), transform 1.4s var(--ease) var(--d, 0s); }
body:not(.is-loading) .fade-in { opacity: 1; transform: none; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.stages .reveal:nth-child(2), .coll-card.reveal:nth-child(2) { transition-delay: .1s; }
.stages .reveal:nth-child(3) { transition-delay: .2s; }
.stages .reveal:nth-child(4) { transition-delay: .3s; }

/* ---------- Origin: compact list + animated map ---------- */
.origin { padding: clamp(56px, 7vw, 100px) 0; }
.origin__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.origin__head { margin-bottom: 22px; }
.origin__head .eyebrow { margin-bottom: 12px; }
.origin__lead { margin-top: 14px; font-size: 16px; color: var(--ink-soft); }
.origin__lead em { font-family: var(--serif); font-size: 24px; color: var(--bronze); margin-right: 6px; }
.origin__list { border-top: 1px solid rgba(20, 61, 41, .16); max-width: 460px; }
.region { display: block; width: 100%; text-align: left; padding: 15px 4px; border-bottom: 1px solid rgba(20, 61, 41, .16); position: relative; transition: padding .5s var(--ease); min-height: 52px; }
.region__name { display: block; font-family: var(--serif); font-size: clamp(25px, 2.3vw, 32px); line-height: 1.1; color: rgba(20, 61, 41, .5); transition: color .4s; }
.region__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s var(--ease), opacity .5s var(--ease), margin .5s var(--ease); }
.region__inner { overflow: hidden; display: block; min-height: 0; }
.region__profile, .region__alt { display: block; }
.region__profile { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.region__alt { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); margin-top: 6px; }
.region.is-active { padding-left: 16px; }
.region.is-active .region__name { color: var(--green); }
.region.is-active .region__more { grid-template-rows: 1fr; opacity: 1; margin-top: 8px; }
.region::before { content: ""; position: absolute; left: 0; top: 26px; width: 0; height: 1px; background: var(--bronze); transition: width .5s var(--ease); }
.region.is-active::before { width: 9px; }
@media (hover: hover) { .region:hover { padding-left: 16px; } .region:hover .region__name { color: var(--green); } }

.map { margin: 0; }
.map__stage { position: relative; background: var(--green); overflow: hidden; border-radius: 2px; }
.map__svg { display: block; width: 100%; height: auto; }
.map__grid { fill: none; stroke: rgba(244, 240, 232, .06); stroke-width: 1; }
.map__neigh path { fill: rgba(244, 240, 232, .035); stroke: rgba(244, 240, 232, .14); stroke-width: .8; }
.map__land { fill: #1F5038; opacity: 0; transition: opacity 1.6s var(--ease) .6s; }
.map__outline { fill: none; stroke: var(--bronze); stroke-width: 1.8; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.map.is-live .map__land { opacity: 1; }
.map.is-live .map__outline { animation: draw 2.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.map__route { fill: none; stroke: var(--bronze-lt); stroke-width: 1.6; stroke-dasharray: 5 6; stroke-linecap: round; opacity: 0; transition: opacity .5s; }
.map__route.is-active { opacity: .9; }
.map__place text { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; fill: rgba(244, 240, 232, .75); }
.map__place rect { fill: var(--ivory); }
.map__place circle { fill: none; stroke: var(--ivory); stroke-width: 2; }
.map__place--port text { text-anchor: end; }

.map__pin { cursor: pointer; }
.pin__drop { opacity: 0; transform: translateY(-26px); transform-box: fill-box; transition: opacity .6s var(--ease), transform .8s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(1.9s + var(--i) * .16s); }
.map.is-live .pin__drop { opacity: 1; transform: none; }
.pin__dot { fill: var(--bronze-lt); stroke: var(--green); stroke-width: 2; transition: fill .4s, r .4s; }
.pin__ring { fill: none; stroke: var(--bronze-lt); stroke-width: 1.6; opacity: 0; transform-box: fill-box; transform-origin: center; }
.pin__label { font-family: var(--sans); font-size: 13px; letter-spacing: .06em; fill: rgba(244, 240, 232, .62); paint-order: stroke; stroke: var(--green); stroke-width: 4px; transition: fill .4s; }
.map__pin.is-active .pin__dot { fill: #fff; r: 6.5; }
.map__pin.is-active .pin__label { fill: #fff; font-weight: 500; }
.map__pin.is-active .pin__ring { animation: ripple 2.2s ease-out infinite; }
.map__pin.is-active .pin__ring--2 { animation-delay: 1.1s; }
@keyframes ripple { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(4.2); } }
.map__bean { pointer-events: none; }

.map__card { position: absolute; left: 20px; bottom: 18px; display: flex; flex-direction: column; gap: 2px; color: var(--ivory); pointer-events: none; }
.map__card-name { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 34px); line-height: 1; }
.map__card-meta { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-lt); }
.map__cap { margin-top: 12px; font-size: 12px; letter-spacing: .03em; color: var(--ink-soft); }


/* map tuning */
.map { margin: 0; max-width: 540px; width: 100%; justify-self: end; }
.pin__label { font-size: 18px; stroke-width: 5px; }
.map__place text { font-size: 15px; }
.map__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, transparent, rgba(10, 28, 19, .7)); pointer-events: none; }
.map__card { z-index: 2; right: 16px; }

/* ---------- The harvest (cherries photo) ---------- */
.farmer { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--ivory); overflow: hidden; background: #0F2A1C; }
.farmer__media {
  position: absolute; inset: -8% 0; will-change: transform;
  background-image: url("../img/harvest.jpg"), linear-gradient(170deg, #6B6446 0%, #2E4A34 45%, #0F2A1C 100%);
  background-size: cover; background-position: center 38%;
  transform: translate3d(0, var(--py, 0px), 0);
}
.farmer__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 28, 19, .1) 0%, rgba(10, 28, 19, .3) 38%, rgba(10, 28, 19, .9) 100%); }
.farmer__inner { position: relative; padding-top: 120px; padding-bottom: clamp(56px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.farmer__quote { position: relative; padding-left: clamp(0px, 3vw, 40px); }
.farmer__quote p { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(34px, 5.6vw, 84px); line-height: 1.06; letter-spacing: -.01em; text-wrap: balance; }
.farmer__quote::before { content: "\201C"; position: absolute; left: -.05em; top: -.45em; font-family: var(--serif); font-size: clamp(90px, 14vw, 200px); line-height: 1; color: var(--bronze); opacity: .75; }
.farmer__text { font-size: 16px; color: rgba(244, 240, 232, .85); border-left: 1px solid var(--bronze); padding-left: 22px; }
.farmer__emph { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); font-style: italic; color: var(--ivory); margin-top: 10px; line-height: 1.25; }
.farmer__small { margin-top: 16px; font-size: 14px; color: rgba(244, 240, 232, .7); }

/* ---------- Collection ---------- */
.collection { background: var(--ivory-2); }
.collection__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); }
.coll-card { position: relative; padding: clamp(30px, 5vw, 72px); background: var(--ivory); color: var(--ink); border: 1px solid rgba(20, 61, 41, .12); min-height: 440px; display: flex; flex-direction: column; transform-style: preserve-3d; transition: box-shadow .7s var(--ease), border-color .7s, background .7s; }
.coll-card--dark { background: var(--green); color: var(--ivory); border-color: var(--green); }
.coll-card__no { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--bronze); }
.coll-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 72px); line-height: 1; margin: 16px 0 8px; }
.coll-card:not(.coll-card--dark) h3 { color: var(--green); }
.coll-card__tag { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze); margin-bottom: 24px; }
.coll-card p:not(.coll-card__no):not(.coll-card__tag) { max-width: 440px; opacity: .85; }
.coll-card__notes { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.coll-card__notes li { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; border: 1px solid currentColor; padding: 7px 14px; opacity: .72; }
.coll-card .link-arrow { margin-top: auto; align-self: flex-start; }
.coll-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(176, 138, 99, .16), transparent 60%); opacity: 0; transition: opacity .6s; pointer-events: none; }
@media (hover: hover) { .coll-card:hover { box-shadow: 0 40px 80px -40px rgba(20, 61, 41, .55); border-color: var(--bronze); } .coll-card:hover::after { opacity: 1; } }
.coll-card.reveal.is-in { transition: transform .5s var(--ease), box-shadow .7s var(--ease), border-color .7s, background .7s; }

/* ---------- Process: stages + documents + group ---------- */
.process { background: var(--ivory); }
.stages { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(24px, 3.4vw, 56px); }
.stages::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--bronze), rgba(176, 138, 99, .25)); }
.stage { position: relative; padding-top: 46px; }
.stage__dot { position: absolute; left: 0; top: 0; width: 15px; height: 15px; border: 1px solid var(--bronze); background: var(--ivory); border-radius: 50%; }
.stage__dot::after { content: ""; position: absolute; inset: 3px; background: var(--bronze); border-radius: 50%; transform: scale(0); transition: transform .8s var(--ease) .3s; }
.stage.is-in .stage__dot::after { transform: scale(1); }
.stage__no { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--bronze); line-height: 1; margin-bottom: 8px; }
.stage h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; color: var(--green); }
.stage__steps { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.stage__steps li { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); }
.stage__steps b { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: 0; margin-right: 6px; font-weight: 500; }
.stage { display: flex; flex-direction: column; }
.stage__text { margin-top: 12px; font-size: 15.5px; color: var(--ink-soft); }
.stage__get { margin-top: 0; flex: 1; background: var(--green); color: var(--ivory); padding: 20px 20px 22px; }
.stage__steps { margin-bottom: 22px; }
.stage__label { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze-lt); margin-bottom: 10px; }
.stage__get h4 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.15; }
.stage__get p:not(.stage__label) { font-size: 14px; color: rgba(244, 240, 232, .72); margin-top: 3px; line-height: 1.55; }
.stage__get div + div { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(176, 138, 99, .35); }

.alliance { margin-top: clamp(56px, 7vw, 104px); text-align: center; }
.alliance .eyebrow { margin-bottom: 14px; }
.alliance > h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; color: var(--green); text-wrap: balance; }
.alliance__list { margin-top: clamp(26px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(20, 61, 41, .16); }
.alliance__list li { padding: 28px clamp(16px, 2.4vw, 36px) 4px; border-left: 1px solid rgba(20, 61, 41, .16); }
.alliance__list li:first-child { border-left: 0; }
.alliance__label { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze); margin-bottom: 12px; }
.alliance__list h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(25px, 2.4vw, 32px); line-height: 1.12; color: var(--green); margin-bottom: 10px; text-wrap: balance; }
.alliance__list li > p:last-child { font-size: 14.5px; color: var(--ink-soft); max-width: 300px; margin: 0 auto; }

@media (max-width: 899px) {
  .stages { grid-template-columns: 1fr; padding-left: 44px; }
  .stages::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; background: linear-gradient(var(--bronze), rgba(176, 138, 99, .25)); }
  .stage { padding: 0 0 clamp(34px, 6vw, 50px); }
  .stage:last-child { padding-bottom: 0; }
  .stage__dot { left: -44px; top: 8px; }
  .stage__text, .stage__get { max-width: 460px; }
  .stage__get { margin-top: 20px; }
}
@media (max-width: 819px) {
  .alliance__list { grid-template-columns: 1fr; }
  .alliance__list li { border-left: 0; border-bottom: 1px solid rgba(20, 61, 41, .16); padding: 24px 0; }
  .alliance__list li:last-child { border-bottom: 0; }
}

/* ---------- The mark ---------- */
.mark { background: var(--ivory-2); }
.mark__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.mark__logo { text-align: center; }
.mark__logo img { width: min(300px, 70%); height: auto; margin: 0 auto; }
.mark__locator { margin-top: 22px; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--green); }
.mark__col h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; color: var(--green); margin-bottom: 18px; }
.mark__col p:not(.eyebrow) { color: var(--ink-soft); max-width: 340px; }
.mark__col--r { text-align: right; }
.mark__col--r p:not(.eyebrow) { margin-left: auto; }

/* ---------- Inquiry ---------- */
.inquiry { background: var(--forest); color: var(--ivory); }
.form { display: grid; gap: 30px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(244, 240, 232, .35);
  color: var(--ivory); font: inherit; font-size: 17px; padding: 22px 0 10px; border-radius: 0; outline: none;
  transition: border-color .4s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { padding-top: 14px; cursor: pointer; color: rgba(244, 240, 232, .7); background-image: linear-gradient(45deg, transparent 50%, var(--bronze) 50%), linear-gradient(135deg, var(--bronze) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--bronze); }
.field label { position: absolute; left: 0; top: 22px; font-size: 14px; letter-spacing: .1em; color: rgba(244, 240, 232, .6); pointer-events: none; transition: transform .4s var(--ease), color .4s, font-size .4s; transform-origin: left; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-20px); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-lt); }
.field.is-invalid input { border-color: #E0A38F; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.form__status { min-height: 1.6em; font-size: 14px; letter-spacing: .04em; color: var(--bronze-lt); }
.form__status.is-error { color: #F0B9A6; }

/* ---------- Footer ---------- */
.footer { background: var(--green); color: var(--ivory); text-align: center; padding: clamp(64px, 9vw, 130px) 0 max(40px, env(safe-area-inset-bottom)); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer__logo { width: clamp(96px, 9vw, 128px); height: auto; margin-bottom: 14px; }
.footer__brand { font-family: var(--serif); font-size: clamp(22px, 3vw, 34px); letter-spacing: .3em; text-transform: uppercase; padding-left: .3em; }
.footer__tag { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--bronze-lt); }
.footer__group { font-family: var(--serif); font-style: italic; font-size: 20px; color: rgba(244, 240, 232, .75); margin-top: 6px; }
.footer__contact { font-size: 13.5px; letter-spacing: .06em; color: rgba(244, 240, 232, .72); margin-top: 14px; }
.footer__contact a { border-bottom: 1px solid var(--bronze); }
.footer__copy { margin-top: 44px; font-size: 12px; color: rgba(244, 240, 232, .45); letter-spacing: .06em; }

/* ==========================================================================
   Responsive: tablet, phone, small phone
   ========================================================================== */
@media (max-width: 1024px) {
  .origin__grid { grid-template-columns: 1fr; gap: 24px; }
  .origin__left { display: contents; }          /* head, map, list stack in that order */
  .origin__head { order: 1; margin-bottom: 0; }
  .map { order: 2; justify-self: center; max-width: 520px; }
  .origin__list { order: 3; max-width: none; }
  .farmer__inner { grid-template-columns: 1fr; }
  .mark__grid { grid-template-columns: 1fr; text-align: center; }
  .mark__logo { order: -1; }
  .mark__col--r { text-align: center; }
  .mark__col p:not(.eyebrow), .mark__col--r p:not(.eyebrow) { margin: 0 auto; max-width: 480px; }
}
@media (max-width: 900px) { .hero__tag { display: none; } }
@media (max-width: 720px) {
  html { scroll-padding-top: 70px; }
  .nav__btn { font-size: 11px; letter-spacing: .2em; gap: 10px; }
  .nav__burger { width: 22px; }
  .hero { padding-bottom: 56px; }
  .hero__sub { margin-bottom: 30px; }
  .hero__title br { display: none; }
  .hero__content .btn { width: min(100%, 300px); }
  .collection__grid, .form__row { grid-template-columns: 1fr; }
  .coll-card { min-height: 0; }
  .coll-card__notes { margin: 24px 0 28px; }
  .form__actions .btn { width: 100%; }
  .farmer { min-height: 88svh; }
  .farmer__inner { padding-top: 96px; }
  .farmer__text { font-size: 15px; }
  .map__card { left: 14px; right: 14px; bottom: 12px; }
  .map__card-meta { font-size: 9.5px; letter-spacing: .16em; line-height: 1.5; }
  /* on small screens the name card shows the active region, so pin labels step aside */
  .pin__label { display: none; }
  .map__place text { font-size: 22px; }
  .pin__dot { r: 8; }
  .map__pin.is-active .pin__dot { r: 10; }
}
@media (max-width: 380px) {
  :root { --gutter: 18px; }
  .nav__btn { letter-spacing: .14em; gap: 8px; }
  .display { font-size: 33px; }
  .btn { padding-left: 22px; padding-right: 22px; letter-spacing: .2em; }
}
@media (hover: none) { .coll-card, .btn { transform: none !important; } }
@media (max-height: 520px) and (orientation: landscape) {
  :root { --header-h: 76px; --logo-h: 56px; --hero-top: 84px; }
  .hero { min-height: 520px; }
  .menu-overlay__list a { font-size: 26px; padding: 8px 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .fade-in { opacity: 1; transform: none; }
  .nav__logo { opacity: 1; animation: none !important; }
  .map__land { opacity: 1; } .map__outline { stroke-dashoffset: 0; animation: none; }
  .pin__drop { opacity: 1; transform: none; }
}

.footer__credit { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 17px; color: rgba(244, 240, 232, .72); }
.footer__credit span { color: var(--bronze-lt); }

.footer__legal { margin-top: 28px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 240, 232, .72); }
.footer__legal a { border-bottom: 1px solid var(--bronze); padding-bottom: 2px; }
.footer__legal + .footer__copy { margin-top: 22px; }

/* ---------- Thank-you overlay ---------- */
.thanks { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; background: rgba(12, 38, 25, 0); color: var(--ivory); overflow: hidden; opacity: 0; transition: opacity .6s ease, background .8s ease; }
.thanks.is-in { opacity: 1; background: #0F2C1D; }
.thanks:focus, .thanks__card:focus { outline: none; }
.thanks.is-out { opacity: 0; }
.thanks__card { position: relative; z-index: 2; text-align: center; max-width: 560px; display: flex; flex-direction: column; align-items: center; }
.thanks__check { width: 96px; height: 96px; margin-bottom: 8px; transform: scale(.7); opacity: 0; transition: transform .7s cubic-bezier(.2,.9,.2,1.2) .15s, opacity .5s ease .15s; }
.thanks.is-in .thanks__check { transform: scale(1); opacity: 1; }
.thanks__ring { fill: none; stroke: var(--bronze); stroke-width: 2; stroke-dasharray: 340; stroke-dashoffset: 340; transform: rotate(-90deg); transform-origin: 60px 60px; }
.thanks__tick { fill: none; stroke: var(--bronze-lt); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; }
.thanks.is-in .thanks__ring { animation: thanksDraw 1.1s cubic-bezier(.65,0,.35,1) .3s forwards; }
.thanks.is-in .thanks__tick { animation: thanksDraw .6s cubic-bezier(.65,0,.35,1) 1.1s forwards; }
.thanks__logo { height: clamp(96px, 16vh, 140px); width: auto; margin: 6px 0 14px; opacity: 0; transform: translateY(12px); }
.thanks__eyebrow { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--bronze-lt); margin: 0; padding-left: .34em; opacity: 0; transform: translateY(10px); }
.thanks__title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 8vw, 68px); line-height: 1.05; margin: 10px 0 0; opacity: 0; transform: translateY(14px); }
.thanks__title em { color: var(--bronze-lt); font-style: italic; }
.thanks__rule { display: block; height: 1px; width: 0; background: var(--bronze); margin: 24px auto; transition: width .9s ease 1.5s; }
.thanks.is-in .thanks__rule { width: 64px; }
.thanks__text { font-size: 16px; line-height: 1.7; color: rgba(244, 240, 232, .82); max-width: 420px; margin: 0; opacity: 0; transform: translateY(10px); }
.thanks__close { margin-top: 34px; background: transparent; color: var(--ivory); border: 1px solid var(--bronze); padding: 16px 30px; font: 500 12px/1 var(--sans, 'Inter', system-ui, sans-serif); letter-spacing: .24em; text-transform: uppercase; cursor: pointer; opacity: 0; transition: background .3s ease, color .3s ease, opacity .6s ease 2s; }
.thanks.is-in .thanks__close { opacity: 1; }
.thanks__close:hover, .thanks__close:focus-visible { background: var(--bronze); color: var(--green); outline: none; }
.thanks.is-in .thanks__logo { animation: thanksRise .9s ease .9s forwards; }
.thanks.is-in .thanks__eyebrow { animation: thanksRise .8s ease 1.2s forwards; }
.thanks.is-in .thanks__title { animation: thanksRise .9s ease 1.35s forwards; }
.thanks.is-in .thanks__text { animation: thanksRise .9s ease 1.8s forwards; }
.thanks__beans { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.thanks__bean { position: absolute; bottom: -50px; color: var(--bronze); opacity: 0; }
.thanks.is-in .thanks__bean { animation-name: thanksFloat; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
@keyframes thanksDraw { to { stroke-dashoffset: 0; } }
@keyframes thanksRise { to { opacity: 1; transform: none; } }
@keyframes thanksFloat {
  0% { transform: translate(0, 0) rotate(var(--rot)); opacity: 0; }
  12% { opacity: .55; }
  80% { opacity: .35; }
  100% { transform: translate(var(--drift), -112vh) rotate(calc(var(--rot) + 200deg)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .thanks, .thanks * { animation: none !important; transition: none !important; }
  .thanks.is-in .thanks__check, .thanks__logo, .thanks__eyebrow, .thanks__title, .thanks__text, .thanks__close { opacity: 1; transform: none; }
  .thanks__ring, .thanks__tick { stroke-dashoffset: 0; }
  .thanks.is-in .thanks__rule { width: 64px; }
  .thanks__beans { display: none; }
}
