/* Bereket Çiftliği — the packing shed: poplar slats, aniline stencil and stamp, lithographed labels. */

@font-face { font-family: 'Big Shoulders Stencil'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/bigshoulders-stencil-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Big Shoulders Stencil'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/bigshoulders-stencil-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(../fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --wood: #e6d6b0;
  --wood-dark: #2a1d10;
  --seam: rgba(42, 29, 16, .5);
  --ink: #24133f;          /* body text: aniline violet, nearly black */
  --violet: #5b2a8a;       /* stencil and stamp ink */
  --violet-soft: rgba(91, 42, 138, .16);
  --ultra: #1c3593;        /* litho label ground */
  --paper: #f7f1e3;
  --tomato: #b8301b;       /* the one action ink */
  --tomato-deep: #962512;
  --slat: 15rem;           /* the module: one board */
  --gut: clamp(1rem, 4vw, 3rem);
  --max: 78rem;
  --stencil: 'Big Shoulders Stencil', 'Arial Narrow', sans-serif;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 1px rgba(40, 25, 10, .2), 0 12px 26px -16px rgba(40, 25, 10, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; scrollbar-color: var(--violet) #cdbb92; }
html:not(.anim) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55;
  background-color: var(--wood);
  background-image:
    linear-gradient(to bottom, transparent calc(100% - 5px), var(--seam) calc(100% - 5px), var(--seam) calc(100% - 2px), rgba(255, 250, 236, .45) calc(100% - 2px)),
    url(../img/poplar.jpg);
  background-size: 100% var(--slat), 72rem calc(var(--slat) * 4);
  background-position: 0 4rem, 0 4rem;
  caret-color: var(--violet);
}
::selection { background: var(--violet); color: var(--paper); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #cdbb92; }
::-webkit-scrollbar-thumb { background: var(--violet); border: 3px solid #cdbb92; border-radius: 6px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
p { margin: 0 0 .8em; }

/* ---------- type voices ---------- */
.stencil {
  font-family: var(--stencil); font-weight: 800; text-transform: uppercase; color: var(--violet);
  letter-spacing: .01em; line-height: .92; margin: 0; mix-blend-mode: multiply;
}
h2.stencil { font-size: clamp(2.6rem, 5.2vw, 4.75rem); text-wrap: balance; margin-bottom: .35em; }
.stencil--mid { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.label-head {
  font-family: var(--sans); font-stretch: 125%; font-weight: 850; text-transform: uppercase;
  letter-spacing: .02em; font-size: .92rem; line-height: 1.2; margin: 0 0 .5rem;
}
.lede { font-size: clamp(1.08rem, 1.4vw, 1.25rem); max-width: 58ch; line-height: 1.5; }
.link { color: var(--violet); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; font-weight: 650; }
.link:hover { color: var(--ink); }

/* ---------- labels, stamps, placeholders ---------- */
.label { background: var(--paper); color: var(--ink); padding: 1.25rem 1.4rem; border-radius: 3px; box-shadow: var(--shadow); }
.label--ultra { background: var(--ultra); color: var(--paper); }
.stamp {
  display: inline-block; font-family: var(--stencil); font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  color: var(--violet); border: 5px double currentColor; padding: .1em .55em .05em; line-height: 1.1;
  transform: rotate(-4deg); mix-blend-mode: multiply; border-radius: 3px; white-space: nowrap;
}
.stamp--urgent { font-size: 1.35em; transform: rotate(-7deg); margin-inline: -.2em .2em; }
.ph {
  display: inline-block; font-size: max(.78em, .72rem); font-weight: 700; color: var(--violet); border: 1.5px dashed currentColor;
  padding: 0 .4em; border-radius: 2px; white-space: nowrap; line-height: 1.45; vertical-align: .08em;
}
.label--ultra .ph { color: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 2.9rem;
  font-family: var(--stencil); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 1.2rem;
  padding: .55em 1.3em .5em; border: 0; border-radius: 2px; cursor: pointer; text-decoration: none; line-height: 1;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.btn--action { background: var(--tomato); color: var(--paper); box-shadow: 0 2px 0 rgba(60, 14, 6, .35), 0 12px 22px -14px rgba(120, 30, 10, .8); }
.btn--action:hover { background: var(--tomato-deep); }
.btn--action:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--violet); }
.btn--small { font-size: 1rem; min-height: 2.5rem; padding: .45em 1em .4em; }
.btn--big { font-size: clamp(1.4rem, 2.4vw, 2rem); padding: .6em 1.6em .55em; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 1.5rem;
  padding: .55rem var(--gut); min-height: 4rem;
  background: var(--wood) url(../img/poplar.jpg) 0 -30rem / 72rem calc(var(--slat) * 4);
  box-shadow: 0 3px 0 var(--seam), 0 4px 0 rgba(255, 250, 236, .4), 0 10px 18px -12px rgba(40, 25, 10, .5);
}
.brand { display: flex; align-items: baseline; gap: .4rem; text-decoration: none; color: var(--violet); mix-blend-mode: multiply; }
.brand__word { font-family: var(--stencil); font-weight: 900; font-size: 1.9rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.brand__sub { font-family: var(--stencil); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; }
.nav { display: flex; gap: 1.2rem; margin-inline: auto; }
.nav a { text-decoration: none; font-weight: 650; font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--violet); color: var(--violet); }
.top__tools { display: flex; align-items: center; gap: .8rem; }
.lang { display: flex; border: 2px solid var(--ink); border-radius: 2px; }
.lang a { text-decoration: none; font-weight: 750; font-size: .85rem; padding: .25rem .5rem; min-width: 2.2rem; text-align: center; }
.lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.motion-toggle {
  display: inline-flex; align-items: center; gap: .4rem; background: transparent; border: 2px solid var(--ink); border-radius: 2px;
  font-size: .85rem; font-weight: 700; padding: .25rem .55rem; cursor: pointer; min-height: 2.1rem;
}
.motion-toggle__state { font-family: var(--stencil); font-weight: 800; text-transform: uppercase; color: var(--violet); }
@media (max-width: 1100px) { .nav { display: none; } .top { justify-content: space-between; } }
@media (max-width: 560px) {
  .brand__sub { display: none; }
  .motion-toggle > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .top { gap: .6rem; } .top__tools { gap: .45rem; }
  .btn--small { font-size: .9rem; padding: .45em .7em .4em; }
}

/* ---------- sections ---------- */
.sec { padding-block: 6.5rem; position: relative; }
.sec::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: var(--seam); box-shadow: 0 1px 0 rgba(255, 250, 236, .45); }
.sec__head { margin-bottom: 2.6rem; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(1rem, 3vh, 2rem); overflow: hidden; }
.hero__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 23rem); gap: 1rem 3rem; align-items: end; }
.hero__title { font-size: clamp(3.1rem, 7.2vw, 6rem); line-height: .88; text-wrap: balance; }
.hero__lede { font-size: 1.12rem; margin: 0 0 .4rem; max-width: 36ch; }
.hero__stage { position: relative; height: clamp(34rem, calc(100vh - 13rem), 44rem); margin-top: .4rem; }
.crate-host { position: relative; width: 100%; height: 100%; }
.crate-host canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.crate-fallback { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.crate-host.is-live .crate-fallback { visibility: hidden; }
.crate-host--hero .crate-fallback { object-fit: contain; object-position: 50% 0; }
.slip {
  position: absolute; left: 50%; bottom: clamp(.5rem, 3vh, 2rem); width: min(46rem, calc(100% - 2 * var(--gut)));
  transform: translateX(-50%) rotate(-1deg); background: var(--paper); border-radius: 3px; box-shadow: var(--shadow), 0 30px 50px -30px rgba(40, 25, 10, .6);
  padding: 1rem 1.3rem 1.1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.4rem; align-items: start; z-index: 2;
}
.slip::before, .slip::after { content: ''; position: absolute; top: -.35rem; width: 1.6rem; height: .7rem; border: 2px solid #8d8a84; border-bottom: 0; border-radius: 2px 2px 0 0; }
.slip::before { left: 2rem; } .slip::after { right: 2rem; }
.slip__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: .45rem; }
.slip__title { font-family: var(--sans); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 1.05rem; margin: 0; }
.slip__week { margin: 0; font-size: .85rem; font-weight: 650; color: var(--violet); }
.slip__inv { grid-column: 1 / -1; margin: 0; font-size: .95rem; font-weight: 600; }
.slip__go { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.slip__note { margin: 0; font-size: .85rem; max-width: 18ch; }
.cutoff { margin: 0; font-size: .85rem; display: grid; gap: .1rem; justify-items: end; text-align: right; }
.cutoff__label { font-weight: 650; }
.cutoff__clock { font-family: var(--stencil); font-weight: 800; font-size: 1.6rem; color: var(--tomato); letter-spacing: .03em; font-variant-numeric: tabular-nums; line-height: 1; }
.cutoff__ph { font-size: .78rem; color: var(--violet); font-weight: 650; }

/* segmented radios */
.seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; min-width: 0; }
.seg legend, .seg__cap { font-family: var(--sans); font-stretch: 125%; font-weight: 850; text-transform: uppercase; font-size: .78rem; letter-spacing: .03em; margin-bottom: .35rem; padding: 0; width: 100%; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label > span {
  display: grid; gap: .05rem; border: 2px solid var(--ink); border-radius: 2px; padding: .35rem .7rem .3rem; min-height: 2.75rem; align-content: center;
  transition: background-color .15s var(--ease), color .15s var(--ease), transform .2s var(--ease);
}
.seg b { font-family: var(--stencil); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .03em; line-height: 1; }
.seg small { font-size: .78rem; font-weight: 600; }
.seg input:checked + span { background: var(--violet); color: var(--paper); border-color: var(--violet); transform: rotate(-1.5deg); }
.seg input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 3px; }
.seg label:hover span { background: var(--violet-soft); }
.seg label:hover input:checked + span { background: var(--violet); }

/* ---------- this week: the packing list ---------- */
.crop-list { list-style: none; margin: 0; padding: 0; background: var(--paper); border-radius: 3px; box-shadow: var(--shadow); }
.crop {
  display: grid; grid-template-columns: minmax(9rem, 13rem) minmax(13rem, 17rem) minmax(0, 1fr) 7rem; gap: .4rem 1.6rem; align-items: center;
  padding: .85rem 1.4rem; border-bottom: 1.5px solid rgba(36, 19, 63, .22);
}
.crop:last-child { border-bottom: 0; }
.crop__name { font-family: var(--stencil); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; color: var(--violet); line-height: 1; margin: 0; }
.crop__note { margin: 0; font-size: .98rem; }
.crop__amt { margin: 0; text-align: right; font-weight: 750; font-variant-numeric: tabular-nums; }
.crop__amt small { display: block; font-weight: 500; font-size: .78rem; }
.months12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; }
.months12 i { height: 1.35rem; border: 1.5px dashed rgba(36, 19, 63, .45); border-radius: 1px; font-style: normal; font-size: .62rem; font-weight: 750; display: grid; place-items: center; color: var(--ink); }
.months12 i.on { background: var(--violet); border: 1.5px solid var(--violet); color: var(--paper); }
.months12 i.now { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--tomato); }
.months12 i.store { background: var(--violet-soft); border-style: solid; border-color: var(--violet); }
.spares, .ghosts { margin-top: 2.4rem; }
.spares > p, .ghosts > p { max-width: 60ch; }
.crop-list--small .crop__name { font-size: 1.35rem; }
.crop-list--ghost { background: transparent; box-shadow: none; border: 2.5px dashed rgba(36, 19, 63, .55); }
.crop-list--ghost .crop__name { color: var(--ink); -webkit-text-stroke: 0; }
.crop-list--ghost .crop__amt { font-family: var(--stencil); text-transform: uppercase; color: var(--violet); font-size: 1.1rem; }

