:root {
  --white: #ffffff;
  --ink: #1f2420;
  --muted: #6f776f;
  --green: #3f6b3a;
  --leaf: #7da34f;
  --line: #ebeee8;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --fade: 550ms;
}

* { box-sizing: border-box; }
html { background: var(--white); }
body { margin: 0; font-family: var(--sans); font-weight: 300; color: var(--ink); background: var(--white); line-height: 1.7; font-size: 17px; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.02; margin: 0 0 .45em; letter-spacing: -0.01em; }
h1 { font-size: clamp(3rem, 7.5vw, 6.2rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
h1 em, h2 em { font-style: italic; color: var(--green); }
p { margin: 0 0 1em; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 500; color: var(--leaf); margin-bottom: 1.1rem; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 34rem; }

/* ---------- Nav (stays put; everything else fades beneath it) ---------- */
.nav { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: .9rem var(--pad); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.brand img { height: 56px; width: auto; }
.brand span { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: .01em; line-height: 1; }
.nav nav { display: flex; align-items: center; gap: 2rem; font-size: .82rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.nav nav a { text-decoration: none; color: var(--muted); padding: .25rem 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav nav a:hover, .nav nav a.active { color: var(--ink); border-bottom-color: var(--leaf); }
.nav nav a.shop { color: var(--green); font-weight: 500; }

/* ---------- Views: one at a time, crossfade on the white ---------- */
#stage { flex: 1; position: relative; }
.view { display: none; opacity: 0; transition: opacity var(--fade) ease; }
.view.shown { display: block; }
.view.visible { opacity: 1; }
.view .img { transform: scale(1.03); transition: transform 1.6s cubic-bezier(.2,.7,.2,1), opacity var(--fade) ease; }
.view.visible .img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .view, .view .img { transition: none; transform: none; }
}

/* ---------- Images that melt into the white ---------- */
.img {
  background-color: #dfe8d6;                               /* placeholder until photos exist */
  background-image: var(--img), radial-gradient(circle at 40% 40%, #b9cda5, #e3ebdb 70%);
  background-size: cover;
  background-position: center;
}
/* Fades are white overlays (works in every browser; the page is white) */
.blend, .blend-r, .blend-l, .feature-img.glass { position: relative; }
.blend::after, .blend-r::after, .blend-l::after, .feature-img.glass::after { content: ""; position: absolute; inset: -1px; pointer-events: none; }
.blend::after   { background: radial-gradient(closest-side, rgba(255,255,255,0) 52%, #fff 100%); }
.blend-r::after { background: linear-gradient(90deg, rgba(255,255,255,0) 52%, #fff 96%), linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 18%, rgba(255,255,255,0) 82%, #fff 100%); }
.blend-l::after { background: linear-gradient(270deg, rgba(255,255,255,0) 52%, #fff 96%), linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 18%, rgba(255,255,255,0) 82%, #fff 100%); }

/* ---------- Home hero ---------- */
.hero { position: relative; display: grid; place-items: center; text-align: center; padding: 0 var(--pad); }
.hero-img { width: min(1400px, 100%); aspect-ratio: 16 / 8; }
.hero-text { margin-top: clamp(-3rem, -3vw, -1rem); position: relative; max-width: 52rem; }
.hero-text .lede { margin: 0 auto; }
.hero-text.narrow { max-width: 40rem; }
.hero-text.narrow p:not(.eyebrow) { color: var(--muted); }

/* ---------- Home intro → reveal ---------- */
.home-stage { display: grid; min-height: calc(100vh - 110px); align-items: center; }
.intro { text-align: center; padding: 0 var(--pad); }
.intro-hero { position: relative; display: grid; place-items: center; cursor: pointer; }
.intro-hero .hero-img { width: min(1300px, 100%); aspect-ratio: 16 / 7.5; }

.tile .eyebrow, .tile h2, .tile .more { position: relative; }

/* Logo + text fade into the center of the photo */
.intro-center { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 14%; }
.intro-center::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(820px, 78%); height: 92%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255,255,255,.88), rgba(255,255,255,.7) 55%, rgba(255,255,255,0)); }
.intro-logo { width: clamp(150px, 16vw, 230px); height: auto; filter: drop-shadow(0 8px 22px rgba(0,0,0,.18)); margin-bottom: 1.1rem; }
.intro-center .eyebrow { margin-bottom: .7rem; }
.intro-lede { max-width: 34rem; margin: 0; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink); line-height: 1.6; }
.view.visible .home-stage.revealed .intro-center { animation: centerOut .45s ease forwards; pointer-events: none; }
@keyframes centerOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.96); } }

.enter-btn { margin-top: 1.7rem; padding: .9rem 2.6rem; }
.view.visible .home-stage.revealed .intro-center { pointer-events: none; }

/* Choices pop up over the photo */
.intro-hero .hero-img { transition: filter .8s ease, opacity .8s ease; }
.choices { position: absolute; inset: 0; z-index: 2; display: flex; justify-content: center; align-items: center; gap: clamp(2rem, 9vw, 8rem); pointer-events: none; }
.choice { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; opacity: 0; transform: translateY(10px) scale(.92); transition: opacity .5s ease, transform .5s ease; }
.choice-img { width: clamp(150px, 19vw, 270px); aspect-ratio: 1; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 6px #fff, 0 14px 34px rgba(30,40,30,.22); transition: transform .4s ease; }
.choice:hover .choice-img { transform: scale(1.04); }
.choice strong { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.1; color: var(--ink); margin-top: 1.3rem; }
.choice .more { margin-top: .6rem; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green); border-bottom: 1px solid var(--leaf); padding-bottom: .2rem; }

.home-stage.revealed .hero-img { filter: blur(5px) saturate(.85); opacity: .38; }
.home-stage.revealed .choice { opacity: 1; transform: none; transition: opacity .7s ease .3s, transform .8s cubic-bezier(.2,.7,.2,1) .3s; }
.home-stage.revealed .choice + .choice { transition-delay: .45s; }
.home-stage.revealed.ready .choices { pointer-events: auto; }

/* ---------- Home duo tiles ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 4vw, 4rem); padding: clamp(4rem, 8vw, 7rem) var(--pad) 2rem; max-width: 1400px; margin: 0 auto; }
.tile { text-decoration: none; text-align: center; display: block; }
.tile-img { aspect-ratio: 1 / 1; margin-bottom: -2rem; }
.tile h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.tile .more { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green); border-bottom: 1px solid var(--leaf); padding-bottom: .2rem; }
.tile:hover .tile-img { transform: scale(1.02); }

.who-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.4rem; padding: 3rem var(--pad) 5rem; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--muted); }
.who-strip a { text-decoration: none; }
.who-strip a:hover { color: var(--green); }

/* ---------- Feature (greens / powder) ---------- */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; min-height: calc(100vh - 160px); }
.feature.flip { grid-template-columns: 1fr 1.15fr; }
.feature.flip .feature-img { order: 2; }
.feature-img { height: 100%; min-height: 70vh; }
.feature-text { padding: 3rem var(--pad); max-width: 40rem; }
.feature-text > p:not(.eyebrow):not(.lede) { color: var(--muted); }
.varieties { list-style: none; padding: 0; margin: 1.6rem 0 2.2rem; columns: 3; column-gap: 2rem; font-family: var(--serif); font-size: 1.2rem; }
.varieties li { padding: .15rem 0; break-inside: avoid; }

.facts { margin: 2rem 0 2.4rem; }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.facts dd { margin: 0; color: var(--muted); }

/* ---------- Powder detail sections ---------- */
sup { font-size: .4em; vertical-align: super; }
.enjoy, .steps, .soil { max-width: 1100px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--pad) 0; text-align: center; }
.enjoy h3, .soil h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.enjoy h3 em, .soil h3 em { color: var(--green); }
.enjoy-list { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 3rem; text-align: left; }
.enjoy-list li { border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); }
.enjoy-list strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); margin-bottom: .2rem; }
.steps ol { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; text-align: left; }
.steps span { font-family: var(--serif); font-size: 3.2rem; color: var(--leaf); line-height: 1; }
.steps h3 { margin-top: .6rem; }
.steps p { color: var(--muted); }
.soil { max-width: 46rem; padding-bottom: clamp(4rem, 8vw, 7rem); }
.soil p:not(.eyebrow) { color: var(--muted); margin-bottom: 2rem; }

