/* ============================================================
   Elena & Louis — wedding invitation
   Palette: alpine mist paper, slate ink, harbour blue accent
   ============================================================ */

:root {
  --ink: #131c23;
  --ink-2: #35454f;
  --ink-3: #6d7c85;
  --paper: #edefee;
  --paper-2: #e3e7e6;
  --paper-3: #f6f7f6;
  --harbour: #26536a;
  --harbour-deep: #17384a;
  --line: rgba(19, 28, 35, 0.14);
  --line-soft: rgba(19, 28, 35, 0.08);
  --white: #ffffff;

  --font-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Karla", ui-sans-serif, "Helvetica Neue", sans-serif;

  --max: 1180px;
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  background-color: var(--paper);
  background-image:
    radial-gradient(120% 80% at 8% -10%, rgba(38, 83, 106, 0.16), transparent 62%),
    radial-gradient(90% 70% at 100% 4%, rgba(196, 152, 137, 0.16), transparent 58%),
    radial-gradient(80% 60% at 50% 108%, rgba(38, 83, 106, 0.12), transparent 60%),
    linear-gradient(180deg, #e7ebea 0%, var(--paper) 22%, var(--paper-3) 58%, #e9edec 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Film grain: atmosphere without another gradient */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23g)' opacity='0.18'/></svg>");
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: var(--harbour-deep);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.005em;
}

strong {
  font-weight: 600;
}

[tabindex="-1"]:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--harbour);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 120;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.1rem;
  font-size: 0.9rem;
  text-decoration: none;
}

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

/* ------------------------------------------------------------
   Header + navigation
   ------------------------------------------------------------ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--white);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 20, 27, 0.55), rgba(10, 20, 27, 0));
  opacity: 1;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(237, 239, 238, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-soft);
}

.site-header.is-solid::before {
  opacity: 0;
}

.header-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0.85rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.amp {
  font-style: italic;
  opacity: 0.75;
  padding: 0 0.05em;
}

.nav {
  display: none;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2rem);
}

.nav a {
  position: relative;
  color: inherit;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  opacity: 0.86;
  transition: opacity 0.3s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.nav a:hover,
.nav a[aria-current="true"] {
  opacity: 1;
}

.nav a:hover::after,
.nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav .nav-rsvp {
  opacity: 1;
}

.nav .nav-rsvp::after {
  transform: scaleX(1);
  height: 1.5px;
}

.site-header:not(.is-solid) .nav a,
.site-header:not(.is-solid) .brand {
  text-shadow: 0 1px 18px rgba(9, 17, 23, 0.45);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  border: 0;
  padding: 0.5rem 0;
  color: inherit;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle-label {
  min-width: 3.6rem;
  text-align: right;
}

.nav-toggle-bars {
  display: inline-grid;
  gap: 5px;
  width: 22px;
}

.nav-toggle-bars i {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: rgba(13, 22, 29, 0.42);
  backdrop-filter: blur(3px);
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.mobile-nav[data-open="false"] {
  opacity: 0;
  visibility: hidden;
}

.mobile-nav[data-open="true"] {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  display: grid;
  background: var(--paper-3);
  border-bottom: 1px solid var(--line-soft);
  padding: 0.75rem var(--gutter) 1.6rem;
  box-shadow: 0 30px 60px -30px rgba(13, 22, 29, 0.45);
  transform: translateY(-14px);
  transition: transform 0.4s var(--ease);
}

.mobile-nav[data-open="true"] .mobile-nav-panel {
  transform: translateY(0);
}

.mobile-nav-panel a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-nav-panel a:last-child {
  border-bottom: 0;
  color: var(--harbour-deep);
}

/* ------------------------------------------------------------
   Buttons + links
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 1px;
  padding: 1rem clamp(1.15rem, 4.5vw, 1.75rem);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn--fill {
  background: var(--ink);
  color: var(--paper-3);
}

.btn--fill:hover {
  background: var(--harbour-deep);
  transform: translateY(-2px);
}

.btn--line {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn--line:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.text-link {
  color: var(--harbour-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 56, 74, 0.35);
  padding-bottom: 1px;
  transition: border-color 0.3s var(--ease);
}

.text-link:hover {
  border-bottom-color: var(--harbour);
}

/* ------------------------------------------------------------
   Hero — one composition
   ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-media img {
  /* Full-body snow portrait: bias toward faces, crop the bright sky a little. */
  object-position: 48% 42%;
  transform: scale(1.05);
  transform-origin: 48% 40%;
  animation: hero-drift 26s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Extra top/bottom weight — bright snow needs more ink for white type. */
  background:
    linear-gradient(
      180deg,
      rgba(9, 18, 25, 0.74) 0%,
      rgba(9, 18, 25, 0.46) 32%,
      rgba(9, 18, 25, 0.18) 56%,
      rgba(9, 18, 25, 0.4) 84%,
      rgba(9, 18, 25, 0.62) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 1.75rem) var(--gutter) clamp(3rem, 9vh, 5.5rem);
  display: grid;
  align-items: start;
}

