/* ============================================================
   COLTON & ASHLYN — shared styles for every page
   ------------------------------------------------------------
   This one file styles all 7 pages. Change something here and
   it updates everywhere at once.
   ============================================================ */

/* ============================================================
   PALETTE
   ============================================================ */
:root {
  /* --------------------------------------------------------
     The palette is built around the light blue below.
     Every blue here sits on the same hue (~212°) so they
     read as one family. Change --blue-light and the whole
     site shifts with it.
     -------------------------------------------------------- */
  --blue-light:  #cee0f4;   /* the signature light blue */
  --blue-wash:   #e9f1fa;   /* palest tint — alternating section bands */
  --blue-soft:   #a8c6e2;   /* mid tone — borders, timeline, photo frames */
  --blue-mid:    #2c577d;   /* hover states */
  --blue-deep:   #1c3a56;   /* headings, links, buttons — the readable-text navy */

  /* The feature band ("Good to Know") and the footer.
     These are a SURFACE color and the text that sits on it, kept
     separate from --blue-deep so headings elsewhere stay dark. */
  --band:        #84a1c4;
  --on-band:     #faf7f1;

  --ivory:       #faf7f0;
  --gold:        #a9854a;   /* decorative — rules, icons, borders, the big ampersand */
  --gold-deep:   #856433;   /* same gold, darkened for small text so it stays legible */
  --gold-light:  #cfae72;   /* currently unused — kept in case you go back to a dark band */
  --ink:         #212a33;
  --muted:       #55636f;
  --paper:       #fffdf8;

  --shadow-sm: 0 1px 2px rgba(28,58,86,.05), 0 4px 14px rgba(28,58,86,.05);
  --shadow-md: 0 2px 4px rgba(28,58,86,.05), 0 14px 40px rgba(28,58,86,.08);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Height of the fixed nav bar. Anything that has to sit clear of the nav
     measures from this. Update it if you change the nav's padding or font size. */
  --nav-h: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 4px); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.06rem);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.75;
  overflow-x: hidden;
}

/* Barely-there paper grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--blue-deep);
  line-height: 1.15;
}

a { color: var(--blue-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

/* height:auto is load-bearing. The <img> tags carry width/height attributes so
   the browser can reserve space before the photo downloads, but those attributes
   act as presentational hints — without this, every photo is locked to a literal
   1500px-tall box and the aspect-ratio rules below are ignored entirely. */
img { max-width: 100%; height: auto; display: block; }

/* Anything still needing your input is wrapped in .tbd —
   search each .html page for "tbd" to find them */
.tbd {
  background: rgba(28, 58, 86, .10);
  border-bottom: 1px dashed var(--blue-deep);
  padding: 0 .25em;
  font-style: italic;
  color: var(--blue-deep);
}

/* ============================================================
   SCROLL REVEAL  (only applies when JS is running)
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.nav.is-stuck {
  background: rgba(250, 247, 240, .93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(28,58,86,.09);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.monogram {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: .14em;
  color: var(--blue-deep);
  text-decoration: none;
  white-space: nowrap;
}
.monogram em { font-style: italic; color: var(--gold); }

.nav-links { display: flex; gap: 1.6rem; }
.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  padding: .3rem 0;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* The page you're currently on stays underlined */
.nav-links a[aria-current="page"] { color: var(--blue-deep); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(28,58,86,.2);
  border-radius: 3px;
  padding: .5rem .65rem;
  cursor: pointer;
  color: var(--blue-deep);
}
.nav-toggle svg { width: 20px; height: 20px; display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(250, 247, 240, .98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(28,58,86,.08);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
  }
  .nav-links.is-open { max-height: 80vh; }
  .nav-links a {
    padding: .95rem 1.5rem;
    border-bottom: 1px solid rgba(28,58,86,.06);
    font-size: .78rem;
  }
  .nav-links a::after { display: none; }
  /* No underline available on mobile, so mark the current page with color */
  .nav-links a[aria-current="page"] { color: var(--gold-deep); }
}

