:root {
  --red: #b5121b;
  --red-bright: #d71920;
  --gold: #f2c230;
  --ink: #12100f;
  --cream: #f6f0e4;
  --paper: #fffaf0;
  --white: #fff;
  --line: rgba(18, 16, 15, .18);
  --display: "Oswald", Impact, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.skip-link { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 12px 18px; background: white; color: black; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.topline { height: 34px; padding: 0 4vw; background: var(--gold); display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

.site-header { position: absolute; z-index: 20; top: 34px; left: 0; width: 100%; height: 110px; padding: 18px 4vw; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,.3); color: white; }
.brand { position: relative; width: 245px; height: 82px; padding: 6px 42px 13px 9px; display: flex; align-items: center; overflow: hidden; background: rgba(255,250,240,.96); clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%); }
.brand img, .footer-logo img { height: 100%; object-fit: contain; filter: drop-shadow(0 2px 1px rgba(0,0,0,.12)); }
.brand-label { position: absolute; right: 13px; bottom: 8px; padding: 2px 6px; background: var(--red); color: white; font: 700 .62rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); font-weight: 600; }
.nav a:not(.nav-cta) { position: relative; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--gold); transition: right .25s ease; }
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.nav-cta { padding: 12px 20px; border: 1px solid rgba(255,255,255,.75); transition: .25s ease; }
.nav-cta:hover, .nav-cta:focus-visible { background: white; color: var(--ink); }
.nav-toggle { display: none; }

