@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/Raleway-Medium.ttf") format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/Raleway-Bold.ttf") format("truetype");
  font-weight: 800;
}

:root {
  --blue: #27235e;
  --blue-dark: #171342;
  --burgundy: #63223c;
  --burgundy-dark: #651036;
  --paper: #f8f0d9;
  --white: #fff;
  --line: rgba(39, 35, 94, 0.24);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--burgundy);
  color: var(--blue-dark);
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

h1,
h2,
h3,
.section-copy h2,
.draw-section h2 {
  text-wrap: balance;
}

h1,
h2,
h3,
p,
.check,
label,
button,
a {
  overflow-wrap: anywhere;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.hero {
  background: var(--paper);
}

/* Static per-breakpoint hero: the whole composition (background, stamps,
   headline, logos) is baked into one image per breakpoint via <picture>,
   swapped in front-page.php. No positioning CSS needed for its contents. */
.campaign-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  background: var(--burgundy);
}

.campaign-hero__image {
  display: block;
  width: 100%;
  max-width: 3840px;
  height: auto;
  margin-inline: auto;
  user-select: none;
  pointer-events: none;
  /* Matches the <picture> breakpoints in front-page.php so the browser
     reserves the correct box before the image loads (fixes CLS). */
  aspect-ratio: 393 / 520;
}

@media (min-width: 430px) {
  .campaign-hero__image { aspect-ratio: 430 / 540; }
}
@media (min-width: 479px) {
  .campaign-hero__image { aspect-ratio: 479 / 560; }
}
@media (min-width: 767px) {
  .campaign-hero__image { aspect-ratio: 767 / 720; }
}
@media (min-width: 992px) {
  .campaign-hero__image { aspect-ratio: 991 / 760; }
}
@media (min-width: 1200px) {
  .campaign-hero__image { aspect-ratio: 1200 / 720; }
}
@media (min-width: 1440px) {
  .campaign-hero__image { aspect-ratio: 1440 / 635; }
}
@media (min-width: 1600px) {
  .campaign-hero__image { aspect-ratio: 1600 / 706; }
}
@media (min-width: 1920px) {
  .campaign-hero__image { aspect-ratio: 1920 / 700; }
}
@media (min-width: 2000px) {
  .campaign-hero__image { aspect-ratio: 2000 / 1440; }
}
@media (min-width: 2560px) {
  .campaign-hero__image { aspect-ratio: 2560 / 1440; }
}
@media (min-width: 3440px) {
  .campaign-hero__image { aspect-ratio: 3440 / 1440; }
}
@media (min-width: 3840px) {
  .campaign-hero__image { aspect-ratio: 3840 / 2160; }
}

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

.hero-scroll-indicator {
  display: none;
}

h2 {
  margin: 0;
  color: var(--blue);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
}

p {
  margin: 0 0 16px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 24px;
  padding: 15px 26px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 6px 12px rgba(23, 19, 66, 0.2);
  filter: brightness(1.035);
}