/* ============================================================
   HERO  (home page only)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  text-align: center;
  padding: clamp(5.5rem, 14vh, 7rem) 1.5rem clamp(3.5rem, 10vh, 5rem);
  background:
    radial-gradient(ellipse 95% 65% at 50% -12%, rgba(206,224,244,.95), rgba(206,224,244,.35) 45%, transparent 72%),
    radial-gradient(ellipse 60% 45% at 50% 110%, rgba(169,133,74,.13), transparent 70%),
    var(--ivory);
}
/* Thin inner frame around the whole hero.
   The top inset clears the fixed nav — a uniform inset caps at 30px, which
   put the line straight through the monogram and the menu links on wide
   screens. Sides and bottom keep the original spacing. */
.hero::after {
  content: "";
  position: absolute;
  top: calc(var(--nav-h) + 0.9rem);
  right: clamp(14px, 2.4vw, 30px);
  bottom: clamp(14px, 2.4vw, 30px);
  left: clamp(14px, 2.4vw, 30px);
  border: 1px solid rgba(169,133,74,.38);
  pointer-events: none;
}

/* margin:auto (not align-items:center) so the hero can never clip its own
   top edge on short screens once the countdown appears */
.hero-inner { position: relative; z-index: 2; max-width: 760px; width: 100%; margin: auto; }

.eyebrow {
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 2rem;
}

.names {
  font-size: clamp(3rem, 11vw, 6.5rem);
  font-weight: 300;
  letter-spacing: .01em;
  line-height: .98;
}
.names .amp {
  display: block;
  font-style: italic;
  font-size: .32em;
  color: var(--gold);
  margin: .28em 0;
  font-weight: 300;
}

.hero-rule {
  width: 100%;
  max-width: 340px;
  margin: 2.4rem auto 1.6rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  color: var(--gold);
}
.hero-rule::before, .hero-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.hero-rule svg { width: 20px; height: 20px; flex: none; }

.hero-date {
  font-size: clamp(.86rem, 2.4vw, 1rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--blue-deep);
}
.hero-place {
  margin-top: .7rem;
  font-size: .84rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Countdown — appears automatically once WEDDING_DATE is set in script.js */
.countdown {
  display: none;
  gap: clamp(1.2rem, 5vw, 2.8rem);
  justify-content: center;
  margin-top: 2.6rem;
}
.countdown.is-on { display: flex; }
.count-unit { min-width: 62px; }
.count-num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: var(--blue-deep);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.count-label {
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .5rem;
}

.hero-cta { margin-top: 2.8rem; }

.scroll-hint {
  position: absolute;
  bottom: clamp(34px, 5vw, 54px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: .62rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
.scroll-hint::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: drop 2.4s ease-in-out infinite;
}
@keyframes drop { 0%,100% { opacity: .35; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); transform-origin: top; } }

/* On short screens there isn't room for the scroll cue without crowding the names */
@media (max-height: 720px) { .scroll-hint { display: none; } }

/* ============================================================
   PAGE HEADER  (every page except home)
   ============================================================ */
.page-header {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(8rem, 17vh, 10.5rem) 1.5rem clamp(2.8rem, 6vw, 4rem);
  background:
    radial-gradient(ellipse 110% 90% at 50% -25%, rgba(206,224,244,.92), rgba(206,224,244,.28) 55%, transparent 80%),
    var(--ivory);
}
.page-header .eyebrow { margin-bottom: 1.1rem; }
.page-header h1 {
  font-size: clamp(2.3rem, 6.5vw, 3.7rem);
  font-weight: 300;
}
.page-header .lead { margin-top: 1.4rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: .95rem 2.4rem;
  border: 1px solid var(--blue-deep);
  background: transparent;
  color: var(--blue-deep);
  text-decoration: none;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.btn:hover, .btn:focus-visible { background: var(--blue-deep); color: var(--ivory); }

.btn-solid { background: var(--blue-deep); color: var(--ivory); }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--blue-mid); border-color: var(--blue-mid); color: var(--ivory); }

/* For use on the --band blue. Filled rather than outlined: an ivory
   outline label on that blue reads at only 2.5:1, and a button label is
   small uppercase text that needs to be legible. Filled puts it at 11:1. */
