/* =====================================================
   Little Miss — landing page styles
   Palette: deep navy ink, champagne gold, silver white
   ===================================================== */

:root {
  --ink: #0b1017;
  --ink-2: #121a24;
  --panel: rgba(18, 25, 34, .82);
  --slate: #41586d;
  --champagne: #e8d5b7;
  --champagne-2: #cfa97a;
  --silver: #eef0f2;
  --text-light: #f4f2ee;
  --text-dark: #1c2430;
  --muted-light: rgba(244, 242, 238, .78);
  --muted-dark: #4c5866;
  --font-display: "Cormorant", Georgia, serif;
  --font-body: "Montserrat", Arial, sans-serif;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--ink);
}

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

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.container.narrow { width: min(860px, 92%); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(11, 16, 23, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 213, 183, .12);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  white-space: nowrap;
}

.nav__logo span { color: var(--champagne); font-style: italic; }

.nav__links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin-left: auto;
}

.nav__links a {
  color: var(--muted-light);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s;
}

.nav__links a:hover { color: var(--champagne); }

.nav__cta {
  color: var(--champagne);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.nav__burger span {
  width: 24px;
  height: 2px;
  background: var(--champagne);
  transition: transform .3s, opacity .3s;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}

.btn--gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--champagne) 0%, var(--champagne-2) 100%);
  color: #241a0e;
  box-shadow: 0 10px 30px rgba(207, 169, 122, .35);
}

/* periodic specular sweep across the gold button */
.btn--gold::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: translateX(-160%) skewX(-20deg);
  animation: btn-shine 5.2s ease-in-out infinite;
}

@keyframes btn-shine {
  0%, 74% { transform: translateX(-160%) skewX(-20deg); }
  88%, 100% { transform: translateX(340%) skewX(-20deg); }
}

.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(207, 169, 122, .5); }

.btn--ghost {
  border: 1px solid rgba(232, 213, 183, .55);
  color: var(--champagne);
}

.btn--ghost:hover { background: rgba(232, 213, 183, .12); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: max(100svh, 700px);
  display: flex;
  align-items: flex-start;
  background: var(--ink);
  overflow: hidden;
}

/* animated background layer: slow "ken burns" zoom on the crown */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/img/hero.jpg") center 72% / cover no-repeat;
  animation: hero-zoom 26s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 16, 23, .78) 0%, rgba(11, 16, 23, .25) 46%, rgba(11, 16, 23, .82) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 0 90px;
}

.hero__kicker {
  color: var(--text-light);
  font-size: clamp(.8rem, 1.4vw, 1rem);
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  margin-bottom: 30px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .8);
}

.hero__title {
  position: relative;
  display: block;
  margin: 0 auto 10px;
  max-width: 640px;
}

.hero__word {
  width: 100%;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .7));
}

.hero__script {
  width: 78%;
  margin: -10% auto 0;
  transform: translateX(4%);
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .7));
  animation: script-glow 5.5s ease-in-out infinite;
}

@keyframes script-glow {
  0%, 100% { filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .7)) drop-shadow(0 0 14px rgba(232, 213, 183, 0)); }
  50% { filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .7)) drop-shadow(0 0 18px rgba(232, 213, 183, .45)); }
}

.hero__region {
  display: block;
  margin-top: 4%;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: .42em;
  text-indent: .42em; /* recenter: letter-spacing adds a trailing gap */
  text-transform: uppercase;
  color: var(--text-light);
  text-shadow: 0 2px 16px rgba(0, 0, 0, .8);
}

.hero__region small {
  display: block;
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: clamp(.72rem, 1.3vw, .9rem);
  font-weight: 600;
  letter-spacing: .5em;
  text-indent: .5em;
  color: var(--champagne);
}

.hero__actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 46px 0 56px;
}

.hero__sponsor {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  border: 1px solid rgba(232, 213, 183, .3);
  border-radius: 12px;
  background: rgba(18, 25, 34, .55);
  backdrop-filter: blur(6px);
}

