/* ==========================================================================
   Harvestory
   Design system and site styles
   Brand: cream #FBF7EF · forest #2D5016 · leaf #4A7C25 · orange #D9722B
   Type:  Fraunces (display) · Poppins (body)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fonts
   Self hosted so there is no third party request, no font blocking and no
   cookie question. Fraunces is the variable release, which carries the
   opsz, wght, SOFT and WONK axes used through the type below.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --cream:        #FBF7EF;
  --cream-deep:   #F3ECDE;
  --cream-warm:   #F7F0E2;
  --paper:        #FFFDF8;

  /* Greens */
  --forest:       #2D5016;
  --forest-deep:  #1E360E;
  --forest-mid:   #3A6420;
  --leaf:         #4A7C25;
  --leaf-light:   #6E9E42;
  --leaf-pale:    #C9D9B6;

  /* Accent */
  --orange:       #D9722B;
  --orange-deep:  #B85C1E;
  --orange-pale:  #F0C9A6;

  /* Ink */
  --ink:          #1E2418;
  --ink-soft:     #4E5646;
  --ink-faint:    #7B8273;

  /* Lines */
  --rule:         rgba(45, 80, 22, 0.14);
  --rule-strong:  rgba(45, 80, 22, 0.28);
  --rule-light:   rgba(251, 247, 239, 0.22);

  /* Type */
  --font-display: "Fraunces", "Lora", Georgia, "Times New Roman", serif;
  --font-body:    "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-hero:  clamp(2.9rem, 6.2vw, 5.6rem);
  --fs-h1:    clamp(2.3rem, 4.6vw, 4.05rem);
  --fs-h2:    clamp(1.95rem, 3.5vw, 3.05rem);
  --fs-h3:    clamp(1.3rem, 1.9vw, 1.72rem);
  --fs-h4:    clamp(1.08rem, 1.35vw, 1.25rem);
  --fs-lead:  clamp(1.06rem, 1.3vw, 1.32rem);
  --fs-body:  clamp(0.98rem, 1.02vw, 1.06rem);
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.73rem;

  /* Space */
  --gutter:   clamp(1.25rem, 4vw, 3.5rem);
  --wrap:     1280px;
  --wrap-narrow: 820px;
  --wrap-mid: 1050px;
  --section:  clamp(4.5rem, 9vw, 9rem);
  --section-tight: clamp(3rem, 6vw, 5.5rem);

  /* Motion */
  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --radius:   3px;
  --radius-lg: 4px;

  --header-h: 82px;
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background-color: var(--cream);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.78;
  letter-spacing: 0.004em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, picture, video { max-width: 100%; display: block; }

/* Inline arrow glyphs. Constrained globally so an icon can never inflate
   the element it sits inside. */
svg { flex-shrink: 0; }
.btn svg, .go svg, .link-arrow svg { width: 13px; height: 13px; }
.nav-caret { width: 9px; height: 9px; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 20, "WONK" 1, "opsz" 90;
  line-height: 1.07;
  letter-spacing: -0.017em;
  margin: 0 0 0.55em;
  color: var(--forest-deep);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.16; }
h4 { font-size: var(--fs-h4); line-height: 1.28; letter-spacing: -0.01em; }

h1 em, h2 em, h3 em, .display em {
  font-style: italic;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 110;
  color: var(--leaf);
}