.btn-light {
  background: var(--on-band);
  border-color: var(--on-band);
  color: var(--blue-deep);
}
.btn-light:hover, .btn-light:focus-visible {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--on-band);
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 7.5rem) 1.5rem;
}
/* Sections that sit directly under a .page-header need less air on top */
.section-top { padding-top: clamp(2.5rem, 5vw, 3.5rem); }

.section-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-num {
  display: block;
  font-size: .66rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.section-head h2 {
  font-size: clamp(2.1rem, 5.5vw, 3.2rem);
  font-weight: 300;
}
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  margin: 1.4rem auto 0;
  max-width: 190px;
  color: var(--gold);
}
.ornament::before, .ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: .45;
}
.ornament svg { width: 17px; height: 17px; flex: none; }

.lead {
  text-align: center;
  max-width: 620px;
  margin: 1.6rem auto 0;
  color: var(--muted);
  font-size: 1.03rem;
}

/* Alternating band background */
.band { background: var(--blue-wash); position: relative; z-index: 2; }

/* Still called "band-dark" for historical reasons — it's now the lighter
   feature blue (--band). Everything on it is ivory (--on-band); gold accents
   were dropped here because gold on this blue reads at only 1.26:1. */
.band-dark {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(250,247,241,.10), transparent 70%),
    var(--band);
  position: relative;
  z-index: 2;
}
.band-dark h2, .band-dark h3 { color: var(--on-band); }
.band-dark .lead, .band-dark p { color: var(--on-band); }
.band-dark .section-num, .band-dark .ornament { color: var(--on-band); }
/* :not(.btn) so this doesn't outrank .btn-light and paint the button
   label the same ivory as its own fill */
.band-dark a:not(.btn) { color: var(--on-band); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   HOME — the buttons through to every other page
   ============================================================ */
/* 260px minimum forces a balanced 3 / 3 on desktop rather than a
   lopsided 4 / 2, then steps down to 2 and 1 on smaller screens */
.home-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
  margin-top: 1rem;
}
.home-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .55rem;
  background: var(--paper);
  border: 1px solid rgba(28,58,86,.12);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.25rem;
  text-decoration: none;
  color: var(--blue-deep);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
}
.home-link:hover, .home-link:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
  background: var(--blue-wash);
}
.home-link svg { width: 27px; height: 27px; color: var(--gold); stroke-width: 1.1; }
.home-link .hl-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.2;
}
.home-link .hl-note {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ============================================================
   BACK TO HOME  (bottom of every page except home)
   ------------------------------------------------------------
   Lives INSIDE the last section of each page so it shares that
   section's background — no separate strip above the footer.
   The link uses .btn on light sections, .btn-light on the blue
   band. This rule only centers it.
   ============================================================ */
.page-back {
  text-align: center;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

/* ============================================================
   STORY
   ============================================================ */
/* The long-form "how we met" narrative. Left-aligned at a ~62ch
   measure — centered text is fine for a sentence or two but painful
   to read at several paragraphs. */
.story-prose {
  max-width: 62ch;
  margin: 0 auto;
}
.story-prose p { margin-bottom: 1.15rem; }
.story-prose p:last-child { margin-bottom: 0; }
/* Opening paragraph sits up slightly, the way a magazine lede does */
.story-prose p:first-child {
  font-size: 1.1rem;
  line-height: 1.7;
}
.story-prose .signoff {
  margin-top: 1.9rem;
  text-align: right;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-deep);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: 3rem;
}
.story-card {
  background: var(--paper);
  border: 1px solid rgba(28,58,86,.09);
  box-shadow: var(--shadow-sm);
  padding: 1.4rem 1.4rem 1.9rem;
  transition: transform .4s ease, box-shadow .4s ease;
}
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.story-card h3 { font-size: 1.45rem; margin: 1.4rem 0 .5rem; }
.story-card p { color: var(--muted); font-size: .98rem; }

/* ------------------------------------------------------------
   PHOTOS
   Every engagement photo is portrait, so the containers below are
   portrait too. object-fit: cover crops to fill; nudge which part
   survives the crop with an inline object-position on the <img>,
   e.g. style="object-position: center 35%" pulls the crop upward.
   ------------------------------------------------------------ */
.story-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

/* A single photo used to warm up an otherwise text-only page */
.feature-photo {
  max-width: 430px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
}
.feature-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(28,58,86,.09);
  box-shadow: var(--shadow-sm);
}
.feature-photo figcaption {
  text-align: center;
  margin-top: .85rem;
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Full-bleed band of three portraits. A single wide banner doesn't work
   here — cropping a 2:3 portrait to a letterbox throws away the subject
   and leaves mostly sky — so the strip keeps the photos upright instead. */
.photo-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--blue-wash);
}
.photo-strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