.hero__sponsor-mark,
.sponsor__mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-light);
  border: 1px solid rgba(244, 242, 238, .7);
  padding: 6px 10px;
  line-height: 1;
}

.hero__sponsor-text { text-align: left; color: var(--text-light); }
.hero__sponsor-text span { font-family: var(--font-display); letter-spacing: .18em; text-transform: uppercase; }
.hero__sponsor-text small { display: block; font-size: .68rem; color: var(--muted-light); letter-spacing: .08em; }

.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, transparent, var(--champagne));
  animation: drop 2.2s ease-in-out infinite;
  z-index: 1;
}

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

/* ---------- recruitment band ---------- */
.band {
  background: linear-gradient(90deg, #3c536a 0%, var(--slate) 50%, #3c536a 100%);
  color: var(--text-light);
  text-align: center;
  padding: 26px 0;
}

.band__title {
  font-size: clamp(1.05rem, 2.4vw, 1.6rem);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.band__note { font-size: .8rem; letter-spacing: .18em; color: rgba(244, 242, 238, .75); margin-top: 6px; }

/* ---------- sections ---------- */
.section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background-size: cover;
  background-position: center;
}

.section > .container { position: relative; z-index: 1; }

/* ---------- diamond sparkles ---------- */
.sparkle-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero .sparkle-layer { z-index: 1; }

.sparkle {
  position: absolute;
  opacity: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 70%);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: twinkle var(--dur, 3.5s) ease-in-out var(--delay, 0s) infinite;
}

.sparkle--gold {
  background: radial-gradient(circle, rgba(236, 214, 178, .95) 0%, rgba(236, 214, 178, 0) 70%);
}

/* scrolled out of view: stop burning frames on invisible sparkles */
.sparkle-layer.is-idle .sparkle { animation-play-state: paused; }

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(.25) rotate(0deg); }
  50% { opacity: var(--peak, .85); transform: scale(1) rotate(45deg); }
}

/* Section backdrops live here rather than inline so the mobile variants below
   can replace them - an inline style would win over any media query. */
.bg--ink { background-image: url("../assets/img/bg-dark.jpg"); }
.bg--ink2 { background-image: url("../assets/img/bg-dark2.jpg"); }
.bg--light { background-image: url("../assets/img/bg-light.jpg"); }

.section--dark { color: var(--text-light); background-color: var(--ink-2); }
.section--plain { background-color: var(--ink); }
.section--light { background: linear-gradient(180deg, #f4f5f6 0%, #e9ebee 100%); }
.section--silver { background-color: var(--silver); }

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 34px;
}

.h2--light { color: var(--champagne); }
.h2--xl { font-size: clamp(2.2rem, 5vw, 3.6rem); text-align: center; }

.lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted-light);
  margin-bottom: 34px;
  max-width: 62ch;
}

.lead--dark { color: var(--muted-dark); }

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

/* ---------- cards ---------- */
.card {
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 22px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.card--outline:hover,
.card--steel:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 213, 183, .85);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

.card__title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.card--outline {
  background: var(--panel);
  border: 1px solid rgba(207, 169, 122, .45);
  color: var(--muted-light);
  box-shadow: var(--shadow);
}

.card--outline .card__title { color: var(--text-light); }

.card--steel {
  background: linear-gradient(135deg, #3a4553 0%, #5c6a7a 100%);
  color: var(--text-light);
  border: 1px solid rgba(207, 169, 122, .5);
  box-shadow: var(--shadow);
}

.card--steel .card__title { color: #fff; }
.card--steel p { color: rgba(244, 242, 238, .92); }

.card--name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}

/* ---------- split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.split--reverse { grid-template-columns: .95fr 1.05fr; }
.split--reverse .split__text { order: 1; }
.split--reverse .split__media { order: 2; }

.split__text--center { align-self: center; }

.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split__media img { width: 100%; height: 100%; object-fit: cover; }

.split__media--tall { max-height: 640px; }
.split__media--tall img { max-height: 640px; }

/* cutout image blended straight into a light section, no card frame */
.split__media--plain {
  border-radius: 0;
  box-shadow: none;
}

.split__media--plain img { filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .22)); }