/* ---------- year ---------- */
.year { padding-block: 0; }
.year__pin { min-height: 100vh; padding-block: 3.5rem 2.5rem; display: flex; align-items: center; }
.year__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2.5rem; align-items: start; }
.year__left .lede { font-size: 1.02rem; margin-bottom: .2rem; }
.crate-host--year { height: clamp(15rem, 38vh, 24rem); margin-block: .2rem .4rem; }
html:not(.anim) .crate-host--year, .no-webgl .crate-host--year { display: none; }
.year__now { margin: 0 0 .6rem; display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; min-height: 3.2rem; }
.year__month { font-size: 2.8rem; }
.year__count { font-size: .95rem; font-weight: 600; max-width: 34ch; }
.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: .3rem; }
.months button {
  font-family: var(--stencil); font-weight: 800; text-transform: uppercase; font-size: .95rem; letter-spacing: .03em;
  border: 2px solid var(--ink); background: transparent; border-radius: 2px; padding: .35rem .2rem; cursor: pointer; min-height: 2.4rem;
}
.months button[aria-pressed="true"] { background: var(--violet); color: var(--paper); border-color: var(--violet); }
.months button:hover { background: var(--violet-soft); }
.months button[aria-pressed="true"]:hover { background: var(--violet); }
.cal-scroll { overflow-x: auto; background: var(--paper); border-radius: 3px; box-shadow: var(--shadow); padding: .6rem .8rem .7rem; }
.cal { border-collapse: separate; border-spacing: 2px 1px; width: 100%; font-size: .74rem; }
.cal th { font-weight: 750; text-align: left; white-space: nowrap; padding: 0 .5rem 0 0; line-height: 1.05; }
.cal thead th { text-align: center; padding: 0 0 .2rem; font-family: var(--stencil); font-weight: 800; text-transform: uppercase; font-size: .8rem; }
.cal tbody th.grp { padding-top: .35rem; font-family: var(--sans); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: .7rem; color: var(--violet); }
.cal td { height: .95rem; min-width: 1.4rem; border: 1.25px dashed rgba(36, 19, 63, .32); border-radius: 1px; transition: opacity .6s var(--ease), background-color .3s var(--ease); }
.cal td.on { background: var(--violet); border: 1.25px solid var(--violet); }
.cal td.store { background: var(--violet-soft); border: 1.25px solid rgba(91, 42, 138, .5); }
.cal .col-now { box-shadow: inset 0 0 0 999px rgba(184, 48, 27, 0); outline: 2px solid var(--tomato); outline-offset: 0; }
.cal thead th.col-now { color: var(--paper); background: var(--tomato); outline: 0; border-radius: 2px; }
.cal .col-was { outline: 1px dashed rgba(184, 48, 27, .55); }
.cal tr.row-now th { color: var(--tomato); }
.cal__key { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; font-size: .85rem; margin-top: .6rem; }
.cal__k { display: inline-block; width: 1.3rem; height: .8rem; border-radius: 1px; }
.cal__k--on { background: var(--violet); }
.cal__k--off { border: 1.5px dashed rgba(36, 19, 63, .5); }
.cal__k--store { background: var(--violet-soft); border: 1.5px solid rgba(91, 42, 138, .5); }

