:root {
  --bg: #f6f3ef;
  --bg-alt: #e8edf0;
  --text: #2a2723;
  --muted: #61584f;
  --accent: #8ea3b0;
  --accent-deep: #6f8794;
  --card: rgba(255, 255, 255, 0.84);
  --line: rgba(42, 39, 35, 0.14);
  --shadow: 0 24px 60px rgba(25, 26, 28, 0.16);
  --img-hero: url("assets/images/hero.jpg");
  --img-welcome: url("assets/images/welcome-portrait.jpg");
  --img-gallery-left: url("assets/images/gallery-left.jpg");
  --img-gallery-right: url("assets/images/gallery-right.jpg");
  --img-location: url("assets/images/location.jpg");
  --img-accommodation: url("assets/images/accommodation.png");
  --img-timeline: url("assets/images/timeline.jpg");
  --img-rsvp: url("assets/images/rsvp.jpg");
  --img-registry: url("assets/images/registry.jpg");
  --hero-position: center 50%;
  --accommodation-section-min-height: 520px;
  --accommodation-image-max-width: 280px;
  --accommodation-mobile-image-max-width: 200px;
  --rsvp-bg-color: #b7c3cb;
  --rsvp-oval-bg: #f4efe8;
  --rsvp-photo-width: 280px;
  --rsvp-section-max-width: 1400px;
  --rsvp-section-min-height: 620px;
  --story-bg: #fffaf5;
  --story-corner-top-left: url("assets/images/story-corner-top-left.png");
  --story-corner-top-right: url("assets/images/story-corner-top-right.png");
  --story-corner-bottom-left: url("assets/images/story-corner-bottom-left.png");
  --story-corner-bottom-right: url("assets/images/story-corner-bottom-right.png");
  --story-corner-size: 150px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% -10%, #eef3f6 0%, transparent 36%),
    radial-gradient(circle at 90% 10%, #f3ece5 0%, transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: "Tenor Sans", "Manrope", sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3,
.eyebrow,
.brand {
  font-family: "Noto Serif Display", serif;
  font-weight: 250;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.3rem, 4vw, 5.6rem);
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}

.hero h1 {
  font-weight: 100;
  font-size: clamp(1.8rem, 6vw, 5.6rem);
  line-height: 1.05;
  max-width: 100%;
  margin-inline: auto;
}

h2 {
  margin: 0 auto 1rem;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.1;
  text-align: center;
  max-width: 100%;
  text-wrap: balance;
}

h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

a {
  color: inherit;
}

p {
  margin: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto 0;
  padding: 0.9rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(29, 28, 26, 0.58), rgba(29, 28, 26, 0));
}

