@font-face { font-family: Italiana; src: url("assets/fonts/italiana-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Cormorant; src: url("assets/fonts/cormorant-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: DMSans; src: url("assets/fonts/dm-sans-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: DMSans; src: url("assets/fonts/dm-sans-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --wine: #710919;
  --deep: #22080e;
  --ink: #211e19;
  --cream: #eee4d3;
  --paper: #faf6ee;
  --gold: #c7a56a;
  --olive: #6d7348;
  --line: rgba(33, 30, 25, .17);
  --serif: Italiana, Georgia, serif;
  --classic: Cormorant, Georgia, serif;
  --sans: DMSans, Arial, sans-serif;
  --wrap: min(1240px, calc(100vw - 96px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.narrow { max-width: 900px; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; color: var(--deep); background: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: 96px; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; color: white; border-bottom: 1px solid rgba(255,255,255,.22); transition: height .3s, color .3s, background .3s, border-color .3s; }
.site-header.scrolled { height: 76px; color: var(--ink); background: rgba(250,246,238,.96); border-color: var(--line); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 13px; line-height: 1; }
.brand img { width: 66px; height: 66px; object-fit: contain; transition: width .3s, height .3s; }
.scrolled .brand img { width: 50px; height: 50px; }
.home-page .brand img { width: 82px; height: 82px; }
.home-page .site-header.scrolled .brand img { width: 56px; height: 56px; }
.brand-copy { display: flex; flex-direction: column; gap: 6px; text-transform: uppercase; letter-spacing: .09em; }
.brand-copy strong { font-size: 13px; }
.brand-copy small { font-size: 9px; letter-spacing: .17em; opacity: .82; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; }
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; min-width: 48px; min-height: 44px; padding: 10px; color: inherit; background: transparent; border: 0; }
.menu-toggle > span:not(.sr-only) { display: block; width: 28px; height: 1px; margin: 6px 0; background: currentColor; transition: transform .25s; }

.page-hero { position: relative; min-height: 86svh; display: grid; align-items: end; color: white; background: var(--deep) var(--hero-image) center / cover no-repeat; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--hero-image); background-position: center; background-size: cover; transform: scale(1.025); animation: hero-in 1.3s cubic-bezier(.2,.7,.2,1) both; }
.home-hero { min-height: 100svh; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,7,11,.78), rgba(28,7,11,.32) 55%, rgba(28,7,11,.12)), linear-gradient(0deg, rgba(18,4,7,.58), transparent 58%); }
.hero-content { position: relative; z-index: 1; padding: 190px 0 90px; }
.hero-content h1 { max-width: 1000px; margin: 0; font: 400 clamp(58px,8vw,126px)/.92 var(--serif); letter-spacing: -.045em; text-wrap: balance; }
.inner-page .hero-content h1 { max-width: 840px; font-size: clamp(62px,7.4vw,112px); }
.hero-content p { max-width: 800px; margin: 34px 0 0; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.55); color: rgba(255,255,255,.88); font-size: clamp(16px,1.45vw,20px); line-height: 1.65; }
.scroll-cue { position: absolute; z-index: 2; right: 48px; bottom: 42px; display: flex; align-items: center; gap: 12px; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 50px; background: rgba(255,255,255,.72); transform-origin: top; animation: scroll-line 2.2s infinite; }

