/* ============================================================
   VERDE THEORY — a café crafted by Plant Meat
   ------------------------------------------------------------
   A standalone site: this folder carries its own fonts, styles,
   scripts and images, and links back to Plant Meat only by URL,
   so it can move to its own domain unchanged.

   Identity: Plant Meat speaks in wide, heavy capitals; Verde
   Theory speaks in a light serif, mixed case, with small spaced
   capitals for wayfinding. The page is a pale celadon white (a
   nod to the glazed-tile green of the room), the type is green-
   black, and the photography supplies all the warmth.
   Everything is sharp-cornered.
   ============================================================ */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-sans-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper:    #EEF0E8;   /* celadon chalk: the page          */
  --paper-2:  #E3E6DA;   /* the recessed band                */
  --paper-3:  #F6F6F1;   /* lifted (rare)                    */
  --ink:      #17201A;
  --ink-2:    #434E46;
  --ink-3:    #5B665E;   /* captions: AA on paper and paper-2 */
  --verde:    #2E5A3E;   /* glazed-tile green                */
  --deep:     #1B3426;   /* the dark band and footer         */
  --cream:    #F4F3EC;   /* type on deep                     */
  --cream-2:  #C9CEC0;
  --leaf:     #A9C08F;   /* small accents on deep only       */
  --rule:     rgba(23, 32, 26, .16);
  --rule-dk:  rgba(244, 243, 236, .18);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans:  "Albert Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --t-word:  clamp(4.2rem, 0.4rem + 15.5vw, 17rem);   /* the wordmark      */
  --t-xl:    clamp(2.6rem, 1.1rem + 4.8vw, 6.4rem);
  --t-lg:    clamp(2rem, 1.2rem + 2.7vw, 3.8rem);
  --t-md:    clamp(1.45rem, 1.1rem + 1.1vw, 2.15rem);
  --t-body:  1.0625rem;
  --t-sm:    .9375rem;
  --t-cap:   .71875rem;                                 /* 11.5px capitals  */

  --gutter:  clamp(1.25rem, 4vw, 3.5rem);
  --band:    clamp(5.5rem, 12vw, 11rem);
  --maxw:    1520px;
  --hdr:     76px;
  --ease:    cubic-bezier(.16, 1, .3, 1);
}

/* ---- base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hdr); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-body)/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
:where(ul, ol)[role="list"] { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--verde); color: var(--cream); }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .75rem 1rem; background: var(--ink); color: var(--cream);
  font: 600 var(--t-sm)/1 var(--sans); text-decoration: none;
}
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 3vw, 3rem); }

/* ---- type ----------------------------------------------------- */
.serif { font-family: var(--serif); font-weight: 300; font-optical-sizing: auto; letter-spacing: -.015em; }
.serif em, .serif i { font-style: italic; font-weight: 300; }
.t-xl { font-size: var(--t-xl); line-height: .98; letter-spacing: -.025em; }
.t-lg { font-size: var(--t-lg); line-height: 1.04; letter-spacing: -.02em; }
.t-md { font-size: var(--t-md); line-height: 1.18; }
.cap {
  font-family: var(--sans);
  font-size: var(--t-cap);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.muted { color: var(--ink-3); }
.lead { font-size: clamp(1.125rem, 1.03rem + .4vw, 1.35rem); line-height: 1.5; color: var(--ink-2); }
.body { color: var(--ink-2); max-width: 54ch; text-wrap: pretty; }
.body + .body { margin-top: 1em; }

/* ---- links and the one button -------------------------------- */
.link {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 var(--t-cap)/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; padding-block: .7rem;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - .35rem) / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% calc(100% - .35rem); }
.link__arrow { font-family: var(--sans); letter-spacing: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75em;
  min-height: 52px; padding: 0 1.6rem;
  border: 1px solid currentColor; background: transparent; color: inherit;
  font: 600 var(--t-cap)/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn--solid { background: var(--verde); border-color: var(--verde); color: var(--cream); }
.btn--solid:hover { background: var(--deep); border-color: var(--deep); }
.on-dark .btn:hover { background: var(--cream); border-color: var(--cream); color: var(--deep); }

/* ---- header ---------------------------------------------------
   Transparent over the hero with cream type; once the hero has
   gone it settles onto the page colour. */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--hdr);
  color: var(--cream);
  transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.hdr.is-solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--rule); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.mark {
  font-family: var(--serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -.02em; line-height: 1;
  text-decoration: none; white-space: nowrap;
}
.mark em { font-style: italic; font-weight: 300; }
.hdr__nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.5rem); }
.hdr__nav a { text-decoration: none; font: 600 var(--t-cap)/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; padding-block: .75rem; opacity: .86; transition: opacity .3s; }
.hdr__nav a:hover { opacity: 1; }
.hdr__end { display: flex; align-items: center; gap: 1.25rem; }
.hdr__end .btn { min-height: 44px; padding: 0 1.15rem; }
/* the way back to the parent brand: always in the header, on every size */
.hdr__back {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px;
  font: 600 var(--t-cap)/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; opacity: .86; transition: opacity .3s;
}
.hdr__back:hover { opacity: 1; }
.hdr__menu { display: none; }