/* ---------- farm ---------- */
.farm__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.4rem; align-items: start; }
.photo { margin: 0; }
.photo img { width: 100%; height: auto; border-radius: 2px; box-shadow: var(--shadow); }
.photo--tall img { aspect-ratio: 9 / 13; object-fit: cover; }
.photo figcaption { font-size: .85rem; margin-top: .55rem; font-weight: 550; }
.practices { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.practices .label { max-width: 40rem; }
.practices .label:nth-child(odd) { transform: rotate(-.5deg); }
.practices .label:nth-child(even) { transform: rotate(.45deg); margin-left: clamp(0rem, 4vw, 3.5rem); }
.practices p { margin: 0; }
.cert { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin: 2.6rem 0 0; font-weight: 600; max-width: 62rem; }
.rotation { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.4rem; align-items: center; margin-top: calc(var(--slat) / 2); }
.years { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0; }
.chip {
  font-family: var(--stencil); font-weight: 800; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .03em;
  background: transparent; border: 2px solid var(--ink); border-radius: 2px; padding: .4rem .8rem .35rem; min-height: 2.6rem; cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.chip[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: var(--paper); }
.chip:hover { background: var(--violet-soft); }
.chip[aria-pressed="true"]:hover { background: var(--violet); }
.rotation__why { min-height: 4.8em; font-weight: 550; max-width: 46ch; }
.rotation__field { position: relative; }
.field-svg { width: 100%; height: auto; display: block; background: #7a5a36; border-radius: 3px; box-shadow: var(--shadow); }
.parcel { fill: #6a4a2a; stroke: #4a321b; stroke-width: 2; }
.parcel__fill { transition: fill .6s var(--ease); }
.f-leg { fill: #c9d68a; } .f-leaf { stroke: #9fd27a; } .f-fruit { fill: #e5744a; } .f-root { stroke: #f0b456; }
.parcel-names { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.parcel-names li {
  position: absolute; width: 46.3%; height: 44.8%; display: grid; place-items: center;
  font-family: var(--stencil); font-weight: 800; text-transform: uppercase; color: var(--paper); font-size: clamp(1rem, 2vw, 1.6rem);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .55), 0 0 12px rgba(0, 0, 0, .55); text-align: center; line-height: 1;
  transition: transform .7s var(--ease);
}
.parcel-names li span { background: rgba(36, 19, 63, .78); padding: .3rem .55rem .25rem; border-radius: 2px; }
.parcel-names li[data-pn="0"] { left: 2.3%; top: 3.3%; } .parcel-names li[data-pn="1"] { left: 51.3%; top: 3.3%; }
.parcel-names li[data-pn="2"] { left: 51.3%; top: 51.9%; } .parcel-names li[data-pn="3"] { left: 2.3%; top: 51.9%; }

/* ---------- interludes: slats over a photograph ---------- */
.interlude { position: relative; padding-block: 0; }
.interlude__photo { position: relative; height: clamp(26rem, 78vh, 46rem); overflow: hidden; }
.interlude__photo img { width: 100%; height: 100%; object-fit: cover; }
.interlude__slats { position: absolute; inset: 0 0 auto; height: clamp(26rem, 78vh, 46rem); display: grid; grid-template-rows: repeat(6, 1fr); pointer-events: none; overflow: hidden; }
.interlude__slats i {
  display: block; background: var(--wood) url(../img/poplar.jpg) 0 0 / 72rem calc(var(--slat) * 4);
  box-shadow: inset 0 -4px 0 var(--seam), inset 0 2px 0 rgba(255, 250, 236, .4); visibility: hidden;
}
.interlude__slats i:nth-child(2) { background-position: -20rem -15rem; } .interlude__slats i:nth-child(3) { background-position: -41rem -30rem; }
.interlude__slats i:nth-child(4) { background-position: -9rem -45rem; } .interlude__slats i:nth-child(5) { background-position: -33rem -7rem; }
.interlude__slats i:nth-child(6) { background-position: -51rem -22rem; }
html.anim .interlude__slats i { visibility: visible; }
.interlude__text { padding-block: 2.2rem 2.4rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; }
.interlude__line { font-size: clamp(2.4rem, 5.6vw, 5rem); }
.interlude__cap { margin: 0; font-size: .85rem; font-weight: 550; }

/* ---------- a crate's week ---------- */
.route__head { margin-bottom: 2.2rem; }
.route__list { list-style: none; margin: 0; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.4rem; max-width: var(--max); margin-inline: auto; }
.station { background: var(--paper); border-radius: 3px; box-shadow: var(--shadow); padding: 1.3rem 1.4rem 1.4rem; position: relative; }
.station__time { font-size: clamp(2.4rem, 3.6vw, 3.4rem); margin-bottom: .6rem; }
.station__icon { width: 4rem; height: 4rem; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .6rem; }
.station p:last-child { margin: 0; }
html.anim .route { padding-block: 0; }
html.anim .route__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 3rem; }
html.anim .route__track { width: 100%; }
html.anim .route__list { display: flex; flex-wrap: nowrap; width: max-content; max-width: none; gap: 2rem; padding-inline: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); margin: 0; }
html.anim .station { width: 27rem; flex: none; }
html.anim .station:nth-child(odd) { transform: rotate(-.6deg); }
html.anim .station:nth-child(even) { transform: rotate(.5deg) translateY(1.6rem); }
@media (max-width: 899px) {
  html.anim .route { padding-block: 6.5rem; }
  html.anim .route__pin { height: auto; display: block; padding-top: 0; }
  html.anim .route__list { display: grid; width: auto; padding-inline: var(--gut); }
  html.anim .station { width: auto; }
  html.anim .station:nth-child(even) { transform: none; }
}

/* ---------- recipes ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.2rem; }
.tabs [role="tab"] {
  font-family: var(--stencil); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .03em;
  background: transparent; border: 2px solid var(--ink); border-radius: 2px; padding: .5rem .9rem .45rem; cursor: pointer; min-height: 2.75rem;
}
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tabs [role="tab"]:hover { background: var(--violet-soft); }
.tabs [role="tab"][aria-selected="true"]:hover { background: var(--ink); }
.recipe { padding: 0; overflow: hidden; background: var(--paper); color: var(--ink); max-width: 64rem; }
.recipe__head { background: var(--ultra); color: var(--paper); padding: 1.1rem 1.5rem 1rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.recipe__head .label-head { font-size: 1.3rem; margin: 0; }
.recipe__meta { margin: 0; font-size: .9rem; font-weight: 600; }
.recipe__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; padding: 1.5rem; }
.ingr { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; align-content: start; }
.ingr li { padding-bottom: .5rem; border-bottom: 1.5px solid rgba(36, 19, 63, .18); }
.ingr--box { display: flex; justify-content: space-between; align-items: center; gap: .6rem; font-weight: 650; }
.ingr--box::after {
  content: attr(data-from); flex: none; font-family: var(--stencil); font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: .05em;
  color: var(--violet); border: 3px double currentColor; padding: .05em .4em 0; transform: rotate(-4deg); mix-blend-mode: multiply; line-height: 1.2;
}
.steps { margin: 0; padding-left: 1.4rem; display: grid; gap: .7rem; }
.steps li::marker { font-family: var(--stencil); font-weight: 800; color: var(--violet); font-size: 1.15em; }

/* ---------- a crate, a week ---------- */
.week-board { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .9rem; }
.day { background: var(--paper); border-radius: 3px; box-shadow: var(--shadow); padding: 1rem 1rem 1.1rem; display: grid; align-content: start; gap: .4rem; min-height: 13rem; }
.day:nth-child(odd) { transform: rotate(-.7deg); } .day:nth-child(even) { transform: rotate(.6deg) translateY(.8rem); }
.day__name { font-size: 2.4rem; margin: 0; }
.day .label-head { margin: 0; font-size: .86rem; }
.day__items { margin: 0; font-size: .92rem; border-top: 1.5px solid rgba(36, 19, 63, .2); padding-top: .45rem; }
.menu__left { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 2.6rem 0 0; font-weight: 600; max-width: 60rem; }
@media (max-width: 1100px) { .week-board { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .week-board { grid-template-columns: minmax(0, 1fr); } .day { min-height: 0; } .day:nth-child(even) { transform: rotate(.4deg); } }

/* ---------- storage sorter ---------- */
.sorter { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 1.6rem 2.4rem; align-items: start; }
.sorter__out { grid-column: 1 / -1; min-height: 6rem; max-width: 52rem; }
.sorter__out p { margin: 0 0 .4rem; }
.sorter__items { display: flex; flex-wrap: wrap; gap: .4rem; }
.sorter__items .chip { position: relative; }
.sorter__items .chip.is-done::after {
  content: attr(data-done); position: absolute; right: -.4rem; top: -.65rem; font-size: .7rem; padding: .05rem .3rem; background: var(--paper);
  color: var(--violet); border: 2px solid var(--violet); transform: rotate(8deg); line-height: 1.1;
}
.places { display: grid; gap: .5rem; }
.place {
  display: grid; grid-template-columns: 3.4rem 1fr; grid-template-rows: auto auto; column-gap: .9rem; align-items: center; text-align: left;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 3px; padding: .55rem .9rem; cursor: pointer; min-height: 3.6rem;
  transition: background-color .15s var(--ease), transform .2s var(--ease);
}
.place svg { grid-row: 1 / 3; width: 3.4rem; height: 2.2rem; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.place b { font-family: var(--stencil); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: 1; }
.place small { font-size: .82rem; font-weight: 600; }
.place:hover { background: #efe6d0; }
.place.is-right { background: var(--violet); color: var(--paper); border-color: var(--violet); }
.place.is-right svg { stroke: var(--paper); }
.place.is-wrong { border-style: dashed; }
.verdict { font-family: var(--stencil); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; color: var(--violet); margin: 0 0 .3rem; }
.store__all { margin-top: 1.8rem; max-width: 52rem; }
.store__all summary { cursor: pointer; font-weight: 750; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 2px; }
.store__list { background: var(--paper); border-radius: 3px; box-shadow: var(--shadow); padding: 1rem 1.4rem; margin: 1rem 0 0; display: grid; grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr); gap: .5rem 1.4rem; }
.store__list dt { font-family: var(--stencil); font-weight: 800; text-transform: uppercase; color: var(--violet); font-size: 1.15rem; }
.store__list dd { margin: 0; }

/* ---------- sizes ---------- */
.crates { display: grid; grid-template-columns: 0.8fr 0.95fr 1.1fr; gap: 2.2rem; align-items: end; }
.crate-svg { width: 100%; height: auto; display: block; margin-bottom: .8rem; }
.cs rect, .cs path { fill: none; stroke: var(--violet); stroke-width: 2.5; }
.cs rect:first-child { fill: rgba(247, 241, 227, .55); }
.cs .post { fill: rgba(91, 42, 138, .18); }
.dim { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 4; fill: none; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: .6rem 0 1rem; font-size: .98rem; }
.specs dt { font-weight: 750; }
.specs dd { margin: 0; font-variant-numeric: tabular-nums; }

/* ---------- builder ---------- */
.build__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2.6rem; align-items: start; }
.build__form { display: grid; gap: 1.6rem; }
.step { border: 0; margin: 0; padding: 1.2rem 1.4rem 1.3rem; background: var(--paper); border-radius: 3px; box-shadow: var(--shadow); min-width: 0; }
.step legend { float: left; width: 100%; margin-bottom: .8rem; }
.step legend + * { clear: both; }
.step__hint { font-size: .9rem; margin: .7rem 0 0; }
.step__msg { margin: .5rem 0 0; font-weight: 650; color: var(--tomato); min-height: 1.2em; }
.step__row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.seg--wide label { flex: 1 1 8rem; }
.ruler { position: relative; }
.ruler input[type="range"] { width: 100%; appearance: none; -webkit-appearance: none; height: 2.75rem; background: transparent; cursor: pointer; margin: 0; }
.ruler input[type="range"]::-webkit-slider-runnable-track {
  height: 1.1rem; border-radius: 2px; border: 2px solid var(--ink);
  background: linear-gradient(90deg, var(--ink) 2px, transparent 2px) 0 0 / 25% 100%, #e9dcbc;
}
.ruler input[type="range"]::-moz-range-track { height: 1.1rem; border: 2px solid var(--ink); background: #e9dcbc; }
.ruler input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.3rem; height: 2.2rem; margin-top: -.65rem; background: var(--violet); border: 2px solid var(--paper); border-radius: 2px; box-shadow: 0 2px 4px rgba(0, 0, 0, .3); }
.ruler input[type="range"]::-moz-range-thumb { width: 1.3rem; height: 2.2rem; background: var(--violet); border: 2px solid var(--paper); border-radius: 2px; }
.ruler input[type="range"]:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
.ruler__ends { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 650; }
.ruler__out { margin: .4rem 0 0; font-weight: 700; color: var(--violet); }
.ex { display: flex; flex-wrap: wrap; gap: .4rem; }
.ex label { position: relative; cursor: pointer; }
.ex input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ex span {
  display: inline-flex; align-items: center; gap: .4rem; border: 2px solid var(--ink); border-radius: 2px; padding: .35rem .7rem .3rem; min-height: 2.6rem;
  font-family: var(--stencil); font-weight: 800; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .02em; position: relative;
}
.ex input:checked + span { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--tomato); border-style: dashed; }
.ex input:checked + span::after {
  content: attr(data-no); position: absolute; right: -.5rem; top: -.75rem; font-size: .78rem; padding: 0 .3rem; border: 3px double var(--violet);
  color: var(--violet); background: var(--paper); transform: rotate(9deg); text-decoration: none; line-height: 1.2;
}
.ex input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 3px; }
.ex input:disabled + span { opacity: .5; cursor: not-allowed; }
.ex label:hover input:not(:disabled) + span { background: var(--violet-soft); }
.build__crate { position: sticky; top: 5.2rem; display: grid; gap: 0; }
.crate-host--build { height: clamp(14rem, 34vh, 20rem); }
.tag { margin-top: -2.2rem; position: relative; transform: rotate(.6deg); z-index: 1; }
.tag__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: .5rem; margin-bottom: .6rem; }
.tag__brand { font-size: 1.6rem; }
.tag__meta { font-weight: 700; margin-bottom: .6rem; }
.tag__list { list-style: none; margin: 0 0 .6rem; padding: 0; columns: 2; column-gap: 1.4rem; font-size: .95rem; }
.tag__list li { break-inside: avoid; display: flex; justify-content: space-between; gap: .6rem; border-bottom: 1px dotted rgba(36, 19, 63, .4); padding: .2rem 0; }
.tag__list li.is-new { color: var(--violet); font-weight: 700; }
.tag__list li.is-out { text-decoration: line-through; text-decoration-color: var(--tomato); text-decoration-thickness: 2px; opacity: .8; }
.tag__sum { font-family: var(--stencil); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; color: var(--violet); margin-bottom: .3rem; }
.tag__note { font-size: .82rem; margin: 0; }

/* ---------- areas ---------- */
.areas__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.6rem; align-items: start; }
.area-check { margin-top: 1.4rem; max-width: 30rem; }
.area-check__row { display: flex; gap: .5rem; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; min-height: 2.9rem; background: #fffaf0; border: 2px solid var(--ink); border-radius: 2px; padding: .5rem .7rem; font-size: 1rem;
}
input::placeholder, textarea::placeholder { color: #6a5a7a; opacity: 1; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
select { appearance: none; -webkit-appearance: none; padding-right: 2.2rem; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.1rem) 55%, calc(100% - .75rem) 55%; background-size: .4rem .4rem; background-repeat: no-repeat; }
.area-check__out { margin-top: .7rem; font-weight: 650; min-height: 1.5em; }
.atable { width: 100%; border-collapse: collapse; margin: .4rem 0 1rem; }
.atable th, .atable td { text-align: left; padding: .45rem .3rem; border-bottom: 1.5px solid rgba(36, 19, 63, .2); }
.atable th { font-size: .8rem; text-transform: uppercase; font-weight: 800; letter-spacing: .03em; }
.atable td:first-child { font-family: var(--stencil); font-weight: 800; text-transform: uppercase; color: var(--violet); font-size: 1.15rem; }
.atable tr.is-hit td { background: var(--violet-soft); }
.areas__return { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 0; font-size: .95rem; }