.brand {
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.chip {
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 0.32rem 0.9rem;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(5px);
}

.lang-switch {
  display: inline-flex;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.lang-btn {
  border: 0;
  padding: 0.34rem 0.74rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: transparent;
}

.lang-btn.is-active {
  color: var(--text);
  background: #f2efe9;
}

main {
  overflow: hidden;
}

.section,
.split-message {
  width: min(1120px, 92vw);
  margin: 6rem auto;
}

.section-full {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
}

.hero {
  background-image: var(--img-hero);
  background-size: cover;
  background-position: var(--hero-position);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 20vh;
  text-align: center;
  color: #f8f7f4;
}


/* Decorative frame */
.hero::after {
  content: "";
  position: absolute;
  inset: clamp(16px, 5vw, 30px);
  border: 2px solid rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

.hero-overlay,
.rsvp-overlay,
.location-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-overlay {
  background: linear-gradient(to bottom, rgba(15, 15, 14, 0.1), rgba(15, 15, 14, 0.01));
}

.hero-content {
  width: min(920px, 90vw);
  padding: 0 1.2rem;
  margin-top: 0;
}

.eyebrow {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  margin-top: 0.1rem;
  margin-bottom: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
}

.subtitle {
  margin: 1.3rem auto 0;
  width: min(600px, 100%);
  font-size: clamp(1.05rem, 2.4vw, 1.34rem);
}

.hero-cta {
  position: absolute;
  bottom: calc(clamp(16px, 5vw, 30px) + 1.5rem);
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 300;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-solid,
.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.btn-solid:hover,
.btn-outline:hover {
  background: var(--accent-deep);
}

.split-message {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  background: #f5f2ec;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-image {
  min-height: 460px;
  background: var(--img-welcome) center left / cover no-repeat;
}

.split-copy {
  display: grid;
  place-content: center;
  gap: 1rem;
}

.card,
.card-soft {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.card {
  padding: clamp(1.4rem, 4vw, 2.3rem);
}

.story-section {
  background-color: var(--story-bg);
  background-image:
    var(--story-corner-top-left),
    var(--story-corner-top-right),
    var(--story-corner-bottom-left),
    var(--story-corner-bottom-right);
  background-position:
    top left,
    top right,
    bottom left,
    bottom right;
  background-size:
    var(--story-corner-size),
    var(--story-corner-size),
    var(--story-corner-size),
    var(--story-corner-size);
  background-repeat: no-repeat;
}

.card-soft {
  padding: 1.2rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

[data-i18n="story.luzanneBody"] {
  white-space: pre-line;
}

.quote-gallery-section {
  width: min(1280px, 96vw);
}

.quote-gallery-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.4fr;
  background: #f8f4ee;
  overflow: hidden;
}

.quote-gallery-right {
  display: grid;
  grid-template-rows: auto 1fr;
}

.quote-gallery-copy {
  text-align: center;
  padding: 1rem 1.5rem 0.75rem;
}

.quote-gallery-verse {
  font-family: "Noto Serif", serif;
  font-weight: 100;
  font-size: clamp(1.1rem, 2.4vw, 2rem);
  margin: 0;
}

.quote-gallery-ref {
  font-family: "Noto Serif", serif;
  font-weight: 100;
  font-size: clamp(0.9rem, 1.6vw, 1.35rem);
  margin: 0;
}

.quote-gallery-photo {
  min-height: 700px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.quote-photo-left {
  background: var(--img-gallery-left) center / cover no-repeat;
}

.quote-photo-right {
  min-height: 500px;
  background: var(--img-gallery-right) center / cover no-repeat;
}

.verse {
  margin-top: 1.0rem;
  text-align: center;
  font-family: "Noto Serif", serif;
  font-weight: 100;
  font-size: clamp(1.1rem, 2.1vw, 2.0rem);
}

.verseRef {
  margin-top: 0;
  text-align: center;
  font-family: "Noto Serif", serif;
  font-weight: 100;
  font-size: clamp(0.8rem, 2vw, 1.2rem);
}
.location {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  width: 100%;
}

.location-backdrop {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.0)),
    var(--img-location) bottom center / cover no-repeat;
}

.location-content {
  width: min(680px, 92vw);
  text-align: center;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(20, 20, 21, 0.3);
}

.location-name {
  margin-bottom: 1.3rem;
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
}

.timeline-section {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.3)),
    var(--img-timeline) center / cover no-repeat;
  border-radius: 24px;
  min-height: 80svh;
  min-width: 90vw;
  padding: clamp(2rem, 4vw, 4rem);
}

.timeline {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 1rem;
}

.time {
  color: var(--accent-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.timeline-item {
  text-align: center;
}

.timeline-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  margin: 0.55rem auto 0.75rem;
}

.section-alt {
  background: linear-gradient(170deg, #eef2f5 0%, #ece6df 100%);
  width: min(1120px, 92vw);
  border-radius: 26px;
  padding: clamp(1.3rem, 4vw, 2rem);
}

.section-intro {
  margin-bottom: 1rem;
}

.accommodation-layout {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(0, 3fr);
  gap: 1.8rem;
  align-items: center;
  min-height: var(--accommodation-section-min-height);
}

.accommodation-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.accommodation-image {
  width: 100%;
  max-width: var(--accommodation-image-max-width);
  height: auto;
  display: block;
}

.accommodation-copy {
  min-width: 0;
}

.accommodation-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.3rem;
}

.accommodation-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.accommodation-list a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.85rem;
}

.notes-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.notes-item {
  text-align: center;
}

.notes-image {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  margin: 0.8rem auto 1rem;
}

.rsvp {
  margin-top: 4rem;
  width: min(var(--rsvp-section-max-width), 96vw);
  min-height: var(--rsvp-section-min-height);
  background: var(--rsvp-bg-color);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3.2rem);
  overflow: hidden;
  display: grid;
  align-items: center;
}

.rsvp-layout {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  justify-items: center;
  gap: clamp(1.2rem, 4vw, 2.8rem);
}

.rsvp-centerpiece {
  display: grid;
  place-items: center;
}

.rsvp-card {
  position: relative;
  width: min(290px, 78vw);
  min-height: 390px;
  padding: 2rem 1.8rem;
  text-align: center;
  background: var(--rsvp-oval-bg);
  border-radius: 50% / 38%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.rsvp-card::before,
.rsvp-card::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50% / 40%;
  border: 2px solid rgba(255, 255, 255, 0.78);
  pointer-events: none;
}

.rsvp-card::after {
  inset: -26px;
  border-style: dashed;
  opacity: 0.9;
}

.rsvp-card h2 {
  margin-top: 0.5rem;
}

.rsvp-card p {
  font-size: 0.95rem;
}

.rsvp-btn {
  display: inline-block;
  margin-top: 2.6rem;
  background: #8fa2ac;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.rsvp-btn:hover {
  background: #758a96;
}

.rsvp-photo-frame {
  width: min(var(--rsvp-photo-width), 100%);
  margin: 0;
  padding: 6px;
  background: #f7f4ef;
  box-shadow: 0 16px 32px rgba(25, 26, 28, 0.18);
}

.rsvp-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: rgba(255, 255, 255, 0.45);
}