/* ---------- program PS note ---------- */
.ps-note {
  margin-top: 44px;
  text-align: center;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* ---------- jury ---------- */
.jury__host {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ---------- opening ---------- */
.opening__date {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: .2em;
  text-indent: .2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--champagne);
}

/* ---------- grand final ---------- */
.final__sub {
  margin: -14px 0 40px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* ---------- tiles ---------- */
.tiles { display: grid; gap: 22px; }

/* ---------- price ---------- */
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  border: 1px solid rgba(207, 169, 122, .55);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px 32px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.price-tag__value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--champagne);
  line-height: 1;
}

.price-tag__label {
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--text-light);
}

.list-heading {
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.checklist { list-style: none; }

.checklist li {
  position: relative;
  padding: 7px 0 7px 34px;
  color: var(--muted-light);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--champagne), var(--champagne-2));
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); /* tiny gem */
}

/* ---------- application form ---------- */
.form { text-align: left; }

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  margin-bottom: 20px;
}

.form__field { display: block; }

.form__field--wide { grid-column: 1 / -1; }

.form__label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 8px;
}

.form__input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(232, 213, 183, .28);
  background: rgba(11, 16, 23, .6);
  color: var(--text-light);
  font: inherit;
  transition: border-color .25s, box-shadow .25s;
}

.form__input::placeholder { color: rgba(244, 242, 238, .55); }

.form__input:focus {
  outline: none;
  border-color: var(--champagne);
  box-shadow: 0 0 0 3px rgba(232, 213, 183, .15);
}

.form__input.is-invalid { border-color: #d9846f; }

select.form__input {
  appearance: none;
  cursor: pointer;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23e8d5b7' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* unselected state reads as a placeholder, matching the text inputs */
select.form__input:invalid { color: rgba(244, 242, 238, .55); }

select.form__input option { background: var(--ink-2); color: var(--text-light); }

.form__textarea { resize: vertical; min-height: 92px; }

.form__consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--muted-light);
  margin-bottom: 18px;
  cursor: pointer;
}

.form__consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--champagne-2);
  flex-shrink: 0;
  cursor: pointer;
}

.form__error {
  color: #eba28f;
  font-size: .9rem;
  margin: 10px 0 16px;
}

.form__error:empty { margin: 0; }

.form__consent input.is-invalid {
  outline: 2px solid #d9846f;
  outline-offset: 2px;
}

.form__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form__actions .btn { border: 0; cursor: pointer; font-family: inherit; }

.form__actions .btn--ghost {
  border: 1px solid rgba(232, 213, 183, .55);
  background: transparent;
}

.form__hint {
  font-size: .8rem;
  color: rgba(244, 242, 238, .6);
  margin-top: 16px;
}

/* honeypot: off-screen rather than display:none, which bots skip */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__actions .btn:disabled { opacity: .65; cursor: progress; }

/* ---------- submitted state ---------- */
.form-success {
  text-align: center;
  border: 1px solid rgba(207, 169, 122, .45);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 46px 32px;
}

.form-success__mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--champagne), var(--champagne-2));
  color: #241a0e;
  font-size: 2rem;
  line-height: 62px;
}

.form-success__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 12px;
}

.form-success__text { color: var(--muted-light); max-width: 46ch; margin-inline: auto; }
.form-success__text a { color: var(--champagne); white-space: nowrap; }

@media (max-width: 700px) {
  .form__grid { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; text-align: center; }
}

/* ---------- CTA / contacts ---------- */
.section--cta { text-align: center; padding-bottom: 110px; }

.cta__crown {
  width: 210px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 24px rgba(232, 213, 183, .25));
  animation: crown-float 6s ease-in-out infinite;
}

@keyframes crown-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.cta__actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */
.footer {
  background: #070b10;
  color: var(--muted-light);
  padding: 54px 0 40px;
  text-align: center;
  border-top: 1px solid rgba(232, 213, 183, .12);
}

