/* The Ledger — ink on warm paper, set like a book about a farm.
   Colours sampled from the real label: black #030302, gold #A6976A. */

:root {
  --paper: #f3ece0;
  --paper-2: #eae1d1;
  --ink: #171310;
  --ink-soft: #4b433a;
  --gold: #8d7c4e;
  --gold-bright: #dac480;
  --rule: #cbbfa9;
  --measure: 34rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 1.125rem/1.7 "Newsreader", Georgia, serif;
  font-feature-settings: "onum" 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--paper); padding: .75rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 10; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- masthead ---------- */

.masthead {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: baseline; justify-content: space-between;
  padding: 1.6rem clamp(1.25rem, 5vw, 4rem) 1.2rem;
  border-bottom: 1px solid var(--rule);
}

.mark {
  text-decoration: none;
  font-family: "Bogart", "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: -0.015em;
}
.mark-b { font-size: .72em; font-style: italic; font-weight: 400; }

.masthead nav {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  font-family: "Bogart", "Fraunces", Georgia, serif;
  font-size: .78rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: .14em;
}
.masthead nav a { text-decoration: none; padding-bottom: .2rem; border-bottom: 1px solid transparent; }
.masthead nav a:hover,
.masthead nav a[aria-current] { border-bottom-color: var(--gold); }
.masthead nav .cta { color: var(--gold); }

/* ---------- shared page furniture ---------- */

.wrap { padding: 0 clamp(1.25rem, 5vw, 4rem); }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

section { padding: clamp(3.5rem, 7vw, 6rem) 0; }

.eyebrow {
  font-family: "Bogart", "Fraunces", Georgia, serif;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .2em;
  color: var(--gold); margin: 0 0 1.2rem;
}

h1, h2, h3 {
  font-family: "Bogart", "Fraunces", Georgia, serif;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.03;
  margin: 0 0 1rem;
}

h2 { font-size: clamp(1.75rem, 3.1vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: 0; line-height: 1.25; }

p { margin: 0 0 1.1rem; max-width: var(--measure); }
.lede { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.55; color: var(--ink-soft); }

/* ---------- opening ---------- */

.opening { padding: clamp(4rem, 11vh, 9rem) 0 clamp(3rem, 6vw, 5rem); }

.opening h1 {
  font-size: clamp(2.9rem, 9.5vw, 8rem);
  line-height: .95;
  margin: 0 0 2rem;
  max-width: 12ch;
}
.opening h1 em {
  font-style: italic;
  font-size: .42em;
  font-weight: 300;
  display: inline-block;
  transform: translateY(-0.35em);
  padding: 0 .12em;
}

.opening-foot {
  display: grid; gap: 2rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}
@media (min-width: 55rem) {
  .opening-foot { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}

.stamp {
  font-family: "Bogart", "Fraunces", Georgia, serif;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--gold); line-height: 2;
  border-top: 1px solid var(--rule); padding-top: .9rem;
}

/* ---------- specification table ---------- */

.spec { list-style: none; margin: 0; padding: 0; }
.spec li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: .95rem 0;
  border-top: 1px solid var(--rule);
}
.spec li:last-child { border-bottom: 1px solid var(--rule); }
.spec .v {
  font-family: "Bogart", "Fraunces", Georgia, serif;
  font-size: 1.7rem; font-weight: 300; line-height: 1;
  letter-spacing: -0.02em;
  text-align: right;
}
.spec .u { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin-top: .4rem; }
.spec .k { color: var(--ink-soft); }

/* ---------- plates (photographs, presented as book plates) ---------- */

.plates { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 48rem) { .plates.two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .plates.three { grid-template-columns: repeat(3, 1fr); } }

figure { margin: 0; }
figure img { width: 100%; height: auto; filter: saturate(.9) contrast(1.02); }
figcaption {
  margin-top: .8rem;
  font-size: .8rem; line-height: 1.5; color: var(--ink-soft);
  border-top: 1px solid var(--rule); padding-top: .55rem;
  max-width: 32ch;
}
figcaption b {
  font-family: "Bogart", "Fraunces", Georgia, serif; font-weight: 600;
  display: block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .68rem; color: var(--gold); margin-bottom: .25rem;
}