.campaign-logo-link {
  display: block;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.campaign-logo-link:hover,
.campaign-logo-link:focus-visible {
  transform: scale(1.018);
  filter: drop-shadow(0 5px 6px rgba(23, 19, 66, 0.2));
}

.button--primary,
.button--light {
  margin-top: 18px;
  background: var(--burgundy);
  color: var(--white);
}

.section {
  padding: 90px 24px;
}

.form-section {
  background: var(--burgundy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.form-section__leaf {
  --leaf-w: clamp(300px, 40vw, 450px);
  position: absolute;
  top: calc(var(--leaf-w) * -0.0947);
  left: calc(var(--leaf-w) * -0.3026);
  z-index: 2;
  width: var(--leaf-w);
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* Fluid width so the leaf scales with the viewport instead of jumping to a
   fixed size right at the breakpoint (it was overwhelming/covering text on
   viewports just past 992px before this). Stays a corner decoration at
   every width; only reaches its 2x-larger cap on very large screens. */

@media (min-width: 992px) {
  .form-section__leaf {
    --leaf-w: clamp(900px, 65vw, 1800px);
  }
}

/* Tablets in portrait — iPad Air 820px through iPad Pro 1024px — get their
   own fluid range so the leaf lands at ~500px on Air and ~600px on Pro,
   scaling smoothly between (and a bit past) those two reference widths
   instead of jumping to the desktop size at 992px. */
@media (min-width: 768px) and (max-width: 1080px) {
  .form-section__leaf {
    --leaf-w: clamp(450px, calc(98px + 49vw), 650px);
  }
}

/* The base rule's width was sized for tablet+, so on real phones the
   leaf overwhelmed the screen instead of sitting as a small corner accent
   like on desktop. Scale it down proportionally (same top/left-to-width
   ratio as the desktop rule above). */

@media (max-width: 767px) {
  .form-section__leaf {
    --leaf-w: clamp(350px, 90vw, 410px);
    left: calc(var(--leaf-w) * -0.4318);
  }
}

/* The postcard is already portrait, so it can sit directly behind the form. */

.form-card__background {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  transform: none;
}

.form-section > *:not(.form-section__leaf) {
  position: relative;
  z-index: 1;
}

.section-copy {
  width: min(100%, 720px);
  margin: 0 auto 32px;
  text-align: center;
}

.section-copy h2,
.form-section .kicker {
  color: var(--white);
  text-shadow: 0 2px 12px rgba(23, 19, 66, 0.55), 0 1px 3px rgba(0, 0, 0, 0.55);
}

.section-copy p {
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(23, 19, 66, 0.55), 0 1px 3px rgba(0, 0, 0, 0.55);
}

.section-copy h2 + p {
  margin-top: 28px;
}

.section-copy p.form-notice {
  margin-top: 20px;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
}

.section-copy p.form-notice--success {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.section-copy p.form-notice--error {
  background: rgba(255, 255, 255, 0.94);
  color: var(--burgundy-dark);
}

.form-card {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(620px, calc(100vw - 48px));
  min-height: 860px;
  margin: 0 auto;
  padding: 72px 64px 58px;
  color: var(--blue-dark);
  align-items: start;
  align-content: start;
}

.form-card__hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  display: grid;
  gap: 18px;
  padding: 48px 24px;
  text-align: center;
}

.form-success__emoji {
  margin: 0;
  font-size: 42px;
  line-height: 1;
}

.form-success__text {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-dark);
}

.form-card--success.form-card--fade-out {
  opacity: 0;
  transition: opacity 600ms ease;
}

.form-card--hidden {
  display: none;
}

.form-section .section-copy h2,
.form-section .section-copy p,
.form-section .kicker,
.form-section .check,
.draw-section h2,
.destination .kicker,
.destination h2,
.destination p,
.button--primary,
.button--light {
  -webkit-text-stroke: 0.22px rgba(0, 0, 0, 0.72);
}

.form-card__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(90deg) scale(1.35);
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.18));
  pointer-events: none;
  user-select: none;
}

@media (min-width: 992px) {
  .form-card {
    width: min(700px, calc(100vw - 72px));
    min-height: 0;
    padding: 78px 68px 62px;
  }

  .form-card__background {
    inset: auto;
    left: 50%;
    top: 50%;
    width: 138.7%;
    height: 72.1%;
    object-fit: fill;
    transform: translate(-50%, -50%) rotate(90deg);
  }
}

.form-card > *:not(.form-card__background) {
  position: relative;
  z-index: 1;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.field-grid label:nth-child(n + 3) {
  grid-column: 1 / -1;
}

label {
  display: grid;
  min-width: 0;
}

.field-grid label > span:not(.field-error),
.code-row label > span,
.checks legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

input,
select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--blue-dark);
  font: inherit;
  font-weight: 800;
  padding: 11px 14px;
}

input:focus,
select:focus {
  outline: 3px solid rgba(141, 24, 75, 0.25);
  border-color: var(--burgundy);
}

