/* Itasca Country Club Weddings
   Brand kit: navy #010c39, olive #2a3b19, cream #ece7e1, copper #b88250, gold rule.
   Type: Fraunces (display), Gordita (text; Figtree stands in until Gordita is licensed and self-hosted). */

:root {
  --navy: #010c39;
  --navy-deep: #000826;
  --olive: #2a3b19;
  --cream: #ece7e1;
  --copper: #b88250;
  --copper-ink: #7d5530;
  --gold-rule: linear-gradient(90deg, #c49a45 0%, #f1e2bd 42%, #e3c890 68%, #b5832e 100%);

  --bg: var(--cream);
  --bg-band: #e1dad0;
  --panel: #f6f3ee;
  --text: var(--navy);
  --text-soft: #3a4263;
  --line: rgb(1 12 57 / 0.16);
  --dot: rgb(1 12 57 / 0.28);
  --accent-ink: var(--copper-ink);
  --inquiry-bg: var(--navy);
  --inquiry-edge: transparent;
  --shadow: 0 18px 40px -18px rgb(1 12 57 / 0.35), 0 2px 6px rgb(1 12 57 / 0.08);
  --photo-shadow: 0 18px 36px -18px rgb(125 85 48 / 0.28), 0 4px 12px -6px rgb(125 85 48 / 0.14);
  --photo-shadow-hover: 0 28px 48px -20px rgb(125 85 48 / 0.34), 0 8px 18px -8px rgb(125 85 48 / 0.18);
  --photo-edge: inset 0 0 0 1px rgb(255 255 255 / 0.22), inset 0 1px 0 rgb(255 255 255 / 0.4);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-text: "Gordita", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #050e30;
    --bg-band: #0a1642;
    --panel: #0d1b4d;
    --text: var(--cream);
    --text-soft: #bdb8c3;
    --line: rgb(236 231 225 / 0.16);
    --dot: rgb(236 231 225 / 0.3);
    --accent-ink: #d4a476;
    --inquiry-bg: #10215f;
    --inquiry-edge: rgb(184 130 80 / 0.45);
    --shadow: 0 18px 40px -18px rgb(0 0 0 / 0.6), 0 2px 6px rgb(0 0 0 / 0.25);
    --photo-shadow: 0 18px 36px -18px rgb(236 231 225 / 0.1), 0 4px 12px -6px rgb(236 231 225 / 0.06);
    --photo-shadow-hover: 0 28px 48px -20px rgb(236 231 225 / 0.14), 0 8px 18px -8px rgb(236 231 225 / 0.08);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #050e30;
  --bg-band: #0a1642;
  --panel: #0d1b4d;
  --text: var(--cream);
  --text-soft: #bdb8c3;
  --line: rgb(236 231 225 / 0.16);
  --dot: rgb(236 231 225 / 0.3);
  --accent-ink: #d4a476;
  --inquiry-bg: #10215f;
  --inquiry-edge: rgb(184 130 80 / 0.45);
  --shadow: 0 18px 40px -18px rgb(0 0 0 / 0.6), 0 2px 6px rgb(0 0 0 / 0.25);
  --photo-shadow: 0 18px 36px -18px rgb(236 231 225 / 0.1), 0 4px 12px -6px rgb(236 231 225 / 0.06);
  --photo-shadow-hover: 0 28px 48px -20px rgb(236 231 225 / 0.14), 0 8px 18px -8px rgb(236 231 225 / 0.08);
  color-scheme: dark;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }

::selection { background: var(--copper); color: var(--navy); }
input, textarea { caret-color: var(--copper); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--copper);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mark { display: block; height: auto; aspect-ratio: 1; }

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: 0;
  word-spacing: 0.04em;
  font-variation-settings: "opsz" 60;
  text-wrap: balance;
}

/* Tracked uppercase label with the gold rule beneath it */
.label-rule {
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.label-rule::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold-rule);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