@media (max-width: 899px) {
  .hdr__nav, .hdr__end .btn { display: none; }
  .hdr__menu {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px; padding: 0 .25rem;
    background: none; border: 0; color: inherit; cursor: pointer;
    font: 600 var(--t-cap)/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  }
}

/* the phone menu: a full-height sheet */
.sheet {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hdr) + 2rem) var(--gutter) 2.5rem;
  background: var(--deep); color: var(--cream);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.sheet.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.sheet__close { position: absolute; top: 16px; right: var(--gutter); min-width: 44px; min-height: 44px; background: none; border: 0; color: inherit; font: 600 var(--t-cap)/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; cursor: pointer; }
.sheet__links { display: grid; gap: .4rem; }
.sheet__links a { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 9vw, 3.4rem); line-height: 1.1; text-decoration: none; }
.sheet__foot { display: grid; gap: .5rem; color: var(--cream-2); }

/* ---- reveal: content fades up as it arrives (JS only) -------- */
.js [data-in] { opacity: 0; translate: 0 22px; transition: opacity 1s var(--ease), translate 1.1s var(--ease); }
.js [data-in].is-in { opacity: 1; translate: 0 0; }
.js [data-in="2"] { transition-delay: .08s; }
.js [data-in="3"] { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) { .js [data-in] { opacity: 1; translate: none; transition: none; } }

/* ============================================================
   HERO — the room, the name
   ============================================================ */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: var(--deep); color: var(--cream); }
.hero__img { position: absolute; inset: 0; margin: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.js .hero__img img { animation: settle 2.6s var(--ease) both; }
@keyframes settle { from { scale: 1.07; } to { scale: 1; } }
@media (prefers-reduced-motion: reduce) { .js .hero__img img { animation: none; } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  /* the room is bright, so the lower half carries the small type: dark
     enough at the line and caption, clear at the top where the room is */
  background:
    linear-gradient(180deg, rgba(14, 24, 18, .45) 0%, rgba(14, 24, 18, 0) 20%),
    linear-gradient(180deg, rgba(14, 24, 18, 0) 34%, rgba(14, 24, 18, .5) 58%, rgba(14, 24, 18, .86) 100%);
}
.hero__in {
  position: absolute; z-index: 1; inset: auto 0 0;
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
}
.hero__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(1.75rem, 5vh, 3.75rem); }
.hero__line { max-width: 30ch; color: var(--cream-2); font-size: clamp(1rem, .95rem + .35vw, 1.2rem); line-height: 1.45; }
.hero__when { text-align: right; color: var(--cream-2); line-height: 2; }
.hero__word {
  font-family: var(--serif); font-weight: 300; font-size: var(--t-word);
  line-height: .82; letter-spacing: -.045em; white-space: nowrap;
  margin-left: -.04em;
}
.hero__word em { font-style: italic; font-weight: 200; }
@media (max-width: 699px) {
  .hero__top { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero__when { text-align: left; }
  .hero__word { white-space: normal; line-height: .86; }
}

/* ============================================================
   01 · PLANT MEAT, IRL — the reason to come in
   ============================================================ */
.irl { padding-block: var(--band) calc(var(--band) * .8); }
.irl__head { grid-column: 1 / 8; }
.irl__head .cap { display: block; margin-bottom: 1.75rem; color: var(--verde); }
.irl__text { grid-column: 9 / 13; align-self: end; display: grid; gap: 1.25rem; }
.irl__claims { color: var(--verde); }

/* two photographs, offset: a wide table on the left, a plate
   stepping down on the right */
.irl__pair { margin-top: clamp(3.5rem, 8vw, 7rem); align-items: start; }
.irl__wide { grid-column: 1 / 8; margin: 0; }
.irl__wide img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.irl__tall { grid-column: 9 / 13; margin: clamp(4rem, 12vw, 11rem) 0 0; }
.irl__tall img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.fig-cap { margin-top: .9rem; color: var(--ink-3); }

@media (max-width: 899px) {
  .irl__head { grid-column: 1 / 13; }
  .irl__text { grid-column: 4 / 13; margin-top: 2.5rem; }
  .irl__wide { grid-column: 1 / 11; }
  .irl__tall { grid-column: 6 / 13; margin-top: 2.5rem; }
}
@media (max-width: 599px) {
  .irl__text { grid-column: 1 / 13; }
  .irl__wide { grid-column: 1 / 13; }
  .irl__tall { grid-column: 4 / 13; }
}

/* ============================================================
   02 · THE IDEA — three phrases, one paragraph
   ============================================================ */
.idea { padding-block: calc(var(--band) * .8); border-top: 1px solid var(--rule); }
.idea__label { grid-column: 1 / 4; color: var(--verde); padding-top: .9rem; }
.idea__words { grid-column: 4 / 13; }
.idea__words span { display: block; }
.idea__words span:nth-child(2) { padding-left: 1.6em; }
.idea__words span:nth-child(3) { padding-left: .8em; }
.idea__text { grid-column: 7 / 12; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 899px) {
  .idea__label { grid-column: 1 / 13; padding-top: 0; margin-bottom: 1.5rem; }
  .idea__words { grid-column: 1 / 13; }
  .idea__text { grid-column: 4 / 13; }
}
@media (max-width: 599px) {
  .idea__words span:nth-child(2) { padding-left: .8em; }
  .idea__words span:nth-child(3) { padding-left: .4em; }
  .idea__text { grid-column: 1 / 13; }
}

/* ============================================================
   03 · THE COUNTER — six stations, one photograph at a time
   ============================================================ */
.counter { padding-block: calc(var(--band) * .4) var(--band); }
.counter__grid { align-items: start; }
.counter__stage {
  grid-column: 1 / 7; position: sticky; top: calc(var(--hdr) + 1.5rem);
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2);
}
.counter__stage figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s var(--ease); }
.counter__stage figure.is-on { opacity: 1; }
.counter__stage img { width: 100%; height: 100%; object-fit: cover; }
.counter__list { grid-column: 8 / 13; }
.counter__head { padding-bottom: clamp(2rem, 4vw, 3rem); }
.counter__head .cap { color: var(--verde); margin-bottom: 1.25rem; }
.counter__stations { border-top: 1px solid var(--rule); }
.station { border-bottom: 1px solid var(--rule); }
/* the description row opens by growing its grid track from 0fr to 1fr,
   which animates without re-laying out the list on every frame */
