/* ============================================================
   PLANT MEAT — reset, typography, layout primitives, chrome
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* this site has one deliberate light theme — tell the browser not to
     auto-dark-mode form controls, scrollbars, or apply its own forced-dark
     contrast heuristics to individual elements */
  color-scheme: light;
}
html.lenis { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-base);
  line-height: 1.6;
  font-stretch: 100%;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
/* author display rules (e.g. .prod { display: flex }) would otherwise beat
   the browser's own [hidden] style, and filtered cards would stay visible */
[hidden] { display: none !important; }
img, picture, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--verde-tint); color: var(--ink); }

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

/* The paper grain is retired: the redesign is a clean white page,
   and a fixed noise layer repaints on every scroll frame. */

/* ============================================================
   TYPE
   Mona Sans carries display, text and captions through its
   width axis. Instrument Serif appears only as standalone caps
   statements (PRO meat's narrow-serif role), never as an accent
   word dropped into a sans headline.
   ============================================================ */

.display {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  line-height: .88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--green);
}
.display--hero { font-size: var(--t-hero); line-height: .84; letter-spacing: -0.045em; }
.display--mega { font-size: var(--t-mega); letter-spacing: -0.04em; }
.display--xxl  { font-size: var(--t-xxl); }
.display--xl   { font-size: var(--t-xl); line-height: .92; letter-spacing: -.03em; }
.display--lg   { font-size: var(--t-lg); line-height: 1; letter-spacing: -.02em; }

/* A headline sized so its longest line spans the content width, the way
   the hero's words do, instead of stopping two thirds across and leaving
   the right side empty. --fill is (share of width) / (longest line in em),
   measured per headline; it never drops below the normal xxl size. */
.title-fill {
  --fill: .085;
  font-size: max(var(--t-xxl), calc((min(100vw, var(--maxw)) - 2 * var(--gutter)) * var(--fill)));
}

/* The accent-word habit — a serif italic word inside a sans headline —
   is retired. Wherever older markup still has it, it simply inherits. */
h1 .serif, h2 .serif, h3 .serif, .display .serif {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

/* standalone serif, upright */
.serif {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* a narrow-serif caps statement: the second voice of the page */
.statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-statement);
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ink);
  text-wrap: balance;
}

/* tiny wide caps — captions, labels, small headings */
.label {
  font-family: var(--display);
  font-stretch: 125%;
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.label--verde { color: var(--green-2); }
.label-tick { display: inline-block; }
.label-tick::before { content: none; }   /* decorative dots retired */

/* the handwriting: one note per chapter, at most */
.hand {
  font-family: var(--hand);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--green-2);
}

.lede {
  font-size: var(--t-md);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: var(--measure);
  letter-spacing: -.005em;
  text-wrap: pretty;
}

.body-text {
  color: var(--ink-2);
  max-width: var(--measure);
  text-wrap: pretty;
}
.body-text + .body-text { margin-top: 1.1em; }

.muted { color: var(--ink-3); }

/* ============================================================
   LAYOUT
   ============================================================ */

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 1120px; }

.band { padding-block: var(--band); }
.band--tight { padding-block: calc(var(--band) * .58); }
.band--sink { background: var(--paper-sink); }
.band--warm { background: var(--paper-warm); }

/* Visual weight is not uniform across the homepage. Hero chapters
   (Hero, Product Range, "Wait…plant-based?", Verde Theory, Our Story,
   Final CTA) get more breathing room; media there can run edge to edge
   (see .gallery-wrap in home.css).
   Connective-tissue sections stay on .band--tight + .shell--narrow and
   never use these. */
.chapter { padding-block: calc(var(--band) * 1.08); }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* editorial 12-col */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(6, 1fr); }
}

/* section heading block: mono index + display title, offset */
.sec-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.sec-head__idx { grid-column: 1 / 3; padding-bottom: .55rem; }
.sec-head__title { grid-column: 3 / 10; }
.sec-head__aside { grid-column: 10 / 13; padding-bottom: .5rem; }
/* optional third line under the title — a section's editorial aside */
.sec-head__note { grid-column: 3 / 10; margin-top: 1rem; }
@media (max-width: 900px) {
  .sec-head { grid-template-columns: 1fr; gap: 1rem; }
  .sec-head__idx, .sec-head__title, .sec-head__aside, .sec-head__note { grid-column: 1 / -1; padding-bottom: 0; }
}

/* ============================================================
   BUTTONS / LINKS
   One shape for every button: a true oval, set in tiny wide
   caps. Outline by default; solid green for the single highest-
   intent action on a page; light for use over photography.
   ============================================================ */

.btn {
  --btn-fg: var(--green);
  --btn-bd: var(--green);
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 3.4rem;
  padding: 0 2.6em;
  border: 1px solid var(--btn-bd);
  border-radius: 50% / 50%;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--display);
  font-stretch: 125%;
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:hover { --btn-bg: var(--green); --btn-fg: var(--paper); }
.btn:active { transform: translateY(1px); }

.btn--solid,
.btn--verde { --btn-bg: var(--green); --btn-fg: var(--paper); }
.btn--solid:hover,
.btn--verde:hover { --btn-bg: var(--green-deep); --btn-bd: var(--green-deep); }

.btn--light { --btn-fg: var(--paper); --btn-bd: rgba(var(--paper-rgb), .72); }
.btn--light:hover { --btn-bg: var(--paper); --btn-fg: var(--green); --btn-bd: var(--paper); }

/* the oval is the affordance; arrows inside buttons are retired */
.btn__arrow { display: none; }