p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--leaf-pale); color: var(--forest-deep); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; top: -100px; left: var(--gutter); z-index: 200;
  background: var(--forest); color: var(--cream);
  padding: 0.75rem 1.25rem; font-size: var(--fs-small); font-weight: 500;
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap    { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-mid    { width: 100%; max-width: var(--wrap-mid); margin-inline: auto; padding-inline: var(--gutter); }

.section        { padding-block: var(--section); position: relative; }
.section--tight { padding-block: var(--section-tight); }
.section--cream-deep { background: var(--cream-deep); }
.section--paper { background: var(--paper); }
.section--forest {
  background: var(--forest);
  color: rgba(251, 247, 239, 0.86);
}
.section--forest h2, .section--forest h3, .section--forest h4 { color: var(--cream); }
.section--forest h2 em, .section--forest h3 em { color: var(--leaf-pale); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------------------
   4. Text elements
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 1.4rem;
  line-height: 1.4;
}
.eyebrow::before {
  content: ""; flex: 0 0 26px; height: 1px; background: var(--orange);
}
.eyebrow--plain::before { display: none; }
.eyebrow--center { justify-content: center; }
.section--forest .eyebrow { color: var(--orange-pale); }
.section--forest .eyebrow::before { background: var(--orange-pale); }

.rule-accent {
  width: 62px; height: 3px; background: var(--leaf);
  margin: 0 0 1.9rem; border: 0;
}
.rule-accent--center { margin-inline: auto; }
.section--forest .rule-accent { background: var(--leaf-pale); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.66;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 62ch;
}
.section--forest .lead { color: rgba(251, 247, 239, 0.82); }

.prose { max-width: 68ch; }
.prose p + p { margin-top: 0; }

.text-center { text-align: center; }
.text-center .eyebrow { justify-content: center; }
.text-center .lead { margin-inline: auto; }

.section-head { max-width: 66ch; margin-bottom: clamp(2.5rem, 4.5vw, 4rem); }
.section-head.text-center { margin-inline: auto; }

.figure-caption {
  font-size: 0.78rem; letter-spacing: 0.03em; color: var(--ink-faint);
  margin-top: 0.85rem; line-height: 1.5;
}
.section--forest .figure-caption { color: rgba(251, 247, 239, 0.55); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.845rem; font-weight: 500; letter-spacing: 0.045em;
  text-transform: uppercase;
  padding: 1rem 1.85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease),
              border-color .4s var(--ease), transform .4s var(--ease);
  line-height: 1;
  text-align: center;
}
.btn svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--forest); color: var(--cream); }
.btn--primary:hover { background: var(--leaf); transform: translateY(-2px); }

.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-deep); transform: translateY(-2px); }

.btn--ghost { border-color: var(--rule-strong); color: var(--forest); background: transparent; }
.btn--ghost:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); transform: translateY(-2px); }

.btn--light { background: var(--cream); color: var(--forest-deep); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }

.btn--ghost-light { border-color: var(--rule-light); color: var(--cream); }
.btn--ghost-light:hover { background: var(--cream); color: var(--forest-deep); border-color: var(--cream); transform: translateY(-2px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.4rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--forest);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 4px;
  transition: color .35s var(--ease), border-color .35s var(--ease), gap .35s var(--ease);
}
.link-arrow:hover { color: var(--orange); border-color: var(--orange); gap: 0.85rem; }
.section--forest .link-arrow { color: var(--leaf-pale); border-color: var(--rule-light); }
.section--forest .link-arrow:hover { color: var(--cream); border-color: var(--cream); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .45s var(--ease), box-shadow .45s var(--ease),
              height .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.site-header.is-solid,
.site-header.is-open {
  background: rgba(251, 247, 239, 0.94);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--rule);
  height: 68px;
}

.brand { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.brand img { width: 30px; height: auto; }
.brand span {
  font-family: var(--font-display);
  font-size: 1.42rem; font-weight: 500; letter-spacing: -0.022em;
  color: var(--forest-deep);
  font-variation-settings: "SOFT" 20, "WONK" 1, "opsz" 40;
}
.site-header.is-over-hero:not(.is-solid) .brand span { color: var(--cream); }
.site-header.is-over-hero:not(.is-solid) .nav-list > li > a { color: rgba(251,247,239,.9); }
.site-header.is-over-hero:not(.is-solid) .nav-toggle span { background: var(--cream); }
.site-header.is-over-hero:not(.is-solid) .brand img { filter: brightness(0) invert(1); opacity: .95; }

.site-nav { display: flex; align-items: center; gap: clamp(1.3rem, 2.4vw, 2.4rem); }
.nav-list { display: flex; align-items: center; gap: clamp(1.3rem, 2.2vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  font-size: 0.845rem; font-weight: 400; letter-spacing: 0.045em;
  color: var(--ink); padding-block: 0.5rem;
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: color .3s var(--ease);
  position: relative;
}
.nav-list > li > a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--orange);
  transition: right .4s var(--ease);
}
.nav-list > li > a:hover::after,
.nav-list > li.is-current > a::after { right: 0; }
.nav-list > li > a:hover { color: var(--orange); }
.nav-caret { width: 9px; height: 9px; opacity: .55; transition: transform .3s var(--ease); }
.has-dropdown:hover .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  min-width: 260px; background: var(--paper);
  border: 1px solid var(--rule); border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -24px rgba(30, 54, 14, 0.32);
  padding: 0.6rem;
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.dropdown a {
  display: block; padding: 0.7rem 0.9rem; border-radius: var(--radius);
  font-size: 0.9rem; color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease), padding-left .25s var(--ease);
}
.dropdown a small { display: block; font-size: 0.74rem; color: var(--ink-faint); letter-spacing: 0.01em; margin-top: 1px; }
.dropdown a:hover { background: var(--cream-deep); color: var(--forest); padding-left: 1.2rem; }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 0; background: none;
  cursor: pointer; padding: 8px; flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%; background: var(--forest-deep);
  transition: transform .4s var(--ease), opacity .3s var(--ease), background .4s var(--ease);
}
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 68px 0 0 0; z-index: 99;
  background: var(--cream);
  padding: 2rem var(--gutter) 3rem;
  overflow-y: auto;
  transform: translateY(-14px); opacity: 0; visibility: hidden;
  transition: opacity .38s var(--ease), transform .38s var(--ease), visibility .38s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--rule); }