/* ---------- Why / grow systems ---------- */
.why, .systems { max-width: 46rem; margin: 0 auto; text-align: center; padding: clamp(3rem, 7vw, 6rem) var(--pad); }
.why h3, .systems h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.why h3 em, .systems h3 em { color: var(--green); }
.why p:not(.eyebrow), .systems p:not(.eyebrow) { color: var(--muted); }
.why strong { color: var(--ink); font-weight: 500; }
.why .source { font-size: .8rem; letter-spacing: .08em; }
.systems { padding-bottom: 1rem; }
.contact-text p:not(.eyebrow) a.link { display: inline-block; }

/* Sea-to-glass photo: original tall layout, pulled back slightly */
.feature-img.glass {
  height: min(82vh, 720px); min-height: 0; align-self: start; margin-top: 1rem;
  background-image: var(--img); background-color: transparent; background-repeat: no-repeat;
  background-size: auto 94%; background-position: 46% 50%;
}
.feature-img.glass::after { background: linear-gradient(90deg, rgba(255,255,255,0) 70%, #fff 99%), linear-gradient(180deg, #fff 4%, rgba(255,255,255,0) 18%, rgba(255,255,255,0) 82%, #fff 96%); }
@media (max-width: 900px) {
  .serve-bg-wrap .serve-bg { aspect-ratio: 4 / 5; }

  .serve-picks { gap: .8rem; padding-left: 1rem; padding-right: 1rem; }
  .pick { flex: 1 1 0; min-width: 0; }
  .pick-img { width: min(26vw, 100px); }
  .pick strong { font-size: 1rem; margin-top: .8rem; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .panel .feature-img { min-height: 46vh; }
  .feature:has(.glass) { grid-template-columns: 1fr; }
  .feature-img.glass { height: auto; min-height: 0; margin-top: 0; aspect-ratio: 4 / 3; background-size: cover; background-position: 48% 50%; }
}

/* Powder pouch: show the whole pouch, soft edges all round */
.feature-img.pouch { position: relative; width: auto; height: min(80vh, 720px); min-height: 0; aspect-ratio: 1300 / 1900; justify-self: center; align-self: start; margin-top: 1.5rem; background-image: var(--img); background-color: transparent; background-size: cover; }
.feature-img.pouch::after { content: ""; position: absolute; inset: -1px; pointer-events: none; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 16%, rgba(255,255,255,0) 84%, #fff 100%), linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 10%, rgba(255,255,255,0) 90%, #fff 100%); }
@media (max-width: 900px) { .feature-img.pouch { height: 70vh; margin-top: 0; } }

/* ---------- Seed-to-plate journey ---------- */
.journey-wrap { padding: 1rem 0 3rem; }
.journey-wrap .view-head { padding-bottom: 0; }
.hint { color: var(--muted); font-size: .85rem; margin-top: -.5rem; }
.journey-scroll { overflow-x: auto; padding: 0 var(--pad); scrollbar-width: thin; }
.journey { position: relative; width: 100%; min-width: 980px; max-width: 1300px; margin: 0 auto; aspect-ratio: 1200 / 720; }
.journey-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.journey-lines path { fill: none; stroke: #c9d6bf; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.view.visible .journey-lines path { animation: jdraw 1.4s ease .3s forwards; }
.view.visible .journey-lines path.br { animation-delay: 1.4s; }
@keyframes jdraw { to { stroke-dashoffset: 0; } }

.jn, .lane { position: absolute; left: calc(var(--x) / 1200 * 100%); top: calc(var(--y) / 720 * 100%); transform: translate(-50%, -50%); }
.jn { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; opacity: 0; transition: opacity .6s ease calc(var(--i) * .14s + .4s); }
.view.visible .jn, .view.visible .lane { opacity: 1; }
.dot { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1.5px solid var(--green); color: var(--green); display: grid; place-items: center; font: 500 .8rem var(--sans); letter-spacing: .04em; transition: background .25s, color .25s, transform .25s; }
.dot.small { width: 18px; height: 18px; }
.jn:hover .dot, .jn.active .dot { background: var(--green); color: #fff; transform: scale(1.08); }
.jn:focus-visible { outline: none; }
.jn:focus-visible .dot { box-shadow: 0 0 0 4px #dfe9d4; }

.jl { position: absolute; left: 50%; transform: translateX(-50%); width: 190px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.up .jl { bottom: 100%; }
.down .jl { top: 100%; }
.up.left .jl { left: auto; right: 50%; transform: translateX(22px); align-items: flex-end; text-align: right; }
.jl strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.1; order: 2; }
.jl em { font-style: normal; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--leaf); margin: .3rem 0 .25rem; order: 3; }
.jl .txt { font-size: .84rem; color: var(--muted); line-height: 1.45; order: 4; }
.jl .stem { width: 1px; height: 26px; background: #c9d6bf; margin: 10px 0; }
.up .jl .stem { order: 5; }
.down .jl .stem { order: 0; }
.up .jl .jg { order: 1; margin-bottom: 12px; }
.down .jl .jg { order: 6; margin-top: 12px; }
.up.left .jl .stem { margin-right: 21px; }
.jg { width: 96px; height: 96px; border-radius: 50%; flex: none; box-shadow: 0 0 0 6px #fff, 0 0 0 7px #e2e9da; transition: transform .35s; }
.jn:hover .jg, .jn.active .jg { transform: scale(1.05); }
.jg.icon { background: #f2f6ed; color: var(--green); display: grid; place-items: center; }
.jg.icon svg { width: 48px; height: 48px; }
.jg.photo { background-size: cover; background-position: center; }
.jn.br .jl { width: 170px; }
.jn.br.up .jl { padding-bottom: 12px; }
.jn.br.down .jl { padding-top: 12px; }
.jn.br .jl strong { font-size: 1.2rem; }
.lane { background: #fff; border: 1px solid var(--leaf); color: var(--green); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; padding: .3rem .75rem; border-radius: 999px; opacity: 0; transition: opacity .6s ease 2.4s; white-space: nowrap; }

.jd-img { aspect-ratio: 1 / 1; }

/* Timeline pop-over card, anchored to the clicked stop */
.jpop { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.jp-line { position: absolute; width: 1.5px; background: var(--leaf); opacity: 0; transition: opacity .25s ease; }
.jp-card { position: absolute; left: 0; top: 0; width: 340px; display: grid; grid-template-columns: 84px 1fr; gap: 1rem; align-items: start; text-align: left; background: #fff; border: 1px solid #e3eadb; border-radius: 16px; box-shadow: 0 18px 44px rgba(20,35,20,.14); padding: 1.1rem 1.2rem 1.2rem; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.jpop.above .jp-card { transform: translateY(-6px); }
.jpop.open .jp-card { opacity: 1; transform: none; pointer-events: auto; }
.jpop.open .jp-line { opacity: 1; }
.jp-img { width: 84px; height: 84px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 4px #fff, 0 0 0 5px #e2e9da; }
.jp-img.iconmode { background: #f2f6ed; color: var(--green); display: grid; place-items: center; }
.jp-img.iconmode svg { width: 44px; height: 44px; }
.jp-text { padding-right: .9rem; }
.jp-meta { font-size: .6rem; margin-bottom: .35rem; }
.jp-title { font-size: 1.45rem; margin-bottom: .3rem; }
.jp-body { font-size: .86rem; line-height: 1.5; color: var(--muted); margin-bottom: .6rem; }
.jp-link { font-size: .64rem; }
.jp-link:empty { display: none; }
.jp-close { position: absolute; top: .45rem; right: .45rem; width: 28px; height: 28px; border-radius: 50%; border: 0; background: none; color: var(--muted); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.jp-close:hover { background: #f2f6ed; color: var(--ink); }
.jd-img.iconmode::after { display: none; }
.jd-img.iconmode { background: #f2f6ed; border-radius: 50%; color: var(--green); display: grid; place-items: center; width: 78%; margin: 0 auto; }
.jd-img.iconmode svg { width: 42%; height: 42%; }
.jd-title { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.jd-body { color: var(--muted); }
.jd-link:empty { display: none; }

/* ---------- Who we serve: three picks, panels fade in below ---------- */
.serve-top { position: relative; max-width: 1400px; margin: 0 auto; padding-bottom: 2rem; }
.serve-top > *:not(.serve-bg-wrap) { position: relative; z-index: 1; }
.serve-bg-wrap { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; pointer-events: none; }
/* same size, shape and softening as the home photo after Enter */
.serve-bg { width: min(1300px, calc(100vw - 2 * var(--pad))); aspect-ratio: 16 / 7.5; filter: blur(5px) saturate(.85); opacity: .38; }
.serve-picks { display: flex; justify-content: center; gap: clamp(1.5rem, 6vw, 6rem); padding: 1rem var(--pad) 2rem; }
.pick { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; text-align: center; transition: opacity .4s ease; }
.pick-img { width: clamp(110px, 15vw, 210px); aspect-ratio: 1; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 6px #fff, 0 0 0 7px #e2e9da, 0 12px 30px rgba(30,40,30,.14); transition: transform .4s ease, box-shadow .4s ease; }
.pick strong { font-family: var(--serif); font-weight: 600; font-size: clamp(1.15rem, 1.9vw, 1.7rem); line-height: 1.15; margin-top: 1.2rem; padding-bottom: .3rem; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.pick:hover .pick-img { transform: scale(1.04); }
.serve-picks.has-active .pick { opacity: .5; }
.serve-picks.has-active .pick:hover { opacity: .85; }
.serve-picks .pick.active { opacity: 1; }
.pick.active .pick-img { box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--leaf), 0 12px 30px rgba(30,40,30,.18); }
.pick.active strong { color: var(--green); border-bottom-color: var(--leaf); }
.pick:focus-visible { outline: none; }
.pick:focus-visible .pick-img { box-shadow: 0 0 0 6px #fff, 0 0 0 9px #cfe0bd; }
.serve-hint { transition: opacity .4s; }
.serve-picks.has-active ~ * .serve-hint, .view-head .serve-hint.gone { opacity: 0; }

.panel { display: none; opacity: 0; transition: opacity .5s ease; }
.panel.shown { display: block; }
.panel.visible { opacity: 1; }
.panel .feature { min-height: 0; padding-top: 1rem; }
.panel .feature-img { min-height: 62vh; }
.offer { list-style: none; padding: 0; margin: 1.4rem 0 2rem; }
.offer li { padding: .55rem 0 .55rem 1.6rem; border-top: 1px solid var(--line); position: relative; color: var(--ink); }
.offer li::before { content: ""; position: absolute; left: .2rem; top: 1.15rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--leaf); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.5rem); max-width: 1200px; margin: 0 auto; padding: 2rem var(--pad) 0; }
.g-img { aspect-ratio: 1; }

/* ---------- Who we serve rows ---------- */
.view-head { text-align: center; padding: clamp(3rem, 7vw, 6rem) var(--pad) 1rem; }
.row { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 2rem; padding: 0 var(--pad) 0 0; }
.row.flip { grid-template-columns: 1fr 1.2fr; padding: 0 0 0 var(--pad); }
.row.flip .row-img { order: 2; }
.row-img { aspect-ratio: 16 / 10; }
.row-text { max-width: 30rem; }
.row-text p { color: var(--muted); }

/* ---------- Buttons & links ---------- */
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: .95rem 2rem; border: 0; border-radius: 0; font: 500 .8rem var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--green); }
.link { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--green); border-bottom: 1px solid var(--leaf); padding-bottom: .2rem; }
.cta-row { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }

/* ---------- Farm / partners ---------- */
.partners { text-align: center; padding: 4rem var(--pad) 6rem; }
.partners ul { list-style: none; padding: 0; margin: 0 auto; max-width: 60rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 2.2rem; font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); padding: clamp(3rem, 7vw, 6rem) var(--pad); max-width: 1300px; margin: 0 auto; }
.contact-text p:not(.eyebrow) { color: var(--muted); }
.form { display: grid; gap: 1.3rem; }
.form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form label { display: grid; gap: .3rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.form small { text-transform: none; letter-spacing: 0; font-weight: 300; }
.form input, .form select, .form textarea { font: 300 1rem var(--sans); color: var(--ink); padding: .7rem 0; border: 0; border-bottom: 1px solid #d4d9d0; background: transparent; border-radius: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--green); }
.form .btn { justify-self: start; margin-top: .5rem; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; font-weight: 400; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #a33; }

/* ---------- Footer ---------- */
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 2rem var(--pad); font-size: .78rem; letter-spacing: .08em; color: var(--muted); }
.footer a { text-decoration: none; margin-left: 1.4rem; }
.footer a:hover { color: var(--ink); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .brand img { height: 44px; }
  .brand span { font-size: 1.35rem; }
  .nav nav { gap: 1.2rem; font-size: .68rem; overflow-x: auto; white-space: nowrap; max-width: 100%; scrollbar-width: none; }
  .nav { flex-direction: column; gap: .7rem; padding: 1rem var(--pad) .8rem; }
  .duo, .feature, .feature.flip, .row, .row.flip, .contact { grid-template-columns: 1fr; padding-left: var(--pad); padding-right: var(--pad); }
  .feature.flip .feature-img, .row.flip .row-img { order: 0; }
  .feature-img { min-height: 50vh; }
  .feature-text { padding: 0 0 3rem; }
  .row { gap: 0; margin-bottom: 2rem; }
  .hero-img { aspect-ratio: 4 / 5; }
  .intro-hero .hero-img { aspect-ratio: 4 / 5; }
  .choices { flex-direction: column; gap: 1rem; }
  .choice-img { width: 104px; }
  .intro-center { padding: 0 7%; }
  .intro-center::before { width: 96%; height: 80%; }
  .intro-logo { width: 118px; margin-bottom: .8rem; }
  .intro-lede { font-size: .98rem; line-height: 1.5; }
  .choice strong { font-size: 1.35rem; margin-top: .8rem; }
  .choice .more { margin-top: .35rem; }
  .form .pair { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: .1rem; }
  .enjoy-list, .steps ol { grid-template-columns: 1fr; gap: 1.5rem; }
  .varieties { columns: 2; font-size: 1.05rem; }
  .blend-r::after, .blend-l::after { background: radial-gradient(closest-side, rgba(255,255,255,0) 52%, #fff 100%); }
}

/* Home powder circle: full label on desktop, simpler version on phones */
.choice-img.powder-circle { background-image: url('/images/powder-circle.jpg'); background-position: center; }
@media (max-width: 900px) { .choice-img.powder-circle { background-image: url('/images/powder-circle-sm.jpg'); } }

/* Home hero: richer photo — shorter fade to white, lighter haze behind the text */
.intro-hero .hero-img.blend::after { background: radial-gradient(closest-side, rgba(255,255,255,0) 64%, rgba(255,255,255,.55) 84%, #fff 100%); }
.intro-center::before { width: min(640px, 62%); height: 86%; background: radial-gradient(closest-side, rgba(255,255,255,.78), rgba(255,255,255,.5) 50%, rgba(255,255,255,0)); }
@media (max-width: 900px) { .intro-center::before { width: 96%; height: 80%; } }
.intro-center .eyebrow { color: var(--green); font-weight: 600; text-shadow: 0 0 10px #fff, 0 0 4px #fff, 0 0 2px #fff; }
.intro-lede { font-weight: 400; text-shadow: 0 0 14px #fff, 0 0 6px #fff, 0 0 2px #fff; }

/* Home: bigger logo, photo faded slightly toward white */
.intro-logo { width: clamp(180px, 20vw, 290px); }
.intro-hero .hero-img { opacity: .8; }
@media (max-width: 900px) { .intro-logo { width: 150px; } }

/* Home: text a touch darker and bolder */
.intro-center .eyebrow { color: #2f5a2a; font-weight: 700; }
.intro-lede { color: #111511; font-weight: 500; }
.intro-lede { text-wrap: balance; }

/* Home photo shown through painted brush strokes (remove the "strokes" class on .intro-hero to go back to the oval) */
.intro-hero.strokes .hero-img.blend::after { display: none; }
.intro-hero.strokes .hero-img {
  -webkit-mask-image: url('/images/hero-strokes.png'); mask-image: url('/images/hero-strokes.png');
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
@media (max-width: 900px) {
  .intro-hero.strokes .hero-img { -webkit-mask-image: url('/images/hero-strokes-tall.png'); mask-image: url('/images/hero-strokes-tall.png'); }
}

/* Brush strokes reveal more of the photo: same zoom, taller frame, thicker strokes (desktop only) */
.intro-hero.strokes .hero-img { aspect-ratio: 16 / 8.6; background-image: url('/images/hero-farm-strokes.jpg'); }
@media (max-width: 900px) { .intro-hero.strokes .hero-img { aspect-ratio: 4 / 5; background-image: var(--img); } }

/* ---------- Powder: science timeline deck ---------- */
.science { max-width: 1100px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--pad) 0; text-align: center; }
.science h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.science h3 em { color: var(--green); }
.deck-wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(.5rem, 2vw, 1.5rem); margin-top: 2.2rem; }
.deck { position: relative; max-width: 640px; width: 100%; margin: 0 auto; perspective: 1400px; }
.fc { position: absolute; left: 0; right: 0; top: 0; cursor: pointer; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .5s ease; will-change: transform; }
.fc-inner { text-align: left; background: #fff; border: 1px solid #e3eadb; border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3.5vw, 2.6rem); box-shadow: 0 18px 44px rgba(20,35,20,.12); transition: transform .25s ease; transform-style: preserve-3d; min-height: 100%; box-sizing: border-box; }
.fc-year { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.4rem); line-height: .95; color: var(--leaf); font-weight: 500; }
.fc-who { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: .6rem 0 .9rem; font-weight: 500; }
.fc-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .55rem; }
.fc-body { color: var(--muted); font-size: 1rem; line-height: 1.65; margin-bottom: 1.1rem; }
.fc-src { font-size: .7rem; }
.fc-count { display: block; text-align: center; font-size: .66rem; letter-spacing: .14em; color: var(--muted); margin-top: .15rem; }
/* final card: the pouch */
.fc.today .fc-inner { background: #111511; border-color: #111511; color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 1.4rem; align-items: center; }
.fc.today .fc-year { color: #9bc46a; }
.fc.today .fc-who, .fc.today .fc-count { color: #a8b3a6; }
.fc.today .fc-title { color: #fff; }
.fc.today .fc-body { color: #c9d1c6; }
.fc.today .btn { background: #fff; color: var(--ink); }
.fc.today .btn:hover { background: #9bc46a; }
.fc-pouch { width: clamp(90px, 14vw, 150px); aspect-ratio: 1300 / 1900; background: url('/images/powder.jpg') center / cover; border-radius: 10px; }
.deck-nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #d9e2cf; background: #fff; color: var(--green); font-size: 1.2rem; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.deck-nav:hover { background: var(--green); color: #fff; }
.deck-nav:disabled { opacity: .3; cursor: default; background: #fff; color: var(--green); }
/* year rail */
.rail { position: relative; display: flex; justify-content: space-between; max-width: 900px; margin: 2.4rem auto 0; padding: 0 .5rem; }
.rail::before { content: ""; position: absolute; left: 1rem; right: 1rem; top: 9px; height: 1px; background: #d6dfcc; }
.rail-fill { position: absolute; left: 1rem; top: 9px; height: 2px; background: var(--leaf); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.rail button { position: relative; background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .55rem; font: 500 .72rem var(--sans); letter-spacing: .08em; color: var(--muted); }
.rail button::before { content: ""; width: 11px; height: 11px; margin-top: 4px; border-radius: 50%; background: #fff; border: 1.5px solid #b9c9a8; transition: all .3s; }
.rail button.done::before { background: var(--leaf); border-color: var(--leaf); }
.rail button.active { color: var(--ink); }
.rail button.active::before { width: 17px; height: 17px; margin-top: 1px; background: var(--green); border-color: var(--green); box-shadow: 0 0 0 5px #e6efdc; }
.sci-note { max-width: 46rem; margin: 2rem auto 0; font-size: .74rem; line-height: 1.6; color: #8a928a; }
@media (max-width: 700px) {
  .deck-wrap { grid-template-columns: 1fr; }
  .deck-nav { display: none; }
  .rail button span { display: none; }
  .rail button.active span { display: block; position: absolute; top: 26px; white-space: nowrap; }
  .rail { margin-bottom: 1.6rem; }
  .fc.today .fc-inner { grid-template-columns: 1fr; }
  .fc-pouch { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fc, .fc-inner, .rail-fill { transition: none; } }
.fc-title { font-family: var(--serif); font-weight: 500; line-height: 1.08; }
.fc-pouch { background-image: url('/images/powder-dark.jpg'); border-radius: 0; }
.science { overflow-x: clip; }
@media (max-width: 900px) { .feature-img.pouch { height: auto; width: min(100%, 340px); justify-self: center; } }

/* Growth icon in the card corner */
.fc-grow { position: absolute; top: clamp(.9rem, 2vw, 1.4rem); right: clamp(1rem, 2.6vw, 1.8rem); width: 92px; }
.fc-grow .pg { display: block; width: 92px; height: 92px; overflow: visible; }
.fc.today .fc-grow { width: 116px; }
.fc.today .fc-grow .pg { width: 116px; height: 90px; }
.pg-grow, .pg-fly, .pg-pouch, .pg-spark { transform-box: fill-box; }
.pg-grow { transform-origin: 50% 100%; }
.fc.front .pg-grow { animation: pgPop .8s cubic-bezier(.2,.9,.3,1.25) .35s both; }
@keyframes pgPop { from { transform: scale(.78); opacity: .4; } to { transform: none; opacity: 1; } }
/* final card: microgreen lifts, arcs over and drops into the pouch */
.pg-fly { transform-origin: 50% 100%; }
.pg-pouch { transform-origin: 50% 100%; }
.pg-spark { opacity: 0; transform-origin: 50% 100%; }
.fc.front .pg-fly { animation: pgFly 2.3s cubic-bezier(.45,.05,.35,1) .7s both; }
.fc.front .pg-pouch { animation: pgCatch .5s ease 2.55s both; }
.fc.front .pg-spark { animation: pgSpark .9s ease 2.6s both; }
@keyframes pgFly {
  0%   { transform: none; }
  14%  { transform: translate(0, -6px) rotate(-4deg); }
  45%  { transform: translate(34px, -20px) rotate(12deg) scale(.78); }
  66%  { transform: translate(68px, -24px) rotate(3deg) scale(.56); }
  88%  { transform: translate(68px, 4px) rotate(0) scale(.52); opacity: 1; }
  100% { transform: translate(68px, 14px) scale(.5); opacity: 0; }
}
}
@keyframes pgCatch { 0% { transform: none; } 40% { transform: scale(1.06, .9); } 75% { transform: scale(.98, 1.04); } 100% { transform: none; } }
@keyframes pgSpark { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .fc.front .pg-grow, .fc.front .pg-fly, .fc.front .pg-pouch, .fc.front .pg-spark { animation: none; } }
@media (max-width: 700px) {
  .fc-grow, .fc-grow .pg { width: 70px; } .fc-grow .pg { height: 70px; }
  .fc.today .fc-grow, .fc.today .fc-grow .pg { width: 92px; } .fc.today .fc-grow .pg { height: 72px; }
}
@media (max-width: 700px) { .fc-who { padding-right: 78px; } }

/* ---------- Powder top: text left; pouch + flash-card deck stacked on the right ---------- */
.powder-feature { grid-template-columns: 1fr 1.15fr; grid-template-areas: "text pouch" "text sci"; grid-template-rows: auto 1fr; align-items: start; }
.powder-feature .feature-text { grid-area: text; align-self: center; }
.powder-feature .feature-img.pouch { grid-area: pouch; height: min(50vh, 440px); margin-top: 1.5rem; }
.powder-feature .science { grid-area: sci; width: 100%; max-width: 540px; justify-self: center; margin: 0; padding: 1.4rem 0 1rem; text-align: center; overflow: visible; }
.powder-feature .science .eyebrow { margin-bottom: .9rem; }
.powder-feature .deck { max-width: 100%; }
.powder-feature .fc-inner { padding: 1.2rem 1.5rem 1.3rem; border-radius: 16px; }
.powder-feature .fc-year { font-size: 2.6rem; }
.powder-feature .fc-who { margin: .35rem 0 .6rem; font-size: .62rem; padding-right: 84px; }
.powder-feature .fc-title { font-size: 1.5rem; margin-bottom: .4rem; }
.powder-feature .fc-body { font-size: .92rem; line-height: 1.55; margin-bottom: .8rem; }
.powder-feature .fc-src { font-size: .62rem; }
.powder-feature .fc-grow, .powder-feature .fc-grow .pg { width: 74px; }
.powder-feature .fc-grow .pg { height: 74px; }
.powder-feature .fc.today .fc-grow, .powder-feature .fc.today .fc-grow .pg { width: 98px; }
.powder-feature .fc.today .fc-grow .pg { height: 76px; }
.powder-feature .fc.today .fc-inner { display: block; }
.powder-feature .fc-pouch { display: none; }
.powder-feature .fc.today .btn { padding: .75rem 1.5rem; }
/* arrows with numbered dots underneath */
.deck-controls { display: flex; align-items: center; gap: .8rem; margin-top: 1.1rem; }
.deck-controls .deck-nav { flex: none; width: 40px; height: 40px; font-size: 1rem; display: inline-block; }
.deck-controls .deck-nav:disabled { opacity: 1; }
.powder-feature .rail { flex: 1; margin: 0; padding: 0; display: flex; justify-content: space-between; }
.powder-feature .rail::before { left: 10px; right: 10px; top: 50%; }
.powder-feature .rail button { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1.5px solid #c3d1b4; color: var(--muted); font: 500 .62rem/1 var(--sans); letter-spacing: 0; display: grid; place-items: center; gap: 0; transition: all .25s; }
.powder-feature .rail button::before { display: none; }
.powder-feature .rail button span { display: inline !important; position: static !important; }
.powder-feature .rail button:hover { border-color: var(--leaf); color: var(--green); }
.powder-feature .rail button.active { background: var(--green); border-color: var(--green); color: #fff; transform: scale(1.18); box-shadow: 0 0 0 4px #e6efdc; }
.powder-feature .sci-note { margin-top: 1rem; font-size: .66rem; }
@media (max-width: 900px) {
  .powder-feature { grid-template-columns: 1fr; grid-template-areas: "pouch" "text" "sci"; }
  .powder-feature .feature-img.pouch { height: auto; width: min(100%, 300px); }
  .powder-feature .science { padding: 0 0 3rem; }
}
@media (max-width: 480px) { .deck-controls { gap: .4rem; } .powder-feature .rail button { width: 19px; height: 19px; font-size: .56rem; } }
.powder-feature .feature-img.pouch { height: min(56vh, 500px); }
.powder-feature .fc:not(.front):not(.swinging) .fc-inner > * { visibility: hidden; }
.powder-feature .fc.today .fc-inner { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; }
.powder-feature .fc.today .fc-who { margin-bottom: 1rem; }
.powder-feature .fc.today .fc-year { margin: 0; }
.powder-feature .fc.today .fc-who { margin: .35rem 0 .9rem; }
.powder-feature .fc.today .fc-title { margin: 0 0 .45rem; }
.powder-feature .fc.today .fc-body { margin: 0; }
/* bigger pouch; cards end a little below the text on the left, above the buttons */
.powder-feature .feature-img.pouch { height: min(66vh, 560px); margin-top: .5rem; }
.powder-feature .science { padding-top: .6rem; }
@media (max-width: 900px) { .powder-feature .feature-img.pouch { height: auto; width: min(100%, 300px); margin-top: 0; } }

/* Cover card: invites people into the story */
.fc.cover .fc-inner { background: linear-gradient(160deg, #f7faf1 0%, #edf4e2 100%); border-color: #dbe7cc; }
.powder-feature .fc.cover .fc-who { color: var(--leaf); font-weight: 600; margin: .2rem 0 .7rem; }
.powder-feature .fc.cover .fc-title { font-size: 2.05rem; line-height: 1.05; margin-bottom: .7rem; padding-right: 70px; }
.fc.cover .fc-title em { color: var(--green); font-style: italic; }
.powder-feature .fc.cover .fc-body { color: #4f584f; margin-bottom: 1rem; }
.fc-start { display: inline-flex; align-items: center; gap: .55rem; background: var(--green); color: #fff; font: 500 .68rem var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: .7rem 1.15rem; border-radius: 999px; transition: background .2s, gap .2s; }
.fc.cover:hover .fc-start { background: var(--ink); gap: .8rem; }
.fc.cover .fc-count { color: var(--leaf); letter-spacing: .08em; font-size: .6rem; text-transform: uppercase; white-space: nowrap; }
.powder-feature .rail button.rail-start { color: var(--leaf); }
.powder-feature .rail button.rail-start.active { color: #fff; }
@media (max-width: 700px) {
  .fc.cover .fc-count { white-space: normal; line-height: 1.3; font-size: .52rem; }
  .deck-controls .deck-nav { width: 34px; height: 34px; }
}

/* Cover questions, each jumps to the card that answers it */
.fc-qs { list-style: none; padding: 0; margin: .2rem 0 1.1rem; }
.fc-qs li + li { border-top: 1px solid #d8e4ca; }
.fc-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: none; border: 0; padding: .55rem 0; font: 400 .95rem/1.35 var(--sans); color: var(--ink); text-align: left; cursor: pointer; }
.fc-q span { color: var(--leaf); transition: transform .2s; }
.fc-q:hover { color: var(--green); }
.fc-q:hover span { transform: translateX(4px); }
.fc-q:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; border-radius: 4px; }
.powder-feature .fc.cover .fc-title { margin-bottom: .45rem; }
.powder-feature .fc.cover .fc-who { margin: 0 0 .55rem; }
.powder-feature .fc.cover .fc-title { margin-top: 0; }
.fc-q { padding: .45rem 0; }
.fc-qs { margin: .1rem 0 .95rem; }
.powder-feature .fc.today .fc-who { margin: .3rem 0 .5rem; }
.powder-feature .fc.today .fc-title { margin: 0 0 .3rem; }
.varieties { font-size: 1.08rem; column-gap: 1.4rem; } .varieties li { white-space: nowrap; } @media (max-width: 900px) { .varieties { font-size: 1rem; } }
@media (min-width: 901px) { .varieties { font-size: 1.02rem; column-gap: 1.1rem; } }

/* Greens list grouped by flavor */
.varieties-grouped { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.2rem; margin: 1.6rem 0 2.2rem; }
.vgroup + .vgroup { margin-top: 1.3rem; }
.vgroup-title { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--leaf); margin: 0 0 .45rem; padding-bottom: .35rem; border-bottom: 1px solid var(--line); }
.vgroup ul { list-style: none; padding: 0; margin: 0; font-family: var(--serif); font-size: 1.12rem; }
.vgroup li { padding: .12rem 0; white-space: nowrap; }
@media (max-width: 900px) { .varieties-grouped { gap: 0 1.2rem; } .vgroup ul { font-size: 1.02rem; } }
/* 9 per column so each column is one flavor group */
.varieties { columns: 3; }
@media (max-width: 900px) { .varieties { columns: 3; column-gap: .9rem; font-size: .9rem; } }
@media (max-width: 380px) { .varieties { font-size: .82rem; } }
@media (max-width: 900px) { .varieties li { white-space: normal; line-height: 1.3; padding: .22rem 0; } .feature-text { min-width: 0; } }
/* three fixed columns, one flavor group each */
.varieties { columns: auto; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 1.6rem; }
.varieties ul { list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .varieties { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: .8rem; } }

/* Greens: culinary photo showcase */
.why { padding-bottom: 2.4rem; }
.plates { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 2vw, 1.6rem); max-width: 1300px; margin: 0 auto; padding: 0 var(--pad) clamp(4rem, 8vw, 6rem); }
.plate { margin: 0; aspect-ratio: 4 / 5; border-radius: 14px; background-size: cover; background-position: center; box-shadow: 0 14px 34px rgba(30,40,30,.12); transform: translateY(14px); opacity: 0; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .8s ease, box-shadow .3s; }
.view.visible .plate { transform: none; opacity: 1; }
.view.visible .plate:nth-child(2) { transition-delay: .1s; } .view.visible .plate:nth-child(3) { transition-delay: .2s; } .view.visible .plate:nth-child(4) { transition-delay: .3s; }
.plate:hover { box-shadow: 0 20px 44px rgba(30,40,30,.2); }
@media (max-width: 900px) { .plates { grid-template-columns: 1fr 1fr; } }

/* ---------- Greens: 3x3 photo gallery, paged ---------- */
.gallery-wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--pad) clamp(4rem, 8vw, 6rem); }
.gallery-pages { display: grid; }
.gpage { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.9rem, 2.4vw, 2rem); visibility: hidden; }
.gpage.on { visibility: visible; }
.gtile { position: relative; margin: 0; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.98);
  transition: opacity .55s ease calc(var(--k) * 55ms), transform .7s cubic-bezier(.2,.7,.2,1) calc(var(--k) * 55ms), box-shadow .35s ease;
  /* floats just above the page: soft shadow mostly below */
  box-shadow: 0 18px 26px -14px rgba(25,40,25,.32), 0 4px 10px -6px rgba(25,40,25,.12); }
.view.visible .gpage.on .gtile { opacity: 1; transform: translateY(-4px); }
.gtile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
/* faded theme: soft white wash at the edges */
.gtile::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 22px 6px rgba(255,255,255,.55); background: radial-gradient(closest-side, rgba(255,255,255,0) 78%, rgba(255,255,255,.22) 100%); }
.gallery-nav { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2.2rem; }
.gnav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #d9e2cf; background: #fff; color: var(--green); font-size: 1.1rem; cursor: pointer; transition: background .2s, color .2s; }
.gnav:hover { background: var(--green); color: #fff; }
.gdots { display: flex; gap: .6rem; }
.gdot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 1.5px solid #b9c9a8; background: #fff; cursor: pointer; transition: all .25s; }
.gdot.on { background: var(--green); border-color: var(--green); transform: scale(1.25); }
@media (max-width: 700px) { .gtile { border-radius: 8px; } .gtile::after { box-shadow: inset 0 0 12px 3px rgba(255,255,255,.5); } }
@media (prefers-reduced-motion: reduce) { .gtile, .gtile img { transition: none; } }

/* Gallery hover: the photo under the pointer lifts and gets a green ring; the others soften */
.gtile { cursor: zoom-in; }
.gtile::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 0 var(--leaf); transition: box-shadow .3s ease; }
.gtile:focus-visible::before { box-shadow: inset 0 0 0 3px var(--leaf); }
.gtile:focus-visible::after { opacity: 0; }
.gtile::after { transition: opacity .35s ease; }
.gtile:focus-visible { outline: none; }
@media (hover: hover) {
  .view.visible .gpage.on .gtile:hover { transform: translateY(-9px); box-shadow: 0 28px 34px -16px rgba(25,40,25,.38), 0 6px 12px -6px rgba(25,40,25,.14); }
  .gtile:hover img { transform: scale(1.04); }
  .gtile:hover::before { box-shadow: inset 0 0 0 3px var(--leaf); }
  .gtile:hover::after { opacity: 0; }
  .view.visible .gpage.on:hover .gtile:not(:hover) { opacity: .62; filter: saturate(.85); }
  /* right after closing an enlarged photo, don't re-trigger hover until the mouse moves */
  .gallery-wrap.calm .gtile:hover { transform: translateY(-4px) !important; box-shadow: 0 18px 26px -14px rgba(25,40,25,.32), 0 4px 10px -6px rgba(25,40,25,.12) !important; }
  .gallery-wrap.calm .gtile:hover img { transform: none; }
  .gallery-wrap.calm .gtile:hover::before { box-shadow: none; }
  .gallery-wrap.calm .gtile:hover::after { opacity: 1; }
  .view.visible .gallery-wrap.calm .gpage.on:hover .gtile:not(:hover) { opacity: 1; filter: none; }
}
.gtile { transition: opacity .55s ease calc(var(--k) * 55ms), transform .7s cubic-bezier(.2,.7,.2,1) calc(var(--k) * 55ms), box-shadow .35s ease, filter .35s ease; }
.gpage.on:hover .gtile { transition-delay: 0s; }

/* Enlarged view: grows out of the grid, right on the page */
.gzoom { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; pointer-events: none; }
.gzoom-bg { position: absolute; inset: 0; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s ease; }
.gzoom.open { pointer-events: auto; }
.gzoom.open .gzoom-bg { opacity: 1; }
.gzoom-img { position: fixed; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(20,35,20,.45); cursor: zoom-out;
  transition: left .45s cubic-bezier(.2,.75,.2,1), top .45s cubic-bezier(.2,.75,.2,1), width .45s cubic-bezier(.2,.75,.2,1), height .45s cubic-bezier(.2,.75,.2,1), opacity .3s ease; }
.gzoom-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gzoom-cap, .gzoom-btn { opacity: 0; transition: opacity .3s ease .2s; }
.gzoom.open .gzoom-cap, .gzoom.open .gzoom-btn { opacity: 1; }
.gzoom-cap { position: fixed; left: 0; right: 0; text-align: center; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); padding: 0 1rem; }
.gzoom-btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #d9e2cf; background: #fff; color: var(--green); font-size: 1.15rem; cursor: pointer; box-shadow: 0 6px 18px rgba(20,35,20,.12); }
.gzoom-btn:hover { background: var(--green); color: #fff; }
.gzoom-close { top: 1.2rem; right: 1.2rem; font-size: 1.5rem; line-height: 1; }
.gzoom-prev { left: max(1rem, calc(50vw - var(--zs) / 2 - 76px)); top: 50%; transform: translateY(-50%); }
.gzoom-next { right: max(1rem, calc(50vw - var(--zs) / 2 - 76px)); top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .gzoom-prev, .gzoom-next { top: auto; bottom: 1.4rem; transform: none; } .gzoom-prev { left: calc(50% - 60px); } .gzoom-next { right: calc(50% - 60px); } }
@media (prefers-reduced-motion: reduce) { .gzoom-img, .gzoom-bg { transition: none; } }

/* Page arrows on the sides of the grid */
.gallery-wrap { position: relative; }
.gallery-nav { position: static; }
@media (min-width: 701px) {
  .gallery-wrap { max-width: 1200px; }
  .gallery-pages { margin: 0 64px; }
  .gallery-nav .gnav { position: absolute; top: calc(50% - 2.6rem); transform: translateY(-50%); }
  .gallery-nav .gprev { left: var(--pad); }
  .gallery-nav .gnext { right: var(--pad); }
}
.gzoom[hidden] { display: none !important; }

/* Greens: nutrition section */
.nutri { max-width: 46rem; margin: 0 auto; text-align: center; padding: clamp(3rem, 7vw, 5.5rem) var(--pad) 0; }
.nutri h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.nutri h3 em { color: var(--green); }
.nutri p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.6rem; }
.view[data-view=greens] .why { padding-top: clamp(3rem, 6vw, 4.5rem); }
.nutri-more { font-size: .66rem; }
.feature-text .nutri-more { white-space: nowrap; }

/* Who we serve: same brush-stroke photo as the home page, softened behind the choices */
.serve-bg.strokes-bg {
  width: min(1296px, calc(100vw - 2 * var(--pad))); aspect-ratio: 16 / 8.6;
  background-image: url('/images/hero-farm-strokes.jpg'); background-color: transparent;
  -webkit-mask-image: url('/images/hero-strokes.png'); mask-image: url('/images/hero-strokes.png');
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  filter: blur(5px) saturate(.85); opacity: .38;
}
.serve-top { min-height: min(72vh, 700px); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 900px) {
  .serve-bg-wrap .serve-bg.strokes-bg { width: 100vw; aspect-ratio: 4 / 5; background-image: var(--img);
    -webkit-mask-image: url('/images/hero-strokes-tall.png'); mask-image: url('/images/hero-strokes-tall.png'); }
  .serve-top { min-height: 0; overflow-x: clip; }
}

/* ---------- Who we serve: restaurants (plate photo, chefs, story plates) ---------- */
.feature-img.plate-photo { min-height: 0; height: auto; aspect-ratio: 1400 / 1351; width: min(100%, 620px); justify-self: center; align-self: center;
  margin: 1rem 0 1rem var(--pad); background-image: var(--img); background-size: cover; background-position: center; border-radius: 14px;
  box-shadow: 0 26px 40px -22px rgba(25,40,25,.38), 0 6px 14px -8px rgba(25,40,25,.14); }
@media (max-width: 900px) { .feature-img.plate-photo { margin: 0 0 2rem; width: 100%; } }

.section-head { text-align: center; max-width: 40rem; margin: 0 auto clamp(1.8rem, 4vw, 2.8rem); padding: 0 var(--pad); }
.section-head h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .2rem 0 .6rem; }
.section-head .hint { margin-top: 0; }

.chefs { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(1rem, 3vw, 2rem); }
.chef-list { list-style: none; margin: 0 auto; padding: 0 var(--pad); max-width: 1200px; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); }
.chef { text-align: center; }
.chef img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 1rem;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px #d9e2cf, 0 14px 24px -12px rgba(25,40,25,.35); }
.chef-link { display: block; width: max-content; margin: 0 auto; border-radius: 50%; }
.chef-link img { transition: transform .35s ease, box-shadow .35s ease; }
.chef-link:hover img, .chef-link:focus-visible img { transform: scale(1.04); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.chef h4 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; margin: 0 0 .25rem; }
.chef-where { color: var(--green); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .8rem; line-height: 1.45; }
.chef-where span { display: block; color: var(--muted); letter-spacing: .04em; text-transform: none; font-size: .9rem; }
.chef p:not(.chef-where) { color: var(--muted); font-size: .95rem; line-height: 1.6; margin: 0; }
@media (max-width: 1000px) { .chef-list { grid-template-columns: 1fr 1fr; row-gap: 2.6rem; } }
@media (max-width: 560px) { .chef-list { grid-template-columns: 1fr; max-width: 26rem; } }

.plates-gallery { padding-top: clamp(3rem, 6vw, 4.5rem); }
.gallery-wrap.stories .gpage { grid-template-columns: repeat(4, 1fr); }
.gallery-wrap.stories .gtile { aspect-ratio: 720 / 1105; }
.gallery-wrap.stories .gtile::after { box-shadow: inset 0 0 14px 3px rgba(255,255,255,.4); background: none; }
@media (max-width: 700px) { .gallery-wrap.stories .gpage { grid-template-columns: 1fr 1fr; } }

/* Our farm: grow room panorama in the faded oval */
.farm-hero .farm-photo { width: min(1400px, 100%); aspect-ratio: 16 / 8; background-size: cover; background-position: center 55%; }
@media (max-width: 900px) { .farm-hero .farm-photo { aspect-ratio: 4 / 5; background-position: 50% 50%; } }

/* ---------- Who we serve: grocery (whole photo, nothing cropped, faded edges) ---------- */
.feature-img.booth { min-height: 0; height: auto; aspect-ratio: 1170 / 1560; width: min(100%, calc(90vh * 1170 / 1560), 660px); justify-self: center; align-self: center; position: relative; background-size: cover; background-position: center; }
.feature-img.booth::after { content: ""; position: absolute; inset: -1px; pointer-events: none;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 14%, rgba(255,255,255,0) 88%, #fff 100%),
              linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 10%, rgba(255,255,255,0) 88%, #fff 100%); }
@media (max-width: 900px) { .feature-img.booth { width: 100%; } }

/* ---------- Who we serve: grocery, Fowler Ranch farmers' market ---------- */
.market { padding-top: clamp(1rem, 4vw, 3rem); }
.market .feature { min-height: 0; }
.feature-img.market-img { aspect-ratio: 1170 / 1541; width: min(100%, calc(80vh * 1170 / 1541), 560px); }
.market-info { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.4rem; margin: 1.6rem 0 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.market-info dt { text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 500; color: var(--leaf); padding-top: .25rem; }
.market-info dd { margin: 0; color: var(--ink); }
@media (max-width: 900px) { .feature-img.market-img { width: 100%; } }
.market-head { position: relative; }
.market-logo { position: absolute; top: 0; right: 0; width: clamp(80px, 7.6vw, 104px); height: auto; aspect-ratio: 1; border-radius: 14px; box-shadow: 0 10px 24px -12px rgba(25,40,25,.35); }
.market-head h2 em { display: block; }

/* ---------- Who we serve: families & communities ---------- */
.grow-ways { padding: clamp(3rem, 6vw, 5rem) var(--pad) 0; }
.ways { list-style: none; padding: 0; margin: 0 auto; max-width: 68rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); }
.ways li { border-top: 2px solid var(--leaf); padding-top: 1.2rem; }
.ways h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 0 0 .6rem; }
.ways p { color: var(--muted); margin: 0; }
.ways-cta { text-align: center; margin: 2.4rem 0 0; }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } }

/* ---------- Our farm: tech section ---------- */
.tech { padding: clamp(3rem, 7vw, 6rem) var(--pad) clamp(1rem, 3vw, 2rem); }
.tech-head { max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3.2rem); text-align: center; }
.tech-head h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.tech-head h3 em { color: var(--green); }
.tech-head p:not(.eyebrow) { color: var(--muted); }
.tech-list { list-style: none; padding: 0; margin: 0 auto; max-width: 76rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 2.6vw, 2.4rem); }
.tech-list li { border-top: 2px solid var(--leaf); padding-top: 1.3rem; }
.tech-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #f2f6ed; color: var(--green); margin-bottom: 1rem; }
.tech-icon svg { width: 30px; height: 30px; }
.tech-list h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 1.8vw, 1.55rem); margin: 0 0 .55rem; }
.tech-list p { color: var(--muted); margin: 0; }
.tech-cta { max-width: 46rem; margin: clamp(2rem, 4vw, 3rem) auto 0; text-align: center; color: var(--muted); }
.tech-cta .link { margin-left: .4rem; }
@media (max-width: 1100px) { .tech-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tech-list { grid-template-columns: 1fr; } }

/* Our farm: About the grower */
.grower { max-width: 42rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) var(--pad) clamp(1rem, 3vw, 2rem); text-align: center; }
.grower h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.grower h3 em { color: var(--green); }
.grower p:not(.eyebrow) { color: var(--muted); line-height: 1.75; }
.grower-more summary { list-style: none; cursor: pointer; display: inline-block; margin-top: .4rem; color: var(--green); border-bottom: 1px solid currentColor; padding-bottom: 1px; font-size: .95rem; }
.grower-more summary::-webkit-details-marker { display: none; }
.grower-more .less, .grower-more[open] .more { display: none; }
.grower-more[open] .less { display: inline; }
.grower-more[open] summary { order: 2; }
.grower-more[open] { display: flex; flex-direction: column; align-items: center; }
.grower-more p { text-align: center; animation: growerIn .5s ease; }
@keyframes growerIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Photo strips (one page, same tiles and click-to-enlarge as the galleries) */
.gallery-wrap.strip { max-width: 1080px; padding: clamp(1.6rem, 3vw, 2.4rem) 0 clamp(1rem, 2vw, 1.6rem); }
.strip .gallery-nav { display: none; }
.strip-4 .gpage { grid-template-columns: repeat(4, 1fr); }
.systems .gallery-wrap.strip { margin: 0 auto 1.4rem; }
@media (max-width: 700px) { .strip-4 .gpage { grid-template-columns: repeat(2, 1fr); } }