/* ---------- Raised photographs ---------- */

.photo,
.carousel__slides,
.story__media {
  position: relative;
  overflow: hidden;
  box-shadow: var(--photo-shadow);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .photo,
  .story__media {
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
  }
  .photo img,
  .story__media img {
    transition: transform 1.2s var(--ease-out), opacity 0.3s ease;
  }
  .moment:hover .photo,
  .story__media:hover,
  .story__media:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--photo-shadow-hover);
  }
  .moment:hover .photo img,
  .story__media:hover img,
  .story__media:focus-visible img {
    transform: scale(1.04);
  }
}
.photo::after,
.carousel__slides::after,
.story__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  box-shadow: var(--photo-edge);
  pointer-events: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn--copper { background: var(--copper); color: var(--navy); }
.btn--copper:hover { background: var(--cream); color: var(--navy); }
.availability .btn--copper:hover { background: var(--text); color: var(--bg); }

.btn--outline {
  border-color: var(--copper);
  color: var(--text);
  background: transparent;
}
.btn--outline:hover { background: var(--copper); color: var(--navy); }

.btn--ghost-light {
  border-color: rgb(236 231 225 / 0.85);
  color: var(--cream);
  background: transparent;
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.btn--ghost-light:hover { background: var(--cream); color: var(--navy); }

.circle-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(236 231 225 / 0.7);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.circle-btn:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }

.text-link {
  display: inline-block;
  position: relative;
  padding: 0 0 6px;
  border: 0;
  background: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold-rule);
}
.text-link:hover::after { animation: rule-sweep 0.7s var(--ease-out); }
.text-link--light { color: var(--cream); }

@keyframes rule-sweep {
  from { transform: scaleX(0); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}

/* ---------- Utility bar + nav ---------- */

.utility {
  background: var(--navy-deep);
  color: var(--cream);
  font-size: 0.84rem;
  font-weight: 500;
}
.utility__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6px var(--gutter);
  display: flex;
  justify-content: flex-end;
  gap: 0;
}
.utility a {
  text-decoration: none;
  padding: 0 14px;
  opacity: 0.9;
}
.utility a + a { border-left: 1px solid var(--copper); }
.utility a:last-child { padding-right: 0; }
.utility a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--cream);
  border-bottom: 1px solid rgb(236 231 225 / 0.08);
}
.nav__inner {
  max-width: var(--max);
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  justify-self: start;
}
.brand__mark { width: 52px; }
.brand__text {
  display: flex;
  flex-direction: column;
  padding-left: 14px;
  border-left: 1px solid rgb(236 231 225 / 0.35);
  line-height: 1.15;
}
.brand__club {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: #d9b48d;
}

.nav__links {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
}
.nav__links a {
  position: relative;
  padding: 8px 0;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--gold-rule);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover::after,
.nav__links a[aria-current="true"]::after { transform: scaleX(1); }

.nav__cta { justify-self: end; }

.nav__toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--cream);
  font-size: 1.6rem;
  cursor: pointer;
}

.drawer {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  padding: 32px var(--gutter) 40px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  padding: 14px 0;
  border-bottom: 1px solid rgb(236 231 225 / 0.12);
  font-family: var(--font-display);
  font-size: 1.75rem;
  text-decoration: none;
}
.drawer__cta { align-self: stretch; }
.drawer__contact { font-size: 1rem; opacity: 0.85; }

/* ---------- Hero + availability bar ---------- */

.hero { position: relative; }
.hero__media {
  height: clamp(400px, calc(100dvh - 372px), 700px);
  overflow: hidden;
  background: var(--navy);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}