.mobile-nav > ul > li > a {
  display: block; padding: 1.15rem 0;
  font-family: var(--font-display); font-size: 1.55rem; color: var(--forest-deep);
  font-variation-settings: "SOFT" 20, "WONK" 1, "opsz" 60;
}
.mobile-nav .sub { padding: 0 0 1.2rem 0; }
.mobile-nav .sub a {
  display: block; padding: 0.5rem 0 0.5rem 1.1rem;
  font-size: 0.95rem; color: var(--ink-soft);
  border-left: 2px solid var(--rule);
}
.mobile-nav .sub a:hover { color: var(--orange); border-color: var(--orange); }
.mobile-nav .btn { margin-top: 2rem; width: 100%; justify-content: center; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(88vh, 840px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero__text { padding: clamp(3rem, 6vw, 6rem) 0 clamp(3rem, 6vw, 6rem) var(--gutter); max-width: 720px; justify-self: end; width: 100%; }
.hero__text-inner { max-width: 620px; }
.hero h1 {
  font-size: var(--fs-hero);
  margin-bottom: 1.5rem;
  font-variation-settings: "SOFT" 20, "WONK" 1, "opsz" 144;
}
.hero .lead { max-width: 46ch; }

.hero__media { position: relative; height: 100%; min-height: 420px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--cream) 0%, rgba(251,247,239,0.82) 6%, rgba(251,247,239,0.22) 18%, rgba(251,247,239,0) 34%);
  pointer-events: none;
}

.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 2.2rem;
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint);
}
.hero__scroll i {
  display: block; width: 44px; height: 1px; background: var(--rule-strong); position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--orange);
  transform: translateX(-100%); animation: scrollLine 2.6s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  min-height: min(72vh, 660px);
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
  background: var(--forest-deep);
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(30,54,14,0.80) 0%, rgba(30,54,14,0.46) 30%, rgba(30,54,14,0.72) 66%, rgba(30,54,14,0.94) 100%),
    linear-gradient(90deg, rgba(30,54,14,0.55) 0%, rgba(30,54,14,0.10) 62%, rgba(30,54,14,0) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: var(--cream); max-width: 17ch; }
.page-hero h1 em { color: var(--leaf-pale); }
.page-hero .lead { color: rgba(251,247,239,0.86); max-width: 54ch; }
.page-hero .eyebrow { color: var(--orange-pale); }
.page-hero .eyebrow::before { background: var(--orange-pale); }

.breadcrumb {
  position: relative; z-index: 2;
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(251,247,239,0.6); margin-bottom: 1.5rem;
}
.breadcrumb a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.breadcrumb a:hover { border-color: currentColor; }
.breadcrumb span { opacity: .55; margin-inline: 0.5rem; }

/* --------------------------------------------------------------------------
   8. Ticker
   -------------------------------------------------------------------------- */
.ticker {
  background: var(--forest);
  color: var(--leaf-pale);
  padding-block: 0.95rem;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ticker__track { display: flex; width: max-content; animation: ticker 52s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; flex-shrink: 0; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 1.6rem;
  padding-inline: 0.8rem;
  font-family: var(--font-display);
  font-size: 1.02rem; font-style: italic; letter-spacing: 0.01em;
  white-space: nowrap;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
}
.ticker__item::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); opacity: .8; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   9. Editorial split
   -------------------------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.split--wide { grid-template-columns: 1.15fr 0.85fr; }
