.editorial p { max-width: 66ch; }
.editorial h1 { font-size: clamp(3.9rem, 8vw, 8.4rem); text-wrap: balance; }
.editorial h2 { font-size: clamp(2.75rem, 5vw, 5.4rem); text-wrap: balance; }
.editorial figure { margin: 0; }
.editorial figure img { width: 100%; height: 100%; object-fit: cover; }
.editorial-space { padding-block: clamp(3.5rem, 8vw, 8rem); }
.ed-intro { max-width: 56ch; font-size: clamp(1.12rem, 1.6vw, 1.35rem); }
.ed-dark { background: #233127; color: var(--paper); }
.ed-dark .kicker { color: #efdcab; }
.ed-dark h1 em, .ed-dark h2 em { color: #efdcab; }
.ed-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.4rem; margin-top: 1.4rem; }

.history-opening { text-align: center; padding: clamp(3.5rem, 7vw, 6rem) 0 0; }
.history-opening p { margin-inline: auto; }
.history-opening figure { margin-top: 2.5rem; }
.history-opening figure img { aspect-ratio: 2.65; filter: grayscale(1); }
.history-journal { width: min(90%, 850px); margin-inline: auto; }
.history-journal article { display: grid; grid-template-columns: 10rem 1fr; gap: 1.6rem; border-top: 1px solid var(--line); padding-block: 1.8rem; }
.history-journal h2 { font-size: clamp(2.4rem, 4.2vw, 3.9rem); }
.history-journal .kicker { margin-top: .45rem; }

.cellar-opening { display: grid; grid-template-columns: .95fr 1.05fr; min-height: clamp(32rem, 56vw, 48rem); }
.cellar-opening > div { padding: clamp(2.8rem, 7vw, 7rem); align-self: center; }
.cellar-opening figure { min-height: 23rem; }
.cellar-opening figure img { object-position: 52% 48%; }
.cellar-atelier { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(2rem, 8vw, 8rem); }
.cellar-atelier figure img { aspect-ratio: 5/4; object-position: 50% 49%; }
.cellar-atelier .facts dd { text-align: start; }

.territory-head { padding: clamp(3.2rem, 6vw, 5.5rem) 0 1rem; }
.territory-districts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 3rem); }
.territory-district { scroll-margin-top: 1.5rem; }
.territory-door { position: relative; display: flex; align-items: end; min-height: clamp(19rem, 35vw, 31rem); isolation: isolate; overflow: hidden; color: white; background: var(--moss); }
.territory-door > img, .territory-door::after { position: absolute; inset: 0; height: 100%; width: 100%; }
.territory-door > img { object-fit: cover; z-index: -2; }
.territory-door::after { content: ""; z-index: -1; background: linear-gradient(0deg,#121b14f0,#121b140d 82%); }
.territory-caption { padding: clamp(1.2rem, 3vw, 2.5rem); }
.territory-caption .kicker { width: fit-content; background: var(--paper); padding: .45rem .65rem; margin-bottom: .8rem; }
.territory-caption h2 { margin: 0; font-size: clamp(2.45rem, 4.9vw, 4.9rem); }
.territory-description { padding: 1rem 0 0; }
.territory-description p:first-child { margin-top: 0; }
.territory-atlas { display: grid; grid-template-columns: .62fr 1.38fr; align-items: center; gap: clamp(1rem, 5vw, 4rem); background: #ebe6d8; padding: clamp(1.25rem, 4vw, 3.75rem); margin-top: clamp(2.5rem, 5vw, 5rem); }
.territory-atlas h2 { font-size: clamp(2.45rem, 4.5vw, 4rem); }
.territory-atlas svg { display: block; width: 100%; height: auto; font: 700 24px var(--sans); fill: var(--ink); }
.map-province { fill: #aeb991; stroke: var(--moss); stroke-width: 2; stroke-linejoin: round; }
.map-leader { fill: none; stroke: var(--wine); stroke-width: 2; }
.map-marker { fill: var(--wine); stroke: var(--paper); stroke-width: 2; }
.map-province-label { font-size: 23px; letter-spacing: .12em; }
.territory-atlas figcaption { font-size: .85rem; text-align: center; color: var(--muted); }
.territory-atlas figcaption a { text-decoration: underline; text-underline-offset: .15em; }

.vine-opening { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: clamp(1rem, 5vw, 5rem); padding-top: clamp(3rem, 7vw, 6rem); }
.vine-opening p { margin-bottom: 1.2rem; }
.editorial .vine-panorama { margin: 1.4rem auto 0; }
.vine-panorama img { aspect-ratio: 3.15; }
.vine-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 auto; border-bottom: 1px solid var(--line); }
.vine-metrics div { padding: clamp(1.4rem, 4vw, 3.2rem) .65rem; text-align: center; }
.vine-metrics div + div { border-left: 1px solid var(--line); }
.vine-metrics dt { font: 400 clamp(1.85rem, 4.6vw, 4.8rem)/1 var(--heading); }
.vine-metrics dd { margin: .45rem 0 0; font-size: .9rem; }
.vine-field { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 8vw, 7rem); align-items: center; }
.vine-field figure img { aspect-ratio: 4/4.4; filter: grayscale(1); }

.visit-opening { position: relative; min-height: clamp(28rem, 49vw, 42rem); display: grid; align-items: center; isolation: isolate; overflow: hidden; text-align: center; color: white; background: var(--moss); }
.visit-opening > img, .visit-opening::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.visit-opening > img { object-fit: cover; z-index: -2; }
.visit-opening::after { content: ""; background: #151c16a8; z-index: -1; }
.visit-opening > div { padding-block: 3rem; }
.visit-opening p { margin-inline: auto; }
.visit-opening .kicker { color: #efdcab; }
.visit-opening .ed-actions { justify-content: center; }
.visit-board { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 7vw, 7rem); }
.visit-hours { background: #ebe6d8; padding: clamp(1.2rem, 4vw, 3rem); scroll-margin-top: 1.5rem; }
.visit-hours h2 { font-size: clamp(2.5rem, 4vw, 3.7rem); }
.visit-hours .facts { margin-bottom: .6rem; }
.visit-private { background: #ebe6d8; }
.visit-private > div { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1rem, 6vw, 5rem); align-items: center; }

.wine-intro { text-align: center; padding: clamp(3.5rem, 7vw, 6rem) 0 2.2rem; }
.wine-intro p { margin-inline: auto; }
.wine-index { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem 1.5rem; padding-block: .9rem; border-block: 1px solid var(--line); }
.wine-index a { padding: .45rem 0; text-decoration: underline; text-underline-offset: .28em; }
.wine-spread { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.6rem, 7vw, 7rem); align-items: center; border-bottom: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 4.5rem); scroll-margin-top: 1rem; }
.wine-spread:nth-child(even) { grid-template-columns: 1.15fr .85fr; }
.wine-spread:nth-child(even) > .bottle { order: 2; }
.wine-spread .bottle { aspect-ratio: 1.35; }
.wine-spread h2 { margin-bottom: .35em; }

.contact-mast { border-bottom: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5.5rem) 2.2rem; }
.contact-desk { display: grid; grid-template-columns: minmax(17rem, .8fr) 1.35fr; gap: clamp(1.6rem, 5vw, 5rem); }
.contact-desk h2 { font-size: clamp(2.6rem, 4vw, 4.3rem); }
.contact-desk address { font-style: normal; }
.contact-desk a[href^="tel:"], .contact-desk a[href^="mailto:"]:not(.button) { text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.contact-desk iframe { display: block; width: 100%; height: 100%; min-height: 23rem; border: 0; background: #ebe6d8; }

.history-map { display: grid; background: #e8e1d4; }
.history-map > iframe, .history-map-overlay { grid-area: 1 / 1; }
.history-map > iframe { display: block; border: 0; width: 100%; height: 100%; min-height: 37rem; }
.history-map-overlay { z-index: 1; align-self: center; padding-block: 2rem; pointer-events: none; }
.history-map-card { pointer-events: auto; width: min(100%, 24rem); padding: clamp(1.3rem, 3vw, 2.15rem); background: var(--paper); box-shadow: 0 12px 40px #1f291d2b; }
.history-map-card h2 { font-size: clamp(2.5rem, 5vw, 3.3rem); }
.history-map-card h3 { font-size: 1.7rem; margin-top: 1.2rem; }
.history-map-card address { font-style: normal; }
.history-map-card .facts { margin-block: .6rem; }
.history-map-card .facts div { padding-block: .35rem; }
.history-map-card .facts dd, .history-map-card .facts dt { font-size: .9rem; }
.history-map-card a:not(.button) { text-decoration: underline; text-underline-offset: .18em; }
.history-map-card .map-season { font-size: .9rem; color: var(--muted); }

.cellar-details { background: #ebe6d8; padding-block: clamp(3rem, 7vw, 6rem); }
.cellar-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.15rem, 4vw, 4rem); margin-top: 2rem; }
.cellar-feature-grid article { padding-top: 1.4rem; border-top: 1px solid #bcb29f; }
.cellar-feature-grid svg { width: 2.6rem; height: 2.6rem; fill: none; stroke: var(--wine); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .9rem; }
.cellar-feature-grid h3 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.gaia-next { color: white; background: #2b3d2e; }
.gaia-next--vines { background: #425343; }
.gaia-next--wine { background: #653b33; }
.gaia-next-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem 2.5rem; padding-block: clamp(2.6rem, 6vw, 5rem); }
.gaia-next-inner h2 { margin-bottom: .5rem; }
.gaia-next-inner p { margin: 0; }

.gaia-reviews { background: #eeeadf; padding-block: clamp(3rem, 7vw, 6rem); }
.gaia-reviews-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .7rem 1.5rem; margin-bottom: 1.7rem; }
.gaia-reviews-head h2 { margin-bottom: 0; }
.review-carousel { position: relative; }
.gaia-review-grid { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2rem) / 3); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: .85rem; }
.gaia-review-grid::-webkit-scrollbar { display: none; }
.gaia-review-grid:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
.gaia-review-card { background: #f4f4f3; border-radius: .85rem; padding: clamp(1rem, 2.5vw, 1.55rem); display: flex; flex-direction: column; scroll-snap-align: start; color: #1d221e; }
.review-card-source { display: flex; align-items: center; gap: .7rem; }
.review-avatar { display: grid; place-items: center; flex: 0 0 2.5rem; height: 2.5rem; border-radius: 50%; color: white; background: #216251; }
.gaia-review-card:nth-child(even) .review-avatar { background: #805b8f; }
.review-avatar svg { width: 1.15rem; height: 1.15rem; }
.review-card-source time { display: block; color: #505850; font-size: .875rem; margin-top: .12rem; }
.review-google { margin-left: auto; font: 800 1.45rem/1 system-ui,sans-serif; background: conic-gradient(#4285f4 0 115deg,#34a853 115deg 195deg,#fbbc05 195deg 250deg,#ea4335 250deg 360deg); color: transparent; background-clip: text; }
.review-stars { color: #a96606; font-size: 1.24rem; margin-top: .5rem; letter-spacing: .02em; }
.gaia-review-card .review-summary { margin: .32rem 0 .8rem; line-height: 1.45; }
.review-original { text-decoration: underline; text-underline-offset: .18em; margin-top: auto; font-size: .9rem; color: #3e5146; }
.review-source-note { font-size: .9rem; color: var(--muted); margin: 1rem 0 0; }
.review-nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid #ddd8cd; border-radius: 50%; background: white; color: #273a2e; cursor: pointer; box-shadow: 0 3px 10px #2028201a; }
.review-nav svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.review-nav--prev { inset-inline-start: -.75rem; }
.review-nav--next { inset-inline-end: -.75rem; }

.territory-partners { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0; padding: 0; }
.territory-partners a { display: flex; align-items: center; justify-content: center; width: min(13rem, 42vw); height: 6.4rem; padding: .65rem; background: #fff; border: 1px solid var(--line); }
.territory-partners img { width: 100%; height: 100%; object-fit: contain; }

.footer-identity { display: grid; justify-items: start; gap: .85rem; }
.footer-marks { display: flex; gap: .55rem; }
.footer-marks img { width: 4rem; height: 2.1rem; padding: .2rem; background: white; object-fit: contain; border-radius: .15rem; }
.footer-instagram { display: inline-flex; align-items: center; gap: .45rem; }
.footer-instagram svg { flex: none; }
.gaia-whatsapp { position: fixed; z-index: 9; inset-inline-end: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 3.75rem; height: 3.75rem; background: #20c961; color: white; border-radius: 50%; box-shadow: 0 4px 18px #083c2840; }
.gaia-whatsapp:hover { background: #118545; }
.gaia-whatsapp svg { width: 2.25rem; height: 2.25rem; }

.related-wines-head { margin-bottom: 1.5rem; }
.related-wines-head h2 { margin: 0; }
.wine-list-price { font-weight: 700; margin: .45rem 0 .65rem; }
.button.wine-purchase { display: table; margin-top: .65rem; background-color: #653B33; color: #fff; opacity: 1; }
.button.wine-purchase:disabled { cursor: default; }
.detail .product-price { margin-bottom: .65rem; }
.detail .wine-purchase { margin-top: 0; }
.wine-spread-actions { display: grid; justify-items: start; gap: .7rem; }

footer { text-align: left; }
.footer-grid { grid-template-columns: 1fr 1.3fr 1fr; align-items: start; justify-items: start; gap: 1.8rem; }
.footer-grid p { margin: .3rem 0 1rem; }
.footer-grid p:last-child { margin-bottom: .3rem; }
.footer-nav { width: min(100%, 22rem); justify-items: start; }
.footer-end { justify-content: flex-start; align-items: center; flex-wrap: wrap; column-gap: 2rem; }

@media (max-width: 760px) {
  .history-journal article, .cellar-opening, .cellar-atelier, .territory-districts, .territory-atlas, .vine-opening, .vine-field, .visit-board, .visit-private > div, .wine-spread, .contact-desk, .cellar-feature-grid { grid-template-columns: 1fr; }
  .gaia-review-grid { grid-auto-columns: calc((100% - 1rem) / 2); }
  .history-journal article { gap: .35rem; }
  .history-opening figure img { aspect-ratio: 1.7; }
  .cellar-opening figure { min-height: 0; }
  .cellar-opening figure img { aspect-ratio: 1.5; }
  .territory-door { min-height: 14rem; }
  .history-map > iframe, .history-map-overlay { grid-area: auto; }
  .history-map-overlay { order: -1; }
  .history-map-card { width: 100%; }
  .history-map > iframe { min-height: 20rem; }
  .vine-opening { gap: 0; }
  .vine-panorama img { aspect-ratio: 1.65; }
  .vine-metrics dd { font-size: .83rem; }
  .vine-field figure img { aspect-ratio: 1.2; }
  .wine-spread:nth-child(even) { grid-template-columns: 1fr; }
  .wine-spread:nth-child(even) > .bottle { order: 0; }
  .wine-spread .bottle { aspect-ratio: 1.45; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .gaia-review-grid { grid-auto-columns: 100%; }
  .gaia-review-card { padding-inline: 1.35rem; }
  .gaia-whatsapp { width: 3.35rem; height: 3.35rem; }
}
@media (max-width: 390px) {
  .vine-metrics dt { font-size: 1.58rem; }
  .editorial h1 { font-size: clamp(3.1rem, 14vw, 3.9rem); }
}

.photo-panel {
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.photo-panel h2 {
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.9rem);
}

.photo-panel--pair .photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.photo-grid a {
  display: block;
  position: relative;
  background: var(--sand);
  aspect-ratio: 5 / 4;
  cursor: zoom-in;
}

.photo-panel--pair .photo-grid a,
.photo-panel--vines .photo-grid a {
  aspect-ratio: 3 / 2;
}

.editorial .photo-grid img {
  object-position: var(--photo-position, center);
}

.photo-grid figcaption {
  padding-top: .6rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

.photo-zoom {
  position: absolute;
  bottom: .6rem;
  right: .6rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--ink);
  background: var(--paper);
  font-size: 1.35rem;
  line-height: 1;
}

.photo-grid a:is(:hover, :focus-visible) .photo-zoom {
  background: var(--moss);
  color: white;
}

html:has(.gallery-viewer[open]) {
  overflow: hidden;
}

.gallery-viewer {
  width: min(94vw, 70rem);
  max-height: 94svh;
  padding: clamp(.65rem, 2vw, 1.25rem);
  border: 1px solid #ffffff35;
  background: #202920;
  color: #f7f5ee;
}

.gallery-viewer::backdrop {
  background: #111510d9;
}

.gallery-viewer img {
  width: 100%;
  height: min(70svh, 48rem);
  object-fit: contain;
}

.gallery-viewer-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem;
  margin-bottom: .65rem;
}

.gallery-viewer-controls button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding-inline: .65rem;
  border: 1px solid #ffffff60;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.gallery-viewer-controls button:hover {
  background: #ffffff24;
}

.gallery-viewer p {
  margin: .7rem 0 .1rem;
  text-align: center;
  font-size: .95rem;
}

@media (max-width: 720px) {
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .photo-panel--pair .photo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

.vine-panorama video {
  display: block;
  width: 100%;
  aspect-ratio: 3.15;
  object-fit: cover;
}

@media (max-width: 720px) {
  .vine-panorama video { aspect-ratio: 1.65; }
}

@media (max-width: 760px) {
  main p:not(.kicker):not(.product-price):not(.wine-list-price) {
    font-size: 14px;
    line-height: 1.65;
  }

  .detail .facts {
    font-size: 14px;
  }

  .photo-grid,
  .photo-panel--pair .photo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .vine-metrics dt {
    font-size: clamp(1.05rem, 5.2vw, 1.5rem);
    white-space: nowrap;
    letter-spacing: -.035em;
  }

  .vine-metrics div {
    min-width: 0;
    padding-inline: .15rem;
  }

  .contact-desk > div:last-child {
    order: -1;
  }

  .contact-desk iframe {
    min-height: 19rem;
    height: 19rem;
  }

  .footer-identity {
    width: 100%;
    justify-items: center;
  }

  .footer-identity .footer-brand img {
    width: 9rem;
  }

  .footer-marks {
    justify-content: center;
  }

  .detail-bottle {
    min-height: 0;
  }

  .editorial h1,
  .editorial h2,
  .detail h1,
  .detail h2 {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 760px) {
  footer p {
    font-size: 14px;
  }
}