.availability {
  position: relative;
  z-index: 2;
  width: min(var(--max) - 2 * 0px, calc(100% - 2 * var(--gutter)));
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin: -52px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr) minmax(240px, 0.9fr);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.availability__field {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 12px;
  align-content: center;
  padding: 18px 24px 16px;
  border-right: 1px solid var(--line);
}
.availability__field > i {
  grid-row: 1 / span 2;
  align-self: end;
  margin-bottom: 9px;
  font-size: 1.2rem;
  color: var(--accent-ink);
}
.availability__field label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-soft);
}
.availability__field input,
.availability__field select {
  width: 100%;
  min-height: 34px;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-variation-settings: "opsz" 24;
  color: var(--text);
  cursor: pointer;
  appearance: none;
}
.availability__field input { position: relative; }
.availability__field input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  opacity: 0;
  cursor: pointer;
}
.availability__field input:focus-visible,
.availability__field select:focus-visible {
  outline: none;
  border-bottom-color: var(--copper);
}
.availability__field:focus-within { background: rgb(184 130 80 / 0.07); }
.availability__action {
  display: flex;
  align-items: center;
  padding: 16px 20px;
}
.availability.is-saved > .availability__field,
.availability.is-saved > .availability__action { visibility: hidden; }
.availability__saved {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 3vw, 40px);
  background: var(--panel);
}
.availability__saved[hidden] { display: none; }
.availability__saved:focus { outline: none; }
.saved__date {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  line-height: 1.15;
  font-variation-settings: "opsz" 48;
}
.saved__date::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold-rule);
}
.saved__detail { margin-top: 6px; font-size: 0.98rem; color: var(--text-soft); }
.availability__action .btn { width: 100%; min-height: 52px; }

/* ---------- Intro ---------- */

.intro {
  padding: clamp(48px, 4.6vw, 68px) var(--gutter) 0;
  text-align: center;
}
.intro__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
  word-spacing: 0.06em;
  font-variation-settings: "opsz" 72;
  text-wrap: balance;
}
.intro__sub {
  margin-top: 14px;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-soft);
  text-wrap: balance;
}

/* ---------- Letter ---------- */

.letter {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 120px) var(--gutter) clamp(64px, 7vw, 96px);
}
.letter__inner {
  max-width: 72ch;
  margin-left: clamp(0px, 6vw, 80px);
}
.letter__inner .h2 { margin-bottom: 28px; }
.letter__inner p {
  font-size: 1.08rem;
  line-height: 1.95;
  color: var(--text);
}
.letter__inner p + p { margin-top: 18px; }
.letter__signoff { margin-top: 30px !important; }
.letter__signature {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.letter__signature .mark { width: 84px; }
.letter__signature span {
  padding-left: 18px;
  border-left: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--text-soft);
}

.honors {
  margin-top: clamp(64px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.honors li { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.honors__by {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-variation-settings: "opsz" 24;
}

/* ---------- Feature (carousel + panel) ---------- */

.feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  align-items: start;
}
.feature--band {
  background: var(--bg-band);
  padding: 56px 0;
  align-items: center;
}

.carousel { position: relative; }
.carousel__slides {
  position: relative;
  aspect-ratio: 1.1 / 1;
  overflow: hidden;
  background: var(--navy);
}
.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease-out);
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6s var(--ease-out);
}
.carousel__slide.is-active { opacity: 1; z-index: 1; }
.carousel__slide.is-active img { transform: scale(1); }

.carousel__bar {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: clamp(0px, 9vw, 126px);
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px 12px 22px;
  background: var(--navy);
  color: var(--cream);
}
.carousel__caption {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.carousel__controls { display: flex; gap: 14px; }

.feature__panel {
  margin-top: 90px;
  padding: clamp(40px, 4.5vw, 64px) clamp(28px, 4vw, 56px) clamp(40px, 4.5vw, 64px);
  background: var(--panel);
  min-height: calc(100% - 90px);
}
.feature__text {
  padding: 24px clamp(28px, 5vw, 90px) 24px clamp(28px, 5vw, 90px);
  max-width: 640px;
}
.feature__panel .h2,
.feature__text .h2 { margin-bottom: 24px; }
.feature__text > p {
  margin-bottom: 22px;
  font-size: 1.02rem;
  line-height: 1.85;
}

.plus-list { margin-bottom: 32px; }
.plus-list li {
  position: relative;
  padding-left: 26px;
  font-size: 1.02rem;
  line-height: 1.6;
}
.plus-list li + li { margin-top: 10px; }
.plus-list li::before {
  content: "+";
  position: absolute;
  left: 2px;
  top: -1px;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--copper);
}

