:root {
  --ivory: #FAF6F0;
  --ivory-deep: #F3ECE0;
  --champagne: #E8D9C0;
  --sage: #9DA88F;
  --sage-deep: #7E8D74;
  --blush: #D4B5A8;
  --gold: #B8956A;
  --ink: #3C3530;
  --muted: #6B5F55;
  --white: rgba(255,255,255,.55);
  --shadow: 0 24px 80px rgba(60,53,48,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.hidden { display: none !important; }
.script { font-family: 'Pinyon Script', cursive; }
.serif, h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; }
.paper {
  background:
    radial-gradient(circle at 80% 6%, rgba(232,217,192,.65), transparent 42%),
    radial-gradient(circle at 16% 90%, rgba(212,181,168,.35), transparent 36%),
    linear-gradient(180deg, var(--ivory) 0%, var(--ivory-deep) 100%);
}
.shaded {
  background:
    radial-gradient(circle at 5% 0%, rgba(157,168,143,.18), transparent 30%),
    linear-gradient(180deg, var(--ivory-deep), #EFE5D6);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 72px 24px;
  text-align: center;
}
.frame {
  position: absolute;
  pointer-events: none;
}
.frame.outer { inset: 7.5vw; border: 1px solid rgba(232,217,192,.95); }
.frame.inner { inset: calc(7.5vw + 18px); border: 1px solid rgba(184,149,106,.78); }
.ornament {
  position: absolute;
  width: 126px;
  height: 108px;
  z-index: 1;
}
.ornament path { fill: none; stroke: var(--gold); stroke-width: 1; }
.ornament circle { fill: var(--blush); opacity: .75; }
.ornament circle:nth-of-type(2) { fill: var(--sage); opacity: .8; }
.ornament circle:nth-of-type(3) { fill: var(--gold); opacity: .85; }
.ornament .ring { fill: none; stroke: var(--gold); stroke-width: 1; opacity: 1; }
.top-left { left: 8vw; top: 10vh; }
.top-right { right: 8vw; top: 10vh; transform: scaleX(-1); }
.bottom-left { left: 8vw; bottom: 10vh; transform: scaleY(-1); }
.bottom-right { right: 8vw; bottom: 10vh; transform: scale(-1); }
.hero-content { position: relative; z-index: 2; width: min(1120px, calc(100vw - 96px)); max-width: 1120px; overflow: visible; }
.eyebrow { margin: 0; font-size: clamp(3rem, 6vw, 6rem); color: var(--gold); }
.hero h1 {
  margin: 28px 0 0;
  overflow: visible;
  font-size: clamp(4.8rem, 12vw, 10rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: normal;
  overflow: visible !important;
}
.hero h1 .hero-ampersand {
  color: var(--gold);
  display: inline-block;
  font-family: 'Pinyon Script', cursive;
  padding: 0 .28em 0 .18em;
  line-height: 1.08;
  overflow: visible;
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: min(360px, 70vw);
  margin: 44px auto;
  color: var(--gold);
}
.divider i { height: 1px; flex: 1; background: rgba(184,149,106,.65); }
.divider b { width: 14px; height: 14px; transform: rotate(45deg); background: var(--gold); }
.date-line {
  margin: 0;
  color: var(--muted);
  font-size: clamp(.85rem, 2vw, 1.05rem);
  font-weight: 400;
  letter-spacing: .35em;
}
.venue-line {
  margin: 18px auto 0;
  max-width: min(760px, 86vw);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.7rem, 3.6vw, 2.45rem);
  font-style: italic;
  color: var(--sage-deep);
  overflow-wrap: normal;
  text-wrap: balance;
}
.venue-line a {
  color: inherit;
  text-decoration: none;
}
.hero-map-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 16px auto 0;
  max-width: min(620px, 86vw);
}
.hero-map-links a,
.map-links a {
  color: var(--gold);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(184,149,106,.42);
  padding-bottom: 4px;
}
.hero-map-links a:hover,
.map-links a:hover,
.address-link:hover {
  color: var(--sage-deep);
  border-color: var(--sage-deep);
}
.tap-link {
  display: inline-block;
  margin-top: 44px;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: .82rem;
  font-weight: 600;
}
.tap-link:hover { color: var(--sage-deep); }

.section { padding: 92px 24px; }
.wrap { width: min(1140px, 100%); margin: 0 auto; }
.wrap.narrow { width: min(980px, 100%); }
.section-script {
  margin: 0;
  text-align: center;
  color: var(--gold);
  font-size: clamp(3rem, 6vw, 5rem);
}
h2 {
  margin: 8px auto 0;
  max-width: 820px;
  text-align: center;
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: .96;
}
.section-subtitle {
  width: min(720px, 100%);
  margin: 24px auto 0;
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--muted);
}