/* underline-on-hover text link */
.tlink {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.tlink:hover::after { transform: scaleX(1); transform-origin: left; }

/* the quiet secondary action: wide caps, a permanent hairline that
   retracts on hover */
.link {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  font-family: var(--display);
  font-stretch: 125%;
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .55s var(--ease-out);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link--light { color: var(--paper); }

/* ============================================================
   NAV
   Wordmark left, the brief's six links centred in tiny wide
   caps, the one action right. One line at every desktop width;
   below 1180px it folds into the menu.
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.nav.is-stuck {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--rule-soft);
}
.nav.is-hidden { transform: translateY(-100%); }

/* wordmark: the existing leaf + PLANT bold / MEAT light structure,
   redrawn in the new type */
.mark {
  display: inline-flex;
  align-items: center;
  gap: .55ch;
  justify-self: start;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: -.01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--green);
}
.mark__leaf {
  width: 15px; height: 15px;
  color: var(--green);
  flex: none;
  transition: transform .6s var(--ease-out);
}
.mark:hover .mark__leaf { transform: rotate(-24deg) scale(1.12); }
.mark__thin { font-weight: 300; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.2vw, 2.4rem);
  font-family: var(--display);
  font-stretch: 125%;
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nav__link { position: relative; padding: .5em 0; color: var(--ink-2); white-space: nowrap; transition: color .3s; }
.nav__link:hover { color: var(--green); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--green); }

.nav__end { justify-self: end; display: flex; align-items: center; gap: 1rem; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 50%;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--green);
  position: relative;
  transition: background .2s;
}
.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px; height: 1.5px;
  background: var(--green);
  transition: transform .4s var(--ease-out);
}
.nav__burger span::before { top: -5px; }
.nav__burger span::after  { top: 5px; }
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { transform: translateY(5px) rotate(45deg); }
body.menu-open .nav__burger span::after  { transform: translateY(-5px) rotate(-45deg); }

/* full-screen menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: var(--paper);
  padding: calc(var(--nav-h) + 2.5rem) var(--gutter) 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-out);
  pointer-events: none;
}
body.menu-open .menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu__links { display: flex; flex-direction: column; }
.menu__link {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(1.9rem, 8.5vw, 3.4rem);
  letter-spacing: -.035em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--green);
  padding: .14em 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .3s;
}
body.menu-open .menu__link { opacity: 1; transform: none; }
body.menu-open .menu__link:nth-child(1) { transition-delay: .14s; }
body.menu-open .menu__link:nth-child(2) { transition-delay: .19s; }
body.menu-open .menu__link:nth-child(3) { transition-delay: .24s; }
body.menu-open .menu__link:nth-child(4) { transition-delay: .29s; }
body.menu-open .menu__link:nth-child(5) { transition-delay: .34s; }
body.menu-open .menu__link:nth-child(6) { transition-delay: .39s; }
.menu__link:hover { color: var(--green-2); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; justify-content: space-between; align-items: center; }

@media (max-width: 1179px) {
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__end .link { display: none; }
  .nav__burger { display: inline-flex; }
}
body.menu-open { overflow: hidden; }

/* ============================================================
   FOOTER
   One green field — the page's final brand moment. The brief's
   four columns in tiny caps, then the wordmark across the full
   width, then a hairline bar.
   ============================================================ */

.foot {
  background: var(--green);
  color: var(--paper);
  padding-block: clamp(4.5rem, 9vw, 8rem) 2rem;
}
.foot a { color: var(--paper); }
.foot .label { color: rgba(var(--paper-rgb), .62); }

.foot__top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3rem);
}
.foot__col { display: flex; flex-direction: column; gap: .75rem; }
.foot__col .label { margin-bottom: .6rem; }
.foot__col a {
  width: fit-content;
  font-size: var(--t-sm);
  color: rgba(var(--paper-rgb), .86);
  transition: color .3s;
}
.foot__col a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.foot__addr {
  margin-top: -.3rem;
  font-size: var(--t-xs);
  line-height: 1.5;
  color: rgba(var(--paper-rgb), .62);
}
@media (max-width: 760px) {
  .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.foot__word {
  margin-block: clamp(3.5rem, 8vw, 6.5rem) clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  /* "PLANT MEAT" measures ~6.75em wide in this cut, so dividing the
     container by that makes the wordmark fill it at every width */
  font-size: calc((min(100vw, var(--maxw)) - 2 * var(--gutter)) / 6.8);
  line-height: .8;
  letter-spacing: -.05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--paper);
  user-select: none;
}

.foot__bar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(var(--paper-rgb), .16);
  font-family: var(--display);
  font-stretch: 125%;
  font-size: var(--t-micro);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(var(--paper-rgb), .62);
}

/* ============================================================
   SCROLL REVEAL — GSAP drives these; CSS is the no-JS fallback
   ============================================================ */

[data-reveal] { will-change: transform, opacity; }

html.js [data-reveal] { opacity: 0; transform: translateY(26px); }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* per-line masked text reveal — .line wrappers injected by JS */
.line-mask { display: block; overflow: hidden; }
.line-mask > span { display: block; will-change: transform; }

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

/* ============================================================
   UTILITY
   ============================================================ */

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -100px;
  z-index: 999; padding: .8em 1.2em;
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-pill);
  font-family: var(--mono); font-size: var(--t-xs);
  transition: top .3s var(--ease-out);
}
.skip:focus { top: 1rem; }

.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.wrap { flex-wrap: wrap; }
.gap-s { gap: .75rem; } .gap-m { gap: 1.25rem; } .gap-l { gap: 2rem; }
.mt-s { margin-top: 1rem; } .mt-m { margin-top: 2rem; } .mt-l { margin-top: 3.5rem; }
