/* Aldermoor Estate: "Noir and Gilt". Values follow the supplied design (Main.dc.html). */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #0b0d0c;
  --ink-2: #0f1211;
  --ink-3: #111413;
  --text: #efe8d8;
  --gold: #d9b96e;
  --gold-line: #c9a45c;
  --muted: #d5cfc0;
  --muted-2: #b9b3a4;
  --muted-3: #e2dccd;
  --rule: #2c2820;
  --rule-2: #6b6455;
  --rule-3: #26231d;
  --rule-4: #3a342a;
  --error: #e9a088;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;
  --cjk: "PingFang HK", "Microsoft JhengHei", "Noto Sans HK", sans-serif;
  --pad: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:has(dialog[open]), html.age-pending { overflow: hidden; }
body { margin: 0; background: var(--ink); color: var(--text); font: 300 16px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
em { color: var(--gold); }
a { color: var(--text); text-decoration: none; transition: color .4s; }
a:hover { color: var(--gold); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
[lang="zh-HK"] { font-family: var(--cjk); letter-spacing: 0; }

.skip { position: absolute; left: 16px; top: -80px; z-index: 1100; padding: 10px 16px; background: var(--gold-line); color: var(--ink); font-weight: 400; }
.skip:focus { top: 16px; color: var(--ink); }

.eye { font-size: 11px; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); line-height: 1.6; }
.small { font-size: 13px; line-height: 1.6; color: var(--muted-2); }
.wrap { max-width: 1240px; margin: 0 auto; }

/* Buttons */
.gbtn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 32px;
  border: 1px solid var(--gold-line); background: none; color: var(--text);
  font: 400 12px/1.3 var(--sans); letter-spacing: .3em; text-transform: uppercase; text-align: center;
  cursor: pointer; transition: background .5s, color .5s, border-color .5s;
}
.gbtn:hover { background: var(--gold-line); color: var(--ink); }
.gbtn-solid { background: var(--gold-line); color: var(--ink); }
.gbtn-solid:hover { background: var(--gold); border-color: var(--gold); }
.gbtn-block { width: 100%; }
.gbtn:disabled { opacity: .45; cursor: not-allowed; }
.gbtn:disabled:hover { background: none; color: var(--text); }
.gbtn-solid:disabled:hover { background: var(--gold-line); color: var(--ink); }
.line-link { display: inline-block; padding: 12px 0; border-bottom: 1px solid var(--gold-line); font-size: 12px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; }
.link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: color .4s; }
.link-btn:hover { color: var(--gold); }

/* Brand mark */
.mark { display: inline-flex; flex-direction: column; gap: 6px; }
.mark-name { font-family: var(--serif); font-size: 28px; letter-spacing: .3em; font-weight: 500; line-height: 1.2; }
.mark-sub { font-size: 10px; letter-spacing: .42em; color: var(--gold); line-height: 1.2; }
.mark-center { align-items: center; }

/* Announcement and header */
.page { position: relative; }
.announce { padding: 11px 24px; text-align: center; font-size: 11px; line-height: 1.6; letter-spacing: .3em; text-transform: uppercase; background: var(--gold-line); color: var(--ink); font-weight: 400; }
.top {
  position: absolute; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 40px var(--pad);
}
.top-actions { display: flex; align-items: center; gap: 28px; }
.cart-link { min-height: 44px; padding: 0; border: 0; background: none; white-space: nowrap; font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; cursor: pointer; transition: color .4s; }
.cart-link:hover { color: var(--gold); }
.burger { display: none; align-items: center; min-height: 44px; padding: 0 14px; background: rgba(11,13,12,.6); border: 1px solid var(--gold-line); font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; cursor: pointer; }
.top.is-fixed {
  position: fixed; top: 0; padding-top: 12px; padding-bottom: 12px;
  background: rgba(11,13,12,.94); border-bottom: 1px solid var(--rule-3);
}
.top.is-fixed .mark-name { font-size: 22px; }
.top.is-fixed .mark-sub { display: none; }
.top.is-fixed .burger { display: inline-flex; }