.schedule-grid {
  margin-top: 56px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}
.schedule-card, .panel, .details-grid article, .invitation-card, .notes-panel article, .approved-card {
  border: 1px solid var(--champagne);
  background: rgba(250,246,240,.76);
  box-shadow: var(--shadow);
}
.schedule-card { padding: 30px; min-height: 100%; }
.card-script { margin: 0; color: var(--gold); font-size: 3.8rem; line-height: .9; }
.card-date {
  margin: 12px 0 0;
  color: var(--sage-deep);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
}
.card-note {
  margin: 10px 0 26px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #8C7F73;
  font-size: 1.25rem;
  font-style: italic;
}
.event-row { display: flex; gap: 14px; margin: 18px 0; }
.event-row .icon {
  width: 38px; height: 38px; flex: 0 0 38px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--ivory-deep);
  color: var(--gold);
  font-size: 1rem;
}
.event-row.highlight .icon { background: var(--gold); color: var(--ivory); }
.time {
  margin: 0;
  color: var(--gold);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
}
.event-row h3 { margin: -4px 0 0; font-weight: 400; font-size: 1.7rem; line-height: 1.05; }

.photo-layout, .guestbook-layout {
  margin-top: 56px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: start;
}
.panel { padding: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}
.form-grid label { margin-top: 0; }
input, select, textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--champagne);
  border-radius: 0;
  background: rgba(250,246,240,.86);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}
textarea { min-height: 92px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,149,106,.14); }
.drop-zone {
  display: flex;
  min-height: 230px;
  margin-top: 22px;
  padding: 34px 22px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border: 1px dashed var(--gold);
  background: rgba(243,236,224,.78);
  cursor: pointer;
}
.drop-zone input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.drop-icon { color: var(--gold); font-size: 2.6rem; line-height: 1; }
.drop-zone strong {
  display: block;
  margin-top: 12px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 400;
}
.drop-zone em { display: block; max-width: 420px; margin-top: 10px; color: var(--muted); font-size: .9rem; font-style: normal; line-height: 1.6; }
.drop-zone.dragging { background: rgba(232,217,192,.72); }
.preview-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.preview-tile { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--champagne); }
.preview-tile img, .preview-tile video { width: 100%; height: 100%; object-fit: cover; }
.preview-tile span { display: grid; place-items: center; height: 100%; padding: 8px; text-align: center; font-size: .75rem; color: var(--muted); }
.primary-btn, .outline-btn, .primary-link, .outline-link {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.primary-btn, .primary-link {
  width: 100%;
  margin-top: 22px;
  padding: 17px 18px;
  background: var(--gold);
  color: var(--ivory);
}
.primary-btn:hover, .primary-link:hover { background: #a68056; }
.outline-btn, .outline-link {
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  padding: 12px 16px;
}
.outline-btn:hover, .outline-link:hover { background: rgba(184,149,106,.10); }
.small-note { margin: 14px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }

.gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.gallery-head h3 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 400; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filter-row button {
  border: 1px solid var(--champagne);
  background: rgba(255,255,255,.42);
  color: var(--muted);
  padding: 8px 12px;
  cursor: pointer;
}
.filter-row button.active { border-color: var(--gold); color: var(--gold); background: rgba(184,149,106,.10); }
.approved-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.approved-card { overflow: hidden; box-shadow: none; }
.approved-card .photo-wrap { aspect-ratio: 1; background: var(--champagne); overflow: hidden; }
.approved-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.approved-card:hover img { transform: scale(1.04); }
.approved-card-body { padding: 12px; }
.approved-card-body .cat { margin: 0; color: var(--sage-deep); font-size: .65rem; letter-spacing: .22em; text-transform: uppercase; }
.approved-card-body h4 { margin: 5px 0 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.25rem; font-weight: 400; }
.approved-card-body a { display: inline-block; margin-top: 8px; color: var(--gold); font-size: .75rem; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .18em; }
.empty-gallery {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid var(--champagne);
  background: rgba(243,236,224,.6);
  padding: 28px;
}
.empty-gallery strong { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2rem; font-weight: 400; }

.notes-panel { min-height: 250px; }
.notes-panel article { padding: 22px; margin-bottom: 16px; box-shadow: none; }
.notes-panel .note-name { margin: 0; color: var(--gold); font-family: 'Pinyon Script', cursive; font-size: 2.6rem; line-height: 1; }
.notes-panel .note-text { margin: 12px 0 0; color: var(--muted); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.35rem; font-style: italic; line-height: 1.45; }
.notes-empty { padding: 34px; text-align: center; }

.details-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.details-grid article { padding: 26px; box-shadow: none; }
.details-grid span { color: var(--gold); font-size: 1.6rem; }
.details-grid h3 { margin: 18px 0 0; font-size: 2.2rem; font-weight: 400; }
.details-grid p { margin: 10px 0 0; color: var(--muted); line-height: 1.65; font-size: .95rem; }

.address-link {
  color: inherit;
  text-decoration: none;
}
.address-link:hover { color: var(--gold); }
.map-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}
.map-links a {
  color: var(--gold);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-decoration: none;
  text-transform: uppercase;
}
.map-links a:hover { color: var(--sage-deep); }
.guestbook-info-panel article { background: rgba(250,246,240,.76); }


.faq-block {
  margin-top: 46px;
  padding: 30px;
  border: 1px solid var(--champagne);
  background: rgba(250,246,240,.58);
  box-shadow: 0 18px 60px rgba(60,53,48,.06);
}
.faq-block h3 {
  margin: 4px 0 0;
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  font-weight: 300;
  line-height: 1;
  text-align: center;
}
.faq-intro {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--muted);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.45;
  text-align: center;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.faq-grid article {
  padding: 22px;
  border: 1px solid rgba(232,217,192,.85);
  background: rgba(255,255,255,.44);
  box-shadow: none;
}
.faq-grid h4 {
  margin: 0;
  color: var(--gold);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.08;
}
.faq-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.68;
}

