/* ==========================================================================
   giveaway.css — AMT Experience Giveaway campaign layer

   TYPE SYSTEM. Three faces, each with one job. Nothing alternates without a
   stated reason.

     RocGrotesk-ExtraWideMedium   headings only — h1, section titles, card
                                  titles, pill buttons. Redline's display face.
     DM Sans                      everything else — body copy, every label,
                                  every eyebrow, every text link.
     Cormorant Garamond           ONE role only: the names of the two
                                  experiences. It is the voice of the printed
                                  A5 menu and appears nowhere else.

   Seven type steps, each mapped to exactly one role (see --t-* below).
   One tracking value per role. One spacing scale (--s-*) for all rhythm.
   ========================================================================== */

:root {
  /* ---- Type scale ---------------------------------------------------- */
  --t-display: clamp(1.5rem, 2.75vw, 2.75rem);   /* 24→44px  h1, every page  */
  --t-section: clamp(1.25rem, 2.1vw, 2rem);      /* 20→32px  section titles   */
  --t-name:    clamp(1.125rem, 1.9vw, 1.625rem); /* 18→26px  experience names */
  --t-card:    1rem;                             /* 16px     card titles      */
  --t-body:    0.9375rem;                        /* 15px     body copy        */
  --t-small:   0.875rem;                         /* 14px     secondary body   */
  --t-label:   0.6875rem;                        /* 11px     all labels       */

  /* ---- Tracking, one value per role ---------------------------------- */
  --ls-display: 1.9px;
  --ls-name:    4.5px;
  --ls-card:    0.48px;
  --ls-body:    1.2px;
  --ls-label:   2.5px;

  /* ---- Spacing scale ------------------------------------------------- */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 72px;
  --s-7: 104px;
}

/* ==========================================================================
   1. Type roles
   ========================================================================== */

