/* Akane Berry Farm. Direction: the split stage. One face (Work Sans), one ink, one accent: akane red. */

:root {
  --bg: #ebe5e3;        /* rose milk, the page ground */
  --paper: #f6f2f1;     /* the reading sheet */
  --surface: #e1dad7;   /* one tone step off the ground */
  --ink: #2b2622;
  --muted: #625853;
  --accent: #a3262c;    /* akane, the red of madder root */
  --accent-ink: #ffffff;
  --leaf: #23432f;      /* the calyx green, used as one field */

  --font: "Work Sans", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3rem, 1rem + 8.6vw, 9rem);

  --gap: 12px;
  --margin: clamp(1rem, 2.2vw, 2rem);
  --pad: clamp(1.5rem, 4vw, 4rem);
  --section: clamp(6rem, 12vw, 12rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-reveal: 800ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); font-weight: 400; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; height: auto; background: var(--surface); }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
:target { scroll-margin-top: 1.5rem; }
h1, h2, h3 { font-weight: 300; text-wrap: balance; letter-spacing: -0.035em; line-height: 1.0; }
p { text-wrap: pretty; }
.head { font-size: var(--step-head); }
.small { font-size: var(--step-small); line-height: 1.45; }
.nums { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.only-narrow { display: none; }

/* ---------- Japanese setting ----------
   Latin letters stay in Work Sans; kana and kanji fall through to Noto Sans JP. Japanese wants open
   tracking, taller lines, phrase-aware breaks and measures counted in characters (1em each). */
html[lang="ja"] body { line-height: 1.85; letter-spacing: 0.02em; font-feature-settings: "palt" 0; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 { letter-spacing: 0.02em; line-height: 1.3; word-break: auto-phrase; }
html[lang="ja"] .hero-title, html[lang="ja"] .head { letter-spacing: 0.01em; line-height: 1.25; }
html[lang="ja"] p, html[lang="ja"] dd, html[lang="ja"] summary { word-break: auto-phrase; line-break: strict; }
html[lang="ja"] .items li { line-break: strict; }
.items .n { min-width: 0; overflow-wrap: anywhere; }
html[lang="ja"] .statement { line-height: 1.7; max-width: 21em; }
html[lang="ja"] .hero-sub { max-width: 26em; }
html[lang="ja"] .season .head { max-width: 12em; }
html[lang="ja"] .bottles-text { max-width: 21em; }
html[lang="ja"] .menu-note { max-width: 26em; }
html[lang="ja"] .plan-for { max-width: 15em; }
html[lang="ja"] .plan-inc { max-width: 25em; }
html[lang="ja"] .day-copy p, html[lang="ja"] .people-copy p { max-width: 21em; }
html[lang="ja"] .faq details p { max-width: 26em; }
html[lang="ja"] .contact-lead { max-width: 17em; }
html[lang="ja"] .year li { grid-template-columns: 6rem 1fr; }

/* ---------- the language toggle: frosted glass, by request ----------
   The one place on the page that floats, so it is the one place with blur, a hairline and a shadow. */
.lang {
  position: fixed; top: 20px; right: 20px; z-index: 60;
  display: flex; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); /* taste-skill-ignore: the glass toggle the client asked for */
  border: 1px solid rgba(255, 255, 255, 0.6); /* taste-skill-ignore: the glass toggle the client asked for */
  box-shadow: 0 10px 30px rgba(43, 38, 34, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.7); /* taste-skill-ignore: the glass toggle the client asked for */
  font-size: var(--step-small); font-weight: 500; letter-spacing: 0.02em; color: var(--ink);
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.lang span { display: grid; place-items: center; min-width: 52px; min-height: 36px; padding: 0 14px; border-radius: 999px; transition: background-color 240ms ease, color 240ms ease; }
html[lang="ja"] .lang span[lang="ja"], html[lang="en"] .lang span[lang="en"] { background: rgba(255, 255, 255, 0.88); color: var(--accent); }
.lang:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .lang:hover { background: rgba(255, 255, 255, 0.45); } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .lang { background: rgba(246, 242, 241, 0.94); } } /* taste-skill-ignore */
@media (max-width: 760px) { .lang { top: 22px; right: 22px; } .lang span { min-width: 46px; padding: 0 10px; } }

/* ---------- controls ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0 1.75rem;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button-paper { background: var(--paper); color: var(--ink); }
.button-wide { width: 100%; }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
.link-plain { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: #7f1b21; }
  .button-paper:hover { background: #ffffff; }
  .link:hover { text-decoration-color: currentColor; }
  .link-plain:hover { color: var(--accent); }
}

/* ---------- the split stage ---------- */
.stage {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap);
  padding: var(--gap); align-items: start;
}
.stage-read { display: grid; gap: var(--gap); }
.sheet { background: var(--paper); }