.split--narrow-first { grid-template-columns: 0.85fr 1.15fr; }
.split__media { position: relative; }
.split__media img { width: 100%; height: auto; border-radius: var(--radius-lg); }
.split__media--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.split--reverse .split__media { order: 2; }

.media-frame { position: relative; }
.media-frame::before {
  content: ""; position: absolute; inset: auto auto -14px -14px;
  width: 62%; height: 62%; border: 1px solid var(--rule-strong);
  border-radius: var(--radius-lg); z-index: -1;
}
.media-badge {
  position: absolute; right: -18px; bottom: 26px;
  background: var(--orange); color: #fff;
  padding: 0.9rem 1.15rem; border-radius: var(--radius-lg);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  max-width: 190px; line-height: 1.5; box-shadow: 0 18px 40px -18px rgba(0,0,0,.4);
}

/* --------------------------------------------------------------------------
   10. Insight panel
   -------------------------------------------------------------------------- */
.insight {
  background: var(--forest);
  color: rgba(251,247,239,.88);
  padding: clamp(2.2rem, 4vw, 3.4rem);
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.insight::after {
  content: ""; position: absolute; right: -40px; bottom: -50px;
  width: 220px; height: 220px;
  background: url("../img/logo-256.png") no-repeat center / contain;
  opacity: 0.07; filter: brightness(0) invert(1);
  pointer-events: none;
}
.insight h3 { color: var(--cream); margin-bottom: 0.7rem; }
.insight h3 em { color: var(--leaf-pale); }
.insight p { position: relative; z-index: 1; }
.insight .eyebrow { color: var(--orange-pale); }
.insight .eyebrow::before { background: var(--orange-pale); }

/* --------------------------------------------------------------------------
   11. Sector cards
   -------------------------------------------------------------------------- */
.sectors { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(1rem, 1.8vw, 1.6rem); }
.sector-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  grid-column: span 2;
  display: block; isolation: isolate;
  background: var(--forest-deep);
  min-height: 340px;
}
.sector-card:nth-child(1), .sector-card:nth-child(2) { grid-column: span 3; min-height: 420px; }
.sector-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out), opacity .6s var(--ease);
  opacity: .82;
}
.sector-card::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(30,54,14,.34) 0%, rgba(30,54,14,.18) 26%, rgba(30,54,14,.80) 62%, rgba(30,54,14,.98) 100%);
  transition: opacity .5s var(--ease);
}
.sector-card:hover img { transform: scale(1.06); opacity: .92; }
.sector-card__body {
  position: relative; z-index: 2;
  height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.4rem, 2.4vw, 2.1rem);
  min-height: inherit;
}
.sector-card__body > * { text-shadow: 0 1px 14px rgba(20,36,10,.55); }
.sector-card h3 { color: var(--cream); margin-bottom: 0.4rem; }
.sector-card p {
  color: rgba(251,247,239,.78); font-size: 0.92rem; line-height: 1.6; margin: 0;
  max-width: 34ch;
}
.sector-card .tag {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange-pale); font-weight: 500; margin-bottom: 0.7rem; display: block;
}
.sector-card .go {
  margin-top: 1.1rem; display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream);
  opacity: .75; transition: gap .35s var(--ease), opacity .35s var(--ease);
}
.sector-card:hover .go { gap: 0.9rem; opacity: 1; }

/* --------------------------------------------------------------------------
   12. Numbered layers
   -------------------------------------------------------------------------- */
.layers { display: grid; gap: 0; position: relative; }
.layer {
  display: grid; grid-template-columns: 108px 0.85fr 1.35fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(2rem, 3.4vw, 3rem);
  border-top: 1px solid var(--rule);
  align-items: start;
}
.layer h3 { margin-top: -0.2rem; }
.layer:last-child { border-bottom: 1px solid var(--rule); }
.layer__num {
  font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1; color: var(--leaf); opacity: .38;
  font-variation-settings: "SOFT" 20, "WONK" 1, "opsz" 120;
}
.layer__body { max-width: 62ch; }
.layer h3 { margin-bottom: 0.6rem; }

/* --------------------------------------------------------------------------
   13. Benefit grid
   -------------------------------------------------------------------------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 3vw, 2.8rem); }
.benefit { border-top: 2px solid var(--leaf); padding-top: 1.4rem; }
.benefit h4 { margin-bottom: 0.55rem; display: flex; align-items: baseline; gap: 0.6rem; }
.benefit h4::before { content: "◆"; color: var(--orange); font-size: 0.6em; flex-shrink: 0; }
.benefit p { font-size: 0.94rem; line-height: 1.68; color: var(--ink-soft); margin: 0; }
.section--forest .benefit { border-color: var(--leaf-light); }
.section--forest .benefit p { color: rgba(251,247,239,.74); }

/* --------------------------------------------------------------------------
   14. Systems
   -------------------------------------------------------------------------- */
