/* The Old Ridge — brand tokens from the Batch 001 label specification */
:root {
  --cream: #F5F1E8;
  --cream-deep: #ECE5D6;
  --paper: #FBF9F4;
  --charcoal: #1A1A1A;
  --ink-soft: #4A4744;
  --muted: #6E6A64;
  --rule: #D8D0C0;
  --terracotta: #9B4C29;
  --kraft: #AD8058;

  /* expression colours (the ridge on each label) and their light grounds */
  --slate: #3C4A52;
  --copper: #B87333;
  --espresso: #4E3629;
  --tint-slate: #E9E8E3;
  --tint-copper: #F3E6D6;
  --tint-espresso: #ECE2DA;

  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --wrap: 1180px;
  --gutter: 20px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--cream); color: var(--charcoal);
  font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
body.locked { overflow: hidden; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.25rem; font-weight: 500; }
p { margin: 0 0 1em; }

.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 1rem; }
.eyebrow.light { color: #E3B79C; }
.muted { color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.wordmark { font-weight: 700; letter-spacing: .14em; margin: 0; }
.serif-sub { font-family: var(--serif); font-style: italic; margin: 0; color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  padding: 1.05em 1.7em; border-radius: var(--radius); border: 1.5px solid var(--charcoal);
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn-dark { background: var(--charcoal); color: var(--cream); }
.btn-dark:hover { background: var(--terracotta); border-color: var(--terracotta); }
.btn-line { background: transparent; color: var(--charcoal); }
.btn-line:hover { background: var(--charcoal); color: var(--cream); }
.btn-sm { padding: .75em 1.2em; font-size: .7rem; }
.btn-block { width: 100%; margin-top: .6rem; }
.link-btn { background: none; border: 0; padding: 0; font: 500 .82rem var(--sans); color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--terracotta); }
:is(.btn, a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245, 241, 232, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 700; letter-spacing: .16em; text-decoration: none; font-size: .95rem; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { text-decoration: none; font-size: .82rem; font-weight: 500; letter-spacing: .04em; }
.nav a:not(.btn):hover { color: var(--terracotta); }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--charcoal); font: 600 .7rem var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: .6em .9em; cursor: pointer; color: var(--charcoal); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--rule); padding: .5rem var(--gutter) 1rem; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin-top: .8rem; }
}

/* Hero — three bottles on a shelf */
.hero { padding: clamp(2.2rem, 4.5vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem); text-align: center; overflow: hidden; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: .35em; text-wrap: balance; }
.hero .eyebrow { margin-bottom: .8rem; }
.hero-head { max-width: 920px; margin: 0 auto; }
.hero .lead { max-width: 34em; margin: 0 auto; }
.shelf {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end;
  gap: clamp(.5rem, 3vw, 3rem); max-width: 860px; margin: clamp(1.8rem, 3.5vw, 2.8rem) auto 0;
}
.shelf-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; position: relative; z-index: 1; }
.shelf-item img {
  width: auto; max-width: 100%; max-height: min(52vh, 560px); transition: transform .35s ease;
  filter: drop-shadow(0 18px 18px rgba(60, 40, 20, .16));
}
.shelf-lead img { max-height: min(56vh, 600px); }
.shelf-item:hover img { transform: translateY(-8px); }
.shelf-name { margin-top: 1.4rem; font-family: var(--serif); font-size: clamp(1.05rem, 2.2vw, 1.4rem); letter-spacing: .1em; text-transform: uppercase; }
.shelf-name::after { content: ""; display: block; width: 28px; height: 2px; background: var(--accent); margin: .55rem auto 0; }
.shelf-note { margin-top: .5rem; font-size: .82rem; color: var(--muted); }
.shelf-price { margin-top: .25rem; font-weight: 600; font-size: .9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2.2rem; }
@media (max-width: 600px) {
  .shelf { gap: .4rem; }
  .shelf-name { letter-spacing: .04em; font-size: .92rem; }
  .shelf-note { display: none; }
  .shelf-price { font-size: .8rem; }
}

