/* Sztos Expanded is served by the existing Vinoraya Adobe Fonts project.
   Archivo Expanded is only the self-hosted fallback (SIL OFL, see /fonts). */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 125%;
  font-display: swap;
  src: url("/static/archivo-expanded-latin.86b5bbe21404f45b.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 125%;
  font-display: swap;
  src: url("/static/archivo-expanded-latin-ext.1d4c93b2eb163af9.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --green: #253934;
  --beige: #eee6d8;
  --acid: #cfea1f;
  --line-on-beige: rgba(37, 57, 52, 0.25);
  --line-on-dark: rgba(238, 230, 216, 0.28);

  --font: "sztos-variable", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sztos-wdth: 200;
  --text-body: 1rem;
  --text-title: clamp(1.25rem, 2.6vw, 2rem);
  --text-hero: clamp(1.5rem, 3.7vw, 3rem);
  --text-subtitle: 1rem;
  --text-label: 0.75rem;
  --text-button: 0.6875rem;
  --track: 0.2em;
  --track-body: 0;
  --lh-title: 1.3;
  --lh-small: 1.6;
  --lh-body: 1.75;
}

body {
  font-family: var(--font);
  font-stretch: 125%;
  font-variation-settings: "wdth" var(--sztos-wdth);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: var(--lh-body);
  letter-spacing: var(--track-body);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-stretch: inherit;
  font-variation-settings: inherit;
}

/* Layout for the v4 copy and September client feedback.
   Shared colours and the Sztos Expanded type scale live in brand.css. */

:root {
  --container: 76rem;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section-y: clamp(4.5rem, 10vw, 8rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--green);
  background: var(--beige);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
}

p {
  margin: 0 0 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--acid);
  color: var(--green);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Type scale ---------- */

.title {
  margin: 0 0 1.5rem;
  font-weight: 400;
  font-size: var(--text-title);
  line-height: var(--lh-title);
  letter-spacing: var(--track);
  text-transform: uppercase;
  text-wrap: balance;
}

.title--xl {
  font-size: var(--text-hero);
}

.highlight,
.text-acid {
  color: var(--acid);
}

/* Green lettering remains legible on the light sections; acid underlines
   carry the same accent through each heading without reducing contrast. */
.section--beige .highlight {
  color: inherit;
  background: linear-gradient(transparent 60%, var(--acid) 60%, var(--acid) 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.subtitle {
  margin: 0 0 0.75rem;
  font-weight: 500;
  font-size: var(--text-subtitle);
  line-height: var(--lh-small);
  letter-spacing: var(--track);
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-weight: 500;
  font-size: var(--text-label);
  line-height: var(--lh-small);
  letter-spacing: var(--track);
  text-transform: uppercase;
}

.eyebrow--acid {
  color: var(--acid);
}

.lead {
  font-size: var(--text-body);
  line-height: var(--lh-body);
}

.fineprint {
  max-width: 58rem;
  margin-top: 3.5rem;
  font-size: var(--text-body);
}

.fineprint s {
  opacity: 0.7;
}

.narrow,
.container.narrow {
  max-width: 50rem;
}

.narrow--center {
  margin-inline: auto;
  text-align: center;
}

.textlink {
  display: inline-block;
  margin-top: 1rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid currentColor;
  font-weight: 500;
  font-size: var(--text-button);
  letter-spacing: var(--track);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s, border-color 0.25s;
}

.textlink:hover {
  border-color: var(--acid);
  text-decoration: underline;
  text-underline-offset: 0.4em;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3rem;
  max-width: 100%;
  padding: 0.95rem 1.7rem 0.95rem calc(1.7rem + var(--track)); /* balances the trailing tracking */
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  font-size: var(--text-button);
  line-height: var(--lh-small);
  letter-spacing: var(--track);
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.button--acid {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--green);
}

.button--acid:hover {
  background: transparent;
  color: var(--acid);
}

.button--green {
  background: var(--green);
  border-color: var(--green);
  color: var(--beige);
}

.button--green:hover {
  background: transparent;
  color: var(--green);
}

.button--outline:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.actions .textlink {
  margin-top: 0;
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.icon {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  vertical-align: middle;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--gutter);
  color: var(--beige);
  transition: background-color 0.35s, padding 0.35s, box-shadow 0.35s;
}

.site-header.is-scrolled {
  padding-block: 0.75rem;
  background: rgba(37, 57, 52, 0.94);
  box-shadow: 0 1px 0 var(--line-on-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  display: block;
  line-height: 0;
}

.brand img {
  display: block;
  width: auto;
  height: clamp(2.6rem, 4vw, 3.4rem);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 8rem var(--gutter) 7rem;
  overflow: hidden;
  color: var(--beige);
  background: var(--green);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__media img,
.hero__media video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.hero__media video {
  opacity: 0;
}

.hero__media video.is-playing {
  opacity: 1;
}

/* Green wash over the grayscale footage, like the tinted photography in the brand's print work */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37, 57, 52, 0.72) 0%, rgba(37, 57, 52, 0.82) 55%, var(--green) 100%);
}

.hero__inner {
  max-width: 66rem;
  text-align: center;
}

.hero .title--xl {
  margin-bottom: 1.75rem;
}

.hero .lead {
  max-width: 46rem;
  margin: 0 auto 1rem;
}

.hero__note {
  margin: 0 0 2.25rem;
  font-size: var(--text-body);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(-50%);
  font-weight: 500;
  font-size: var(--text-button);
  letter-spacing: var(--track);
  text-transform: uppercase;
  text-decoration: none;
  width: calc(100% - 2 * var(--gutter));
  text-align: center;
  color: var(--beige);
  opacity: 0.85;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 3rem;
  background: var(--acid);
  transform-origin: top;
  animation: cue 2.4s var(--ease) infinite;
}

@keyframes cue {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  45% {
    transform: scaleY(1);
    transform-origin: top;
  }
  55% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* Darken removes the white paper from the original artwork, preserving
   its dark strokes at the client's requested 20% opacity. Each composition
   fills its section instead of placing cropped fragments around the edges. */
.brush {
  --brush-image: url("/static/brush-1.74b5bd243b8f9f09.webp");
  position: absolute;
  inset: 0;
  z-index: -1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  mix-blend-mode: darken;
  opacity: 0.2;
  pointer-events: none;
}

.brush.is-loaded {
  background-image: var(--brush-image);
}

.brush--keuze {
  background-position: center 30%;
}

.brush--signup {
  --brush-image: url("/static/brush-2.ca9307575acaa678.webp");
}

.brush--footer {
  background-position: center 70%;
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  isolation: isolate;
  padding: var(--section-y) var(--gutter);
  overflow: hidden;
}

.section--beige {
  color: var(--green);
  background: var(--beige);
}

.section--green {
  color: var(--beige);
  background: var(--green);
}

.section--line {
  padding-top: 0;
}

.section--line > .container {
  padding-top: var(--section-y);
  border-top: 1px solid var(--line-on-beige);
}

.container {
  max-width: var(--container);
  margin-inline: auto;
}

.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.split > * {
  min-width: 0;
}

@media (min-width: 60rem) {
  .split {
    grid-template-columns: 1.1fr 1fr;
  }

  .split--reverse {
    grid-template-columns: 1fr 1.4fr;
  }

  .split--update {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
    gap: clamp(4rem, 9vw, 8rem);
  }
}

.split__media {
  margin: 0;
}

.split__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Limited Edition ---------- */

.drop {
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter) clamp(4rem, 7vw, 6rem);
  border-top: 1px solid var(--line-on-dark);
  color: var(--beige);
  background: var(--green);
}

.drop [hidden] { display: none !important; }

.drop__topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.drop__label {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
  color: var(--acid);
  font-size: var(--text-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track);
}

.drop__label svg { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }

.drop__layout { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); }

.drop__visual { align-self: center; margin: 0; }
.drop__visual img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; }