.systems { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.1rem, 2vw, 1.8rem); }
.system { display: flex; flex-direction: column; }
.system__media { position: relative; overflow: hidden; border-radius: var(--radius-lg); margin-bottom: 1.3rem; }
.system__media img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; transition: transform 1s var(--ease-out); }
.system:hover .system__media img { transform: scale(1.05); }
.system__tag {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2;
  background: rgba(251,247,239,.93); color: var(--forest);
  font-size: 0.63rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  padding: 0.42rem 0.7rem; border-radius: 999px;
}
.system h4 { margin-bottom: 0.45rem; }
.system p { font-size: 0.9rem; line-height: 1.66; color: var(--ink-soft); margin: 0; }
.section--forest .system p { color: rgba(251,247,239,.74); }

/* --------------------------------------------------------------------------
   15. Workshops row
   -------------------------------------------------------------------------- */
.workshops { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(0.9rem, 1.6vw, 1.5rem); }
.workshop { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; isolation: isolate; background: var(--forest-deep); }
.workshop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1s var(--ease-out); }
.workshop::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,54,14,.22) 0%, rgba(30,54,14,.12) 26%, rgba(30,54,14,.80) 62%, rgba(30,54,14,.97) 100%); }
.workshop:hover img { transform: scale(1.06); }
.workshop__body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.4rem; min-height: 360px; }
.workshop__body > * { text-shadow: 0 1px 14px rgba(20,36,10,.55); }
.workshop h4 { color: var(--cream); margin-bottom: 0.35rem; font-size: 1.06rem; }
.workshop p { font-size: 0.83rem; line-height: 1.55; color: rgba(251,247,239,.76); margin: 0; }

/* --------------------------------------------------------------------------
   16. Process steps
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 2vw, 2rem); position: relative; }
.steps::before {
  content: ""; position: absolute; top: 21px; left: 6%; right: 6%;
  height: 1px; background: var(--rule-strong);
}
.section--forest .steps::before { background: var(--rule-light); }
.step { position: relative; padding-top: 0; }
.step__dot {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--rule-strong);
  display: grid; place-items: center; margin-bottom: 1.4rem;
  font-family: var(--font-display); font-size: 0.95rem; color: var(--forest);
  position: relative; z-index: 2;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.step:hover .step__dot { background: var(--orange); color: #fff; border-color: var(--orange); }
.section--forest .step__dot { background: var(--forest); border-color: var(--rule-light); color: var(--cream); }
.step h4 { margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; line-height: 1.62; color: var(--ink-soft); margin: 0; }
.section--forest .step p { color: rgba(251,247,239,.74); }

/* Vertical timeline variant */
.timeline { display: grid; gap: 0; }
.timeline__item {
  display: grid; grid-template-columns: 96px 1fr 1fr;
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: start;
  padding-block: clamp(2rem, 4vw, 3.4rem);
  border-top: 1px solid var(--rule);
}
.timeline__item:last-child { border-bottom: 1px solid var(--rule); }
.timeline__num {
  font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 2.8rem);
  color: var(--leaf); opacity: .38; line-height: 1; margin-top: -0.15em;
}
.timeline__media img { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; border-radius: var(--radius-lg); }

/* --------------------------------------------------------------------------
   17. Quote
   -------------------------------------------------------------------------- */
.quote { max-width: 34ch; }
.quote blockquote {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.28;
  font-style: italic; color: var(--cream);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 90;
  max-width: 30ch;
}
.quote--wide blockquote { max-width: 34ch; }
.quote cite {
  display: block; margin-top: 1.8rem; font-style: normal;
  font-family: var(--font-body); font-size: 0.74rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-pale);
}

