:root {
  --bg: #f5eee4;
  --bg-soft: #fbf6ef;
  --surface: rgba(255, 251, 246, 0.94);
  --surface-strong: #fffdf9;
  --surface-deep: rgba(33, 22, 19, 0.74);
  --surface-dark: #1c120f;
  --surface-dark-soft: #271915;
  --text: #241613;
  --muted: #6f5a49;
  --muted-soft: #927b69;
  --gold: #be9150;
  --gold-deep: #8f6835;
  --gold-soft: #ead8b7;
  --line: rgba(58, 39, 29, 0.12);
  --line-strong: rgba(58, 39, 29, 0.22);
  --success: #215d43;
  --danger: #8c2c23;
  --shadow-soft: 0 20px 48px rgba(31, 17, 11, 0.08);
  --shadow-deep: 0 30px 80px rgba(20, 12, 8, 0.18);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(190, 145, 80, 0.18), transparent 28rem),
    radial-gradient(circle at 85% 12%, rgba(255, 244, 221, 0.7), transparent 24rem),
    linear-gradient(180deg, #fbf5ec 0%, #f4ebdf 46%, #f8f3eb 100%);
  font-family: var(--font-body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

body.public-body {
  color: var(--text);
}

body.admin-body {
  background:
    radial-gradient(circle at top left, rgba(190, 145, 80, 0.2), transparent 28rem),
    radial-gradient(circle at bottom right, rgba(32, 20, 15, 0.08), transparent 30rem),
    linear-gradient(180deg, #f8f1e6 0%, #f4ece1 100%);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  min-width: 0;
}

textarea {
  resize: vertical;
}

:focus-visible {
  outline: 2px solid rgba(190, 145, 80, 0.72);
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: 5.75rem;
}

.shell {
  width: min(100% - clamp(1.1rem, 5vw, 2.8rem), 1160px);
  margin: 0 auto;
}

.brand-mark strong,
h1,
h2,
h3 {
  font-family: var(--font-display);
}

.brand-kicker,
.eyebrow,
.detail-label,
.fact-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff9f0;
  box-shadow: 0 14px 28px rgba(143, 104, 53, 0.28);
}

.button-secondary {
  background: linear-gradient(135deg, #2d1d17 0%, #1c120f 100%);
  color: #fff4e5;
  box-shadow: 0 14px 28px rgba(28, 18, 15, 0.18);
}

.button-ghost {
  border-color: rgba(58, 39, 29, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.button-danger {
  border-color: rgba(140, 44, 35, 0.22);
  background: rgba(140, 44, 35, 0.08);
  color: var(--danger);
}

.button-whatsapp {
  background: #1f9d5c;
  color: #f7fff9;
  box-shadow: 0 12px 24px rgba(31, 157, 92, 0.16);
}

.button-compact {
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
}

.text-link,
.phone-link {
  color: var(--gold-deep);
  font-weight: 700;
}

.text-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.phone-link {
  display: inline-block;
  font-size: 1.15rem;
}

.pill,
.status-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: rgba(190, 145, 80, 0.14);
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.status-chip.is-live {
  background: rgba(33, 93, 67, 0.14);
  color: var(--success);
}

.status-chip.is-hidden {
  background: rgba(140, 44, 35, 0.12);
  color: var(--danger);
}

.flash {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.flash-success {
  background: rgba(33, 93, 67, 0.12);
  color: var(--success);
}

.flash-error {
  background: rgba(140, 44, 35, 0.12);
  color: var(--danger);
}

.field {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.field span,
.field legend {
  font-weight: 800;
  font-size: 0.94rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.field input,
.field textarea,
.field select,
.media-order-form input,
.inline-edit-grid input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(58, 39, 29, 0.14);
  background: rgba(255, 253, 249, 0.98);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.media-order-form input:focus,
.inline-edit-grid input:focus {
  border-color: rgba(190, 145, 80, 0.48);
  box-shadow:
    0 0 0 4px rgba(190, 145, 80, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  outline: none;
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--gold);
}

.fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  min-inline-size: 0;
  min-width: 0;
  max-width: 100%;
}

.choice-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(58, 39, 29, 0.12);
  background: rgba(255, 253, 249, 0.96);
  min-width: 0;
  width: 100%;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.choice-card span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.rsvp-form .fieldset .choice-card {
  border-color: rgba(58, 39, 29, 0.18);
  background: #fffdf9;
  color: #241613;
}

.rsvp-form .fieldset .choice-card span {
  font-weight: 800;
  color: #241613;
}

.rsvp-form .fieldset .choice-card input {
  width: 1.05rem;
  height: 1.05rem;
}

.choice-card:hover {
  border-color: rgba(190, 145, 80, 0.34);
}

.choice-card:has(input:checked) {
  border-color: rgba(190, 145, 80, 0.54);
  background: rgba(252, 244, 231, 0.98);
  transform: translateY(-1px);
}

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 700;
}

.form-error,
.deadline-note {
  margin: 0;
}

.preline {
  white-space: pre-line;
}

.site-header,
.admin-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(19, 12, 10, 0.68);
  color: #fff6ea;
}

.admin-header {
  border-bottom: 1px solid rgba(58, 39, 29, 0.08);
  background: rgba(255, 251, 246, 0.92);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.brand-mark strong {
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.brand-kicker {
  opacity: 0.74;
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0.85rem;
  left: 0.85rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(25, 16, 13, 0.98), rgba(18, 11, 10, 0.96));
  box-shadow: var(--shadow-deep);
}

.site-nav a {
  padding: 0.82rem 0.95rem;
  border-radius: 16px;
  color: rgba(255, 244, 228, 0.92);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  min-width: 0;
}

.admin-nav a,
.admin-nav form {
  display: inline-flex;
}

.admin-nav a {
  align-items: center;
  min-height: 2.8rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(44, 28, 22, 0.06);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 246, 232, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  font-weight: 700;
}

.public-main {
  position: relative;
  overflow: hidden;
}

.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: #fff2e1;
  background: #1c120f;
}

.hero-image,
.hero-overlay,
.hero-glow {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-position: var(--hero-focus-x, 50%) var(--hero-focus-y, 24%);
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.06);
  filter: saturate(1.03) contrast(1.02);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(14, 9, 8, 0.1) 0%, rgba(14, 9, 8, 0.22) 45%, rgba(14, 9, 8, 0.62) 78%, rgba(14, 9, 8, 0.92) 100%),
    linear-gradient(125deg, rgba(190, 145, 80, 0.18), transparent 46%);
}

.hero-glow {
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 236, 204, 0.16), transparent 20rem),
    radial-gradient(circle at 76% 24%, rgba(255, 216, 153, 0.1), transparent 16rem);
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.3rem;
  width: 100%;
  min-width: 0;
}

.hero-stage {
  max-width: 42rem;
  padding: 7rem 0 2rem;
}

.hero-kicker {
  margin: 0;
  color: rgba(255, 241, 218, 0.84);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hero-kicker span {
  opacity: 0.58;
}

.hero-stage h1 {
  margin: 0.45rem 0 0.75rem;
  font-size: clamp(3.6rem, 18vw, 7.25rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 34rem;
  margin: 0;
  font-size: 1.04rem;
  color: rgba(255, 242, 223, 0.88);
  overflow-wrap: anywhere;
}

.hero-meta {
  display: grid;
  gap: 0.8rem;
  margin: 1.9rem 0 1.4rem;
}

.hero-meta-item {
  padding: 0.95rem 1rem 1rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 248, 236, 0.1);
  backdrop-filter: blur(12px);
}

.hero-meta-item strong {
  display: block;
  margin-top: 0.28rem;
  font-size: 1rem;
  line-height: 1.35;
}

.hero-actions,
.inline-actions,
.contact-actions,
.hotel-actions,
.table-actions,
.media-actions,
.admin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-width: 0;
}

.hero-aside {
  padding-bottom: 4.25rem;
}

.hero-aside-card {
  max-width: 24rem;
  padding: 1.2rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(24, 15, 13, 0.48);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(16px);
}

.hero-aside-card p {
  margin: 0.35rem 0 0;
  color: rgba(255, 240, 217, 0.88);
}

.hero-aside-card .text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: #f4d19b;
}