h2 { margin: 0; font: 400 clamp(44px,5vw,76px)/1.04 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
h3 { text-wrap: balance; }
.eyebrow { margin: 0 0 20px; color: var(--wine); font-size: 11px; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; }
.story-section { padding: 140px 0; }
.story-section:nth-child(even) { background: #f2eadc; }
.story-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(60px,9vw,130px); align-items: center; }
.story-section.is-reverse .story-copy { grid-column: 2; grid-row: 1; }
.story-section.is-reverse .story-image { grid-column: 1; grid-row: 1; }
.story-copy > p:not(.eyebrow) { max-width: 690px; color: #5c574f; font-size: 17px; }
.story-copy h2 + p { margin-top: 32px; }
.story-image { position: relative; margin: 0; }
.story-image::before { content: ""; position: absolute; z-index: 0; inset: 24px -24px -24px 24px; border: 1px solid rgba(113,9,25,.38); }
.story-image img { position: relative; z-index: 1; aspect-ratio: 4/5; object-fit: cover; }
.story-image img.seller-focus { aspect-ratio: 3/2; object-position: center; }
.wide-image img { aspect-ratio: 16/8.5; }
.dark-section { color: white; background: var(--deep) !important; }
.dark-section .eyebrow { color: #e8c991; }
.dark-section .story-copy > p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.dark-section .story-image::before { border-color: rgba(232,201,145,.4); }
.cream-section { background: var(--cream) !important; }
.olive-section { color: white; background: var(--olive) !important; }
.olive-section .eyebrow { color: #f2dcae; }
.olive-section .story-copy > p:not(.eyebrow) { color: rgba(255,255,255,.78); }
.olive-section .story-image::before { border-color: rgba(255,255,255,.42); }
.no-image { grid-template-columns: 1fr; }
.no-image .story-copy { max-width: 900px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; padding: 0 22px; color: white; background: var(--wine); border: 1px solid var(--wine); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: color .25s, background .25s, transform .25s; }
.button:hover { transform: translateY(-2px); color: var(--wine); background: transparent; }
.button-light { color: var(--deep); background: var(--paper); border-color: var(--paper); }
.button-light:hover { color: white; border-color: rgba(255,255,255,.55); }
.button-outline { color: white; background: transparent; border-color: rgba(255,255,255,.5); }
.button-outline:hover { color: var(--deep); background: white; }
.button-outline-dark { color: var(--wine); background: transparent; border-color: var(--wine); }
.button-outline-dark:hover { color: white; background: var(--wine); }
.button-plain { min-height: 44px; padding: 13px 0 6px; color: var(--wine); background: transparent; border-width: 0 0 1px; }
.button-plain:hover { transform: none; color: var(--ink); }
.button-disabled { cursor: not-allowed; color: #756e63; background: transparent; border-color: rgba(33,30,25,.24); opacity: .72; }
.button-disabled:hover { color: #756e63; background: transparent; transform: none; }

.center-section { padding: 150px 0; background: var(--paper); }
.center-section h2 { color: var(--wine); }
.center-section .narrow > p:not(.eyebrow) { color: #5d574e; font: 400 22px/1.55 var(--classic); }
.centered-actions { justify-content: center; }
.territory-section { position: relative; background: #e8ddc8; }
.territory-section::before { content: "Montalbano"; position: absolute; inset: 50% auto auto 50%; color: rgba(113,9,25,.045); font: 400 17vw/1 var(--serif); transform: translate(-50%,-50%); white-space: nowrap; }
.territory-section .narrow { position: relative; }
.contact-band { color: white; background: var(--wine); }
.contact-band h2 { color: white; }
.contact-band .narrow > p:not(.eyebrow) { color: rgba(255,255,255,.76); }
.contact-band .eyebrow { color: #edcf99; }

.wine-overview, .category-section, .products-list, .stores, .contact-page { padding: 140px 0; }
.wine-overview { background: var(--paper); }
.overview-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: start; margin-bottom: 60px; }
.overview-heading > div:last-child { color: #5c574e; }
.wine-overview .wide-image, .category-section .wide-image { margin: 0 0 26px; }
.category-grid { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-grid.four { grid-template-columns: repeat(4,1fr); }
.category-card { position: relative; display: flex; flex-direction: column; min-height: 410px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.2); }
.category-card > img { height: 230px; object-fit: cover; }
.category-card > div { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.category-card h3 { margin: 0 0 16px; font: 400 34px/1.05 var(--serif); }
.category-card p { margin: 0 0 22px; color: #635d54; font-size: 14px; line-height: 1.6; }
.category-card .button { align-self: flex-start; margin-top: auto; }
.category-section { background: var(--cream); }
.category-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 6vw; align-items: end; margin-bottom: 55px; }
.category-intro .eyebrow { grid-column: 1/-1; margin-bottom: -30px; }
.category-intro > p:last-child { color: #5b554d; font-size: 18px; }
.category-section .category-card { background: var(--paper); }
.category-section .category-card img[src*="wine-cantarello"] { object-fit: contain; padding: 22px; background: #eadfcf; }

.products-list { background: #f1e9dc; }
.list-heading { margin-bottom: 65px; }
.wine-product { display: grid; grid-template-columns: .72fr 1.28fr; min-height: 520px; border-top: 1px solid var(--line); }
.wine-product:last-child { border-bottom: 1px solid var(--line); }
.bottle-stage { min-height: 520px; display: grid; place-items: center; padding: 50px; background: #e6dac8; overflow: hidden; }
.bottle-stage img { width: auto; max-width: 100%; height: 420px; object-fit: contain; filter: drop-shadow(0 28px 24px rgba(41,22,15,.18)); transition: transform .45s; }
.wine-product:hover .bottle-stage img { transform: translateY(-8px); }
.wine-product-copy { align-self: center; padding: 70px clamp(45px,7vw,110px); }
.wine-product-copy h3 { margin: 0 0 25px; font: 400 clamp(36px,4vw,58px)/1.08 var(--serif); }
.wine-product-copy p { max-width: 680px; color: #5e584f; font-size: 16px; }
.wine-product-copy .button { margin-top: 24px; }
.sheet-access { display: flex; align-items: flex-end; gap: 28px; margin-top: 26px; }
.sheet-access .button { margin-top: 0; }
.wine-qr { width: 96px; margin: 0; text-align: center; }
.wine-qr img { width: 96px; height: 96px; padding: 5px; background: var(--paper); border: 1px solid var(--line); }
.wine-qr figcaption { margin-top: 7px; color: #746d62; font-size: 9px; font-weight: 600; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; }

.stores { padding-top: 20px; background: var(--paper); }
.store-card { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 540px; border-top: 1px solid var(--line); }
.store-card:last-child { border-bottom: 1px solid var(--line); }
.store-card > img { height: 100%; min-height: 540px; object-fit: cover; }
.store-card > div { align-self: center; padding: 70px clamp(45px,7vw,100px); }
.store-card h2 { margin-bottom: 28px; font-size: clamp(38px,4.2vw,62px); }
.store-card address { margin-bottom: 10px; font-style: normal; }
.store-card > div > a:not(.button) { min-height: 44px; display: inline-flex; align-items: center; color: var(--wine); }
.hours { margin: 28px 0; color: #625c52; }
.store-actions { display: grid; gap: 8px; margin-top: 24px; }
.store-actions .button { margin: 0; }

.contact-page { background: var(--paper); }
.contact-page-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 9vw; }
.contact-page h2 { margin-bottom: 35px; }
.contact-page address { margin-bottom: 24px; font-style: normal; font-size: 19px; }
.contact-line { display: flex; width: fit-content; min-height: 44px; align-items: center; padding: 8px 0; color: var(--wine); border-bottom: 1px solid rgba(113,9,25,.3); }
.social-panel { align-self: start; display: grid; margin-top: 50px; border-top: 1px solid var(--line); }
.social-panel > p { color: var(--wine); font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.social-panel > a, .pending-link { display: flex; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--line); }
.pending-link { color: #888075; }

.funding-strip { width: 100%; background: #fff; border-top: 1px solid #ebe8e2; }
.funding-strip-inner { width: 100%; max-width: 1800px; margin: 0 auto; padding: clamp(22px,3vw,44px) clamp(18px,4.5vw,72px); }
.funding-strip picture, .funding-strip img { display: block; width: 100%; }
.funding-strip img { height: auto; object-fit: contain; }

.site-footer { padding: 90px 0 25px; color: white; background: #18090d; }
.footer-main { display: grid; grid-template-columns: .45fr 1fr .65fr .8fr; gap: 5vw; align-items: start; }
.footer-mark img { width: 138px; height: 138px; object-fit: contain; }
.footer-main h2 { font-size: 28px; line-height: 1.2; }
.footer-main p { color: rgba(255,255,255,.55); font-size: 13px; }
.footer-main nav, .footer-contact { display: grid; gap: 10px; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 70px; padding-top: 22px; color: rgba(255,255,255,.42); border-top: 1px solid rgba(255,255,255,.15); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.footer-legal button { padding: 0; color: inherit; background: none; border: 0; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.footer-legal a:hover, .footer-legal button:hover { color: white; }

.legal-hero { min-height: 52svh; }
.legal-content { padding: 110px 0 130px; background: var(--paper); }
.legal-copy { max-width: 860px; }
.legal-copy h2 { margin: 60px 0 18px; color: var(--wine); font-size: clamp(34px,4vw,52px); }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy h3 { margin: 32px 0 12px; font: 400 28px/1.15 var(--serif); }
.legal-copy p, .legal-copy li { color: #5c574f; }
.legal-copy a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.legal-copy table { width: 100%; margin: 26px 0; border-collapse: collapse; font-size: 14px; }
.legal-copy th, .legal-copy td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-copy th { background: #eee4d3; }
.legal-updated { margin-bottom: 44px; font-size: 13px; }

.cookie-banner { position: fixed; z-index: 200; right: 24px; bottom: 24px; width: min(560px, calc(100vw - 48px)); padding: 28px; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 60px rgba(24,9,13,.22); }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { margin: 0 0 10px; color: var(--wine); font-size: 30px; }
.cookie-banner p { margin: 0; color: #5c574f; font-size: 14px; line-height: 1.55; }
.cookie-banner a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cookie-actions .button { width: auto; min-height: 46px; cursor: pointer; }
.cookie-actions .button-secondary { color: var(--wine); background: transparent; }
.cookie-actions .button-secondary:hover { color: white; background: var(--wine); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .page-hero::before, .scroll-cue i { animation: none; } }

@keyframes hero-in { from { opacity: .5; transform: scale(1.08); } to { opacity: 1; transform: scale(1.025); } }
@keyframes scroll-line { 0%,100% { transform: scaleY(.25); opacity: .35; } 50% { transform: scaleY(1); opacity: 1; } }

@media (max-width: 1040px) {
  :root { --wrap: min(100% - 52px, 900px); }
  .site-header { height: 82px; padding: 0 26px; }
  .brand img { width: 56px; height: 56px; }
  .site-nav { position: fixed; inset: 0; z-index: -1; display: flex; visibility: hidden; flex-direction: column; justify-content: center; gap: 14px; color: white; background: var(--deep); font: 400 32px/1.2 var(--serif); opacity: 0; pointer-events: none; transition: opacity .3s, visibility 0s linear .3s; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
  .menu-open .site-header.scrolled { backdrop-filter: none; }
  .menu-open .site-nav { visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s; }
  .menu-toggle { position: relative; z-index: 2; display: block; }
  .menu-open .menu-toggle { color: white; }
  .menu-open .menu-toggle > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .story-grid { gap: 55px; }
  .category-grid.four { grid-template-columns: repeat(2,1fr); }
  .footer-main { grid-template-columns: .45fr 1fr 1fr; }
  .footer-contact { grid-column: 2/4; }
}

@media (max-width: 560px) {
  .funding-strip-inner { padding: 20px 10px; }
}

@media (max-width: 760px) {
  :root { --wrap: calc(100vw - 36px); }
  body { font-size: 15px; }
  .site-header, .site-header.scrolled { height: 72px; padding: 0 18px; }
  .brand img, .scrolled .brand img { width: 48px; height: 48px; }
  .home-page .brand img, .home-page .site-header.scrolled .brand img { width: 58px; height: 58px; }
  .brand-copy { gap: 4px; }
  .brand-copy strong { font-size: 10px; }
  .brand-copy small { font-size: 7px; }
  .page-hero, .home-hero { min-height: 92svh; }
  .page-hero::before { background-position: center; }
  .hero-content { padding: 150px 0 72px; }
  .hero-content h1, .inner-page .hero-content h1 { font-size: clamp(47px,15vw,72px); line-height: .95; }
  .hero-content p { margin-top: 24px; padding-left: 16px; font-size: 14px; }
  .scroll-cue { display: none; }
  .story-section, .center-section, .wine-overview, .category-section, .products-list, .contact-page { padding: 88px 0; }
  .story-grid, .story-section.is-reverse .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-section.is-reverse .story-copy, .story-section.is-reverse .story-image { grid-column: 1; }
  .story-section.is-reverse .story-copy { grid-row: 1; }
  .story-section.is-reverse .story-image { grid-row: 2; }
  .story-copy > p:not(.eyebrow) { font-size: 15px; }
  .story-image::before { inset: 14px -10px -14px 10px; }
  .story-image img { aspect-ratio: 4/4.7; }
  .wide-image img { aspect-ratio: 4/3; }
  .overview-heading, .category-intro { grid-template-columns: 1fr; gap: 20px; }
  .category-intro .eyebrow { grid-column: auto; margin-bottom: 0; }
  .category-grid.four { grid-template-columns: 1fr; }
  .category-card { min-height: auto; }
  .category-card > img { height: 250px; }
  .wine-product, .store-card { grid-template-columns: 1fr; }
  .bottle-stage { min-height: 410px; padding: 38px; }
  .bottle-stage img { height: 340px; }
  .wine-product-copy, .store-card > div { padding: 48px 22px 58px; }
  .sheet-access { align-items: center; gap: 16px; }
  .sheet-access .button { width: auto; flex: 1; }
  .wine-qr, .wine-qr img { width: 82px; }
  .wine-qr img { height: 82px; }
  .store-card > img { min-height: 0; height: 300px; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 45px; }
  .social-panel { margin-top: 0; }
  .actions { gap: 8px; }
  .button { width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-mark { display: none; }
  .footer-main h2 { font-size: 23px; }
  .footer-main nav, .footer-contact { gap: 0; }
  .footer-main nav a, .footer-contact a { min-height: 44px; display: flex; align-items: center; }
  .footer-contact { grid-column: 1/3; }
  .footer-bottom { align-items: flex-start; }
  .footer-bottom a { min-height: 44px; display: flex; align-items: center; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .footer-legal { justify-content: flex-start; gap: 4px 18px; }
  .footer-legal a, .footer-legal button { min-height: 44px; display: inline-flex; align-items: center; }
  .legal-hero { min-height: 48svh; }
  .legal-content { padding: 78px 0 90px; }
  .legal-copy table { display: block; overflow-x: auto; }
  .cookie-banner { right: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 22px 18px; }
  .cookie-banner h2 { font-size: 26px; }
  .cookie-actions .button { width: 100%; }
}