.nav a { display: block; padding: 11px 0; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; line-height: 22px; }
.nav a span { display: inline-block; border-bottom: 1px solid transparent; transition: border-color .4s, padding .4s; }
.nav a:hover span { border-color: var(--gold); padding-left: 10px; }
.mnav { position: absolute; top: 100%; left: 0; right: 0; padding: 16px 24px 24px; background: var(--ink); border-top: 1px solid var(--rule-4); border-bottom: 1px solid var(--rule-4); }
.top.is-fixed .mnav { padding-left: var(--pad); padding-right: var(--pad); }

/* Hero */
.hero { position: relative; min-height: clamp(760px, 100svh, 920px); display: flex; flex-direction: column; overflow: hidden; }
/*
 * The rust texture is the hero backdrop. Only the bottle, marble table and gold leaf
 * of the bottle photo show over it, fading out in an ellipse around the bottle.
 */
.hph { position: absolute; inset: 0; overflow: hidden; background: var(--ink) url("../images/age-gate.webp") center / cover no-repeat; }
.hph-zoom { position: absolute; inset: 0; transform-origin: 50% 80%; }
.hph-zoom img {
  position: absolute; top: 0; bottom: 0; left: 50%; width: auto; height: 100%; max-width: none; aspect-ratio: 1536 / 1024;
  transform: translateX(-50%); object-fit: cover; opacity: 0; transition: opacity 1.4s ease;
  -webkit-mask-image: radial-gradient(ellipse 30% 62% at 50% 58%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 30% 62% at 50% 58%, #000 55%, transparent 100%);
}
.hph-zoom img.is-on { opacity: 1; }
.hph-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,8,.82), rgba(8,9,8,.1) 38%, rgba(8,9,8,.1) 62%, rgba(8,9,8,.8)), linear-gradient(180deg, rgba(8,9,8,.55), transparent 22%, transparent 90%, var(--ink)); }
/*
 * A small, soft glint where the light catches the bottle's right shoulder. The box matches
 * the photo; --gx/--gy (photo percentages, from js/wines.js) place the glint. Under motion it
 * slowly brightens and fades.
 */
.hph-glint { position: absolute; z-index: 1; top: 0; bottom: 0; left: 50%; height: 100%; aspect-ratio: 1536 / 1024; transform: translateX(-50%); pointer-events: none; mix-blend-mode: screen; }
.hph-glint::after { content: ""; position: absolute; left: var(--gx); top: var(--gy); width: 2.6%; height: 13%; transform: translate(-50%, -50%) rotate(-20deg); border-radius: 50%; opacity: .55;
  background: radial-gradient(closest-side, rgba(255,238,204,.5), rgba(255,226,170,.16) 55%, transparent); transition: left 1.4s ease, top 1.4s ease; }