/* h1 — one size on every page */
.page-title {
  font-family: var(--font-display), sans-serif;
  font-size: var(--t-display);
  font-weight: 600;
  letter-spacing: var(--ls-display);
  line-height: 1.18;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

/* Section heading */
.section-title {
  font-family: var(--font-display), sans-serif;
  font-size: var(--t-section);
  font-weight: 500;
  letter-spacing: var(--ls-display);
  line-height: 1.3;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

/* Experience name — the only place the serif is used */
.experience-name {
  font-family: var(--font-deco);
  font-size: var(--t-name);
  font-weight: 500;
  letter-spacing: var(--ls-name);
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--gh-gold);
  margin: 0;
}

/* Card / tile title */
.card-title {
  font-family: var(--font-display), sans-serif;
  font-size: var(--t-card);
  font-weight: 700;
  letter-spacing: var(--ls-card);
  line-height: 1.6;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

/* Body copy */
.lede {
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 400;
  letter-spacing: var(--ls-body);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}
.lede + .lede { margin-top: var(--s-2); }

/* Every label, eyebrow, kicker and meta line — one style */
.eyebrow,
.kicker,
.meta {
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  line-height: 1.7;
  text-transform: uppercase;
  margin: 0;
}
.eyebrow { color: var(--gh-gold); }
.kicker  { color: rgba(255, 255, 255, 0.5); }
.meta    { color: rgba(255, 255, 255, 0.55); }

/* Text-link CTA — Redline's own card link */
.text-cta {
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--rl-red);
  text-decoration: none;
  transition: color 0.3s ease;
}
.text-cta:hover { color: #fff; }

/* ==========================================================================
   2. Deco primitives
   ========================================================================== */

/* Gold hairline that opens from the centre */
.deco-rule {
  height: 1px;
  background: var(--gh-gold);
  border: 0;
  margin: 0 auto;
  width: min(180px, 40vw);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.deco-rule.is-in { transform: scaleX(1); }

/* Paired hairlines with a centred lozenge */
.deco-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
}
.deco-divider::before,
.deco-divider::after {
  content: "";
  height: 1px;
  width: min(120px, 22vw);
  background: linear-gradient(to right, transparent, var(--gh-gold));
}
.deco-divider::after { background: linear-gradient(to left, transparent, var(--gh-gold)); }
.deco-lozenge {
  width: 9px;
  height: 9px;
  border: 1px solid var(--gh-gold);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

/* ==========================================================================
   3. Reveal engine — reproduces the parent theme's AOS fade-up curve
   ========================================================================== */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-aos="fade-up"].aos-animate { opacity: 1; transform: translate3d(0, 0, 0); }

[data-aos="fade"] { opacity: 0; transition: opacity 0.9s ease; }
[data-aos="fade"].aos-animate { opacity: 1; }

/* ==========================================================================
   4. Hero
   ========================================================================== */
.giveaway-hero {
  /* Redline's .home-hero is a hard height:100vh. This copy is longer than
     "MORE THAN MACHINES", so the hero keeps the full-screen feel via
     min-height but may grow rather than clip. */
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  /* Clears the fixed header: 154px desktop, ~108px at the mobile breakpoint. */
  padding-top: 178px !important;
  padding-bottom: var(--s-6);
  isolation: isolate;
}
@media (max-width: 991px) {
  .giveaway-hero { padding-top: 134px !important; padding-bottom: var(--s-5); }
}

/* Ken Burns drift on its own layer so the scrim stays put. image-set() serves
   WebP where supported; the breakpoints keep a phone off the desktop file. */
.giveaway-hero .hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center 62%;
  background-repeat: no-repeat;
  background-image: image-set(
    url("../img/hero-twilight-1000.webp") type("image/webp"),
    url("../img/hero-twilight-1000.jpg")  type("image/jpeg")
  );
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@media (min-width: 768px) {
  .giveaway-hero .hero-media {
    background-image: image-set(
      url("../img/hero-twilight-1600.webp") type("image/webp"),
      url("../img/hero-twilight-1600.jpg")  type("image/jpeg")
    );
  }
}
@media (min-width: 1500px), (min-resolution: 2dppx) and (min-width: 900px) {
  .giveaway-hero .hero-media {
    background-image: image-set(
      url("../img/hero-twilight-2400.webp") type("image/webp"),
      url("../img/hero-twilight-2400.jpg")  type("image/jpeg")
    );
  }
}
@keyframes heroDrift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.07) translate3d(0, -1.2%, 0); }
}

/* Warm gold wash at the base, picking up the hall's lit windows */
.giveaway-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 70% at 50% 96%, rgba(194, 152, 105, 0.20), transparent 62%),
    radial-gradient(64% 52% at 50% 46%, rgba(12, 12, 9, 0.52), transparent 76%),
    linear-gradient(to bottom, rgba(12, 12, 9, 0.62) 0%, rgba(12, 12, 9, 0.12) 34%, rgba(12, 12, 9, 0.9) 100%);
  pointer-events: none;
}

.giveaway-hero .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 0 var(--s-3);
  margin: 0 auto;
}

/* Hero rhythm */
.giveaway-hero .eyebrow      { margin-bottom: var(--s-2); }
.giveaway-hero .page-title   { margin-bottom: var(--s-3); }
.giveaway-hero .deco-divider { margin-bottom: var(--s-3); }
.giveaway-hero .lede         { max-width: 52ch; margin-left: auto; margin-right: auto; text-wrap: pretty; }

/* The two experience names on a central axis */
.hero-prizes {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-3);
  margin-top: var(--s-4);
}
.hero-prizes .experience-name { white-space: nowrap; }
.hero-prizes .sep {
  width: 7px;
  height: 7px;
  border: 1px solid var(--gh-gold);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
@media (max-width: 620px) { .hero-prizes { flex-direction: column; gap: var(--s-2); } }

.hero-cta { margin-top: var(--s-5); }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: var(--s-3);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-1);
  color: var(--gh-gold);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}
.scroll-cue .cue-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gh-gold), transparent);
  animation: cuePulse 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cuePulse {
  0%, 100% { transform: scaleY(0.35); opacity: 0.45; }
  50%      { transform: scaleY(1);    opacity: 1; }
}
/* The hero CTA does this job on a phone, and the cue would collide with it */
@media (max-width: 860px), (max-height: 760px) { .scroll-cue { display: none; } }

