/* Omniwines: ink on stone paper, black-and-white producer photos, one wine-red accent.
   Phone first; 760px+ adds the top menu and grids, 1080px+ the two-column layouts. */
:root {
  --paper: #EFEFEB; --paper-2: #E4E4DE; --ink: #151515; --ink-2: #3A3A36; --muted: #5C5C56;
  --rule: #CDCDC6; --wine: #7B1E2E; --wine-2: #5A1420; --night: #141414; --night-text: #D6D6D0;
  --display: "Bodoni Moda", Didot, "Bodoni 72", "Bodoni Fallback Noto", "Bodoni Fallback Times", Georgia, serif;
  --body: "Hanken Grotesk", "Hanken Grotesk Fallback", "Helvetica Neue", Arial, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --tabbar: 64px;
  color-scheme: light;
}
/* Stand-in for Hanken Grotesk while it loads, sized to its width so text doesn't jump when it arrives.
   Arial (and Liberation Sans, its Linux twin) is ~1% wider at 400-500 and ~6% wider at 600 (bold). Android's
   Roboto is already within 1%, so it needs none. */
@font-face { font-family: "Hanken Grotesk Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); font-weight: 100 549; size-adjust: 99%; }
@font-face { font-family: "Hanken Grotesk Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"); font-weight: 550 900; size-adjust: 94%; }
/* The same for Bodoni Moda (headings). iPhones and Macs fall back to Didot, already close. Android's Noto Serif is
   ~5% wider; Times (Windows, Linux) ~14% narrower at 500 and ~10% at 600. */
@font-face { font-family: "Bodoni Fallback Noto"; src: local("Noto Serif"), local("NotoSerif-Regular"); font-weight: 100 549; size-adjust: 95%; }
@font-face { font-family: "Bodoni Fallback Noto"; src: local("Noto Serif Bold"), local("NotoSerif-Bold"); font-weight: 550 900; size-adjust: 95%; }
@font-face { font-family: "Bodoni Fallback Times"; src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"); font-weight: 100 549; size-adjust: 113%; }
@font-face { font-family: "Bodoni Fallback Times"; src: local("Times New Roman Bold"), local("TimesNewRomanPS-BoldMT"), local("Liberation Serif Bold"); font-weight: 550 900; size-adjust: 109%; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--body); padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom, 0px)); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--wine-2); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
h1 { font-size: clamp(36px, 7vw, 60px); }
h2 { font-size: clamp(26px, 4vw, 34px); }
p { margin: 0; }
#wixheadless-banner-container { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.ic { width: 18px; height: 18px; flex: none; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.accent { color: var(--wine); }
.note { font-size: 14px; color: var(--muted); }
.lede { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; }

/* buttons */
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; font: 600 15px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; background: none; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; color: var(--paper); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; color: var(--ink); }
.btn-line-paper { border-color: var(--paper); color: var(--paper); }
.btn-line-paper:hover { background: var(--paper); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* header and phone tab bar */
.top { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule); padding-top: env(safe-area-inset-top, 0px); }
.top-in { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: 0.2em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.links { display: none; }
.billpay-sm { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 12px 0 12px 12px; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--paper); border-top: 1px solid var(--rule); padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
.tabbar a { height: var(--tabbar); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--muted); text-decoration: none; }
.tabbar a .ic { width: 22px; height: 22px; }
.tabbar a[aria-current] { color: var(--wine); }

/* sections */
.sec { padding: 40px 0; border-top: 1px solid var(--rule); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }

