/* =========================================
   ARTUR & CAROLINA — WEDDING WEBSITE
   V15 — CLEAN MASTER STYLESHEET
   ========================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "EBGaramondSC";
  src: url("../fonts/EBGaramondSC.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

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

/* ---------- Design tokens ---------- */
:root {
  --paper: #fbfaf7;
  --paper-warm: #f4f2ee;
  --white: #ffffff;
  --ink: #3e3d3b;
  --soft: #727272;
  --grey: #727272;
  --line: #dedbd6;
  --burgundy: #501f29;
  --burgundy-dark: #501f29;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "EBGaramondSC", Georgia, serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .055;
  background-image: radial-gradient(rgba(70,67,64,.45) .35px, transparent .35px);
  background-size: 8px 8px;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button,
a { -webkit-tap-highlight-color: transparent; }

::selection { background: rgba(141,41,65,.18); }

/* ---------- Navigation ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(251,250,247,.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 28px 17px;
  text-align: center;
}

.nav-home-mark {
  display: block;
  width: fit-content;
  margin: 0 auto;
  line-height: 0;
}

.nav-home-mark:hover { opacity: .9; }

.nav-monogram {
  width: 122px;
  height: 122px;
  margin: 0 auto 8px;
  object-fit: contain;
  opacity: .86;
  filter: contrast(1.04);
}

.wordmark { display: none !important; }

.navlinks {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 29px;
  margin-top: 14px;
  font-family: "EBGaramondSC", Georgia, serif;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.navlinks a {
  position: relative;
  padding: 3px 0 6px;
  color: var(--ink);
  transition: color 180ms ease;
}

.navlinks a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--burgundy);
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.navlinks a:hover,
.navlinks a.active { color: var(--burgundy); }

.navlinks a:hover::after,
.navlinks a.active::after { width: 100%; }

.langs {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 8px auto 0;
  font-family: "EBGaramondSC", Georgia, serif;
  font-size: 9px;
  line-height: 1;
  letter-spacing: .12em;
}

.lang {
  display: inline-block;
  margin-left: 8px;
  cursor: pointer;
  color: var(--grey);
  transition: color 180ms ease;
}

.lang:first-child { margin-left: 0; }
.lang:hover,
.lang.active { color: var(--burgundy); }

/* ---------- Shared typography ---------- */
.section {
  width: min(1180px, calc(100% - 60px));
  margin: 0 auto;
  padding: 45px 0;
}

.center {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin-bottom: 14px;
  font-family: "EBGaramondSC", Georgia, serif;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.display {
  margin: 0;
  font-family: "EBGaramondSC", Georgia, serif;
  font-size: clamp(39px, 4.45vw, 61px);
  line-height: 1.03;
  font-weight: 400;
  letter-spacing: .065em;
  color: var(--ink);
}

.script {
  margin: 0;
  font-family: "Amelia Giovani", cursive;
  font-size: 38px;
  line-height: .94;
  font-weight: 400;
  color: var(--burgundy);
}

.lead {
  margin: 19px auto 0;
  max-width: 690px;
  font-family: "EBGaramondSC", Georgia, serif;
  font-size: 18px;
  line-height: 1.78;
  letter-spacing: .035em;
  color: var(--soft);
}

.rule {
  width: 48px;
  height: 1px;
  margin: 24px auto;
  background: var(--burgundy);
  opacity: .6;
}

.intro-copy .rule {
  margin-left: 0;
  margin-right: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 25px;
  border: 1px solid var(--burgundy);
  border-radius: 0;
  background: var(--burgundy);
  color: var(--white);
  font-family: "EBGaramondSC", Georgia, serif;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .17em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
}

.btn.alt {
  background: transparent;
  color: var(--burgundy);
}

.btn.alt:hover {
  background: var(--burgundy);
  color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - 32px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #5e5a56;
  color: var(--white);
}

.hero > img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center center;
  filter: saturate(.70) contrast(.96);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,25,22,.12) 0%, rgba(30,25,22,.26) 45%, rgba(25,21,19,.68) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 22px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.52);
  pointer-events: none;
}