.drop__content { align-self: center; min-width: 0; }
.drop__intro { margin-bottom: 1.35rem; font-size: 0.625rem; }
.drop__title { margin: 0 0 1.5rem; font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1.18; font-weight: 400; text-transform: uppercase; letter-spacing: 0.07em; }
.drop__title > span { display: block; font-size: 0.875rem; margin-bottom: 0.75rem; letter-spacing: 0.18em; }
.drop__title > .drop__year { margin: 1rem 0 0; font-size: 0.625rem; color: rgba(238, 230, 216, 0.7); }
.drop__description { max-width: 33rem; margin-bottom: 1.6rem; color: rgba(238, 230, 216, 0.85); font-size: var(--text-body); line-height: var(--lh-body); }

.drop__offer { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1.6rem; }
.drop__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.65rem; margin: 0; }
.drop__price strong { font-size: clamp(1.8rem, 3.1vw, 2.5rem); font-weight: 400; line-height: 1.3; letter-spacing: -0.025em; }
.drop__price > span:last-child { font-size: 0.6875rem; color: rgba(238, 230, 216, 0.65); }
.drop__previous { display: flex; flex-direction: column; margin: 0; border-left: 1px solid var(--line-on-dark); padding-left: 1.4rem; }
.drop__previous s { font-size: 0.875rem; color: rgba(238, 230, 216, 0.6); text-decoration-thickness: 1px; }
.drop__previous span:last-child { font-size: 0.625rem; color: var(--acid); text-transform: uppercase; letter-spacing: 0.12em; }