.select-line {
  position: relative;
  max-width: 420px;
}
.select-line select {
  width: 100%;
  min-height: 52px;
  padding: 10px 48px 10px 16px;
  border: 1px solid var(--copper);
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  appearance: none;
  cursor: pointer;
}
.select-line select:hover { background: rgb(184 130 80 / 0.08); }
.select-line i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--copper);
  pointer-events: none;
}

/* ---------- Moments rail ---------- */

.moments {
  display: grid;
  grid-template-columns: minmax(220px, 30%) minmax(0, 1fr);
  align-items: start;
  padding: clamp(80px, 9vw, 120px) 0 clamp(72px, 8vw, 104px);
}
.moments__title {
  align-self: center;
  margin-top: -40px;
  padding: 0 32px 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
  line-height: 1.2;
  font-variation-settings: "opsz" 72;
  text-wrap: balance;
}
.moments__rail { min-width: 0; }
.moments__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 25vw, 364px);
  gap: 18px;
  padding-right: var(--gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--copper) transparent;
  padding-top: 10px;
  padding-bottom: 44px;
  margin-bottom: -28px;
}
.moments__track::-webkit-scrollbar { height: 4px; }
.moments__track::-webkit-scrollbar-thumb { background: var(--copper); }
.moment { scroll-snap-align: start; }
.moment .photo { margin-bottom: 22px; }
.moment img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.moment h3,
.story h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0;
  font-variation-settings: "opsz" 36;
}
.moment p,
.story p {
  margin-top: 10px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.dots {
  display: flex;
  gap: 18px;
  margin-top: 36px;
  padding-left: 10px;
}
.dots button {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--dot);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s var(--ease-out);
  position: relative;
}
.dots button::before {
  content: "";
  position: absolute;
  inset: -15px;
}
.dots button[aria-current="true"] { background: var(--text); transform: scale(1.2); }

/* ---------- Stories ---------- */

.stories {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(88px, 9vw, 128px) var(--gutter) clamp(88px, 9vw, 120px);
  text-align: center;
}
.stories__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
  line-height: 1.15;
  font-variation-settings: "opsz" 72;
  margin-bottom: 22px;
}

.stories__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 40px 40px;
  text-align: left;
}
.story--lead {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}
.story--lead .story__media { flex: 1; min-height: 420px; }
.story--lead > h3 { align-self: flex-start; }
.story--lead .story__media img { height: 100%; aspect-ratio: auto; }
.story__media {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--navy);
  overflow: hidden;
  cursor: zoom-in;
  margin-bottom: 22px;
}
.story__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: opacity 0.3s ease;
}



/* ---------- Closing band, inquiry panel, contact ---------- */

.closing { position: relative; }
.closing__band {
  position: relative;
  overflow: hidden;
  background: var(--bg-band);
  padding: clamp(96px, 10vw, 150px) var(--gutter) clamp(190px, 18vw, 250px);
  text-align: center;
}
.closing__ring {
  position: absolute;
  right: -110px;
  top: 64px;
  width: 560px;
  aspect-ratio: 1;
  color: var(--text);
  opacity: 0.07;
  display: grid;
  place-items: center;
}
.closing__ring .mark { width: 100%; --crest-disc: transparent; --crest-ink: currentColor; }
.closing__quote { position: relative; }
.closing__quote p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: 0;
  word-spacing: 0.06em;
  font-variation-settings: "opsz" 72;
  text-wrap: balance;
}
.closing__quote .mark {
  width: 88px;
  margin: 22px auto 0;
}

