:root{
  --bg: #f4ede0;
  --bg2:#f0e8d8;
  --ink:#2a2520;
  --muted:#6b6258;
  --line: rgba(42,37,32,.10);
  --accent:#6b9bb8;   /* ocean blue */
  --accent2:#4a7a8a;  /* deeper teal */
  --card: rgba(255,252,247,.82);
  --shadow: none;
  --radius: 4px;
  --radius2: 8px;
  --serif: "Cormorant Garamond", ui-serif, Georgia, serif;
  --sans: "Lato", system-ui, -apple-system, sans-serif;
  --max: 1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--ink);
  background: url('/img/background.png') repeat center center fixed;
  background-size: 600px auto;
  overflow-x:hidden;
}

html { scroll-behavior: smooth; }


/* Subtle paper grain */
body:before{
  content:"";
  position:fixed; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
  pointer-events:none;
  mix-blend-mode:multiply;
  z-index:0;
}

a{color:inherit; text-decoration:none}
.container{width:min(var(--max), calc(100% - 40px)); margin:0 auto; position:relative; z-index:1;}

.pill{
  display:inline-flex; align-items:center; gap:.55rem;
  padding:.7rem 1rem;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(16,24,40,.06);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:.6rem;
  padding:.95rem 1.15rem;
  cursor: pointer;
  border-radius:999px;
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.75));
  box-shadow: 0 12px 30px rgba(16,24,40,.09);
  font-weight:600;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:hover{transform:translateY(-2px); box-shadow: 0 18px 50px rgba(16,24,40,.12); border-color: rgba(196,126,90,.35);}
.btn.primary{
  background: transparent;
  color: #1a2e4a;
  border: 1.5px solid #6b9bb8;
  border-radius: 4px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  padding: 1rem 2rem;
  box-shadow: none;
  transition: background .2s ease, color .2s ease;
}
.btn.primary:hover{
  background: rgba(107,155,184,.12);
  color: #1a2e4a;
  transform: none;
  box-shadow: none;
  border-color: #4a7a8a;
}
.btn.ghost{
  background: transparent;
  box-shadow:none;
}

/* Small button variant */
.btn.small{
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .92rem;
}
.btn.small span[aria-hidden="true"]{ font-size: 1.1em; }