.drop__deadline { padding-block: 1.3rem 1rem; border-block: 1px solid var(--line-on-dark); }
.drop__countdown-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1rem; }
.drop__countdown-heading p { margin: 0; font-size: 0.8125rem; font-weight: 500; }
.drop__countdown-caption { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--acid); }
.drop__countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1.25rem; }
.drop__countdown > div { display: flex; flex-direction: column; gap: 0.25rem; padding-left: 1.25rem; border-left: 1px solid var(--line-on-dark); }
.drop__countdown > div:first-child { padding-left: 0; border: 0; }
.drop__countdown > div > span:first-child { font-size: clamp(1.6rem, 2.9vw, 2.4rem); font-weight: 400; font-variant-numeric: tabular-nums; line-height: 1.1; color: var(--acid); }
.drop__unit { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(238, 230, 216, 0.7); }
.drop__end-date { margin: 0.9rem 0 0; font-size: 0.6875rem; color: rgba(238, 230, 216, 0.7); }

.drop__form { position: relative; margin-top: 1.3rem; }
.drop__form > label { display: block; margin-bottom: 0.65rem; font-size: 0.75rem; }
.drop__form-fields { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.drop__form-fields input { width: auto; flex: 1 1 13rem; min-width: 0; padding: 0.8rem 1rem; border: 1px solid var(--line-on-dark); border-radius: 0; font: inherit; font-size: 0.875rem; color: var(--beige); background: rgba(238, 230, 216, 0.04); }
.drop__form-fields input::placeholder { color: rgba(238, 230, 216, 0.55); }
.drop__form-fields input:hover { border-color: var(--beige); }
.drop__form-fields input:focus-visible { outline: 1px solid var(--acid); outline-offset: 2px; }
.drop__form-fields .button { flex: 1 1 11rem; padding-inline: 1rem; border-radius: 0; font-size: 0.6875rem; letter-spacing: 0.12em; }
.drop__form-fields .button span { font-size: 1rem; }
.drop__form-note { margin: 0.65rem 0 0; max-width: 32rem; font-size: 0.6875rem; line-height: 1.8; color: rgba(238, 230, 216, 0.7); }
.drop__form-status { min-height: 0; font-size: 0.6875rem; }
.drop__form-status:empty { display: none; }
.drop__expired { margin-top: 1.5rem; }
.drop__expired p { font-size: 0.875rem; }

@media (max-width: 59.99rem) {
  .drop__layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .drop__visual { width: 100%; max-width: 38rem; margin-inline: auto; }
  .drop__content { width: 100%; max-width: 38rem; margin-inline: auto; }
  .drop__title { font-size: clamp(1.9rem, 6vw, 2.75rem); }
  .drop__countdown > div > span:first-child { font-size: clamp(1.65rem, 5vw, 2.4rem); }
}

@media (max-width: 35rem) {
  .drop__topline { align-items: flex-start; margin-bottom: 1.5rem; }
  .drop__label { gap: 0.65rem; font-size: 0.625rem; }
  .drop__label svg { width: 1.125rem; height: 1.125rem; }
  .drop__countdown > div { padding-left: 0.7rem; }
  .drop__unit { font-size: 0.5625rem; }
  .drop__form-fields { flex-direction: column; }
  .drop__form-fields input { flex: none; width: 100%; min-height: 3.2rem; font-size: 1rem; }
  .drop__form-fields .button { flex: none; min-height: 3.2rem; }
}

/* ---------- Onze keuze ---------- */

.timeline {
  --timeline-progress: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: var(--line-on-dark);
}

.timeline::after {
  background: var(--acid);
  transform: scaleX(var(--timeline-progress));
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.timeline__step {
  position: relative;
  padding-inline: clamp(1rem, 2.5vw, 2rem);
}

.timeline__marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1.75rem;
  padding: 0 0 0 var(--track);
  border: 1px solid var(--line-on-dark);
  border-radius: 0;
  color: var(--beige);
  background: var(--green);
  font: inherit;
  font-weight: 500;
  font-size: var(--text-label);
  letter-spacing: var(--track);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}

button.timeline__marker {
  cursor: pointer;
}

button.timeline__marker:focus-visible {
  outline-color: var(--acid);
}

.timeline__step.is-active .timeline__marker {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--green);
}