.closing__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.inquiry {
  position: relative;
  z-index: 2;
  margin-top: clamp(-180px, -14vw, -120px);
  padding: clamp(36px, 4.5vw, 56px);
  background: var(--inquiry-bg);
  border: 1px solid var(--inquiry-edge);
  box-shadow: var(--shadow);
  color: var(--cream);
  color-scheme: dark;
}
.inquiry__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.5rem);
  line-height: 1.15;
  font-variation-settings: "opsz" 72;
}
.inquiry__lede {
  margin-top: 12px;
  max-width: 52ch;
  font-size: 1.02rem;
  color: #cfcbd4;
}
.inquiry__carried {
  margin-top: 14px;
  padding: 10px 14px;
  border-left: 1px solid var(--copper);
  background: rgb(184 130 80 / 0.12);
  font-size: 0.95rem;
}
.inquiry__done p { margin-top: 14px; color: #dcd8de; }
.inquiry__done a { color: #e4bf98; text-underline-offset: 3px; }
.inquiry__done .text-link { margin-top: 26px; }
.inquiry__done:focus { outline: none; }

.form {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #d9d5dd;
}
.field__optional { text-transform: none; letter-spacing: 0; font-weight: 500; color: #aaa6b8; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgb(236 231 225 / 0.35);
  border-radius: 0;
  background: rgb(236 231 225 / 0.06);
  color: var(--cream);
  font-size: 1rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--copper) 50%), linear-gradient(135deg, var(--copper) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field select option { background: var(--navy); color: var(--cream); }
.field textarea { resize: vertical; min-height: 112px; }
.field__control { position: relative; }
.field__control input { padding-right: 44px; }
.field__control i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--copper);
  pointer-events: none;
}
.field__control input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  opacity: 0;
  cursor: pointer;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgb(236 231 225 / 0.6); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--copper);
  background-color: rgb(236 231 225 / 0.1);
  box-shadow: 0 0 0 1px var(--copper);
}
.field [aria-invalid="true"] { border-color: #f0a58f; }
.field__help { font-size: 0.85rem; color: #b9b5c6; }
.field__error {
  min-height: 0;
  font-size: 0.88rem;
  color: #f6b7a6;
}
.field__error:empty { display: none; }

.form__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.form__note { max-width: 40ch; font-size: 0.88rem; line-height: 1.5; color: #b9b5c6; }

.contact {
  padding: clamp(48px, 5vw, 72px) 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.contact__address {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-decoration: none;
  font-variation-settings: "opsz" 24;
}
.contact__address:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__line { font-size: 0.98rem; }
.contact__line span {
  margin-right: 6px;
  font-weight: 700;
}
.contact__line a { text-decoration: none; }
.contact__line a:hover { text-decoration: underline; text-underline-offset: 4px; }
.social { margin-top: 10px; display: flex; gap: 10px; }
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.social a:hover { color: var(--copper); }

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

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 7vw, 96px) var(--gutter) 40px;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  gap: 40px;
}
.footer__head {
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
}
.footer__col li + li { margin-top: 8px; }
.footer__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.footer__split li + li { margin-top: 0; }
.footer__col a {
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-soft);
}
.footer__col a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

.footer__legal {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  font-size: 0.9rem;
  font-weight: 500;
}
.footer__legal > * { padding: 0 18px; }
.footer__legal > * + * { border-left: 1px solid var(--copper); }
.footer__legal > :first-child { padding-left: 0; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(0 6 30 / 0.96);
  color: var(--cream);
}
.lightbox::backdrop { background: rgb(0 6 30 / 0.7); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 72px 96px 40px;
}
.lightbox__img {
  max-width: min(1200px, 100%);
  max-height: calc(100dvh - 180px);
  width: auto;
  object-fit: contain;
}
.lightbox__caption {
  max-width: 70ch;
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-align: center;
  color: #d8d3cf;
}
.lightbox__prev, .lightbox__next, .lightbox__close { position: absolute; }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__close { right: 24px; top: 24px; }

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

@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: hero-settle 1.8s var(--ease-out) both; }
  @keyframes hero-settle { from { transform: scale(1.06); } to { transform: scale(1); } }

  .availability { animation: rise-in 0.9s var(--ease-out) 0.35s both; }
  .intro__title { animation: rise-in 1s var(--ease-out) 0.6s both; }
  .intro__sub { animation: rise-in 1s var(--ease-out) 0.75s both; }
  @keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

  .availability__saved:not([hidden]) { animation: saved-in 0.6s var(--ease-out) both; }
  .availability__saved:not([hidden]) .saved__date::after { animation: rule-sweep 0.9s var(--ease-out) 0.25s both; }
  @keyframes saved-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .carousel__slide img { transform: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 0.85rem; letter-spacing: 0.1em; }
  .availability { grid-template-columns: repeat(3, 1fr); }
  .availability__action { grid-column: 1 / -1; padding-top: 0; }
  .availability__field { border-bottom: 1px solid var(--line); }
  .availability__field:nth-child(3) { border-right: 0; }
  .availability__action { padding-top: 16px; }
}

