/* ONIV — oniv.com.au */

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F8F6F2;
  --sand: #EDE7DD;
  --ink: #1C1917;
  --ink-muted: #4A4542;
  --sage: #8A9E8C;
  --sage-deep: #4D604F;
  --stone: #D6CDC2;
  --hairline: #DDD5C9;

  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: 32px;
  --section: 96px;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--sage-deep); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--paper); }

h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }

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

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 4px; font-weight: 600;
}
.skip:focus { top: 16px; color: var(--paper); }

/* Type */
.eyebrow {
  font-size: 12px; line-height: 1.3; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage-deep);
}
.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 1.6rem + 4.2vw, 72px); line-height: 1.05; letter-spacing: -1px;
  text-wrap: balance;
}
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 1.5rem + 2vw, 48px); line-height: 1.1; letter-spacing: -0.5px;
  text-wrap: balance;
}
h1 > .eyebrow { display: block; font-family: var(--sans); margin-bottom: 24px; text-wrap: wrap; }
.h2 > .eyebrow { margin-bottom: 20px; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; }
.lede { font-size: 19px; text-wrap: pretty; }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 1.45; }
.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.section-head { max-width: 640px; display: flex; flex-direction: column; gap: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 24px; border-radius: 4px; border: 0;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--paper);
}
.btn:hover { background: #2E2A27; color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--sand); color: var(--ink); }
.link-strong { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 4px; font-weight: 600; }

/* Announcement */
.announce { background: var(--ink); color: var(--paper); }
.announce .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px;
  padding-block: 10px; font-size: 14px; line-height: 1.45; text-align: center;
}
.announce a { color: var(--paper); font-weight: 600; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--hairline); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 12px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav-links a:not(.btn) { text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav-links a[aria-current] { border-bottom-color: var(--sage); }
.nav .btn { min-height: 44px; padding: 10px 20px; }
.nav-links .nav-menu-cta { display: none; }
.menu-btn { display: none; }
@media (max-width: 1099px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px;
    border: 1px solid var(--ink); border-radius: 4px; background: transparent;
    font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer;
  }
  .menu-icon { position: relative; width: 18px; height: 12px; border-top: 2px solid; border-bottom: 2px solid; }
  .menu-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid; transform: translateY(-50%); }
  .menu-btn[aria-expanded="true"] .menu-icon { border-color: transparent; }
  .menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-50%) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-icon::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid; transform: translateY(-50%) rotate(-45deg); }
  .nav-links {
    display: none; position: fixed; left: 0; right: 0; top: var(--header-bottom, 64px); bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 40px;
    background: var(--paper); overflow-y: auto; overscroll-behavior: contain; z-index: 29;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--hairline); font-family: var(--serif); font-size: 26px; line-height: 1.2; }
  .nav-links a[aria-current] { color: var(--sage-deep); border-bottom-color: var(--hairline); }
  .nav-links .nav-menu-cta { display: inline-flex; margin-top: 28px; min-height: 52px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 520px) { .nav-cta { display: none; } }

/* Hero */
.hero { background: var(--sage); }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: end;
  padding-top: var(--section);
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; padding-bottom: var(--section); }
.hero-copy .eyebrow { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 8px; }
.hero-note { font-size: 15px; line-height: 1.45; font-weight: 600; }
.hero-price { font-size: 14px; line-height: 1.45; }
.hero-price strong { font-weight: 600; }
.hero-media { position: relative; z-index: 1; margin-bottom: -120px; }
.hero-media .photo { box-shadow: 0 32px 64px rgba(28, 25, 23, 0.28); }

.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px; border-top: 1px solid rgba(28, 25, 23, 0.25);
}
.fact { padding: 20px 24px 0; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid rgba(28, 25, 23, 0.25); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact:last-child { padding-right: 0; }
.fact-big { font-family: var(--serif); font-size: 28px; line-height: 1.2; }
.fact-small { font-size: 14px; line-height: 1.45; }

/* Photo placeholders (replace with <img> when photos are ready) */
.photo-slot {
  aspect-ratio: 4 / 5; background: var(--sand); border: 1px dashed var(--sage); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 32px; text-align: center; color: var(--ink-muted); font-size: 14px; line-height: 1.45;
}
.photo-slot svg { color: var(--sage-deep); }
.photo-slot strong { color: var(--ink); font-weight: 600; font-size: 16px; }
.photo { aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--sand); }