.hgrid { position: relative; z-index: 2; flex: 1; display: flex; justify-content: space-between; gap: 40px; padding: 150px var(--pad) 72px; }
.hero-left { flex: 0 1 400px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hero-intro .eye { margin-bottom: 22px; }
.hero h1 { font-size: clamp(54px, 6vw, 88px); line-height: .95; }
.lede { margin-top: 26px; max-width: 330px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.hero-right { flex: 0 1 340px; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-wines { display: grid; }
.hero-wine { grid-area: 1 / 1; align-self: end; opacity: 0; transform: translateY(16px); transition: opacity .9s ease, transform .9s ease; pointer-events: none; }
.hero-wine.is-on { opacity: 1; transform: none; pointer-events: auto; }
.hero-wine .eye { margin-bottom: 10px; }
.hw-name { font-family: var(--serif); font-size: 48px; line-height: 1.05; }
.hw-notes { margin-top: 16px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.hw-price { margin-top: 16px; display: flex; align-items: baseline; gap: 14px; }
.hw-price strong { font-family: var(--serif); font-size: 32px; font-weight: 400; color: var(--gold); }
.hw-price span { font-size: 13px; color: var(--muted); }
.hero-cta { margin: 22px 0 30px; }
.picker { display: flex; gap: 8px; }
.pick { flex: 1 1 0; min-width: 0; min-height: 56px; padding: 12px 0 0; background: none; border: 0; border-top: 1px solid var(--rule-2); color: var(--muted); font-weight: 400; text-align: left; cursor: pointer; transition: color .4s, border-color .4s; }
.pick[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.pick:hover { color: var(--gold); }
.pick-no { display: block; font-size: 11px; letter-spacing: .3em; }
.pick-name { display: block; margin-top: 6px; font-size: 13px; }

/* Since 1974 */
.intro { padding: 120px var(--pad) 110px; text-align: center; }
.intro-quote { max-width: 900px; margin: 0 auto; }
.intro-quote .eye { margin-bottom: 28px; }
.big-quote { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 48px); line-height: 1.2; }
.stats { max-width: 900px; margin: 72px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 0; border-top: 1px solid var(--rule); padding-top: 44px; }
.stats > div { flex: 1 1 220px; }
.stat { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--gold); }
.stat-label { margin-top: 12px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* Section heads */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 60px; }
.sec-head .eye { margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1; }
.sec-note { max-width: 360px; font-size: 14px; line-height: 1.7; color: var(--muted); }

/* Release cards */
.wines { padding: 110px var(--pad) 120px; background: var(--ink-2); }
.cards { display: flex; flex-wrap: wrap; gap: 56px 36px; }
.card { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; }
.zoom { display: block; overflow: hidden; background: var(--ink-3); }
.zoom img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.zoom:hover img, .card:hover .zoom img { transform: scale(1.06); }
.card-photo { width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; cursor: pointer; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 28px; }
.card-head h3 { font-weight: 500; font-size: 32px; line-height: 1.1; }
.price { font-family: var(--serif); font-size: 28px; color: var(--gold); white-space: nowrap; }
.card-line { margin-top: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.card-notes { margin-top: 16px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.card-spec { margin: 16px 0 24px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted-2); }
.card .gbtn { align-self: flex-start; margin-top: auto; }

/* Full cellar list */
.cellar { padding: 110px var(--pad) 120px; }
.cellar-group + .cellar-group { margin-top: 64px; }
.group-title { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; font-size: 34px; }
.group-title span { font-family: var(--sans); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-2); }
.cellar-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 12px 28px;
  padding: 24px 0; border-top: 1px solid var(--rule);
}
.cellar-row:last-child { border-bottom: 1px solid var(--rule); }
.row-title { font-family: var(--serif); font-size: 28px; line-height: 1.15; }
.row-line { margin-top: 6px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.row-spec { margin-top: 6px; font-size: 13px; color: var(--muted-2); }
.cellar-row .price { font-size: 26px; }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; height: 48px; border: 1px solid var(--rule-4); }
.qty button { width: 44px; height: 100%; padding: 0; border: 0; background: none; font-size: 18px; line-height: 1; cursor: pointer; transition: color .3s; }
.qty button:hover { color: var(--gold); }
.qty button:disabled { color: var(--rule-4); cursor: default; }
.qty output { min-width: 30px; text-align: center; font-size: 15px; font-weight: 400; }

/* Estate */
.estate { padding: 120px var(--pad); }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 80px; }
.estate-photo { flex: 1.2 1 400px; min-width: 0; aspect-ratio: 5 / 4; }
.estate-copy { flex: 1 1 360px; min-width: 0; }
.estate-copy .eye { margin-bottom: 22px; }
.estate-copy h2 { font-size: clamp(38px, 4vw, 58px); line-height: 1.05; }
.estate-copy p:not(.eye) { margin-top: 18px; max-width: 460px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.estate-copy h2 + p { margin-top: 28px !important; }

/* Cellar door */
.visit { position: relative; padding: 130px var(--pad); overflow: hidden; }
.visit-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visit-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,8,.88), rgba(8,9,8,.55)), linear-gradient(180deg, var(--ink), transparent 18%, transparent 82%, var(--ink)); }
.visit-grid { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 56px 80px; }
.visit-copy { flex: 1 1 400px; min-width: 0; }
.visit-copy .eye { margin-bottom: 22px; }
.visit-copy h2 { font-size: clamp(42px, 4.8vw, 72px); line-height: 1.02; }
.visit-copy > p:not(.eye):not(.chat-note) { margin: 28px 0 36px; max-width: 420px; font-size: 16px; line-height: 1.8; color: var(--muted-3); }
.visit-list { flex: 1 1 380px; min-width: 0; max-width: 520px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; border-top: 1px solid var(--rule-2); }
.price-row:last-child { border-bottom: 1px solid var(--rule-2); }
.row-name { font-family: var(--serif); font-size: 28px; line-height: 1.2; }
.row-sub { margin-top: 6px; font-size: 14px; color: var(--muted-3); }
.row-price { font-family: var(--serif); font-size: 26px; color: var(--gold); white-space: nowrap; }
.chat-note { margin-top: 18px; font-size: 14px; color: var(--gold); }