.hero {
  min-height: calc(100svh - 2 * var(--gap));
  display: flex; flex-direction: column;
  padding: 28px var(--pad) var(--pad);
  text-align: center;
}
.hero-nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  font-size: var(--step-body);
}
.hero-nav > a:first-child { justify-self: start; }
.hero-nav > .link { white-space: nowrap; }
.hero-nav > a:last-child { justify-self: end; }
/* The logo: a kamon-style crest and the name in both scripts, Japanese first */
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--accent); }
.mark { width: 48px; height: 48px; flex: none; transition: transform 600ms var(--ease-out); }
.wm-text { display: grid; text-align: left; line-height: 1.2; }
.wm-ja { font-family: "Noto Sans JP", sans-serif; font-weight: 500; font-size: clamp(1.125rem, 0.95rem + 0.45vw, 1.375rem); letter-spacing: 0.1em; color: var(--accent); }
.wm-en { font-weight: 500; font-size: var(--step-small); letter-spacing: 0.04em; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .wordmark:hover .mark { transform: rotate(-12deg); } }
.foot-crest { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
.foot-crest .mark { width: 72px; height: 72px; }
.foot-tate { writing-mode: vertical-rl; font-family: "Noto Sans JP", sans-serif; font-weight: 500; font-size: var(--step-lead); letter-spacing: 0.18em; line-height: 1; }
.hero-body {
  margin-top: 22svh; display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  padding-bottom: 18svh;
}
.hero-title { font-size: var(--step-head); color: var(--accent); max-width: 18ch; }
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: block; }
.hero-sub { max-width: 40ch; }
.hero-status { color: var(--muted); font-size: var(--step-small); max-width: 40ch; margin-top: -0.5rem; }
.hero-status strong { color: var(--ink); font-weight: 500; }

.stage-photo {
  position: sticky; top: var(--gap);
  height: calc(100svh - 2 * var(--gap));
  overflow: hidden; background: var(--surface);
}
.frames { position: absolute; inset: 0; }
.frame {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.6s ease;
}
.frame.is-on { opacity: 1; }
.photo-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 24px; background: var(--paper); font-size: var(--step-small);
}