/* Header */
header{
  position:sticky; top:0; z-index:50;
  background: url('/img/background.png') repeat center center;
  background-size: 600px auto;
  backdrop-filter: blur(12px);
  border-bottom:1px solid rgba(107,155,184,.18);
}
.topbar{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{
  display:flex; flex-direction:column; line-height:1.05;
}
.brand strong{
  font-family:var(--serif);
  font-weight:600;
  letter-spacing:.02em;
  font-size:20px;
}
.brand span{
  color:var(--muted);
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* Navbar styles kept (even if commented out in HTML) */
nav{
  display:flex; align-items:center; gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}
nav a{
  padding:.55rem .75rem;
  border-radius:999px;
  color:var(--muted);
  border:1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  font-weight:600;
  font-size:14px;
}
nav a:hover{
  background: rgba(255,255,255,.55);
  border-color: rgba(31,35,40,.10);
  color:var(--ink);
}

/* Language toggle */
.lang{
  display:flex; align-items:center; gap:8px;
}
.lang button{
  font: inherit;
  border:1px solid var(--line);
  background: rgba(255,255,255,.65);
  padding:.5rem .7rem;
  border-radius:999px;
  cursor:pointer;
  font-weight:700;
  letter-spacing:.04em;
  font-size:12px;
  color:var(--muted);
  transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}
.lang button:hover{transform:translateY(-1px); border-color: rgba(196,126,90,.35); color:var(--ink);}
.lang button[aria-pressed="true"]{
  background: rgba(107,155,184,.14);
  border-color: rgba(107,155,184,.45);
  color: var(--ink);
}

/* Optional: active language button style (if you use .active elsewhere) */
.langBtn.active {
  background: rgba(0,0,0,.08);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.14);
}

/* Hero */
.hero{
  padding: 48px 0 26px;
}
.heroGrid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items:stretch;
}
.heroCard{
  border-radius: 0;
  overflow: visible;
  border: none;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
  position: relative;
}
.heroLeft{
  padding: 52px 44px 44px;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.eyebrow{
  display:inline-flex; gap:.5rem; align-items:center;
  color: var(--muted);
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:12px;
}
.dot{
  width:7px; height:7px; border-radius:50%;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  box-shadow:0 0 0 5px rgba(196,126,90,.14);
}
h1{
  margin: 14px 0 8px;
  font-family: var(--serif);
  font-weight:600;
  font-size: clamp(44px, 5vw, 64px);
  letter-spacing:.01em;
  line-height:1.02;
  color: #1a2e4a;
}
.lead{
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height:1.65;
  max-width: 54ch;
}
.heroActions{
  display:flex; gap:12px; flex-wrap:wrap;
  margin-top: 24px;
}
.heroMeta{
  margin-top: 18px;
  display:flex; gap:10px; flex-wrap:wrap;
}
.metaItem{
  display:flex; align-items:center; gap:.5rem;
  padding: 0;
  border: none;
  background: transparent;
  color: #4a6580;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  letter-spacing: .03em;
}

/* Dot separator between meta items */
.heroMeta{
  margin-top: 14px;
  display:flex; gap:10px; flex-wrap:wrap;
  align-items: center;
  justify-content: center;
}
.metaItem + .metaItem::before {
  content: "·";
  color: #6b9bb8;
  font-style: normal;
  margin-right: 4px;
}

.heroRight{
  display:flex;
  flex-direction:column;
  position: relative;
}

.photo{
  height: 400px;
  background:
    radial-gradient(600px 380px at 80% 20%, rgba(196,126,90,.28), transparent 55%),
    radial-gradient(540px 360px at 20% 60%, rgba(45,106,98,.20), transparent 58%),
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.55));
  position:relative;
}
.photo:before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(0deg, rgba(31,35,40,.08), transparent 45%),
    url("/img/marina_and_roman.jpg");
  background-size: cover;
  background-position: center;
  opacity: .92;
  transform: scale(1.02);
}
.photo:after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(500px 320px at 70% 15%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(520px 320px at 25% 70%, rgba(196,126,90,.14), transparent 65%);
  pointer-events:none;
}
.quote{
  padding: 18px 20px 18px;
  border-top:1px solid rgba(31,35,40,.08);
}
.quote p{
  margin:0;
  font-family: var(--serif);
  font-size: 20px;
  line-height:1.35;
  letter-spacing:.01em;
  color: #1a2e4a;
}
.quote small{
  display:block;
  margin-top:10px;
  color: #4a6580;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: none;
  line-height: 1.7;
}
/* Hero decorative image (bottom-right) */
.heroLeft{
  position: relative; /* already set, but required */
}

.heroStamp{
  display: none;
}


/* Mobile: make it smaller and avoid overlap */
@media (max-width: 900px){
  .heroStamp{
    width: 260px;
    max-width: 30%;
    opacity: 0.85;
  }
}

@media (min-width: 1220px){
  .heroStamp{
    width: 260px;
    max-width: 50%;
    opacity: 0.85;
  }
}



/* Sections */
section{
  padding: 28px 0;
}
section + section::before {
  content: none;
}

/* Schedule + photo grid */
.scheduleGrid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 22px;
  align-items: start;
  padding: 28px 0;
}
.schedulePhoto {
  position: relative;
}
.schedulePhotoImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.scheduleRight {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (max-width: 900px) {
  .scheduleGrid { grid-template-columns: 1fr; }
  .schedulePhoto { max-width: 480px; margin: 0 auto; }
}

/* Section headings — match hero invitation style */
.card h2 {
  font-family: var(--serif);
  color: #1a2e4a;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: 16px;
}

/* Timeline time labels — match meta style */
.time {
  font-weight: 400;
  font-family: var(--serif);
  font-style: italic;
  color: #4a6580;
  font-size: 16px;
  letter-spacing: .03em;
}

/* Getting here + staying — combined full-width card */
#logistics {
  margin-top: 22px;
}
.logisticsGrid {
  display: grid;
  grid-template-columns: 1fr 1px 2fr;
  gap: 0 48px;
  align-items: start;
}
.logisticsDivider {
  background: rgba(107,155,184,.25);
  width: 1px;
  align-self: stretch;
}
.logisticsCol h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  color: #1a2e4a;
  letter-spacing: .01em;
  margin: 0 0 18px;
}
.logistics-label {
  font-family: var(--serif);
  font-style: italic;
  color: #4a6580;
  font-size: 14px;
  margin: 0 0 12px !important;
  letter-spacing: .04em;
}