/* ---------- subscription ---------- */
.sub__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2.6rem; align-items: start; }
.sub__crate { margin-top: 1.4rem; transform: rotate(-.6deg); }
.sub__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; padding: 1.6rem; }
.field { display: grid; gap: .3rem; align-content: start; }
.field label { font-weight: 750; font-size: .95rem; }
.field label small { font-weight: 500; }
.field--wide { grid-column: 1 / -1; }
.err { margin: 0; color: var(--tomato); font-weight: 650; font-size: .88rem; min-height: 1.1em; }
.field.is-bad input, .field.is-bad textarea { border-color: var(--tomato); border-style: dashed; }
.sub__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.sub__never { margin: 0; font-size: .88rem; font-weight: 600; }
.sub__status { margin: 0; font-weight: 700; color: var(--tomato); min-height: 0; }
.slipout { grid-column: 1 / -1; }
.slipout__paper { max-width: 46rem; margin-inline: auto; transform: rotate(-.4deg); }
.slipout__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: .6rem; margin-bottom: .8rem; }
.slipout__title { font-size: 2rem; }
.slipout__text { white-space: pre-wrap; font-family: var(--sans); font-size: .98rem; line-height: 1.6; margin: 0 0 1rem; font-variant-numeric: tabular-nums; }
.slipout__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.slipout__copied { margin: 0; font-weight: 650; }
.slipout__note { font-size: .85rem; margin: .8rem 0 0; }