.hero-deadline {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 242, 223, 0.8);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 2.2rem;
  height: 1px;
  background: rgba(255, 242, 223, 0.44);
}

.hero-stage > *,
.hero-aside-card,
.hero-scroll {
  animation: rise-in 0.72s ease both;
}

.hero-stage > *:nth-child(1) {
  animation-delay: 0.08s;
}

.hero-stage > *:nth-child(2) {
  animation-delay: 0.14s;
}

.hero-stage > *:nth-child(3) {
  animation-delay: 0.2s;
}

.hero-stage > *:nth-child(4) {
  animation-delay: 0.26s;
}

.hero-stage > *:nth-child(5) {
  animation-delay: 0.32s;
}

.hero-aside-card {
  animation-delay: 0.36s;
}

.hero-scroll {
  animation-delay: 0.42s;
}

.section {
  position: relative;
  padding: clamp(4.25rem, 9vw, 6rem) 0 0;
}

.section-last {
  padding-bottom: 4.75rem;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 1.75rem;
}

.section-heading h1,
.section-heading h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(2.4rem, 10vw, 4.7rem);
  line-height: 0.96;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0;
  color: var(--gold-deep);
}

.section-heading-light .eyebrow,
.section-heading-light h2 {
  color: #fff2e1;
}

.section-presentation {
  z-index: 1;
}

.editorial-grid,
.highlights-grid,
.travel-layout,
.hotel-grid,
.contact-grid,
.stats-grid,
.admin-grid,
.media-grid,
.gallery-admin-layout,
.admin-dashboard-grid,
.quick-grid,
.form-grid,
.mini-stats-grid,
.admin-filter-bar,
.inline-edit-grid,
.form-grid-3 {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.story-card,
.panel,
.info-card,
.hotel-card,
.contact-card,
.admin-card,
.stat-card,
.success-card,
.admin-login-card,
.quick-card,
.mini-stat-card,
.media-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(58, 39, 29, 0.1);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 238, 227, 0.9));
  box-shadow: var(--shadow-soft);
}