.hero-eyebrow {
  margin: 0 0 clamp(0.9rem, 2vh, 1.4rem);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero-title {
  margin: 0;
  display: grid;
  justify-items: start;
  font-size: clamp(3.6rem, 17vw, 9rem);
  line-height: 0.84;
  letter-spacing: -0.015em;
  /* Nudge names slightly off the left edge of the copy column. */
  padding-left: clamp(0.85rem, 3.5vw, 2rem);
}

.hero-eyebrow,
.hero-line,
.hero-actions {
  padding-left: clamp(0.85rem, 3.5vw, 2rem);
}

.hero-name {
  display: block;
}

.hero-amp {
  display: block;
  font-style: italic;
  font-size: 0.44em;
  line-height: 1.1;
  opacity: 0.8;
  padding-left: 0.06em;
}

.hero-line {
  margin: clamp(1.1rem, 3vh, 1.75rem) 0 0;
  max-width: 34ch;
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem);
  font-weight: 300;
  line-height: 1.55;
}

.hero-line #wedding-date-short,
.hero-line #wedding-location {
  display: inline;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.6rem, 4vh, 2.4rem);
}

.hero .btn--fill {
  background: var(--paper-3);
  color: var(--ink);
}

.hero .btn--fill:hover {
  background: var(--white);
}

@keyframes hero-drift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.09) translate3d(-1%, -1%, 0);
  }
}

/* ------------------------------------------------------------
   Countdown — sits in the hero copy stack
   ------------------------------------------------------------ */

.countdown {
  margin-top: clamp(1.35rem, 3.5vh, 2rem);
  padding-left: clamp(0.85rem, 3.5vw, 2rem);
  width: min(100%, 22rem);
}

.countdown-label {
  margin: 0 0 0.7rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem 0.75rem;
  align-items: start;
}

.countdown-unit {
  display: grid;
  gap: 0.2rem;
  justify-items: start;
  position: relative;
}

.countdown-unit:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.4rem;
  top: 0.28em;
  width: 1px;
  height: 1.1em;
  background: rgba(255, 255, 255, 0.28);
}

.countdown-value {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5.5vw, 2.55rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  min-width: 1.5ch;
}

.countdown-key {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ------------------------------------------------------------
   Section primitives
   ------------------------------------------------------------ */

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(4.5rem, 11vw, 8rem) var(--gutter);
}

.section-head {
  max-width: 44ch;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 52ch;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  color: var(--harbour);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 1.9rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  flex: none;
}

.section-head--center .kicker {
  justify-content: center;
}

.section h2 {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 3.9rem);
  line-height: 1.02;
}

.lead {
  margin: 1.1rem 0 0;
  max-width: 46ch;
  color: var(--ink-2);
  font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem);
  font-weight: 300;
}