.timeline__step.is-complete .timeline__marker,
button.timeline__marker:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.timeline__step.is-active button.timeline__marker:hover {
  color: var(--green);
}

@media (max-width: 51.99rem) {
  .timeline {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .timeline::before,
  .timeline::after {
    display: none;
  }

  .timeline__step {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 1.25rem;
    padding: 0 0 2.5rem;
  }

  .timeline__step:last-child {
    padding-bottom: 0;
  }

  .timeline__step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 1.5rem;
    top: 3rem;
    bottom: 0;
    width: 1px;
    background: var(--line-on-dark);
    transition: background-color 0.3s;
  }

  .timeline__step.is-complete::after {
    background: var(--acid);
  }

  .timeline__marker {
    margin: 0;
  }

  .timeline__step p {
    padding-top: 0.5rem;
  }
}

/* Full-width photo band between sections, washed in brand green */
.band {
  height: clamp(14rem, 38vw, 26rem);
  overflow: hidden;
  background: var(--green);
}

.band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: grayscale(1);
  opacity: 0.45;
}

.band picture,
.place__media picture {
  height: 100%;
}

/* ---------- Oprichters ---------- */

.collage {
  position: relative;
  padding: 0 0 3rem 0;
}

/* Two classes so these beat the generic .split__media img width */
.collage .collage__main {
  width: 82%;
}

.collage .collage__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40%;
}

.section--founders {
  padding-bottom: 0;
}

.quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 18rem;
  margin: clamp(3.5rem, 8vw, 6rem) auto 0;
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-block: 1px solid var(--line-on-beige);
  text-align: center;
}

.quote p {
  max-width: 48rem;
  margin: 0 auto 1.25rem;
  font-size: var(--text-body);
  line-height: var(--lh-body);
  text-wrap: balance;
}

.quote footer {
  font-weight: 500;
  font-size: var(--text-label);
  letter-spacing: var(--track);
  text-transform: uppercase;
}

/* ---------- Waar je ons vindt ---------- */