.story-card,
.panel,
.info-card,
.hotel-card,
.contact-card,
.admin-card,
.stat-card,
.success-card,
.admin-login-card,
.quick-card,
.mini-stat-card,
.media-card {
  padding: 1.35rem;
  min-width: 0;
}

.story-card {
  padding: 1.5rem 1.35rem;
}

.story-lead {
  margin: 0 0 1rem;
  font-size: 1.18rem;
  line-height: 1.9;
  color: #2b1d18;
}

.story-text,
.panel-muted,
.travel-note,
.hotel-card p,
.info-card p {
  color: var(--muted);
}

.portrait-frame,
.immersive-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: var(--shadow-deep);
}

.portrait-frame {
  min-height: 30rem;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background-position: center 18%;
}

.portrait-frame::before,
.immersive-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 11, 10, 0.12), rgba(18, 11, 10, 0.8)),
    linear-gradient(135deg, rgba(190, 145, 80, 0.22), transparent 52%);
}

.portrait-caption,
.immersive-band-content {
  position: relative;
  z-index: 1;
  color: #fff2e1;
}

.portrait-caption {
  width: min(100%, 23rem);
  padding: 1.15rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(21, 13, 11, 0.5);
  backdrop-filter: blur(14px);
}

.portrait-caption h3,
.info-card h3,
.hotel-card h3,
.contact-card h3,
.immersive-band-content h2,
.admin-hero h1,
.hero-preview-copy strong {
  margin: 0.35rem 0 0.55rem;
}

.ceremony-strip {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.strip-item {
  padding: 1.05rem 1.05rem 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(58, 39, 29, 0.08);
  background: rgba(255, 252, 247, 0.72);
}

.strip-item strong {
  display: block;
  margin-top: 0.3rem;
}

.section-ink {
  margin-top: clamp(4.25rem, 9vw, 6rem);
  padding: 0;
  background:
    radial-gradient(circle at top left, rgba(190, 145, 80, 0.15), transparent 24rem),
    linear-gradient(180deg, #1f130f 0%, #261814 100%);
  color: #fff2e1;
}

.rsvp-shell {
  padding: clamp(4rem, 8vw, 5.25rem) 0 clamp(4.25rem, 8vw, 5.5rem);
}

.rsvp-layout {
  display: grid;
  gap: 1rem;
}

.rsvp-note {
  padding: 1.35rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 248, 236, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.rsvp-note-title {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.82;
  color: #fff4e8;
}

.rsvp-note-copy {
  margin: 0.85rem 0 0;
  color: rgba(255, 238, 214, 0.78);
}

.rsvp-note-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.rsvp-note-list span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.06);
  color: #fff0d7;
  font-size: 0.84rem;
  font-weight: 700;
}

.form-panel {
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.99), rgba(247, 237, 223, 0.94));
  color: var(--text);
}

.form-panel .field span,
.form-panel .field legend,
.form-panel .choice-card,
.form-panel .panel-muted {
  color: var(--text);
}

.form-panel input::placeholder,
.form-panel textarea::placeholder {
  color: var(--muted-soft);
}

.rsvp-form,
.stack-form,
.seating-form,
.media-order-form {
  display: grid;
  gap: 1rem;
  min-width: 0;
  width: 100%;
}

.rsvp-form .button {
  width: 100%;
}

.highlights-grid {
  gap: 1rem;
}

.info-card {
  position: relative;
  min-height: 12rem;
  overflow: hidden;
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(190, 145, 80, 0.78), rgba(234, 216, 183, 0.45));
}

.info-card-accent {
  background:
    linear-gradient(160deg, rgba(36, 23, 18, 0.98), rgba(67, 45, 29, 0.92));
  color: #fff2e1;
  box-shadow: var(--shadow-deep);
}

.info-card-accent::before {
  background: linear-gradient(90deg, rgba(255, 237, 204, 0.92), rgba(190, 145, 80, 0.65));
}

.info-card-accent p,
.info-card-accent .detail-label {
  color: rgba(255, 241, 218, 0.84);
}

.immersive-band {
  min-height: 20rem;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  background-position: center;
}

.immersive-band-content {
  max-width: 34rem;
}

.immersive-band-content h2 {
  font-size: clamp(2rem, 8vw, 3.8rem);
  line-height: 0.98;
}

.travel-layout {
  gap: 1rem;
}

.route-panel {
  display: grid;
  gap: 1rem;
}

.travel-intro {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.75;
}

.travel-note {
  margin: 0;
}

.map-card {
  padding: 0;
  overflow: hidden;
}

.map-frame {
  display: block;
  width: 100%;
  min-height: 21rem;
  border: 0;
}

.hotel-card {
  position: relative;
  overflow: hidden;
}

.hotel-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(190, 145, 80, 0.92), rgba(234, 216, 183, 0.36));
}

.seating-panel {
  max-width: 54rem;
  margin: 0 auto;
}

.seating-result {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  min-height: 1.5rem;
}

.result-card {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(190, 145, 80, 0.16);
  background: rgba(251, 243, 230, 0.9);
}