.section-head--center .lead {
  margin-inline: auto;
}

/* ------------------------------------------------------------
   Details
   ------------------------------------------------------------ */

.details-grid {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3rem);
  margin-top: clamp(2.75rem, 6vw, 4rem);
}

.detail {
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.detail h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.detail-time {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  line-height: 1.12;
}

.detail-place {
  margin: 0.6rem 0 0;
  font-weight: 500;
}

.detail-address {
  margin: 0.3rem 0 0;
  color: var(--ink-2);
  font-weight: 300;
  font-size: 0.98rem;
}

/* ------------------------------------------------------------
   Schedule
   ------------------------------------------------------------ */

.timeline {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3rem) 0 0;
  padding: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: minmax(4.5rem, 7rem) 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: baseline;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line-soft);
}

.timeline li:first-child {
  border-top: 0;
  padding-top: 0;
}

.timeline .time {
  color: var(--harbour);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.timeline .event {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.2;
}

/* ------------------------------------------------------------
   Setting band
   ------------------------------------------------------------ */

.band {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) 0;
  background:
    radial-gradient(70% 120% at 12% 0%, rgba(38, 83, 106, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(227, 231, 230, 0) 0%, var(--paper-2) 18%, var(--paper-2) 82%, rgba(227, 231, 230, 0) 100%);
}

.band--photo {
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  min-height: clamp(32rem, 72vh, 46rem);
  display: grid;
  align-items: start;
  padding: clamp(3.5rem, 9vw, 5.5rem) 0 clamp(5rem, 12vw, 7rem);
  background: #152028;
}

.band-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bias down so the fortress stays visible under the top text panel. */
  object-position: 52% 72%;
  transform: scale(1.08);
  transform-origin: 50% 70%;
}

.band--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* Heavy top wash so the invitation copy sits cleanly over the photo. */
  background:
    linear-gradient(
      180deg,
      rgba(8, 14, 20, 0.9) 0%,
      rgba(8, 14, 20, 0.8) 26%,
      rgba(8, 14, 20, 0.45) 48%,
      rgba(8, 14, 20, 0.16) 70%,
      rgba(8, 14, 20, 0.32) 100%
    );
}

.band-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--gutter);
  max-width: min(100%, 62rem);
}

.band--photo .band-inner {
  max-width: min(100%, 44rem);
}

.band--photo .kicker {
  color: rgba(255, 255, 255, 0.82);
}

.band--photo .kicker::before {
  background: rgba(255, 255, 255, 0.55);
}

.statement {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  max-width: 30ch;
  font-weight: 400;
  text-wrap: pretty;
}

