:root {
  --black: #030405;
  --night: #070b12;
  --night-soft: #101722;
  --panel: #0b111a;
  --ivory: #fbf8f1;
  --champagne: #fffdf8;
  --cream: #f4eee3;
  --ink: #17130f;
  --ink-soft: #4f473f;
  --gold: #c99a58;
  --gold-bright: #e0b66d;
  --gold-muted: #8d6a3d;
  --gold-dark: #9a6b32;
  --text: #f4eee6;
  --muted: #c5b9ad;
  --line: rgba(201, 154, 88, 0.34);
  --line-light: rgba(154, 107, 50, 0.28);
  --serif: "Cinzel", Georgia, serif;
  --body: "Montserrat", "Segoe UI", Arial, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", "Cormorant Garamond", cursive;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 10%, rgba(201, 154, 88, 0.11), transparent 26rem),
    radial-gradient(circle at 90% 60%, rgba(201, 154, 88, 0.08), transparent 24rem),
    linear-gradient(180deg, var(--champagne), var(--ivory) 42%, var(--champagne));
}

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

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

address {
  font-style: normal;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  min-height: 72px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(16px);
}

.main-nav {
  display: grid;
  grid-template-columns: repeat(3, auto) 92px repeat(4, auto);
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 44px);
  width: 100%;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a:not(.brand-mark),
.header-rsvp {
  position: relative;
  padding: 24px 0 21px;
}

.main-nav a:not(.brand-mark)::after,
.header-rsvp::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav .is-active::after,
.header-rsvp:hover::after {
  transform: scaleX(1);
}

.brand-mark {
  position: relative;
  width: 78px;
  height: 62px;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold-dark);
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.06em;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--gold-muted);
  border-radius: 50%;
}

.brand-mark::after {
  inset: 10px;
  border-color: rgba(201, 154, 88, 0.34);
}

.brand-mark i {
  width: 1px;
  height: 30px;
  background: var(--gold);
}

.mobile-brand,
.mobile-menu-toggle,
.header-rsvp {
  display: none;
}

.menu-lock {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(420px, 0.9fr);
  overflow: hidden;
  background: #ffffff;
  /*background:*/
  /*  radial-gradient(circle at 50% 18%, rgba(201, 154, 88, 0.14), transparent 24rem),*/
  /*  linear-gradient(180deg, var(--champagne), var(--ivory));*/
  border-bottom: 1px solid var(--line-light);
}

.hero-image {
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 118px clamp(32px, 6vw, 92px) 82px;
}

.hero-portrait {
  position: relative;
  width: min(470px, 84%);
  text-align: center;
}

.hero-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  padding: 7px;
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  background: var(--champagne);
  box-shadow:
    0 0 0 4px #ffffff,
    0 0 0 6px rgba(201, 154, 88, 0.6),
    0 22px 46px rgba(79, 71, 63, 0.16);
}

.hero-photo-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 2;
  border: 1px solid rgba(255, 253, 248, 0.9);
  border-radius: 50%;
  pointer-events: none;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 34%;
}

