/* ————————————————————————————————————————————
   Domaine de Clairaux — season-graded design system
   The palette is not fixed: it follows [data-season]
   on <html> through the vigneron's year.
   ———————————————————————————————————————————— */

:root {
  /* estate constants */
  --ink: #2b211b;
  --ink-soft: rgba(43, 33, 27, 0.62);
  --ink-line: rgba(43, 33, 27, 0.28);
  --ink-hair: rgba(43, 33, 27, 0.16);
  --ruby: #6e2434;
  --ruby-deep: #521826;
  --amber: #a9772f;
  --paper: rgba(255, 253, 245, 0.72);
  --stone: #b9ad98;
  --roof: #7d5a49;
  --trunk: #5c4a38;

  /* season-graded (defaults = véraison) */
  --chalk: #efead9;
  --chalk-deep: #e6dfc9;
  --accent: #5f7f45;
  --sky-hi: #cfdfe3;
  --sky-lo: #f2ecd2;
  --sun: #f4e4a6;
  --sun-halo: rgba(244, 228, 166, 0.4);
  --ridge: #8fa383;
  --hill1: #9fb27f;
  --hill2: #b4c08a;
  --row: #77664e;
  --leaf: #5f7f45;
  --leaf-o: 1;
  --grape: #7e3b4c;
  --grape-o: 1;
  --mist-o: 0;
  --snow-o: 0;
  --sun-shift: translate(-80px, -30px);

  --serif: "Cormorant", "Times New Roman", serif;
  --body: "EB Garamond", Georgia, serif;
  --caps: "Marcellus SC", "Cormorant", serif;

  --fade: 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

:root[data-season="bud"] {
  --chalk: #edecdf;
  --chalk-deep: #e3e2d0;
  --accent: #7c9450;
  --sky-hi: #d8e4de;
  --sky-lo: #efeedc;
  --sun: #f5efc9;
  --sun-halo: rgba(245, 239, 201, 0.42);
  --ridge: #a9b79a;
  --hill1: #b9c49c;
  --hill2: #c9cfa3;
  --row: #7c6b52;
  --leaf: #92a860;
  --leaf-o: 0.85;
  --grape: #7e3b4c;
  --grape-o: 0;
  --mist-o: 0.22;
  --snow-o: 0;
  --sun-shift: translate(-160px, -8px);
}

:root[data-season="harvest"] {
  --chalk: #f0e8d4;
  --chalk-deep: #e7dcbf;
  --accent: #a9772f;
  --sky-hi: #e2d8c4;
  --sky-lo: #f3e3c1;
  --sun: #e9c374;
  --sun-halo: rgba(233, 195, 116, 0.42);
  --ridge: #aa9670;
  --hill1: #c0a468;
  --hill2: #cdaf72;
  --row: #6e5a43;
  --leaf: #c08a3e;
  --leaf-o: 1;
  --grape: #5e1f30;
  --grape-o: 1;
  --mist-o: 0.5;
  --snow-o: 0;
  --sun-shift: translate(40px, 22px);
}

:root[data-season="dormancy"] {
  --chalk: #eae9e3;
  --chalk-deep: #dfdeD6;
  --accent: #6a6f6b;
  --sky-hi: #dcdfe1;
  --sky-lo: #efeee9;
  --sun: #edeae1;
  --sun-halo: rgba(237, 234, 225, 0.5);
  --ridge: #9fa3a1;
  --hill1: #b4b2a7;
  --hill2: #c5c2b7;
  --row: #5d5147;
  --leaf: #8a7b67;
  --leaf-o: 0.12;
  --grape: #5e1f30;
  --grape-o: 0;
  --mist-o: 0.16;
  --snow-o: 1;
  --sun-shift: translate(120px, 54px);
}

/* ————— base ————— */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--fade);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

::selection { background: var(--ruby); color: #f4ead9; }

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

.caps {
  font-family: var(--caps);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: lowercase;
  font-weight: 400;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* engraved double rule */
.rule {
  border: 0;
  height: 5px;
  margin: 0;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-hair);
  background: transparent;
}

/* ————— header ————— */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--chalk) 86%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-hair);
  transition: background-color var(--fade);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.masthead .brand {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  white-space: nowrap;
}

.masthead nav {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.2rem);
}

.masthead nav a {
  text-decoration: none;
  font-size: 0.68rem;
  color: var(--ink-soft);
  transition: color 0.3s;
  white-space: nowrap;
}

.masthead nav a:hover { color: var(--ruby); }

/* ————— hero ————— */

.hero {
  position: relative;
  padding-top: clamp(2rem, 4.5vh, 3.2rem);
  text-align: center;
}