/* ---------- two-column body with margin notes ---------- */

.columns { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 58rem) {
  .columns { grid-template-columns: 14rem minmax(0, 1fr); }
}
.columns .side {
  font-family: "Bogart", "Fraunces", Georgia, serif;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--gold); padding-top: .5rem;
  border-top: 1px solid var(--rule);
}

.notes { display: grid; gap: 2.2rem; }
@media (min-width: 48rem) { .notes.two { grid-template-columns: 1fr 1fr; } }

/* ---------- pull quote ---------- */

blockquote {
  margin: 0; max-width: 22ch;
  font-family: "Bogart", "Fraunces", Georgia, serif;
  font-weight: 300; font-size: clamp(1.7rem, 4vw, 3.2rem);
  line-height: 1.08; letter-spacing: -0.02em;
}

/* ---------- forms ---------- */

form { max-width: 34rem; }
label { display: block; margin-bottom: 1.2rem; }
label span {
  display: block;
  font-family: "Bogart", "Fraunces", Georgia, serif;
  font-size: .7rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--gold); margin-bottom: .4rem;
}
input, textarea, select {
  width: 100%; font: inherit; color: inherit;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--rule);
  padding: .5rem 0;
  border-radius: 0;
}
textarea { min-height: 7rem; resize: vertical; }
button {
  font-family: "Bogart", "Fraunces", Georgia, serif;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .18em;
  background: var(--ink); color: var(--paper);
  border: 0; padding: .95rem 2rem; cursor: pointer;
}
button:hover { background: var(--gold); }
.sent { margin-top: 1rem; color: var(--gold); }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { border-top: 1px solid var(--rule); padding: 1rem 0; }
.contact-list a { font-family: "Bogart", "Fraunces", Georgia, serif; font-size: 1.15rem; text-decoration: none; }
.contact-list a:hover { color: var(--gold); }
.contact-list small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin-bottom: .3rem; font-family: "Bogart", "Fraunces", Georgia, serif; }

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--rule);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4rem) 2rem;
  background: var(--paper-2);
}
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }
.foot p { margin: 0 0 .35rem; font-size: .9rem; }
.foot-mark { font-family: "Bogart", "Fraunces", Georgia, serif; font-size: 1.2rem; }
.foot-sub, .tiny { color: var(--ink-soft); }
.tiny { font-size: .78rem; margin-top: .6rem; }
.colophon {
  margin: 2.5rem 0 0; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--gold);
  font-family: "Bogart", "Fraunces", Georgia, serif;
}

/* ---------- small helpers ---------- */

.link-more {
  display: inline-block; margin-top: 1rem;
  font-family: "Bogart", "Fraunces", Georgia, serif;
  text-transform: uppercase; letter-spacing: .16em; font-size: .8rem;
  text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: .3rem;
}
.link-more:hover { color: var(--gold); }
.stack { margin-top: 2.4rem; }

.fruit { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.fruit li {
  font-family: "Bogart", "Fraunces", Georgia, serif; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--gold);
  border-bottom: 1px solid var(--rule); padding-bottom: .3rem;
}

.mark img { height: 42px; width: auto; }

/* Every plate rendered at 1:1 gave the page no rhythm — REFERENCES.md §8.
   The reference tier breaks a square grid with wide bands and portraits. */
.plates { align-items: start; }
figure img { aspect-ratio: 1; object-fit: cover; }
.plates.three figure:nth-child(odd) img { aspect-ratio: 4 / 5; }
.plates.two figure:nth-child(2) img { aspect-ratio: 4 / 5; }
.plate-wide img { aspect-ratio: 16 / 9; }

/* three-slot sensory block — REFERENCES.md §3 */
.tasting { margin: 2.2rem 0 0; }
.tasting div { display: grid; grid-template-columns: 8rem 1fr; gap: 1.5rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
.tasting dt { font-family: "Bogart", "Fraunces", Georgia, serif; font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); }
.tasting dd { margin: 0; color: var(--ink-soft); }