/* season */
.season { padding: var(--pad); display: grid; gap: 2.5rem; }
.season .head { max-width: 14ch; }
.statement { font-size: var(--step-lead); line-height: 1.4; max-width: 30ch; }
.year { display: grid; gap: 4px; max-width: 46ch; }
.year li {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline;
  padding: 14px 16px; background: var(--surface);
}
.year .m { font-weight: 500; }
.year .r1 { background: #f0d3cf; }
.year .r2 { background: #e2a39f; }
.year .r3 { background: #b9474a; color: #fff; }
.year .r4 { background: #ad343a; color: #fff; }
.year .r5 { background: var(--accent); color: #fff; }
.year li.is-now { outline: 3px solid var(--ink); outline-offset: -3px; }
.now { color: var(--muted); margin-top: -1.75rem; }
.print { max-width: 52ch; display: grid; grid-template-columns: 3fr 2fr; gap: 1.25rem; align-items: end; }
.print img { width: 100%; }
.print figcaption { color: var(--muted); }

/* ---------- bottles ---------- */
main > section { position: relative; }
.bottles {
  margin-top: var(--section);
  display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh;
  background: var(--surface);
}
.bottles-photo { padding: 40px; display: flex; align-items: center; }
.shots { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--paper); }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 700ms ease; }
.shot.is-on { opacity: 1; }
.bottles-copy {
  display: flex; flex-direction: column; justify-content: space-between; gap: 3rem;
  padding: 40px var(--pad) 40px 24px;
}
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.tabs button {
  font-size: var(--step-body); color: var(--muted); padding: 10px 0; min-height: 44px;
  transition: color var(--t-hover) ease;
}
.tabs button[aria-selected="true"] { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 0.4em; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.bottles-text { display: grid; gap: 1.5rem; max-width: 34ch; }
.bottles-price { font-size: var(--step-head); font-weight: 300; letter-spacing: -0.03em; line-height: 1; color: var(--accent); }
.cells { display: grid; grid-template-columns: 1fr 1fr; }
.cell {
  display: flex; align-items: center; justify-content: center; height: 72px; padding: 0 1rem;
  text-decoration: none; font-weight: 500; text-align: center;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.cell:active { transform: scale(0.98); }
.cell-ink { background: var(--ink); color: var(--paper); }
.cell-tone { background: var(--bg); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .cell-ink:hover { background: var(--accent); }
  .cell-tone:hover { background: var(--paper); }
  .tabs button:hover { color: var(--ink); }
}

/* ---------- the shop sheet ---------- */
.shop {
  margin-top: var(--section);
  display: grid; grid-template-columns: repeat(12, 1fr);
  padding: 120px var(--margin);
  overflow: clip;
}
.shop-ground { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.menu {
  position: relative; grid-column: 7 / 13; grid-row: 1; justify-self: center; width: min(640px, 100%);
  background: var(--paper);
}
.menu::before, .menu::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23f6f2f1'/%3E%3C/svg%3E") repeat-x;
}
.menu::before { top: -12px; }
.menu::after { bottom: -12px; transform: scaleY(-1); }
.menu-inner { padding: 64px 64px 24px; text-align: center; }
.menu-note { color: var(--muted); max-width: 40ch; margin: 1rem auto 0; }
.group { margin-top: 56px; }
.group h3 { font-size: var(--step-lead); letter-spacing: -0.02em; margin-bottom: 20px; }
.items { display: grid; gap: 16px; max-width: 460px; margin: 0 auto; text-align: left; }
.items li {
  display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: baseline;
}
.items .n { font-weight: 500; }
.items .p { text-align: right; }
.items .d { grid-column: 1; color: var(--muted); font-size: var(--step-small); line-height: 1.45; }
.items li.has-step { grid-template-columns: 1fr auto auto; }
.items li.has-step .d { grid-column: 1 / 2; }
.step { grid-row: 1 / 3; grid-column: 3; display: flex; align-items: center; align-self: center; gap: 2px; }
.step button {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--surface); font-size: 20px; line-height: 1;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.step button:active { transform: scale(0.9); }
.step output { min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.step button[data-inc] { background: var(--ink); color: var(--paper); }
li.is-picked .n { color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .step button:hover { background: var(--accent); color: #fff; }
}
.menu-hours { margin-top: 56px; color: var(--muted); }
.group-photo, .group-photos { max-width: 460px; margin: 0 auto 24px; overflow: hidden; }
.group-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.group-photos { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.group-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.group-photo img, .group-photos img { transition: transform 900ms var(--ease-soft); }
@media (hover: hover) and (pointer: fine) { .group-photo:hover img, .group-photos figure:hover img { transform: scale(1.04); } }
.group-photos figure { overflow: hidden; }

/* ---------- people ---------- */
.people {
  margin-top: var(--section); padding: 0 var(--margin);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start;
}
.people img { width: 100%; height: 100%; object-fit: cover; }
.people figure { overflow: hidden; }
.people-copy { grid-column: 1 / 5; grid-row: 1; display: grid; gap: 1.5rem; padding-right: 1rem; }
.people-copy p { max-width: 34ch; }
.p-main { grid-column: 5 / 9; grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.p-a { grid-column: 9 / 13; grid-row: 1; aspect-ratio: 4 / 3; }
.p-b { grid-column: 9 / 11; grid-row: 2; aspect-ratio: 1; }
.p-c { grid-column: 11 / 13; grid-row: 2; aspect-ratio: 1; }
.p-d { grid-column: 1 / 5; grid-row: 2; aspect-ratio: 4 / 3; align-self: end; }

.basket {
  position: sticky; top: 24px; z-index: 1; grid-column: 1 / 6; grid-row: 1; align-self: start;
  padding: 36px 40px 40px; background: var(--paper); display: grid; gap: 16px;
}
.basket h3 { font-size: var(--step-lead); letter-spacing: -0.02em; }
.basket-date { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; }
.basket-date input {
  min-height: 44px; padding: 0 12px; background: var(--surface); border: 0;
  font-variant-numeric: tabular-nums;
}
.basket-msg { color: var(--accent); min-height: 0; }
.basket-msg:empty { display: none; }
.basket-lines { display: grid; gap: 6px; max-height: 12rem; overflow: auto; }
.basket-lines:empty { display: none; }
.basket-lines li { display: flex; justify-content: space-between; gap: 1rem; }
.basket-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; }
.basket-total [data-total] { font-size: var(--step-head); font-weight: 300; letter-spacing: -0.03em; color: var(--accent); }
.basket-help { color: var(--muted); }
.basket.bump [data-total] { animation: bump 360ms var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.08); } }
.basket-total [data-total] { display: inline-block; transform-origin: right center; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: 5fr 7fr; margin-top: var(--section); }
.plan {
  min-height: 90svh; padding: 40px var(--pad) var(--pad);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.plan-pick { background: var(--leaf); color: var(--paper); }
.plan-day { background: var(--accent); color: #fff; }
.plan .head { font-size: var(--step-head); }
.plan-for { font-size: var(--step-lead); line-height: 1.3; max-width: 26ch; }
.plan-inc { max-width: 44ch; }
.plan-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.price { font-size: var(--step-display); font-weight: 300; letter-spacing: -0.04em; line-height: 0.9; }
.price span { display: block; font-size: var(--step-body); letter-spacing: 0; margin-top: 0.9rem; font-weight: 400; }

/* ---------- the day slip ---------- */
.day {
  margin-top: var(--section);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap) var(--margin);
  padding: 0 var(--margin); align-items: start;
}
.day-copy { grid-column: 1 / 6; display: grid; gap: 1.75rem; }
.day-copy p { max-width: 34ch; }
.day-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.slip-feed { grid-column: 7 / 12; }
.slip {
  background: var(--paper); padding: 40px 40px 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px),
    95% 100%, 90% calc(100% - 14px), 85% 100%, 80% calc(100% - 14px), 75% 100%, 70% calc(100% - 14px), 65% 100%, 60% calc(100% - 14px),
    55% 100%, 50% calc(100% - 14px), 45% 100%, 40% calc(100% - 14px), 35% 100%, 30% calc(100% - 14px), 25% 100%, 20% calc(100% - 14px),
    15% 100%, 10% calc(100% - 14px), 5% 100%, 0 calc(100% - 14px));
  font-size: var(--step-body); font-variant-numeric: tabular-nums;
}
.slip h3 { font-size: var(--step-body); font-weight: 500; letter-spacing: 0; margin-top: 28px; margin-bottom: 10px; }
.slip h3:first-child { margin-top: 0; }
.slip ul { display: grid; gap: 10px; }
.slip li { display: flex; align-items: baseline; gap: 10px; }
.slip li > span:last-child, .slip-end span:last-child { white-space: nowrap; }
.slip li i {
  flex: 1; height: 4px; min-width: 1.5rem; align-self: center; margin-top: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='4'%3E%3Ccircle cx='2' cy='2' r='2' fill='%23625853'/%3E%3C/svg%3E") repeat-x;
}
.slip-end {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin: 32px -40px 0; padding: 0 40px 14px; min-height: 58px;
  background: var(--ink); color: var(--paper); font-weight: 500;
}

/* ---------- drag row ---------- */
.row-wrap { margin-top: var(--section); }
.row-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0 var(--margin) 0 6vw; margin-bottom: 32px;
}
.row-head h2 { font-size: var(--step-head); }
.row {
  display: flex; gap: var(--gap); height: 68svh; min-height: 420px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 0 var(--margin) 0 6vw; scroll-padding-left: 6vw; cursor: grab;
}
.row::-webkit-scrollbar { display: none; }
.row.is-drag { cursor: grabbing; scroll-snap-type: none; }
.mod { flex: none; height: 100%; scroll-snap-align: start; }
.mod img, .mod video { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.mod-tall { aspect-ratio: 3 / 4; }
.mod-wide { aspect-ratio: 16 / 10; }
.mod-pair { display: grid; grid-template-rows: 1fr 1fr; gap: var(--gap); aspect-ratio: 2 / 3.05; }
.mod-pair figure { min-height: 0; overflow: hidden; }
.mod figure, .mod.mod-tall, .mod.mod-wide { overflow: hidden; }
@media (hover: hover) and (pointer: fine) {
  .mod:hover > img, .mod-pair figure:hover img { transform: scale(1.03); }
}

/* ---------- visiting ---------- */
.visit {
  margin-top: var(--section);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--margin);
  background: var(--surface); padding: 0 var(--margin) 0;
}
.visit-copy { grid-column: 1 / 6; padding: 96px 0 96px; display: grid; gap: 2.5rem; align-content: start; }
.facts { display: grid; gap: 1rem; }
.facts div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; }
.facts dt { font-weight: 500; }
.faq { display: grid; gap: 28px; }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 500; min-height: 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg); transition: transform var(--t-hover) var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { margin-top: 10px; max-width: 44ch; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: var(--accent); } }
.visit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; }
.visit-photos { grid-column: 7 / 13; position: relative; margin-top: -80px; padding-bottom: 80px; }
.v-tall { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.v-square {
  position: absolute; left: -40px; bottom: 40px; width: 34%; aspect-ratio: 1; object-fit: cover;
  outline: 12px solid var(--surface);
}

/* ---------- contact ---------- */
.contact {
  min-height: 100svh; background: var(--ink); color: var(--paper);
  display: grid; grid-template-rows: auto 1fr auto; padding: var(--margin);
}
.contact-lead { font-size: var(--step-lead); line-height: 1.3; max-width: 26ch; padding-top: 12px; }
.contact-mail {
  align-self: end; margin-bottom: 12vh;
  font-size: var(--step-display); font-weight: 300; letter-spacing: -0.045em; line-height: 0.95;
  text-decoration: none; transition: color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) { .contact-mail:hover { color: #e46a6c; } }
.contact-foot { display: flex; justify-content: space-between; gap: 1rem; }
.contact-foot p:last-child { text-align: right; }

/* ---------- footer ---------- */
.foot { position: relative; min-height: 100svh; color: var(--paper); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.foot-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.62); }
.foot-top, .foot-bottom { position: relative; padding: 32px var(--margin); }
.foot-top { display: flex; justify-content: space-between; gap: 2rem; padding-top: 92px; }
.foot-top ul { display: grid; gap: 4px; }
.foot-top p { text-align: right; }
.foot-bottom { padding-bottom: 40px; }
.foot-name { font-size: var(--step-display); font-weight: 300; letter-spacing: -0.05em; line-height: 0.85; white-space: nowrap; }
.foot-legal { font-size: var(--step-small); margin-top: 18px; }
.credits-wrap { background: var(--ink); color: var(--paper); padding: 16px var(--margin) 24px; }
/* Picture credits: one quiet row at the very bottom that opens on demand */
.credits-box summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 56px; font-weight: 500;
}
.credits-box summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 16px; height: 16px; flex: none; transition: transform 300ms var(--ease-out); }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; }
.plus::after { transform: rotate(90deg); }
.credits-box[open] .plus { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .credits-box summary:hover { color: #f1b9b6; } }
.credits-note { margin: 8px 0 20px; max-width: 60ch; }
.credits-list { columns: 2 17rem; column-gap: 3rem; font-size: var(--step-small); line-height: 1.55; }
.credits-list li { break-inside: avoid; margin-bottom: 10px; }
.credits-list a { text-underline-offset: 0.18em; }
@media (prefers-reduced-motion: no-preference) {
  .credits-box[open] .credits-note, .credits-box[open] .credits-list { animation: rise 500ms var(--ease-out) both; }
}

/* ---------- motion ----------
   A film in eight shots. main.js writes two scroll values on every [data-scroll] element:
   --through goes 0 → 1 while the element crosses the screen, --enter goes 0 → 1 as its top
   rises from the bottom edge to the top. Everything below moves transform, opacity or clip-path. */

/* The opening: fade up from black. The screen starts dark, the photograph opens from a thin
   widescreen slit, the sheet turns to paper and the title rises. Nothing covers the text. */
body { transition: background-color 1600ms ease; }
.hero { transition: background-color 1600ms ease; }
.stage-photo { transition: clip-path 1700ms var(--ease-in-out); }
.photo-bar { transition: opacity 900ms ease 1200ms; }
html.intro body, html.intro .hero { background-color: var(--ink); }
html.intro .stage-photo { clip-path: inset(50% 0 50% 0); }
html.intro.intro-1 .stage-photo { clip-path: inset(31% 0 31% 0); }
html.intro .photo-bar { opacity: 0; transition: none; }
html.intro .stage .frames { transform: scale(1.22); }
html.from-intro .stage .frames { transition: transform 2600ms var(--ease-soft); }
.js.ready.from-intro .lines [data-line] { animation-delay: calc(var(--i) * 120ms + 450ms); }
.js.ready.from-intro [data-rise] { animation-delay: calc(var(--i, 0) * 80ms + 650ms); }

/* The drag row becomes a pinned camera pan on wide screens */
.row-wrap.is-pinned .row-pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.row-wrap.is-pinned .row { overflow: visible; cursor: auto; will-change: transform; }

.day-photo, .bottles-photo { overflow: hidden; }
.contact-mail { display: block; overflow: hidden; padding-bottom: 0.08em; }
.contact-mail .ch { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  /* shot 1: the hero, held until the title sequence hands over */
  .js [data-rise] { opacity: 0; transform: translateY(18px); }
  .js .lines [data-line] { transform: translateY(105%); }
  .js.ready [data-rise] { animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 300ms); }
  .js.ready .lines [data-line] { animation: line-up 950ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 140ms + 80ms); }
  .ready .stage-photo .frame.is-on { animation: drift 16s var(--ease-soft) both; }
  /* the camera pushes in on the fixed photograph while the sheet is read */
  .stage .frames { transform: scale(calc(1 + var(--through, 0.3) * 0.12)); transform-origin: 50% 45%; }
  .hero-body { transform: translateY(calc((var(--through, 0.5) - 0.5) * -140px)); }

  /* every section: parts arrive in reading order */
  .js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 900ms var(--ease-out), transform 1100ms var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  /* headings rise out of their own baseline, like title cards */
  .js .head[data-reveal], .js .row-head h2[data-reveal] { opacity: 1; transform: translateY(14%); clip-path: inset(0 0 100% 0); transition: transform 900ms var(--ease-out), clip-path 900ms var(--ease-out); }
  .js .head[data-reveal].is-in, .js .row-head h2[data-reveal].is-in { transform: none; clip-path: inset(-20% -5% -30% -5%); }

  /* shot 2: the season */
  .js .year li { opacity: 0; transform: translateX(-16px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out); }
  .js .year.is-in li { opacity: 1; transform: none; }
  .js .year.is-in li:nth-child(2) { transition-delay: 90ms; } .js .year.is-in li:nth-child(3) { transition-delay: 180ms; }
  .js .year.is-in li:nth-child(4) { transition-delay: 270ms; } .js .year.is-in li:nth-child(5) { transition-delay: 360ms; }
  .js .year.is-in li:nth-child(6) { transition-delay: 450ms; }
  /* the Hokusai print unrolls like a hanging scroll */
  .js .print img { clip-path: inset(0 0 100% 0); transition: clip-path 1800ms var(--ease-in-out) 200ms; }
  .js .print.is-in img { clip-path: inset(0); }

  /* shot 3: the bottle opens from the centre of the frame */
  .js .bottles-photo .shots { clip-path: inset(16%); transform: scale(1.14); transition: clip-path 1500ms var(--ease-in-out), transform 2200ms var(--ease-soft); }
  .js .bottles-photo.is-in .shots { clip-path: inset(0); transform: none; }
  .bottles-text > * { transition: opacity 220ms ease, transform 360ms var(--ease-out); }
  .bottles-text.swap > * { opacity: 0; transform: translateY(10px); }

  /* shot 4: the greenhouse drifts behind the menu sheet */
  .shop-ground { transform: translateY(calc((var(--through, 0.5) - 0.5) * -16%)) scale(1.22); }
  .js .items li { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: 200ms; }
  .js .menu.is-in .items li { opacity: 1; transform: none; }

  /* shot 5: the two fields part from their shared edge, then the prices count up */
  .js .plan { transition: clip-path 1500ms var(--ease-in-out); }
  .js .plan-pick:not(.is-in) { clip-path: inset(0 0 0 100%); }
  .js .plan-day:not(.is-in) { clip-path: inset(0 100% 0 0); }
  .js .plan > * { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-out); transition-delay: 600ms; }
  .js .plan.is-in > * { opacity: 1; transform: none; }
  .js .plan.is-in > :nth-child(2) { transition-delay: 690ms; } .js .plan.is-in > :nth-child(3) { transition-delay: 780ms; } .js .plan.is-in > :nth-child(4) { transition-delay: 870ms; }

  /* shot 6: the slip feeds out like a receipt; the cows sit deeper than the page */
  .js .slip-feed { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1700ms var(--ease-in-out) 150ms; }
  .js .slip-feed.is-in { clip-path: inset(0 0 -4px 0); }
  .js .slip-feed .slip { transform: translateY(-24px); transition: transform 1700ms var(--ease-in-out) 150ms; }
  .js .slip-feed.is-in .slip { transform: none; }
  .js .slip li, .js .slip-end { opacity: 0; transition: opacity 600ms var(--ease-out) 1300ms; }
  .js .slip-feed.is-in li, .js .slip-feed.is-in .slip-end { opacity: 1; }
  .day-photo img { transform: translateY(calc((var(--through, 0.5) - 0.5) * -70px)) scale(1.14); }

  /* shot 7: the pan */
  .js .mod { opacity: 0; transform: translateX(60px); transition: opacity 900ms var(--ease-out), transform 1200ms var(--ease-out); }
  .js .row.is-in .mod { opacity: 1; transform: none; }
  .js .row.is-in .mod:nth-child(2) { transition-delay: 90ms; } .js .row.is-in .mod:nth-child(3) { transition-delay: 180ms; }
  .js .row.is-in .mod:nth-child(4) { transition-delay: 270ms; } .js .row.is-in .mod:nth-child(n+5) { transition-delay: 360ms; }

  /* visiting: two photographs at two depths */
  .js .v-tall, .js .v-square { opacity: 0; transition: opacity 1000ms var(--ease-out); }
  .js .visit.is-in .v-tall { opacity: 1; }
  .js .visit.is-in .v-square { opacity: 1; transition-delay: 300ms; }
  .v-tall { transform: translateY(calc((var(--through, 0.5) - 0.5) * -70px)); }
  .v-square { transform: translateY(calc((var(--through, 0.5) - 0.5) * -190px)); }

  /* shot 8: fade to black, the address types itself up, then the closing shot */
  .js .contact-mail .ch { transform: translateY(110%); transition: transform 1000ms var(--ease-out); transition-delay: calc(var(--i) * 30ms + 200ms); }
  .js .contact.is-in .contact-mail .ch { transform: none; }
  .js .contact-lead, .js .contact-foot { opacity: 0; transition: opacity 1000ms ease 900ms; }
  .js .contact.is-in .contact-lead, .js .contact.is-in .contact-foot { opacity: 1; }
  .foot-photo { transform: scale(calc(1.28 - var(--enter, 1) * 0.28)); transform-origin: 50% 60%; }
  .js .foot-name { transform: translateY(40%); opacity: 0; transition: transform 1400ms var(--ease-out), opacity 1000ms var(--ease-out); }
  .js .foot.is-in .foot-name { transform: none; opacity: 1; transition-delay: 300ms; }

  .mod img { transition: transform 900ms var(--ease-soft); }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes line-up { to { transform: none; } }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .frame { transition: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .menu { grid-column: 3 / 13; }
  .slip-feed { grid-column: 6 / 13; }
  .day-copy { grid-column: 1 / 6; }
  .visit-copy { grid-column: 1 / 7; }
  .people-copy { grid-column: 1 / 13; padding: 0 0 12px; }
  .p-main { grid-column: 1 / 7; grid-row: 2 / 4; }
  .p-a { grid-column: 7 / 13; grid-row: 2; }
  .p-b { grid-column: 7 / 10; grid-row: 3; }
  .p-c { grid-column: 10 / 13; grid-row: 3; }
  .p-d { grid-column: 1 / 13; grid-row: 4; aspect-ratio: 21 / 9; }
  .v-square { left: 24px; }
}