.rsvp-photo-frame-left {
  justify-self: center;
  transform: rotate(-8deg) translateY(-90px);
}

.rsvp-photo-frame-right {
  justify-self: center;
  transform: rotate(8deg) translateY(90px);
}

.registry {
  background:
    linear-gradient(to right, rgba(142, 163, 176, 0.22), rgba(142, 163, 176, 0.22)),
    var(--img-registry) center / cover no-repeat;
  border-radius: 24px;
  padding: clamp(1.2rem, 4vw, 2rem);
}

.registry-panel {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(33, 42, 49, 0.42);
}

.banking {
  margin-top: 1rem;
  font-size: 0.98rem;
}

.final-message {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 3.3vw, 2.5rem);
}

.site-footer {
  padding: 2rem 1rem 2.6rem;
  text-align: center;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 1080px) {
  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --story-corner-size: 100px;
  }

  .split-message,
  .quote-gallery-grid {
    grid-template-columns: 1fr;
  }

  .quote-gallery-right {
    grid-template-rows: auto auto;
  }

  .split-message {
    grid-template-columns: 1fr;
  }

  .split-image {
    min-height: 320px;
    background-position: center top;
  }

  .story-grid,
  .notes-grid,
  .accommodation-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .accommodation-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .accommodation-image {
    max-width: var(--accommodation-mobile-image-max-width);
    margin: 0 auto;
  }

  .rsvp-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .rsvp-photo-frame-left,
  .rsvp-photo-frame-right {
    justify-self: center;
    transform: none;
  }

  .rsvp-photo-frame {
    width: min(220px, 72vw);
  }

  .site-header {
    padding: 0.8rem;
  }

  .chip {
    display: none;
  }
}

@media (max-width: 580px) {
  :root {
    --story-corner-size: 70px;
  }

  h1 {
    font-size: 2.0rem;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 7.2vw, 2rem);
    white-space: normal;
    text-wrap: balance;
  }

  .section,
  .split-message {
    margin: 4.4rem auto;
  }

  .card,
  .card-soft {
    border-radius: 18px;
  }

  .hero {
    padding-top: 16vh;
  }


  .hero-content {
    padding: 0 1.2rem;
    margin-top: 0;
  }

  .eyebrow {
    font-size: 0.9rem;
  }  

  .btn {
    font-size: 0.9rem;     
    padding: 0.55rem 1rem; 
    width: auto;           
    min-width: 0;          
  }

  .hero-cta {
    gap: 0.55rem;
  }

}

@media (max-width: 360px) {
  :root {
    --story-corner-size: 56px;
  }

  .section,
  .split-message {
    margin: 4.4rem auto;
  }

  h1 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: clamp(1.35rem, 7vw, 1.7rem);
    white-space: normal;
    text-wrap: balance;
  }

  .card,
  .card-soft {
    border-radius: 18px;
  }

  .hero {
    padding-top: 16vh;
  }

  .hero-content {
    padding: 0 1.2rem;
    margin-top: 0;
  }

  .eyebrow {
    font-size: 0.9rem;
  }  

  .btn {
    font-size: 0.9rem;     
    padding: 0.55rem 1rem; 
    width: auto;           
    min-width: 0;          
  }

  .hero-cta {
    gap: 0.55rem;
  }

}