.plate {
  max-width: 660px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.plate .est {
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.plate h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0.015em;
  margin: 0 0 0.9rem;
}

.plate h1 .de {
  display: block;
  font-size: 0.32em;
  font-family: var(--caps);
  letter-spacing: 0.5em;
  color: var(--ink-soft);
  margin: 0.6em 0 0.5em;
}

.fleuron {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 1rem auto 1.1rem;
  color: var(--ruby);
}

.fleuron::before,
.fleuron::after {
  content: "";
  width: 72px;
  height: 3px;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-hair);
}

.hero-line {
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0 auto;
  min-height: 3.2em;
}

/* scene */

.scene {
  margin-top: clamp(-1rem, 1vw, 1rem);
  position: relative;
}

.scene svg {
  display: block;
  width: 100%;
  height: auto;
}

.scene .sky-stop-hi { stop-color: var(--sky-hi); transition: stop-color var(--fade); }
.scene .sky-stop-lo { stop-color: var(--sky-lo); transition: stop-color var(--fade); }
.scene .sun-core { fill: var(--sun); transition: fill var(--fade); }
.scene .sun-halo { fill: var(--sun-halo); transition: fill var(--fade); }
.scene .sun-g { transform: var(--sun-shift); transition: transform var(--fade); }
.scene .ridge { fill: var(--ridge); transition: fill var(--fade); }
.scene .hill1 { fill: var(--hill1); transition: fill var(--fade); }
.scene .hill2 { fill: var(--hill2); transition: fill var(--fade); }
.scene .rowline { stroke: var(--row); transition: stroke var(--fade); }
.scene .leaf { fill: var(--leaf); opacity: var(--leaf-o); transition: fill var(--fade), opacity var(--fade); }
.scene .tree { fill: var(--leaf); opacity: calc(0.55 + var(--leaf-o) * 0.45); transition: fill var(--fade), opacity var(--fade); }
.scene .grape { fill: var(--grape); opacity: var(--grape-o); transition: fill var(--fade), opacity var(--fade); }
.scene .mist { fill: #f6f3ea; opacity: var(--mist-o); transition: opacity var(--fade); }
.scene .snow { fill: #f7f6f1; opacity: var(--snow-o); transition: opacity var(--fade); }
.scene .stone { fill: var(--stone); }
.scene .roof { fill: var(--roof); }
.scene .trunkline { stroke: var(--trunk); }

/* ————— season dial ————— */

.dial-band {
  position: relative;
  margin-top: clamp(-4.5rem, -6vw, -3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.dial {
  position: relative;
  width: 252px;
  height: 252px;
  margin: 0 auto;
}

.dial-face {
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 253, 245, 0.95), rgba(244, 239, 224, 0.95));
  border: 1px solid var(--ink-line);
  box-shadow:
    0 0 0 5px var(--chalk),
    0 0 0 6px var(--ink-hair),
    0 18px 40px -18px rgba(43, 33, 27, 0.4);
  transition: box-shadow var(--fade);
}

.dial svg {
  position: absolute;
  inset: 26px;
  width: 200px;
  height: 200px;
}

.dial .tick { stroke: var(--ink-line); }
.dial .tick-major { stroke: var(--ink); }

.dial .needle-g {
  transform-origin: 100px 100px;
  transition: transform 1.1s cubic-bezier(0.6, 0, 0.2, 1.2);
}
.dial .needle { stroke: var(--ruby); }
.dial .needle-hub { fill: var(--ruby); }
.dial .needle-tail { fill: none; stroke: var(--ruby); }

.dial-center {
  position: absolute;
  inset: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  pointer-events: none;
}

.dial-center .season-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ruby);
}

.dial-center .season-months {
  font-size: 0.58rem;
  color: var(--ink-soft);
}

.dial-btn {
  position: absolute;
  appearance: none;
  background: color-mix(in srgb, var(--chalk) 72%, transparent);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 2px;
  border: 0;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  font-family: var(--caps);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  color: var(--ink-soft);
  transition: color 0.35s;
}

.dial-btn:hover { color: var(--ink); }

.dial-btn[aria-checked="true"] { color: var(--ruby); }

.dial-btn[aria-checked="true"]::after {
  content: "";
  display: block;
  margin: 2px auto 0;
  width: 4px;
  height: 4px;
  transform: rotate(45deg);
  background: var(--ruby);
}

.dial-btn--bud { top: -8px; left: 50%; transform: translateX(-50%); }
.dial-btn--veraison { right: -76px; top: 50%; transform: translateY(-50%); }
.dial-btn--harvest { bottom: -8px; left: 50%; transform: translateX(-50%); }
.dial-btn--dormancy { left: -74px; top: 50%; transform: translateY(-50%); }