.hero-content {
  position: relative;
  z-index: 3;
  width: min(820px, calc(100% - 70px));
  padding: 58px 18px 70px;
  text-align: center;
}

.hero-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  font-family: "Amelia Giovani", cursive;
  font-size: clamp(62px, 8.6vw, 114px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--white);
}

.hero-name {
  display: block;
  white-space: nowrap;
}

.hero-and {
  margin: -2px 0 4px;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 25px;
  line-height: 1;
  color: rgba(255,255,255,.94);
}

.hero-date {
  margin-top: 38px;
  font-family: "EBGaramondSC", Georgia, serif;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: .15em;
  color: var(--white);
}

.hero-place {
  margin-top: 10px;
  font-family: "EBGaramondSC", Georgia, serif;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: .11em;
  color: rgba(255,255,255,.94);
}

.hero-count { display: none !important; }

/* ---------- Introduction ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr .86fr;
  gap: 78px;
  align-items: center;
}

.intro-photo { height: 620px; }
.intro-copy { padding: 8px 0; }

.intro-copy p {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: .02em;
  color: var(--soft);
}

/* ---------- Wedding day ---------- */
.wedding-day-section { padding-top: 45px; }

.event-date {
  margin-top: 29px;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.wedding-timeline {
  max-width: 780px;
  margin: 58px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.event-block {
  width: 100%;
  max-width: 600px;
  padding: 10px 20px 28px;
}

.event-block .eyebrow {
  margin-bottom: 15px;
  font-size: 17px;
  letter-spacing: .16em;
}

.event-block h3 {
  margin: 10px 0 15px;
  font-size: 36px;
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: .06em;
}

.event-block p {
  margin: 0 auto 24px;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .025em;
  color: var(--soft);
}

.event-follow {
  margin: 0 0 13px;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.event-divider {
  width: 55px;
  height: 1px;
  margin: 14px 0 22px;
  background: var(--burgundy);
  opacity: .55;
}

/* ---------- Travel ---------- */
.travel-section { padding-top: 45px; }

.travel-info-grid {
  max-width: 820px;
  grid-template-columns: repeat(3, 1fr);
  margin: 49px auto 0;
}

/* ---------- Stay / hotels ---------- */
.stay-section { margin-top: 110px; }
.stay-section .center { margin-bottom: 50px; }

.hotel-feature {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 55px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto 70px;
}

.hotel-feature:last-child { margin-bottom: 0; }

.hotel-feature-image {
  height: 540px;
  overflow: hidden;
}

.hotel-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotel-feature-copy { padding: 10px 0; }

.hotel-feature-copy h3 {
  margin: 10px 0 16px;
  font-size: 36px;
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: .06em;
}

.hotel-feature-copy p {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.78;
  letter-spacing: .025em;
  color: var(--soft);
}

.hotel-title-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(141,41,65,.45);
  transition: color 180ms ease, border-color 180ms ease;
}

.hotel-title-link:hover {
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.booking-note {
  max-width: 560px;
  margin: 26px 0 18px;
  font-size: 15px;
  line-height: 1.72;
  letter-spacing: .02em;
  color: var(--soft);
}

.booking-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 560px;
}

.booking-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 13px 16px;
  border: 1px solid rgba(141,41,65,.42);
  background: transparent;
  color: var(--burgundy);
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-align: center;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.booking-link:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--white);
}

/* ---------- Information cards ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info {
  min-height: 225px;
  padding: 38px 26px;
  text-align: center;
  background: transparent;
  border: 1px solid rgba(162,162,160,.30);
}

.info h3 {
  margin: 9px 0 11px;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: .055em;
}

.info p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  letter-spacing: .025em;
  color: var(--soft);
}

/* ---------- Floral / monogram ornament ---------- */
.monogram-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 0;
}

.section-monogram {
  width: 105px;
  height: 105px;
  object-fit: contain;
  opacity: .62;
}