/* Reviews */
.reviews .wrap { padding-top: calc(var(--section) + 72px); padding-bottom: 32px; display: flex; flex-direction: column; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; }
.review { background: var(--sand); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.review blockquote { font-family: var(--serif); font-size: 24px; line-height: 1.3; }
.review figcaption { display: flex; flex-direction: column; gap: 2px; }
.review figcaption b { font-weight: 600; }

/* Labels */
.labels .wrap { padding-block: var(--section); display: flex; flex-direction: column; gap: 48px; }
.labels .grid-3 { align-items: start; }
.label-card { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1000px) { .label-card:nth-child(2) { margin-top: 64px; } }

/* One case band */
.band { background: var(--ink); color: var(--paper); }
.band .wrap {
  padding-block: 120px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 80px; align-items: center;
}
.band .eyebrow { color: var(--sage); }
.band p { color: var(--stone); max-width: 520px; text-wrap: pretty; }
.band a { color: var(--paper); }
.case-grid {
  padding: 32px; border: 1px solid rgba(138, 158, 140, 0.5); border-radius: var(--radius);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.case-grid span {
  aspect-ratio: 1; border-radius: 50%; background: var(--sage);
  display: flex; align-items: center; justify-content: center;
}
.case-grid span::after { content: ""; width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); }

/* Wine */
.wine { background: var(--sand); }
.wine .wrap { padding-block: var(--section); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.wine-list > div { padding: 20px 0; border-top: 1px solid var(--stone); display: flex; flex-direction: column; gap: 4px; }
.wine-list > div:last-child { border-bottom: 1px solid var(--stone); }
.wine-list dt, .faq-list dt { font-weight: 600; }
.wine-list dd, .faq-list dd { color: var(--ink-muted); }

/* How it works */
.how .wrap { padding-block: var(--section); display: flex; flex-direction: column; gap: 48px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.steps li { border-top: 2px solid var(--sage); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.step-no { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--sage-deep); }
.steps h3 { font-size: 17px; font-weight: 600; }
.steps p { font-size: 15px; color: var(--ink-muted); }

/* Pricing */
.pricing { border-top: 1px solid var(--hairline); }
.pricing .wrap { padding-block: var(--section); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; }
.ticks svg { flex: none; margin-top: 3px; color: var(--sage-deep); }
.price-card { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 48px 40px; display: flex; flex-direction: column; gap: 16px; }
.price-card .eyebrow { color: var(--sage); }
.price-card .sub { font-weight: 600; }
.price-card .small { color: var(--stone); }
.price-card .btn-row { padding-top: 8px; }

/* Promise */
.promise { background: var(--sand); }
.promise .wrap { padding-block: var(--section); display: flex; flex-direction: column; gap: 48px; }
.promise .grid-3 { gap: 48px; }
.promise-item { display: flex; flex-direction: column; gap: 12px; }
.promise-item svg { color: var(--sage-deep); }
.promise-item p { font-size: 15px; color: var(--ink-muted); }

/* FAQ */
.faq .wrap { padding-block: var(--section); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
.faq-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); column-gap: 48px; }
.faq-list > div { padding: 24px 0; border-top: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 8px; }

/* Enquiry */
.enquire { background: var(--sage); }
.enquire .wrap { padding-block: var(--section); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
.founders { display: flex; align-items: center; gap: 16px; }
.founders .avatar {
  flex: none; width: 88px; height: 88px; border-radius: 50%; background: var(--sand);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 12px; line-height: 1.3; color: var(--ink-muted); overflow: hidden;
}
.founders .avatar img { width: 100%; height: 100%; object-fit: cover; }
.founders .monogram { background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: 26px; letter-spacing: 0.02em; }
.form {
  background: var(--paper); border-radius: var(--radius); padding: 40px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
}
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .form legend { font-size: 14px; font-weight: 600; }
.field label span, .form legend span { font-weight: 400; color: var(--ink-muted); }
.input {
  font: inherit; font-size: 16px; min-height: 48px; padding: 12px 14px; width: 100%;
  border: 1px solid var(--ink-muted); border-radius: 4px; background: var(--paper); color: var(--ink);
}
textarea.input { resize: vertical; }
.input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  border: 1px solid var(--ink-muted); border-radius: 4px; font-size: 15px; cursor: pointer;
}
.chip input { margin: 0; accent-color: var(--ink); }
.chip:has(input:checked) { background: var(--sand); border-color: var(--ink); }
.cases-row { display: flex; align-items: center; gap: 12px; }
.cases-row .input { width: 104px; }
.drop { border: 1px dashed var(--ink-muted); border-radius: 4px; padding: 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.drop input { font: inherit; font-size: 15px; color: var(--ink); max-width: 100%; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.submit-row p { flex: 1 1 260px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; border-radius: 4px; padding: 16px 20px; font-size: 15px; }
.form-status[hidden] { display: none; }
.form-status.is-error { background: #F3E3DC; color: var(--ink); }
.form-done { background: var(--paper); border-radius: var(--radius); padding: 48px 40px; display: flex; flex-direction: column; gap: 16px; }
.form-done[hidden] { display: none; }

/* Footer */
.site-footer { background: var(--ink); color: var(--stone); }
.footer-top { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 48px; padding-block: 72px 48px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.footer-brand img { height: 34px; width: auto; }
.footer-brand p { max-width: 340px; color: var(--stone); }
.footer-brand .btn { background: var(--paper); color: var(--ink); }
.footer-brand .btn:hover { background: var(--sand); color: var(--ink); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-cols h2 { margin: 0 0 12px; font-size: 12px; line-height: 1.3; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--sage); }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.footer-cols a { display: inline-block; padding: 7px 0; color: var(--paper); text-decoration: none; overflow-wrap: anywhere; }
.footer-cols a:hover { color: var(--sage); }
.footer-legal { border-top: 1px solid rgba(214, 205, 194, 0.2); padding-block: 24px 40px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.5; }
.footer-legal a { color: var(--stone); }
.site-footer :focus-visible { outline-color: var(--paper); }
@media (max-width: 899px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 56px 32px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
  .footer-cols > div:last-child { grid-column: 1 / -1; padding-top: 16px; }
  .footer-cols a { padding: 10px 0; }
}

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 767px) {
  .action-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(248, 246, 242, 0.98); border-top: 1px solid var(--hairline); box-shadow: 0 -8px 24px rgba(28, 25, 23, 0.06);
  }
  .action-bar a { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 4px; font-weight: 600; text-decoration: none; }
  .action-call { flex: 0 0 auto; padding: 0 18px; border: 1px solid var(--ink); color: var(--ink); }
  .action-mockup { flex: 1 1 auto; }
  body:has(.action-bar) .site-footer { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  body.menu-open .action-bar { display: none; }
}

/* Simple pages */
.page .wrap { padding-block: 72px var(--section); max-width: 760px; }
.prose { display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; margin-top: 24px; }
.prose ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* Responsive */
@media (max-width: 959px) {
  :root { --section: 72px; }
  .hero .wrap, .band .wrap, .wine .wrap, .pricing .wrap, .faq .wrap, .enquire .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { gap: 0; }
  .hero-copy { padding-bottom: 48px; }
  .hero-media { margin-bottom: -96px; max-width: 520px; }
  .reviews .wrap { padding-top: calc(96px + 48px); }
  .band .wrap { padding-block: 88px; gap: 48px; }
  .case-grid { max-width: 380px; }
  .wine .wrap, .pricing .wrap, .faq .wrap, .enquire .wrap { gap: 40px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .lede { font-size: 18px; }
  .brand img { height: 28px; }
  .nav .btn { padding: 10px 16px; font-size: 14px; }
  .menu-btn .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .menu-btn { padding: 10px 12px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact, .fact:first-child { padding: 16px 0 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid rgba(28, 25, 23, 0.25); margin-top: 16px; }
  .form { grid-template-columns: minmax(0, 1fr); padding: 28px 20px; }
  .price-card { padding: 36px 24px; }
  .review { padding: 28px 24px; }
  .review blockquote { font-size: 22px; }
}

/* Inner pages */
.page-hero { background: var(--sage); }
.page-hero .wrap { padding-block: 88px 80px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.page-hero.text-only .wrap { grid-template-columns: minmax(0, 820px); }
.page-hero .eyebrow { color: var(--ink); }
.page-hero .copy { display: flex; flex-direction: column; gap: 24px; }
.page-hero .lede { max-width: 560px; }
.page-hero .photo { box-shadow: 0 28px 56px rgba(28, 25, 23, 0.24); }
.section .wrap { padding-block: var(--section); display: flex; flex-direction: column; gap: 48px; }
.section.alt { background: var(--sand); }
.section.tight .wrap { padding-block: 64px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.rows > div { padding: 20px 0; border-top: 1px solid var(--stone); display: flex; flex-direction: column; gap: 4px; }
.rows > div:last-child { border-bottom: 1px solid var(--stone); }
.rows dt, .rows h3 { font-weight: 600; font-size: 17px; font-family: var(--sans); }
.rows dd, .rows p { color: var(--ink-muted); }
.section:not(.alt) .rows > div { border-color: var(--hairline); }
@media (min-width: 1100px) { .cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
@media (min-width: 700px) { .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
a.card { text-decoration: none; color: inherit; }
a.card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.card { background: var(--sand); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.section.alt .card { background: var(--paper); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; }
.card p { color: var(--ink-muted); font-size: 15px; }
.card svg { color: var(--sage-deep); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; }
.link-arrow::after { content: "→"; transition: transform 0.15s; }
.link-arrow:hover::after { transform: translateX(3px); }
a.label-card { text-decoration: none; color: inherit; }
a.label-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.label-card .more { font-weight: 600; font-size: 15px; }
.cta-band { background: var(--ink); color: var(--paper); }
.cta-band .wrap { padding-block: 88px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band .stack { max-width: 640px; }
.cta-band p { color: var(--stone); }
.callout { background: var(--paper); border-left: 3px solid var(--sage); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.section:not(.alt) .callout { background: var(--sand); }
.callout b { font-weight: 600; }
.quote { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.quote blockquote { font-family: var(--serif); font-size: clamp(24px, 1.2rem + 1.2vw, 32px); line-height: 1.3; }
.quote figcaption { color: var(--ink-muted); font-size: 15px; }
.quote figcaption b { color: var(--ink); font-weight: 600; }
.timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--sage); }
.timeline li { padding: 24px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.timeline .t-when { font-family: var(--serif); font-size: 28px; line-height: 1.15; }
.timeline .t-what { color: var(--ink-muted); font-size: 15px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.price-table th, .price-table td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.price-table th { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }
.price-table td:last-child { font-weight: 600; white-space: nowrap; }
.styles { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.styles li { padding: 10px 18px; border: 1px solid var(--stone); border-radius: 999px; background: var(--paper); font-size: 15px; }
.contact-lines { display: flex; flex-direction: column; gap: 6px; }
.contact-lines a { font-weight: 600; }
@media (max-width: 959px) {
  .page-hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 56px 64px; gap: 40px; }
  .page-hero .media { max-width: 480px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .timeline { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 2px solid var(--sage); }
  .timeline li { padding: 0 0 28px 24px; position: relative; }
  .timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--sage); }
  .cta-band .wrap { padding-block: 64px; }
}
@media (max-width: 640px) {
  .page-hero .wrap { padding-block: 44px 52px; }
  .card { padding: 24px; }
  .price-table { font-size: 15px; }
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--stone); }
  .price-table tr:first-child { border-top: 1px solid var(--stone); }
  .price-table td { border: 0; padding: 0; }
  .price-table td:nth-child(1) { font-weight: 600; }
  .price-table td:nth-child(2) { grid-column: 1; grid-row: 2; color: var(--ink-muted); }
  .price-table td:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; white-space: normal; max-width: 120px; }
}

/* Terms and conditions */
.terms h2[id] { scroll-margin-top: 96px; }
.terms .clause { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); gap: 0 8px; }
.terms .n { font-weight: 600; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.terms .sub { list-style: none; padding: 0 0 0 3.2em; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.terms .sub li { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 0 6px; }
.terms .callout { margin-top: 8px; }
.terms .callout p { font-size: 15px; }
.toc { background: var(--sand); border-radius: var(--radius); padding: 20px 24px; margin-top: 8px; }
.prose .toc-title { font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--ink-muted); margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc li { break-inside: avoid; padding: 4px 0; }
@media (max-width: 640px) {
  .toc ol { columns: 1; }
  .toc li { padding: 7px 0; }
  .terms .clause { grid-template-columns: 2.8em minmax(0, 1fr); }
  .terms .sub { padding-left: 1.2em; }
}

/* Homepage 3D bottle */
.hero-stage {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 85% at 50% 32%, #FCFBF8 0%, #F1ECE4 55%, #E4DBCF 100%);
  box-shadow: 0 32px 64px rgba(28, 25, 23, 0.28); touch-action: pan-y; cursor: grab;
}
.hero-stage:active { cursor: grabbing; }
.hero-poster, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-canvas { opacity: 0; transition: opacity 0.6s ease; }
.hero-stage.is-live .hero-canvas { opacity: 1; }
.hero-stage.is-live .hero-poster { opacity: 0; transition: opacity 0.6s ease; }

/* Wine regions map (/wine) */
.winemap { display: flex; flex-direction: column; gap: 20px; min-width: 0; width: 100%; }
.winemap > *, .wm-controls > * { min-width: 0; }
.wm-controls { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.wm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wm-chip {
  min-height: 40px; padding: 8px 16px; border: 1px solid var(--stone); border-radius: 999px; background: var(--paper);
  font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; white-space: nowrap;
}
.wm-chip:hover { border-color: var(--ink); }
.wm-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.wm-filter { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.wm-filter select {
  min-height: 40px; padding: 8px 36px 8px 14px; border: 1px solid var(--stone); border-radius: 999px; font: inherit; font-weight: 400;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231C1917' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none; -webkit-appearance: none; color: var(--ink);
}
.wm-body { scroll-margin-top: 96px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.wm-map { background: var(--sand); border-radius: var(--radius); padding: 8px; overflow: hidden; }
.wm-map svg { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 860; }
.wm-states path { fill: var(--paper); stroke: var(--stone); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.wm-dot { cursor: pointer; outline: none; transition: opacity 0.2s; }
.wm-dot .wm-hit { fill: transparent; }
.wm-dot circle:not(.wm-hit) { fill: var(--sage-deep); stroke: var(--paper); stroke-width: 2; vector-effect: non-scaling-stroke; }
.wm-dot:hover circle:not(.wm-hit) { fill: var(--ink); }
.wm-dot[aria-pressed="true"] circle:not(.wm-hit) { fill: var(--ink); stroke-width: 3; }
.wm-dot:focus-visible circle:not(.wm-hit) { stroke: var(--ink); stroke-width: 3; }
.wm-dot.tier-2 circle:not(.wm-hit) { fill: var(--sage); stroke-width: 1.5; }
.wm-dot.tier-2 text { font-weight: 500; }
.wm-dot.tier-2[aria-pressed="true"] circle:not(.wm-hit) { fill: var(--ink); }
.wm-dot.is-dim { opacity: 0.18; }
.wm-map { position: relative; }
.wm-legend { position: absolute; left: 16px; bottom: 12px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-muted); pointer-events: none; }
.wm-legend .key { display: inline-block; border-radius: 50%; border: 1.5px solid var(--paper); }
.wm-legend .key-1 { width: 12px; height: 12px; background: var(--sage-deep); }
.wm-legend .key-2 { width: 9px; height: 9px; background: var(--sage); margin-left: 10px; }
.wm-dot text { display: none; font-family: var(--sans); font-weight: 600; fill: var(--ink); stroke: var(--paper); paint-order: stroke; pointer-events: none; }
.winemap.is-zoomed .wm-dot.in-zoom text, .wm-dot[aria-pressed="true"] text { display: block; }
.winemap.is-zoomed .wm-dot.in-zoom.is-dim text { display: none; }
.wm-dot.lbl-off text { visibility: hidden; }
.wm-panel { background: var(--sand); border-radius: var(--radius); padding: 28px; min-height: 100%; }
.wm-region { display: flex; flex-direction: column; gap: 12px; }
.wm-region h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; }
.wm-region .styles li { background: var(--paper); }
.wm-climate { font-size: 15px; color: var(--ink-muted); }
.wm-climate b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.wm-table summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.wm-table-wrap { overflow-x: auto; padding-top: 8px; }
.wm-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wm-table th, .wm-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.wm-table thead th { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }
.wm-table tbody th { padding-top: 22px; font-family: var(--serif); font-weight: 400; font-size: 20px; }
.wm-table td:first-child a { font-weight: 600; }
.wm-table td + td { color: var(--ink-muted); }

/* Styles guide (/wine) */
.guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.guide > div { display: flex; flex-direction: column; gap: 16px; }
.guide .pour { font-size: 14px; color: var(--sage-deep); font-weight: 600; }

@media (max-width: 959px) {
  .wm-body { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .guide { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  .wm-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .wm-chips::-webkit-scrollbar { display: none; }
  .wm-controls { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .wm-filter select { flex: 1; }
  .wm-panel { padding: 22px; }
  .wm-region h3 { font-size: 28px; }
  .wm-table thead { display: none; }
  .wm-table tr { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--hairline); }
  .wm-table th, .wm-table td { border: 0; padding: 0; }
}