.hero-flourish {
  position: absolute;
  right: -66px;
  bottom: -12px;
  z-index: 3;
  width: 178px;
  height: 136px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.hero-panel {
  min-height: 600px;
  display: grid;
  align-items: center;
  padding: 120px clamp(42px, 7vw, 132px) 72px clamp(26px, 4vw, 72px);
  background:
    radial-gradient(circle at 55% 42%, rgba(201, 154, 88, 0.14), transparent 20rem),
    linear-gradient(90deg, rgba(255, 253, 248, 0.58), var(--ivory) 48%);
}

.hero-content {
  max-width: 420px;
  text-align: center;
}

.compteur-minute {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(460px, 100%);
  margin: 0 auto 32px;
}

.countdown-box {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 0 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.countdown-box + .countdown-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 9px;
  width: 1px;
  background: rgba(154, 107, 50, 0.56);
}

.countdown-box strong {
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  line-height: 1;
}

.countdown-box span {
  margin-top: 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after,
.section-label::after {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.hero-title {
  margin: 18px 0 0;
  color: var(--gold);
  font-family: var(--script);
  font-size: clamp(48px, 4.8vw, 68px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
  white-space: nowrap;
  text-transform: none;
}

.hero-details {
  margin-top: 30px;
  text-align: center;
}

.date,
.venue {
  color: var(--ink);
  font-family: var(--serif);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.date {
  font-size: 21px;
}

.venue {
  margin-top: 8px;
  color: var(--gold-dark);
  font-size: 15px;
}

blockquote {
  position: relative;
  margin-top: 58px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  font-style: italic;
  line-height: 1.55;
}

blockquote::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  width: 106px;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--gold-dark);
  border-bottom: 2px solid var(--gold-dark);
  transform: translateX(-50%) rotate(45deg);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  align-items: stretch;
  background: var(--champagne);
  border-bottom: 1px solid var(--line-light);
}

.story-copy {
  padding: clamp(70px, 7vw, 108px) clamp(34px, 7vw, 132px);
}

.story-copy h2,
.section-heading h2,
.location-copy h2,
.rsvp-content h2,
.guestbook-copy h2,
.gift-copy h2 {
  margin: 18px 0 28px;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.08;
  text-transform: uppercase;
}

.story-slider-section .section-heading h2,
.day-section .section-heading h2,
.location-copy h2,
.rsvp-content h2,
.gallery-section .section-heading h2,
.guestbook-copy h2,
.gift-copy h2 {
  color: var(--gold-dark);
}

.story-slider-section .section-label,
.day-section .section-label,
.location-section .section-label,
.rsvp-section .section-label,
.gallery-section .section-label,
.guestbook-section .section-label,
.gift-section .section-label {
  color: var(--gold-dark);
}

.story-slider-section .section-label::after,
.day-section .section-label::after,
.location-section .section-label::after,
.rsvp-section .section-label::after,
.gallery-section .section-label::after,
.guestbook-section .section-label::after,
.gift-section .section-label::after,
.section-heading .section-label::before,
.dress-code .section-label::before {
  background: var(--gold-dark);
}

.story-copy p:not(.section-label) {
  max-width: 610px;
  margin-top: 22px;
  color: var(--ink-soft);
}

.story-photo {
  min-height: 640px;
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--cream);
}

.story-slider-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(201, 154, 88, 0.16), transparent 20rem),
    linear-gradient(180deg, var(--champagne), var(--ivory));
  border-bottom: 1px solid var(--line-light);
}

.story-slider {
  width: min(620px, 100%);
  margin: 0 auto;
}

.story-slides {
  position: relative;
}

.story-slide {
  display: none;
  overflow: hidden;
  background: var(--champagne);
  border: 1px solid var(--line-light);
  box-shadow: 0 26px 70px rgba(79, 71, 63, 0.14);
}

.story-slide.is-active {
  display: block;
  animation: fade-up 420ms ease both;
}

.story-slide img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  object-position: center;
  background: var(--cream);
  border-bottom: 1px solid var(--line-light);
}

.story-card-copy {
  padding: clamp(24px, 4vw, 38px);
}

.story-card-copy p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

.story-slider-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.story-arrow,
.story-dots button {
  color: var(--gold-dark);
  background: transparent;
  border: 1px solid rgba(154, 107, 50, 0.5);
  cursor: pointer;
}

.story-arrow {
  min-height: 44px;
  padding: 0 18px;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
}

.story-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
}

.story-dots button.is-active {
  background: var(--gold-dark);
}

.section-pad {
  padding: clamp(72px, 8vw, 124px) 6vw;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 62px;
  text-align: center;
}

.section-heading .section-label::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.day-section {
  background:
    radial-gradient(circle at 50% 0, rgba(201, 154, 88, 0.12), transparent 24rem),
    var(--ivory);
  border-bottom: 1px solid var(--line-light);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 420px));
  justify-content: center;
  width: min(920px, 100%);
  margin: 0 auto;
}

.event-card {
  position: relative;
  min-height: 250px;
  padding: 22px 44px;
  text-align: center;
}

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

.event-icon,
.dress-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 20px;
  fill: none;
  stroke: var(--gold-dark);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-card h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-time {
  margin-top: 16px;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 20px;
}