.invitation-card {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 30px;
  align-items: center;
  padding: 28px;
}
.invitation-card img { width: 100%; border: 1px solid rgba(184,149,106,.35); }
.invitation-card h3 { margin: 4px 0 0; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 300; line-height: 1; }
.invitation-card p:not(.card-script) { margin: 16px 0 0; color: var(--muted); line-height: 1.75; }
.invitation-card .outline-link { margin-top: 22px; }

.footer { text-align: center; padding: 76px 24px 96px; }
.footer .script { margin: 0; color: var(--gold); font-size: clamp(3rem, 7vw, 5rem); }
.footer h2 { margin-top: 18px; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: .22em; text-transform: uppercase; }
.footer p:last-child { margin-top: 20px; color: #8C7F73; font-size: .78rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; }
.mobile-dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 50;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--champagne);
  border-radius: 999px;
  background: rgba(250,246,240,.94);
  box-shadow: 0 18px 48px rgba(60,53,48,.18);
  backdrop-filter: blur(10px);
}
.mobile-dock a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.25rem;
}
.mobile-dock .camera { width: 52px; height: 52px; background: var(--gold); color: var(--ivory); }
.success-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.success-card { width: min(620px, 100%); text-align: center; border: 1px solid var(--champagne); background: rgba(250,246,240,.75); padding: 50px 34px; box-shadow: var(--shadow); }
.success-card .script { margin: 0; color: var(--gold); font-size: 4rem; }
.success-card h1 { margin: 12px 0 0; font-size: clamp(3rem, 8vw, 5rem); font-weight: 300; line-height: .95; }
.success-card p { color: var(--muted); line-height: 1.7; }
.success-card .primary-link { width: auto; }