/* Wine club */
.club { padding: 110px var(--pad); }
.club-box { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 64px; padding: 56px; border: 1px solid var(--gold-line); }
.club-copy { flex: 1 1 420px; min-width: 0; }
.club-copy .eye { margin-bottom: 16px; }
.club-copy h2 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.08; }
.club-copy p:not(.eye) { margin-top: 16px; max-width: 520px; font-size: 16px; line-height: 1.8; color: var(--muted); }

/* Footer */
.footer { padding: 72px var(--pad) 40px; border-top: 1px solid var(--rule-3); }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.foot-brand { flex: 1 1 260px; min-width: 0; }
.foot-mark { margin-bottom: 14px; font-family: var(--serif); font-size: 24px; letter-spacing: .3em; }
.foot-brand p:not(.foot-mark) { max-width: 300px; font-size: 14px; line-height: 1.8; color: var(--muted-2); }
.foot-brand .line-link { margin-top: 12px; }
.foot-nav { flex: 0 1 160px; display: flex; flex-direction: column; font-size: 14px; }
.foot-nav a { padding: 8px 0; }
.foot-hours { flex: 0 1 220px; font-size: 14px; line-height: 1.9; color: var(--muted-2); }
.foot-hi { color: var(--text); }
.foot-form { flex: 1 1 300px; min-width: 0; }
.foot-form label { display: block; margin-bottom: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.foot-form-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
.foot-form input { flex: 1 1 200px; min-width: 0; height: 48px; padding: 0 2px; background: none; border: 0; border-bottom: 1px solid var(--rule-2); border-radius: 0; color: var(--text); font: 300 16px var(--sans); }
.form-msg { margin-top: 10px; font-size: 13px; color: var(--muted); }
.form-msg:empty { display: none; }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule-3); font-size: 12px; line-height: 1.7; color: var(--muted-2); }
.foot-legal p + p { margin-top: 10px; }
.noscript { padding: 16px var(--pad); text-align: center; font-size: 14px; color: var(--gold); }