/* ==========================================================================
   5. AMT | Redline lockup
   The printed A5 menu opens with this lockup, so the page does too.
   ========================================================================== */
.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 var(--s-3);
}
.brand-lockup picture { display: block; line-height: 0; }
.brand-lockup img { display: block; height: auto; }
.brand-lockup .lockup-amt { width: clamp(64px, 6vw, 82px); }
.brand-lockup .lockup-redline { width: clamp(38px, 3.6vw, 48px); }
.brand-lockup .lockup-rule {
  flex: 0 0 auto;
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.32);
}

/* ==========================================================================
   6. Section furniture
   ========================================================================== */
.section { padding: var(--s-7) 0; position: relative; }
@media (max-width: 767px) { .section { padding: var(--s-6) 0; } }

.section-head { text-align: center; max-width: 700px; margin: 0 auto; padding: 0 var(--s-3); }
.section-head .eyebrow { margin-bottom: var(--s-2); }
.section-head .section-title { margin-bottom: var(--s-3); }
.section-head .lede { margin: 0 auto; }
.section-head .deco-rule { margin-top: var(--s-4); }

/* In-page anchors must clear the fixed Redline header */
html { scroll-behavior: smooth; }
#enter, #prizes { scroll-margin-top: 118px; }
@media (min-width: 992px) { #enter, #prizes { scroll-margin-top: 172px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ==========================================================================
   6b. Header hide-on-scroll
   A campaign-layer addition, not part of the Redline 1:1 header. Redline's
   header is fixed and never hides; this slides it away on the way down and
   brings it back on the way up, which also keeps the transparent bar off
   mid-page content.
   ========================================================================== */
/* No will-change here. A transform or will-change on the header would make it
   the containing block for its position:fixed descendants, and the mobile
   drawer is one — it collapsed to the header's height instead of filling the
   viewport. In the resting state the transform is none, so the drawer is
   viewport-fixed as intended; the transform only exists while the header is
   off-screen, when the drawer cannot be opened anyway. */
.header-section {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-section.is-hidden { transform: translateY(-100%); }

/* Belt and braces: if the drawer is ever open, the header must not be
   transformed, whatever the scroll handler thinks. */
.header-section:has(#mobile-menu-toggle:checked) { transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .header-section { transition: none; }
}

/* ==========================================================================
   7. The experiences — deco-framed cards
   ========================================================================== */
.prize-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  max-width: 1080px;
  margin: var(--s-6) auto 0;
  padding: 0 var(--s-3);
}
@media (min-width: 860px) { .prize-grid { grid-template-columns: 1fr 1fr; } }

.prize-card {
  position: relative;
  padding: 14px;
  border: 1px solid var(--gh-gold-faint);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0));
  transition: border-color 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.prize-card:hover { border-color: var(--gh-gold-dim); transform: translateY(-4px); }

.prize-card .shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #111;
}
.prize-card .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.prize-card:hover .shot img { transform: scale(1.09); }
.prize-card .shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12, 12, 9, 0.55) 0%, transparent 46%),
    linear-gradient(to bottom, rgba(12, 12, 9, 0.34) 0%, transparent 24%);
}

.prize-card .prize-body { padding: var(--s-4) var(--s-2) var(--s-2); text-align: center; }
.prize-card .kicker { margin-bottom: var(--s-2); }
.prize-card .experience-name { margin-bottom: var(--s-3); }
.prize-card .prize-text {
  font-family: var(--font-body);
  font-size: var(--t-small);
  font-weight: 400;
  letter-spacing: var(--ls-body);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ==========================================================================
   8. Form
   ========================================================================== */
.form-section { position: relative; overflow: hidden; }
.form-section .deco-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background:
    radial-gradient(60% 46% at 50% 0%, rgba(194, 152, 105, 0.13), transparent 70%),
    radial-gradient(48% 40% at 50% 100%, rgba(223, 52, 53, 0.07), transparent 72%);
}