.statement-sub {
  margin: clamp(0.9rem, 2vw, 1.25rem) 0 0;
  max-width: 28ch;
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.25rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.statement-note {
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
  color: var(--ink-2);
  font-size: 0.98rem;
  font-weight: 300;
}

.band--photo .statement-note {
  color: rgba(255, 255, 255, 0.72);
}

.band--photo .text-link {
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.band--photo .text-link:hover {
  text-decoration-color: rgba(255, 255, 255, 0.85);
}

/* ------------------------------------------------------------
   Story gallery — real photos, mixed aspect ratios
   ------------------------------------------------------------ */

.gallery {
  display: grid;
  gap: clamp(0.9rem, 2.4vw, 1.75rem);
  margin-top: clamp(2.75rem, 6vw, 4.5rem);
}

.shot {
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 30px 60px -40px rgba(13, 22, 29, 0.5);
}

/* Per-photo framing: --z zooms, --zo picks the point to zoom toward. */
.shot img {
  transform: scale(var(--z, 1));
  transform-origin: var(--zo, 50% 50%);
  transition: transform 1.4s var(--ease);
}

.shot:hover img {
  transform: scale(calc(var(--z, 1) * 1.045));
}

.shot--1 {
  aspect-ratio: 4 / 5;
  --z: 1.18;
  --zo: 52% 62%;
}

.shot--1 img {
  object-position: 55% 46%;
}

.shot--2 {
  aspect-ratio: 4 / 3;
  --z: 1.06;
  --zo: 44% 42%;
}

.shot--2 img {
  object-position: 44% 34%;
}

.shot--3 {
  aspect-ratio: 3 / 4;
  --z: 1.08;
  --zo: 50% 36%;
}

.shot--3 img {
  object-position: 50% 32%;
}

.shot--4 {
  aspect-ratio: 4 / 3;
  --z: 1.04;
  --zo: 48% 45%;
}

.shot--4 img {
  object-position: 48% 40%;
}

.shot--5 {
  aspect-ratio: 5 / 4;
  --z: 1.1;
  --zo: 36% 48%;
}

.shot--5 img {
  object-position: 34% 46%;
}

.shot--6 {
  aspect-ratio: 3 / 4;
  --z: 1.08;
  --zo: 50% 36%;
}

.shot--6 img {
  object-position: 52% 28%;
}

/* ------------------------------------------------------------
   Travel & stay
   ------------------------------------------------------------ */

.stay-grid {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.25rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.stay-item h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.15;
}

.stay-item p {
  margin: 0;
  color: var(--ink-2);
  font-weight: 300;
}

.stay-link {
  margin-top: 0.9rem !important;
}

/* ------------------------------------------------------------
   RSVP
   ------------------------------------------------------------ */

.section--rsvp {
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.rsvp-body {
  margin-top: clamp(2.25rem, 5vw, 3rem);
}

.form-frame {
  background: var(--paper-3);
  border: 1px solid var(--line-soft);
  padding: 0.5rem;
}

.form-frame iframe {
  display: block;
  width: 100%;
  min-height: 1150px;
  border: 0;
  background: var(--white);
}

.form-fallback {
  margin: 1rem 0 0;
  color: var(--ink-2);
  font-size: 0.94rem;
  text-align: center;
}

.rsvp-pending {
  max-width: 32rem;
  margin: 0 auto;
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
  text-align: center;
}

.rsvp-pending-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.2;
}

.rsvp-pending p:last-child {
  margin: 0;
  color: var(--ink-2);
  font-weight: 300;
}

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

.site-footer {
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 4.5rem) var(--gutter) clamp(3.5rem, 8vw, 5rem);
  text-align: center;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.1;
}

.footer-note {
  margin: 0.6rem 0 0;
  color: var(--ink-3);
  font-size: 0.95rem;
  font-weight: 300;
}

/* ------------------------------------------------------------
   Motion — scoped to .js so content is never hidden without JS
   ------------------------------------------------------------ */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js .timeline li,
.js .gallery .shot {
  opacity: 0;
  transform: translateY(16px);
}

.js .timeline.is-visible li,
.js .gallery.is-visible .shot {
  animation: rise 0.9s var(--ease) forwards;
}

.js .timeline.is-visible li:nth-child(1),
.js .gallery.is-visible .shot:nth-child(1) {
  animation-delay: 0.05s;
}
.js .timeline.is-visible li:nth-child(2),
.js .gallery.is-visible .shot:nth-child(2) {
  animation-delay: 0.14s;
}
.js .timeline.is-visible li:nth-child(3),
.js .gallery.is-visible .shot:nth-child(3) {
  animation-delay: 0.23s;
}
.js .timeline.is-visible li:nth-child(4),
.js .gallery.is-visible .shot:nth-child(4) {
  animation-delay: 0.32s;
}
.js .timeline.is-visible li:nth-child(5),
.js .gallery.is-visible .shot:nth-child(5) {
  animation-delay: 0.41s;
}
.js .timeline.is-visible li:nth-child(6),
.js .gallery.is-visible .shot:nth-child(6) {
  animation-delay: 0.5s;
}
.js .timeline.is-visible li:nth-child(7) {
  animation-delay: 0.59s;
}
.js .timeline.is-visible li:nth-child(n + 8) {
  animation-delay: 0.68s;
}

.js .hero-copy > * {
  animation: hero-in 1.15s var(--ease) both;
}

.js .hero-eyebrow {
  animation-delay: 0.15s;
}
.js .hero-title {
  animation-delay: 0.28s;
}
.js .hero-line {
  animation-delay: 0.44s;
}
.js .countdown {
  animation-delay: 0.52s;
}
.js .hero-actions {
  animation-delay: 0.64s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------
   Breakpoints
   ------------------------------------------------------------ */

@media (min-width: 600px) {
  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stay-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(12, 1fr);
    align-items: start;
  }

  .shot--1 {
    grid-column: 1 / 7;
  }

  .shot--2 {
    grid-column: 7 / 13;
    margin-top: clamp(1.5rem, 6vw, 4.5rem);
  }

  .shot--3 {
    grid-column: 2 / 7;
  }

  .shot--4 {
    grid-column: 7 / 13;
    margin-top: clamp(0rem, 3vw, 2.5rem);
  }

  .shot--5 {
    grid-column: 1 / 8;
  }

  .shot--6 {
    grid-column: 8 / 13;
    margin-top: clamp(1rem, 4vw, 3rem);
  }
}

@media (min-width: 860px) {
  :root {
    --header-h: 4.75rem;
  }

  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 0.94fr 1.06fr;
    align-items: end;
    padding-top: calc(var(--header-h) + 2rem);
  }

  .hero-copy {
    grid-column: 2;
  }

  .hero-media img {
    object-position: 42% 40%;
    transform-origin: 40% 38%;
  }

  .hero-media::after {
    background:
      linear-gradient(
        180deg,
        rgba(9, 18, 25, 0.5) 0%,
        rgba(9, 18, 25, 0.12) 28%,
        rgba(9, 18, 25, 0.28) 68%,
        rgba(9, 18, 25, 0.66) 100%
      ),
      linear-gradient(100deg, rgba(9, 18, 25, 0) 30%, rgba(9, 18, 25, 0.5) 74%, rgba(9, 18, 25, 0.68) 100%);
  }

  .details-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stay-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section--split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
  }

  .section--split .timeline {
    margin-top: 0.35rem;
  }

  .section-head--sticky {
    position: sticky;
    top: calc(var(--header-h) + clamp(2rem, 6vh, 4rem));
  }

  .band--photo .statement {
    font-size: clamp(1.7rem, 2.4vw, 2.3rem);
    max-width: 34ch;
  }
}

@media (min-width: 1100px) {
  .shot--1 {
    grid-column: 1 / 6;
  }

  .shot--2 {
    grid-column: 7 / 13;
  }

  .shot--3 {
    grid-column: 2 / 6;
  }

  .shot--4 {
    grid-column: 6 / 13;
  }

  .shot--5 {
    grid-column: 1 / 8;
  }

  .shot--6 {
    grid-column: 8 / 13;
  }
}

/* ------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------ */

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

  .hero-media img,
  .shot img,
  .js .hero-copy > *,
  .js [data-reveal],
  .js .timeline li,
  .js .gallery .shot {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
  }

  .js .hero-copy > *,
  .js [data-reveal],
  .js .timeline li,
  .js .gallery .shot {
    transform: none !important;
  }

  .hero-media img {
    transform: scale(1.02) !important;
  }

  /* Keep each photo's framing, drop the movement. */
  .shot img,
  .shot:hover img {
    transform: scale(var(--z, 1)) !important;
  }

  .btn:hover {
    transform: none !important;
  }

  .mobile-nav,
  .mobile-nav-panel {
    transition: none !important;
  }

  .mobile-nav[data-open="true"] .mobile-nav-panel {
    transform: none !important;
  }
}