/* Over-18 check */
.age { display: none; }
html.age-pending .age { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; overflow: auto; background: var(--ink); }
.age-bg { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.age-shade { position: fixed; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(8,9,8,.05), rgba(8,9,8,.55) 85%); }
.age-panel { position: relative; width: 100%; max-width: 580px; padding: 56px 48px 44px; text-align: center; background: rgba(11,13,12,.62); border: 1px solid rgba(201,164,92,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.age-ask { margin-top: 44px; }
.age-ask h2 { margin-top: 16px; font-size: clamp(40px, 5vw, 58px); line-height: 1.05; }
.age-ask h2:focus { outline: none; }
[data-age-view="no"] h2 { font-size: clamp(30px, 4vw, 40px); }
.age-text { margin-top: 18px; font-size: 16px; color: var(--muted); }
.age-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.age-panel .law { margin-top: 40px; font-size: 11px; line-height: 1.8; color: var(--muted-2); }
.age.is-leaving { opacity: 0; transition: opacity .6s ease; }

/* Dialogs */
dialog.dlg { padding: 0; max-width: none; max-height: none; border: 1px solid var(--rule-4); background: var(--ink); color: var(--text); scrollbar-color: var(--rule-2) transparent; }
dialog.dlg::backdrop { background: rgba(5,6,5,.78); }
.dlg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.dlg-head h2 { font-size: 36px; line-height: 1.1; }
.dlg-head h2:focus { outline: none; }
.dlg-close { flex: none; min-height: 44px; padding: 0 2px; border: 0; background: none; font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; cursor: pointer; transition: color .4s; }
.dlg-close:hover { color: var(--gold); }

/* Wine detail */
dialog.wine-dlg { width: min(980px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; overflow: auto; }
.wine-dlg-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.wd-media { min-height: 100%; background: var(--ink-3); }
.wd-media img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.wd-vintage { display: grid; place-content: center; gap: 12px; height: 100%; min-height: 420px; padding: 32px; text-align: center; background: radial-gradient(circle at 50% 40%, #1c1a15, var(--ink-3) 70%); }
.wd-vintage strong { font-family: var(--serif); font-size: 112px; font-weight: 400; line-height: 1; color: var(--gold); }
.wd-vintage span { font-size: 11px; letter-spacing: .42em; text-transform: uppercase; color: var(--muted); }
.wd-body { padding: 36px 40px 40px; display: flex; flex-direction: column; }
.wd-body .eye { margin-top: 4px; }
.wd-body h2 { margin-top: 10px; font-size: clamp(34px, 4vw, 46px); line-height: 1.05; }
.wd-price { margin-top: 14px; font-family: var(--serif); font-size: 32px; color: var(--gold); }
.wd-notes { margin-top: 18px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.wd-specs { margin: 24px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 14px; }
.wd-specs dt { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); line-height: 1.9; }
.wd-specs dd { margin: 0; color: var(--muted); }
.wd-buy { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Cart drawer */
dialog.drawer { margin: 0 0 0 auto; width: min(460px, 100vw); height: 100%; max-height: 100dvh; border-width: 0 0 0 1px; border-color: var(--gold-line); }
.drawer-in { display: flex; flex-direction: column; height: 100%; }
.drawer .dlg-head { padding: 28px 28px 20px; border-bottom: 1px solid var(--rule-3); }
.cart-lines { flex: 1; overflow-y: auto; padding: 0 28px; }
.cart-empty { padding: 40px 0; }
.cart-empty p { color: var(--muted); margin-bottom: 24px; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; padding: 22px 0; border-bottom: 1px solid var(--rule-3); }
.cl-name { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.cl-each { margin-top: 4px; font-size: 13px; color: var(--muted-2); }
.cl-total { font-family: var(--serif); font-size: 22px; color: var(--gold); text-align: right; white-space: nowrap; }
.cl-controls { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cl-remove { min-height: 44px; padding: 0; border: 0; background: none; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-2); cursor: pointer; }
.cl-remove:hover { color: var(--gold); }
.cart-foot { padding: 20px 28px 28px; border-top: 1px solid var(--rule-3); }
.cart-progress { margin-bottom: 14px; font-size: 13px; color: var(--gold); }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; }
.sum-row span:last-child { font-family: var(--serif); font-size: 24px; color: var(--gold); }
.cart-foot .small { margin: 2px 0 18px; }

/* Checkout */
dialog.checkout { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; overflow: auto; }
.co { padding: 32px 40px 40px; }
.co .dlg-head { margin-bottom: 24px; }
.co .dlg-head .eye { margin-bottom: 6px; }
.steps { display: flex; gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.steps li { flex: 1; padding-top: 10px; border-top: 1px solid var(--rule-4); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--rule-2); }
.steps li.is-done { color: var(--muted); border-color: var(--rule-2); }
.steps li.is-current { color: var(--gold); border-color: var(--gold); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; min-width: 0; }
.field label { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.field .opt { letter-spacing: .1em; text-transform: none; color: var(--muted-2); }
.field input:not([type="checkbox"]), .field select {
  width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--rule-4); border-radius: 0;
  background: var(--ink-2); color: var(--text); font: 300 16px var(--sans);
}
.field input:focus, .field select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 1px var(--gold); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--error); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.err { font-size: 13px; color: var(--error); }
.err:empty { display: none; }
.field.check { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0 0; }
.field.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--gold-line); }
.field.check label { font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--text); cursor: pointer; }
.field.check .err { flex-basis: 100%; }
.ship { margin: 0; padding: 0; border: 0; min-width: 0; }
.ship legend { margin-bottom: 16px; padding: 0; font-family: var(--serif); font-size: 26px; }
.ship-opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; margin-bottom: 10px; padding: 18px; border: 1px solid var(--rule-4); cursor: pointer; transition: border-color .3s, background .3s; }
.ship-opt:has(input:checked) { border-color: var(--gold); background: rgba(201,164,92,.06); }
.ship-opt input { grid-row: 1 / span 2; width: 18px; height: 18px; margin: 0; accent-color: var(--gold-line); }
.so-name { font-weight: 400; }
.so-eta { grid-column: 2; font-size: 13px; color: var(--muted-2); }
.so-fee { grid-column: 3; grid-row: 1 / span 2; font-family: var(--serif); font-size: 24px; color: var(--gold); white-space: nowrap; }
.review-lines, .review-sums { margin: 0; padding: 0; list-style: none; }
.review-lines li, .review-sums li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule-3); }
.review-lines li span:last-child, .review-sums li span:last-child { white-space: nowrap; }
.review-sums li.total { border-bottom: 0; align-items: baseline; }
.review-sums li.total span:first-child { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.review-sums li.total span:last-child { font-family: var(--serif); font-size: 32px; color: var(--gold); }
.review-to { margin-top: 20px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.review-to strong { display: block; font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.review h3, .confirm h3 { margin: 0 0 8px; font-size: 26px; }
.review-sums { margin-top: 6px; }
.demo-pay { margin-top: 20px; padding: 14px 16px; border: 1px dashed var(--rule-2); font-size: 14px; color: var(--muted); }
.co-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 28px; }
.confirm .eye { margin-bottom: 10px; }
.confirm h2 { font-size: clamp(34px, 5vw, 48px); line-height: 1.05; }
.confirm h2:focus { outline: none; }
.confirm-no { margin-top: 14px; font-size: 16px; color: var(--muted); }
.confirm-no strong { font-weight: 400; color: var(--gold); letter-spacing: .08em; }
.confirm .review { margin-top: 28px; }

/* Toast */
.toast { position: fixed; left: 24px; bottom: 24px; z-index: 900; display: flex; align-items: center; gap: 18px; max-width: min(460px, calc(100vw - 120px)); padding: 12px 12px 12px 18px; background: var(--ink); border: 1px solid var(--gold-line); font-size: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.45); }
.toast-btn { flex: none; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--gold); font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; cursor: pointer; }