/* --------------------------------------------------------------------------
   18. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--forest);
  color: var(--cream);
  position: relative; overflow: hidden;
  padding-block: clamp(4rem, 7vw, 7rem);
}
.cta-band::after {
  content: ""; position: absolute; right: 2%; top: 50%; transform: translateY(-50%);
  width: min(400px, 40vw); aspect-ratio: 450 / 554;
  background: url("../img/logo-orange-450.png") no-repeat center / contain;
  opacity: 0.9;
  pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: var(--cream); max-width: 16ch; }
.cta-band .wrap > div { max-width: 60%; }
.cta-band h2 em { color: var(--leaf-pale); }
.cta-band .lead { color: rgba(251,247,239,.8); max-width: 50ch; }
.cta-band .eyebrow { color: var(--orange-pale); }
.cta-band .eyebrow::before { background: var(--orange-pale); }
.cta-contact {
  margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 2rem 3rem;
  font-size: 0.9rem; color: rgba(251,247,239,.7);
}
.cta-contact a { border-bottom: 1px solid var(--rule-light); padding-bottom: 2px; transition: border-color .3s, color .3s; }
.cta-contact a:hover { color: var(--cream); border-color: var(--cream); }

/* --------------------------------------------------------------------------
   19. Forms
   -------------------------------------------------------------------------- */
.form-shell {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); padding: clamp(1.75rem, 3.4vw, 3rem);
  box-shadow: 0 30px 70px -50px rgba(30,54,14,.5);
}
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.15rem 1.4rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase;
  font-weight: 500; color: var(--ink-soft);
}
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 300; color: var(--ink);
  background: var(--cream); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 0.85rem 1rem;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
  width: 100%;
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.7; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%234E5646' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 11px;
  padding-right: 2.5rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--leaf); background: #fff;
  box-shadow: 0 0 0 3px rgba(74,124,37,.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); opacity: .75; }

.consent { display: flex; gap: 0.8rem; align-items: flex-start; margin-top: 0.4rem; }
.consent input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--leaf); flex-shrink: 0; }
.consent label { font-size: 0.8rem; line-height: 1.62; color: var(--ink-soft); text-transform: none; letter-spacing: 0; font-weight: 300; }
.consent a { border-bottom: 1px solid var(--rule-strong); }

.form-note { font-size: 0.78rem; color: var(--ink-faint); line-height: 1.6; margin-top: 1.4rem; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* --------------------------------------------------------------------------
   20. Contact aside
   -------------------------------------------------------------------------- */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding-block: 1.15rem; border-bottom: 1px solid var(--rule); }