.floral-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  height: 72px;
  overflow: hidden;
  opacity: .38;
}

.floral-divider::before,
.floral-divider::after {
  content: "";
  width: 110px;
  max-width: 14vw;
  height: 1px;
  background: var(--line);
}

.floral-divider img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .62;
}

/* ---------- RSVP ---------- */
.rsvp {
  width: 100%;
  max-width: none;
  padding-top: 95px;
  padding-bottom: 95px;
  background: var(--burgundy-dark);
  color: var(--white);
}

.rsvp .display { color: var(--white); }
.rsvp .lead { color: rgba(255,255,255,.82); }
.rsvp .script { color: var(--white); }
.rsvp .rule { background: rgba(255,255,255,.72); }

.rsvp .btn {
  margin-top: 46px;
  background: var(--white);
  border-color: var(--white);
  color: var(--burgundy-dark);
}

.rsvp .btn:hover {
  background: transparent;
  color: var(--white);
}

/* ---------- Footer ---------- */
footer {
  padding: 48px 20px;
  text-align: center;
  background: var(--paper);
  font-family: "EBGaramondSC", Georgia, serif;
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--soft);
}

/* ---------- Utilities ---------- */
.gallery-spaced { margin-top: 50px; }
.section-grid-spaced { margin-top: 50px; }

section[id],
#things,
#faq,
#rsvp { scroll-margin-top: 225px; }

#travel + .section { padding-top: 45px; }
#travel > .center .eyebrow { margin-bottom: 18px; }
#schedule .rule { margin-bottom: 38px; }

.count-section {
  margin-top: 15px;
  margin-bottom: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: nowrap;
  width: fit-content;
  max-width: 100%;
  margin: 39px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.countdown .unit {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 17px 18px;
  border-right: 1px solid var(--line);
}

.countdown .unit:last-child { border-right: 0; }

.countdown .num {
  font-size: 34px;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--burgundy);
}