.station__btn {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer;
  display: grid; grid-template-columns: 2.6rem 1fr; grid-template-rows: auto 0fr; column-gap: 1rem;
  padding: clamp(1.1rem, 2.2vw, 1.6rem) 0;
  transition: grid-template-rows .5s var(--ease);
}
.station.is-on .station__btn { grid-template-rows: auto 1fr; }
.station__btn:focus-visible { outline: 2px solid var(--verde); outline-offset: 4px; }
.station__no { grid-row: 1 / 3; color: var(--ink-3); padding-top: .55rem; font-variant-numeric: tabular-nums; }
.station__name { font-family: var(--serif); font-weight: 300; font-size: var(--t-md); line-height: 1.1; color: var(--ink-3); transition: color .35s var(--ease); }
.station__line { min-height: 0; overflow: hidden; color: var(--ink-2); font-size: var(--t-sm); opacity: 0; transition: opacity .4s var(--ease); }
.station__line > span { display: block; padding-top: .35rem; }
.station.is-on .station__name, .station__btn:hover .station__name { color: var(--ink); }
.station.is-on .station__line { opacity: 1; }

@media (max-width: 899px) {
  .counter__stage { grid-column: 1 / 13; position: relative; top: auto; aspect-ratio: 4 / 3; }
  .counter__list { grid-column: 3 / 13; margin-top: 2.5rem; }
}
@media (max-width: 599px) {
  .counter__list { grid-column: 1 / 13; }
}

/* ============================================================
   04 · THE FEEL — the room, in an uneven gallery
   ============================================================ */
.feel { padding-block: var(--band); background: var(--paper-2); }
.feel__head { grid-column: 1 / 7; }
.feel__head .cap { display: block; margin-bottom: 1.5rem; color: var(--verde); }
.feel__note { grid-column: 9 / 13; align-self: end; }
.feel__gallery { margin-top: clamp(3rem, 7vw, 6rem); row-gap: clamp(1rem, 3vw, 3rem); align-items: start; }
.feel__gallery figure { margin: 0; }
.feel__gallery img { width: 100%; object-fit: cover; }
.feel__a { grid-column: 1 / 9; }
.feel__a img { aspect-ratio: 16 / 10; }
.feel__b { grid-column: 9 / 13; margin-top: clamp(6rem, 18vw, 16rem) !important; }
.feel__b img { aspect-ratio: 3 / 4; }
.feel__c { grid-column: 2 / 6; }
.feel__c img { aspect-ratio: 1; }
.feel__d { grid-column: 7 / 13; margin-top: clamp(-6rem, -8vw, -2rem) !important; }
.feel__d img { aspect-ratio: 4 / 3; }
@media (max-width: 899px) {
  .feel__head { grid-column: 1 / 13; }
  .feel__note { grid-column: 4 / 13; margin-top: 2rem; }
  .feel__a { grid-column: 1 / 13; }
  .feel__b { grid-column: 7 / 13; margin-top: 0 !important; }
  .feel__c { grid-column: 1 / 7; margin-top: clamp(3rem, 10vw, 6rem) !important; }
  .feel__d { grid-column: 2 / 13; margin-top: 0 !important; }
}