.footer__heading {
  font-size: .8rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin-bottom: 26px;
  color: rgba(244, 242, 238, .6);
}

.footer__sponsors {
  display: flex;
  gap: 26px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

img.sponsor {
  width: 150px;
  border-radius: 10px;
  background: #fff;
}

.sponsor--mv {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #3c536a;
  border-radius: 10px;
  padding: 14px 20px;
  color: var(--text-light);
}

.sponsor__caption { text-align: left; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.sponsor__caption small { text-transform: none; letter-spacing: 0; color: var(--muted-light); }

.footer__copy { font-size: .8rem; color: rgba(244, 242, 238, .45); }

.footer__legal { margin-top: 12px; font-size: .78rem; }
.footer__legal a { color: rgba(232, 213, 183, .7); text-decoration: none; }
.footer__legal a:hover { color: var(--champagne); text-decoration: underline; }

/* consent checkbox links to the privacy policy - keep it legible on the dark card */
.form__consent a { color: var(--champagne); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- legal pages ---------- */
.legal { padding-top: 140px; }

.legal h1 { margin-bottom: 8px; }

.legal__meta {
  text-align: center;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(244, 242, 238, .5);
  margin-bottom: 44px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--champagne);
  margin: 34px 0 12px;
}

.legal p,
.legal li { color: var(--muted-light); }

.legal p { margin-bottom: 12px; }

.legal ul { margin: 0 0 16px 22px; }

.legal li { padding: 3px 0; }

.legal a { color: var(--champagne); text-decoration: underline; text-underline-offset: 3px; }

.legal__back { margin-top: 46px; }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

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

/* once revealed, cards switch to a snappy hover transition */
.card.reveal.is-visible {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, opacity .35s ease;
}

/* gentle settle-zoom on section photos while they reveal */
.split__media.reveal img {
  transform: scale(1.06);
  transition: transform 1.3s ease;
}

.split__media.reveal.is-visible img { transform: scale(1); }

/* ---------- mobile performance ---------- */
/* Phone GPUs stall on per-frame filter work: a blurred fixed header repaints on
   every scroll frame, animated drop-shadow forces a full repaint of its layer,
   and scaling a 1200px photo rasterises it at full size. The look survives
   without them; the scrolling does not. */
@media (max-width: 960px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(11, 16, 23, .94);
  }

  .hero::before,
  .hero__script,
  .cta__crown,
  .btn--gold::after { animation: none; }

  .split__media.reveal img,
  .split__media.reveal.is-visible img { transform: none; transition: none; }

  /* keep the reveal fade, drop the travel - cheaper and less janky on scroll */
  .reveal { transform: translateY(14px); }

  /* half-size backdrops: a 1600px JPEG costs ~12MB of decoded memory per layer */
  .hero::before { background-image: url("../assets/img/hero-m.jpg"); }
  .bg--ink { background-image: url("../assets/img/bg-dark-m.jpg"); }
  .bg--ink2 { background-image: url("../assets/img/bg-dark2-m.jpg"); }
  .bg--light { background-image: url("../assets/img/bg-light-m.jpg"); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .split__media.reveal img { transform: none; transition: none; }
  .hero__scroll { animation: none; }
  .hero::before,
  .hero__script,
  .btn--gold::after,
  .sparkle { animation: none; }
  .sparkle { display: none; }
  .card--outline:hover,
  .card--steel:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .split, .split--reverse { grid-template-columns: 1fr; gap: 34px; }
  .split--reverse .split__text { order: 2; }
  .split--reverse .split__media { order: 1; }
  .split__media { max-width: 560px; margin-inline: auto; }
  .nav__links {
    position: fixed;
    top: 61px;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 16, 23, .97);
    width: min(320px, 80vw);
    height: calc(100vh - 61px);
    padding: 28px;
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a { display: block; padding: 14px 0; font-size: 1rem; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero__inner { padding-top: 110px; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .card { padding: 22px; }
  .cta__actions .btn { width: 100%; }
}