.form-shell { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 0 var(--s-3); }

.form-panel {
  position: relative;
  margin-top: var(--s-5);
  padding: clamp(28px, 4vw, 52px) clamp(20px, 3.4vw, 46px);
  border: 1px solid var(--gh-gold-faint);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  backdrop-filter: blur(2px);
}

.field-row { display: grid; grid-template-columns: 1fr; gap: var(--s-3); margin-bottom: var(--s-3); }
@media (min-width: 620px) { .field-row.two-up { grid-template-columns: 1fr 1fr; } }

.field { position: relative; margin-bottom: var(--s-3); }
.field-row .field { margin-bottom: 0; }

/* Field labels and legends use the single label style */
.field > label,
.fieldset-legend {
  display: block;
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  line-height: 1.7;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: var(--s-1);
}
.fieldset-legend .req,
.field > label .req { color: var(--rl-red); margin-left: 4px; }

.field-hint {
  display: block;
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: var(--ls-body);
  text-transform: none;
  color: var(--gh-grey-light);
  margin-top: 4px;
}

.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--t-body);
  letter-spacing: var(--ls-body);
  padding: 10px 2px 12px;
  outline: 0;
  transition: border-color 0.35s ease;
  border-radius: 0;
  -webkit-appearance: none;
}
.field input::placeholder { color: rgba(255, 255, 255, 0.3); }
.field input:hover { border-bottom-color: rgba(255, 255, 255, 0.4); }
.field input:focus { border-bottom-color: var(--gh-gold); }

.field .underline {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--gh-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.field input:focus ~ .underline { transform: scaleX(1); }

fieldset { border: 0; margin: 0 0 var(--s-3); padding: 0; }
fieldset:last-of-type { margin-bottom: 0; }

.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* Yes / No / Maybe: on a narrow panel the third option fills the row rather
   than sitting as a half-width orphan. Wider panels fit all three across. */
.choice-row > .choice:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
@media (min-width: 620px) {
  .choice-row { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
  .choice-row > .choice:last-child:nth-child(2n+1) { grid-column: auto; }
}
.choice-col { display: grid; gap: 10px; }

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.014);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
  font-family: var(--font-body);
  font-size: var(--t-small);
  letter-spacing: var(--ls-body);
  color: rgba(255, 255, 255, 0.82);
}
@media (max-width: 420px) { .choice { padding: 0 13px; gap: 9px; } }
.choice:hover { border-color: var(--gh-gold-dim); background: rgba(255, 255, 255, 0.035); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }

.choice .mark {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  position: relative;
  transition: border-color 0.3s ease;
}
.choice .mark.radio { border-radius: 50%; }
.choice .mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--gh-gold);
  transform: scale(0);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.choice .mark.radio::after { border-radius: 50%; }
.choice input:checked ~ .mark { border-color: var(--gh-gold); }
.choice input:checked ~ .mark::after { transform: scale(1); }
.choice:has(input:checked) {
  border-color: var(--gh-gold);
  background: rgba(194, 152, 105, 0.075);
  color: #fff;
}
.choice input:focus-visible ~ .mark { outline: 2px solid var(--rl-red); outline-offset: 3px; }