.coming-soon {
  margin: 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.contact-card {
  background: linear-gradient(160deg, rgba(33, 22, 19, 0.98), rgba(55, 37, 29, 0.94));
  color: #fff2e1;
  box-shadow: var(--shadow-deep);
}

.contact-card .phone-link {
  color: #f3cf98;
}

.contact-card .button-secondary {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.site-footer {
  padding: 2.5rem 0 3rem;
}

.site-footer-shell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(58, 39, 29, 0.1);
  color: rgba(36, 22, 19, 0.64);
  font-size: 0.92rem;
}

.site-footer-shell p {
  margin: 0;
}

.footer-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  border: 1px solid rgba(58, 39, 29, 0.12);
  background: rgba(255, 251, 246, 0.56);
  color: rgba(36, 22, 19, 0.38);
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.footer-monogram:hover,
.footer-monogram:focus-visible {
  transform: translateY(-1px);
  color: rgba(36, 22, 19, 0.72);
  border-color: rgba(190, 145, 80, 0.38);
  background: rgba(255, 251, 246, 0.9);
}

.admin-main,
.success-shell,
.admin-login-shell {
  padding: 2rem 0 4rem;
}

.admin-login-card {
  max-width: 38rem;
  margin: 4rem auto 0;
  padding: 2rem;
}

.admin-section {
  margin-top: 1.4rem;
}

.admin-hero {
  display: grid;
  gap: 1rem;
  padding: 1.7rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(33, 22, 19, 0.97), rgba(93, 64, 34, 0.94));
  color: #fff2e1;
  box-shadow: var(--shadow-deep);
}

.admin-hero p:last-child {
  margin-bottom: 0;
  max-width: 42rem;
  color: rgba(255, 242, 223, 0.84);
}

.admin-card-wide {
  padding: 1.5rem;
}

.quick-actions-card {
  background: linear-gradient(180deg, rgba(255, 249, 240, 0.98), rgba(255, 252, 247, 0.94));
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.stat-card strong,
.mini-stat-card strong {
  display: block;
  margin-top: 0.3rem;
}

.stat-card strong {
  font-size: 2rem;
}

.mini-stat-card strong {
  font-size: 1.35rem;
}

.premium-stat-card {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(255, 244, 228, 0.94));
}

.premium-stat-card p {
  margin-bottom: 0;
}

.quick-card {
  gap: 0.35rem;
  border-radius: var(--radius-md);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.quick-card:hover {
  transform: translateY(-1px);
  border-color: rgba(190, 145, 80, 0.42);
}

.quick-card span {
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.table-wrap table {
  min-width: 40rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid rgba(58, 39, 29, 0.09);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-soft);
}

.checkbox-field .choice-card {
  min-height: 100%;
}

.admin-inline-form {
  margin-top: 1rem;
}

.admin-back-link {
  border-color: rgba(58, 39, 29, 0.18);
}

.hero-preview-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.hero-preview-frame {
  position: relative;
  min-height: 18rem;
  background-position: var(--hero-focus-x, 50%) var(--hero-focus-y, 20%);
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-preview-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 11, 10, 0.18), rgba(18, 11, 10, 0.78)),
    linear-gradient(125deg, rgba(190, 145, 80, 0.24), transparent 55%);
}

.hero-preview-copy {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  z-index: 1;
  color: #fff2e1;
}

.hero-preview-copy strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.55rem;
}

.media-thumb {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(44, 28, 22, 0.08);
}

.media-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-meta {
  display: grid;
  gap: 0.45rem;
}

.media-order-form input {
  width: 6.25rem;
}