.countdown .unit-label {
  margin: 0;
  font-size: 8px;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--soft);
}

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
  nav {
    position: sticky;
    top: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .nav-inner { padding: 11px 10px 10px; }

  .nav-monogram {
    width: 92px;
    height: 92px;
    margin-bottom: 5px;
  }

  .langs {
    margin-top: 7px;
    font-size: 8px;
    letter-spacing: .08em;
  }

  .lang { margin-left: 8px; }

  .navlinks {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 16px;
    margin-top: 8px;
    padding: 2px 0 3px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    font-size: 8px;
    letter-spacing: .09em;
  }

  .navlinks::-webkit-scrollbar { display: none; }

  .navlinks a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  section[id],
  #things,
  #faq,
  #rsvp { scroll-margin-top: 175px; }

  .section {
    width: min(100% - 36px, 680px);
    padding: 45px 0;
  }

  .display {
    font-size: clamp(36px, 9.8vw, 51px);
    letter-spacing: .045em;
  }

  .script { font-size: 34px; }

  .lead {
    font-size: 17px;
    line-height: 1.68;
  }

  .hero {
    min-height: calc(100svh - 30px);
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 34px 8px 52px;
  }

  .hero-names {
    gap: 8px;
    font-size: clamp(55px, 15vw, 80px);
    line-height: 1.10;
  }

  .hero-and {
    font-size: 16px;
    line-height: 1;
  }

  .hero-date {
    margin-top: 35px;
    font-size: 15px;
    letter-spacing: .10em;
  }

  .hero-place {
    margin-top: 9px;
    font-size: 8px;
    letter-spacing: .06em;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .intro-photo { height: 470px; }
  .intro-copy { padding: 0; }

  .intro-copy p {
    font-size: 17px;
    line-height: 1.74;
  }

  .count-section { margin-top: 10px; }

  .countdown {
    width: 100%;
    max-width: 100%;
    margin-top: 31px;
  }

  .countdown .unit {
    gap: 5px;
    padding: 14px 7px;
    flex: 1 1 auto;
    justify-content: center;
  }

  .countdown .num { font-size: 25px; }
  .countdown .unit-label { font-size: 6px; letter-spacing: .10em; }

  .wedding-day-section { padding-top: 45px; }

  .event-date {
    margin-top: 23px;
    font-size: 13px;
    letter-spacing: .11em;
  }

  .wedding-timeline { margin-top: 41px; }

  .event-block { padding: 8px 12px 22px; }

  .event-block .eyebrow {
    margin-bottom: 13px;
    font-size: 11px;
  }

  .event-block h3 {
    margin-bottom: 14px;
    font-size: 30px;
  }

  .event-block p { font-size: 15px; }

  .event-follow {
    font-size: 10px;
    letter-spacing: .11em;
    margin-bottom: 11px;
  }

  .travel-section { padding-top: 45px; }

  .travel-info-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
    gap: 12px;
  }

  .stay-section { margin-top: 78px; }
  .stay-section .center { margin-bottom: 34px; }

  .hotel-feature {
    grid-template-columns: 1fr;
    gap: 27px;
    margin-bottom: 55px;
  }

  .hotel-feature-image { height: 410px; }
  .hotel-feature-copy { padding: 0 2px; }
  .hotel-feature-copy h3 { font-size: 30px; }
  .hotel-feature-copy p { font-size: 16px; }

  .booking-note {
    margin-top: 22px;
    font-size: 14px;
  }

  .booking-links {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 100%;
  }

  .booking-link { min-height: 54px; }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .info {
    min-height: auto;
    padding: 31px 23px;
  }

  .info h3 { font-size: 25px; }
  .info p { font-size: 15px; }

  .section-monogram {
    width: 86px;
    height: 86px;
  }

  .floral-divider {
    height: 58px;
    gap: 8px;
  }

  .floral-divider::before,
  .floral-divider::after { width: 20vw; }

  .floral-divider img {
    width: 64px;
    height: 64px;
  }

  .rsvp {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  footer {
    padding: 38px 16px;
    font-size: 8px;
    letter-spacing: .12em;
  }
}

/* =========================================
   V12 — THINGS TO DO / FAQ REFINEMENTS
   ========================================= */

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

.things-groups {
  max-width: 1080px;
  margin: 62px auto 0;
}

.things-group {
  margin-bottom: 64px;
}

.things-group:last-child {
  margin-bottom: 0;
}

.things-group-title {
  margin-bottom: 22px;
  text-align: center;
  font-family: "EBGaramondSC", Georgia, serif;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.things-grid {
  display: grid;
  gap: 16px;
}

.things-grid-two {
  grid-template-columns: repeat(2, 1fr);
}

.things-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.thing-card {
  display: flex;
  min-height: 285px;
  padding: 34px 30px 30px;
  border: 1px solid rgba(162,162,160,.30);
  text-align: center;
}

.thing-card-feature {
  max-width: 760px;
  min-height: 250px;
  margin: 0 auto;
}

.thing-card-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.thing-card h3 {
  margin: 7px 0 13px;
  font-size: 27px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: .055em;
}

.thing-card p {
  max-width: 620px;
  margin: 0 auto 24px;
  font-size: 15px;
  line-height: 1.78;
  letter-spacing: .025em;
  color: var(--soft);
}

.thing-meta {
  margin-bottom: 4px;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.thing-link {
  width: min(100%, 240px);
  margin-top: auto;
  min-height: 48px;
}

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

.faq-section > .center {
  max-width: 900px;
}

.faq-section > .center .display {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(32px, 3.35vw, 48px);
  line-height: 1.12;
  text-transform: none;
}

.faq-grid {
  margin-top: 50px;
}

@media (max-width: 800px) {
  .things-section,
  .faq-section {
    padding-top: 65px;
  }

  .things-groups {
    margin-top: 48px;
  }

  .things-group {
    margin-bottom: 48px;
  }

  .things-grid-two,
  .things-grid-three {
    grid-template-columns: 1fr;
  }

  .thing-card,
  .thing-card-feature {
    min-height: auto;
    padding: 30px 22px 26px;
  }

  .thing-card h3 {
    font-size: 25px;
  }

  .thing-card p {
    font-size: 15px;
  }

  .faq-section > .center .display {
    font-size: 31px;
    line-height: 1.15;
  }

  .faq-grid {
    margin-top: 38px;
  }

  .rsvp .btn {
    margin-top: 26px;
  }
}

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

  .gallery img,
  .btn,
  .navlinks a,
  .navlinks a::after,
  .hotel-title-link,
  .booking-link { transition: none; }
}


/* =========================================
   V11 — GETTING AROUND
   ========================================= */

.getting-around-section {
  padding: 72px 0 82px;
}

.getting-around-lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 800px) {
  .getting-around-section {
    padding: 58px 20px 64px;
  }

  .getting-around-lead {
    max-width: 100%;
  }
}

/* ---------- V14 refinements ---------- */

/* The individual travel-card labels repeat the shared "Getting here" context. */
.travel-info-grid .eyebrow,
.travel-info-grid .thing-meta {
  display: none !important;
}

/* The restaurant card meta is duplicated by the card title; keep the section heading only. */
.things-grid .thing-meta {
  display: none !important;
}

@media (max-width: 800px) {
  .hero::before {
    inset: 12px;
    border-color: rgba(255,255,255,.48);
  }

  .event-date {
    font-size: 15px;
  }

  .event-block .eyebrow,
  .event-follow {
    font-size: 15px;
  }

  .rsvp .btn {
    margin-top: 38px;
  }
}

/* =========================================
   V15 — FLORAL DIVIDERS & HERO REFINEMENTS
   ========================================= */

/* Main section separators using the supplied floral artwork. */
.section-divider {
  width: 100%;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--paper);
}