/* home: hero */
.hero-in { padding-left: 0; padding-right: 0; }
.hero-fig { margin: 0; }
.hero-fig img { width: 100%; aspect-ratio: 39 / 49; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.hero-fig figcaption { font-size: 12px; color: var(--muted); padding: 10px var(--gutter) 0; }
.hero-text { padding: 30px var(--gutter) 44px; display: flex; flex-direction: column; gap: 18px; }
.hero-text h1 { font-size: clamp(40px, 10vw, 68px); line-height: 1.02; }

/* the map */
.italy { width: 100%; height: auto; display: block; max-width: 420px; }
.italy .r { stroke: var(--paper); stroke-width: .9; stroke-linejoin: round; transition: fill .15s; }
.italy .t0 { fill: #DEDED7; } .italy .t1 { fill: #C4C4BB; } .italy .t2 { fill: #A8A89E; }
.italy .t3 { fill: #86867D; } .italy .t4 { fill: #5F5F58; } .italy .t5 { fill: #34342F; }
.italy .on { fill: var(--wine); }
.atlas-map .italy [data-region] { cursor: pointer; }
.atlas-map .italy [data-region]:hover { fill: #9C4352; }
.atlas-map .italy .on:hover { fill: var(--wine); }
.atlas-teaser-in { display: grid; gap: 20px; }
.atlas-teaser-text { display: flex; flex-direction: column; gap: 12px; }
.ledger { font-size: 16px; line-height: 1.7; font-variant-numeric: tabular-nums; }

/* cards */
.cards.scroller { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
.cards.scroller > * { flex: 0 0 min(280px, 78vw); scroll-snap-align: start; }
.cards.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
.feature, .pcard { display: flex; flex-direction: column; gap: 7px; color: var(--ink); text-decoration: none; min-width: 0; }
.feature:hover .feature-name, .pcard:hover .pcard-name { color: var(--wine); }
.feature-img, .pcard-img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; filter: grayscale(1); background: var(--paper-2); }
.feature-name { font-family: var(--display); font-size: 23px; font-weight: 600; line-height: 1.15; }
.feature-text { font-size: 15px; color: var(--ink-2); }
.pcard .eyebrow { font-size: 11px; }
.pcard-name { font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.2; }
.nophoto { display: flex; align-items: center; justify-content: center; background: var(--paper-2); aspect-ratio: 7 / 5; width: 100%; }
.nophoto span { font-family: var(--display); font-size: 64px; color: #A8A89E; }

/* trade band */
.band { background: var(--night); color: var(--paper); padding: 44px 0 48px; }
.band-in { display: grid; gap: 16px; }
.band .eyebrow { color: #C9A9AE; margin-bottom: 12px; }
.band p:not(.eyebrow) { color: var(--night-text); font-size: 16px; margin-bottom: 18px; max-width: 56ch; }

/* footer */
.foot { border-top: 1px solid var(--rule); padding: 36px 0 40px; }
.foot-in { display: grid; gap: 28px; }
.foot-family { display: flex; flex-direction: column; gap: 14px; }
.foot-family a { display: flex; flex-direction: column; gap: 2px; color: var(--ink); text-decoration: none; }
.foot-family strong { font-family: var(--display); font-size: 20px; font-weight: 600; }
.foot-family span { font-size: 14px; color: var(--muted); }
.foot-meta { display: flex; flex-direction: column; gap: 10px; font-size: 14px; border-top: 1px solid var(--rule); padding-top: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a { color: var(--ink); }
.fine { font-size: 12px; color: var(--muted); }

/* producers atlas */
.atlas { padding-top: 28px; padding-bottom: 40px; }
.atlas-side { display: flex; flex-direction: column; gap: 14px; }
.atlas-map { margin-top: 6px; }
.map-note { min-height: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 14px; border: 1px solid #A9A9A0; background: transparent; color: var(--ink); font: 500 14px/1 var(--body); cursor: pointer; }
.chip span { color: var(--muted); font-variant-numeric: tabular-nums; margin-left: 2px; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 600; }
.chip[aria-pressed="true"] span { color: #B9B9B2; }
.atlas-list { margin-top: 30px; display: flex; flex-direction: column; gap: 40px; }
.region-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 2px solid var(--ink); }
.region[hidden] { display: none; }

/* producer page */
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.producer { display: grid; gap: 0; padding-left: 0; padding-right: 0; }
.producer-img, .producer .nophoto { width: 100%; aspect-ratio: 39 / 28; object-fit: cover; filter: grayscale(1); }
.pmap { position: relative; background: var(--paper-2); filter: none; }
.pmap .italy { position: absolute; left: 0; top: 7%; width: 100%; height: 86%; max-width: none; }
.pmap .it-base, .pmap .it-on { fill: #C4C4BB; stroke: var(--paper-2); stroke-width: .9; stroke-linejoin: round; }
.pmap .it-on { fill: var(--wine); }
.plogo { position: relative; display: flex; align-items: center; justify-content: center; background: #F8F8F5; filter: none; isolation: isolate; } /* logos keep their colors */
.plogo img { width: auto; height: 62%; max-width: 72%; object-fit: contain; mix-blend-mode: multiply; }
.producer-text { padding: 26px var(--gutter) 10px; display: flex; flex-direction: column; gap: 12px; }
.producer-text h1 { font-size: clamp(40px, 9vw, 64px); line-height: 1; }
.story { font-size: 17px; line-height: 1.65; max-width: 62ch; }
.wines { padding: 18px var(--gutter) 30px; }
.wines h2 { font-size: 26px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.winelist { list-style: none; margin: 0 0 24px; padding: 0; }
.winelist li { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.wl { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.wn { font-family: var(--display); font-size: 21px; line-height: 1.25; }
.ask { background: var(--night); color: var(--paper); padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.ask p { font-family: var(--display); font-size: 22px; line-height: 1.2; }
.pn { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--rule); margin: 8px 0 0; }
.pn a { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; color: var(--ink); text-decoration: none; min-width: 0; }
.pn a strong { font-family: var(--display); font-size: 18px; font-weight: 600; }
.pn-next { text-align: right; align-items: flex-end; }

/* portfolio list */
.pl { padding-top: 28px; padding-bottom: 48px; }
.pl-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.jump { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-top: 6px; font-size: 14px; }
.jump a { color: var(--ink); min-height: 32px; display: inline-flex; align-items: center; }
.pl-region { border-top: 2px solid var(--ink); padding: 14px 0 26px; }
.pl-region h2 { font-size: 26px; margin-bottom: 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pl-region h2 .note { font-family: var(--body); }
.bk-grid { display: grid; gap: 26px 36px; }
.bk-prod h3 { font-size: 22px; font-weight: 600; line-height: 1.2; }
.bk-prod h3 a { color: var(--ink); text-decoration: none; }
.bk-prod h3 a:hover { color: var(--wine); text-decoration: underline; }
.bk-prod > .note { margin-top: 2px; font-size: 13px; }
.badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 6px; background: var(--wine); color: var(--paper); font: 600 10px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; }
.bk-wines { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.bw[hidden], .bk-prod[hidden], .pl-region[hidden] { display: none; }
.bk-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 22px; border-top: 2px solid var(--ink); }
.bk-search { flex: 1 1 260px; display: flex; }
.bk-search input { width: 100%; height: 48px; padding: 0 12px; border: 1px solid #8C8C85; background: #F7F7F4; color: var(--ink); font: 400 16px var(--body); border-radius: 0; -webkit-appearance: none; appearance: none; }
.bk-search input:focus { border-color: var(--ink); outline: 2px solid var(--wine); outline-offset: 0; }
.bk-count { flex-basis: 100%; min-height: 20px; }
.bk-empty { font-family: var(--display); font-size: 22px; padding: 20px 0 40px; }
.bk-tools + .jump { margin-bottom: 18px; }
.jump[hidden] { display: none; }

/* wine rows with "+ Taste" (portfolio list and producer pages) */
.bw { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "v n b" "v k b"; column-gap: 12px; row-gap: 1px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.bw-v { grid-area: v; align-self: start; padding-top: 1px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bw-n { grid-area: n; font-size: 15px; line-height: 1.35; }
.bw-n small { font-size: 13px; color: var(--muted); }
.bw-k { grid-area: k; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.bw .taste, .bw .wnote { grid-area: b; }
.wnote { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: right; min-width: 92px; }
.taste { position: relative; min-width: 92px; min-height: 40px; padding: 0 12px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 600 13px/1 var(--body); cursor: pointer; white-space: nowrap; }
.taste:hover { background: var(--ink); color: var(--paper); }
.taste .t-on, .flight-add .t-on { display: none; }
.taste[aria-pressed="true"], .taste[aria-pressed="true"]:hover { background: var(--wine); border-color: var(--wine); color: var(--paper); }
.taste[aria-pressed="true"] .t-off, .flight-add[aria-pressed="true"] .t-off { display: none; }
.taste[aria-pressed="true"] .t-on, .flight-add[aria-pressed="true"] .t-on { display: inline; }
.winelist .bw { display: grid; gap: 1px 12px; padding: 12px 0; }
.winelist .bw-n { font-family: var(--display); font-size: 20px; line-height: 1.25; }
.winelist .bw-n small { font-family: var(--body); font-size: 13px; }
.wines-note { margin-top: 10px; }

/* tasting flights */
.flights-lede { margin: -6px 0 20px; }
.flights-sec { padding: 6px 0 34px; }
.flight { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--rule); background: #F6F6F2; min-width: 0; }
.flight h3 { font-size: 25px; font-weight: 600; }
.flight-text { font-size: 15px; color: var(--ink-2); }
.flight ol { list-style: none; margin: 4px 0 6px; padding: 0; border-top: 1px solid var(--rule); }
.flight li { display: flex; flex-direction: column; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.35; }
.flight li strong { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.flight-add { margin-top: auto; }
.flight-add[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: var(--paper); }

/* the tasting-list bar (above the phone tab bar; a card on desktop) and its dialog */
.tray { position: fixed; z-index: 25; left: 0; right: 0; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px; padding: 8px max(12px, env(safe-area-inset-right, 0px)) 8px var(--gutter); background: var(--night); color: var(--paper); }
.tray[hidden] { display: none; }
.tray-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--paper); font: 500 14px/1.25 var(--body); text-align: left; cursor: pointer; }
.tray-count { flex: none; min-width: 30px; height: 30px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; background: var(--wine); font-weight: 600; font-variant-numeric: tabular-nums; }
.tray-label { text-decoration: underline; text-decoration-color: #77776F; text-underline-offset: 4px; }
.tray-review { display: none; }
.tray-go { flex: none; min-height: 44px; padding: 0 16px; }
body.has-tray { padding-bottom: calc(var(--tabbar) + 62px + env(safe-area-inset-bottom, 0px)); }
.tdlg { width: min(560px, calc(100vw - 24px)); max-height: min(84vh, 760px); padding: 20px 20px 22px; border: 0; background: var(--paper); color: var(--ink); }
.tdlg::backdrop { background: rgba(20, 20, 20, 0.55); }
.tdlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.tdlg-head h2 { font-size: 28px; }
.tdlg-x { width: 44px; height: 44px; flex: none; border: 0; background: none; color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; }
.tdlg-list { list-style: none; margin: 14px 0 18px; padding: 0; border-top: 1px solid var(--rule); }
.tdlg-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.tdlg-list li > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tdlg-list strong { font-weight: 600; font-size: 15px; line-height: 1.3; }
.tdlg-list .note { font-size: 13px; }
.tdlg-rm { width: 40px; height: 40px; flex: none; border: 1px solid var(--rule); background: none; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.tdlg-rm:hover { border-color: var(--ink); }
.tdlg-clear { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 0 8px; }
.taste-note { padding: 12px 14px; background: #F6F6F2; border-left: 3px solid var(--wine); font-size: 15px; line-height: 1.5; }

/* about, privacy */
.prose-page { max-width: 760px; padding-top: 32px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 22px; }
.prose { display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.65; }
.prose h2 { font-size: 24px; margin-top: 10px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 6px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 18px 0; }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--display); font-size: 34px; font-variant-numeric: tabular-nums; }

/* contact form */
.contact { padding-top: 32px; padding-bottom: 48px; display: grid; gap: 28px; }
.contact-text { display: flex; flex-direction: column; gap: 14px; }
.contact-form form { display: flex; flex-direction: column; gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld label { font-size: 14px; font-weight: 600; }
.fld input, .fld textarea, .fld select { height: 48px; padding: 0 12px; border: 1px solid #8C8C85; background: #F7F7F4; color: var(--ink); font: 400 16px var(--body); border-radius: 0; }
.fld textarea { height: auto; min-height: 140px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.fld input:focus, .fld textarea:focus { border-color: var(--ink); outline: 2px solid var(--wine); outline-offset: 0; }
.fld [aria-invalid="true"] { border-color: var(--wine); }
.fld-check label { display: flex; align-items: center; gap: 10px; font-weight: 500; min-height: 44px; }
.err { min-height: 18px; font-size: 13px; color: var(--wine); }
.help { font-size: 14px; color: var(--muted); }
.form-msg { font-family: var(--display); font-size: 24px; line-height: 1.3; padding: 24px 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 760px+: top menu, grids */
@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .tabbar, .billpay-sm { display: none; }
  .links { display: flex; align-items: center; gap: 26px; }
  .links a { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; display: inline-flex; align-items: center; gap: 4px; }
  .links a:hover, .links a[aria-current] { border-bottom-color: var(--wine); color: var(--ink); }
  .links .billpay { color: var(--muted); }
  .links .ic { width: 14px; height: 14px; }
  .top-in { height: 68px; }
  .cards.scroller { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 22px; }
  .cards.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; }
  .bk-grid { display: block; columns: 2; column-gap: 40px; }
  .bk-prod { break-inside: avoid; padding-bottom: 28px; }
  .bk-count { flex-basis: auto; }
  .tray { left: auto; right: 24px; bottom: 24px; max-width: 460px; padding: 10px 10px 10px 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28); }
  .tray-review { display: inline; margin-left: 4px; color: #C9A9AE; font-weight: 600; }
  .tray-label { text-decoration: none; }
  body.has-tray { padding-bottom: 96px; }
  .band-in { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
  .band h2 { font-size: 40px; }
  .foot-in { grid-template-columns: 1fr 1fr; align-items: start; }
  .foot-meta { border-top: 0; padding-top: 0; }
  .atlas-teaser-in { grid-template-columns: 1fr minmax(0, 380px); align-items: center; gap: 40px; }
  .contact { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .sec { padding: 56px 0; }
}

/* 1080px+: two-column hero, atlas and producer pages */
@media (min-width: 1080px) {
  .hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 48px max(20px, env(safe-area-inset-left, 0px)) 56px; }
  .hero-fig { order: 2; }
  .hero-fig img { aspect-ratio: 11 / 12.4; }
  .hero-fig figcaption { padding-left: 0; }
  .hero-text { padding: 0; gap: 22px; }
  .atlas { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 40px; }
  .atlas-side { position: sticky; top: 92px; }
  .atlas-side h1 { font-size: 46px; }
  .atlas-list { margin-top: 0; }
  .producer { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 56px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); align-items: start; }
  .producer-media { grid-row: span 2; position: sticky; top: 92px; }
  .producer-text, .wines { padding-left: 0; padding-right: 0; }
  .producer-text { padding-top: 6px; }
}

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

/* A short cross-fade between pages (Chrome, Edge, Safari 18.2+); the header and the phone menu stay put. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .top { view-transition-name: site-top; }
  .tabbar { view-transition-name: site-tabbar; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; }
}

@media print {
  body { background: #fff; padding: 0; font-size: 11pt; }
  .top, .tabbar, .foot, .ctas, .jump, .skip, .flights-sec, .bk-tools, .bk-empty, .taste, .tray, .tdlg { display: none !important; }
  .bk-prod { break-inside: avoid; }
  .bk-grid { display: block; columns: 2; column-gap: 28px; }
  .bk-prod { padding-bottom: 14px; }
  .bw { grid-template-columns: 40px minmax(0, 1fr) auto auto; grid-template-areas: "v n k b"; padding: 3px 0; }
  .bw-n, .winelist .bw-n { font-size: 10pt; }
  a { color: #000; text-decoration: none; }
}