/* ---------- faq ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.6rem; align-items: start; }
.faq__grid > h2 { position: sticky; top: 6rem; }
.faq__list { display: grid; gap: .7rem; }
.qa { background: var(--paper); border-radius: 3px; box-shadow: var(--shadow); }
.qa summary {
  list-style: none; cursor: pointer; padding: 1rem 3.4rem 1rem 1.3rem; position: relative; font-weight: 750; font-size: 1.08rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ''; position: absolute; right: 1.3rem; top: 50%; width: 1.1rem; height: 3px; background: var(--violet); transition: transform .25s var(--ease); }
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0deg); }
.qa p { padding: 0 1.3rem 1.1rem; margin: 0; max-width: 62ch; }

/* ---------- close + footer ---------- */
.close { padding-block: calc(var(--slat) * .75); position: relative; }
.close::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: var(--seam); }
.close__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2rem; align-items: center; }
.close__line { font-size: clamp(2.8rem, 5.6vw, 5.5rem); max-width: 16ch; margin-bottom: 2.4rem; text-wrap: balance; }
.crate-host--close { height: clamp(18rem, 44vh, 26rem); }
@media (max-width: 899px) { .close__grid { grid-template-columns: minmax(0, 1fr); } }
.foot { background: var(--wood-dark); color: var(--paper); padding-block: 3rem 3.4rem; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.foot__brand { color: #d9c9f0; mix-blend-mode: normal; font-size: 2rem; margin-bottom: .6rem; }
.foot .label-head { color: #d9c9f0; }
.foot .ph { color: #d9c9f0; }
.foot .link { color: var(--paper); }
.foot p { max-width: 44ch; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .crop { grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr) 6rem; }
  .crop .months12 { grid-column: 1 / -1; grid-row: 2; }
  .year__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px) {
  :root { --slat: 11rem; }
  .hero__head { grid-template-columns: 1fr; }
  .hero__stage { height: auto; }
  .crate-host--hero { height: clamp(16rem, 62vw, 24rem); }
  .slip { position: relative; left: auto; bottom: auto; transform: rotate(-.6deg); width: auto; margin: -2.4rem var(--gut) 0; }
  .farm__grid, .rotation, .recipe__body, .sorter, .build__grid, .areas__grid, .sub__grid, .faq__grid, .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .photo--tall img { aspect-ratio: 4 / 3; }
  .practices .label:nth-child(even) { margin-left: 0; }
  .crates { grid-template-columns: minmax(0, 1fr); max-width: 26rem; }
  .build__crate { position: relative; top: 0; }
  .faq__grid > h2 { position: static; }
  .year__pin { min-height: 0; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .slip { grid-template-columns: 1fr; padding: .9rem 1rem 1rem; }
  .cutoff { justify-items: start; text-align: left; }
  .crop { grid-template-columns: minmax(0, 1fr) auto; padding: .8rem 1rem; }
  .crop__note { grid-column: 1 / -1; }
  .crop .months12 { grid-row: auto; }
  .crop__name { font-size: 1.45rem; }
  .sub__form { grid-template-columns: 1fr; padding: 1.1rem; }
  .tag__list { columns: 1; }
  .store__list { grid-template-columns: 1fr; }
  .months { grid-template-columns: repeat(4, 1fr); }
  .seg span { padding: .3rem .55rem .25rem; }
  .interlude__photo, .interlude__slats { height: 22rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