/* Motion, only for people who have not asked for less */
@keyframes in { from { opacity: 0; transform: translateY(28px); } }
@keyframes kb { to { transform: scale(1.03); } }
@keyframes glint { from { opacity: .1; } to { opacity: .8; } }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }
@keyframes drop { from { transform: translateY(-100%); } }
@keyframes slide { from { transform: translateX(100%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: no-preference) {
  .top > .mark { animation: in 1.2s both; }
  .top-actions { animation: in 1.2s .2s both; }
  .hero-intro { animation: in 1.3s .3s both; }
  .side { animation: in 1.2s .6s both; }
  .hero-right { animation: in 1.3s .7s both; }
  html.age-pending .top > .mark, html.age-pending .top-actions, html.age-pending .hero-intro,
  html.age-pending .side, html.age-pending .hero-right { animation-play-state: paused; }
  .hph-zoom { animation: kb 20s ease-in-out infinite alternate; }
  .hph-glint::after { animation: glint 6s ease-in-out infinite alternate; }
  .top.is-fixed { animation: drop .45s cubic-bezier(.2,.7,.2,1); }
  .top.is-fixed > .mark, .top.is-fixed .top-actions { animation: none; }
  .mnav:not([hidden]) { animation: in .5s both; }
  .age-panel { animation: in 1.2s both; }
  dialog.drawer[open] { animation: slide .45s cubic-bezier(.2,.7,.2,1); }
  dialog.wine-dlg[open], dialog.checkout[open] { animation: fade-up .45s cubic-bezier(.2,.7,.2,1); }
  .toast:not([hidden]) { animation: fade-up .35s ease both; }
  @supports (animation-timeline: view()) {
    .rv { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hph-zoom img, .hero-wine, .zoom img { transition: none; }
  .zoom:hover img, .card:hover .zoom img { transform: none; }
}

/* Narrow screens */
@media (max-width: 860px) {
  :root { --pad: 24px; }
  .top { padding-top: 24px; padding-bottom: 24px; }
  .top-actions { gap: 12px; }
  .burger { display: inline-flex; }
  .mark-name { font-size: 24px; }
  .hero { min-height: 0; }
  .hph { position: relative; height: 540px; }
  .hgrid { flex-direction: column; padding: 36px var(--pad) 56px; }
  .side { display: none !important; }
  .intro { padding: 88px var(--pad) 80px; }
  .wines, .cellar { padding: 88px var(--pad) 96px; }
  .estate { padding: 96px var(--pad); }
  .visit { padding: 100px var(--pad); }
  .club { padding: 88px var(--pad); }
  .club-box { padding: 36px 24px; }
  .footer { padding: 56px var(--pad) 32px; }
  .sec-head { margin-bottom: 44px; }
  .cellar-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "info info" "price price" "qty add"; gap: 14px 16px; }
  .cellar-row .row-info { grid-area: info; }
  .cellar-row .price { grid-area: price; }
  .cellar-row .qty { grid-area: qty; justify-self: start; }
  .cellar-row .gbtn { grid-area: add; }
  .wine-dlg-in { grid-template-columns: 1fr; }
  .wd-media img { aspect-ratio: 4 / 3; }
  .wd-vintage { min-height: 220px; }
  .wd-vintage strong { font-size: 84px; }
  .wd-body { padding: 28px 24px 32px; }
  .co { padding: 24px 20px 32px; }
  .field-row { grid-template-columns: 1fr; }
  .age-panel { padding: 40px 24px 32px; }
  .toast { left: 16px; bottom: 16px; }
}
@media (max-width: 520px) {
  dialog.wine-dlg, dialog.checkout { width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border: 0; }
  .announce { letter-spacing: .2em; }
  .mark-name, .top.is-fixed .mark-name { font-size: 20px; letter-spacing: .24em; }
  .mark-sub { letter-spacing: .3em; }
  .cart-link { letter-spacing: .2em; }
  .co-actions .gbtn { flex: 1 1 auto; }
  .age-actions .gbtn { width: 100%; }
}