.hero { position: relative; min-height: calc(100svh - 34px); display: grid; align-items: end; color: white; overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.hero-image { transform-origin: 58% center; animation: heroDrift 12s ease-out both; }
.hero-shade { background: linear-gradient(90deg, rgba(5,4,3,.82) 0%, rgba(5,4,3,.47) 45%, rgba(5,4,3,.08) 75%), linear-gradient(0deg, rgba(5,4,3,.58) 0%, transparent 45%); }
.hero-copy { position: relative; z-index: 2; width: min(780px, 85vw); margin: 0 0 8vh 7vw; }
.hero-copy > * { opacity: 0; animation: heroRise .65s cubic-bezier(.2,.75,.25,1) forwards; }
.hero-copy > :nth-child(1) { animation-delay: .12s; }
.hero-copy > :nth-child(2) { animation-delay: .22s; }
.hero-copy > :nth-child(3) { animation-delay: .34s; }
.hero-copy > :nth-child(4) { animation-delay: .46s; }
.eyebrow, .section-kicker { margin: 0 0 22px; color: var(--red); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { color: white; display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 38px; height: 3px; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: -.035em; line-height: .95; }
h1 { margin-bottom: 28px; font-size: clamp(4.25rem, 8.4vw, 8.7rem); }
h1 em { color: var(--gold); font-style: normal; }
.hero-intro { max-width: 610px; margin-bottom: 34px; color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.4vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.button { min-height: 56px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; font-weight: 700; }
.button-primary { background: var(--red-bright); color: white; }
.button-primary:hover, .button-primary:focus-visible { background: var(--gold); color: var(--ink); }
.text-link { display: inline-flex; gap: 16px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-weight: 700; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.hero-note { position: absolute; z-index: 2; right: 4vw; bottom: 6vh; display: flex; gap: 14px; align-items: flex-start; text-transform: uppercase; }
.hero-note span { color: var(--gold); font: 600 2.4rem/1 var(--display); }
.hero-note p { padding-top: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; }

.section-pad { padding: clamp(78px, 10vw, 150px) 7vw; }
.manifesto { background: var(--cream); }
.manifesto-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: end; }
.manifesto h2, .story h2 { margin: 0; font-size: clamp(3.25rem, 6.2vw, 7rem); }
.manifesto h2 span, .story h2 span { color: var(--red); }
.manifesto-copy > p { max-width: 560px; font-size: 1.16rem; }
.principles { margin-top: 44px; border-top: 1px solid var(--line); }
.principles span { padding: 15px 0; display: block; border-bottom: 1px solid var(--line); font-weight: 600; }
.principles b { margin-right: 18px; color: var(--red); font: 600 .85rem var(--display); }

.menu-section { background: var(--ink); color: white; }
.menu-heading { display: grid; grid-template-columns: 1.2fr .55fr; gap: 8vw; align-items: end; }
.section-kicker.light { color: var(--gold); }
.menu-heading h2, .events h2 { margin: 0; font-size: clamp(4rem, 7vw, 8rem); }
.menu-heading h2 span, .events h2 span { color: var(--gold); }
.menu-heading > p { max-width: 480px; color: rgba(255,255,255,.67); font-size: 1.05rem; }
.pincho-grid { margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; }
.pincho-grid li { min-height: 112px; padding: 17px; display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 14px; align-items: center; border: 1px solid rgba(255,255,255,.2); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.pincho-grid li:hover { border-color: var(--gold); background: rgba(255,255,255,.045); transform: translateY(-2px); }
.pincho-grid li > img, .dual-flags { width: 68px; height: 46px; border-radius: 2px; background: white; object-fit: contain; overflow: hidden; box-shadow: 0 3px 12px rgba(0,0,0,.25); }
.dual-flags { display: flex; gap: 2px; }
.dual-flags img { width: 33px; height: 46px; object-fit: cover; }
.pincho-grid h3 { margin: 0; font: 600 clamp(1.05rem, 1.35vw, 1.42rem) var(--display); text-transform: uppercase; }
.pincho-grid p { margin: 4px 0 0; color: rgba(255,255,255,.62); font-size: .76rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .045em; }
.pincho-grid strong { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: var(--ink); font: 700 1.15rem var(--display); white-space: nowrap; }
.allergen-note { margin: 25px 0 0; color: rgba(255,255,255,.48); font-size: .78rem; }
.drinks { margin-top: clamp(80px, 10vw, 130px); padding-top: 60px; border-top: 1px solid rgba(255,255,255,.22); }
.drinks-heading { display: grid; grid-template-columns: .35fr 1fr; gap: 6vw; align-items: start; }
.drinks-heading h2 { margin: 0; font-size: clamp(3.5rem, 6vw, 7rem); }
.drinks-heading h2 span { color: var(--gold); }
.drinks-list { margin-top: 50px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 46px; }
.drinks-list article { min-height: 90px; display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.2); }
.drinks-list b { color: var(--gold); font: 600 .82rem var(--display); }
.drinks-list h3 { margin: 0 0 2px; font: 600 1.5rem var(--display); text-transform: uppercase; }
.drinks-list p { margin: 0; color: rgba(255,255,255,.55); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.drinks-list strong { color: var(--gold); font: 700 1.2rem var(--display); }
.wine-heading { margin-top: 58px; padding-top: 38px; display: flex; justify-content: space-between; align-items: end; gap: 24px; border-top: 1px solid rgba(255,255,255,.22); }
.wine-heading .section-kicker { margin: 0; }
.wine-heading h3 { margin: 0; color: white; font: 600 clamp(1.8rem, 3vw, 3.2rem) var(--display); text-transform: uppercase; }
.wine-list { margin-top: 20px; }
.wine-list article { border-bottom-color: rgba(242,194,48,.35); }

.story { display: grid; grid-template-columns: 1.05fr .95fr; gap: 8vw; align-items: center; background: var(--paper); }
.story-image-wrap { position: relative; }
.story-image-wrap img { min-height: 570px; object-fit: cover; }
.image-stamp { position: absolute; right: -36px; bottom: -36px; width: 145px; height: 145px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: var(--ink); font: 600 1.2rem/1.25 var(--display); text-align: center; text-transform: uppercase; transform: rotate(-8deg); }
.story h2 { margin-bottom: 35px; }
.story-copy > p:not(.section-kicker) { max-width: 590px; color: #4a4540; font-size: 1.08rem; }
.text-link.dark { margin-top: 20px; color: var(--red); }

.events { position: relative; background: var(--red); color: white; overflow: hidden; }
.events::after { content: "LA CANTINA"; position: absolute; right: -2vw; bottom: -3vw; color: rgba(0,0,0,.08); font: 700 clamp(6rem, 16vw, 18rem)/.75 var(--display); white-space: nowrap; pointer-events: none; }
.events > * { position: relative; z-index: 1; }
.events-copy { display: grid; grid-template-columns: .3fr 1fr; gap: 6vw; }
.events h2 { max-width: 1050px; }
.event-types { margin: 70px 0 45px 30%; display: flex; gap: 10px; flex-wrap: wrap; }
.event-types span { padding: 10px 16px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; }
.event-contact { margin-left: 30%; padding-top: 35px; border-top: 1px solid rgba(255,255,255,.38); display: flex; justify-content: space-between; gap: 45px; align-items: center; }
.event-contact p { max-width: 550px; margin: 0; }
.button-light { flex-shrink: 0; background: white; color: var(--red); }
.button-light:hover, .button-light:focus-visible { background: var(--gold); color: var(--ink); }

.footer { padding: 60px 7vw 35px; display: grid; grid-template-columns: 220px 1fr auto; gap: 35px; align-items: center; background: var(--ink); color: white; }
.footer-logo { position: relative; width: 220px; height: 90px; padding: 7px 42px 14px 10px; overflow: hidden; background: var(--cream); clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%); }
.footer p { margin: 0; color: rgba(255,255,255,.55); }
.footer-links { display: flex; gap: 28px; }
.footer-links a:hover { color: var(--gold); }
.footer small { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.42); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroDrift {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

@media (max-width: 900px) {
  .site-header { height: 88px; }
  .brand { width: 205px; height: 66px; padding-right: 38px; }
  .nav-toggle { position: relative; z-index: 30; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.55); background: rgba(0,0,0,.18); display: grid; place-content: center; gap: 7px; color: white; }
  .nav-toggle span { width: 22px; height: 2px; background: currentColor; transition: transform .2s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav { position: fixed; inset: 34px 0 auto 0; min-height: calc(100svh - 34px); padding: 120px 7vw 50px; background: var(--ink); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; font: 600 2rem var(--display); text-transform: uppercase; transform: translateX(100%); transition: transform .3s ease; }
  .nav.open { transform: none; }
  .nav-cta { font: 600 1rem var(--body); text-transform: none; }
  .hero-copy { margin-left: 6vw; }
  .hero-note { display: none; }
  .manifesto-grid, .menu-heading, .story, .events-copy { grid-template-columns: 1fr; }
  .manifesto-grid, .menu-heading { gap: 40px; }
  .story { gap: 70px; }
  .story-image-wrap img { min-height: 440px; }
  .event-types, .event-contact { margin-left: 0; }
  .pincho-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drinks-heading { grid-template-columns: 1fr; gap: 12px; }
  .footer { grid-template-columns: 1fr auto; }
  .footer p { display: none; }
}

@media (max-width: 640px) {
  .topline { justify-content: flex-start; overflow: hidden; white-space: nowrap; font-size: .62rem; }
  .topline span:nth-child(2), .topline span:nth-child(3) { display: none; }
  .hero { min-height: 820px; }
  .hero-image { object-position: 58% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,4,3,.9) 0%, rgba(5,4,3,.42) 72%, rgba(5,4,3,.2)); }
  .hero-copy { width: calc(100vw - 32px); margin: 0 16px 55px; }
  h1 { font-size: clamp(3rem, 14vw, 4.4rem); line-height: .98; letter-spacing: -.045em; }
  .eyebrow { font-size: .68rem; letter-spacing: .14em; }
  .hero-intro { max-width: 94%; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .section-pad { padding: 76px 6vw; }
  .manifesto h2, .story h2 { font-size: 3.35rem; }
  .menu-heading h2, .events h2 { font-size: 4.2rem; }
  .pincho-grid { margin-top: 46px; grid-template-columns: 1fr; }
  .pincho-grid li { min-height: 92px; padding: 12px; grid-template-columns: 64px 1fr auto; gap: 10px; }
  .pincho-grid strong { width: 44px; height: 44px; font-size: 1rem; }
  .drinks-list { grid-template-columns: 1fr; }
  .wine-heading { align-items: flex-start; flex-direction: column; }
  .story-image-wrap img { min-height: 380px; }
  .image-stamp { right: 12px; bottom: -55px; width: 118px; height: 118px; font-size: 1rem; }
  .event-types { margin-top: 50px; }
  .event-contact { align-items: flex-start; flex-direction: column; }
  .button-light { width: 100%; }
  .footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