.is-invalid {
  border-color: #d92d20 !important;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

.is-invalid:focus {
  outline-color: rgba(217, 45, 32, 0.25) !important;
}

.form-card__error {
  margin: 0 0 4px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(209, 50, 47, 0.1);
  color: #a3201d;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.form-card__error[hidden] {
  display: none;
}

.field-error {
  display: block;
  margin: 6px 0 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: #b42318;
}

.field-error[hidden] {
  display: none;
}

.code-row {
  display: grid;
  gap: 10px;
}

.code-row p {
  order: -1;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.checks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 800;
}

.check input {
  width: 15px;
  height: 15px;
  min-height: 0;
  margin: 4px 0 0;
  accent-color: var(--burgundy);
}

.check .field-error {
  grid-column: 2 / -1;
}

.draw-section {
  display: grid;
  justify-items: center;
  padding: 78px 24px;
  background: var(--paper);
  color: var(--blue);
  text-align: center;
}

.draw-section h2 {
  color: var(--blue);
}

.draw-section .kicker {
  color: var(--burgundy);
}

.destination {
  position: relative;
  display: block;
  padding: 86px 0 0;
  background: var(--burgundy);
  color: var(--white);
  overflow: hidden;
}

.destination__content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: center;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.destination__copy {
  width: min(100%, 580px);
  text-align: left;
}

/* Content-only half of the (now split) destination section: the town photo
   moved into its own .destination-photo section after the white wines
   block, so this half needs its own bottom breathing room. */
.destination--content-only {
  padding-bottom: 86px;
}

@media (max-width: 991px) {
  .destination--content-only {
    padding-bottom: 74px;
  }
}

@media (max-width: 767px) {
  .destination--content-only {
    padding-bottom: 62px;
  }
}

.destination__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
  margin-top: 24px;
}

.destination__actions .button {
  flex: 1 1 190px;
  margin-top: 0;
  white-space: normal;
  line-height: 1.2;
}

.destination__actions .button--primary {
  background: var(--white);
  color: var(--burgundy);
}

.button--ghost {
  margin-top: 18px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
}

/* Town photo lives in its own section now, right after the wines block —
   no extra top offset needed, the wines section already provides the
   visual break. */
.destination-photo {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}

.destination-photo .destination__visual {
  margin-top: 0;
}

.destination .kicker,
.destination h2,
.destination p {
  color: var(--white);
}

.destination p {
  font-size: 18px;
  font-weight: 800;
}

.destination__copy h2 + p {
  margin-top: 30px;
}

.destination__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.destination__card {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 6px solid rgba(248, 240, 217, 0.88);
  border-radius: 3px;
  box-shadow: 0 24px 42px rgba(23, 19, 66, 0.24);
  transform-origin: center center;
  cursor: default;
}

.destination__card--house,
.destination__card--tasting {
  background: var(--paper);
}

.destination__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 260ms ease-out, filter 260ms ease-out;
  will-change: transform;
}

.destination__card:hover img,
.destination__card:focus-within img {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.01);
}

.destination__card:nth-child(1) {
  transform: rotate(-2.5deg);
}

.destination__card:nth-child(2) {
  margin-top: 44px;
  transform: rotate(2deg);
}

.destination__visual {
  position: relative;
  width: 100%;
  margin-top: 72px;
  line-height: 0;
  overflow: hidden;
}

.destination__photo {
  width: 100%;
  height: auto;
  margin-bottom: -1px;
}

.destination__overlay {
  position: absolute;
  right: 8%;
  bottom: 14%;
  width: min(28vw, 360px);
  transform: rotate(-8deg);
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.24));
}

.wines {
  background: var(--paper);
  text-align: center;
}

.wines .kicker {
  color: var(--burgundy);
  text-shadow: none;
}

.wines h2 {
  color: var(--blue);
  text-shadow: none;
}

.wines__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.wines__card {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 18px 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--blue-dark);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.wines__card:hover,
.wines__card:focus-visible {
  background: rgba(99, 34, 60, 0.06);
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(23, 19, 66, 0.14);
}

.wines__card img {
  width: auto;
  height: 240px;
  max-width: 100%;
  pointer-events: none;
  transition: transform 220ms ease-out;
}

.wines__card:hover img,
.wines__card:focus-visible img {
  transform: scale(1.04);
}

.wines__name {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 767px) {
  .wines__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: min(100% - 36px, var(--max));
  }

  .wines__card img {
    height: 170px;
  }

  .wines__name {
    font-size: 12px;
  }
}

.rules {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 24px;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(6px);
  overflow: auto;
}

.rules:target {
  display: flex;
}

.rules.is-open {
  display: flex;
}

