:root {
  --cellar: #15120e;
  --oak: #1e1a14;
  --rule: #3a3226;
  --ivory: #f2ece1;
  --chalk: #c4b9a6;
  --gold: #d1ae68;
  --gold-deep: #a8833f;
  --rose: #e0aba2;
  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--cellar); color: var(--ivory); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ivory); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.frame { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--gold); color: var(--cellar); padding: 10px 16px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }

/* Header */
.masthead { border-bottom: 1px solid var(--rule); background: var(--cellar); }
.masthead-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 14px; padding-bottom: 10px; }
.brand { font: 600 1.55rem/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); text-decoration: none; margin: 0; }
.brand span { color: var(--gold); font-style: italic; text-transform: none; letter-spacing: .02em; }
.menu { display: flex; flex-wrap: wrap; gap: 0 4px; margin-left: -10px; }
.menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--chalk); text-decoration: none; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--gold); }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; color: var(--ivory); }
h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
.kicker { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.lede { font: 500 clamp(1.2rem, 2.4vw, 1.45rem)/1.5 var(--serif); color: var(--chalk); max-width: 640px; margin: 0 0 28px; }
.section-title { display: flex; align-items: center; gap: 18px; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 36px; }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.numeral { font: italic 500 3.4rem/1 var(--serif); color: var(--gold); margin: 0 0 12px; }
.small { font-size: .85rem; }

/* Hero */
.hero { position: relative; border-bottom: 1px solid var(--rule); }
.hero-img { width: 100%; aspect-ratio: 1600 / 893; object-fit: cover; }
.hero-copy { padding-top: 32px; padding-bottom: 48px; }
.cta { display: inline-flex; align-items: center; align-self: flex-start; min-height: 48px; padding: 0 26px; border: 1px solid var(--gold); color: var(--gold); text-decoration: none; letter-spacing: .16em; text-transform: uppercase; font-size: .82rem; }
.cta:hover { background: var(--gold); color: var(--cellar); }
@media (min-width: 900px) {
  .hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding-top: 0; padding-bottom: 0; background: linear-gradient(90deg, rgba(21,18,14,.92) 0%, rgba(21,18,14,.72) 38%, rgba(21,18,14,0) 70%); max-width: none; padding-left: max(20px, calc((100% - 1120px) / 2)); }
  .hero-copy > * { max-width: 560px; }
}

/* Figures */
.figures { border-bottom: 1px solid var(--rule); background: var(--oak); }
.figures-in { display: grid; gap: 0; }
.figures p { margin: 0; padding: 24px 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 4px; }
.figures p:first-child { border-top: 0; }
.figures strong { font: 500 2.6rem/1 var(--serif); color: var(--gold); }
.figures span { color: var(--chalk); font-size: .95rem; }
@media (min-width: 760px) {
  .figures-in { grid-template-columns: repeat(3, 1fr); }
  .figures p { border-top: 0; border-left: 1px solid var(--rule); padding: 32px 28px; }
  .figures p:first-child { border-left: 0; padding-left: 0; }
}

/* Chapters */
.chapters { padding-top: 72px; padding-bottom: 40px; }
.chapter { display: grid; gap: 24px; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--rule); }
.chapter:last-child { border-bottom: 0; margin-bottom: 0; }
.chapter img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.chapter-copy p { max-width: 620px; }
.meta { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.more { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; }
.more::after { content: "→"; margin-left: 10px; }
@media (min-width: 900px) {
  .chapter { grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
  .chapter:nth-child(odd of .chapter) { grid-template-columns: 6fr 5fr; }
  .chapter:nth-child(odd of .chapter) img { order: 2; }
}

/* Tables */
.compare { padding-top: 24px; padding-bottom: 72px; }
.table-box { overflow-x: auto; border: 1px solid var(--rule); margin: 0 0 1.5em; }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { font-weight: 500; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); background: var(--oak); }
tbody th { font: 600 1.15rem/1.3 var(--serif); color: var(--ivory); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td { color: var(--chalk); }

/* Method */
.method { display: grid; gap: 32px; padding-top: 0; padding-bottom: 88px; }
.method img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.method p { color: var(--chalk); max-width: 640px; }
@media (min-width: 900px) { .method { grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; } }

/* Inner pages */
.crumbs { padding: 22px 0 0; font-size: .82rem; letter-spacing: .06em; color: var(--chalk); }
.crumbs a { color: var(--chalk); display: inline-block; padding: 10px 0; }
.crumbs a:hover { color: var(--gold); }
.cuvee-head { padding: 32px 0 36px; max-width: 820px; }
.plate { margin: 0 0 56px; }
.plate img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.plate figcaption { font-size: .82rem; color: var(--chalk); padding-top: 10px; border-bottom: 1px solid var(--rule); padding-bottom: 12px; }
.cuvee-body { display: grid; gap: 40px; padding-bottom: 56px; }
.facts { margin: 0; border-top: 1px solid var(--gold-deep); }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.facts dd { margin: 4px 0 0; font: 500 1.2rem/1.35 var(--serif); }
@media (min-width: 960px) {
  .cuvee-body { grid-template-columns: 300px minmax(0, 1fr); gap: 72px; align-items: start; }
  .facts { position: sticky; top: 24px; }
}
.prose { max-width: 700px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ivory); }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: .6em; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--gold); font-weight: 500; }
.prose img { margin: 0 0 32px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.next { border-top: 1px solid var(--rule); padding: 40px 0 72px; }
.next a { display: block; font: 500 clamp(1.6rem, 4vw, 2.4rem)/1.2 var(--serif); text-decoration: none; color: var(--ivory); }
.next a span { display: block; font: 400 .78rem/1.6 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.next a:hover { color: var(--gold); }

/* Journal */
.reading { max-width: 800px; padding-bottom: 80px; }
.reading h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-top: 24px; }
.byline { color: var(--chalk); font-size: .9rem; margin: 0 0 36px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.reading .prose { font-size: 18px; }
.entries { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.entries li { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.entries time { display: block; font-size: .78rem; letter-spacing: .2em; color: var(--gold); }
.entries a { font: 500 1.7rem/1.25 var(--serif); color: var(--ivory); text-decoration: none; }
.entries a:hover { color: var(--gold); }
.entries p { color: var(--chalk); margin: 8px 0 0; }

/* Footer */
.colophon { border-top: 1px solid var(--rule); background: var(--oak); padding: 40px 0 32px; }
.colophon p { color: var(--chalk); font-size: .9rem; max-width: 640px; margin: 0 0 10px; }
.colophon .brand-foot { color: var(--ivory); margin-bottom: 18px; font-size: 1.3rem; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  a, .cta { transition: color .2s, background-color .2s; }
}