/* ============================================================
   05 · THE MENU — the dark band: the promise left, a plate right
   ============================================================ */
.menu { padding-block: var(--band); background: var(--deep); color: var(--cream); }
.menu .cap { color: var(--leaf); }
.menu__copy { grid-column: 1 / 7; align-self: center; }
.menu__head { margin-top: 1.5rem; }
.menu__text { margin-top: 2rem; max-width: 30ch; color: var(--cream-2); }
.menu__img { grid-column: 8 / 13; margin: 0; }
.menu__img img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .menu__copy { grid-column: 1 / 13; }
  .menu__img { grid-column: 4 / 13; margin-top: 3rem; }
  .menu__img img { aspect-ratio: 4 / 3; }
}
@media (max-width: 599px) {
  .menu__img { grid-column: 1 / 13; }
}

/* ============================================================
   06 · TAKE IT HOME — the link back to Plant Meat
   ============================================================ */
.home { padding-block: var(--band) calc(var(--band) * .7); }
.home__img { grid-column: 1 / 6; margin: 0; }
.home__img img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.home__text { grid-column: 7 / 12; align-self: center; display: grid; gap: 1.5rem; justify-items: start; }
.home__text .cap { color: var(--verde); }
.home__links { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
@media (max-width: 899px) {
  .home__img { grid-column: 1 / 8; }
  .home__text { grid-column: 3 / 13; margin-top: 2.5rem; }
}
@media (max-width: 599px) {
  .home__img { grid-column: 1 / 11; }
  .home__text { grid-column: 1 / 13; }
}

/* ============================================================
   07 · VISIT — where, when, how
   ============================================================ */
.visit { padding-block: calc(var(--band) * .7) var(--band); border-top: 1px solid var(--rule); }
.visit__head { grid-column: 1 / 6; }
.visit__head .cap { display: block; margin-bottom: 1.5rem; color: var(--verde); }
.visit__facts { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem clamp(1rem, 3vw, 3rem); align-content: start; padding-top: .6rem; }
.visit__facts dt { color: var(--ink-3); margin-bottom: .65rem; }
.visit__facts dd { font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); line-height: 1.25; }
.visit__facts dd small { display: block; margin-top: .6rem; font: 400 var(--t-sm)/1.55 var(--sans); color: var(--ink-2); }
.visit__actions { grid-column: 7 / 13; margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.visit__map { grid-column: 1 / 13; margin-top: clamp(3.5rem, 7vw, 6rem); aspect-ratio: 21 / 9; background: var(--paper-2); overflow: hidden; }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(.95); }
@media (max-width: 899px) {
  .visit__head { grid-column: 1 / 13; }
  .visit__facts, .visit__actions { grid-column: 3 / 13; margin-top: 2.5rem; }
  .visit__map { aspect-ratio: 4 / 3; }
}
@media (max-width: 599px) {
  .visit__facts { grid-column: 1 / 13; grid-template-columns: 1fr; }
  .visit__actions { grid-column: 1 / 13; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot { background: var(--deep); color: var(--cream); padding-top: clamp(4rem, 8vw, 7rem); }
.foot__cols { row-gap: 2.5rem; }
.foot__col { grid-column: span 4; display: grid; gap: .55rem; align-content: start; }
.foot__col .cap { color: var(--leaf); margin-bottom: .5rem; }
.foot__col a, .foot__col p { color: var(--cream-2); text-decoration: none; font-size: var(--t-sm); }
.foot__col a:hover { color: var(--cream); }
.foot__word {
  margin-top: clamp(3.5rem, 8vw, 7rem);
  font-family: var(--serif); font-weight: 300; line-height: .8; letter-spacing: -.045em;
  font-size: calc((min(100vw, var(--maxw)) - 2 * var(--gutter)) / 5.15);
  white-space: nowrap; color: var(--cream);
}
.foot__word em { font-style: italic; font-weight: 200; }
.foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.5rem 2rem; margin-top: 1.5rem; border-top: 1px solid var(--rule-dk); color: var(--cream-2); }
.foot__bar a { color: inherit; }
@media (max-width: 899px) { .foot__col { grid-column: span 6; } }
@media (max-width: 499px) { .foot__col { grid-column: span 12; } }