/* Drop a real photo in by replacing the .photo-slot div with:
   <img src="photos/your-photo.jpg" alt="Colton and Ashlyn"> */
.photo-slot {
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--blue-soft);
  background:
    repeating-linear-gradient(45deg, rgba(168,198,226,.07) 0 10px, transparent 10px 20px),
    rgba(168,198,226,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 1rem;
}

/* ============================================================
   DETAIL CARDS  (ceremony / reception / etc.)
   ============================================================ */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.detail-card {
  background: var(--paper);
  border: 1px solid rgba(28,58,86,.09);
  box-shadow: var(--shadow-sm);
  padding: 2.4rem 1.75rem;
  text-align: center;
}
.detail-icon { color: var(--gold); margin-bottom: 1rem; }
.detail-icon svg { width: 30px; height: 30px; margin: 0 auto; stroke-width: 1.1; }
.detail-card h3 { font-size: 1.55rem; margin-bottom: .2rem; }
.detail-card .kicker {
  font-size: .64rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .9rem;
}
.detail-card p { font-size: .96rem; color: var(--muted); }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  max-width: 560px;
  margin: 3.5rem auto 0;
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 4px; top: .55rem; bottom: .55rem;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--blue-soft) 12%, var(--blue-soft) 88%, transparent);
}
.tl-item { position: relative; padding-bottom: 1.9rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: .55rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--gold);
}
.tl-time {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--gold-deep);
  letter-spacing: .04em;
}
.tl-title { font-size: 1.02rem; color: var(--ink); font-weight: 400; }
.tl-note { font-size: .9rem; color: var(--muted); }

/* ============================================================
   RULES / GOOD TO KNOW
   ============================================================ */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1.25rem, 3vw, 1.9rem);
}
/* Card surfaces are pushed a little stronger than they were on navy —
   low-alpha white barely registers against the lighter band */
.rule {
  background: rgba(250,247,241,.14);
  border: 1px solid rgba(250,247,241,.32);
  padding: 2rem 1.75rem;
  transition: border-color .35s ease, background .35s ease;
}
.rule:hover { border-color: rgba(250,247,241,.7); background: rgba(250,247,241,.2); }
.rule-icon { color: var(--on-band); margin-bottom: 1.1rem; }
.rule-icon svg { width: 28px; height: 28px; stroke-width: 1.1; }
.rule h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.rule p { font-size: .95rem; line-height: 1.7; }
/* Italic rather than a second color — there's no accent hue that
   holds up against this blue */
.rule .emphasis { color: var(--on-band); font-style: italic; font-weight: 400; }

.rule-wide { grid-column: 1 / -1; }
.dress-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 1.4rem;
}
.dress-col {
  border-top: 1px solid rgba(250,247,241,.45);
  padding-top: 1.1rem;
}
.dress-col h4 {
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--on-band);
  font-family: var(--sans);
  font-weight: 400;
  margin-bottom: .55rem;
}
.dress-col p { font-size: .95rem; }
.no-jeans {
  margin-top: 1.6rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--on-band);
}

/* ============================================================
   RSVP
   ============================================================ */