body.rules-is-open {
  overflow: hidden;
}

.rules__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(920px, 92vw);
  max-height: 90vh;
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  padding: 54px;
}

/* The close button lives outside this wrapper so it stays put in the
   corner while the (often long) rules text scrolls underneath it. */
.rules__scroll {
  overflow: auto;
  min-height: 0;
}

.rules__close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--white);
  font: 800 30px/1 Arial, sans-serif;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.rules__close:hover,
.rules__close:focus-visible {
  transform: scale(1.12) rotate(5deg);
  box-shadow: 0 8px 18px rgba(23, 19, 66, 0.25);
}

.rules-list a {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rules-list {
  display: grid;
  gap: 13px;
  margin: 24px 0 28px;
  padding-left: 24px;
  color: var(--blue-dark);
  font-weight: 800;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 64px 24px;
  background: #000;
  color: #fff;
}

.footer-brand img {
  width: clamp(90px, 22vw, 168px);
  height: auto;
  transition: transform 0.2s ease;
}

.footer-brand:hover img,
.footer-brand:focus-visible img {
  transform: scale(1.06);
}

.footer-brands {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-brand-column {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 16px;
  min-width: 0;
}

.footer-brand--superalko img {
  width: clamp(90px, 22vw, 168px);
  height: auto;
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer-links--brand a {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(26px, 6vw, 38px);
  height: clamp(26px, 6vw, 38px);
  transition: transform 0.2s ease;
}

.footer-links--brand a:hover,
.footer-links--brand a:focus-visible {
  transform: translateY(-1px);
}

.footer-links--brand a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s ease;
}

.footer-links--brand img {
  position: relative;
  width: 100%;
  height: 100%;
}

.footer-brand-column:first-child .footer-links--brand a:hover::before,
.footer-brand-column:first-child .footer-links--brand a:focus-visible::before {
  background: #992354;
}

.footer-brand-column:nth-child(2) .footer-links--brand a:hover::before,
.footer-brand-column:nth-child(2) .footer-links--brand a:focus-visible::before {
  background: #f26d31;
}

.footer-note {
  max-width: 44ch;
  text-align: center;
  font-size: clamp(12px, 3vw, 14px);
  color: rgba(255, 255, 255, 0.72);
}

.footer-aldar-logo {
  width: clamp(80px, 17vw, 130px);
  height: auto;
  transition: transform 0.2s ease;
}

.footer-aldar-link:hover .footer-aldar-logo,
.footer-aldar-link:focus-visible .footer-aldar-logo {
  transform: scale(1.06);
}

/* Large desktop: 1600px+ */

@media (min-width: 1600px) {
  .destination__content {
    width: min(100% - 72px, 1220px);
  }
}

/* Destination town: final full-width, bottom-aligned image container. */

.destination__visual {
  display: flex;
  align-items: flex-end;
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.destination__photo {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
}

/* Keep the transparent image on the burgundy section and make its visual
   container bleed through the section padding on narrow screens. */

.destination__visual--full { background: transparent !important; }

.destination--flush { padding-bottom: 0 !important; }

@media (max-width: 991px) {
  .destination__visual--full {
    width: calc(100% + 48px) !important;
    margin-left: -24px !important;
  }
}

@media (max-width: 767px) {
  .destination__visual--full {
    width: calc(100% + 36px) !important;
    margin-left: -18px !important;
  }
}

/* The transparent sky is intentional: it must show the burgundy section,
   while the image itself reaches the section edges below the padded content. */

.destination__visual { background: transparent; }

@media (max-width: 991px) {
  .destination__visual {
    width: calc(100% + 48px);
    margin-left: -24px;
  }
}

@media (max-width: 767px) {
  .destination__visual {
    width: calc(100% + 36px);
    margin-left: -18px;
  }
}

/* Alsace town artwork is an RGBA image: its transparent sky must sit on its
   own paper-coloured block, not on the burgundy destination background. Keep
   this lower visual full-width and flush to its container at every breakpoint. */

.destination__visual {
  display: flex;
  align-items: flex-end;
  width: 100%;
  margin-top: 72px;
  overflow: hidden;
  background: #fff;
}

.destination__photo {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
}

@media (max-width: 767px) {
  .destination__visual { margin-top: 44px; }

  .destination__photo { width: 100%; margin-left: 0; }
}

/* Keep the full postcard fitted to the card at every desktop viewport. */

@media (min-width: 992px) {
  .form-card {
    width: min(700px, calc(100vw - 72px));
    min-height: 0;
    padding: 78px 68px 62px;
  }

  .form-card__background {
    inset: auto;
    left: 50%;
    top: 50%;
    width: 138.7%;
    height: 72.1%;
    object-fit: fill;
    transform: translate(-50%, -50%) rotate(90deg);
  }
}

@media (min-width: 1600px) {
  .hero-scroll-indicator {
    width: 18px;
    height: 30px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
}

/* Small desktop: 992px-1200px */

@media (max-width: 1200px) {
  .destination__content {
    grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
    gap: 38px;
  }
}

/* Tablet: 768px-991px */

@media (max-width: 991px) {
  h2 {
    font-size: 44px;
  }

  .section {
    padding: 76px 24px;
  }

  .form-section {
    padding-top: 72px;
  }

  .section-copy {
    width: min(100%, 640px);
  }

  .form-card {
    width: min(100%, 640px);
    min-height: 0;
    padding: 66px 58px 54px;
  }

  .draw-section {
    padding: 66px 24px;
  }

  .destination {
    padding-top: 74px;
  }

  .destination__content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .destination__copy {
    width: min(100%, 680px);
  }

  .destination__cards {
    width: min(100%, 620px);
  }

  .destination__visual {
    margin-top: 54px;
  }

  .destination__overlay {
    right: 4%;
    bottom: 18%;
    width: min(38vw, 300px);
  }
}

/* Large tablet / small mobile: 480px-767px */

@media (max-width: 767px) {
  h2 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .kicker {
    font-size: 12px;
  }

  .button {
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 23px;
    font-size: 14px;
  }

  .section {
    padding: 64px 18px;
  }

  .form-section {
    padding-top: 64px;
  }

  .section-copy {
    width: min(calc(100vw - 36px), 560px);
    margin-bottom: 24px;
  }

  .section-copy h2 {
    font-size: clamp(36px, 8vw, 42px);
  }

  .section-copy h2 span {
    display: block;
  }

  .section-copy p {
    width: min(calc(100vw - 72px), 280px);
    margin-right: auto;
    margin-left: auto;
    font-size: 14px;
  }

  .form-card {
    width: min(100%, 560px);
    min-height: 0;
    gap: 12px;
    padding: 42px 26px 38px;
  }

  .form-card__background {
    transform: none;
    object-fit: fill;
    border-radius: 3px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .field-grid input,
  .field-grid select {
    width: 90%;
    margin-inline: auto;
  }

  .checks {
    width: 90%;
    margin-inline: auto;
  }

  input,
  select {
    min-height: 48px;
    font-size: 14px;
  }

  .check {
    font-size: 13px;
  }

  .form-card .button {
    width: 100%;
  }

  .draw-section {
    padding: 58px 18px;
  }

  .draw-section h2 {
    font-size: clamp(32px, 9vw, 46px);
  }

  .destination {
    padding-top: 62px;
  }

  .destination__content {
    width: min(100% - 36px, var(--max));
  }

  .destination p {
    font-size: 16px;
  }

  .destination__cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .destination__card {
    border-width: 4px;
  }

  .destination__card:nth-child(2) {
    margin-top: 30px;
  }

  .destination__visual {
    margin-top: 44px;
  }

  .destination__photo {
    width: 150%;
    max-width: none;
    margin-left: -25%;
  }

  .destination__overlay {
    right: 3%;
    bottom: 20%;
    width: min(48vw, 240px);
  }

  .site-footer {
    padding: 52px 18px;
  }
}

/* Large phones: 431px-479px */

@media (max-width: 479px) {
  .section-copy h2 {
    font-size: clamp(36px, 10vw, 39px);
  }

  .section-copy p {
    font-size: 14px;
  }

  .form-card {
    padding: 34px 18px 30px;
  }

  .code-row p {
    font-size: 13px;
  }

  .destination__cards {
    width: min(100%, 390px);
  }

}

/* Compact phones: 394px-430px */

@media (min-width: 394px) and (max-width: 430px) {
  .section-copy {
    width: min(calc(100vw - 28px), 520px);
  }

  .section-copy h2 {
    font-size: clamp(32px, 9vw, 38px);
  }

  .section-copy p {
    width: min(calc(100vw - 56px), 250px);
    font-size: 13px;
  }

  .destination__cards {
    width: min(100%, 360px);
  }
}

/* Mid-size phones: 376px-393px */

@media (max-width: 393px) {
  .section-copy {
    width: min(calc(100vw - 24px), 500px);
  }

  .section-copy p {
    width: min(calc(100vw - 48px), 240px);
  }

  .form-card {
    padding: 30px 14px 26px;
  }
}

/* Small phones: 0px-375px */

@media (max-width: 375px) {
  .section-copy h2 {
    font-size: clamp(30px, 10vw, 34px);
  }

  .section-copy p {
    width: min(calc(100vw - 40px), 220px);
    font-size: 13px;
  }

  .form-card {
    padding: 32px 16px 28px;
  }
}

.hero-scroll-indicator {
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: 22px;
  display: block;
  width: 18px;
  height: 30px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hero-scroll-indicator span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  color: var(--blue-dark);
  transform: translateX(-50%) rotate(45deg);
  animation: hero-scroll-nudge 1.8s ease-in-out infinite;
}

@keyframes hero-scroll-nudge {
  0%, 100% { opacity: .45; transform: translate(-50%, 0) rotate(45deg); }
  50% { opacity: 1; transform: translate(-50%, 8px) rotate(45deg); }
}

/* Keep the full postcard fitted to the card at every desktop viewport. */

@media (min-width: 992px) {
  .form-card__background {
    inset: auto;
    left: 50%;
    top: 50%;
    width: 138.7%;
    height: 72.1%;
    object-fit: fill;
    transform: translate(-50%, -50%) rotate(90deg);
  }
}

/* Final 992+ form-card sizing. */

@media (min-width: 992px) {
  .form-card {
    width: min(700px, calc(100vw - 72px));
    min-height: 0;
    padding: 78px 68px 62px;
  }
}

/* Final portrait postcard layer. */

.form-card__background {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  transform: none;
}

/* Form section layering: postcard background -> grape leaf -> fields/copy. */

.form-section__leaf {
  z-index: 2;
}

.form-section > *:not(.form-section__leaf) {
  position: relative;
  z-index: auto;
}

.form-section > .section-copy {
  z-index: 3;
}

.form-card > *:not(.form-card__background) {
  position: relative;
  z-index: 3;
}

/* The grape leaf is decoration; all readable content stays above it. */

.form-section__leaf {
  z-index: 0;
}

.form-section > *:not(.form-section__leaf) {
  position: relative;
  z-index: 1;
}

/* Nearly invisible edge for white copy on light image areas. */

.form-section .section-copy h2,
.form-section .section-copy p,
.form-section .kicker,
.form-section .check,
.draw-section .kicker,
.draw-section h2,
.destination .kicker,
.destination h2,
.destination p,
.button--primary,
.button--light {
  -webkit-text-stroke: 0.16px rgba(0, 0, 0, 0.78);
}

/* Final form section layer order. */

.form-section__leaf { z-index: 2; }

.form-section > *:not(.form-section__leaf) { position: relative; z-index: auto; }

.form-section > .section-copy { z-index: 3; }

.form-card > *:not(.form-card__background) { position: relative; z-index: 3; }

.hero-scroll-indicator {
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: 22px;
  display: block;
  width: 18px;
  height: 30px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 520px) {
  .footer-brands { gap: 24px; }
}

/* Final destination placement: preserve the burgundy transparent sky and
   bleed the town image to the destination section edges on narrow screens. */

.destination__visual { background: transparent; }

@media (max-width: 991px) {
  .destination__visual {
    width: calc(100% + 48px);
    margin-left: -24px;
  }
}

@media (max-width: 767px) {
  .destination__visual {
    width: calc(100% + 36px);
    margin-left: -18px;
  }
}

/* Destination town: final full-width, bottom-aligned image container. */

.destination__visual {
  display: flex;
  align-items: flex-end;
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.destination__photo {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
}

