:root {
  color-scheme: light;
  --ivory: #fcf6ef;
  --ink: #331a19;
  --wine: #6b1521;
  --red: #e30513;
  --rose: #f8c0bf;
  --rule: #dec8bf;
  --type: "Quadraat Sans", "FF Quadraat Sans", Candara, "Gill Sans", "Trebuchet MS", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--ivory); font: 1.125rem/1.6 var(--type); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-weight: 400; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(2.85rem, 6vw, 6.25rem); }
a { color: inherit; text-underline-offset: .26em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
address { font-style: normal; }

.skip {
  position: fixed;
  z-index: 4;
  inset: .5rem auto auto .5rem;
  padding: .6rem 1rem;
  background: var(--ivory);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }
.masthead {
  position: sticky;
  z-index: 2;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 5rem;
  gap: .35rem 1rem;
  padding-inline: clamp(1.25rem, 4vw, 4.5rem);
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
}
.brand { display: grid; place-items: center; justify-self: start; min-width: 44px; min-height: 44px; }
.brand img { width: 2.45rem; height: auto; }
.sections, .languages { display: flex; align-items: center; }
.sections { gap: clamp(1rem, 3.65vw, 3.75rem); }
.masthead a { text-decoration: none; }
.sections a, .languages a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 1rem;
  white-space: nowrap;
}
.sections a:hover, .languages a:hover, .languages [aria-current] { text-decoration: underline; }
.languages { justify-self: end; }
.languages a { min-width: 44px; letter-spacing: .08em; }
.languages [aria-current] { color: var(--wine); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  min-height: clamp(34rem, calc(91svh - 5rem), 53rem);
}
.hero-panel {
  display: grid;
  place-items: center;
  padding: clamp(2.5rem, 5vw, 5rem) 1.5rem;
  background: var(--red);
  color: #fff;
  text-align: center;
}
.hero-copy { display: grid; justify-items: center; }
.wordmark { width: clamp(12rem, 23vw, 22rem); height: auto; }
.slogan {
  margin-top: clamp(1.6rem, 4vw, 3rem);
  font: 500 .875rem/1.6 var(--type);
  text-transform: uppercase;
  letter-spacing: .18em;
  text-wrap: balance;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 3.2rem;
  margin-top: 1.6rem;
  padding: .25rem 1.5rem;
  border: 1px solid #fff9;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: background-color .22s ease, color .22s ease;
}
.hero-link:hover { color: var(--wine); background: var(--ivory); }
.hero-photo { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 49%; background: #43301d; }

.pearls { padding: clamp(4rem, 8vw, 8rem) max(1.25rem, 6vw); text-align: center; }
.section-intro { display: grid; justify-items: center; max-width: 54rem; margin-inline: auto; }
.ornament { display: flex; align-items: center; gap: .65rem; width: min(9rem, 45%); min-height: 1.6em; margin: 0 auto 1.4rem; color: var(--wine); }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .46; }
.ornament-symbol { width: 1em; height: 1em; flex: none; }
.section-intro p { max-width: 33rem; margin-top: 1.25rem; text-wrap: pretty; }
.tasting-chart { max-width: 62rem; margin: clamp(2rem, 5vw, 4.5rem) auto 0; }
.tasting-chart > a { display: block; cursor: zoom-in; }
.tasting-chart img { width: 100%; height: auto; }
.tasting-chart figcaption a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; color: var(--wine); }
.flavours { max-width: 62rem; margin: .7rem auto 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.flavours summary { display: list-item; width: fit-content; margin-inline: auto; padding: .55rem .1rem; color: var(--wine); cursor: pointer; }
.flavours dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem .75rem; margin: .75rem 0 1.75rem; }
.flavours dt { font-weight: 700; }
.flavours dd { margin: 0; font-size: 1rem; }

.collections { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #f7e5df; }
.collection-copy { padding: clamp(3rem, 6vw, 6.25rem) clamp(1.25rem, 6vw, 6.25rem); }
.collection-copy h2 { max-width: 12ch; margin-bottom: 2rem; }
.collection-list { border-block: 1px solid #9a5c62; }
.collection-list details + details { border-top: 1px solid #cfa8a8; }
.collection-list summary {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 3.35rem;
  padding: .25rem .2rem;
  list-style: none;
  color: var(--wine);
  font-size: clamp(1.35rem, 3vw, 2rem);
  cursor: pointer;
}
.collection-list summary::-webkit-details-marker { display: none; }
.collection-list summary::after { content: ""; width: .8rem; height: .8rem; margin-left: auto; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; }
.collection-list details[open] summary::after { background-size: 100% 1px, 0 0; }
.suit { width: 1.25rem; height: 1.25rem; flex: none; }
.collection-description { padding: 0 1.15rem 1.15rem 2.25rem; }
.collection-description p + p { margin-top: .33rem; }
.package { display: grid; place-items: center; padding: clamp(1rem, 3vw, 3rem); background: var(--rose); }
.package img { width: 100%; height: auto; }

.contact {
  padding: clamp(3.75rem, 8vw, 8rem) 1.25rem;
  color: var(--ivory);
  background: var(--red);
  text-align: center;
}
.contact .ornament { color: #ffcd8b; }
.contact p { margin-top: 1rem; }
.contact address { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.75rem; margin-top: 1.4rem; }
.contact address a { display: inline-flex; align-items: center; min-height: 44px; }
.footer { display: flex; justify-content: space-between; gap: .1rem 1rem; flex-wrap: wrap; padding: .6rem clamp(1.25rem, 4vw, 4.5rem); background: #52101a; color: var(--ivory); font-size: 1rem; }
.footer nav { display: flex; gap: 1.4rem; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-brand { text-decoration: none; }
.footer-brand:hover { text-decoration: underline; }

.lightbox { width: min(94vw, 80rem); max-width: none; max-height: 95dvh; padding: .5rem; border: 0; color: var(--wine); background: var(--ivory); overscroll-behavior: contain; }
.lightbox::backdrop { background: #240b12eb; }
.lightbox form { position: sticky; top: 0; display: flex; justify-content: end; background: var(--ivory); }
.lightbox button { min-height: 44px; border: 0; padding: .2rem 1rem; color: var(--wine); background: var(--ivory); font: inherit; cursor: pointer; text-decoration: underline; }
.lightbox img { width: 100%; height: auto; }

.legal { width: min(100% - 2.5rem, 47rem); margin-inline: auto; padding-block: clamp(2.75rem, 7vw, 6rem); overflow-wrap: anywhere; }
.legal h1 { margin: 1.25rem 0 2rem; font-size: clamp(3rem, 8vw, 6rem); }
.legal h2 { margin: 1.8rem 0 .45rem; font-size: clamp(1.5rem, 4vw, 2.15rem); letter-spacing: -.015em; text-align: start; }
.legal p + p, .legal address + p { margin-top: .65rem; }
.legal a { color: var(--wine); }

@media (max-width: 46rem) {
  .masthead { min-height: 0; grid-template-columns: 1fr 1fr; gap: 0; padding-block: .2rem; }
  .brand { grid-area: 1 / 1; }
  .languages { grid-area: 1 / 2; }
  .sections { grid-area: 2 / 1 / 3 / -1; justify-content: center; gap: clamp(.85rem, 5vw, 2rem); }
  .sections a { min-height: 40px; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-panel { min-height: 24rem; }
  .hero-photo { aspect-ratio: 1.18; object-position: center; }
  .collections { grid-template-columns: 1fr; }
  .collection-copy h2 { max-width: none; }
  .flavours dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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