.reveal { animation: fadeUp .9s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  .schedule-grid, .photo-layout, .guestbook-layout, .details-grid, .invitation-card { grid-template-columns: 1fr; }
  .approved-gallery { grid-template-columns: repeat(2, 1fr); }
  .ornament { width: 86px; height: 74px; opacity: .75; }
  .top-left { left: 8vw; top: 8vh; }
  .top-right { right: 8vw; top: 8vh; }
  .bottom-left { left: 8vw; bottom: 8vh; }
  .bottom-right { right: 8vw; bottom: 8vh; }
}
@media (max-width: 640px) {
  .hero { min-height: 92vh; padding: 58px 46px 80px; }
  .frame.outer { inset: 20px; }
  .frame.inner { inset: 34px; }
  .ornament { display: none; }
  .hero-content { width: 100%; max-width: calc(100vw - 104px); overflow: visible; }
  .eyebrow { font-size: clamp(2.7rem, 13vw, 4.4rem); }
  .hero h1 { font-size: clamp(3.38rem, 14.6vw, 5.05rem); line-height: .94; overflow: visible; }
  .hero h1 .hero-ampersand { padding-left: .16em; padding-right: .34em; line-height: 1.12; }
  .divider { width: min(280px, 62vw); margin: 34px auto; gap: 18px; }
  .date-line { letter-spacing: .14em; line-height: 1.75; font-size: .78rem; }
  .venue-line { max-width: calc(100vw - 132px); margin-left: auto; margin-right: auto; font-size: clamp(1.02rem, 4.6vw, 1.28rem); line-height: 1.28; }
  .hero-map-links { max-width: calc(100vw - 132px); gap: 9px 14px; margin-top: 13px; }
  .hero-map-links a { font-size: .62rem; letter-spacing: .12em; }
  .tap-link { margin-top: 34px; letter-spacing: .18em; }
  .section { padding: 72px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery-head { align-items: flex-start; flex-direction: column; }
  .approved-gallery, .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .panel, .schedule-card, .invitation-card { padding: 22px; }
  .mobile-dock { bottom: 10px; }
}

/* Google Photos simplified sharing section */
.simple-photo-layout {
  grid-template-columns: .95fr 1.05fr;
}
.photo-invite-panel h3,
.photo-action-panel h3 {
  margin: 8px 0 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: .98;
}
.photo-invite-panel p:not(.card-script),
.photo-action-panel p:not(.small-note) {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.75;
}
.privacy-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--sage-deep);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.photo-action-panel {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(232,217,192,.78), transparent 48%),
    rgba(250,246,240,.84);
}
.album-mark {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: 2.1rem;
}
.album-button {
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 390px) {
  .hero { padding-left: 46px; padding-right: 46px; }
  .frame.outer { inset: 18px; }
  .frame.inner { inset: 32px; }
  .hero-content { max-width: calc(100vw - 112px); overflow: visible; }
  .hero h1 { font-size: clamp(2.92rem, 13.9vw, 4.2rem); overflow: visible; }
  .hero h1 .hero-ampersand { padding-left: .14em; padding-right: .38em; }
  .venue-line { max-width: calc(100vw - 140px); font-size: .98rem; line-height: 1.3; }
  .hero-map-links { max-width: calc(100vw - 140px); }
}


/* Venue map links */
.address-link {
  color: inherit;
  text-decoration: none;
}
.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
}


/* Final true-visible ampersand fix */
.hero,
.hero-content,
.hero-title {
  overflow: visible !important;
}

.hero-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.06em;
  text-align: center;
  letter-spacing: normal !important;
}

.hero-title .hero-name {
  display: inline-block !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  color: #3C3530 !important;
  font-style: normal !important;
  font-weight: 300 !important;
  line-height: .94 !important;
  overflow: visible !important;
}

.hero-title .hero-ampersand {
  display: inline-block !important;
  font-family: 'Pinyon Script', cursive !important;
  color: #B8956A !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 1.18em !important;
  line-height: 1.22 !important;
  min-width: 1.22em !important;
  padding-left: 18px !important;
  padding-right: 46px !important;
  margin-left: 0 !important;
  margin-right: -18px !important;
  overflow: visible !important;
  white-space: nowrap !important;
  vertical-align: baseline !important;
  transform: none !important;
  text-align: center !important;
}

@media (max-width: 640px) {
  .hero-title {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-items: center !important;
    gap: 0 !important;
    line-height: .92 !important;
    overflow: visible !important;
  }

  .hero-title .hero-name-first {
    grid-row: 1;
  }

  .hero-title .hero-ampersand {
    grid-row: 2;
    display: block !important;
    width: max-content !important;
    min-width: 2.2em !important;
    max-width: none !important;
    font-size: 1.32em !important;
    line-height: 1.05 !important;
    padding-left: 36px !important;
    padding-right: 64px !important;
    margin-left: 0 !important;
    margin-right: -28px !important;
    margin-top: -0.08em !important;
    margin-bottom: -0.12em !important;
    overflow: visible !important;
    transform: translateX(0.04em) !important;
    contain: none !important;
    clip-path: none !important;
  }

  .hero-title .hero-name-last {
    grid-row: 3;
  }
}