.consent { margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.consent .choice {
  align-items: flex-start;
  padding: 14px 16px;
  min-height: 0;
  font-size: var(--t-label);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
}
.consent .choice .mark { margin-top: 4px; }
.consent .choice + .choice { margin-top: 10px; }
.consent a { color: var(--gh-gold); text-decoration: underline; text-underline-offset: 3px; }
.consent a:hover { color: #fff; }

.form-submit { margin-top: var(--s-4); text-align: center; }
.btn-enter {
  width: 100%;
  max-width: 520px;          /* the label needs 419px on one line */
  height: auto;
  min-height: 58px;
  line-height: 1.7;
  padding: 14px 28px;
}
.form-consent {
  margin: var(--s-3) auto 0;
  max-width: 46ch;
  font-family: var(--font-body);
  font-size: var(--t-label);
  letter-spacing: var(--ls-body);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.66);
}
.form-consent a { color: var(--gh-gold); text-decoration: underline; text-underline-offset: 3px; }
.form-consent a:hover { color: #fff; }

.form-footnote {
  margin: var(--s-2) 0 0;
  font-family: var(--font-body);
  font-size: var(--t-label);
  letter-spacing: var(--ls-body);
  line-height: 1.85;
  color: var(--gh-grey-light);
}

/* Validation */
.field.has-error input { border-bottom-color: var(--rl-red); }
.choice.has-error { border-color: var(--rl-red); background: rgba(223, 52, 53, 0.06); }
.choice.has-error .mark { border-color: var(--rl-red); }
fieldset.has-error .choice { border-color: rgba(223, 52, 53, 0.45); }
.field-error,
.fieldset-error {
  display: none;
  margin-top: var(--s-1);
  font-family: var(--font-body);
  font-size: var(--t-label);
  letter-spacing: var(--ls-body);
  color: var(--rl-red);
}
.has-error .field-error,
.has-error .fieldset-error { display: block; }

.form-status {
  display: none;
  margin-bottom: var(--s-3);
  padding: 14px 18px;
  border-left: 2px solid var(--rl-red);
  background: rgba(223, 52, 53, 0.08);
  font-family: var(--font-body);
  font-size: var(--t-small);
  letter-spacing: var(--ls-body);
  color: #fff;
}
.form-status.is-shown { display: block; }
/* Not every message is a problem — "your entry is already in" is good news. */
.form-status.is-info {
  border-left-color: var(--success);
  background: rgba(34, 164, 93, 0.09);
}

/* ==========================================================================
   9. Success page
   ========================================================================== */
.ty-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(140px, 16vh, 196px) var(--s-3) var(--s-6);
  overflow: hidden;
}
.ty-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(46% 42% at 50% 44%, rgba(194, 152, 105, 0.11), transparent 70%);
}
.ty-inner { position: relative; z-index: 2; max-width: 680px; }

/* Success mark */
.ty-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: var(--s-4);
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08),
              0 18px 44px -12px rgba(34, 164, 93, 0.65);
  animation: tickIn 0.7s cubic-bezier(0.34, 1.4, 0.64, 1) 0.15s both;
}
.ty-tick .rl-icon { width: 34px; height: 34px; stroke-width: 2.4; }
@keyframes tickIn {
  from { opacity: 0; transform: scale(0.72); }
  to   { opacity: 1; transform: scale(1); }
}
@media (max-width: 600px) {
  .ty-tick { width: 62px; height: 62px; margin-bottom: var(--s-3); }
  .ty-tick .rl-icon { width: 30px; height: 30px; }
}

.ty-hero .page-title { margin-bottom: var(--s-4); }
.ty-hero .lede { max-width: 46ch; margin-left: auto; margin-right: auto; text-wrap: pretty; }
.ty-hero .meta { margin-top: var(--s-4); }

/* "Where next" sits inside the hero, one clear break below the confirmation */
.ty-next { margin-top: var(--s-7); }
.ty-next .deco-divider { margin-bottom: var(--s-5); }
.ty-next .eyebrow { margin-bottom: var(--s-2); }
.ty-next .section-title { margin-bottom: var(--s-3); }

.amt-family { position: relative; padding: 0 0 var(--s-7); }

.tile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--s-3);
}
@media (min-width: 560px)  { .tile-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tile-grid { grid-template-columns: repeat(4, 1fr); } }

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 200px;
  padding: var(--s-4) var(--s-3) var(--s-3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  text-decoration: none;
  transition: border-color 0.45s ease, background 0.45s ease;
}
.tile:hover { border-color: var(--gh-gold-dim); background: rgba(255, 255, 255, 0.022); }
.tile .tile-go { display: flex; align-items: center; gap: var(--s-1); transition: color 0.3s ease, gap 0.35s ease; }
.tile:hover .tile-go { gap: 15px; }
.tile .tile-go .rl-icon { width: 14px; height: 14px; }