/* Facts strip */
.facts { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.facts-grid > div { padding: 1.6rem .5rem; display: flex; flex-direction: column; gap: .3rem; }
.facts-grid > div + div { border-left: 1px solid var(--rule); }
.facts .num { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1; color: var(--terracotta); }
.facts .lbl { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid > div:nth-child(3) { border-left: 0; }
  .facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* Expression chapters */
.expression { background: var(--tint); padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.expression + .expression { border-top: 1px solid rgba(0, 0, 0, .05); }
.expression-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.expression.flip .expression-bottle { order: 2; }
.expression-bottle { margin: 0; display: flex; justify-content: center; position: relative; }
.expression-bottle::before { /* a soft disc of the expression colour behind the bottle */
  content: ""; position: absolute; width: min(80%, 360px); aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%, -42%); background: var(--accent); opacity: .1;
}
.expression-bottle :is(img, canvas) { position: relative; width: auto; max-height: min(78vh, 620px); filter: drop-shadow(0 22px 22px rgba(60, 40, 20, .18)); }
.turn-canvas { cursor: pointer; height: min(78vh, 620px); max-width: 100%; object-fit: contain; }
.expression-copy { max-width: 560px; }
.expression .eyebrow { color: var(--accent); }
.expression-name { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .25rem; }
.expression-tag { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.chips { list-style: none; padding: 0; margin: 1.4rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { font-size: .78rem; font-weight: 500; padding: .45em .9em; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 999px; background: rgba(255, 255, 255, .45); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 1.4rem; border-top: 1px solid rgba(0, 0, 0, .12); border-bottom: 1px solid rgba(0, 0, 0, .12); }
.specs div { padding: .9rem 0; }
.specs div + div { padding-left: 1rem; border-left: 1px solid rgba(0, 0, 0, .12); }
.specs dt { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: .2rem 0 0; font-family: var(--serif); font-size: 1.2rem; }
.serve { font-size: .95rem; color: var(--ink-soft); }
.serve span { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.8rem; }
.price { font-family: var(--serif); font-size: 2rem; line-height: 1; }
@media (max-width: 820px) {
  .expression-grid { grid-template-columns: 1fr; }
  .expression.flip .expression-bottle { order: 0; }
  .expression-bottle :is(img, canvas) { max-height: 440px; }
  .turn-canvas { height: 440px; }
  .expression-copy { max-width: none; }
}

/* Compare */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.alt { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.compare { max-width: 980px; margin: 0 auto; border-top: 1.5px solid var(--charcoal); }
.c-row { display: grid; grid-template-columns: 1fr repeat(3, 1.2fr); border-bottom: 1px solid var(--rule); }
.c-row > span { padding: 1rem .8rem; font-size: .95rem; }
.c-row > span[role=rowheader] { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 1.2rem; }
.c-head > span { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; border-bottom: 3px solid var(--accent, transparent); }
@media (max-width: 680px) {
  .c-row { grid-template-columns: repeat(3, 1fr); }
  .c-row > span[role=rowheader] { grid-column: 1 / -1; padding-bottom: 0; }
  .c-head > span:first-child { display: none; }
  .c-row > span { padding: .6rem .4rem; font-size: .85rem; }
  .c-head > span { font-size: .85rem; letter-spacing: .02em; }
}

/* Story (dark band) */
.story { background: var(--charcoal); color: #E9E4DA; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.story h2 { color: var(--cream); }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; }
.story-copy p { color: #CFC9BD; font-size: 1.05rem; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.principles article { border-top: 1px solid #5A5650; padding-top: 1rem; }
.principles h3 { font-size: 1.1rem; color: var(--cream); }
.principles p { font-size: .9rem; color: #B9B2A5; margin: 0; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; gap: 0; } .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* Ridge */
.ridge { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-bottom: 1px solid var(--rule); }
.ridge-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.ridge-copy { padding: clamp(2.5rem, 6vw, 5rem); align-self: center; max-width: 620px; }
.ridge-copy p { color: var(--ink-soft); }
@media (max-width: 820px) { .ridge { grid-template-columns: 1fr; } .ridge-media img { max-height: 380px; } }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: step; }
.timeline li { border-top: 2px solid var(--terracotta); padding-top: 1rem; position: relative; }
.timeline li::before {
  counter-increment: step; content: counter(step); position: absolute; top: -.85rem; left: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--terracotta); color: var(--cream); font: 600 .75rem/1.6rem var(--sans); text-align: center;
}
.t-when { display: block; margin-top: .6rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); font-weight: 600; }
.timeline h3 { font-size: 1.15rem; margin: .4rem 0; }
.timeline p { font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 960px) { .timeline { grid-template-columns: 1fr 1fr; row-gap: 2rem; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* Gifting */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.tier { border: 1px solid var(--rule); padding: 1.6rem; background: var(--cream); }
.tier-feature { background: var(--kraft); color: #241A12; border-color: var(--kraft); }
.tier-feature p { color: #2C2016; }
.tier-price { font-family: var(--serif); font-size: 1.4rem; color: var(--terracotta); margin-bottom: .6rem; }
.tier-feature .tier-price { color: #241A12; }
.tier p:last-child { font-size: .92rem; margin: 0; }
@media (max-width: 820px) { .tiers { grid-template-columns: 1fr; } }

/* Order */
.order { display: grid; gap: 2rem; }
.order-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 720px) { .order-items { grid-template-columns: 1fr; } }
.item { display: grid; grid-template-columns: 44px 1fr auto; gap: 1rem; align-items: center; background: var(--paper); border: 1px solid var(--rule); border-left: 3px solid var(--accent, var(--charcoal)); padding: .9rem 1rem; }
.item-thumb { width: 44px; height: 92px; object-fit: contain; }
.item-thumbs { display: flex; width: 44px; height: 92px; }
.item-thumbs img { width: 33%; flex: 1 1 0; object-fit: contain; }
.item h4 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.item p { margin: 0; font-size: .82rem; color: var(--muted); }
.item .item-price { color: var(--charcoal); font-weight: 600; }
.qty { display: flex; align-items: center; border: 1px solid var(--charcoal); background: #fff; }
.qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--charcoal); }
.qty button:disabled { opacity: .3; cursor: default; }
.qty output { min-width: 28px; text-align: center; font-weight: 600; }
.item-box { grid-column: 2 / -1; display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink-soft); }
.item-box[hidden] { display: none; }

.order-details { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: start; }
@media (max-width: 820px) { .order-details { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; }
legend { font-family: var(--serif); font-size: 1.3rem; margin-bottom: .6rem; }
label { display: grid; gap: .35rem; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
input[type=text], select, textarea { font: 400 1rem var(--sans); color: var(--charcoal); background: #fff; border: 1px solid #C9C0AE; border-radius: var(--radius); padding: .75em .85em; width: 100%; }
textarea { resize: vertical; }
label.check { display: flex; align-items: flex-start; gap: .6rem; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .9rem; }
label.check input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--terracotta); }
.summary { background: var(--paper); border: 1.5px solid var(--charcoal); padding: 1.5rem; position: sticky; top: 84px; }
.summary h3 { margin-bottom: 1rem; }
.summary ul { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .9rem; }
.summary li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--rule); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; padding-top: .4rem; }
.summary-total strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.summary-deposit { display: flex; justify-content: space-between; font-size: .85rem; color: var(--terracotta); margin-bottom: .8rem; }
.form-error { color: #A12A1A; font-size: .85rem; margin: 0; }
.form-error:empty { display: none; }
.fine { font-size: .75rem; color: var(--muted); margin: .8rem 0 0; text-align: center; }

/* Contact */
.contact { background: var(--slate); color: #E4E7E8; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.contact h2 { color: var(--cream); }
.contact p { color: #CDD3D6; max-width: 30em; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-card {
  display: flex; flex-direction: column; gap: .3rem; padding: 1.4rem; text-decoration: none;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); transition: background .2s, border-color .2s;
}
.contact-card:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.c-label { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #E3B79C; }
.c-value { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); }
.c-hint { font-size: .8rem; color: #B5BDC1; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

/* FAQ */
details { border-bottom: 1px solid var(--rule); padding: 1rem 0; }
details:first-of-type { border-top: 1px solid var(--rule); margin-top: 1.5rem; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--serif); font-size: 1.4rem; line-height: 1; color: var(--terracotta); }
details[open] summary::after { content: "–"; }
details p { margin: .8rem 0 0; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--charcoal); color: #CFC9BD; padding: 3.5rem 0 2.5rem; font-size: .85rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr 1.4fr; gap: 2rem; align-items: start; }
.footer-mark { width: 160px; filter: invert(1) brightness(1.6); mix-blend-mode: screen; margin-bottom: .8rem; }
.site-footer .wordmark { color: var(--cream); }
.site-footer .serif-sub { color: #B9B2A5; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a { text-decoration: none; letter-spacing: .08em; font-size: .78rem; font-weight: 600; color: var(--cream); }
.footer-links a:hover { color: #E3B79C; }
.footer-legal p { margin: 0 0 .5rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* Age gate */
.age-gate { position: fixed; inset: 0; z-index: 100; background: rgba(26, 26, 26, .82); display: flex; align-items: center; justify-content: center; padding: var(--gutter); }
.age-gate[hidden] { display: none; }
.age-card { background: var(--cream); max-width: 420px; width: 100%; text-align: center; padding: 2.5rem 2rem; border: 1px solid var(--charcoal); outline: 1px solid var(--charcoal); outline-offset: -10px; }
.age-mark { width: 220px; margin: 0 auto 1rem; }
.age-card hr { border: 0; border-top: 1px solid var(--charcoal); width: 60%; margin: 1.4rem auto; }
.age-card h2 { font-size: 1.6rem; }
.age-actions { display: flex; gap: .8rem; justify-content: center; margin-top: 1.4rem; flex-wrap: wrap; }
.age-denied { margin-top: 1.2rem; font-family: var(--serif); font-style: italic; }

/* Back-label lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(26, 26, 26, .85); display: flex; align-items: center; justify-content: center; padding: var(--gutter); cursor: zoom-out; }
.lightbox img { max-height: 88vh; width: auto; background: var(--cream); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