.dial-caption {
  margin: 1.6rem auto 0;
  max-width: 46ch;
  font-size: 1.05rem;
  color: var(--ink-soft);
  font-style: italic;
  min-height: 3.4em;
}

.dial-hint {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  opacity: 0.75;
  font-size: 0.62rem;
}

/* ————— sections ————— */

section { position: relative; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.section-head .no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ruby);
  white-space: nowrap;
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin: 0;
}

.section-head .head-rule {
  flex: 1;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-hair);
  height: 4px;
  align-self: center;
  min-width: 40px;
}

.section-pad { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

/* the year */

.year-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.year-copy p { margin: 0 0 1.2em; }

.year-note {
  border-left: 2px solid var(--ruby);
  padding: 0.2rem 0 0.2rem 1.2rem;
  font-style: italic;
  color: var(--ink-soft);
  margin: 1.6rem 0 0;
}

.season-ledger { border-top: 1px solid var(--ink-line); }

.season-ledger .row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid var(--ink-hair);
  cursor: pointer;
  transition: background-color 0.3s;
}

.season-ledger .row:hover { background: var(--paper); }

.season-ledger .row[data-active="true"] {
  background: var(--paper);
  box-shadow: inset 2px 0 0 var(--ruby);
}

.season-ledger .row .work {
  font-size: 1rem;
  color: var(--ink-soft);
  display: block;
  margin-top: 0.1rem;
}

.season-ledger .row .months {
  font-size: 0.6rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.season-ledger .row .name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
}

/* ————— millésime / allocation ————— */

.vintage { background: var(--chalk-deep); transition: background-color var(--fade); }

.vintage-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.vintage-intro figure { margin: 0; }

.vintage-intro img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--ink-line);
  padding: 6px;
  background: var(--paper);
}

.vintage-intro figcaption {
  margin-top: 0.7rem;
  font-size: 0.62rem;
  color: var(--ink-soft);
}

.vintage-intro .lede {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  margin: 0 0 1rem;
}

.vintage-intro p { margin: 0 0 1em; }

.vintage-facts {
  display: flex;
  gap: 2.2rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}

.vintage-facts div { min-width: 90px; }

.vintage-facts .datum {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  display: block;
}

.vintage-facts .label {
  font-size: 0.6rem;
  color: var(--ink-soft);
}

.cuvees {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

.cuvee {
  position: relative;
  background: linear-gradient(175deg, #fffdf6, #f7f1e2);
  border: 1px solid var(--ink-line);
  padding: 10px;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.45s;
}

.cuvee:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 44px -24px rgba(43, 33, 27, 0.45);
}

.cuvee-inner {
  border: 1px solid var(--ink-hair);
  padding: 1.6rem 1.2rem 1.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: border-color 0.45s;
}

.cuvee:hover .cuvee-inner { border-color: rgba(110, 36, 52, 0.4); }

.cuvee .appellation { color: var(--ink-soft); font-size: 0.6rem; }

.cuvee h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 0.55rem 0 0.2rem;
}

.cuvee .cru {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ruby);
  font-size: 1rem;
}

.cuvee .divot {
  width: 26px;
  margin: 0.9rem auto;
  border-top: 1px solid var(--ink-line);
}

.cuvee .note {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 1.1rem;
}

.cuvee dl {
  margin: auto 0 1.2rem;
  font-size: 0.85rem;
  text-align: left;
}

.cuvee dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.32rem 0;
  border-bottom: 1px dotted var(--ink-hair);
}

.cuvee dt { color: var(--ink-soft); font-size: 0.6rem; }
.cuvee dd { margin: 0; font-weight: 500; }

.cuvee .price {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.cuvee .price small {
  font-size: 0.58em;
  color: var(--ink-soft);
  font-weight: 400;
}

.seal {
  position: absolute;
  top: -13px;
  right: 14px;
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 3px 5px rgba(43, 33, 27, 0.3));
}

.btn {
  display: inline-block;
  font-family: var(--caps);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.8rem 1.5rem;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s;
}

.btn:hover {
  background: var(--ruby);
  border-color: var(--ruby);
  color: #f4ead9;
}

.btn--full { width: 100%; text-align: center; }

.btn--ruby {
  background: var(--ruby);
  border-color: var(--ruby);
  color: #f4ead9;
}

.btn--ruby:hover { background: var(--ruby-deep); border-color: var(--ruby-deep); }

.alloc-note {
  text-align: center;
  color: var(--ink-soft);
  font-style: italic;
  font-size: 1rem;
  margin-top: 2.2rem;
}

/* ————— terroir ————— */

.terroir-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.terroir-copy p { margin: 0 0 1.2em; }