.places {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 52rem) {
  .places {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.place {
  display: flex;
  flex-direction: column;
  color: var(--beige);
}

.place--green {
  background: var(--green);
}

.place__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.place__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.place:hover .place__media img {
  transform: scale(1.04);
}

.place__body {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.place__body .eyebrow {
  margin-bottom: 0.9rem;
}

/* ---------- Wine Update ---------- */

.themes {
  display: grid;
  gap: 1.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.themes li {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
}

.themes .eyebrow {
  margin: 0;
}

.themes li span:last-child {
  font-size: var(--text-body);
  letter-spacing: var(--track-body);
}

.cover {
  width: 100%;
  max-width: 21rem;
  margin: 0;
  justify-self: center;
}

.wines {
  display: grid;
  gap: 3rem clamp(2.5rem, 6vw, 6rem);
  margin: clamp(4rem, 8vw, 7rem) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 52rem) {
  .wines {
    grid-template-columns: 1fr 1fr;
  }
}

.wine {
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-on-beige);
}

.wine .eyebrow {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 1rem;
  padding: 0.4rem 0.65rem;
  color: var(--acid);
  background: var(--green);
}

.wine__meta {
  margin: 0;
  font-size: var(--text-body);
}

.wine__price {
  margin: 1rem 0 0;
  font-size: var(--text-body);
}

.wine__price s {
  margin-right: 0.5rem;
}

.wine__price strong {
  font-weight: 500;
  color: var(--green);
}

/* ---------- Signup ---------- */

.signup {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.signup input[type="email"] {
  flex: 1 1 18rem;
  min-width: 0;
  padding: 1rem 1.5rem;
  border: 1.5px solid var(--line-on-dark);
  border-radius: 999px;
  font: inherit;
  font-stretch: inherit;
  color: var(--beige);
  background: rgba(238, 230, 216, 0.06);
  transition: border-color 0.25s;
}

.signup input[type="email"]::placeholder {
  color: rgba(238, 230, 216, 0.6);
}

.signup input[type="email"]:hover,
.signup input[type="email"]:focus-visible {
  border-color: var(--acid);
  outline: none;
}

.signup__trap {
  position: absolute;
  left: -200vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup__status {
  flex-basis: 100%;
  min-height: 1.6em;
  margin: 0.75rem 0 0;
  font-size: var(--text-body);
}

.signup__status.is-error {
  color: var(--acid);
}

/* ---------- Instagram ---------- */

.instagram-feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.instagram-feed a {
  display: block;
  transition: transform 0.25s var(--ease);
}

.instagram-feed a:hover {
  transform: translateY(-3px);
}

.instagram-feed img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 8vw, 6rem) var(--gutter) 2.5rem;
  overflow: hidden;
  color: var(--beige);
  background: var(--green);
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

@media (min-width: 52rem) {
  .footer__grid {
    grid-template-columns: auto 1fr auto;
  }
}

.footer__logo {
  width: 9rem;
  height: auto;
}

.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  margin: 0;
}

.footer__contact dt {
  margin-bottom: 0.35rem;
}

.footer__contact dd {
  margin: 0;
}

.footer__contact a {
  text-decoration: none;
  border-bottom: 1px solid var(--line-on-dark);
  transition: border-color 0.25s, color 0.25s;
}

.footer__contact a:hover {
  color: var(--acid);
  border-color: var(--acid);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-on-dark);
}

.footer__copy {
  margin: 0;
  font-size: var(--text-body);
}

.footer__credit {
  width: 4.5rem;
  height: auto;
  margin-left: auto;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--beige);
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--acid);
}

.social-links .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.footer__bottom .textlink {
  margin-top: 0;
}

.footer__cookies {
  padding: 0 0 0.25rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  background: none;
  cursor: pointer;
}

.footer__cookies[hidden] {
  display: none;
}

/* ---------- Cookie consent ---------- */

.consent {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  max-width: 64rem;
  margin-inline: auto;
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line-on-dark);
  color: var(--beige);
  background: var(--green);
  box-shadow: 0 1rem 2.5rem rgba(20, 27, 23, 0.3);
}

.consent[hidden] {
  display: none;
}

.consent__body {
  flex: 1 1 26rem;
}

.consent .eyebrow {
  margin-bottom: 0.5rem;
}

.consent__text {
  font-size: 0.875rem;
  line-height: var(--lh-small);
}

.consent__text a {
  color: var(--acid);
}

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 35rem) {
  .consent {
    inset: auto 0 0;
  }

  .consent__actions,
  .consent__actions .button {
    flex: 1 1 0;
  }
}

/* ---------- Legal pages ---------- */

.legal-header {
  padding: 1.25rem var(--gutter);
  color: var(--beige);
  background: var(--green);
}

.legal {
  padding-top: clamp(3rem, 7vw, 5rem);
}

.legal h2 {
  margin-top: 3rem;
}

.legal table {
  width: 100%;
  margin-bottom: 1.25rem;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: var(--lh-small);
}

.legal th,
.legal td {
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--line-on-beige);
  text-align: left;
  vertical-align: top;
}

.legal th {
  font-weight: 500;
}

.legal__table {
  overflow-x: auto;
}

.legal__table table {
  min-width: 36rem;
}

.legal .actions {
  margin-top: 1.5rem;
}

.legal .button[hidden] {
  display: none;
}

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-cue i {
    animation: none;
  }

  .button,
  .place__media img,
  .instagram-feed a,
  .timeline::after,
  .timeline__step::after,
  .timeline__marker {
    transition: none;
  }
}

/* ---------- Small screens ---------- */

@media (max-width: 40rem) {
  .site-header .button {
    padding: 0.7rem 1.1rem 0.7rem calc(1.1rem + var(--track));
    font-size: var(--text-button);
  }

  .hero {
    padding-top: 7rem;
    padding-bottom: 7.5rem;
  }

  .brand img {
    height: auto;
    width: clamp(7rem, 30vw, 10rem);
  }

  .scroll-cue {
    bottom: 1.5rem;
  }

  .themes li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .place__body {
    padding: 1.5rem;
  }

}