/* Airport two-column split */
.airportGrid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 20px;
  align-items: center;
}
.airportDivider {
  width: 1px;
  height: 40px;
  background: rgba(107,155,184,.30);
  justify-self: center;
}
.airportItem {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.airportName {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: #1a2e4a;
}
.airportDist {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: #4a6580;
}

/* Hotel list */
.hotelList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hotelItem {
  padding: 12px 0;
  border-bottom: 1px solid rgba(107,155,184,.15);
}
.hotelItem:last-child {
  border-bottom: none;
}
.hotelItemSimple {
  display: flex;
  align-items: center;
}
.hotelTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.hotelName {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: #1a2e4a;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease;
}
.hotelName:hover {
  border-bottom-color: rgba(107,155,184,.50);
}
.hotelActions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hotelBtn {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: #6b9bb8;
  border: 1px solid rgba(107,155,184,.30);
  border-radius: 3px;
  padding: 3px 10px;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.hotelBtn:hover {
  background: rgba(107,155,184,.10);
  color: #1a2e4a;
}
.hotelNote {
  margin: 5px 0 0 !important;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: #4a6580;
}
@media (max-width: 720px) {
  .logisticsGrid { grid-template-columns: 1fr; gap: 28px 0; }
  .logisticsDivider { display: none; }
  .hotelTop { flex-direction: column; align-items: flex-start; }
}

/* Wave dividers */
.waveDivider {
  text-align: center;
  padding: 8px 0;
  line-height: 0;
}
.waveDivider img {
  width: min(340px, 60%);
  height: auto;
  opacity: 0.75;
}

/* Paris / BW photo blocks */
.photoBlock {
  text-align: center;
  padding: 20px 0 10px;
}
.photoBlockSmall .photoBlockInner {
  max-width: 420px;
}
.photoBlockInner {
  display: inline-block;
  max-width: 620px;
  width: 100%;
  position: relative;
  padding: 20px;
}
.photoBlockImg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
#travel .grid2 > .card {
  grid-column: 1 / -1;
}
.card{
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 52px 56px;
  position: relative;
}
.card h2{
  margin:0 0 10px;
  font-family: var(--serif);
  font-weight:600;
  font-size: 30px;
  letter-spacing:.01em;
}
.card p{
  margin:0;
  color: var(--muted);
  line-height:1.7;
  font-size:15px;
}
.list{
  margin: 12px 0 0;
  padding:0;
  list-style:none;
  display:flex; flex-direction:column; gap:10px;
}
.li{
  display:flex; gap:10px; align-items:flex-start;
  padding: 10px 4px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(107,155,184,.18);
  background: transparent;
}
.badge{
  width: 34px; height: 34px;
  border-radius: 12px;
  display:grid; place-items:center;
  background: linear-gradient(180deg, rgba(196,126,90,.22), rgba(45,106,98,.16));
  border: 1px solid rgba(196,126,90,.25);
  flex: 0 0 auto;
}
.li strong{display:block; font-size:14px; margin-bottom:2px;}
.li span{color:var(--muted); font-size:14px; line-height:1.5;}

/* Timeline */
.event-title strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  color: #1a2e4a;
  letter-spacing: .01em;
}
.event-venue {
  font-family: var(--serif);
  font-style: italic;
  color: #4a6580;
  font-size: 16px;
  font-weight: 400;
  margin-top: 4px !important;
  letter-spacing: .02em;
}
.event-address {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  margin-top: 4px !important;
  line-height: 1.5;
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 0;
  border: none;
  background: transparent;
  color: #6b9bb8;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .03em;
  border-bottom: 1px solid rgba(107,155,184,.35);
  transition: color .15s ease, border-color .15s ease;
}
.map-link::after {
  content: " →";
  font-style: normal;
}
.map-link:hover {
  color: #1a2e4a;
  border-bottom-color: #1a2e4a;
}
/* Timeline */
.timeline{
  display:grid;
  gap: 10px;
  margin-top: 12px;
}
.event{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items:start;
  padding: 16px 8px 16px 20px;
  border-radius: 0;
  border: none;
  border-left: 1px solid rgba(107,155,184,.40);
  background: transparent;
}
.time{
  font-weight:800;
  color: var(--ink);
  letter-spacing:.02em;
}
.event p{margin:0; color:var(--muted); line-height:1.6; font-size:14px;}

/* --- RSVP upgraded form styles (base) --- */

.row1 { margin-top: 18px; }
.row2 { display:grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }

@media (max-width: 780px){
  .row2 { grid-template-columns: 1fr; }
}

label > span,
.fieldLabel {
  display: block;
  font-weight: 400;
  font-family: var(--serif);
  font-style: italic;
  margin-bottom: 8px;
  color: #4a6580;
  font-size: 15px;
  letter-spacing: .02em;
}