.rsvp-note {
  max-width: 640px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid rgba(28,58,86,.1);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  text-align: left;
}
.rsvp-note svg { width: 26px; height: 26px; flex: none; color: var(--gold); stroke-width: 1.1; margin-top: .2rem; }
.rsvp-note h3 { font-size: 1.3rem; margin-bottom: .25rem; }
.rsvp-note p { font-size: .95rem; color: var(--muted); }

.form-wrap { max-width: 760px; margin: 3rem auto 0; }
.form-wrap iframe {
  width: 100%;
  border: 1px solid rgba(28,58,86,.12);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  display: block;
}
/* The form runs ~130px taller on narrow screens because the questions wrap.
   Without this, the last question and the Submit button end up inside a
   second scrollbar on phones — where most guests will actually RSVP. */
@media (max-width: 600px) {
  .form-wrap iframe { height: 1680px; }
}
/* Shown until you paste your form URL into script.js */
.form-placeholder {
  border: 1px dashed var(--blue-soft);
  background: rgba(168,198,226,.08);
  padding: 3.2rem 1.75rem;
  text-align: center;
}
.form-placeholder h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.form-placeholder p { color: var(--muted); font-size: .95rem; max-width: 460px; margin: 0 auto; }
.form-placeholder code {
  display: inline-block;
  margin-top: 1rem;
  font-size: .78rem;
  background: rgba(28,58,86,.07);
  padding: .35rem .6rem;
  word-break: break-all;
}

.rsvp-fallback { text-align: center; margin-top: 1.5rem; font-size: .9rem; color: var(--muted); }

/* ============================================================
   REGISTRY
   ============================================================ */
.registry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.registry-card {
  background: var(--paper);
  border: 1px solid rgba(28,58,86,.09);
  box-shadow: var(--shadow-sm);
  padding: 2.2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
a.registry-card:hover, a.registry-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.registry-card h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.registry-card p { font-size: .88rem; color: var(--muted); }
.registry-card[data-soon="true"] { opacity: .6; }

/* Icon above each registry name. These are neutral marks in the site's own
   line-icon style, not the retailers' trademarked logos — see SETUP.md if
   you'd rather drop the official ones in. */
.registry-icon { color: var(--gold); margin-bottom: 1rem; }
.registry-icon svg { width: 30px; height: 30px; margin: 0 auto; stroke-width: 1.1; }
.registry-go {
  display: inline-block;
  margin-top: 1rem;
  font-size: .66rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
a.registry-card:hover .registry-go, a.registry-card:focus-visible .registry-go { color: var(--blue-deep); }

/* ============================================================
   TRAVEL
   ============================================================ */
.travel-list { display: grid; gap: 1.25rem; }
.travel-item {
  background: var(--paper);
  border: 1px solid rgba(28,58,86,.09);
  border-left: 3px solid var(--blue-soft);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.5rem;
  align-items: baseline;
}
@media (max-width: 620px) { .travel-item { grid-template-columns: 1fr; gap: .4rem; } }
.travel-item h3 { font-size: 1.3rem; }
.travel-item p { color: var(--muted); font-size: .96rem; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}
.gallery .photo-slot { aspect-ratio: 3 / 4; }
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 720px; margin: 0 auto; }
details.faq {
  background: var(--paper);
  border: 1px solid rgba(28,58,86,.09);
  box-shadow: var(--shadow-sm);
  padding: 1.2rem 1.6rem;
  margin-bottom: .85rem;
}
details.faq summary {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--blue-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
  flex: none;
  transition: transform .3s ease;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin-top: .8rem; color: var(--muted); font-size: .97rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.5rem 3rem;
  background: var(--band);
  color: var(--on-band);
  font-size: .88rem;
  letter-spacing: .04em;
}
footer .monogram { color: var(--on-band); font-size: 2rem; display: block; margin-bottom: 1rem; }
footer .monogram em { color: var(--on-band); }
footer .foot-rule {
  width: 60px; height: 1px;
  background: var(--on-band);
  opacity: .65;
  margin: 1.6rem auto;
}
footer .foot-contact { font-size: .92rem; margin-bottom: .85rem; }
footer a { color: var(--on-band); text-decoration: underline; text-underline-offset: 3px; }
footer .fine { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(250,247,241,.85); }