.section-divider img {
  display: block;
  width: min(360px, 42vw);
  height: auto;
  object-fit: contain;
  opacity: .62;
}

/* The supplied artwork is the exact hero name treatment. */
.hero-names-image {
  display: block;
  width: min(690px, 82vw);
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  filter: none;
}

/* Amelia Giovani for the date and location in the hero, as requested. */
.hero-date,
.hero-place {
  font-family: "Amelia Giovani", cursive;
  font-weight: 400;
  letter-spacing: .06em;
}

.hero-date {
  font-size: 23px;
  line-height: 1.2;
}

.hero-place {
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: .04em;
}

/* Use the supplied palette consistently. */
:root {
  --soft: #727272;
  --grey: #727272;
  --burgundy: #501f29;
  --burgundy-dark: #501f29;
}

/* Reduce the oversized gap between Getting Around and For the Stay. */
.stay-section {
  margin-top: 38px;
}

/* Footer name/date/location use the same script treatment as the hero details. */
footer {
  font-family: "Amelia Giovani", cursive;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: .04em;
  text-transform: none;
}

/* Keep the hero filling the first viewport on desktop and mobile. */
.hero {
  min-height: 100svh;
  height: 100svh;
}

@media (max-width: 800px) {
  .section-divider {
    height: 70px;
  }

  .section-divider img {
    width: min(280px, 62vw);
  }

  .hero {
    min-height: 100svh;
    height: 100svh;
  }

  .hero-content {
    width: calc(100% - 18px);
    padding: 26px 4px 44px;
  }

  .hero-names-image {
    width: 92vw;
    max-width: 520px;
  }

  .hero-date {
    margin-top: 26px;
    font-size: 19px;
    letter-spacing: .04em;
  }

  .hero-place {
    margin-top: 7px;
    font-size: 12px;
    letter-spacing: .025em;
  }

  .stay-section {
    margin-top: 28px;
  }

  footer {
    font-size: 15px;
    line-height: 1.55;
    letter-spacing: .035em;
  }
}


/* =========================================
   V16 — FINAL REFINEMENTS
   ========================================= */

