@view-transition { navigation: auto; }

:root {
  --ground: #f2f0e9;
  --ground-2: #e7e4d9;
  --ink: #0b0c0e;
  --navy: #09266c;
  --blue: #214fbb;
  --green: #284c35;
  --white: #fff;
  --error: #a3211b;
  --margin: clamp(16px, 3vw, 40px);
  --gap: clamp(64px, 8vw, 120px);
  --tile-gap: clamp(8px, 1vw, 14px);
  --display: Montserrat, Arial, sans-serif;
  --text: Inter, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.55 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; color: var(--navy); text-wrap: balance; }
h2 { font-size: clamp(30px, 3.9vw, 58px); }
h3 { font-size: clamp(21px, 1.7vw, 25px); letter-spacing: -.02em; }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.38; }
.when { font-size: 15px; font-weight: 600; color: var(--green); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--navy); color: var(--white); padding: 10px 14px; }
.skip:focus { left: 8px; }

.btn { display: inline-block; padding: 15px 26px; border: 0; border-radius: 0; font: 600 16px/1.2 var(--text); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--navy); color: var(--white); }
.btn-solid:hover { background: var(--blue); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--ground-2); }
.btn-wide { width: 100%; }
.link, .link-light, .go { font-weight: 600; text-underline-offset: 5px; }
.link { color: var(--navy); }
.link-light { color: var(--white); }
.go { display: inline-block; text-decoration: underline; transition: transform .3s var(--ease); }

.bar { position: sticky; top: 0; z-index: 10; view-transition-name: bar; display: flex; align-items: center; gap: 28px; padding: 6px var(--margin); background: var(--ground); transition: padding .3s var(--ease); }
.bar-logo img { width: auto; height: 60px; transition: height .3s var(--ease); }
.bar.is-small { padding-block: 2px; }
.bar.is-small .bar-logo img { height: 46px; }
.bar nav { display: flex; gap: 24px; margin-left: auto; }
.bar nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--navy); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 3px; transition: background-size .3s var(--ease); }
.bar nav a:hover, .bar nav a[aria-current] { background-size: 100% 2px; }
.bar .btn { padding: 11px 20px; }

/* Hero */
.hero { position: relative; min-height: calc(92svh - 72px); display: flex; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: -6% 0 -6% 0; will-change: transform; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; animation: settle 2.4s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0 0 40% 0; background: linear-gradient(rgba(9, 38, 108, .5), rgba(9, 38, 108, 0)); }
.hero-text { position: relative; z-index: 1; padding: clamp(28px, 4vw, 60px) var(--margin); color: var(--white); }
.hero h1 { color: var(--white); font-size: clamp(32px, 6.8vw, 112px); line-height: .98; }
.hero h1 span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero h1 span:nth-child(2) { animation-delay: .09s; }
.hero h1 span:nth-child(3) { animation-delay: .18s; }
.hero p { max-width: 32em; margin: 24px 0 24px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.38; font-weight: 500; animation: rise 1.1s .28s var(--ease) both; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; animation: rise 1.1s .36s var(--ease) both; }
@keyframes rise { from { transform: translateY(36px); } to { transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }

/* Ticker */
.ticker { overflow: hidden; background: var(--navy); color: var(--white); padding: 11px 0; }
.ticker-run { display: flex; width: max-content; animation: slide 32s linear infinite; }
.ticker-run span { padding-inline: 28px; font: 700 15px/1.2 var(--display); white-space: nowrap; }
.ticker-run span::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 56px; border-radius: 50%; background: #7fa0e8; vertical-align: 2px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Tiles */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--tile-gap); padding: var(--tile-gap) var(--margin) 0; }
.tile { padding: 18px 20px 20px; background: var(--ground-2); transition: transform .35s var(--ease), background-color .25s; }
.tile:hover { transform: translateY(-4px); background: #dfdbcc; }
.tile h2 { font-size: clamp(19px, 1.5vw, 22px); letter-spacing: -.02em; margin-bottom: 6px; }
.tile p { font-size: 15.5px; line-height: 1.45; }

.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; margin-bottom: clamp(24px, 3vw, 40px); }
.sec-head h2 { max-width: 18em; }

.farm { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding: var(--gap) var(--margin); }
.farm-text { display: grid; gap: 16px; }
.wipe { overflow: hidden; }
.wipe img { width: 100%; }

.berries { padding: 0 var(--margin) var(--gap); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--tile-gap); }
.tile-photo { display: grid; align-content: start; gap: 4px; padding-bottom: 20px; background: var(--ground-2); }
.tile-photo > :not(figure) { padding-inline: 18px; }
.tile-photo figure { overflow: hidden; margin-bottom: 12px; aspect-ratio: 16 / 10; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile-photo:hover img { transform: scale(1.05); }
.tile-photo p:last-child { font-size: 15.5px; line-height: 1.45; margin-top: 4px; }
.tile-basket { background: var(--navy); color: var(--white); }
.tile-basket h3 { color: var(--white); }
.tile-basket .when { color: #b9ccf5; }
.tile-basket figure { display: grid; place-items: center; }
.tile-basket img { width: auto; height: 86%; object-fit: contain; }

/* Season flow */
.season { padding: var(--gap) var(--margin); background: var(--ground-2); }
.flow { position: relative; padding-top: 112px; }
.flow-line { position: absolute; left: 0; width: 100%; overflow: visible; }
.flow-wide { top: 0; height: 90px; }
.flow-tall { display: none; }
.flow-track, .flow-fill { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.flow-track { stroke: #cfcbbb; stroke-width: 6; }
.flow-fill { stroke: var(--blue); stroke-width: 6; }
.flow-berry { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--navy); border: 4px solid #7fa0e8; will-change: transform; }
.flow-berry::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ground); }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--tile-gap); }
.flow-steps li { display: grid; gap: 6px; align-content: start; padding: 18px; background: var(--ground); opacity: .55; transition: opacity .5s, transform .6s var(--ease), background-color .4s, color .4s; transform: translateY(10px); }
.flow-steps li.is-past { opacity: 1; transform: none; }
.flow-steps li p:last-child { font-size: 15.5px; line-height: 1.45; }
.flow-steps li.is-now { background: var(--navy); color: var(--white); }
.flow-steps li.is-now h3 { color: var(--white); }
.flow-steps li.is-now .when { color: #b9ccf5; }
#season-now { font-weight: 600; color: var(--green); }

/* Photo strip */
.strip { overflow: hidden; padding-block: var(--tile-gap); }
.strip-run { display: flex; gap: var(--tile-gap); width: max-content; will-change: transform; }
.strip figure { height: clamp(190px, 22vw, 320px); }
.strip img { height: 100%; width: auto; }

/* How it works */
.how { padding: var(--gap) var(--margin); }
.how-alt { background: var(--ground-2); }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--tile-gap); margin-bottom: 24px; counter-reset: step; }
.how-steps li { position: relative; padding: 18px 20px 20px; background: var(--ground-2); }
.how-alt .how-steps li { background: var(--ground); }
.how-steps h3 { margin-bottom: 6px; }
.how-steps p { font-size: 15.5px; line-height: 1.45; }
.check { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; max-width: 900px; margin-bottom: 24px; }
.check li { position: relative; padding-left: 24px; }
.check li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }

.review { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin: 0 var(--margin) var(--tile-gap); padding: clamp(24px, 3vw, 40px); background: var(--blue); color: var(--white); }
.stars { font-size: 22px; letter-spacing: 3px; color: #ffd76a; }
.review blockquote { font: 700 clamp(22px, 2.4vw, 34px)/1.2 var(--display); letter-spacing: -.02em; margin: 6px 0; }
.who { font-size: 15.5px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--tile-gap); padding: 0 var(--margin); }
.split-tile { display: grid; gap: 10px; align-content: end; min-height: 260px; padding: clamp(22px, 3vw, 40px); color: var(--white); text-decoration: none; transition: transform .4s var(--ease); }
.split-tile h2 { color: var(--white); font-size: clamp(27px, 2.8vw, 42px); }
.split-tile:hover { transform: translateY(-4px); }
.split-tile:hover .go { transform: translateX(6px); }
.split-green { background: var(--green); }
.split-navy { background: var(--navy); }

.faq { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 4vw, 64px); padding: var(--gap) var(--margin); }
.faq-list { display: grid; gap: 6px; }
details { background: var(--ground-2); }
summary { padding: 14px 44px 14px 18px; position: relative; font-weight: 600; cursor: pointer; list-style: none; transition: color .2s; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 9px; font: 500 26px/1.3 var(--text); color: var(--navy); transition: transform .35s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
summary:hover { color: var(--blue); }
details p { padding: 0 18px 16px; }
details p a { color: var(--navy); }
details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

.promise { display: grid; grid-template-columns: 4fr 8fr; background: var(--green); color: var(--white); }
.promise img { width: 100%; height: 100%; object-fit: cover; }
.promise > div { display: grid; gap: 18px; align-content: center; justify-items: start; padding: clamp(36px, 5vw, 72px) var(--margin); }
.promise blockquote { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.32; font-weight: 500; max-width: 26em; }
.promise h2 { color: var(--white); }

.foot { padding: clamp(40px, 5vw, 72px) var(--margin) 22px; background: var(--navy); color: var(--white); }
.foot-grid { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 28px 40px; margin-bottom: 40px; }
.foot h2 { color: var(--white); }
.foot dl { display: grid; gap: 10px; }
.foot dt { font-size: 14px; font-weight: 600; color: #b9ccf5; }
.foot dd { overflow-wrap: anywhere; }
.foot a { text-underline-offset: 4px; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot-name { font: 800 clamp(34px, 9.4vw, 160px)/1 var(--display); letter-spacing: -.04em; white-space: nowrap; margin-bottom: 14px; }

/* Inner pages */
.page-head { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(32px, 5vw, 64px) var(--margin); }
.page-head > div { display: grid; gap: 18px; justify-items: start; }
.page-head h1 { font-size: clamp(36px, 4.8vw, 72px); animation: rise 1s var(--ease) both; }
.page-head .lead, .page-head .btn { animation: rise 1s .1s var(--ease) both; }

/* Scroll reveals */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .wipe { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.js .wipe img { transform: scale(1.14); transition: transform 1.5s var(--ease); }
.js .wipe.in { clip-path: inset(0); }
.js .wipe.in img { transform: none; }

/* Order page */
.order { display: grid; grid-template-columns: 5fr 7fr; align-items: start; }
.order-side { position: sticky; top: 64px; height: calc(100svh - 64px); }
.order-side img { width: 100%; height: 100%; object-fit: cover; }
.order-main { display: grid; gap: 28px; padding: clamp(32px, 5vw, 72px) var(--margin) 96px; max-width: 760px; }
.order h1 { font-size: clamp(38px, 4.8vw, 72px); }
#order, #done, #fallback { display: grid; gap: 32px; justify-items: stretch; }
#done[hidden], #fallback[hidden], #order[hidden] { display: none; }
#done .btn, #fallback .btn { justify-self: start; }
#done:focus, #fallback:focus { outline: 0; }
legend, .group-label { display: block; font: 700 22px/1.2 var(--display); letter-spacing: -.02em; color: var(--navy); margin-bottom: 14px; }
.group[hidden] { display: none; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 13px 18px; background: var(--ground-2); font-weight: 500; cursor: pointer; transition: background-color .15s, color .15s; }
.seg span:hover { background: #dad6c7; }
.seg input:checked + span { background: var(--navy); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }

.box { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; background: var(--ground-2); }
.box + .box { margin-top: 8px; }
.box-name { font-weight: 500; }
.step { display: flex; align-items: center; }
.step button { width: 48px; height: 48px; border: 0; background: var(--navy); color: var(--white); font: 500 24px/1 var(--text); cursor: pointer; transition: transform .12s var(--ease), background-color .15s; }
.step button:hover { background: var(--blue); }
.step button:active { transform: scale(.92); }
.step output { min-width: 52px; text-align: center; font: 700 22px/1 var(--display); font-variant-numeric: tabular-nums; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two label { display: grid; gap: 6px; font-weight: 500; font-size: 16px; }
input:not([type=radio]), select, textarea { width: 100%; min-height: 50px; padding: 12px; border: 1px solid #77756b; border-radius: 0; background: var(--white); color: var(--ink); font: 400 17px/1.3 var(--text); }
textarea { resize: vertical; margin-top: 2px; }
[aria-invalid=true] { border-color: var(--error); border-width: 2px; }
.opt { margin-left: 8px; font: 400 15px var(--text); letter-spacing: 0; color: #4b4b45; }
.hp { position: absolute; left: -9999px; }

.total { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 20px; background: var(--navy); color: var(--white); }
.total-sum { font: 800 clamp(30px, 3.4vw, 46px)/1 var(--display); letter-spacing: -.03em; }
.note { font-size: 16px; }
.error { font-weight: 600; color: var(--error); }

@media (max-width: 1000px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .flow { padding-top: 0; padding-left: 52px; }
  .flow-wide { display: none; }
  .flow-tall { display: block; top: 0; left: 0; width: 40px; height: 100%; }
  .flow-steps { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .bar { gap: 12px; }
  .bar nav { display: none; }
  .bar .btn { margin-left: auto; }
  .hero { min-height: calc(92svh - 72px); }
  .hero-photo { object-position: 42% 0%; }
  .hero::after { bottom: 25%; }
  .farm, .tiles, .how-steps, .split, .faq, .promise, .order, .page-head, .foot-grid, .check { grid-template-columns: 1fr; }
  .tiles { gap: 10px; }
  .promise figure { height: 300px; }
  .split-tile { min-height: 200px; }
  .order-side { position: static; height: 300px; }
  .order-side img { object-position: 50% 72%; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 8.9vw; }
  .two { grid-template-columns: 1fr; }
  .box { padding: 10px 12px; }
  .step button { width: 44px; height: 44px; }
  .step output { min-width: 40px; }
  .total { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .reveal, .js .wipe, .js .wipe img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .flow-berry { display: none; }
  .flow-steps li { opacity: 1; transform: none; }
}
