/* Liburnia Wines — site styles */
:root {
  --claret: #7B1F2A;
  --claret-dark: #5A141D;
  --brass: #9C7A43;
  --ink: #1E1916;
  --body: #3D3530;
  --muted: #5E554E;
  --paper: #FBF8F3;
  --stone: #F1EBE2;
  --line: #E4DCD1;
  --cream: #EDE6DB;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', sans-serif;
  --script: 'Pinyon Script', cursive;
  --caps: 'Cinzel', Georgia, serif;
  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.75; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--claret); }
a:hover { color: var(--claret-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 16px; }
:focus-visible { outline: 2px solid var(--claret); outline-offset: 3px; }

.eyebrow { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--claret); }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--body); line-height: 1.8; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 32px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s; }
.btn-primary { background: var(--claret); color: #fff; }
.btn-primary:hover { background: var(--claret-dark); color: #fff; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.link-caps { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }

/* Logo */
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.logo-script { font-family: var(--script); font-size: 46px; line-height: 1.1; color: var(--claret); }
.logo-sub { display: flex; align-items: center; gap: 9px; }
.logo-sub::before, .logo-sub::after { content: ''; width: 24px; height: 1px; background: var(--brass); }
.logo-sub span { font-family: var(--caps); font-size: 10px; letter-spacing: .5em; padding-left: .5em; color: var(--ink); }
.logo-tag { margin-top: 8px; font-size: 11px; letter-spacing: .34em; padding-left: .34em; color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; gap: 44px; align-items: center; }
.nav a { font-size: 13px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 14px 0 10px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--claret); border-bottom-color: var(--claret); }
.header-cta { min-height: 46px; padding: 0 24px; font-size: 12px; }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; padding: 12px; }
.menu-btn span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { position: relative; min-height: min(780px, 88vh); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: rgba(24, 16, 13, .52); }
.hero .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(56px, 8vw, 96px); }
.hero-inner { max-width: 820px; display: flex; flex-direction: column; gap: 26px; }
.hero .eyebrow { color: #fff; }
.hero h1 { font-size: clamp(46px, 6.2vw, 84px); line-height: 1.02; }
.hero p { font-size: clamp(17px, 1.4vw, 19px); max-width: 620px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 6px; }
.hero-short { min-height: min(560px, 70vh); }

/* Sections */
.section { padding: clamp(72px, 8vw, 110px) 0; }
.section-stone { background: var(--stone); }
.section-dark { background: var(--ink); color: var(--stone); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6.5vw, 96px); align-items: start; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.h-xl { font-size: clamp(40px, 5vw, 76px); line-height: 1; }
.h-lg { font-size: clamp(34px, 3.8vw, 56px); }
.h-md { font-size: clamp(30px, 3.2vw, 50px); line-height: 1.1; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.section-head .stack { gap: 14px; }

/* Signature cards */
.sig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.sig-card { display: flex; background: var(--paper); min-height: 480px; }
.sig-card .bottle { width: 250px; flex-shrink: 0; background: #E6DDD0; display: flex; align-items: center; justify-content: center; padding: 24px 0; }
.sig-card .bottle img { height: 410px; width: auto; }
.sig-card .body { padding: 44px 40px; display: flex; flex-direction: column; gap: 16px; }
.meta { font-size: 12px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.sig-card h3 { font-size: 46px; line-height: 1; }
.tagline { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--claret); }
.sig-card p.desc { font-size: 15px; line-height: 1.75; color: var(--body); }
.sig-card .link-caps { margin-top: auto; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.split .content { padding: clamp(56px, 7vw, 96px) clamp(24px, 5.5vw, 80px); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.grape-pair { display: flex; gap: 40px; margin-top: 8px; }
.grape-pair div { display: flex; flex-direction: column; gap: 4px; }
.grape-pair strong { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.grape-pair span { font-size: 14px; color: var(--muted); }
.grape-pair .rule { width: 1px; background: #D8CEC1; }

/* Four columns */
.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.four > div { border-top: 1px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.four .num { font-family: var(--serif); font-size: 22px; color: var(--claret); }
.four h3 { font-family: var(--sans); font-size: 19px; font-weight: 500; line-height: 1.3; }
.four .fact { font-family: var(--serif); font-size: 36px; font-weight: 500; line-height: 1.1; }
.four p { font-size: 15px; line-height: 1.7; color: var(--body); }

/* Photo band */
.band { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; background: rgba(24, 16, 13, .62); }
.band .inner { position: relative; z-index: 1; padding: 72px var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 24px; }
.band h2 { font-size: clamp(36px, 4vw, 58px); }
.band p { font-size: 18px; max-width: 620px; line-height: 1.7; }

/* Dark split (About) */
.dark-split { display: grid; grid-template-columns: 43% 57%; background: var(--ink); }
.dark-split > img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.dark-split .content { padding: clamp(56px, 7vw, 110px) clamp(24px, 6.5vw, 96px); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.dark-split .eyebrow { color: #D9B8A0; }
.dark-split h2 { color: var(--paper); }
.dark-split p { color: #E4DCD1; font-size: 17px; line-height: 1.8; }
.dark-split .quote { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.5; color: var(--paper); }

/* Collection */
.filter-bar { border-bottom: 1px solid var(--line); }
.filter-bar .wrap { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 46px; padding: 0 22px; background: transparent; color: var(--ink); border: 1px solid var(--ink); font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.count { font-size: 14px; color: var(--muted); }
.wine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.wine { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.wine[hidden] { display: none; }
.wine .bottle { height: 360px; background: var(--stone); display: flex; align-items: center; justify-content: center; }
.wine .bottle img { height: 320px; width: auto; }
.wine .body { flex-grow: 1; padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.wine .cat { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--claret); }
.wine h2 { font-size: 32px; line-height: 1; }
.wine .grapes { font-size: 13px; color: var(--muted); font-weight: 400; }
.wine .notes { font-size: 14px; line-height: 1.65; color: var(--body); margin-top: 4px; }
.wine .pair { font-size: 13px; line-height: 1.55; color: var(--muted); font-weight: 400; }
.wine .pair b { font-weight: 500; color: var(--ink); }
.wine .foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wine .foot a { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; }
.wine .foot span { font-size: 12px; letter-spacing: .08em; color: var(--muted); text-align: right; font-weight: 400; }
.trade-band { background: var(--stone); padding: 72px 0; }
.trade-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.trade-band .stack { max-width: 760px; gap: 14px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 440px 1fr; gap: clamp(40px, 6.5vw, 96px); align-items: start; }
.details { display: flex; flex-direction: column; gap: 22px; }
.detail { display: flex; gap: 16px; align-items: flex-start; }
.detail svg { flex-shrink: 0; margin-top: 3px; }
.detail small { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.detail span, .detail a { font-size: 17px; font-weight: 400; color: var(--ink); text-decoration: none; }
.note-box { padding: 24px; background: var(--stone); display: flex; flex-direction: column; gap: 10px; }
.note-box h2 { font-size: 26px; }
.note-box p { font-size: 15px; color: var(--body); line-height: 1.7; }
.aside { display: flex; flex-direction: column; gap: 36px; }
.aside > img { width: 100%; height: 360px; object-fit: cover; }
.form-card { background: #fff; border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 56px); }
.form { display: flex; flex-direction: column; gap: 22px; }
.form h2 { font-size: 40px; margin-bottom: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid #B8AC9C; padding: 0 14px; height: 50px; border-radius: 0; width: 100%; }
.form textarea { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.form .check { flex-direction: row; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--body); line-height: 1.6; }
.form .check input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--claret); padding: 0; }
.hp { position: absolute; left: -9999px; }
.form-msg { display: none; flex-direction: column; gap: 18px; }
.form-msg.show { display: flex; }

/* Legal pages */
.legal { max-width: 820px; }
.legal h2 { font-size: 30px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--body); }
.legal p + p { margin-top: 14px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--cream); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 56px; }
.site-footer .logo { align-items: flex-start; }
.site-footer .logo-script { color: var(--paper); font-size: 56px; }
.site-footer .logo-sub::before, .site-footer .logo-sub::after { background: #D9CBB5; width: 30px; }
.site-footer .logo-sub span { color: var(--cream); font-size: 11px; }
.site-footer .logo-tag { color: var(--cream); font-size: 10px; }
.footer-about { margin-top: 20px; font-size: 15px; line-height: 1.7; color: #CFC5B8; max-width: 340px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h2 { font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: #B8AC9C; }
.footer-col a, .footer-col span { font-size: 15px; color: var(--paper); text-decoration: none; font-weight: 400; }
.footer-col a:hover { text-decoration: underline; }
.responsible { margin-top: 48px; padding: 20px 0; border-top: 1px solid #3A322D; border-bottom: 1px solid #3A322D; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.responsible .age { display: flex; align-items: center; gap: 16px; }
.badge18 { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--paper); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; color: var(--paper); flex-shrink: 0; }
.responsible a { color: var(--paper); }
.legal-line { margin-top: 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; font-size: 13px; line-height: 1.8; color: #B8AC9C; }
.legal-line p { max-width: 980px; }

/* Age gate */
.age-gate { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(24, 16, 13, .72); backdrop-filter: blur(6px); }
.age-gate.open { display: flex; }
html.gate-open body { overflow: hidden; }
.age-box { width: 100%; max-width: 560px; background: var(--paper); padding: clamp(32px, 5vw, 48px) clamp(24px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.age-box .logo-script { font-size: 76px; }
.age-box .logo-sub span { font-size: 13px; }
.age-box .logo-sub::before, .age-box .logo-sub::after { width: 50px; }
.age-box .rule { width: 48px; height: 1px; background: var(--claret); }
.age-box h2 { font-size: 38px; }
.age-box p { font-size: 15px; color: var(--muted); font-weight: 400; line-height: 1.7; }
.age-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.age-actions .btn { min-width: 190px; }
.age-denied { display: none; flex-direction: column; align-items: center; gap: 14px; }
.age-box.denied .age-ask { display: none; }
.age-box.denied .age-denied { display: flex; }
.age-ask { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.age-small { font-size: 12px !important; }

/* Responsive */
@media (max-width: 1100px) {
  .wine-grid { grid-template-columns: repeat(3, 1fr); }
  .sig-card .bottle { width: 200px; }
  .sig-card .bottle img { height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .aside > img { display: none; }
}
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .site-header .wrap { height: 80px; }
  .logo-script { font-size: 40px; }
  .nav.open { display: flex; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; }
  .nav.open a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .two-col, .sig-grid, .split, .dark-split { grid-template-columns: 1fr; }
  .split > img, .dark-split > img { min-height: 0; height: 360px; }
  .four { grid-template-columns: 1fr 1fr; }
  .wine-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .sig-card { flex-direction: column; min-height: 0; }
  .sig-card .bottle { width: 100%; }
  .sig-card .bottle img { height: 300px; }
  .sig-card .body { padding: 28px 24px; }
  .four, .wine-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .wine .bottle { height: 320px; }
  .wine .bottle img { height: 280px; }
  .hero-actions .btn { width: 100%; }
  .grape-pair { gap: 24px; }
  .age-box .logo-script { font-size: 60px; }
  .age-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