/* Use the exact invitation colours. */
:root {
  --soft: #727272;
  --grey: #727272;
  --burgundy: #501f29;
  --burgundy-dark: #501f29;
}

/* The supplied Artur & Carolina artwork is grey in the source PNG.
   Convert it to clean white while preserving its transparency. */
.hero-names-image {
  filter: brightness(0) invert(1) !important;
}

/* Keep the supplied white hero frame visible. */
.hero::before {
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  z-index: 2;
}

/* Make the floral artwork sit optically in the exact middle between sections. */
.section-divider {
  height: 104px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.section-divider img {
  display: block;
  width: min(360px, 42vw);
  height: auto;
  margin: 0;
  object-fit: contain;
  opacity: .62;
}

/* The dividers after the larger content blocks need a small optical correction. */
.divider-after-travel,
.divider-after-things {
  transform: translateY(8px);
}

/* The final divider should sit slightly closer to the centre of the gap. */
.divider-before-rsvp {
  transform: translateY(-8px);
}

/* Bring Getting Around and For the Stay closer together. */
.getting-around-section {
  padding-bottom: 42px;
}

.stay-section {
  margin-top: 28px !important;
}

/* Ensure in-page navigation lands below the navigation/header. */
section[id] {
  scroll-margin-top: 225px;
}

@media (max-width: 800px) {
  .section-divider {
    height: 78px;
  }

  .section-divider img {
    width: min(280px, 62vw);
  }

  .divider-after-travel,
  .divider-after-things {
    transform: translateY(6px);
  }

  .divider-before-rsvp {
    transform: translateY(-6px);
  }

  .getting-around-section {
    padding-bottom: 30px;
  }

  .stay-section {
    margin-top: 22px !important;
  }

  section[id] {
    scroll-margin-top: 175px;
  }
}


/* =========================================
   V17 — DELICATE LINE & DIVIDER REFINEMENTS
   ========================================= */

/* Keep the small decorative rules consistent: fine, delicate and understated. */
.rule,
.event-divider {
  width: 48px;
  height: 1px;
  background: var(--burgundy);
  opacity: .45;
}

/* Lift the final floral divider slightly so it sits more naturally between FAQ and RSVP. */
.divider-before-rsvp {
  transform: translateY(-16px);
}

@media (max-width: 800px) {
  .divider-before-rsvp {
    transform: translateY(-12px);
  }

  .rule,
  .event-divider {
    width: 48px;
    height: 1px;
    opacity: .45;
  }
}


/* =========================================
   V19 — FOOTER TYPOGRAPHY REFINEMENT
   ========================================= */

/* The date and location beneath the hero names use the invitation serif font. */
.hero-date,
.hero-place {
  font-family: "EBGaramondSC", Georgia, serif !important;
}

/* Keep the desktop frame unchanged; bring it closer to the edges only on mobile. */
@media (max-width: 800px) {
  .hero::before {
    inset: 7px;
  }
}


/* V19: Keep the names in the footer in Amelia Giovani, while the date
   and location use the invitation serif font EBGaramondSC. */
footer .footer-date,
footer .footer-place {
  font-family: "EBGaramondSC", Georgia, serif !important;
}


/* V20: Explicitly apply EBGaramondSC to the footer date and location.
   The cache-busting version on style.css/content.js ensures the update is loaded. */
footer .footer-date,
footer .footer-place {
  font-family: "EBGaramondSC", Georgia, serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
}

/* V22 — keep hero date and location on separate lines. */
.hero-date,
.hero-place {
  display: block;
}


/* =========================================
   V23 — FOOTER NAMES IMAGE
   ========================================= */

/* Use the supplied transparent PNG for the footer names.
   Date and location remain in EBGaramondSC below it. */
footer .footer-names-image {
  display: inline-block;
  width: 230px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  vertical-align: middle;
  border: 0;
  box-shadow: none;
}

@media (max-width: 800px) {
  footer .footer-names-image {
    width: 205px;
  }
}