@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .utility { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; place-items: center; }

  .feature,
  .feature--band { grid-template-columns: 1fr; }
  .feature--band { padding: 0 0 56px; }
  .carousel__slides { aspect-ratio: 4 / 3; }
  .feature__panel { margin: -40px var(--gutter) 0; min-height: 0; position: relative; z-index: 3; }
  .feature__text { padding: 40px var(--gutter) 0; max-width: none; }

  .moments { grid-template-columns: 1fr; }
  .moments__title { margin: 0 0 32px; padding: 0 var(--gutter); }
  .moments__track { padding-left: var(--gutter); scroll-padding-left: var(--gutter); grid-auto-columns: min(72vw, 320px); }
  .dots { padding-left: var(--gutter); }

  .closing__grid { grid-template-columns: 1fr; padding: 0; }
  .inquiry { margin: -150px var(--gutter) 0; }
  .contact { padding: 48px var(--gutter) 8px; }
  .closing__ring { width: 380px; right: -140px; top: 24px; }

  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .hero__media { height: 58svh; min-height: 340px; }
  .availability {
    margin-top: -32px;
    grid-template-columns: 1fr;
    width: calc(100% - 2 * var(--gutter));
  }
  .availability__field { border-right: 0; padding: 14px 18px 12px; }
  .availability__field:nth-child(3) { border-right: 0; }
  .availability__action { padding: 16px 18px 18px; }
  .availability__saved { flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 24px 20px; }

  .letter__inner { margin-left: 0; }
  .letter__inner p { font-size: 1.02rem; line-height: 1.85; }
  .honors { grid-template-columns: 1fr; gap: 28px; }

  .carousel__bar { left: 0; min-height: 64px; padding: 10px 12px 10px 18px; }
  .carousel__caption { font-size: 0.82rem; letter-spacing: 0.16em; }
  .feature__panel { margin: 0; padding: 36px var(--gutter) 48px; }

  .stories__grid { grid-template-columns: 1fr; gap: 40px; }
  .story--lead { grid-row: auto; }
  .story--lead .story__media { min-height: 0; }
  .story--lead .story__media img { aspect-ratio: 4 / 3; height: auto; }

  .form { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; }
  .inquiry { margin: -140px 0 0; padding: 36px var(--gutter) 40px; }

  .footer__cols { grid-template-columns: 1fr; gap: 32px; }
  .footer__legal { flex-direction: column; }
  .footer__legal > * { padding: 0; }
  .footer__legal > * + * { border-left: 0; }

  .lightbox__figure { padding: 72px 12px 96px; }
  .lightbox__img { max-height: calc(100dvh - 220px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 24px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}