@media (max-width: 390px) {
  .hero-title .hero-ampersand {
    font-size: 1.26em !important;
    min-width: 2.35em !important;
    padding-left: 38px !important;
    padding-right: 70px !important;
    margin-right: -32px !important;
    margin-top: -0.1em !important;
    margin-bottom: -0.14em !important;
  }
}


/* Final mobile-safe ampersand fix: small non-script serif character only */
.hero,
.hero-content,
.hero-title,
.hero-title .hero-name,
.hero-title .hero-ampersand {
  overflow: visible !important;
}

.hero-title {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 0.10em !important;
  text-align: center !important;
  letter-spacing: normal !important;
}

.hero-title .hero-name {
  display: inline-block !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  color: #3C3530 !important;
  font-style: normal !important;
  font-weight: 300 !important;
  line-height: .94 !important;
}

.hero-title .hero-ampersand,
.hero h1 .hero-ampersand {
  display: inline-block !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  color: #B8956A !important;
  font-size: 0.42em !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  padding: 0 0.20em !important;
  margin: 0 !important;
  min-width: 1em !important;
  width: auto !important;
  white-space: nowrap !important;
  vertical-align: baseline !important;
  transform: none !important;
  clip-path: none !important;
  contain: none !important;
  text-align: center !important;
}

@media (max-width: 640px) {
  .hero-title {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-items: center !important;
    row-gap: 0.06em !important;
    line-height: .92 !important;
    letter-spacing: normal !important;
  }

  .hero-title .hero-name-first { grid-row: 1; }
  .hero-title .hero-name-last { grid-row: 3; }

  .hero-title .hero-ampersand,
  .hero h1 .hero-ampersand {
    grid-row: 2;
    display: block !important;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(1.15rem, 5vw, 1.65rem) !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0.02em 0 !important;
    min-width: 1.2em !important;
    color: #B8956A !important;
    overflow: visible !important;
  }
}

@media (max-width: 390px) {
  .hero-title .hero-ampersand,
  .hero h1 .hero-ampersand {
    font-size: 1.18rem !important;
    line-height: 1 !important;
    margin: 0.01em 0 !important;
  }
}


/* Mobile fix for Upload Photos / Live Gallery section
   Prevents the two-column desktop grid from squeezing off-screen on phones. */
@media (max-width: 980px) {
  #photos,
  #photos .wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  #photos .photo-layout,
  #photos .simple-photo-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 24px !important;
    box-sizing: border-box !important;
  }

  #photos .photo-layout > *,
  #photos .simple-photo-layout > *,
  #photos .photo-invite-panel,
  #photos .photo-action-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  #photos .photo-invite-panel h3,
  #photos .photo-action-panel h3 {
    font-size: clamp(2.15rem, 11vw, 3.1rem) !important;
    line-height: 1.02 !important;
    max-width: 100% !important;
  }

  #photos .photo-invite-panel p,
  #photos .photo-action-panel p,
  #photos .privacy-list {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  #photos .album-button,
  #photos .primary-btn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: center !important;
  }
}

@media (max-width: 640px) {
  #photos.section {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  #photos .panel,
  #photos .photo-invite-panel,
  #photos .photo-action-panel {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 390px) {
  #photos.section {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  #photos .panel,
  #photos .photo-invite-panel,
  #photos .photo-action-panel {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  #photos .privacy-list {
    letter-spacing: 0.04em !important;
  }
}


/* Definitive mobile photo-section layout fix.
   This appears at the end of the stylesheet so it wins over the desktop grid. */
@media (max-width: 900px) {
  #photos .photo-layout.simple-photo-layout,
  #photos .photo-layout,
  #photos .simple-photo-layout {
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  #photos .photo-layout.simple-photo-layout > .panel,
  #photos .photo-layout > .panel,
  #photos .photo-invite-panel,
  #photos .photo-action-panel {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  #photos .photo-action-panel {
    margin-top: 24px !important;
  }
}


/* Mobile FAQ / guest questions section */
@media (max-width: 760px) {
  .faq-block {
    margin-top: 34px;
    padding: 22px 18px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .faq-grid article {
    padding: 18px;
  }
  .faq-grid h4 {
    font-size: 1.45rem;
  }
  .faq-grid p {
    font-size: .92rem;
    line-height: 1.62;
  }
}