.contact-list li:first-child { padding-top: 0; }
.contact-list .k {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange); display: block; margin-bottom: 0.3rem; font-weight: 500;
}
.contact-list .v { font-size: 1rem; color: var(--forest-deep); }
.contact-list a:hover { color: var(--orange); }

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--forest-deep); border-top: 1px solid rgba(251,247,239,.07); color: rgba(251,247,239,.62); padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(2rem, 4vw, 4rem); padding-bottom: 3.5rem; border-bottom: 1px solid rgba(251,247,239,.12); }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.2rem; }
.footer-brand img { width: 30px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand span { font-family: var(--font-display); font-size: 1.42rem; color: var(--cream); letter-spacing: -0.022em; font-variation-settings: "SOFT" 20, "WONK" 1, "opsz" 40; }
.footer-tag { font-family: var(--font-display); font-style: italic; font-size: 1.06rem; color: var(--leaf-pale); line-height: 1.5; max-width: 30ch; }
.footer-col h5 {
  font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.17em;
  text-transform: uppercase; color: var(--orange-pale); margin: 0 0 1.2rem; font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.62rem; }
.footer-col a { font-size: 0.9rem; transition: color .3s var(--ease), padding-left .3s var(--ease); }
.footer-col a:hover { color: var(--cream); padding-left: 5px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  padding-top: 2rem; font-size: 0.78rem; color: rgba(251,247,239,.45);
}
.footer-bottom a:hover { color: var(--cream); }

/* --------------------------------------------------------------------------
   22. Utility, motion, reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
[hidden] { display: none !important; }

/* Feature flagged elements stay out of the document until switched on */
[data-feature] { display: none; }
[data-feature].feature-on { display: revert; }

/* --------------------------------------------------------------------------
   23. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .sectors { grid-template-columns: repeat(4, 1fr); }
  .sector-card { grid-column: span 2; }
  .sector-card:nth-child(1), .sector-card:nth-child(2) { grid-column: span 2; min-height: 340px; }
  .sector-card:nth-child(5) { grid-column: span 4; min-height: 300px; }
  .systems { grid-template-columns: repeat(2, 1fr); }
  .workshops { grid-template-columns: repeat(3, 1fr); }
  .workshop:nth-child(4), .workshop:nth-child(5) { min-height: 260px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.2rem; }
  .steps::before { display: none; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav-list, .site-nav .btn { display: none; }
  .nav-toggle { display: flex; }
  .site-header { height: 68px; }
  .site-header:not(.is-solid) { background: rgba(251,247,239,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--rule); }
  .site-header.is-over-hero:not(.is-solid) .brand span { color: var(--forest-deep); }
  .site-header.is-over-hero:not(.is-solid) .nav-toggle span { background: var(--forest-deep); }
  .site-header.is-over-hero:not(.is-solid) .brand img { filter: none; }

  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: calc(var(--header-h) + 1rem); }
  .hero__text { padding-inline: var(--gutter); justify-self: stretch; max-width: none; }
  .hero__text-inner { max-width: none; }
  .hero__media { min-height: 58vh; margin-top: 1rem; }
  .hero__media::after { background: linear-gradient(180deg, var(--cream) 0%, rgba(251,247,239,0) 22%); }
  .hero__scroll { display: none; }

  .split, .split--wide, .split--narrow-first { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse .split__media { order: 0; }
  .media-frame::before { display: none; }
  .media-badge { right: 12px; bottom: 12px; }

  .timeline__item { grid-template-columns: 56px 1fr; }
  .timeline__media { grid-column: 1 / -1; }

  .layer { grid-template-columns: 62px 1fr; gap: 1.2rem; }

  .field-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 62vh; }
}

@media (max-width: 900px) {
  .cta-band .wrap > div { max-width: none; }
  .cta-band::after { width: 200px; right: -3%; top: auto; bottom: 4%; transform: none; opacity: .5; }
}

@media (max-width: 640px) {
  .sectors { grid-template-columns: 1fr; }
  .sector-card, .sector-card:nth-child(1), .sector-card:nth-child(2), .sector-card:nth-child(5) { grid-column: span 1; min-height: 290px; }
  .sector-card__body { min-height: 290px; }
  .systems, .workshops, .benefits, .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.2rem; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
  .cta-band::after { display: none; }
}

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


/* --------------------------------------------------------------------------
   24. Later additions
   -------------------------------------------------------------------------- */

/* Workshops: text can sit at the top or the bottom of the image. The scrim
   flips with it so the copy always has something dark behind it. */
.workshop--top .workshop__body { justify-content: flex-start; }
.workshop--top::after {
  background: linear-gradient(180deg, rgba(30,54,14,.94) 0%, rgba(30,54,14,.62) 26%,
                                      rgba(30,54,14,.10) 56%, rgba(30,54,14,.30) 100%);
}
.workshop--bottom .workshop__body { justify-content: flex-end; }

/* Centred pull quote */
.quote--centred {
  max-width: 46ch; margin-inline: auto; text-align: center;
}
.quote--centred blockquote { max-width: none; margin-inline: auto; }
.quote--centred cite { text-align: center; }

/* Five systems across */
.systems { grid-template-columns: repeat(5, 1fr); }

/* Question and answer sections */
.faqs {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.8rem, 3.2vw, 3rem) clamp(2rem, 4vw, 4rem);
}
.faq { border-top: 1px solid var(--rule); padding-top: 1.5rem; max-width: 54ch; }
.faq h3 {
  font-size: clamp(1.12rem, 1.5vw, 1.34rem); line-height: 1.24;
  margin-bottom: 0.7rem; color: var(--forest-deep);
}
.faq p { font-size: 0.95rem; line-height: 1.72; color: var(--ink-soft); margin: 0; }
.section--forest .faq { border-color: var(--rule-light); }
.section--forest .faq h3 { color: var(--cream); }
.section--forest .faq p { color: rgba(251,247,239,.76); }

/* Footer wordmark and leaf in the Harvestory orange */
.footer-brand--orange span { color: var(--orange); }
.footer-brand--orange img { filter: none; opacity: 1; }

@media (max-width: 1080px) {
  .systems { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .faqs { grid-template-columns: 1fr; gap: 1.6rem; }
  .faq { max-width: none; }
}
@media (max-width: 640px) {
  .systems { grid-template-columns: 1fr; }
  .quote--centred { text-align: left; }
  .quote--centred cite { text-align: left; }
}

/* Portrait photography inside an editorial split crops to a consistent
   shape rather than running to whatever height the original happens to be. */
.split__media--portrait img { aspect-ratio: 4 / 5; object-fit: cover; }