.event-place {
  margin-top: 10px;
  color: var(--ink-soft);
}

.dress-code {
  width: min(920px, 100%);
  margin: 54px auto 0;
  padding-top: 34px;
  text-align: center;
  border-top: 1px solid var(--line-light);
}

.dress-code .section-label::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.dress-code p:last-child {
  max-width: 860px;
  margin: 16px auto 0;
  color: var(--ink-soft);
}

.location-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) minmax(380px, 1.3fr);
  min-height: 430px;
  background: var(--champagne);
  border-bottom: 1px solid var(--line-light);
}

.location-copy {
  padding: clamp(56px, 6vw, 86px) clamp(34px, 6vw, 98px);
  border-right: 1px solid var(--line-light);
}

.location-copy h2 {
  max-width: 420px;
  margin-bottom: 34px;
  font-size: clamp(28px, 3vw, 42px);
}

address,
.parking p:last-child {
  color: var(--ink-soft);
}

address strong {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 19px;
}

.parking {
  margin-top: 34px;
}

.map-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 56% 42%, rgba(201, 154, 88, 0.18), transparent 12rem);
  pointer-events: none;
}

.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.rsvp-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(201, 154, 88, 0.12), transparent 18rem),
    var(--champagne);
  border-bottom: 1px solid var(--line-light);
}

.rsvp-content {
  position: relative;
  z-index: 2;
}

.rsvp-content h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 3.5vw, 48px);
}

.rsvp-content p:not(.section-label) {
  max-width: 760px;
  margin: 0 auto 26px;
  color: var(--ink-soft);
  font-size: 18px;
}

