@font-face {
  font-family: "Exmouth";
  src: url("assets/fonts/Exmouth.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --ivory: #fbf8f1;
  --paper: #f4efe5;
  --ink: #1f3e31;
  --muted: #6d746d;
  --accent: #a96f3c;
  --accent-soft: #d9b98d;
  --line: rgba(31, 62, 49, 0.13);
  --deep: #173f32;
  --wardrobe-surface: #e8eee8;
  --programme-surface: #e4ebe5;
  --notes-surface: #f4efe5;
  --map-surface: #dde5df;
  --header-height: 76px;
  --flow-depth: 88px;
  --serif: "Iowan Old Style", "Iowan Old Style BT", serif;
  --script: "Exmouth", cursive;
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
}

h1,
h2,
h3,
h4 {
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0;
}

body.theme-mehendi {
  --page-scene: url("assets/scene-mehendi.jpg");
  --accent: #c54d20;
  --accent-soft: #e6a038;
  --ink: #24452b;
  --line: rgba(79, 76, 43, 0.12);
  --deep: #704124;
  --overview-surface: #f4ead1;
  --wardrobe-surface: #e6edcf;
  --programme-surface: #f4d8c2;
  --notes-surface: #f1e2d0;
  --map-surface: #dfe9d5;
}

body.theme-nikkah {
  --page-scene: url("assets/scene-nikkah.jpg");
  --accent: #2f7042;
  --accent-soft: #d69aa8;
  --ink: #245335;
  --line: rgba(36, 83, 53, 0.11);
  --deep: #29563b;
  --overview-surface: #f7e6e9;
  --wardrobe-surface: #f3dfe5;
  --programme-surface: #dcebdd;
  --notes-surface: #f2e9dd;
  --map-surface: #d8e5da;
}

body.theme-walima {
  --page-scene: url("assets/scene-walima.jpg");
  --accent: #10233f;
  --accent-soft: #f7f3ea;
  --ink: #111a2a;
  --line: rgba(16, 35, 63, 0.15);
  --deep: #080b12;
  --overview-surface: #f3f1ec;
  --wardrobe-surface: #0b1424;
  --programme-surface: #e3e8ee;
  --notes-surface: #f7f5f0;
  --map-surface: #d6dee8;
}

body.theme-beach {
  --page-scene: url("assets/scene-beach.jpg");
  --accent: #14779c;
  --accent-soft: #edc85e;
  --ink: #174d61;
  --line: rgba(23, 77, 97, 0.11);
  --deep: #14566d;
  --overview-surface: #e2f0f2;
  --wardrobe-surface: #d7ebf2;
  --programme-surface: #f2dfa8;
  --notes-surface: #d7e9e5;
  --map-surface: #c9dde4;
}

body.theme-island {
  --page-scene: url("assets/scene-island.jpg");
  --accent: #197b84;
  --accent-soft: #e3a676;
  --ink: #24545a;
  --line: rgba(36, 84, 90, 0.11);
  --deep: #17666b;
  --overview-surface: #d8ebe5;
  --wardrobe-surface: #dceee8;
  --programme-surface: #cce6e1;
  --notes-surface: #f1dfd2;
  --map-surface: #c7dedb;
}

body.rsvp-page {
  --page-scene: url("assets/scene-home.jpg");
  --accent: #a96f3c;
  --deep: #173f32;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}

:focus-visible {
  outline: 2px solid var(--accent);
}

::selection {
  background: var(--accent);
  color: #fff;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--deep);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Navigation */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 30px;
  padding: 0 5vw;
  color: #2f4d3b;
  transition: background-color 300ms ease, color 300ms ease, box-shadow 300ms ease;
}

.theme-walima .site-header:not(.scrolled) {
  color: #fff9ea;
}

.site-header.scrolled {
  background: rgba(251, 248, 241, 0.92);
  color: #263f34;
  box-shadow: 0 1px 0 rgba(31, 62, 49, 0.13);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.brand {
  position: relative;
  z-index: 102;
  grid-row: 1;
  justify-self: start;
  font-family: var(--script);
  font-size: 2rem;
  line-height: 1;
}

.nav {
  grid-row: 1;
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  position: relative;
  font-size: 0.77rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.nav a[href="index.html"] {
  color: #9a6435;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

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

.nav-cta {
  position: relative;
  z-index: 102;
  grid-row: 1;
  grid-column: 3;
  justify-self: end;
  min-width: 94px;
  padding: 11px 22px;
  text-align: center;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 7px 20px rgba(37, 49, 39, 0.14);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.nav-actions {
  position: relative;
  z-index: 102;
  grid-row: 1;
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
}

.nav-actions .nav-cta {
  grid-row: auto;
  grid-column: auto;
}

.nav-stay,
.nav-discover {
  min-width: 122px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid rgba(38, 63, 52, 0.56);
  border-radius: 999px;
  background: rgba(251, 248, 241, 0.92);
  box-shadow: 0 7px 20px rgba(37, 49, 39, 0.12);
  color: var(--deep);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, color 200ms ease, transform 200ms ease;
}

.nav-stay:hover,
.nav-discover:hover {
  border-color: var(--deep);
  background: var(--deep);
  box-shadow: 0 10px 26px rgba(37, 49, 39, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.nav-discover {
  min-width: 142px;
  border-color: #965167;
  background: #965167;
  color: #fff;
}

.nav-mobile-rsvp {
  display: none;
}

.site-header.scrolled .nav-stay,
.site-header.scrolled .nav-discover {
  border-color: var(--deep);
  color: var(--deep);
}

.site-header.scrolled .nav-discover {
  border-color: #965167;
  background: #965167;
  color: #fff;
}

.site-header.scrolled .nav-stay:hover,
.site-header.scrolled .nav-discover:hover {
  color: #fff;
}

.nav-cta:hover {
  border-color: var(--deep);
  background: var(--deep);
  box-shadow: 0 10px 26px rgba(37, 49, 39, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.site-header.scrolled .nav-cta {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.nav-toggle {
  position: relative;
  z-index: 102;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: transform 250ms ease, top 250ms ease;
}

.nav-toggle span:first-child {
  top: 17px;
}

.nav-toggle span:last-child {
  top: 26px;
}

.nav-open .nav-toggle span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

/* Full-bleed watercolor scenes */
.scene-hero {
  --scene-image: url("assets/scene-home.jpg");
  --scene-position: center;
  --scene-shift: 0px;
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 48px) 7vw 90px;
  color: #234a38;
}

.scene-art {
  position: absolute;
  z-index: -3;
  inset: -5%;
  background-image: var(--scene-image);
  background-position: var(--scene-position);
  background-size: cover;
  transform: translate3d(0, var(--scene-shift), 0) scale(1.06);
  will-change: transform;
}

.scene-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 248, 241, 0.94) 0%, rgba(251, 248, 241, 0.78) 32%, rgba(251, 248, 241, 0.12) 68%, rgba(251, 248, 241, 0) 100%);
}

.scene-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(0deg, rgba(11, 35, 28, 0.1), transparent);
  pointer-events: none;
}

.scene-home {
  --scene-image: url("assets/scene-home.jpg");
  --scene-position: center;
}

.scene-mehendi {
  --scene-image: url("assets/scene-mehendi.jpg");
  --scene-position: center;
}

.scene-nikkah {
  --scene-image: url("assets/scene-nikkah.jpg");
  --scene-position: center;
}

.scene-walima {
  --scene-image: url("assets/scene-walima.jpg");
  --scene-position: center;
  color: #fff8e7;
}

.scene-walima::before {
  background: linear-gradient(90deg, rgba(7, 23, 49, 0.78) 0%, rgba(7, 23, 49, 0.48) 38%, rgba(7, 23, 49, 0.04) 72%);
}

.scene-beach {
  --scene-image: url("assets/scene-beach.jpg");
  --scene-position: center;
  color: #164e68;
}

.scene-island {
  --scene-image: url("assets/scene-island.jpg");
  --scene-position: center;
  color: #155b62;
}

.scene-rsvp {
  --scene-image: url("assets/scene-home.jpg");
  --scene-position: center;
  min-height: 82svh;
}

.scene-content {
  width: min(690px, 48vw);
  margin-top: 28px;
}

.scene-kicker,
.section-kicker,
.event-number {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.scene-content h1 {
  max-width: 760px;
  margin: 0;
  font-size: 6rem;
  font-weight: 500;
  line-height: 0.9;
}

.scene-home .scene-content h1 {
  font-size: 7rem;
}

.scene-content h1 span {
  font-family: var(--script);
  font-weight: 400;
}

.scene-script {
  margin: 12px 0 4px;
  font-family: var(--script);
  font-size: 3.7rem;
  line-height: 1;
}

.scene-date {
  display: grid;
  gap: 2px;
  margin: 14px 0 22px;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
}

.scene-date span {
  display: block;
}

.scene-date .scene-place {
  color: #b44f70;
}

.scene-summary {
  max-width: 560px;
  margin: 18px 0 24px;
  font-size: 1.2rem;
  line-height: 1.5;
}

.scene-facts {
  display: flex;
  flex-wrap: wrap;
  width: min(660px, 100%);
  margin: 0 0 20px;
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}

.scene-facts span {
  flex: 1 1 auto;
  padding: 10px 16px 10px 0;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
}

.scene-facts span + span {
  padding-left: 16px;
  border-left: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 92px);
  width: fit-content;
  margin: 18px 0 26px;
  border-top: 1px solid rgba(35, 74, 56, 0.2);
  border-bottom: 1px solid rgba(35, 74, 56, 0.2);
}

.countdown div {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.countdown div + div {
  border-left: 1px solid rgba(35, 74, 56, 0.13);
}

.countdown strong {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown span {
  margin-top: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.scene-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 24px;
}

.calendar-control {
  position: relative;
}

.calendar-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid color-mix(in srgb, currentColor 42%, transparent);
  background: color-mix(in srgb, var(--ivory) 72%, transparent);
  color: inherit;
  cursor: pointer;
  font: 700 0.76rem var(--serif);
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.calendar-button:hover {
  border-color: currentColor;
  background: color-mix(in srgb, var(--ivory) 94%, transparent);
  transform: translateY(-2px);
}

.calendar-menu {
  position: absolute;
  z-index: 20;
  left: 0;
  top: calc(100% + 12px);
  width: min(310px, 82vw);
  padding: 10px 18px;
  border: 1px solid rgba(35, 74, 56, 0.18);
  background: rgba(248, 247, 240, 0.97);
  box-shadow: 0 20px 48px rgba(24, 49, 38, 0.13);
  color: var(--deep);
}

.calendar-menu a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(35, 74, 56, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
}

.calendar-menu a:last-child {
  border-bottom: 0;
  color: var(--accent);
}

.scene-walima .calendar-button {
  border-color: rgba(247, 243, 234, 0.7);
  background: rgba(8, 11, 18, 0.64);
  color: #f7f3ea;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: transparent;
  color: var(--accent);
  transform: translateY(-2px);
}

.scene-walima .button {
  border-color: #f7f3ea;
  background: #f7f3ea;
  color: #10233f;
}

.scene-walima .button:hover {
  background: transparent;
  color: #f7f3ea;
}

.text-link,
.event-link,
.map-link {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.text-link:hover,
.event-link:hover,
.map-link:hover {
  opacity: 0.58;
}

.hero-swatches,
.swatches {
  display: flex;
  gap: 0;
  width: fit-content;
}

.hero-swatches span,
.swatches span {
  width: 52px;
  height: 12px;
  background: var(--swatch);
  border: 1px solid rgba(28, 48, 36, 0.08);
}

.scene-scroll {
  position: absolute;
  left: 7vw;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.scene-scroll span {
  display: block;
  width: 44px;
  height: 1px;
  overflow: hidden;
  background: currentColor;
  transform-origin: left;
  animation: scrollLine 1800ms ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleX(0.28); opacity: 0.45; }
  50% { transform: scaleX(1); opacity: 1; }
}

.scene-content > * {
  opacity: 0;
  transform: translateY(22px);
  animation: heroRise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.scene-content > *:nth-child(2) { animation-delay: 100ms; }
.scene-content > *:nth-child(3) { animation-delay: 180ms; }
.scene-content > *:nth-child(4) { animation-delay: 260ms; }
.scene-content > *:nth-child(5) { animation-delay: 340ms; }
.scene-content > *:nth-child(6) { animation-delay: 420ms; }
.scene-content > *:nth-child(7) { animation-delay: 500ms; }

@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}

/* Shared editorial sections */
.section {
  position: relative;
  padding: 130px 0;
}

.section-inner {
  width: min(1240px, calc(100% - 96px));
  margin: 0 auto;
}

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

.section h2 {
  margin: 0 0 24px;
  font-size: 4rem;
  font-weight: 500;
  line-height: 0.98;
}

.section h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
}

.section p {
  margin: 0 0 20px;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 64px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.invitation-section {
  --flow-surface: #e9efe7;
  overflow: hidden;
  background: #e9efe7;
}

.invitation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(540px, 1.12fr);
  align-items: center;
  gap: 7vw;
}

.invitation-portrait {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 84% 88% at 50% 48%, #000 54%, transparent 100%);
  mask-image: radial-gradient(ellipse 84% 88% at 50% 48%, #000 54%, transparent 100%);
}

.invitation-portrait::after {
  position: absolute;
  z-index: 1;
  inset: -2px;
  background:
    linear-gradient(180deg, #e9efe7 0%, transparent 13%, transparent 84%, #e9efe7 100%),
    linear-gradient(90deg, #e9efe7 0%, transparent 9%, transparent 91%, #e9efe7 100%);
  content: "";
  pointer-events: none;
}

.invitation-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  transition: transform 1100ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.invitation-portrait.visible img {
  transform: scale(1);
}

.invitation-portrait figcaption {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 8%;
  left: 8%;
  color: #315b45;
  font-family: var(--script);
  font-size: 2.35rem;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 12px rgba(251, 248, 241, 0.9);
}

.invitation-copy {
  max-width: 650px;
}

.arabic {
  margin-bottom: 30px !important;
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

.couple-line {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin: 36px 0;
  padding: 28px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.couple-line p {
  display: flex;
  max-width: 560px;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin: 0;
}

.couple-line p + p {
  border-top: 0;
}

.couple-line strong {
  font-size: 1.28rem;
  font-weight: 600;
}

.couple-line p span {
  line-height: 1.45;
}

.couple-divider {
  position: relative;
  width: 52px;
  height: 1px;
  background: var(--accent-soft);
}

.couple-divider::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--accent);
  background: #e9efe7;
  content: "";
  transform: translate(-50%, -50%) rotate(45deg);
}

.signature {
  margin-top: 30px !important;
  font-family: var(--script);
  font-size: 2.2rem;
  line-height: 1.05;
  color: var(--accent);
}

.signature span,
.signature strong {
  display: block;
}

.signature strong {
  margin-top: 4px;
  font-weight: 400;
}

/* Home event chapters */
.events-section {
  --flow-surface: var(--ivory);
  padding-top: 96px;
  padding-bottom: 0;
  background: var(--ivory);
}

.events-section > .section-inner {
  padding-bottom: var(--flow-depth);
}

.chapter-mehendi { --chapter-image: url("assets/scene-mehendi.jpg"); --chapter-wash: #f5ead8; }
.chapter-nikkah { --chapter-image: url("assets/scene-nikkah.jpg"); --chapter-wash: #f5e7e8; }
.chapter-walima { --chapter-image: url("assets/scene-walima.jpg"); --chapter-wash: #0f2340; color: #fff9e8; }
.chapter-beach { --chapter-image: url("assets/scene-beach.jpg"); --chapter-wash: #deedf2; color: #164e68; }
.chapter-island { --chapter-image: url("assets/scene-island.jpg"); --chapter-wash: #e2f0ee; color: #14575d; }

.event-chapter-hit {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.event-chapter-copy {
  position: relative;
  z-index: 2;
  width: min(590px, 46vw);
}

.event-chapter-copy h3 {
  margin: 0 0 16px;
  font-family: var(--script);
  font-size: 5.6rem;
  font-weight: 400;
  line-height: 0.92;
}

.event-meta {
  margin-bottom: 28px !important;
  padding: 12px 0;
  border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent);
  border-bottom: 1px solid color-mix(in srgb, currentColor 20%, transparent);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.event-description {
  max-width: 520px;
  font-size: 1.25rem;
  line-height: 1.5;
}

.event-description > span {
  display: block;
}

.event-description-centered {
  text-align: center;
}

.event-link {
  margin-top: 10px;
}

.travel-section {
  --flow-surface: #dfe8e3;
  background: #dfe8e3;
}

.travel-section > .section-inner {
  width: min(1460px, calc(100% - 72px));
}

.travel-layout,
.event-overview-layout,
.programme-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10vw;
}

.travel-intro,
.event-lead,
.programme-intro {
  max-width: 540px;
}

.travel-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 34px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.travel-row:last-child {
  border-bottom: 1px solid var(--line);
}

.travel-row p {
  margin: 0;
}

.hotel-guide {
  margin-top: 150px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.hotel-guide-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-areas:
    "kicker title"
    "kicker copy";
  column-gap: 10vw;
  row-gap: 18px;
  padding: 82px 0 72px;
}

.hotel-guide-heading .section-kicker {
  grid-area: kicker;
  align-self: start;
}

.hotel-guide-heading h2 {
  grid-area: title;
  margin: 0;
}

.hotel-guide-heading > p:last-child {
  grid-area: copy;
  max-width: 620px;
  margin: 0;
}

.hotel-region {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 8vw;
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.hotel-region:last-child {
  padding-bottom: 0;
}

.hotel-region-intro {
  max-width: 390px;
}

.hotel-region-number,
.experience-meta {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hotel-region-intro h3 {
  margin-bottom: 18px;
  font-family: var(--script);
  font-size: 3.15rem;
  font-weight: 400;
}

.hotel-row {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  min-height: 142px;
  border-top: 1px solid var(--line);
}

.hotel-row:last-child {
  border-bottom: 1px solid var(--line);
}

.hotel-score {
  margin: 0 !important;
  color: var(--accent);
  line-height: 1;
}

.hotel-score strong {
  display: block;
  font-size: 2.7rem;
  font-weight: 500;
}

.hotel-score span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hotel-copy h4 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--deep);
}

.hotel-copy p {
  max-width: 580px;
  margin: 0;
  color: rgba(31, 62, 49, 0.78);
  font-size: 0.98rem;
}

.hotel-link {
  padding: 7px 0;
  border-bottom: 1px solid currentColor;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 220ms ease, transform 220ms ease;
}

.hotel-link:hover {
  color: var(--deep);
  transform: translateX(4px);
}

.region-tabs {
  display: none;
}

.hotel-planner-layout {
  display: grid;
  grid-template-columns: minmax(580px, 1.18fr) minmax(420px, 0.82fr);
  gap: clamp(46px, 5vw, 86px);
  align-items: start;
  padding: 42px 0 20px;
  border-top: 1px solid var(--line);
}

.island-map-panel {
  position: sticky;
  top: calc(var(--header-height) + 26px);
  align-self: start;
}

.map-interaction-cue {
  display: flex;
  width: min(100%, 720px);
  align-items: center;
  gap: 10px;
  margin: 0 auto 14px !important;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.map-interaction-cue span {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.map-interaction-cue span::before,
.map-interaction-cue span::after {
  position: absolute;
  background: currentColor;
  content: "";
}

.map-interaction-cue span::before {
  top: 4px;
  bottom: 4px;
  left: 9px;
  width: 1px;
}

.map-interaction-cue span::after {
  top: 9px;
  right: 4px;
  left: 4px;
  height: 1px;
}

.island-map {
  position: relative;
  width: min(100%, 720px);
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: visible;
}

.island-map::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 253, 246, 0.78), rgba(214, 228, 211, 0.28) 58%, transparent 74%);
  filter: blur(16px);
}

.island-map-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(41, 72, 50, 0.14));
}

.map-direction {
  position: absolute;
  z-index: 2;
  color: rgba(31, 62, 49, 0.56);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.map-direction-north { top: 0; left: 50%; transform: translateX(-50%); }
.map-direction-west { top: 50%; left: 0; transform: translateY(-50%); }
.map-direction-east { top: 50%; right: 0; transform: translateY(-50%); }
.map-direction-south { bottom: 0; left: 50%; transform: translateX(-50%); }

.map-region {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 9px;
  padding: 7px;
  border: 0;
  background: transparent;
  color: var(--deep);
  cursor: pointer;
  font: 700 0.72rem var(--serif);
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.map-region-north { left: 53%; top: 15%; }
.map-region-city { left: 37%; top: 51%; }
.map-region-west { left: 19%; top: 70%; }

.map-dot {
  position: relative;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  border: 4px solid rgba(255, 252, 243, 0.94);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(79, 92, 59, 0.35), 0 4px 12px rgba(35, 56, 40, 0.22);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.map-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(169, 111, 60, 0.34);
  border-radius: 50%;
}

.map-label {
  padding: 6px 9px;
  border: 1px solid rgba(31, 62, 49, 0.14);
  background: rgba(251, 248, 241, 0.92);
  box-shadow: 0 4px 18px rgba(32, 57, 43, 0.12);
  white-space: nowrap;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.map-region:hover .map-label,
.map-region:focus-visible .map-label {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.map-region.is-active .map-label {
  border-color: var(--accent);
  background: var(--accent);
  color: #fffdf7;
}

.map-region:hover .map-dot,
.map-region:focus-visible .map-dot,
.map-region.is-active .map-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 5px rgba(255, 252, 243, 0.72), 0 5px 15px rgba(35, 56, 40, 0.26);
}

.map-region.is-active .map-dot::after {
  animation: mapMarkerPulse 1.8s ease-out infinite;
}

.map-venue {
  position: absolute;
  z-index: 5;
  display: block;
  width: 30px;
  height: 30px;
  color: #fff;
  transform: translate(-50%, -50%);
}

.map-venue-mehendi { left: 44%; top: 69%; }
.map-venue-nikkah { left: 42%; top: 61%; }
.map-venue-dinner { left: 43%; top: 38%; }
.map-venue-walima { left: 30%; top: 45%; }
.map-venue-beach { left: 42%; top: 20%; }
.map-venue-island { left: 82%; top: 64%; }

.map-venue-pin {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 3px solid rgba(255, 253, 247, 0.96);
  border-radius: 50%;
  background: #a7492b;
  box-shadow: 0 5px 14px rgba(37, 45, 39, 0.28);
  font: 700 0.68rem/1 var(--serif);
  transition: background-color 180ms ease, transform 180ms ease;
}

.map-venue-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  width: max-content;
  max-width: 220px;
  padding: 11px 13px;
  border: 1px solid rgba(31, 62, 49, 0.14);
  background: rgba(251, 248, 241, 0.98);
  box-shadow: 0 10px 30px rgba(27, 47, 35, 0.2);
  color: var(--deep);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 7px);
  transition: opacity 170ms ease, transform 170ms ease;
}

.map-venue-tooltip strong,
.map-venue-tooltip span {
  display: block;
}

.map-venue-tooltip strong {
  font-size: 0.76rem;
  text-transform: uppercase;
}

.map-venue-tooltip span {
  margin-top: 2px;
  font-size: 0.78rem;
  line-height: 1.35;
}

.map-venue:hover,
.map-venue:focus-visible {
  z-index: 8;
}

.map-venue:hover .map-venue-pin,
.map-venue:focus-visible .map-venue-pin {
  background: var(--deep);
  transform: scale(1.14);
}

.map-venue:hover .map-venue-tooltip,
.map-venue:focus-visible .map-venue-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.map-venue-east .map-venue-tooltip {
  left: auto;
  right: -8px;
  transform: translate(0, 7px);
}

.map-venue-east:hover .map-venue-tooltip,
.map-venue-east:focus-visible .map-venue-tooltip {
  transform: translate(0, 0);
}

.map-legend {
  display: flex;
  width: min(100%, 520px);
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin: 2px auto 12px;
  color: rgba(31, 62, 49, 0.74);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.map-legend i {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  font-style: normal;
}

.legend-region {
  border: 4px solid rgba(255, 252, 243, 0.94);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(79, 92, 59, 0.35);
}

.legend-event {
  border-radius: 50%;
  background: #a7492b;
  color: #fff;
  font-size: 0.6rem;
}

@keyframes mapMarkerPulse {
  0% { opacity: 0.7; transform: scale(0.7); }
  70%, 100% { opacity: 0; transform: scale(1.9); }
}

.map-region:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.map-assurance,
.hotel-fine-print {
  color: rgba(31, 62, 49, 0.68);
  font-size: 0.82rem;
}

.map-assurance {
  width: min(100%, 560px);
  margin: 0 auto !important;
  text-align: center;
}

.hotel-results {
  min-height: 610px;
  opacity: 1;
  transition: opacity 160ms ease, transform 160ms ease;
}

.hotel-results.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.hotel-results-heading {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 34px;
}

.hotel-results-heading h3 {
  margin: 0 0 4px;
  font-family: var(--script);
  font-size: 3.7rem;
  font-weight: 400;
  line-height: 0.92;
}

.hotel-results-heading p {
  margin: 0;
}

.hotel-entry {
  border-top: 1px solid var(--line);
}

.hotel-entry:last-child {
  border-bottom: 1px solid var(--line);
}

.hotel-entry-main {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 154px;
  padding: 22px 0;
}

.hotel-location {
  margin-bottom: 5px !important;
  color: var(--accent) !important;
  font-size: 0.68rem !important;
  font-weight: 700;
  text-transform: uppercase;
}

.hotel-warning {
  margin-top: 10px !important;
  color: #7d5535 !important;
  font-size: 0.85rem !important;
  font-weight: 600;
}

.hotel-travel {
  border-top: 1px solid rgba(35, 74, 56, 0.1);
}

.hotel-travel summary {
  width: fit-content;
  padding: 14px 0;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hotel-travel ul {
  margin: 0;
  padding: 0 0 20px;
  list-style: none;
}

.hotel-travel li {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(35, 74, 56, 0.1);
}

.hotel-travel li div {
  display: flex;
  gap: 16px;
}

.hotel-travel li strong {
  min-width: 150px;
  font-weight: 600;
}

.hotel-travel li span,
.hotel-travel li a {
  color: rgba(31, 62, 49, 0.7);
  font-size: 0.82rem;
}

.hotel-travel li a {
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  text-transform: uppercase;
}

.hotel-fine-print {
  margin-top: 26px !important;
}

.flight-planner,
.island-essentials {
  margin-top: 130px;
  padding-top: 86px;
  border-top: 1px solid var(--line);
}

.travel-band-heading {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  column-gap: 8vw;
  margin-bottom: 70px;
}

.travel-band-heading .section-kicker {
  grid-row: 1 / span 2;
}

.travel-band-heading h2 {
  margin-bottom: 20px;
}

.travel-band-heading > p:last-child {
  max-width: 630px;
  margin: 0;
}

.flight-layout,
.essentials-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
}

.utility-label {
  margin-bottom: 20px !important;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.flight-row,
.connection-row,
.weather-lines p {
  display: grid;
  align-items: center;
  border-top: 1px solid var(--line);
}

.flight-row {
  grid-template-columns: 92px 1fr;
  gap: 24px;
  min-height: 118px;
}

.flight-code {
  margin: 0 !important;
  color: var(--accent);
  font-size: 1.7rem;
  font-weight: 600;
}

.flight-row h3,
.connection-row h3 {
  margin: 0 0 3px;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
}

.flight-row p,
.flight-row span,
.connection-row p {
  margin: 0;
}

.flight-row span,
.connection-row span {
  color: rgba(31, 62, 49, 0.66);
  font-size: 0.82rem;
}

.flight-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 32px;
}

.connection-row {
  grid-template-columns: 1fr auto;
  min-height: 88px;
}

.connection-options .utility-note {
  margin-top: 22px !important;
}

.utility-note {
  color: rgba(31, 62, 49, 0.68);
  font-size: 0.88rem;
}

.currency-inputs {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 34px;
}

.currency-tool label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.currency-tool input,
.currency-tool select {
  width: 100%;
  margin-top: 8px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 500 1.15rem var(--serif);
}

.currency-result {
  margin: 42px 0 12px !important;
  font-family: var(--script);
  font-size: 2.75rem;
  line-height: 1.05;
}

.weather-lines p {
  grid-template-columns: 1fr auto;
  min-height: 62px;
  margin: 0;
}

.weather-lines strong {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 600;
}

.weather-guide > p:not(.utility-label) {
  margin: 24px 0 18px;
}

/* Event detail pages */
.event-overview {
  --flow-surface: var(--overview-surface, var(--ivory));
  background: var(--overview-surface, var(--ivory));
}

.event-lead p:last-child,
.programme-intro p:last-child {
  font-size: 1.18rem;
}

.event-details {
  margin: 0 0 28px;
}

.detail-row {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 26px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.detail-row:last-child {
  border-bottom: 1px solid var(--line);
}

.detail-row dt {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-row dd {
  margin: 0;
}

.map-link {
  margin: 8px 0;
  color: var(--accent);
}

.wardrobe-section {
  --flow-surface: var(--wardrobe-surface);
  overflow: hidden;
  padding: 0 0 112px;
  background: var(--wardrobe-surface);
}

.wardrobe-section .section-inner {
  width: 100%;
  max-width: none;
}

.wardrobe-layout {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: stretch;
}

.wardrobe-image {
  width: 100%;
  height: clamp(760px, 102svh, 980px);
  padding: clamp(20px, 2.5vw, 44px);
  object-fit: contain;
  object-position: center;
  background: var(--wardrobe-surface);
  transform: translateY(var(--media-shift, 0));
}

.wardrobe-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 8vw 114px;
}

.wardrobe-copy p {
  max-width: 560px;
}

.wardrobe-copy .swatches {
  margin-top: 16px;
}

.theme-nikkah .wardrobe-image,
.theme-beach .wardrobe-image {
  order: 2;
}

.theme-nikkah .wardrobe-copy,
.theme-beach .wardrobe-copy {
  order: 1;
}

.theme-walima .wardrobe-section,
.theme-walima .wardrobe-section .section-kicker {
  color: #f7f3ea;
}

.theme-walima .wardrobe-section .swatches span {
  border-color: rgba(247, 243, 234, 0.72);
}

.island-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.island-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.island-photo figcaption {
  position: absolute;
  right: clamp(28px, 4vw, 58px);
  bottom: clamp(28px, 4vw, 56px);
  max-width: calc(100% - 56px);
  padding: 8px 11px;
  background: rgba(251, 248, 241, 0.9);
  color: #24545a;
  font-size: 0.68rem;
  line-height: 1.35;
}

.island-photo figcaption a {
  border-bottom: 1px solid currentColor;
}

.packing-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.packing-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.programme-section {
  --flow-surface: var(--programme-surface);
  background: var(--programme-surface);
  color: var(--ink);
}

.programme-section .section-kicker {
  color: var(--accent);
}

.schedule-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: schedule;
}

.schedule-list::before {
  content: "";
  position: absolute;
  left: 101px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 900ms ease 180ms;
}

.schedule-list.visible::before {
  transform: scaleY(1);
}

.schedule-list li {
  display: grid;
  grid-template-columns: 102px 1fr;
  min-height: 70px;
  align-items: start;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.schedule-list.visible li {
  opacity: 1;
  transform: translateX(0);
}

.schedule-list.visible li:nth-child(2) { transition-delay: 90ms; }
.schedule-list.visible li:nth-child(3) { transition-delay: 180ms; }
.schedule-list.visible li:nth-child(4) { transition-delay: 270ms; }
.schedule-list.visible li:nth-child(5) { transition-delay: 360ms; }
.schedule-list.visible li:nth-child(6) { transition-delay: 450ms; }

.schedule-list time {
  padding-right: 22px;
  color: var(--accent);
  font-size: 0.83rem;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
}

.schedule-list span {
  position: relative;
  padding: 0 0 28px 34px;
  font-size: 1.18rem;
}

.schedule-list span::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--programme-surface);
}

.tour-package .schedule-list {
  margin-bottom: 34px;
}

.package-inclusions {
  padding: 32px 0 4px 136px;
  border-top: 1px solid var(--line);
}

.package-inclusions h3 {
  margin: 0 0 16px;
  color: var(--deep);
  font-size: 2.35rem;
  line-height: 1;
}

.package-inclusions p:not(.section-kicker) {
  margin: 12px 0;
}

.package-inclusions strong {
  display: block;
  margin-bottom: 2px;
  color: var(--accent);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.notes-section {
  --flow-surface: var(--notes-surface);
  background: var(--notes-surface);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.note {
  min-height: 210px;
  padding: 34px 40px;
}

.note + .note {
  border-left: 1px solid var(--line);
}

.note p {
  margin: 0;
}

.map-section {
  --flow-surface: var(--map-surface);
  padding: 0;
  background: var(--map-surface);
}

.map-section .section-inner {
  width: 100%;
  max-width: none;
}

.map-frame {
  width: 100%;
  height: 58svh;
  min-height: 460px;
  border: 0;
  filter: saturate(0.7) contrast(0.95);
}

.final-cta {
  --flow-surface: var(--accent);
  overflow: hidden;
  padding: 120px 0;
  background: var(--accent);
  color: #fff;
  text-align: center;
}

.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22vw;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.final-cta::before { left: 0; }
.final-cta::after { right: 0; }

.final-cta .section-kicker {
  color: #fff;
}

.final-cta h2 {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  font-family: var(--script);
  font-size: 5rem;
  font-weight: 400;
}

.final-cta .button {
  border-color: #fff;
  background: #fff;
  color: var(--accent);
}

.final-cta .button:hover {
  background: transparent;
  color: #fff;
}

/* RSVP */
.rsvp-closed-section { background: #f3f0e7; }
.rsvp-closed-copy { max-width: 760px; margin: 0 auto; padding: 40px 0; text-align: center; }
.rsvp-closed-copy h2 { margin: 10px 0 22px; font-size: clamp(2.4rem, 5vw, 4.8rem); font-weight: 400; line-height: 1; }
.rsvp-closed-copy > p:not(.section-kicker) { max-width: 620px; margin: 0 auto 28px; color: #5d7066; font-size: 1.08rem; }
.rsvp-closed-copy .scene-actions { justify-content: center; }
.rsvp-form-section {
  --flow-surface: #eef1eb;
  overflow: hidden;
  background: #eef1eb;
}

.rsvp-form {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 42px 0 0;
  border-top: 1px solid var(--line);
}

.form-chapter {
  margin: 0;
  padding: 52px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.form-chapter-heading {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 38px;
}

.form-step {
  margin: 5px 0 0 !important;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.form-chapter-heading h3 {
  margin: 0 0 5px;
  font-family: var(--script);
  font-size: 2.9rem;
  font-weight: 400;
  line-height: 1;
}

.form-chapter-heading p {
  margin: 0;
}

.add-guest-button {
  min-height: 44px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font: 700 0.76rem var(--serif);
  text-transform: uppercase;
}

.add-guest-button span {
  margin-right: 7px;
  font-size: 1.1rem;
}

.add-guest-button:disabled {
  cursor: default;
  opacity: 0.45;
}

.party-count {
  margin: -16px 0 26px 80px !important;
  color: rgba(31, 62, 49, 0.68);
  font-size: 0.9rem;
}

.guest-entry {
  margin-left: 80px;
  padding: 30px 0 36px;
  border-top: 1px solid rgba(35, 74, 56, 0.14);
}

.guest-entry-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.guest-entry-heading h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.remove-guest {
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #7d5535;
  cursor: pointer;
  font: 700 0.7rem var(--serif);
  text-transform: uppercase;
}

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

.form-spacer {
  height: 34px;
}

.rsvp-form label,
.rsvp-form legend {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  margin-top: 9px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.05rem;
  text-transform: none;
}

.rsvp-form textarea {
  min-height: 120px;
  resize: vertical;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  border-bottom-color: var(--accent);
  outline: 0;
}

.rsvp-form fieldset {
  margin: 0;
}

.rsvp-form legend {
  margin-bottom: 18px;
  color: var(--accent);
}

.event-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.check {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.check:nth-child(odd) {
  padding-right: 30px;
}

.check:nth-child(even) {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.check input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0;
  accent-color: var(--accent);
}

.submit-button {
  margin-top: 48px;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  min-height: 26px;
  margin: 20px 0 0 !important;
  color: #7d5535;
  font-size: 0.98rem;
}

.form-status:not(:empty) {
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.3);
}

.form-status.is-error {
  border-left-color: #9b3e32;
  background: rgba(155, 62, 50, 0.07);
  color: #7e3029;
}

.form-status a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.confirmation {
  margin-top: 30px !important;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--accent);
}

.confirmation h3 {
  margin: 4px 0 6px;
  font-family: var(--script);
  font-size: 3rem;
  font-weight: 400;
}

.confirmation p {
  margin: 0;
}

.confirmation-id {
  margin-top: 14px !important;
  color: rgba(31, 62, 49, 0.7);
  font-size: 0.84rem;
}

.field-single {
  width: min(100%, 510px);
}

.mauritius-guide[hidden] {
  display: none !important;
}

.mauritius-guide {
  --flow-surface: #e6eeea;
  position: relative;
  overflow: hidden;
  background: #e6eeea;
  opacity: 0;
  transition: opacity 900ms ease;
}

.mauritius-guide.is-visible {
  opacity: 1;
}

.mauritius-guide-hero {
  position: relative;
  min-height: 68svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  background: #edf2ed;
}

.mauritius-guide-art {
  position: relative;
  z-index: 0;
  min-height: 68svh;
  background: url("assets/scene-island.jpg") center / cover no-repeat;
  filter: saturate(0.86) contrast(0.96);
  transform: scale(1.04);
  transition: transform 2200ms cubic-bezier(0.2, 0.7, 0.2, 1);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
}

.mauritius-guide.is-visible .mauritius-guide-art {
  transform: scale(1);
}

.mauritius-guide-hero::before {
  content: none;
}

.mauritius-guide-intro {
  align-self: center;
  width: auto;
  margin: 0;
  padding: 88px 7vw;
}

.mauritius-guide-intro h2 {
  margin: 0 0 26px;
  font-size: 4.6rem;
  font-weight: 500;
  line-height: 0.96;
}

.mauritius-guide-intro > p:last-child {
  max-width: 590px;
  margin: 0;
  font-size: 1.2rem;
}

.experience {
  --experience-surface: #f4efe5;
  height: clamp(620px, 68svh, 720px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  background: var(--experience-surface);
  overflow: hidden;
}

.experience-art {
  position: relative;
  order: 1;
  margin: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
}

.experience-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform 1200ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.experience:hover .experience-art img {
  transform: scale(1.025);
}

.experience-art figcaption {
  position: absolute;
  right: 12%;
  bottom: 18px;
  left: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.66rem;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(18, 33, 27, 0.8);
}

.experience-art figcaption a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.experience-copy {
  order: 2;
  align-self: center;
  padding: 88px 7vw;
}

.experience-copy h3 {
  margin: 14px 0 24px;
  font-family: var(--script);
  font-size: 4.25rem;
  font-weight: 400;
  line-height: 0.92;
}

.experience-copy > p:not(.experience-meta) {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: 1.12rem;
}

.experience-le-morne { --experience-surface: #edf2ed; }
.experience-chamarel { --experience-surface: #f4ece3; }
.experience-gorges { --experience-surface: #e5eee6; }
.experience-gardens { --experience-surface: #f5e9e4; }
.experience-ile-aux-cerfs { --experience-surface: #e2efef; }
.experience-port-louis { --experience-surface: #e7e9e4; }

.experience-port-louis .experience-art img {
  object-position: center 48%;
}

.mauritius-guide-note {
  padding: 116px max(7vw, calc((100vw - 1240px) / 2));
  background: #1b4638;
  color: #f8f1e1;
  text-align: center;
}

.mauritius-guide-note p {
  width: min(700px, 100%);
  margin: 0 auto 34px;
  color: rgba(248, 241, 225, 0.8);
}

.mauritius-guide-note .button {
  border-color: #f8f1e1;
  background: #f8f1e1;
  color: #1b4638;
}

/* Continuous watercolor scrollytelling */
.event-story {
  position: relative;
}

.event-story-stage {
  position: relative;
}

.event-art-stack,
.event-story-track {
  display: none;
}

.event-panel {
  --chapter-image: url("assets/scene-home.jpg");
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 82svh;
  align-items: center;
  overflow: hidden;
  padding: 100px 7vw;
  background-image: var(--chapter-image);
  background-position: center;
  background-size: cover;
}

.event-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 248, 241, 0.94) 0%, rgba(251, 248, 241, 0.78) 34%, rgba(251, 248, 241, 0.04) 72%);
}

.event-panel.chapter-walima::before {
  background: linear-gradient(90deg, rgba(8, 24, 50, 0.86) 0%, rgba(8, 24, 50, 0.56) 40%, rgba(8, 24, 50, 0.03) 76%);
}

.event-story.story-ready .event-story-stage {
  position: sticky;
  top: 0;
  z-index: 4;
  height: 100svh;
  overflow: hidden;
  background: var(--ivory);
}

.event-story.story-ready .event-art-stack {
  position: absolute;
  inset: 0;
  display: block;
  background: var(--ivory);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%);
}

.event-art {
  --scene-opacity: 0;
  --scene-shift: 0px;
  position: absolute;
  inset: -3%;
  opacity: var(--scene-opacity);
  background-position: center calc(50% + var(--scene-shift));
  background-size: cover;
  transform: scale(calc(1.025 + (1 - var(--scene-opacity)) * 0.025));
  transition: filter 320ms ease;
  will-change: opacity, transform, background-position;
}

.event-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 248, 241, 0.93) 0%, rgba(251, 248, 241, 0.76) 34%, rgba(251, 248, 241, 0.04) 72%);
}

.event-art-mehendi { background-image: url("assets/scene-mehendi.jpg"); }
.event-art-nikkah { background-image: url("assets/scene-nikkah.jpg"); }
.event-art-walima { background-image: url("assets/scene-walima.jpg"); }
.event-art-beach { background-image: url("assets/scene-beach.jpg"); }
.event-art-island { background-image: url("assets/scene-island.jpg"); }

.event-art-walima::after {
  background: linear-gradient(90deg, rgba(8, 24, 50, 0.86) 0%, rgba(8, 24, 50, 0.56) 40%, rgba(8, 24, 50, 0.03) 76%);
}

.event-story.story-ready .event-copy-stack {
  position: absolute;
  z-index: 3;
  inset: 0;
}

.event-story.story-ready .event-panel {
  --panel-opacity: 0;
  --panel-shift: 22px;
  position: absolute;
  inset: 0;
  min-height: 0;
  opacity: var(--panel-opacity);
  padding: calc(var(--header-height) + 72px) 7vw 90px;
  background: none;
  pointer-events: none;
  transform: translate3d(0, var(--panel-shift), 0);
  will-change: opacity, transform;
}

.event-story.story-ready .event-panel::before {
  display: none;
}

.event-story.story-ready .event-panel.is-active {
  pointer-events: auto;
}

.event-story.story-ready .event-story-track {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  margin-top: -100svh;
  pointer-events: none;
}

.event-story-step {
  display: block;
  height: 140svh;
}

.detail-backdrop {
  --backdrop-opacity: 0;
  --backdrop-shift: 0px;
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  opacity: var(--backdrop-opacity);
  background: #e8eee8;
  pointer-events: none;
}

.detail-backdrop-art {
  position: absolute;
  inset: -5%;
  background-image: var(--page-scene, url("assets/scene-home.jpg"));
  background-position: center calc(50% + var(--backdrop-shift));
  background-size: cover;
  filter: saturate(0.78) contrast(0.94);
  transform: scale(1.055);
  will-change: opacity, background-position, transform;
}

.detail-backdrop-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244, 239, 229, 0.48);
}

body.has-detail-backdrop main,
body.has-detail-backdrop .footer {
  position: relative;
  z-index: 1;
}

[data-flow-section] {
  --section-progress: 0;
  position: relative;
  isolation: isolate;
  overflow: visible !important;
  background: transparent !important;
}

.section-wash {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: calc(0.93 + var(--section-progress) * 0.05);
  background: var(--flow-surface, var(--paper));
  pointer-events: none;
}

.section-wash::before,
.section-wash::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 142px;
  background: inherit;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

.section-wash::before {
  top: -140px;
  -webkit-mask-image: url("assets/watercolor-flow-a.svg");
  mask-image: url("assets/watercolor-flow-a.svg");
}

.section-wash::after {
  bottom: -140px;
  -webkit-mask-image: url("assets/watercolor-flow-out.svg");
  mask-image: url("assets/watercolor-flow-out.svg");
}

[data-flow-section] > :not(.section-wash) {
  position: relative;
  z-index: 1;
}

.has-continuous-flow .wardrobe-layout {
  overflow: clip;
}

.has-continuous-flow .map-frame {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.footer {
  position: relative;
  isolation: isolate;
}

.footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -58px;
  right: 0;
  left: 0;
  height: 60px;
  background: #17372d;
  pointer-events: none;
  -webkit-mask-image: url("assets/watercolor-flow-a.svg");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: url("assets/watercolor-flow-a.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

/* Footer */
.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 5vw;
  background: #17372d;
  box-shadow: 0 4px 0 #17372d;
  color: #f7f0df;
}

.footer .brand {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 2rem;
}

.footer p {
  margin: 0;
  color: rgba(247, 240, 223, 0.75);
  font-size: 0.82rem;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--accent-soft);
}

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.wardrobe-image.reveal {
  opacity: 0;
  transform: translate3d(0, calc(var(--media-shift, 0px) + 28px), 0) scale(1.015);
  transition: opacity 760ms ease, transform 1000ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.wardrobe-image.reveal.visible {
  opacity: 1;
  transform: translate3d(0, var(--media-shift, 0px), 0) scale(1);
}

@media (min-width: 1351px) and (max-width: 1550px) {
  .site-header {
    grid-template-columns: minmax(150px, 1fr) auto minmax(120px, 1fr);
    gap: 18px;
    padding-right: 4vw;
    padding-left: 4vw;
  }

  .nav { gap: 16px; }
  .nav a { font-size: 0.68rem; }
  .nav-actions { gap: 6px; }
  .nav-cta,
  .nav-stay,
  .nav-discover { padding-right: 13px; padding-left: 13px; font-size: 0.64rem; }
  .nav-cta { min-width: 88px; }
  .nav-stay { min-width: 106px; }
  .nav-discover { min-width: 128px; }
}

@media (max-width: 1180px) {
  .nav { gap: 12px; }
  .nav a { font-size: 0.64rem; }
  .nav-actions { gap: 6px; }
  .nav-cta,
  .nav-stay,
  .nav-discover { min-width: 80px; padding-right: 10px; padding-left: 10px; font-size: 0.6rem; }
  .scene-content { width: min(650px, 55vw); }
  .scene-content h1 { font-size: 5.2rem; }
  .scene-home .scene-content h1 { font-size: 6rem; }
  .event-chapter-copy h3 { font-size: 4.8rem; }
}

@media (max-width: 1350px) {
  :root { --header-height: 68px; }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    padding-right: max(24px, env(safe-area-inset-right));
    padding-left: max(24px, env(safe-area-inset-left));
  }

  .nav-toggle {
    grid-row: 1;
    grid-column: 3;
    justify-self: end;
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    width: 100vw;
    height: 100svh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    padding: calc(var(--header-height) + 20px) 24px 40px;
    overflow-y: auto;
    background: rgba(248, 244, 235, 0.98);
    color: #263f34;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 250ms ease, visibility 250ms ease, transform 250ms ease;
  }

  .nav-open {
    overflow: hidden;
  }

  .nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    font-size: 1rem;
  }

  .nav-actions {
    grid-column: 2;
    gap: 6px;
  }

  .nav-cta,
  .nav-stay,
  .nav-discover {
    min-width: 78px;
    padding: 10px 16px;
    font-size: 0.68rem;
  }

  .scene-hero {
    padding-right: 48px;
    padding-left: 48px;
  }

  .scene-content {
    width: min(620px, 68vw);
  }

  .section-inner {
    width: min(100% - 64px, 1120px);
  }

  .section h2 {
    font-size: 3.35rem;
  }

  .invitation-layout,
  .travel-layout,
  .event-overview-layout,
  .programme-layout {
    gap: 7vw;
  }

  .invitation-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .invitation-portrait {
    min-height: 500px;
  }

  .wardrobe-copy { padding: 70px 6vw 94px; }

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

  .hotel-region-intro {
    max-width: 560px;
  }

  .experience-copy {
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .experience-copy h3 {
    font-size: 3.6rem;
  }
}

@media (max-width: 760px) {
  :root {
    --flow-depth: 56px;
  }

  body {
    font-size: 17px;
  }

  .brand {
    font-size: 1.8rem;
  }

  .scene-hero {
    min-height: 100svh;
    align-items: flex-start;
    padding: calc(var(--header-height) + 54px) 24px 78px;
  }

  .scene-art {
    inset: -3%;
    background-position: 62% center;
    transform: translate3d(0, var(--scene-shift), 0) scale(1.04);
  }

  .scene-hero::before {
    background: linear-gradient(180deg, rgba(251, 248, 241, 0.96) 0%, rgba(251, 248, 241, 0.8) 52%, rgba(251, 248, 241, 0.18) 82%, rgba(251, 248, 241, 0) 100%);
  }

  .scene-walima::before {
    background: linear-gradient(180deg, rgba(7, 23, 49, 0.9) 0%, rgba(7, 23, 49, 0.65) 58%, rgba(7, 23, 49, 0.12) 88%);
  }

  .scene-home .scene-art,
  .scene-rsvp .scene-art { background-position: 65% center; }
  .scene-mehendi .scene-art { background-position: 70% center; }
  .scene-nikkah .scene-art { background-position: 66% center; }
  .scene-walima .scene-art { background-position: 68% center; }
  .scene-beach .scene-art { background-position: 62% center; }
  .scene-island .scene-art { background-position: 63% center; }

  .scene-content {
    width: 100%;
    max-width: 560px;
    margin-top: 0;
  }

  .scene-content h1,
  .scene-home .scene-content h1 {
    font-size: 4rem;
    line-height: 0.92;
  }

  .scene-mehendi .scene-content h1,
  .scene-beach .scene-content h1 {
    font-size: 3.35rem;
  }

  .scene-script {
    font-size: 2.8rem;
  }

  .scene-summary {
    max-width: 90%;
    font-size: 1.05rem;
  }

  .scene-facts {
    display: block;
    width: min(100%, 500px);
  }

  .scene-facts span {
    display: block;
    padding: 7px 0;
  }

  .scene-facts span + span {
    padding-left: 0;
    border-top: 1px solid currentColor;
    border-left: 0;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(64px, 82px));
    width: min(100%, 328px);
  }

  .countdown div {
    min-height: 68px;
  }

  .countdown strong {
    font-size: 1.6rem;
  }

  .countdown span {
    font-size: 0.58rem;
  }

  .scene-actions {
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 20px;
  }

  .scene-scroll {
    left: 24px;
    bottom: 22px;
  }

  .section {
    padding: 90px 0;
  }

  .section-inner {
    width: calc(100% - 48px);
  }

  .section h2 {
    font-size: 2.75rem;
  }

  .section-heading {
    margin-bottom: 46px;
  }

  .invitation-layout,
  .travel-layout,
  .event-overview-layout,
  .programme-layout,
  .field-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .invitation-portrait {
    min-height: min(112vw, 430px);
  }

  .invitation-portrait figcaption {
    right: 6%;
    bottom: 7%;
    left: 6%;
    font-size: 1.8rem;
  }

  .couple-line p {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .events-section {
    padding-top: 90px;
  }

  .event-panel {
    min-height: 92svh;
    align-items: flex-start;
    padding: 100px 24px 74px;
    background-position: 66% center;
  }

  .event-panel::before {
    background: linear-gradient(180deg, rgba(251, 248, 241, 0.95) 0%, rgba(251, 248, 241, 0.74) 52%, rgba(251, 248, 241, 0.05) 86%);
  }

  .event-panel.chapter-walima::before {
    background: linear-gradient(180deg, rgba(8, 24, 50, 0.9) 0%, rgba(8, 24, 50, 0.64) 58%, rgba(8, 24, 50, 0.05) 88%);
  }

  .event-story.story-ready .event-art-stack {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 91%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 91%, transparent 100%);
  }

  .event-story.story-ready .event-panel {
    align-items: flex-start;
    padding: calc(var(--header-height) + 58px) 24px 76px;
  }

  .event-story-step {
    height: 115svh;
  }

  .event-art {
    background-position: 66% calc(50% + var(--scene-shift));
  }

  .event-art-mehendi { background-position-x: 70%; }
  .event-art-nikkah { background-position-x: 66%; }
  .event-art-walima { background-position-x: 68%; }
  .event-art-beach { background-position-x: 62%; }
  .event-art-island { background-position-x: 63%; }

  .section-wash::before,
  .section-wash::after {
    height: 98px;
  }

  .section-wash::before {
    top: -96px;
  }

  .section-wash::after {
    bottom: -96px;
  }

  .event-chapter-copy {
    width: 100%;
    max-width: 520px;
  }

  .event-chapter-copy h3 {
    font-size: 4.1rem;
  }

  .event-description {
    max-width: 90%;
    font-size: 1.08rem;
  }

  .travel-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hotel-guide {
    margin-top: 104px;
  }

  .hotel-guide-heading {
    display: block;
    padding: 64px 0 76px;
  }

  .hotel-guide-heading h2 {
    margin: 10px 0 24px;
  }

  .hotel-guide-heading > p:last-child {
    margin: 0;
  }

  .hotel-region {
    gap: 28px;
    padding: 68px 0;
  }

  .hotel-region-intro h3 {
    font-size: 2.8rem;
  }

  .hotel-row {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 18px;
    min-height: 0;
    padding: 26px 0;
  }

  .hotel-score strong {
    font-size: 2.15rem;
  }

  .hotel-copy h4 {
    font-size: 1.25rem;
  }

  .hotel-copy p {
    font-size: 0.92rem;
  }

  .hotel-link {
    grid-column: 2;
    justify-self: start;
  }

  .wardrobe-layout {
    grid-template-columns: 1fr;
  }

  .wardrobe-image,
  .theme-nikkah .wardrobe-image,
  .theme-beach .wardrobe-image {
    order: 1;
    height: min(142vw, 760px);
    padding: 18px;
    object-position: center;
  }

  .wardrobe-copy,
  .theme-nikkah .wardrobe-copy,
  .theme-beach .wardrobe-copy {
    order: 2;
    padding: 76px 24px 86px;
  }

  .wardrobe-section {
    padding-bottom: 72px;
  }

  .packing-list {
    grid-template-columns: 1fr;
  }

  .schedule-list::before {
    left: 80px;
  }

  .schedule-list li {
    grid-template-columns: 80px 1fr;
  }

  .package-inclusions {
    padding: 28px 0 0 114px;
  }

  .schedule-list time {
    padding-right: 14px;
    font-size: 0.7rem;
  }

  .schedule-list span {
    padding-left: 24px;
    font-size: 1.03rem;
  }

  .notes-grid {
    grid-template-columns: 1fr;
  }

  .note {
    min-height: 0;
    padding: 28px 0;
  }

  .note + .note {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .map-frame {
    min-height: 420px;
    height: 58svh;
  }

  .final-cta {
    padding: 96px 0;
  }

  .final-cta h2 {
    font-size: 3.7rem;
  }

  .final-cta::before,
  .final-cta::after {
    display: none;
  }

  .rsvp-form {
    padding-top: 28px;
  }

  .form-spacer {
    height: 0;
  }

  .event-options {
    grid-template-columns: 1fr;
  }

  .check:nth-child(odd),
  .check:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .mauritius-guide-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .mauritius-guide-art {
    min-height: 52svh;
    background-position: 66% center;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  }

  .mauritius-guide-intro {
    width: auto;
    margin: 0;
    padding: 30px 24px 84px;
  }

  .mauritius-guide-intro h2 {
    font-size: 3.15rem;
  }

  .mauritius-guide-intro > p:last-child {
    font-size: 1.04rem;
  }

  .experience,
  .experience:nth-child(even) {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .experience-art,
  .experience:nth-child(even) .experience-art {
    order: 1;
    height: 46svh;
    min-height: 46svh;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  }

  .experience-art img {
    height: 46svh;
    min-height: 0;
  }

  .experience-copy,
  .experience:nth-child(even) .experience-copy {
    order: 2;
    padding: 30px 24px 84px;
  }

  .experience-copy h3 {
    font-size: 3.35rem;
  }

  .mauritius-guide-note {
    padding: 92px 24px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 40px 24px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 1180px) {
  .hotel-planner-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .island-map-panel {
    position: relative;
    top: auto;
  }

  .island-map,
  .map-interaction-cue {
    width: min(100%, 620px);
  }

  .map-label {
    font-size: 0.66rem;
  }

  .hotel-entry-main {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .hotel-entry-main .hotel-link {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .calendar-control {
    position: static;
  }

  .calendar-menu {
    left: 24px;
    right: 24px;
    top: auto;
    width: auto;
    margin-top: 12px;
  }

  .region-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 34px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .region-tabs button {
    min-height: 54px;
    padding: 8px 6px;
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    color: rgba(31, 62, 49, 0.66);
    font: 700 0.65rem var(--serif);
    text-transform: uppercase;
  }

  .region-tabs button:last-child {
    border-right: 0;
  }

  .region-tabs button.is-active {
    background: rgba(255, 250, 240, 0.56);
    color: var(--accent);
  }

  .hotel-planner-layout {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-top: 0;
    border-top: 0;
  }

  .island-map-panel {
    position: relative;
    top: auto;
  }

  .island-map {
    width: min(100%, 470px);
    height: auto;
  }

  .map-label {
    font-size: 0.62rem;
  }

  .map-region {
    gap: 5px;
  }

  .map-region-city {
    left: 39%;
  }

  .map-venue-tooltip {
    max-width: 180px;
  }

  .map-legend {
    gap: 18px;
  }

  .package-inclusions {
    padding-left: 0;
  }

  .hotel-results {
    min-height: 0;
  }

  .hotel-results-heading h3 {
    font-size: 3.15rem;
  }

  .hotel-entry-main {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 26px 0;
  }

  .hotel-score strong {
    font-size: 2rem;
  }

  .hotel-entry-main .hotel-link {
    grid-column: 2;
  }

  .hotel-travel li,
  .hotel-travel li div {
    align-items: flex-start;
  }

  .hotel-travel li {
    padding: 12px 0;
  }

  .hotel-travel li div {
    flex-direction: column;
    gap: 2px;
  }

  .hotel-travel li strong {
    min-width: 0;
  }

  .flight-planner,
  .island-essentials {
    margin-top: 96px;
    padding-top: 68px;
  }

  .travel-band-heading,
  .flight-layout,
  .essentials-layout {
    grid-template-columns: 1fr;
  }

  .travel-band-heading {
    gap: 8px;
    margin-bottom: 48px;
  }

  .travel-band-heading .section-kicker {
    grid-row: auto;
  }

  .flight-layout,
  .essentials-layout {
    gap: 72px;
  }

  .flight-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .currency-inputs {
    grid-template-columns: 1fr 112px;
    gap: 22px;
  }

  .currency-result {
    font-size: 2.3rem;
  }

  .form-chapter {
    padding: 42px 0;
  }

  .form-chapter-heading {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .form-chapter-heading .add-guest-button {
    grid-column: 2;
    justify-self: start;
  }

  .form-chapter-heading h3 {
    font-size: 2.55rem;
  }

  .party-count,
  .guest-entry {
    margin-left: 56px !important;
  }

  .guest-entry .field-grid {
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .nav-actions .nav-cta {
    display: none;
  }

  .nav-mobile-rsvp {
    display: block;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 6px;
    padding-right: max(14px, env(safe-area-inset-right));
    padding-left: max(14px, env(safe-area-inset-left));
  }

  .brand {
    font-size: 1.3rem;
  }

  .nav-actions {
    gap: 4px;
  }

  .nav-cta,
  .nav-stay,
  .nav-discover {
    min-width: 0;
    padding: 8px 9px;
    font-size: 0.55rem;
  }
}

@media (max-width: 390px) {
  .site-header {
    gap: 4px;
    padding-right: max(10px, env(safe-area-inset-right));
    padding-left: max(10px, env(safe-area-inset-left));
  }

  .brand {
    font-size: 1.1rem;
  }

  .nav-actions {
    gap: 3px;
  }

  .nav-stay,
  .nav-discover {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 0.49rem;
  }

  .scene-content h1,
  .scene-home .scene-content h1 {
    font-size: 3.35rem;
  }

  .scene-mehendi .scene-content h1,
  .scene-beach .scene-content h1 {
    font-size: 2.95rem;
  }

  .scene-script {
    font-size: 2.45rem;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(58px, 1fr));
  }

  .event-chapter-copy h3 {
    font-size: 3.55rem;
  }

  .mauritius-guide-intro h2 {
    font-size: 2.75rem;
  }

  .experience-copy h3 {
    font-size: 3rem;
  }
}

@media (max-width: 340px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-header > .brand {
    display: none;
  }

  .nav-actions {
    grid-column: 1;
    justify-self: start;
  }

  .nav-toggle {
    grid-column: 2;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .scene-content > *,
  .reveal,
  .schedule-list li {
    opacity: 1;
    transform: none;
  }

  .wardrobe-image.reveal {
    opacity: 1;
    transform: none;
  }

  .mauritius-guide-art {
    transform: none;
  }
}