/* ---------- stacked stage, tablet and phone ---------- */
@media (max-width: 1000px) {
  .stage { display: flex; flex-direction: column; }
  .stage-photo { order: -1; position: sticky; top: var(--gap); height: 44svh; width: 100%; z-index: 0; }
  .stage-read { position: relative; z-index: 1; width: 100%; }
  .hero { min-height: auto; padding-bottom: 56px; }
  .hero-body { margin-top: 64px; padding-bottom: 0; }
  .hero-title { font-size: clamp(2.3rem, 9.6vw, 4.5rem); }
  .shop { display: flex; flex-direction: column; align-items: center; gap: 40px; }
  .basket { position: relative; top: auto; width: min(640px, 100%); order: 2; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .people { grid-template-columns: 1fr 1fr; padding: 0 16px; }
  .people-copy { grid-column: 1 / 3; grid-row: auto; padding: 0 0 12px; }
  .p-main { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 4 / 5; }
  .p-a { grid-column: 1 / 3; grid-row: auto; }
  .p-b, .p-c, .p-d { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
  .p-d { grid-column: 1 / 3; aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  :root { --pad: 20px; --section: 96px; }
  .only-narrow { display: inline; }
  .hero { padding: 22px 20px 40px; }
  .hero-nav { grid-template-columns: 1fr; justify-items: center; gap: 0.75rem; }
  .hero-nav > a:first-child, .hero-nav > a:last-child { display: none; }
  .mark { width: 40px; height: 40px; }
  .foot-crest .mark { width: 56px; height: 56px; }
  .hero-body { margin-top: 24px; gap: 1.1rem; }
  .hero-status { margin-top: -0.25rem; }
  .hero .button { width: 100%; }
  .year li { grid-template-columns: 6rem 1fr; padding: 12px; font-size: 16px; }
  .print { grid-template-columns: 1fr; }
  .print img { width: 70%; }

  .bottles { grid-template-columns: 1fr; min-height: 0; }
  .bottles-photo { padding: 16px 16px 0; }
  .bottles-copy { padding: 20px 16px 24px; gap: 1.75rem; }
  .tabs { gap: 0 1.25rem; }
  .tabs button { font-size: 17px; }
  .cells { grid-template-columns: 1fr; }
  .cell { height: 60px; }

  .shop { padding: 64px 10px; }
  .menu { width: 100%; }
  .menu-inner { padding: 44px 20px 16px; }
  .items li.has-step { grid-template-columns: 1fr auto; row-gap: 2px; }
  .items li.has-step .step { grid-row: 2; grid-column: 2; align-self: start; }
  .group h3 { font-size: 20px; }
  .step button { width: 44px; height: 44px; }
  .basket { padding: 24px 20px 28px; }
  .basket-date { grid-template-columns: 1fr; gap: 6px; }

  .plans { grid-template-columns: 1fr; }
  .plan-day { order: -1; }
  .plan { min-height: 70svh; padding: 28px 20px 20px; }
  .price { font-size: 11.5vw; }
  .plan-foot { flex-direction: column; align-items: stretch; }
  .plan-foot .button { width: 100%; }

  .day { display: block; padding: 0 16px; }
  .day-copy { margin-bottom: 40px; }
  .slip { padding: 28px 20px 0; }
  .slip-end { margin: 28px -20px 0; padding: 0 20px 14px; }

  .row-head { padding: 0 16px 0 20px; }
  .row { height: 62svh; min-height: 0; gap: 8px; padding-left: 20px; scroll-padding-left: 20px; }
  .mod-tall { width: 72vw; aspect-ratio: auto; }
  .mod-pair { width: 64vw; aspect-ratio: auto; gap: 8px; }
  .mod-wide { width: 88vw; aspect-ratio: auto; height: 70%; align-self: center; }

  .visit { display: flex; flex-direction: column-reverse; padding: 0; }
  .visit-photos { margin: 0; padding: 0 0 0; }
  .v-tall { aspect-ratio: 4 / 5; }
  .v-square { left: auto; right: 16px; bottom: -32px; width: 38%; }
  .visit-copy { padding: 64px 16px 64px; }
  .facts div { grid-template-columns: 1fr; gap: 0; }
  .faq { gap: 24px; }
  .visit-actions .button { width: 100%; }

  .contact { min-height: 86svh; padding: 20px; }
  .contact-mail { font-size: 11.5vw; align-self: center; margin-bottom: 0; }
  .contact-foot { flex-direction: column; gap: 12px; }
  .contact-foot p:last-child { text-align: left; }

  .foot { min-height: 88svh; }
  .foot-top { flex-direction: column; gap: 1.25rem; padding: 20px 16px; }
  .foot-top p { text-align: left; }
  .foot-bottom { padding: 0 16px 28px; }
  .foot-name { font-size: 11.5vw; white-space: normal; }
}