input, select, textarea{
  width: 100%;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(107,155,184,.35);
  background: transparent;
  padding: 10px 0;
  font-family: var(--serif);
  font-size: 16px;
  color: #1a2e4a;
  outline: none;
}

textarea{
  min-height: 100px;
  resize: none;
  border: none !important;
  border-bottom: 1px solid rgba(107,155,184,.35) !important;
  background: transparent !important;
  border-radius: 0 !important;
}
input:focus, textarea:focus{
  border-bottom-color: #6b9bb8;
  box-shadow: none;
  background: transparent;
}
::placeholder {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(107,155,184,.55);
  font-size: 15px;
}

.hint{
  margin: 8px 0 0;
  color: rgba(20,20,20,.55);
  font-size: .92rem;
}

/* Toggle (Yes/No, Adult/Child) */
.toggle{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap: wrap;
}

.toggleBtn{
  appearance: none;
  border: 1px solid rgba(107,155,184,.30);
  background: transparent;
  padding: 8px 22px;
  border-radius: 3px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  font-weight: 400;
  color: #4a6580;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.toggleBtn:hover {
  background: rgba(107,155,184,.08);
  border-color: rgba(107,155,184,.55);
  color: #1a2e4a;
}

.toggleBtn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.9); }

.toggleBtn.is-active{
  border-color: #6b9bb8;
  background: rgba(107,155,184,.12);
  color: #1a2e4a;
}

/* YES — soft green */
.toggleBtn[data-toggle="attending"][data-value="yes"].is-active,
.toggleBtn[data-toggle="bus"][data-value="yes"].is-active{
  border-color: rgba(46,125,112,.40);
  background: rgba(46,125,112,.10);
  color: rgba(20,80,70,.95);
}
.toggleBtn[data-toggle="attending"][data-value="yes"]:hover,
.toggleBtn[data-toggle="bus"][data-value="yes"]:hover{
  background: rgba(46,125,112,.08);
  border-color: rgba(46,125,112,.35);
  color: rgba(20,80,70,.95);
}

/* NO — soft red */
.toggleBtn[data-toggle="attending"][data-value="no"].is-active,
.toggleBtn[data-toggle="bus"][data-value="no"].is-active{
  border-color: rgba(180,70,70,.40);
  background: rgba(180,70,70,.10);
  color: rgba(140,30,30,.90);
}
.toggleBtn[data-toggle="attending"][data-value="no"]:hover,
.toggleBtn[data-toggle="bus"][data-value="no"]:hover{
  background: rgba(180,70,70,.08);
  border-color: rgba(180,70,70,.35);
  color: rgba(140,30,30,.90);
}

.addGuestBtn {
  border: 1px solid rgba(107,155,184,.35) !important;
  border-radius: 3px !important;
  background: transparent !important;
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #4a6580 !important;
  letter-spacing: .04em;
  box-shadow: none !important;
  padding: 8px 18px !important;
}
.addGuestBtn:hover {
  background: rgba(46,125,112,.10) !important;
  border-color: rgba(46,125,112,.40) !important;
  color: rgba(20,80,70,.95) !important;
  transform: none !important;
}


