  :root {
    --paper: #F8F5EF;
    --burgundy: #1A2B4A;
    --burg: #162440;
    --burg-deep: #0D1826;
    --gold: #B8933A;
    --gold-text: #8C6C20;
    --gold-light: #D4AE5A;

    --bg: #FAFAF7;
    --bg-alt: #EEF0F5;
    --ink: #0F1D35;
    --muted: #4A5D78;
    --head: #1A2B4A;
    --accent: #243A5E;
    --line: rgba(184, 147, 58, .3);
    --focus: #1A2B4A;
    --btn-bg: #1A2B4A;
    --btn-fg: #F8F5EF;
    --nav-bg: #F8F5EF;
    --nav-fg: #1A2B4A;

    --script: 'Great Vibes', 'Snell Roundhand', 'Apple Chancery', cursive;
    --serif: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
    --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0A1220; --bg-alt: #111E30; --ink: #EAE8E0; --muted: #8AA0BE;
      --head: #D4AE5A; --accent: #C49A3A; --line: rgba(212,174,90,.28); --focus: #D4AE5A;
      --btn-bg: #D4AE5A; --btn-fg: #0D1826; --nav-bg: #0A1220; --nav-fg: #EAE8E0;
    }
  }
  :root[data-theme="dark"] {
    --bg: #0A1220; --bg-alt: #111E30; --ink: #EAE8E0; --muted: #8AA0BE;
    --head: #D4AE5A; --accent: #C49A3A; --line: rgba(212,174,90,.28); --focus: #D4AE5A;
    --btn-bg: #D4AE5A; --btn-fg: #0D1826; --nav-bg: #0A1220; --nav-fg: #EAE8E0;
  }
  *, *::before, *::after { box-sizing: inherit; }
  html {
    background: linear-gradient(to bottom, var(--nav-bg) 0, var(--nav-bg) 50vh, var(--burg-deep) 50vh) no-repeat;
    scroll-behavior: smooth;
    scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 4rem);
  }
  body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; -webkit-text-size-adjust: 100%;
  }
  a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

  /* Navigation */
  .nav {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
    background: var(--nav-bg); color: var(--nav-fg); border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; height: 3.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  }
  .mark { font-family: var(--script); font-size: 1.7rem; line-height: 1; color: inherit; text-decoration: none; }
  .nav ul { display: flex; gap: .1rem; list-style: none; margin: 0 0 0 auto; padding: 0; }
  .nav .link {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 .55rem;
    color: inherit; text-decoration: none; font-size: .92rem; font-weight: 500;
  }
  .nav .link:hover { color: var(--accent); }
  @media (max-width: 26rem) { .mark { display: none; } }

  /* Hero: the invitation, always on paper */
  .hero {
    position: relative; isolation: isolate; overflow: hidden; color: #F5EDD8;
    background: linear-gradient(155deg, #0A1220 0%, #1A2B4A 55%, #0D1826 100%);
  }
  .hero::before {
    content: ""; position: absolute; inset: .8rem; z-index: 0; pointer-events: none;
    border: 1px solid rgba(212, 174, 90, .3);
  }
  .flora { position: absolute; z-index: 0; height: auto; pointer-events: none; user-select: none; }
  .flora.tl { top: 0; left: 0; width: clamp(6.5rem, 27vw, 14rem); }
  .flora.br { right: 0; bottom: 0; width: clamp(10rem, 46vw, 20rem); }
  .hero-inner {
    position: relative; z-index: 1; max-width: 46rem; margin: 0 auto; text-align: center;
    padding: clamp(8.5rem, 26vw, 7rem) 1.5rem clamp(7rem, 20vw, 9rem);
  }
  @media (min-width: 46rem) { .hero-inner { padding-top: 5.5rem; } }
  .with { margin: 0; font-family: var(--sans); font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
  .warm { margin: .35rem 0 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.25rem; letter-spacing: .04em; }
  .gold {
    color: var(--gold-text);
    background: linear-gradient(100deg, #8A6120 0%, #D2A84E 45%, #96691F 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  }
  .wedding {
    margin: 1.4rem 0 0; font-family: var(--serif); font-weight: 600; text-transform: uppercase;
    font-size: clamp(2.9rem, 13.5vw, 6rem); line-height: 1; letter-spacing: .05em; padding-left: .05em;
  }
  .of { display: flex; align-items: center; gap: 1rem; margin: .5rem auto 0; max-width: 22rem; font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 500; }
  .of::before, .of::after { content: ""; flex: 1; height: 1px; background: rgba(212, 174, 90, .45); }
  .names { position: relative; margin: .2rem 0 0; font-family: var(--script); font-weight: 400; font-size: clamp(4.5rem, 22vw, 9.6rem); line-height: .96; }
  .names .n {
    position: relative; z-index: 1; display: block; padding: .04em .14em .1em;
    color: #F5E8C4;
    background: linear-gradient(100deg, #E0C880 0%, #FAF0D0 50%, #C49A3A 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  }
  .amp-row { position: relative; display: flex; justify-content: center; align-items: center; min-height: clamp(3.4rem, 14vw, 5.2rem); }
  .amp { position: relative; z-index: 1; font-family: var(--script); font-size: clamp(3.2rem, 14vw, 5.6rem); line-height: 1; padding: 0 .15em; color: var(--gold-light); -webkit-text-fill-color: var(--gold-light); }
  .cupid {
    position: absolute; z-index: 0; right: -3%; top: 50%; transform: translateY(-42%);
    width: clamp(6.5rem, 30vw, 12rem); height: auto; pointer-events: none;
  }
  @media (min-width: 46rem) { .cupid { right: -14%; } }

  .orn { display: flex; align-items: center; justify-content: center; gap: .9rem; margin: 1.5rem auto; max-width: 20rem; color: var(--gold); }
  .orn::before, .orn::after { content: ""; flex: 1; height: 1px; background: rgba(212, 174, 90, .45); }
  .orn svg { width: 1.1rem; height: 1.1rem; }
  .tag { margin: 1.25rem auto 0; max-width: 24rem; font-size: .8rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; line-height: 1.8; }
  .day { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; letter-spacing: .5em; text-transform: uppercase; padding-left: .5em; }
  .date {
    margin: .1rem 0 0; font-family: var(--serif); font-weight: 700; text-transform: uppercase;
    font-size: clamp(1.9rem, 8.5vw, 3.4rem); line-height: 1.1; letter-spacing: .02em;
  }
  .trio { display: grid; grid-template-columns: repeat(3, 1fr); margin: 2rem auto 0; max-width: 40rem; }
  .trio > div { padding: .25rem .5rem; }
  .trio > div + div { border-left: 1px solid rgba(212, 174, 90, .3); }
  .trio svg { width: 2.6rem; height: 2.6rem; color: var(--gold); margin-bottom: .35rem; }
  .trio h2 { margin: 0; font-family: var(--serif); font-size: 1rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
  .trio p { margin: .1rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.3; }
  .join { margin: 2.25rem auto 0; max-width: 24rem; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1.9; }

  /* Sections */
  .section { padding: clamp(3.5rem, 9vw, 6rem) 1.25rem; }
  .wrap { max-width: 44rem; margin: 0 auto; }
  .section h2.title { font-family: var(--script); font-weight: 400; margin: 0 0 1rem; font-size: clamp(3rem, 11vw, 4.4rem); line-height: 1.05; color: var(--head); }
  .section h3.sub { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; margin: 3rem 0 1.25rem; color: var(--head); }
  .section p { margin: 0 0 1rem; max-width: 38rem; }
  .alt { background: var(--bg-alt); }
  .band {
    background: var(--burg); color: #FBF3EE;
    --head: #E9C98A; --muted: #DDBFC6; --line: rgba(233, 201, 138, .35);
    --accent: #E9C98A; --focus: #E9C98A; --btn-bg: #D9B66A; --btn-fg: #3A0C1A;
  }
  .lead { font-family: var(--serif); font-size: 1.45rem; line-height: 1.4; font-weight: 500; }
  .tbc { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--muted); }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.7rem;
    border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font: 600 1rem var(--sans);
    text-decoration: none; border: 0; cursor: pointer;
  }
  .btn:hover { filter: brightness(1.12); }
  .tl { color: var(--accent); font-weight: 600; text-underline-offset: .2em; }

  .days { display: flex; align-items: baseline; gap: .75rem; margin: 2rem 0; padding: 1.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .days b { font-family: var(--serif); font-weight: 700; font-size: clamp(3.4rem, 15vw, 5rem); line-height: 1; color: var(--head); font-variant-numeric: lining-nums; }
  .days span { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--muted); }
  .facts { margin: 2rem 0; border-top: 1px solid var(--line); }
  .facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .facts dt { color: var(--muted); }
  .facts dd { margin: 0; font-weight: 500; }
  .facts dd.pending { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.15rem; color: var(--muted); }

  .timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
  .timeline li { position: relative; display: grid; grid-template-columns: 5.25rem 1fr; gap: .1rem 1rem; padding: 0 0 1.6rem 1.5rem; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li::before { content: ""; position: absolute; left: -7px; top: .5rem; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
  .timeline time { font-weight: 600; font-variant-numeric: tabular-nums; }
  .timeline p { margin: 0; grid-column: 2; color: var(--muted); }

  .venue-name { font-family: var(--serif); font-weight: 600; font-size: 2rem; line-height: 1.15; margin: 0 0 .5rem; color: var(--head); }
  address { font-style: normal; margin: 0 0 1.5rem; font-size: 1.15rem; }

  .hotels { list-style: none; margin: 2rem 0 0; padding: 0; border-bottom: 1px solid var(--line); }
  .hotel { padding: 1.6rem 0; border-top: 1px solid var(--line); }
  .hotel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; }
  .hotel h3 { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; margin: 0; color: var(--head); }
  .dist { margin: 0; color: var(--muted); font-weight: 500; }
  .hotel p { margin: .4rem 0 0; }
  .hotel .meta { display: flex; flex-wrap: wrap; gap: .1rem 1.5rem; font-weight: 500; }
  .hotel .links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: .6rem; }
  .hotel .links a { display: inline-flex; align-items: center; min-height: 44px; }

  .ledger { margin: 2rem 0 1.5rem; border-bottom: 1px solid var(--line); }
  .row { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: center; padding: .9rem 0; border-top: 1px solid var(--line); }
  .row .k { grid-column: 1; color: var(--muted); font-size: .92rem; }
  .row .v { grid-column: 1; font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
  .row .copy {
    grid-column: 2; grid-row: 1 / span 2; min-height: 44px; min-width: 5.5rem; padding: 0 1rem; background: transparent;
    color: #FBF3EE; border: 1.5px solid #D9B66A; border-radius: 999px; font: 600 1rem var(--sans); cursor: pointer;
  }
  .row .copy:hover { background: #D9B66A; color: #3A0C1A; }
  .pay { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.5rem; }
  .small { color: var(--muted); font-size: .98rem; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 1.75rem; }
  .photo-grid .wide { grid-column: 1 / -1; }
  .photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; display: block; }
  .photo-grid .wide img { aspect-ratio: 16/9; }
  .photo-card { position: relative; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; }
  .photo-card.wide-card { aspect-ratio: 16/9; }
  .us-quote { margin: 1.75rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--muted); line-height: 1.6; text-align: center; }

  .foot { background: var(--burg-deep); color: #FBF3EE; padding: 3.5rem 1.25rem 3rem; text-align: center; }
  .foot .love { font-family: var(--script); font-size: clamp(3rem, 11vw, 4.2rem); line-height: 1; margin: 0 0 1rem; color: #E2BC72; }
  .foot .fn { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: .04em; }
  .foot .fd { margin: .1rem 0 1.5rem; color: #DDBFC6; }
  .foot .quote { margin: 0 auto; max-width: 20rem; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: #DDBFC6; line-height: 1.4; }

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