.gold-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 34px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.gold-button {
  color: #1b1410;
  background: linear-gradient(180deg, #edc77e, #c8954f);
  border: 1px solid #f1ce88;
  box-shadow: 0 14px 34px rgba(201, 154, 88, 0.18);
}

.gold-button:hover,
.outline-button:hover {
  transform: translateY(-2px);
}

.ornament {
  position: absolute;
  bottom: 32px;
  width: 76px;
  height: 120px;
  border-left: 1px solid var(--gold-muted);
  border-radius: 60% 0 0 60%;
  opacity: 0.8;
}

.ornament::before,
.ornament::after {
  content: "";
  position: absolute;
  left: -9px;
  width: 18px;
  height: 34px;
  border: 1px solid var(--gold-muted);
  border-right: 0;
  border-bottom: 0;
  border-radius: 50%;
  transform: rotate(-24deg);
}

.ornament::before {
  top: 24px;
}

.ornament::after {
  top: 68px;
}

.ornament-left {
  left: 8vw;
}

.ornament-right {
  right: 8vw;
  transform: scaleX(-1);
}

.gallery-section {
  padding: clamp(56px, 6vw, 80px) 0 clamp(60px, 6vw, 92px);
  text-align: center;
  background:
    radial-gradient(circle at 10% 10%, rgba(201, 154, 88, 0.1), transparent 20rem),
    var(--ivory);
  border-bottom: 1px solid var(--line-light);
}

.gallery-section .section-heading {
  margin-bottom: 34px;
}

.gallery-section h2 {
  margin-bottom: 0;
}

.gallery-frame {
  position: relative;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 62px;
  overflow: hidden;
}

.gallery-grid {
  display: flex;
  gap: 10px;
  width: 100%;
  transform: translateX(0);
  transition: transform 1150ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.gallery-grid img {
  flex: 0 0 calc((100% - 30px) / 4);
  width: calc((100% - 30px) / 4);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line-light);
  filter: contrast(1.06) saturate(1.04);
  box-shadow: 0 14px 34px rgba(79, 71, 63, 0.12);
  transform: scale(1);
  transition: filter 1150ms ease, transform 1150ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-grid.is-sliding img {
  filter: contrast(1.03) saturate(1.02);
  transform: scale(0.992);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(154, 107, 50, 0.45);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(79, 71, 63, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.gallery-arrow:hover {
  color: var(--ink);
  border-color: var(--gold-dark);
  transform: translateY(-50%) scale(1.04);
}

.gallery-arrow span {
  margin-top: -3px;
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
}

.gallery-arrow-prev {
  left: 0;
}

.gallery-arrow-next {
  right: 0;
}

.outline-button {
  margin-top: 28px;
  color: var(--gold-dark);
  background: transparent;
  border: 1px solid rgba(154, 107, 50, 0.55);
}

.guestbook-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  background:
    radial-gradient(circle at 18% 30%, rgba(201, 154, 88, 0.12), transparent 20rem),
    var(--champagne);
  border-bottom: 1px solid var(--line-light);
}

.guestbook-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line-light);
  box-shadow: 0 24px 58px rgba(79, 71, 63, 0.16);
}

.guestbook-copy {
  max-width: 620px;
}

.guestbook-copy h2 {
  margin: 14px 0 18px;
  font-size: clamp(28px, 3vw, 46px);
}

.guestbook-copy p:not(.section-label) {
  color: var(--ink-soft);
  font-size: 17px;
}

.guestbook-button {
  margin-top: 30px;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

.guestbook-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(23, 19, 15, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.guestbook-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.guestbook-dialog {
  position: relative;
  width: min(430px, 100%);
  padding: 28px 34px 32px;
  background: #fff7ef;
  box-shadow: 0 24px 70px rgba(23, 19, 15, 0.18);
  transform: translateY(14px) scale(0.98);
  transition: transform 220ms ease;
}

.guestbook-modal.is-open .guestbook-dialog {
  transform: translateY(0) scale(1);
}

.guestbook-close {
  position: absolute;
  top: 9px;
  right: 12px;
  width: 28px;
  height: 28px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.guestbook-form {
  display: grid;
  gap: 18px;
}

.guestbook-form h2 {
  margin: 0 0 2px;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.guestbook-form input,
.guestbook-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid rgba(79, 71, 63, 0.45);
  border-radius: 0;
  font: 400 13px var(--body);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.guestbook-form textarea {
  min-height: 88px;
  resize: vertical;
}

.guestbook-form input:focus,
.guestbook-form textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(201, 154, 88, 0.16);
}

.guestbook-submit {
  justify-self: center;
  min-width: 104px;
  min-height: 42px;
  margin-top: 12px;
  padding: 0 24px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid rgba(154, 107, 50, 0.28);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(210, 197, 237, 0.55);
  font: 500 13px var(--body);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.guestbook-submit:hover {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 4px rgba(201, 154, 88, 0.18);
  transform: translateY(-1px);
}

.guestbook-submit:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.guestbook-status {
  min-height: 18px;
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.gift-section {
  display: grid;
  grid-template-columns: 150px minmax(280px, 640px) auto;
  align-items: center;
  justify-content: center;
  gap: 52px;
  background:
    radial-gradient(circle at 78% 30%, rgba(201, 154, 88, 0.12), transparent 18rem),
    var(--champagne);
  border-bottom: 1px solid var(--line-light);
}

.gift-icon {
  position: relative;
  width: 130px;
  height: 130px;
  border: 1px dashed rgba(201, 154, 88, 0.55);
  border-radius: 50%;
}

.gift-icon::before {
  content: "";
  position: absolute;
  inset: 33px;
  border: 3px solid var(--gold-dark);
}

.gift-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 33px;
  width: 3px;
  height: 64px;
  background: var(--gold-dark);
  box-shadow: -18px -10px 0 -8px var(--champagne), 18px -10px 0 -8px var(--champagne);
  transform: translateX(-50%);
}

.gift-copy h2 {
  margin: 12px 0 14px;
  font-size: clamp(25px, 2.4vw, 36px);
}

.gift-copy p:not(.section-label) {
  color: var(--ink-soft);
}

.gift-button {
  justify-self: center;
  min-width: 220px;
}

.site-footer {
  padding: 0 6vw 48px;
  background: var(--ivory);
}

.footer-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(1100px, 100%);
  margin: 0 auto;
  background: #fbf5ec;
}

.footer-card {
  min-height: 170px;
  padding: 34px 28px 30px;
  display: grid;
  align-content: center;
  justify-items: center;
  color: var(--ink);
  text-align: center;
}

.footer-card + .footer-card {
  border-left: 1px solid rgba(23, 19, 15, 0.24);
}

.footer-icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-card h2 {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
}

.footer-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

.footer-button {
  min-width: 136px;
  margin-top: 18px;
  padding: 7px 24px 8px;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  background: transparent;
  border: 1px solid rgba(23, 19, 15, 0.38);
  border-radius: 999px;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.footer-button:hover {
  color: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
}

.lyon-page {
  padding-top: 72px;
  background: var(--ivory);
}

.lyon-guide {
  width: min(1200px, calc(100% - 24px));
  margin: 12px auto;
  overflow: hidden;
  background: var(--champagne);
}

.lyon-guide-header {
  position: relative;
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 12px 72px;
  color: var(--ink);
  background: #dfbd95;
  border-bottom: 1px solid var(--line-light);
  text-align: center;
}

.lyon-guide-header h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(29px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
}

.lyon-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--champagne);
}

.lyon-guide-cell {
  min-height: 420px;
}

.lyon-text-cell {
  display: grid;
  align-content: center;
  padding: clamp(44px, 7vw, 112px);
  background: #dfbd95;
}

.lyon-text-cell p {
  max-width: 410px;
  margin: 0 auto;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.45;
  text-align: justify;
}

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

.lyon-address {
  margin-top: 14px !important;
  font-size: 13px !important;
  font-style: italic;
  text-align: center !important;
}

.lyon-image-cell {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: clamp(30px, 5vw, 58px);
  background: #fff7ef;
}

.lyon-image-cell img {
  width: min(380px, 100%);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.lyon-image-cell figcaption {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
}

.reveal {
  animation: fade-up 650ms ease both;
}

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

@media (max-width: 1080px) {
  .site-header {
    justify-content: space-between;
  }

  .site-header {
    background: rgba(255, 253, 248, 0.94);
    border-bottom: 1px solid var(--line-light);
    backdrop-filter: blur(16px);
  }

  .main-nav {
    position: fixed;
    inset: 72px 0 0;
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    justify-items: center;
    gap: 0;
    width: 100%;
    height: calc(100dvh - 72px);
    padding: 18px 24px 40px;
    overflow-y: auto;
    color: var(--ink);
    background:
      radial-gradient(circle at 50% 0, rgba(201, 154, 88, 0.16), transparent 18rem),
      rgba(255, 253, 248, 0.98);
    border-top: 1px solid var(--line-light);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease;
  }

  .site-header.menu-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav a:not(.brand-mark) {
    width: min(320px, 100%);
    padding: 16px 0;
    text-align: center;
    border-bottom: 1px solid var(--line-light);
  }

  .main-nav a:not(.brand-mark)::after {
    display: none;
  }

  .main-nav .brand-mark {
    display: none;
  }

  .mobile-brand {
    display: inline-flex;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .mobile-menu-toggle {
    position: relative;
    z-index: 60;
    display: inline-grid;
    grid-template-columns: auto 20px;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0 12px;
    color: var(--gold-dark);
    background: rgba(255, 253, 248, 0.72);
    border: 1px solid rgba(154, 107, 50, 0.5);
    border-radius: 0;
    font-family: var(--serif);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .mobile-menu-toggle i {
    grid-column: 2;
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .mobile-menu-toggle i + i {
    margin-top: -8px;
  }

  .site-header.menu-open .mobile-menu-toggle i:first-of-type {
    transform: translateY(4px) rotate(45deg);
  }

  .site-header.menu-open .mobile-menu-toggle i:last-of-type {
    transform: translateY(-5px) rotate(-45deg);
  }

  .header-rsvp {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    background: #ffffff;
    border-bottom: 1px solid var(--line-light);
  }

  .hero-image {
    min-height: auto;
    padding: 104px 28px 18px;
  }

  .hero-portrait {
    width: min(340px, 76vw);
  }

  .hero-flourish {
    right: -46px;
    bottom: -10px;
    width: 130px;
    height: 104px;
  }

  .hero-panel {
    position: relative;
    min-height: auto;
    justify-items: center;
    padding: 18px 28px 82px;
    background: transparent;
  }

  .countdown-box {
    color: var(--ink);
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .countdown-box strong {
    color: var(--gold-dark);
  }

  .countdown-box span {
    color: var(--ink);
  }

  .hero .eyebrow {
    color: var(--gold-dark);
    text-shadow: none;
  }

  .hero-title {
    color: var(--gold);
    font-size: clamp(42px, 4.8vw, 64px);
    white-space: normal;
    text-shadow: none;
  }

  .venue {
    color: var(--gold-dark);
    text-shadow: none;
  }

  .hero-details {
    width: min(370px, calc(100vw - 54px));
    margin: 40px auto 0;
    padding: 18px 18px 22px;
    background: rgb(255, 255, 255);
    border: 1px solid rgba(154, 107, 50, 0.42);
    box-shadow: 0 18px 46px rgba(79, 71, 63, 0.18);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }

  .date,
  blockquote {
    color: #fffaf2;
    text-shadow:
      0 1px 3px rgba(3, 4, 5, 0.9),
      0 8px 18px rgba(3, 4, 5, 0.38);
  }

  .hero-details .date,
  .hero-details blockquote {
    color: var(--ink);
    text-shadow: none;
  }

  .hero-details .date {
    margin-top: 0;
  }

  .hero-details .venue {
    font-weight: bold;
    color: var(--gold-dark);
    text-shadow: none;
  }

  blockquote {
    text-shadow:
      0 1px 3px rgba(3, 4, 5, 0.88),
      0 8px 18px rgba(3, 4, 5, 0.34);
  }

  .hero-details blockquote {
    margin-top: 36px;
    text-shadow: none;
  }

  .hero-details blockquote::before {
    background: var(--gold-dark);
  }

  .scroll-cue {
    border-color: var(--gold-dark);
  }

  .split-section,
  .guestbook-section,
  .gift-section {
    grid-template-columns: 1fr;
  }

  .story-photo {
    min-height: 460px;
  }

  .events-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

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

  .location-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .map-card {
    min-height: 330px;
  }

  .gallery-grid {
    display: flex;
  }

  .gallery-frame {
    width: min(640px, calc(100% - 36px));
    padding: 0 54px;
  }

  .gallery-grid img {
    flex-basis: 100%;
    width: 100%;
    aspect-ratio: 4 / 5;
  }

  .gallery-arrow {
    width: 44px;
    height: 44px;
    background: rgba(255, 253, 248, 0.92);
  }

  .gallery-arrow span {
    font-size: 34px;
  }

  .guestbook-section {
    text-align: center;
  }

  .guestbook-copy {
    max-width: 680px;
    margin: 0 auto;
  }

  .gift-section {
    text-align: center;
  }

  .gift-icon,
  .gift-button {
    justify-self: center;
  }

  .lyon-guide {
    width: calc(100% - 18px);
  }

  .lyon-guide-grid {
    grid-template-columns: 1fr;
  }

  .lyon-guide-cell {
    min-height: auto;
  }

  .lyon-text-cell {
    padding: 54px 28px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 14px;
  }

  .site-header {
    min-height: 58px;
    padding: 0 18px;
  }

  .main-nav {
    inset: 58px 0 0;
    height: calc(100dvh - 58px);
  }

  .hero,
  .hero-panel {
    min-height: auto;
  }

  .hero-image {
    padding: 84px 18px 10px;
  }

  .hero-portrait {
    width: min(286px, 76vw);
  }

  .hero-photo-frame {
    padding: 5px;
    box-shadow:
      0 0 0 3px #ffffff,
      0 0 0 5px rgba(201, 154, 88, 0.58),
      0 16px 34px rgba(79, 71, 63, 0.14);
  }

  .hero-photo-frame::before {
    inset: 6px;
  }

  .hero-flourish {
    right: -34px;
    bottom: -8px;
    width: 104px;
    height: 82px;
  }

  .hero-content {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: min(370px, calc(100vw - 36px));
    max-width: none;
    margin: 0 auto;
  }

  .compteur-minute {
    gap: 0;
    margin-bottom: 24px;
  }

  .countdown-box {
    min-height: 44px;
    padding: 0 8px;
  }

  .countdown-box strong {
    font-size: 28px;
  }

  .countdown-box span {
    font-size: 7px;
    letter-spacing: 0.03em;
  }

  .countdown-box + .countdown-box::before {
    top: 5px;
    bottom: 7px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-details {
    width: 100%;
    margin-top: 30px;
    padding: 14px 14px 16px;
  }

  .date {
    margin-top: 50px;
    font-size: 16px;
  }

  .hero-details .date {
    margin-top: 0;
    font-size: 14px;
    letter-spacing: 0.1em;
  }

  .venue {
    font-size: 12px;
  }

  .hero-details .venue {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  blockquote {
    margin-top: 44px;
    font-size: 18px;
  }

  .hero-details blockquote {
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.45;
  }

  .eyebrow{
    margin-top: 0;
    font-weight: bold;
  }

  .eyebrow,
  .section-label {
    font-size: 11px;
  }

  .eyebrow::before,
  .eyebrow::after,
  .section-label::after,
  .section-heading .section-label::before,
  .dress-code .section-label::before {
    width: 26px;
  }

  .story-copy {
    padding: 56px 24px;
  }

  .story-copy h2,
  .section-heading h2,
  .location-copy h2,
  .rsvp-content h2,
  .guestbook-copy h2,
  .gift-copy h2 {
    font-size: 29px;
    letter-spacing: 0.07em;
  }

  .story-photo {
    min-height: 330px;
  }

  .story-slider-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .story-slide img {
    aspect-ratio: 2 / 2;
  }

  .story-card-copy {
    padding: 22px 18px 24px;
  }

  .story-card-copy p {
    font-size: 14px;
    line-height: 1.75;
  }

  .story-slider-controls {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .story-dots {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .story-arrow {
    grid-row: 2;
    min-height: 40px;
    padding: 0 10px;
    font-size: 10px;
  }

  .section-pad {
    padding: 62px 24px;
  }

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

  .event-card {
    min-height: auto;
    padding: 34px 18px;
  }

  .dress-code {
    margin-top: 32px;
  }

  .map-card {
    min-height: 260px;
  }

  .ornament {
    display: none;
  }

  .gold-button,
  .outline-button {
    width: 100%;
    max-width: 340px;
    padding: 0 18px;
    text-align: center;
  }

  .gallery-grid {
    width: 100%;
  }

  .gallery-frame {
    width: 100%;
    padding: 0 44px;
  }

  .gallery-arrow {
    width: 38px;
    height: 38px;
  }

  .gallery-arrow span {
    font-size: 29px;
  }

  .guestbook-section {
    gap: 28px;
  }

  .guestbook-image img {
    aspect-ratio: 1 / 1;
  }

  .guestbook-modal {
    padding: 18px;
  }

  .guestbook-dialog {
    padding: 26px 22px 30px;
  }

  .gift-section {
    gap: 28px;
  }

  .gift-button {
    width: 100%;
    max-width: 340px;
  }

  .gift-icon {
    width: 104px;
    height: 104px;
  }

  .gift-icon::before {
    inset: 27px;
  }

  .gift-icon::after {
    top: 27px;
    height: 50px;
  }

  .site-footer {
    padding: 0 18px 36px;
  }

  .footer-panel {
    grid-template-columns: 1fr;
  }

  .footer-card {
    min-height: 150px;
    padding: 30px 22px;
  }

  .footer-card + .footer-card {
    border-left: 0;
    border-top: 1px solid rgba(23, 19, 15, 0.24);
  }

  .lyon-page {
    padding-top: 58px;
  }

  .lyon-guide {
    width: 100%;
    margin: 0;
  }

  .lyon-guide-header {
    min-height: 58px;
    padding: 12px 52px;
  }

  .lyon-guide-header h1 {
    font-size: 25px;
  }

  .lyon-text-cell {
    padding: 44px 24px;
  }

  .lyon-text-cell p {
    max-width: 100%;
    font-size: 15px;
  }

  .lyon-image-cell {
    padding: 34px 24px;
  }

  .lyon-image-cell img {
    width: 100%;
  }
}