/* Guests */
.guestsHead{
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.guestsList{
  display:grid;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 20px;
}

.guestRow{
  display:grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: end;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid rgba(107,155,184,.15);
  background: transparent;
  border-radius: 0;
}

@media (max-width: 780px){
  .guestRow{ grid-template-columns: 1fr; }
}

.guestRemove{
  border: 1px solid rgba(180,70,70,.25);
  background: rgba(180,70,70,.06);
  color: rgba(160,60,60,.80);
  border-radius: 3px;
  padding: 8px 22px;
  cursor: pointer;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  font-weight: 400;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.guestRemove:hover{
  background: rgba(180,70,70,.14);
  border-color: rgba(180,70,70,.55);
  color: rgba(140,30,30,.95);
}

.row1 .fieldLabel{
  margin-bottom: 6px;
}

.addGuestBtn{
  margin-bottom: 10px;
}

/* Autocomplete */
/* .addressField{ position: relative; }

.autocomplete{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  display: none;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 50px rgba(0,0,0,.10);
}

.autocomplete.is-open{ display: block; }

.autocomplete button{
  width: 100%;
  text-align: left;
  padding: 12px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: rgba(20,20,20,.88);
}

.autocomplete button:hover{
  background: rgba(46,125,112,.08);
} */

/* Submit row */
.actions{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}

.fineprint{
  font-family: var(--serif);
  font-style: italic;
  color: #4a6580;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px){
  .heroGrid{grid-template-columns: 1fr; }
  .photo{height: 280px;}
  nav{display:none;}
  /* Hide frame lines on mobile — too tight */
  canvas.frame-line { display: none !important; }
}

/* Mobile layout + framing + typography */
@media (max-width: 720px){

  /* Layout */
  .grid2{ grid-template-columns: 1fr; }
  .row2{ grid-template-columns: 1fr; }
  .event{ grid-template-columns: 90px 1fr; }

  /* Card spacing + centering */
  section{
    padding-left: 8px;
    padding-right: 8px;
  }

  .card,
  .heroCard{
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: calc(100% - 16px);
    padding: 18px 16px;
  }

  .heroLeft{
    padding: 24px 20px 22px;
  }

  /* Typography */
  body{ font-size: 15px; }

  h1{
    font-size: clamp(32px, 7vw, 40px);
    line-height: 1.08;
    margin-bottom: 10px;
  }

  .card h2{
    font-size: 24px;
    line-height: 1.15;
  }

  .lead{
    font-size: 15px;
    line-height: 1.7;
  }

  .card p,
  .li span,
  .event p{
    font-size: 14px;
    line-height: 1.65;
  }

  .metaItem{
    font-size: 12px;
    padding: .45rem .7rem;
  }
}

/* --- RSVP comfort spacing (merged, no duplication elsewhere) --- */
/* Uses #rsvp to avoid changing other cards/forms */
#rsvp { scroll-margin-top: 110px; }

#rsvp .card h2 {
  font-family: var(--serif);
  color: #1a2e4a;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: 6px;
}
#rsvp .card > p {
  font-family: var(--serif);
  font-style: italic;
  color: #4a6580;
  font-size: 16px;
  margin-bottom: 4px;
}

#gift .card,
#contacts .card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
#gift .card h2,
#contacts .card h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  color: #1a2e4a;
  letter-spacing: .01em;
}
#gift .card p,
#contacts .card p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: #4a6580;
  line-height: 1.75;
}
#contacts .list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 18px !important;
}
#contacts .list strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: #1a2e4a;
  margin-bottom: 4px;
}
#contacts .list a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: #4a6580;
  border-bottom: 1px solid rgba(107,155,184,.30);
  transition: color .15s ease, border-color .15s ease;
}
#contacts .list a:hover {
  color: #1a2e4a;
  border-bottom-color: #6b9bb8;
}
.gift-account {
  display: block;
  margin-top: 20px !important;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: #1a2e4a;
  letter-spacing: .06em;
  border: none;
  background: transparent;
  padding: 0;
}

#rsvpForm { scroll-margin-top: 110px; }

#rsvp .card{
  padding: 44px 52px;
}

#rsvp .row1{ margin-top: 22px; }
#rsvp .row2{ gap: 18px; margin-top: 22px; }

#rsvp label > span,
#rsvp .fieldLabel{
  margin-bottom: 10px;
  line-height: 1.25;
}

#rsvp .hint{
  margin-top: 10px;
  line-height: 1.55;
}

#rsvp input,
#rsvp select,
#rsvp textarea{
  padding: 10px 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(107,155,184,.35);
  background: transparent;
  line-height: 1.35;
}

#rsvp textarea{
  min-height: 140px;
}

#rsvp .toggle{ gap: 12px; }
#rsvp .toggleBtn{ padding: 12px 14px; }

#rsvp .guestsHead{ align-items: center; }
#rsvp .guestsList{ margin-top: 14px; gap: 14px; }
#rsvp .guestRow{
  padding: 14px;
  gap: 12px;
}

#rsvp .guestRemove{ padding: 12px 14px; }

#rsvp .autocomplete button{ padding: 13px 14px; }

/* Ensure card content sits above frame lines */
.card > *:not(.frame-line),
.heroLeft > *:not(.frame-line),
.heroRight > *:not(.frame-line){
  position: relative;
  z-index: 11;
}

/* ── Watercolour line frames (injected by frames.js) ── */

/* Frame lines — all positioning handled by frames.js */
.frame-line {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  display: block;
  mix-blend-mode: multiply;
  object-fit: fill;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* RSVP mobile refinements */
@media (max-width: 720px){
  #rsvp .card{
    padding: 22px 16px; /* overrides the generic mobile card padding */
  }

  #rsvp .row1{ margin-top: 18px; }
  #rsvp .row2{ gap: 14px; margin-top: 18px; }

  #rsvp input,
  #rsvp select,
  #rsvp textarea{
    padding: 13px 12px;
    border-radius: 14px;
  }

  #rsvp .guestRow{
    padding: 12px;
  }
}
