@font-face {
  font-family: 'Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/l/font?kit=XoHj2Y_-T6Oo88RDZSQPn9c&skey=1d3dd8964fac3f08&v=v18) format('truetype');
}
@font-face {
  font-family: 'Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/l/font?kit=XoHl2Y_-T6Oo88RDZRQN&skey=a3a4b3361b12223a&v=v18) format('truetype');
}
@font-face {
  font-family: 'Didact Gothic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/didactgothic/v21/ahcfv8qz1zt6hCC5G4F_P4ASpUw.ttf) format('truetype');
}

:root {
  --ink: #142b43;
  --cream: #f7f3ea;
  --paper: #f9f6ef;
  --sand: #e9dfce;
  --sea: #10323f;
  --gold: #b18848;
  --display: "Garamond", Georgia, serif;
  --body: "Didact Gothic", Arial, sans-serif;
  --ui: "Didact Gothic", Arial, sans-serif;
  --header-height: 72px;
  --gutter: clamp(24px, 6.6vw, 112px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.85 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #b2762f; outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font: 400 1em/.94 var(--display); letter-spacing: -.023em; }
em { font-weight: 400; }
.skip { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 8px 16px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { position: sticky; z-index: 5; top: 0; background: #fff; border-bottom: 1px solid #e7e2d8; }
main { margin-top: 0; }
.nav { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(24px, 4vw, 74px); height: calc(var(--header-height) - 1px); gap: 28px; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 54px); }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.language-link {
  display: inline-grid; place-items: center; min-width: 36px; min-height: 36px;
  font: 800 10px/1.5 var(--ui); letter-spacing: .12em; text-decoration: none;
  border: 1px solid #c8bdab; color: var(--ink);
}
.language-link:hover, .language-link:focus-visible { background: var(--cream); }
.age-language { display: flex; justify-content: center; margin-top: 12px; }
.nav-contact-mobile { display: none; }
.nav a:not(.brand) {
  font: 800 10px/1.5 var(--ui); letter-spacing: .15em; text-transform: uppercase; text-decoration: none;
}
.nav a:not(.brand):hover { color: #805c32; }
.brand { position: relative; z-index: 1; display: grid; place-items: center; width: 190px; padding: 0 16px; }
.nav-links a, .nav-contact { padding-block: 8px; transition: color .2s; }
.brand img { width: 100%; height: auto; }
.menu-toggle { display: none; padding: 0; background: none; border: 0; color: inherit; }
.menu-toggle svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 800 10px/1.6 var(--ui); letter-spacing: .23em; text-transform: uppercase; }
.eyebrow > span { display: block; width: 26px; border-top: 1px solid var(--gold); flex: 0 0 auto; }
.hero {
  --hero-height: max(465px, calc(100svh - var(--header-height)), calc(100vw / 1.77));
  display: grid; align-items: start; position: relative; height: var(--hero-height); isolation: isolate;
  background: linear-gradient(100deg,#142d45,#517ca0); color: #fff; overflow: hidden;
}
.hero-photo { position: absolute; z-index: 0; inset: 0; overflow: hidden; }
.hero-photo picture, .hero-photo img { display: block; width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 50% 50%; filter: brightness(.96) saturate(.91); }
.hero-photo::after {
  position: absolute; z-index: 1; content: ""; inset: 0; pointer-events: none;
}
.hero-bottle-link { position: absolute; z-index: 2; visibility: hidden; }
.hero-photo.has-scene .hero-bottle-link { visibility: visible; }
.hero-bottle-link:focus-visible { outline: 2px solid #fff8e7; outline-offset: 3px; }
.hero-copy { position: relative; z-index: 1; pointer-events: none; width: min(56%, 980px); padding: clamp(38px, 10svh, 120px) 0 0 var(--gutter); text-shadow: 0 2px 12px #142b43a0; }
.hero h1 { width: min(100%, 780px); }
.hero h1 img, .hero-text img { height: auto; filter: drop-shadow(0 2px 3px #1023339c); }
.hero-title-first { width: 58.36%; }
.hero-title-second { width: 100%; margin-top: clamp(4px, .5vw, 9px); }
.hero-text { width: min(68%, 460px); margin-top: clamp(10px, 1.35vw, 20px); }
.hero-text img { width: 100%; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 24px; font: 800 10px/1.4 var(--ui); letter-spacing: .13em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s; }
.button-cream { background: var(--cream); color: #162f3c; }
.button-cream:hover, .button-cream:focus-visible { background: #ead7b9; border-color: #d1ad73; }
.button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 17px #162b361f; }
.button:active:not(:disabled) { transform: translateY(0); }
.button:disabled { cursor: wait; opacity: .72; }
.button-dark { background: var(--sea); color: var(--cream); }
.button-dark:hover { background: #244c5a; }
.button-outline { color: var(--ink); background: transparent; border-color: #a59885; }
.button-outline:hover { background: var(--sand); }

.products, .cocktails { padding: clamp(65px, 8vw, 133px) var(--gutter); }
.section-head { text-align: center; margin-bottom: clamp(29px, 4vw, 55px); }
.section-head .eyebrow { justify-content: center; margin-bottom: 13px; }
.section-head .eyebrow::after { content: ""; width: 26px; border-top: 1px solid var(--gold); }
.section-head h2, .contact h2 { font-size: clamp(55px, 7vw, 108px); }
.products { position: relative; isolation: isolate; overflow: hidden; background: #fff; }
.pisco-mark { width: clamp(180px, 19vw, 245px); margin: 17px auto 0; }
.pisco-emblem { display: block; position: relative; }
.pisco-arch { width: 100%; height: auto; }
.pisco-ship { position: absolute; left: 51.1%; top: 52%; width: 15%; height: 38%; object-fit: contain; transform: translate(-50%, -50%); }
.pisco-wordmark { width: 77%; height: auto; margin: 3px auto 0; }
.product-stage { --product-gap: clamp(12px, 4vw, 58px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--product-gap); max-width: 1180px; margin: auto; }
.product-panel {
  --bottle-travel: 36cqw;
  --bottle-offset: 0px;
  --bottle-scale: 1;
  --product-motion: .48s cubic-bezier(.25, .7, .25, 1);
  position: relative; container-type: inline-size; display: grid; align-content: start; text-align: center; min-width: 0;
  transition: opacity .38s ease, visibility 0s;
}
.product-panel.is-active { --bottle-offset: var(--bottle-travel); --bottle-scale: 1.12; z-index: 1; }
#mosto.is-active { --bottle-offset: calc(-1 * var(--bottle-travel)); }
.product-stage.has-active-product .product-panel:not(.is-active) { opacity: 0; visibility: hidden; transition: opacity .38s ease, visibility 0s .38s; }
.product-stage.has-active-product #italia:not(.is-active) { --bottle-offset: -26cqw; }
.product-stage.has-active-product #mosto:not(.is-active) { --bottle-offset: 26cqw; }
.product-visual { position: relative; min-width: 0; height: clamp(330px, 40vw, 530px); }
.product-visual::after {
  content: ""; position: absolute; left: 50%; bottom: 3.5%; width: 53%; height: 4%; pointer-events: none;
  transform: translateX(calc(-50% + var(--bottle-offset)));
  background: radial-gradient(ellipse, #493b324f, transparent 69%); filter: blur(4px); transition: transform var(--product-motion);
}
.product-trigger { position: absolute; z-index: 1; left: 50%; bottom: 5%; transform: translateX(-50%); height: 88%; border: 0; padding: 0; background: transparent; cursor: pointer; mix-blend-mode: multiply; }
.product-trigger img { width: auto; max-width: none; height: 100%; transform: translateX(var(--bottle-offset)) scale(var(--bottle-scale)); transform-origin: center 80%; transition: transform var(--product-motion); }
.product-panel h3 { font-size: clamp(45px, 5.4vw, 77px); line-height: .94; margin: 13px 0 17px; transform: translateX(var(--bottle-offset)); transition: transform var(--product-motion); }
.product-panel h3 em { display: block; color: #376578; }
#italia { --pattern: url("assets/patron-puro-italia.svg"); }
#mosto { --pattern: url("assets/patron-mosto-verde.svg"); }
.product-copy { position: relative; isolation: isolate; width: min(100%, 43ch); padding: 20px 16px 25px; }
.product-copy::before {
  content: ""; position: absolute; z-index: -1; inset: -62% -46%; pointer-events: none;
  background: var(--pattern) center / cover no-repeat; opacity: .115;
  mask-image: radial-gradient(ellipse 66% 55% at 47% 49%, #000 34%, #000b 49%, #0004 68%, transparent 86%);
  transform: rotate(-6deg);
}
#italia .product-copy::before {
  inset-inline: -30% -49%;
  background-position: 57% center;
  mask-image: radial-gradient(ellipse 55% 49% at 53% 50%, #000 38%, #000c 56%, #0005 76%, transparent 100%);
  transform: translateX(5%) rotate(-5deg);
}
#mosto .product-copy::before { transform: rotate(7deg); }
.product-specs { margin-top: 14px; font: 700 12px/1.5 var(--ui); letter-spacing: .05em; }
.product-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.product-actions .button { min-height: 44px; padding-inline: 15px; }
.product-reset-mobile { display: none; }

@media (min-width: 681px) {
  .product-copy {
    position: absolute; top: 45%; left: 0; width: min(58%, 42ch);
    padding-inline: 0; text-align: left; transform: translateY(-50%);
    opacity: 1; visibility: visible; transition: opacity .32s ease, visibility 0s;
  }
  #mosto .product-copy { left: auto; right: 0; }
  .product-copy[aria-hidden="true"] { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .24s ease, visibility 0s .24s; }
}
.text-link { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding-bottom: 5px; border-bottom: 1px solid var(--gold); font: 800 10px/1.5 var(--ui); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.text-link { transition: border-color .25s, color .25s; }
.text-link:hover, .text-link:focus-visible { border-bottom-color: currentColor; color: #88612d; }
.contact .text-link:hover, .contact .text-link:focus-visible { color: #ebd5b4; }

@font-face {
  font-family: 'STIX Two Text';
  src: url("assets/stix-two-text.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.origin {
  --story-width: min(calc(100% - 2 * clamp(19px, 4.8vw, 64px)), 1000px);
  background: linear-gradient(180deg, #142b4366, #142b4373),
    url("assets/mar-chaspaya.webp") center / cover no-repeat var(--ink);
  color: var(--cream);
}
.valley {
  display: flex; position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(208px, 22.35vw, 295px);
  align-items: center; justify-content: flex-end;
  padding: 24px clamp(22px, 7.1vw, 94px); color: var(--cream); background: var(--sea);
}
.valley > .valley-photo, .valley::before { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.valley > .valley-photo {
  object-position: 54% 52%;
  transform: translateY(var(--valley-drift, 0px)) scale(var(--valley-scale, 1));
}
.valley::before { content: ""; z-index: -1; background: #142b4354; }
.valley-copy { display: grid; justify-items: end; width: min(100%, 580px); gap: 12px; }
.valley-copy .section-lettering { display: block; height: auto; }
.valley-copy .eyebrow .section-lettering { width: clamp(116px, 11vw, 144px); height: auto; }
.valley-copy .eyebrow > span { display: none; }
.valley-copy h2, .valley-copy h2 .section-lettering { width: 100%; }
.valley-copy > p:last-child .section-lettering { width: clamp(213px, 26vw, 340px); height: auto; }
.story {
  display: grid; gap: clamp(26px, 3.55vw, 47px);
  width: var(--story-width); margin-inline: auto;
  padding-top: clamp(28px, 3.87vw, 51px);
}
.story p {
  color: #f0eee9;
  font: 20px/1.55 'STIX Two Text', var(--display);
}
.story-opening {
  display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 247px);
  align-items: center; justify-content: space-between; gap: 38px;
}
.story .photo-trigger img { width: 100%; height: 100%; object-fit: cover; }
.story-opening > p { grid-area: 1 / 1; }
.story .story-feature, .story .estate-vineyard { aspect-ratio: 1; }
.story .story-feature { grid-area: 1 / 2; }
.story .story-feature img { object-position: 52% 63%; }
.story .estate-vineyard img { object-position: 37% 53%; }
.story .estate-harvest img { object-position: 48% 52%; }
.story .estate-exterior img { object-position: 58% 54%; }
.story-pair {
  display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  gap: clamp(8px, 1.14vw, 15px); aspect-ratio: 1000 / 257;
}
.story-ending {
  display: grid; grid-template-columns: minmax(0, 31.8fr) minmax(0, 64.4fr);
  gap: 16px clamp(22px, 2.9vw, 38px);
  align-items: start;
}
.story-founder { grid-area: 1 / 2; }
.story-cultivation { grid-area: 2 / 2; }
.story-ending .estate-vineyard { grid-area: 1 / 1 / 3 / 2; }
.story-close, .story-ending .map-link { grid-column: 1 / -1; }
.story-ending .map-link { justify-self: start; min-height: 40px; }

@media (max-width: 740px) {
  .origin { --story-width: min(calc(100% - 38px), 570px); }
  .valley-copy { max-width: 272px; }
  .story p { font-size: 16px; line-height: 1.375; }
  .story-opening, .story-ending { display: flow-root; }
  .story .story-feature, .story .estate-vineyard { float: left; margin: 0 14px 8px 0; width: 41.2%; }
  .story .story-feature { float: right; margin: 0 0 8px 14px; width: 44%; }
  .story-pair { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); aspect-ratio: 352 / 122; }
  .story-founder, .story-cultivation { margin-bottom: 14px; }
  .story-ending .map-link { margin-top: 20px; }
}
.map-link { gap: 9px; margin-top: 4px; padding-inline: 10px; color: #fff5df; border-color: #bda784; }
.map-link:hover, .map-link:focus-visible { color: var(--ink); background: var(--cream); }
.map-link svg, .social-link svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.social-link { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #b49a73; border-radius: 50%; transition: background .25s, color .25s, border-color .25s; }
.social-link:hover { color: var(--cream); background: var(--sea); border-color: var(--sea); }
.social-link .instagram-dot, .social-link .social-logo { stroke: none; fill: currentColor; }

.cocktails { background: #fff; padding-inline: 0; }
.cocktails-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; padding-inline: var(--gutter); margin-bottom: clamp(22px, 3vw, 44px); }
.cocktails-head h2 { font-size: clamp(44px, 5.45vw, 82px); margin-top: 14px; }
.cocktail-controls { display: flex; flex: 0 0 auto; gap: 8px; }
.cocktail-controls button, .recipe-close button { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #a59175; border-radius: 50%; color: var(--ink); background: #fff9; transition: background .2s, color .2s; }
.cocktail-controls button:hover:not(:disabled), .recipe-close button:hover { color: white; background: var(--sea); }
.cocktail-controls button:disabled { opacity: .35; cursor: default; }
.cocktail-controls svg, .recipe-dialog svg { fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.cocktail-rail { --cocktail-gap: clamp(7px, 1.6vw, 21px); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--cocktail-gap)) / 3); gap: var(--cocktail-gap); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding: 5px var(--gutter); }
.cocktail-rail::-webkit-scrollbar { display: none; }
.cocktail-cover { position: relative; isolation: isolate; min-width: 0; height: clamp(200px, 33vw, 465px); display: flex; align-items: flex-start; justify-content: flex-start; overflow: hidden; padding: clamp(11px, 2.6vw, 38px) clamp(9px, 1.8vw, 24px); border: 0; border-radius: 0; text-align: left; color: #fff5e8; background: #173846; scroll-snap-align: start; }
.cocktail-cover:focus-visible { outline-offset: -5px; outline-color: #b87835; }
.cocktail-cover img, .cocktail-cover::before { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.cocktail-cover img { object-fit: cover; object-position: center; transition: transform .65s ease; }
.cocktail-cover::before { z-index: -1; content: ""; background: linear-gradient(155deg, #0f263766, #0f263700 48%); }
.cocktail-cover-sour { color: #152e44; background: #ded1bd; }
.cocktail-cover-sour::before { background: linear-gradient(150deg, #fff9ed80, #fff9ed00 50%); }
.cocktail-cover-chilcano img { object-position: 57% 50%; }
.cocktail-cover-chilcano { align-items: flex-end; }
.cocktail-cover-chilcano::before { background: linear-gradient(0deg, #12252be0, #12252b00 38%); }
.cocktail-cover-capitan { align-items: center; color: #16384a; background: #c0d5cb; }
.cocktail-cover-capitan img { object-position: 60% center; }
.cocktail-cover-capitan::before { background: linear-gradient(90deg, #e8f3ea6b, #e8f3ea00 53%); }
.cover-title { font: 400 clamp(21px, 5.9vw, 88px)/.78 var(--display); letter-spacing: -.054em; }
.cover-title em { display: block; padding-left: .2em; }
.cocktail-cover-capitan .cover-title { writing-mode: vertical-rl; transform: rotate(180deg); font-size: clamp(22px, 5.1vw, 74px); }
@media (hover: hover) { .cocktail-cover:hover img { transform: scale(1.045); } }

.icon-definitions { position: absolute; }
.recipe-dialog { width: min(94vw, 1100px); max-width: none; max-height: 90svh; overflow: auto; padding: 0; border: 0; background: #faf6ed; color: var(--ink); box-shadow: 0 22px 85px #0b263560; }
.recipe-dialog::backdrop { background: #102631cd; }
.recipe-layout { position: relative; display: grid; grid-template-columns: minmax(0, .68fr) minmax(0, 1fr); }
.recipe-photo { position: sticky; top: 0; width: 100%; height: min(90svh, 740px); object-fit: cover; object-position: 57% center; }
.recipe-copy { padding: clamp(30px, 4.5vw, 65px); }
.recipe-copy h2 { font-size: clamp(55px, 7.5vw, 110px); margin-right: 12px; }
.recipe-close { position: sticky; top: 0; z-index: 1; height: 0; display: flex; justify-content: flex-end; padding: 0 14px; pointer-events: none; }
.recipe-close button { flex: 0 0 auto; margin-top: 14px; background: #fdfaf3; pointer-events: auto; }
.recipe-facts { display: flex; flex-wrap: wrap; gap: 13px 23px; list-style: none; padding: 17px 0; margin: 23px 0 28px; border-block: 1px solid #d9ccb8; }
.recipe-facts li { display: flex; align-items: center; gap: 6px; font: 700 11px/1.4 var(--ui); }
.recipe-facts svg { color: #7c5b36; flex-shrink: 0; }
.recipe-instructions { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 26px; }
.recipe-instructions h3 { font-size: clamp(30px, 3.2vw, 48px); margin: 0 0 14px; }
.recipe-instructions ul, .recipe-instructions ol { padding: 0; margin: 0; font-size: 13px; line-height: 1.65; }
.recipe-ingredients { list-style: none; }
.recipe-ingredients li { padding: 7px 0; border-bottom: 1px solid #e5dbcc; }
.recipe-ingredients li span { font-weight: bold; }
.recipe-steps li { margin-left: 1.55em; padding: 0 0 12px .23em; }
.recipe-steps li::marker { color: #87643a; font-weight: bold; }

.contact {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center; gap: clamp(32px, 7vw, 110px);
  padding: clamp(34px, 4.5vw, 68px) var(--gutter);
  background: var(--sea); color: var(--cream);
}
.contact-background, .contact::before { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.contact-background { object-fit: cover; object-position: center 55%; opacity: .86; }
.contact::before { content: ""; z-index: -1; background: linear-gradient(90deg, #0b2635b5, #0b263587 48%, #0b2635db); }
.contact h2 { margin: 12px 0 16px; font-size: clamp(50px, 6.2vw, 88px); }
.contact-copy > p:not(.eyebrow) { max-width: 36ch; }
.contact-form { display: grid; gap: 5px; }
.contact-form label { font: 800 10px/1.5 var(--ui); letter-spacing: .15em; text-transform: uppercase; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { width: 100%; min-width: 0; min-height: 44px; color: inherit; background: #173442db; border: 1px solid #b7c5c8aa; border-radius: 0; padding: 9px 12px; margin-bottom: 4px; font: 500 16px/1.5 var(--ui); }
.contact-form select { color-scheme: dark; }
.contact-form textarea { resize: vertical; }
.contact-form textarea::placeholder { color: #d3d9d8; }
.contact-form button { justify-self: start; }
.form-help { font: 600 12px/1.5 var(--ui); }
.footer { display: grid; justify-items: center; gap: 9px; padding: 17px var(--gutter) 13px; text-align: center; }
.footer-social { display: flex; justify-content: center; gap: 10px; }
.footer .social-link { width: 44px; height: 44px; }
.footer .warning { font: 800 clamp(11px, 1.2vw, 13px)/1.6 var(--ui); letter-spacing: .11em; }

@media (min-width: 681px) and (min-aspect-ratio: 7/4) {
  .hero { --hero-height: max(465px, calc(100svh - var(--header-height)), calc(100vw / 2.49)); }
}
@media (max-width: 950px) {
  .nav { gap: 17px; }
  .nav-links { gap: 15px; }
  .nav a:not(.brand) { font-size: 9px; }
}
@media (max-width: 680px) {
  :root { --header-height: 63px; }
  html { scroll-padding-top: 70px; }
  .nav { grid-template-columns: 1fr auto 1fr; padding: 0 17px; gap: 6px; }
  .brand { grid-row: 1; grid-column: 2; width: 143px; min-height: 58px; padding-inline: 14px; }
  .nav-contact { display: none; }
  .nav-actions { grid-row: 1; grid-column: 1; justify-self: start; }
  .menu-toggle { display: grid; grid-row: 1; grid-column: 3; justify-self: end; place-items: center; width: 44px; height: 44px; }
  .nav-links { z-index: 2; display: none; position: absolute; top: calc(var(--header-height) - 1px); left: 0; right: 0; padding: 8px 20px 13px; background: #fff; border-top: 1px solid #e7e2d8; box-shadow: 0 8px 15px #102d3a1c; }
  .nav-links.is-open { display: grid; gap: 0; }
  .nav-links a { display: flex; align-items: center; min-height: 44px; padding: 10px 0; }
  .hero { --hero-height: max(480px, calc(100svh - var(--header-height))); display: grid; align-items: start; }
  .hero-photo::after { background: linear-gradient(180deg, #14293f60, transparent 37%); }
  .hero-copy { width: 100%; padding: clamp(24px, 5svh, 42px) 20px 0; }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 30px 32px; }
  .product-panel { --bottle-travel: calc(50cqw + var(--product-gap) / 2); }
  .product-panel.is-active { --bottle-scale: 1.36; }
  .product-visual { height: clamp(185px, 57vw, 328px); margin-top: 24px; }
  .product-panel h3 { font-size: clamp(26px, 7.3vw, 45px); }
  .product-panel.is-active h3 { padding-top: 16px; }
  .product-copy { width: calc(200% + var(--product-gap)); padding: 10px clamp(12px, 5vw, 36px) 12px; }
  #mosto .product-copy { margin-left: calc(-100% - var(--product-gap)); }
  .product-copy[aria-hidden="true"] { display: none; }
  .product-copy::before { inset: -48% -13%; }
  #italia .product-copy::before { inset-inline: -13% -18%; transform: translateX(2%) rotate(-5deg); }
  .product-actions [data-product-switch], .product-reset-wide { display: none; }
  .product-reset-mobile { display: inline; }
  .product-actions [data-product-reset] { min-height: 36px; padding-inline: 13px; font-size: 9px; }
  .contact-background {
    height: clamp(280px, 83vw, 420px);
    object-position: 12% 53%;
    mask-image: linear-gradient(#000 47%, transparent 100%);
  }
  .contact::before { background: linear-gradient(110deg, #0b2635d6, #0b263555 72%); }
  .contact h2 { font-size: clamp(46px, 10vw, 68px); }
  .cocktails-head h2 { font-size: clamp(37px, 9vw, 59px); }
  .cocktail-controls { gap: 5px; }
  .cocktail-controls button, .recipe-close button { width: 44px; height: 44px; }
  .cocktail-cover { height: clamp(135px, 40vw, 263px); padding: 10px 5px; }
  .cover-title { font-size: clamp(18px, 5.7vw, 36px); }
  .cocktail-cover-capitan .cover-title { font-size: clamp(22px, 6vw, 43px); }
  .recipe-layout { grid-template-columns: 1fr; }
  .recipe-photo { position: static; height: clamp(210px, 62vw, 340px); }
  .recipe-copy { padding: 28px 20px; }
  .recipe-instructions { grid-template-columns: 1fr; }
}
@media (max-width: 680px) and (max-aspect-ratio: 2/3) {
  .hero { --hero-height: max(480px, calc(100svh - var(--header-height)), 155vw); }
  .hero h1 { width: min(92%, 455px); }
  .hero-text { width: min(66%, 300px); }
}
@media (max-width: 680px) and (aspect-ratio > 2/3) {
  .hero-copy { max-width: 64%; align-self: start; padding-top: clamp(24px, 8svh, 56px); }
  .hero-photo::after { background: linear-gradient(90deg, #14293faa, transparent 82%); }
}
@media (prefers-reduced-motion: reduce) {
  .valley > .valley-photo { transform: none; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.estate { width: var(--story-width); margin-inline: auto; padding-bottom: clamp(24px, 4vw, 54px); }
.photo-trigger { position: relative; display: block; width: 100%; min-width: 0; min-height: 0; padding: 0; border: 0; overflow: hidden; background: #182c35; cursor: zoom-in; }
.photo-trigger:focus-visible { outline-offset: -4px; outline-color: #f2d7a8; }
.photo-trigger img { transition: transform .4s ease; }
.photo-expand { position: absolute; right: 10px; bottom: 10px; width: 35px; height: 35px; padding: 8px; border-radius: 50%; background: #132830c7; color: #fff; }
.photo-expand, .photo-close svg { fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .photo-trigger:hover img { transform: scale(1.035); } }

.photo-dialog { width: min(92vw, 1040px, calc(61svh * var(--photo-ratio, 1.5))); max-width: none; max-height: 92svh; padding: 0; border: 0; overflow: auto; background: #10262f; color: #fff9ee; box-shadow: 0 18px 70px #07161d73; }
.photo-dialog::backdrop { background: #081820e6; }
.photo-dialog figure { position: relative; }
.photo-dialog img { width: 100%; height: auto; }
.photo-dialog figcaption { padding: 16px clamp(16px, 4vw, 36px) 21px; overflow-wrap: break-word; }
.photo-dialog figcaption .eyebrow { color: #e8c995; }
.photo-dialog h2 { font-size: clamp(36px, 5.6vw, 65px); margin: 8px 0 12px; }
.photo-dialog figcaption > p:last-child { max-width: 72ch; font-size: 14px; line-height: 1.6; }
.photo-dialog.is-alambique {
  width: min(92vw, calc(min(60svh, max(24svh, 92svh - 166px)) * var(--photo-ratio)));
  scrollbar-width: thin;
}
.photo-dialog.is-alambique figcaption { padding: 10px clamp(10px, 3vw, 20px) 14px; }
.photo-dialog.is-alambique h2 { font-size: clamp(15px, 3.9svh, 27px); line-height: 1.03; margin: 5px 0 7px; }
.photo-dialog.is-alambique h2 span { display: block; }
.photo-dialog.is-alambique figcaption > p:last-child { font-size: 12px; line-height: 1.32; }
.photo-close { position: sticky; top: 0; z-index: 1; height: 0; display: flex; justify-content: flex-end; padding-inline: 12px; pointer-events: none; }
.photo-close button { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; margin-top: 12px; border: 1px solid #fff8e17a; border-radius: 50%; background: #10262fe5; color: #fff9ee; pointer-events: auto; }
.photo-close button:hover { background: #294c5c; }
@media (max-width: 680px) {
  .photo-dialog h2 { font-size: clamp(29px, 7.5vw, 42px); }
  .photo-dialog figcaption > p:last-child { font-size: 13px; }
}

.awards { margin-top: clamp(22px, 3vw, 35px); border-block: 1px solid #f7f3ea4d; }
.awards summary { cursor: pointer; list-style: none; padding: 19px 8px 19px 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; font: 700 12px/1.5 var(--ui); letter-spacing: .14em; text-transform: uppercase; }
.awards summary::-webkit-details-marker { display: none; }
.awards summary::after { content: "+"; font: 400 24px/1 var(--ui); }
.awards[open] summary::after { content: "−"; }
.awards ul { padding: 0; margin: 0; list-style: none; }
.awards li { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid #f7f3ea33; }
.awards time { font: 400 30px/1.2 var(--display); }
.awards li span { display: block; font-size: 12px; }
.privacy-consent { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 9px; }
.privacy-consent input { flex: 0 0 auto; width: 17px; height: 17px; margin: 3px 0 0; accent-color: #d8ba8c; }
.privacy-consent label, .privacy-open { font: 500 13px/1.55 var(--ui); text-transform: none; letter-spacing: normal; }
.privacy-open { border: 0; background: none; color: #f2dbb3; padding: 0; text-decoration: underline; }
.form-help { min-height: 1.5em; }
.site-dialog { border: 1px solid #c5b9a8; padding: clamp(22px, 6vw, 45px); color: var(--ink); background: var(--paper); width: min(92vw, 650px); max-height: 90svh; overflow: auto; }
.site-dialog::backdrop { background: #102e3ad9; }
.site-dialog h2 { font-size: clamp(38px, 6vw, 55px); margin: 0 0 15px; }
.site-dialog p { font-size: 13px; margin-bottom: 11px; }
.site-dialog form { margin-top: 18px; }
.age-dialog { width: min(92vw, 520px); text-align: center; }
.age-dialog img { width: 140px; height: auto; margin: 0 auto 25px; }
.age-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
body:has(.site-dialog[open], .recipe-dialog[open], .photo-dialog[open]) { overflow: hidden; }

@media (max-width: 680px) {
  .awards li { grid-template-columns: 53px 1fr; gap: 12px; }
  .awards li strong { font-size: 13px; }
}

.intro-loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: #fff; transition: opacity .4s ease;
}
.intro-loader.is-fading { opacity: 0; }
.intro-bottle { height: min(45svh, 250px); width: auto; max-width: 78vw; }
body:has(.intro-loader:not([hidden])) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .intro-loader { transition: none; }
}

.section-lettering { display: inline-block; width: auto; height: .76em; max-width: 100%; object-fit: contain; vertical-align: baseline; }
.eyebrow .section-lettering { height: clamp(12px, 1.3vw, 17px); }
.products .section-head .eyebrow .section-lettering { height: clamp(10px, 1vw, 13px); }
.product-panel h3 .section-lettering { max-width: 96%; }
.product-panel h3 em .section-lettering { height: .91em; }
.product-copy > p:first-child, .awards li { font-family: var(--display); }
.product-copy > p:first-child { font-size: clamp(15px, 1.18vw, 18px); line-height: 1.6; }
.awards summary { font-size: clamp(18px, 2.4vw, 29px); min-width: 0; }
.awards summary .section-lettering { max-width: calc(100% - 42px); object-position: left; }
.awards summary::after { flex: none; }
.cocktails-head h2 .section-lettering { height: .67em; }

/* The English artwork has a different aspect ratio and uses the same visual hierarchy. */
html[lang="en"] .hero-title-first { width: 78%; }
html[lang="en"] .hero-title-second { width: 82%; }
html[lang="en"] .valley-copy > p:last-child .section-lettering { width: clamp(205px, 24vw, 325px); }