.strata { width: 100%; height: auto; display: block; }

.strata .topsoil { fill: #8a6d4e; }
.strata .marl { fill: #b3a482; }
.strata .marl2 { fill: #c5b795; }
.strata .lime { fill: #d8cfb4; }
.strata .lime2 { fill: #e3dcc4; }
.strata .root { stroke: #4a3826; fill: none; }
.strata .depth-line { stroke: var(--ink-line); }
.strata text {
  font-family: var(--caps);
  font-size: 13px;
  letter-spacing: 0.12em;
  fill: var(--ink);
}
.strata .depth-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  letter-spacing: 0;
  fill: var(--ink-soft);
}
.strata .stratum-note {
  font-family: var(--body);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.01em;
  fill: rgba(43, 33, 27, 0.6);
}

.terroir-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--ink-line);
}

.terroir-stats .datum { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; display: block; }
.terroir-stats .label { font-size: 0.6rem; color: var(--ink-soft); }

/* ————— generations ————— */

.gens { background: var(--chalk-deep); transition: background-color var(--fade); }

.gens-intro { max-width: 58ch; margin-bottom: clamp(2rem, 4vw, 3rem); }

.gen-ledger {
  border-top: 1px solid var(--ink-line);
  columns: 2;
  column-gap: clamp(2rem, 5vw, 4.5rem);
  column-rule: 1px solid var(--ink-hair);
}

.gen-ledger .gen {
  break-inside: avoid;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 0.9rem;
  align-items: baseline;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--ink-hair);
}

.gen .numeral {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ruby);
  font-size: 1.05rem;
}

.gen .who { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }

.gen .deed {
  display: block;
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 400;
}

.gen .yrs { font-size: 0.62rem; color: var(--ink-soft); white-space: nowrap; }

/* ————— visites ————— */

.visit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

.visit {
  background: linear-gradient(175deg, #fffdf6, #f7f1e2);
  border: 1px solid var(--ink-line);
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.visit img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--ink-hair);
}

.visit-body { padding: 1.6rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }

.visit-body .caps { color: var(--ink-soft); }

.visit h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  margin: 0.45rem 0 0.6rem;
}

.visit p { margin: 0 0 1.2rem; color: var(--ink-soft); font-size: 1.02rem; }

.visit-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px dotted var(--ink-hair);
  padding-top: 0.9rem;
  margin-top: auto;
  margin-bottom: 1.2rem;
}

.visit-meta .price { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.visit-meta .when { font-size: 0.62rem; color: var(--ink-soft); }

.visit-note {
  margin-top: 2rem;
  text-align: center;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ————— footer ————— */

footer {
  border-top: 1px solid var(--ink-line);
  padding: clamp(2.5rem, 5vw, 4rem) 0 2.2rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.foot-grid h4 {
  font-family: var(--caps);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--ink-soft);
  margin: 0 0 0.8rem;
}

.foot-grid p, .foot-grid a { font-size: 1rem; margin: 0 0 0.3rem; color: var(--ink); }
.foot-grid .brandline { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: 0.5rem; }
.foot-grid .muted { color: var(--ink-soft); }

.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.4rem;
  border-top: 1px solid var(--ink-hair);
  font-size: 0.62rem;
  color: var(--ink-soft);
}

/* ————— load sequence ————— */

.rise {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1.1s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

.rise-1 { animation-delay: 0.1s; }
.rise-2 { animation-delay: 0.28s; }
.rise-3 { animation-delay: 0.46s; }
.rise-4 { animation-delay: 0.72s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* scroll reveal: transform-only nudge, content never hidden */
.reveal { transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1); }
.reveal.is-out { transform: translateY(22px); }

/* ————— responsive ————— */

@media (max-width: 980px) {
  .cuvees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .year-grid, .terroir-grid, .vintage-intro { grid-template-columns: 1fr; }
  .gen-ledger { columns: 1; }
}

@media (max-width: 640px) {
  body { font-size: 1.05rem; }
  .masthead .brand { font-size: 0.62rem; letter-spacing: 0.22em; }
  .masthead nav { gap: 0.9rem; }
  .masthead nav a { font-size: 0.6rem; }
  .masthead nav a:nth-child(n+3) { display: none; }
  .cuvees { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .dial { width: 216px; height: 216px; }
  .dial svg, .dial-face, .dial-center { inset: 22px; }
  .dial svg { width: 172px; height: 172px; }
  .dial-btn--veraison { right: -66px; }
  .dial-btn--dormancy { left: -64px; }
  .dial-band { margin-top: -2.2rem; }
}

/* ————— reduced motion ————— */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
  }
  .rise, .reveal { opacity: 1; transform: none; }
}