.amt-cta { text-align: center; margin-top: var(--s-6); }
.amt-cta .rl-btn {
  height: auto;
  min-height: 56px;
  line-height: 1.7;
  padding: 14px 40px;
}

/* ==========================================================================
   10. Terms modal
   ========================================================================== */
/* display cannot be transitioned, so the modal stays laid out and animates on
   opacity, visibility and transform. [hidden] is kept as the no-JS fallback:
   the script clears it a frame before adding .is-open so the entry transition
   runs, and restores it after the exit transition finishes. */
.terms-modal {
  display: grid;
  align-content: start;
  padding: clamp(16px, 5vh, 64px) var(--s-3);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(0px);
  transition: opacity 0.34s ease,
              visibility 0.34s linear,
              backdrop-filter 0.34s ease;
}
.terms-modal[hidden] { display: none; }
.terms-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  backdrop-filter: blur(6px);
}

.terms-panel {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: var(--black);
  border: 1px solid var(--gh-gold-faint);
  display: flex;
  flex-direction: column;
  max-height: calc(100svh - clamp(32px, 10vh, 128px));
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transform-origin: center top;
  transition: opacity 0.3s ease,
              transform 0.44s cubic-bezier(0.16, 1, 0.3, 1);
}
.terms-modal.is-open .terms-panel { opacity: 1; transform: none; }

.terms-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-4) var(--s-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.terms-head .eyebrow { margin-bottom: var(--s-1); }
.terms-title {
  font-family: var(--font-display), sans-serif;
  font-size: var(--t-section);
  font-weight: 500;
  letter-spacing: var(--ls-display);
  line-height: 1.25;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.terms-close {
  flex: 0 0 auto;
  background: none;
  border: 0;
  color: var(--gh-grey-light);
  font-size: 26px;
  line-height: 1;
  padding: 2px;
  cursor: pointer;
  transition: color 0.3s ease;
}
.terms-close:hover { color: var(--rl-red); }
.terms-close .rl-icon { width: 26px; height: 26px; }

.terms-body {
  overflow-y: auto;
  padding: var(--s-4);
  -webkit-overflow-scrolling: touch;
}
.terms-body h3 {
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--gh-gold);
  margin: var(--s-4) 0 var(--s-2);
}
.terms-body h3:first-of-type { margin-top: 0; }
.terms-body p, .terms-body li {
  font-family: var(--font-body);
  font-size: var(--t-small);
  letter-spacing: var(--ls-body);
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 var(--s-2);
}
.terms-body ul { margin: 0 0 var(--s-2); padding-left: 20px; }
.terms-body li { margin-bottom: var(--s-1); }
.terms-body a { color: var(--gh-gold); text-underline-offset: 3px; }

.terms-foot {
  padding: var(--s-3) var(--s-4) var(--s-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.doc-placeholder {
  color: var(--rl-red);
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: var(--ls-label);
}
.doc-note {
  margin-bottom: var(--s-4);
  padding: var(--s-3);
  border-left: 2px solid var(--gh-gold);
  background: rgba(194, 152, 105, 0.06);
  font-family: var(--font-body);
  font-size: var(--t-small);
  letter-spacing: var(--ls-body);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.75);
}
.doc-note strong { color: #fff; }

@media (max-width: 600px) {
  .terms-head, .terms-body { padding-left: var(--s-3); padding-right: var(--s-3); }
  .terms-foot { padding: var(--s-3); }
}

/* ==========================================================================
   11. Reduced motion — everything settles into its final state
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .giveaway-hero .hero-media { animation: none; transform: none; }
  .ty-tick { animation: none; opacity: 1; transform: none; }
  .scroll-cue .cue-line { animation: none; transform: scaleY(1); opacity: 1; }
  .deco-rule { transform: scaleX(1); }
  .terms-modal, .terms-panel { transition: none !important; }
  .terms-panel { transform: none !important; }
  .prize-card:hover { transform: none; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}