.success-card {
  max-width: 40rem;
  margin: 4rem auto 0;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 719px) {
  html {
    scroll-padding-top: 4.85rem;
  }

  [id] {
    scroll-margin-top: 4.85rem;
  }

  .shell {
    width: min(100% - 1.15rem, 1160px);
  }

  .button {
    width: 100%;
    min-height: 3rem;
    padding: 0.82rem 1rem;
    text-align: center;
    white-space: normal;
  }

  .button-compact {
    min-height: 2.6rem;
    padding: 0.62rem 0.85rem;
  }

  .header-row {
    padding: 0.72rem 0;
  }

  .brand-mark {
    max-width: calc(100vw - 8rem);
  }

  .brand-mark strong {
    font-size: 1rem;
    line-height: 1.12;
  }

  .brand-kicker,
  .eyebrow,
  .detail-label,
  .fact-label {
    letter-spacing: 0.14em;
    font-size: 0.66rem;
  }

  .nav-toggle {
    flex: 0 0 auto;
    min-height: 2.65rem;
    padding: 0.58rem 0.85rem;
  }

  .site-nav.is-open {
    top: calc(100% + 0.45rem);
    right: 0.58rem;
    left: 0.58rem;
    border-radius: 20px;
  }

  .admin-header .header-row {
    align-items: stretch;
    flex-direction: column;
    gap: 0.75rem;
  }

  .admin-header .brand-mark {
    max-width: 100%;
  }

  .admin-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.5rem;
    margin: 0 -0.58rem;
    padding: 0 0.58rem 0.35rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-nav a,
  .admin-nav form,
  .admin-nav .button {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }

  .admin-nav a {
    min-height: 2.55rem;
    padding: 0.58rem 0.8rem;
  }

  .hero-section {
    min-height: calc(100svh - 4.1rem);
    align-items: stretch;
  }

  .hero-image {
    transform: none;
    background-position: var(--hero-focus-x, 50%) var(--hero-focus-y, 24%);
  }

  .hero-shell {
    align-content: end;
    gap: 0.75rem;
    padding-bottom: 3rem;
  }

  .hero-stage {
    padding: 4.65rem 0 0;
  }

  .hero-kicker {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
  }

  .hero-stage h1 {
    margin-top: 0.38rem;
    margin-bottom: 0.58rem;
    font-size: clamp(2.62rem, 12.6vw, 3.85rem);
    line-height: 0.95;
  }

  .hero-copy {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .hero-meta {
    gap: 0;
    margin: 1rem 0 0.85rem;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 248, 236, 0.1);
    backdrop-filter: blur(12px);
  }

  .hero-meta-item {
    display: grid;
    grid-template-columns: minmax(5.2rem, 0.4fr) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: baseline;
    padding: 0.58rem 0.72rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .hero-meta-item + .hero-meta-item {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-meta-item strong {
    margin-top: 0;
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .inline-actions,
  .contact-actions,
  .table-actions,
  .media-actions,
  .admin-hero-actions {
    flex-direction: column;
  }

  .hotel-actions {
    align-items: flex-start;
  }

  .hero-aside {
    display: none;
  }

  .hero-aside-card {
    max-width: none;
    padding: 1rem;
    border-radius: 20px;
  }

  .hero-scroll {
    bottom: 0.85rem;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .section {
    padding-top: 3.2rem;
  }

  .section-last {
    padding-bottom: 3.25rem;
  }

  .section-heading {
    margin-bottom: 1.15rem;
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: clamp(1.95rem, 8.5vw, 3rem);
    line-height: 1.02;
  }

  .story-card,
  .panel,
  .info-card,
  .hotel-card,
  .contact-card,
  .admin-card,
  .stat-card,
  .success-card,
  .admin-login-card,
  .quick-card,
  .mini-stat-card,
  .media-card {
    border-radius: 20px;
    padding: 1rem;
  }

  .story-card {
    padding: 1.08rem;
  }

  .story-lead {
    font-size: 1.05rem;
    line-height: 1.72;
  }

  .portrait-frame {
    min-height: 22rem;
    border-radius: 22px;
  }

  .portrait-caption {
    width: 100%;
    padding: 0.95rem;
    border-radius: 18px;
  }

  .strip-item,
  .choice-card {
    border-radius: 18px;
  }

  .section-ink {
    margin-top: 3.2rem;
  }

  .rsvp-shell {
    padding: 3rem 0 3.15rem;
  }

  .rsvp-layout {
    gap: 0.85rem;
  }

  .rsvp-note {
    padding: 1rem;
    border-radius: 20px;
  }

  .rsvp-note-title {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .rsvp-note-copy {
    margin-top: 0.65rem;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .rsvp-note-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .rsvp-note-list span {
    justify-content: center;
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
  }

  .form-panel {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .rsvp-form,
  .stack-form,
  .seating-form,
  .media-order-form {
    gap: 0.85rem;
  }

  .rsvp-form .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.82rem;
    width: 100%;
  }

  .field {
    gap: 0.42rem;
    width: 100%;
  }

  .fieldset legend {
    display: block;
    width: 100%;
    margin-bottom: 0.12rem;
  }

  .field input,
  .field textarea,
  .field select,
  .media-order-form input,
  .inline-edit-grid input {
    padding: 0.82rem 0.9rem;
    border-radius: 16px;
    font-size: 1rem;
    max-width: 100%;
  }

  .choice-card {
    align-items: flex-start;
    gap: 0.68rem;
    padding: 0.95rem 1rem;
    line-height: 1.35;
    width: 100%;
  }

  .rsvp-form .fieldset {
    gap: 0.62rem;
  }

  .rsvp-form .fieldset .choice-card {
    align-items: center;
    min-height: 3.45rem;
    border: 1px solid rgba(58, 39, 29, 0.2);
    background: #fffdf9;
    box-shadow: 0 8px 18px rgba(31, 17, 11, 0.06);
  }

  .rsvp-form .fieldset .choice-card:has(input:checked) {
    border-color: rgba(190, 145, 80, 0.72);
    background: #fcf4e7;
    box-shadow: 0 10px 22px rgba(143, 104, 53, 0.12);
  }

  .rsvp-form .fieldset .choice-card span {
    display: block;
    font-size: 0.98rem;
    line-height: 1.25;
  }

  .choice-card input {
    flex: 0 0 auto;
    margin-top: 0;
  }

  .field-grow textarea {
    min-height: 7rem;
  }

  .immersive-band {
    min-height: 16.5rem;
    padding: 1rem;
    border-radius: 22px;
  }

  .immersive-band-content h2 {
    font-size: clamp(1.75rem, 7.8vw, 2.65rem);
    line-height: 1.02;
  }

  .map-frame {
    min-height: 17rem;
  }

  .seating-form .button {
    margin-top: 0.15rem;
  }

  .contact-card .phone-link {
    font-size: 1.02rem;
    overflow-wrap: anywhere;
  }

  .site-footer {
    padding: 2rem 0 2.5rem;
  }

  .admin-main,
  .success-shell,
  .admin-login-shell {
    padding: 1rem 0 3rem;
  }

  .admin-login-card,
  .success-card {
    margin-top: 2rem;
  }

  .admin-hero {
    padding: 1rem;
    border-radius: 20px;
  }

  .admin-hero h1,
  .admin-card h1,
  .admin-card h2 {
    overflow-wrap: anywhere;
  }

  .admin-card-head {
    align-items: stretch;
    flex-direction: column;
    gap: 0.8rem;
  }

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

  .stat-card strong {
    font-size: 1.7rem;
  }

  .mini-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-filter-bar {
    margin-top: 0.85rem;
  }

  .table-wrap {
    margin: 0 -0.2rem;
    padding-bottom: 0.35rem;
  }

  .table-wrap table {
    min-width: 34rem;
  }

  th,
  td {
    padding: 0.72rem 0.62rem;
  }

  th {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .media-order-form input {
    width: 100%;
  }
}

@media (min-width: 720px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .site-nav.is-open {
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .site-nav a {
    position: relative;
    padding: 0.25rem 0;
    background: transparent;
    color: rgba(255, 244, 228, 0.88);
    font-size: 0.92rem;
  }

  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.32rem;
    height: 1px;
    background: rgba(255, 233, 196, 0.7);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
  }

  .site-nav a:hover::after,
  .site-nav a:focus-visible::after {
    transform: scaleX(1);
  }

  .nav-toggle {
    display: none;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.72fr);
    align-items: end;
    gap: 2rem;
  }

  .hero-stage {
    padding: 7.75rem 0 4.5rem;
  }

  .hero-aside {
    justify-self: end;
  }

  .hero-image {
    background-position: var(--hero-focus-desktop-x, var(--hero-focus-x, 50%)) var(--hero-focus-desktop-y, 28%);
  }

  .hero-meta,
  .highlights-grid,
  .hotel-grid,
  .travel-layout,
  .contact-grid,
  .form-grid,
  .editorial-grid,
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ceremony-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rsvp-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
  }

  .rsvp-form .button {
    width: auto;
  }

  .site-footer-shell {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .admin-hero {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    align-items: end;
  }

  .admin-dashboard-grid,
  .media-grid,
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-filter-bar,
  .gallery-admin-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }

  .form-grid-3,
  .inline-edit-grid {
    grid-template-columns: 1.6fr 1.2fr 0.8fr auto;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .hero-image {
    background-position: var(--hero-focus-wide-x, var(--hero-focus-desktop-x, var(--hero-focus-x, 50%))) var(--hero-focus-wide-y, var(--hero-focus-desktop-y, 28%));
  }

  .hero-stage h1 {
    max-width: 14ch;
  }

  .hero-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ceremony-strip,
  .highlights-grid,
  .hotel-grid,
  .admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* --- Client revisions: simplified public layout --- */

/* Header without brand label: keep the menu / nav aligned to the right */
.header-row-public {
  justify-content: flex-end;
}

/* Clickable venue location under the hero title */
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(20, 12, 10, 0.42);
  color: rgba(255, 244, 228, 0.95);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-location:hover,
.hero-location:focus-visible {
  background: rgba(190, 145, 80, 0.32);
  border-color: rgba(255, 241, 218, 0.6);
}

.hero-location-pin {
  font-size: 1.05rem;
  line-height: 1;
}

/* Presentation photo shown on its own, without the caption overlay */
.portrait-frame-clean::before {
  display: none;
}

/* RSVP: single-column form (note block removed) */
.rsvp-layout-single {
  display: block;
}

.rsvp-layout-single .form-panel {
  max-width: 44rem;
  margin: 0 auto;
}

.rsvp-deadline-note {
  margin: 0.6rem 0 0;
  color: rgba(255, 242, 223, 0.86);
  font-size: 0.98rem;
}

/* Elegant centered notice block in the practical-information section */
.notice-card {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.2rem 2.4rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(190, 145, 80, 0.32);
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(248, 238, 224, 0.9));
  box-shadow: var(--shadow-deep);
  text-align: center;
}

.notice-label {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.34rem 0.95rem;
  border-radius: 999px;
  background: rgba(190, 145, 80, 0.16);
  color: var(--gold-deep, #8f6835);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.notice-card p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.25rem, 3.4vw, 1.6rem);
  line-height: 1.5;
  color: #3a271d;
}

/* Lodging search shortcuts (Booking / Expedia) */
.lodging-actions {
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

/* Footer: centered couple names, admin monogram kept to the side */
.site-footer-shell {
  align-items: center;
  text-align: center;
}

.footer-names {
  width: 100%;
  text-align: center;
}

@media (min-width: 720px) {
  .site-footer-shell {
    position: relative;
    flex-direction: row;
    justify-content: center;
  }

  .footer-monogram {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-location,
  .reveal {
    transition: none;
  }
}

/* --- Design: scroll reveal, hero motion, carousel, lightbox --- */

/* Scroll-reveal animation */
.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.985);
  transition:
    opacity 0.78s ease,
    transform 0.82s cubic-bezier(0.2, 0.9, 0.18, 1);
  will-change: opacity, transform;
}

.reveal[data-reveal-direction="from-left"] {
  transform: translate3d(-56px, 18px, 0) rotate(-1.4deg) scale(0.985);
}

.reveal[data-reveal-direction="from-right"] {
  transform: translate3d(56px, 18px, 0) rotate(1.4deg) scale(0.985);
}

.reveal[data-reveal-direction="from-top"] {
  transform: translate3d(0, -42px, 0) scale(0.985);
}

.reveal[data-reveal-direction="from-bottom"] {
  transform: translate3d(0, 46px, 0) scale(0.985);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

/* Hero: slow Ken Burns zoom */
@keyframes heroKenBurns {
  from { transform: scale(1.06); }
  to   { transform: scale(1.16); }
}

.hero-image {
  animation: heroKenBurns 24s ease-in-out infinite alternate;
}

/* Carousel */
.section-gallery {
  padding-top: 1rem;
}

.carousel {
  position: relative;
  margin-top: 1.5rem;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-deep);
}

.carousel-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 0;
  margin: 0;
  border: 0;
  background: #1c120f;
  cursor: zoom-in;
  height: clamp(20rem, 62vh, 40rem);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.carousel-slide:hover img,
.carousel-slide:focus-visible img {
  transform: scale(1.03);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.carousel-dots button {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(58, 39, 29, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dots button.is-active {
  background: rgba(190, 145, 80, 0.95);
  transform: scale(1.25);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(12, 8, 7, 0.93);
  backdrop-filter: blur(6px);
  animation: lightboxFade 0.25s ease;
}

.lightbox[hidden] {
  display: none;
}

@keyframes lightboxFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-image {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.92);
  color: #3a271d;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

@media (min-width: 720px) {
  .carousel-slide {
    height: clamp(26rem, 70vh, 46rem);
  }
}

/* --- Polish pass --- */

/* Footer couple names: more elegant display type */
.footer-names {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text, #241613);
}

/* Contact cards: compact, with the two buttons pinned left & right */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  padding: 1.25rem 1.3rem;
}

.contact-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.contact-card .contact-actions {
  width: 100%;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.contact-card .button {
  flex: 0 1 auto;
  min-width: 7.5rem;
}

/* Gentle lift on interactive cards */
.hotel-card,
.contact-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hotel-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}

/* Notice card: soft gold top accent */
.notice-card {
  position: relative;
  overflow: hidden;
}

.notice-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold, #be9150), transparent);
}

/* RSVP select: custom caret for a consistent look */
.rsvp-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #6f5a49 50%),
    linear-gradient(135deg, #6f5a49 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) 1.35rem,
    calc(100% - 0.8rem) 1.35rem;
  background-size: 0.4rem 0.4rem, 0.4rem 0.4rem;
  background-repeat: no-repeat;
  padding-right: 2.6rem;
}

/* Hotel action links: tidy separation */
.hotel-actions {
  margin-top: 0.4rem;
  gap: 1rem 1.1rem;
}

/* Carousel: subtle inner framing */
.carousel-viewport {
  border: 1px solid rgba(58, 39, 29, 0.08);
}

/* Lodging shortcut buttons centered on the gallery-style section */
.lodging-actions {
  justify-content: flex-start;
}

/* --- Hero slideshow (crossfade) --- */
.hero-image[data-hero-slideshow] {
  animation: none;
  transform: none;
  filter: none;
  background: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  /* Neutral centering: a single focus point can't suit 3 different photos. */
  background-position: center 50%;
  filter: saturate(1.03) contrast(1.02);
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
  will-change: opacity;
}

.hero-slide.is-active {
  opacity: 1;
}

/* --- Brother feedback batch --- */

/* Hero: centered & embellished title */
.hero-shell-centered {
  justify-items: center;
  text-align: center;
}

.hero-stage-centered {
  max-width: 54rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Block anchored low in the hero (dark overlay zone) for readability. */
  padding: 8rem 0 0.4rem;
}

.hero-kicker-soft {
  margin: 0 0 0.8rem;
  color: rgba(255, 241, 218, 0.82);
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-style: italic;
  font-size: clamp(1.05rem, 3.4vw, 1.5rem);
  letter-spacing: 0.04em;
}

.hero-stage-centered h1 {
  margin: 0;
  /* One notch smaller than the default hero title. */
  font-size: clamp(3rem, 15vw, 6rem);
}

.hero-ornament {
  display: block;
  width: clamp(7rem, 26vw, 12rem);
  height: 1px;
  margin: 0.8rem 0;
  background: linear-gradient(90deg, transparent, rgba(245, 207, 152, 0.9), transparent);
  position: relative;
}

.hero-ornament::before {
  content: "❦";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(245, 207, 152, 0.95);
  font-size: 1.4rem;
  background: transparent;
}

.hero-stage-centered .hero-location {
  margin-top: 0;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 1.4rem;
  text-align: center;
  line-height: 1.3;
}

.hero-location-main {
  font-weight: 700;
}

.hero-location-sub {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 244, 228, 0.78);
}

/* Presentation: secondary paragraph identical to the lead paragraph */
.story-card .story-text {
  color: #2b1d18;
  font-size: 1.18rem;
  line-height: 1.9;
}

/* RSVP: spaced, centered deadline with a bold date */
.rsvp-deadline-note {
  margin-top: 1.6rem;
  text-align: center;
}

.rsvp-deadline-note strong {
  font-weight: 800;
}

/* Transports: bullet-point steps */
.travel-steps {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
  color: var(--muted, #6f5a49);
}

.travel-steps li {
  line-height: 1.55;
  padding-left: 0.25rem;
}

.travel-steps li::marker {
  color: var(--gold, #be9150);
}

/* Phone format: tighten the generous spacing */
@media (max-width: 600px) {
  .section {
    padding-top: 2.4rem;
  }

  .section-last {
    padding-bottom: 2.6rem;
  }

  .section-heading {
    margin-bottom: 0.9rem;
  }

  .editorial-grid,
  .travel-layout,
  .hotel-grid,
  .contact-grid,
  .form-grid {
    gap: 0.85rem;
  }

  .hero-stage-centered {
    padding: 3.5rem 0 0.45rem;
  }

  .hero-stage-centered h1 {
    font-size: clamp(2.2rem, 11vw, 3.1rem);
  }

  .hero-stage-centered .hero-location {
    font-size: 0.92rem;
    padding: 0.55rem 1.1rem;
  }

  .hero-ornament {
    margin: 0.55rem 0;
  }

  .notice-card {
    padding: 1.6rem 1.4rem;
  }

  .story-card,
  .panel {
    padding: 1.15rem;
  }
}

/* Presentation without the portrait photo: single clean text column */
.section-presentation .editorial-grid {
  grid-template-columns: 1fr;
  max-width: 62rem;
}

/* --- RSVP confirmation popup --- */
.rsvp-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(12, 8, 7, 0.78);
  backdrop-filter: blur(6px);
  animation: lightboxFade 0.25s ease;
}

.rsvp-modal[hidden] {
  display: none;
}

.rsvp-modal-card {
  width: min(100%, 26rem);
  padding: 2.5rem 2rem 2.1rem;
  border-radius: var(--radius-xl, 34px);
  background: linear-gradient(180deg, #fffdf9, #f6ecdc);
  box-shadow: 0 40px 90px rgba(20, 12, 8, 0.45);
  text-align: center;
  transform: translateY(8px) scale(0.98);
  animation: rsvpModalPop 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes rsvpModalPop {
  to { transform: translateY(0) scale(1); }
}

.rsvp-modal-check {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.2rem;
}

.rsvp-modal-check svg {
  width: 100%;
  height: 100%;
}

.rsvp-modal-check-circle {
  stroke: var(--gold, #be9150);
  stroke-width: 3;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: rsvpDraw 0.6s ease forwards;
}

.rsvp-modal-check-mark {
  stroke: var(--gold-deep, #8f6835);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: rsvpDraw 0.4s 0.45s ease forwards;
}

@keyframes rsvpDraw {
  to { stroke-dashoffset: 0; }
}

.rsvp-modal-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
  color: #2b1d18;
}

.rsvp-modal-card p {
  margin: 0 0 1.5rem;
  color: var(--muted, #6f5a49);
  font-size: 1.02rem;
}

@media (prefers-reduced-motion: reduce) {
  .rsvp-modal-card { animation: none; transform: none; }
  .rsvp-modal-check-circle,
  .rsvp-modal-check-mark { animation: none; stroke-dashoffset: 0; }
}

/* Presentation paragraphs match the section heading (font, size, color) */
.section-presentation .story-lead,
.section-presentation .story-text {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  color: var(--text, #241613);
  font-size: clamp(2.4rem, 10vw, 4.7rem);
  line-height: 1.04;
  text-wrap: balance;
}

@media (max-width: 600px) {
  .section-presentation .story-lead,
  .section-presentation .story-text {
    font-size: clamp(1.95rem, 8.5vw, 3rem);
    line-height: 1.06;
  }
}

/* --- Scroll effects --- */

/* Gold scroll-progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--gold-deep, #8f6835), var(--gold, #be9150), var(--gold-soft, #ead8b7));
  box-shadow: 0 0 12px rgba(190, 145, 80, 0.5);
  transition: width 0.1s linear;
  pointer-events: none;
}

/* Staggered reveal cascade (delay set inline by JS) */
.reveal {
  transition-delay: var(--reveal-delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    display: none;
  }

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

/* Presentation: smaller heading + paragraphs (kept identical to each other) */
.section-presentation .section-heading h2,
.section-presentation .story-lead,
.section-presentation .story-text {
  font-size: clamp(1.7rem, 4.6vw, 2.7rem);
  line-height: 1.22;
}

@media (max-width: 600px) {
  .section-presentation .section-heading h2,
  .section-presentation .story-lead,
  .section-presentation .story-text {
    font-size: clamp(1.5rem, 6.2vw, 2rem);
    line-height: 1.25;
  }
}
