  :root {
    /* Boho neutral palette — pampas grass, wheat, dusty mauve, taupe */
    --cream: #faf5f1;        /* sitewide bg — exact monogram background color */
    --cream-deep: #ecdac8;   /* pale blush sand */
    --blush: #dcc0a0;        /* wheat / champagne */
    --rose: #c19a85;         /* dusty mauve-tan */
    --rose-deep: #9c7560;    /* deep warm taupe */
    --sage: #b8a087;         /* warm mushroom (replaces sage) */
    --sage-deep: #8a6f5a;    /* cocoa */
    --ink: #4a3a30;          /* warm dark brown */
    --gold: #c9a577;         /* champagne gold */
  }

  * { box-sizing: border-box; }

  html, body {
    margin: 0;
    padding: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  main {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 5vw, 3rem) 5rem;
  }

  .hearts {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }
  .hearts span {
    position: absolute;
    bottom: -40px;
    font-size: 14px;
    opacity: 0;
    animation: float 14s linear infinite;
    color: var(--rose);
  }
  .hearts span:nth-child(1) { left: 8%;  animation-delay: 0s;   font-size: 12px; }
  .hearts span:nth-child(2) { left: 22%; animation-delay: 2.5s; font-size: 16px; }
  .hearts span:nth-child(3) { left: 38%; animation-delay: 5s;   font-size: 11px; }
  .hearts span:nth-child(4) { left: 55%; animation-delay: 1.2s; font-size: 18px; }
  .hearts span:nth-child(5) { left: 70%; animation-delay: 7s;   font-size: 13px; }
  .hearts span:nth-child(6) { left: 84%; animation-delay: 3.8s; font-size: 15px; }
  .hearts span:nth-child(7) { left: 92%; animation-delay: 9s;   font-size: 12px; }

  @keyframes float {
    0%   { transform: translateY(0) rotate(0deg);   opacity: 0; }
    10%  { opacity: 0.6; }
    50%  { opacity: 0.5; }
    90%  { opacity: 0.3; }
    100% { transform: translateY(-110vh) rotate(20deg); opacity: 0; }
  }

  .reveal { opacity: 0; transform: translateY(14px); animation: rise 1.1s ease-out forwards; }
  .reveal-1 { animation-delay: 0.05s; }
  .reveal-2 { animation-delay: 0.25s; }
  .reveal-3 { animation-delay: 0.45s; }
  .reveal-4 { animation-delay: 0.65s; }
  .reveal-5 { animation-delay: 0.85s; }
  .reveal-6 { animation-delay: 1.05s; }

  @keyframes rise {
    to { opacity: 1; transform: translateY(0); }
  }

  .monogram {
    display: flex;
    justify-content: center;
    margin: 4rem auto 0.5rem;
  }
  .monogram img {
    width: clamp(220px, 38vw, 320px);
    height: auto;
    display: block;
    /* Page bg matches monogram cream (#FAF5F1) exactly — no blend tricks needed. */
  }

  .kicker {
    text-align: center;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--rose-deep);
    margin-bottom: 1.5rem;
  }
  .kicker::before, .kicker::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--rose);
    vertical-align: middle;
    margin: 0 0.85rem;
    opacity: 0.6;
  }

  h1.names {
    text-align: center;
    font-family: 'Italianno', cursive;
    font-weight: 400;
    font-size: clamp(4rem, 13vw, 8.5rem);
    line-height: 0.95;
    margin: 0 0 0.5rem;
    color: var(--ink);
  }
  h1.names .amp {
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.5em;
    color: var(--gold);
    margin: 0 0.15em;
    transform: translateY(-0.3em);
  }

  .tagline {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    color: var(--ink);
    opacity: 0.78;
    margin: 0 0 3.5rem;
  }

  .photo-frame {
    position: relative;
    width: min(420px, 78%);
    margin: 0 auto 4rem;
    aspect-ratio: 4 / 5;
    border-radius: 220px 220px 14px 14px;
    background:
      linear-gradient(160deg, var(--blush), var(--cream-deep));
    box-shadow:
      0 30px 60px -28px rgba(181, 106, 106, 0.35),
      0 1px 0 rgba(255, 255, 255, 0.6) inset;
    overflow: hidden;
    border: 1px solid rgba(201, 164, 92, 0.25);
  }
  .photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .photo-frame .placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--rose-deep);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    text-align: center;
    padding: 1rem 2rem;
  }
  .photo-frame .placeholder svg { width: 56px; height: 56px; opacity: 0.55; }
  .photo-frame .placeholder small {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.55;
  }
  .photo-frame::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 210px 210px 6px 6px;
    border: 1px solid rgba(201, 164, 92, 0.4);
    pointer-events: none;
  }

  .venue {
    text-align: center;
    margin: 0 auto 2.5rem;
    max-width: 640px;
  }
  .venue .venue-date {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.9rem, 5vw, 2.8rem);
    color: var(--ink);
    margin: 0 0 0.5rem;
    line-height: 1.1;
  }
  .venue .venue-place {
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: clamp(0.78rem, 2vw, 0.92rem);
    color: var(--rose-deep);
    margin: 0;
  }

  .map-embed {
    position: relative;
    margin: 0 auto 3rem;
    border: 1px solid rgba(201, 164, 92, 0.25);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 50px -30px rgba(74, 58, 48, 0.45);
  }
  .map-embed iframe {
    display: block;
    width: 100%;
    height: clamp(300px, 45vw, 420px);
    border: 0;
  }

  .venue-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 0 auto 3.5rem;
  }
  .venue-photos img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(201, 164, 92, 0.25);
    box-shadow: 0 20px 44px -28px rgba(74, 58, 48, 0.45);
    display: block;
  }
  @media (max-width: 640px) {
    .venue-photos { grid-template-columns: 1fr; gap: 1rem; }
  }

  /* Order of the day — arrival → ceremony → cocktails → dinner timeline */
  .schedule {
    text-align: center;
    margin: 0 auto 1rem;
    max-width: 780px;
  }
  .timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(0.4rem, 1.4vw, 1rem);
    margin-top: 1.5rem;
  }
  .schedule .note {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: var(--ink);
    opacity: 0.78;
    margin: 2rem auto 0;
    max-width: 500px;
    line-height: 1.55;
  }
  .moment {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    width: clamp(88px, 14vw, 130px);
  }
  .moment .badge {
    width: clamp(64px, 16vw, 78px);
    height: clamp(64px, 16vw, 78px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--blush), var(--cream-deep));
    border: 1px solid rgba(201, 164, 92, 0.45);
    box-shadow: 0 14px 30px -18px rgba(74, 58, 48, 0.5), inset 0 1px 0 rgba(255,255,255,0.55);
    color: var(--rose-deep);
    margin-bottom: 0.85rem;
  }
  .moment .badge svg { width: 46%; height: 46%; }
  .moment .time {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(1.2rem, 3.4vw, 1.5rem);
    color: var(--ink);
    line-height: 1.1;
  }
  .moment .what {
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.66rem;
    color: var(--rose-deep);
    margin-top: 0.3rem;
  }
  .timeline .track {
    flex: 1 1 auto;
    align-self: center;
    position: relative;
    height: 1px;
    margin-top: -1.4rem;
    max-width: 120px;
    background-image: linear-gradient(to right, rgba(201,164,92,0.65) 0 6px, transparent 6px 12px);
    background-size: 12px 1px;
  }
  .timeline .track .heart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--cream);
    color: var(--rose);
    font-size: 0.95rem;
    padding: 0 0.35rem;
    line-height: 1;
  }
  /* Four moments won't sit side by side on narrow screens — stack them */
  @media (max-width: 560px) {
    .timeline {
      flex-direction: column;
      align-items: center;
      gap: 1.25rem;
    }
    .moment { width: auto; }
    .moment .badge { margin-bottom: 0.5rem; }
    .timeline .track {
      flex: 0 0 auto;
      width: 1px;
      height: 22px;
      max-width: none;
      margin-top: 0;
      align-self: center;
      background-image: linear-gradient(to bottom, rgba(201,164,92,0.65) 0 6px, transparent 6px 12px);
      background-size: 1px 12px;
    }
    .timeline .track .heart { display: none; }
  }

  .divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    color: var(--gold);
  }
  .divider::before, .divider::after {
    content: '';
    flex: 0 0 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
  }
  .divider svg { width: 22px; height: 22px; opacity: 0.7; }

  .verse {
    max-width: 540px;
    margin: 0 auto 2rem;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2.4vw, 1.4rem);
    color: var(--ink);
    opacity: 0.85;
    line-height: 1.5;
  }
  .verse .small {
    display: block;
    margin-top: 0.85rem;
    font-style: normal;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--rose-deep);
    opacity: 0.85;
  }

  .palette {
    margin: 4.5rem auto 1rem;
    max-width: 640px;
    text-align: center;
  }
  .palette h2 {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.6rem, 3.6vw, 2.1rem);
    color: var(--ink);
    margin: 0 0 0.75rem;
    letter-spacing: 0.01em;
  }
  .palette .intro {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: var(--ink);
    opacity: 0.78;
    margin: 0 auto 2.25rem;
    max-width: 500px;
    line-height: 1.55;
  }
  .swatches {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-items: center;
    gap: 1.6rem 1.2rem;
    max-width: 460px;
    margin: 0 auto;
  }
  .swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
  }
  .swatch .dot {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1px solid rgba(74, 58, 48, 0.10);
    box-shadow:
      0 8px 18px -10px rgba(74, 58, 48, 0.35),
      0 1px 0 rgba(255, 255, 255, 0.55) inset;
    background-size: cover;
    background-position: center;
  }
  .swatch .hex {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: var(--ink);
    opacity: 0.62;
    text-transform: uppercase;
  }
  @media (max-width: 480px) {
    .swatches { gap: 1.1rem 0.6rem; max-width: 320px; }
    .swatch .dot { width: 54px; height: 54px; }
    .swatch .hex { font-size: 0.62rem; letter-spacing: 0.14em; }
  }

  /* Expandable "see more colors" set */
  .more-colors {
    display: flex;
    width: fit-content;
    margin: 2rem auto 0;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.68rem;
    color: var(--rose-deep);
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(156, 117, 96, 0.4);
    padding: 0 0 0.25rem;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
  }
  .more-colors:hover {
    color: var(--ink);
    border-color: rgba(60, 40, 30, 0.5);
  }
  .more-colors svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
  }
  .more-colors[aria-expanded="true"] svg { transform: rotate(180deg); }

  .more-colors-panel { margin-top: 2.25rem; }
  .more-colors-panel[hidden] { display: none; }
  .more-colors-panel.is-open { animation: rise 0.55s ease-out forwards; opacity: 0; transform: translateY(10px); }

  @media (prefers-reduced-motion: reduce) {
    .more-colors-panel.is-open { animation: none; opacity: 1; transform: none; }
    .more-colors svg { transition: none; }
    .attire-link { transition: none; }
    .attire-link:hover { transform: none; }
  }
  .attire-link {
    display: flex;
    width: fit-content;
    margin: 2.75rem auto 0;
    align-items: center;
    gap: 0.65rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    padding: 1.05rem 2.1rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 165, 119, 0.75);
    background: linear-gradient(160deg, var(--cream-deep), var(--blush));
    box-shadow:
      0 14px 28px -18px rgba(74, 58, 48, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  }
  .attire-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow:
      0 20px 34px -18px rgba(74, 58, 48, 0.65),
      inset 0 1px 0 rgba(255, 255, 255, 0.6);
  }
  .attire-link:active { transform: translateY(0); }
  .attire-link:focus-visible {
    outline: 2px solid var(--rose-deep);
    outline-offset: 3px;
  }
  .attire-link svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
  }
  @media (max-width: 480px) {
    .attire-link {
      font-size: 0.72rem;
      padding: 0.95rem 1.6rem;
      letter-spacing: 0.14em;
    }
  }

  .game-link {
    text-align: center;
    margin: 2.5rem 0 0;
  }
  .game-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: var(--ink);
    opacity: 0.75;
    text-decoration: none;
    border-bottom: 1px solid rgba(193, 154, 133, 0.55);
    padding-bottom: 0.15rem;
    transition: opacity 0.2s ease;
  }
  .game-link a:hover { opacity: 1; }
  .game-link a:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }
  .game-link .heart { color: var(--rose); font-style: normal; }

  footer {
    text-align: center;
    padding-top: 2.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--ink);
    opacity: 0.55;
    font-size: 0.95rem;
  }
  footer .heart { color: var(--rose); }
  /* ─────────────────────────────────────────────────────────────
     Top navigation — added when the single scrolling page was split
     into Home / Wedding details / Ceremony guide / Colors to wear.
     ───────────────────────────────────────────────────────────── */
  .site-nav {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid rgba(201, 165, 119, 0.28);
    background: rgba(250, 245, 241, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  /* Three-part bar: an empty spacer, the centred links, then the paw. The
     spacer is the same width as the paw so the links stay optically centred. */
  .site-nav .nav-inner {
    margin: 0 auto;
    padding: 0.5rem clamp(0.6rem, 2.5vw, 1.75rem);
    display: flex;
    align-items: center;
    gap: clamp(0.2rem, 1.5vw, 0.6rem);
  }
  .site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0 clamp(0.15rem, 1.5vw, 0.85rem);
  }
  .site-nav .nav-spacer { flex: 0 0 auto; width: 32px; }
  .site-nav .nav-paw {
    flex: 0 0 auto;
    width: 32px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Reset what it inherits from the .site-nav a text-link rule above. */
    padding: 0;
    border-bottom: 0;
    font-size: 0;
    letter-spacing: normal;
    color: var(--rose-deep);
    opacity: 0.5;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .site-nav .nav-paw svg { flex: 0 0 auto; width: 19px; height: 19px; display: block; }
  .site-nav .nav-paw:hover { opacity: 1; transform: translateY(-1px) rotate(-6deg); }
  .site-nav .nav-paw:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 2px; }
  .site-nav .nav-paw[aria-current="page"] { opacity: 1; }
  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 clamp(0.5rem, 1.6vw, 0.9rem);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.58rem, 1.9vw, 0.7rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.62;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    transition: opacity 0.2s ease, border-color 0.2s ease;
  }
  .site-nav a:hover { opacity: 1; }
  .site-nav a:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 2px; }
  /* The page you're on */
  .site-nav a[aria-current="page"] {
    opacity: 1;
    color: var(--rose-deep);
    border-bottom-color: var(--rose);
  }
  /* Hairline heart between items, hidden once the row wraps */
  .site-nav li + li::before {
    content: '♡';
    color: var(--rose);
    opacity: 0.45;
    font-size: 0.6rem;
    margin-right: clamp(0.15rem, 1.5vw, 0.85rem);
  }
  .site-nav li { display: flex; align-items: center; }
  @media (max-width: 620px) {
    .site-nav ul { gap: 0; }
    .site-nav li { flex: 0 0 50%; justify-content: center; }
    .site-nav li + li::before { display: none; }
    .site-nav a { letter-spacing: 0.14em; padding: 0 0.25rem; }
    /* The links need every pixel at this width, so give up the spacer. */
    .site-nav .nav-spacer { display: none; }
  }

  /* Pages other than Home open straight into content, so they need a title */
  .page-head {
    text-align: center;
    margin: 0 auto clamp(2rem, 5vw, 3rem);
  }
  .page-head h1 {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1.15;
    color: var(--ink);
    margin: 0.35rem 0 0.6rem;
  }
  .page-head .lede {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1rem, 2.3vw, 1.18rem);
    color: var(--ink);
    opacity: 0.78;
    margin: 0 auto;
    max-width: 480px;
    line-height: 1.55;
  }

  /* Quiet prev/next pair at the foot of each inner page */
  .page-turn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem clamp(1.6rem, 6vw, 3rem);
    margin: clamp(3rem, 7vw, 4.5rem) auto 0;
  }
  .page-turn a {
    font-family: 'Inter', sans-serif;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.6;
    text-decoration: none;
    border-bottom: 1px solid rgba(193, 154, 133, 0.5);
    padding-bottom: 0.2rem;
    transition: opacity 0.2s ease;
  }
  .page-turn a:hover { opacity: 1; }
  .page-turn a:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }

  /* The hero block only exists on Home; trim the top padding elsewhere */
  /* Deliberately NOT a flex column: several blocks here (.map-embed,
     .venue-photos) rely on `margin: 0 auto`, and auto cross-axis margins stop a
     flex item stretching — which collapsed the map to its content width. */
  main.inner { padding-top: clamp(2rem, 5vw, 3.25rem); }

  /* On their own pages these blocks follow a .page-head, so they no longer need
     the big top margin they had when everything stacked on one long page. */
  main.inner .palette { margin-top: 0; }
  main.inner .schedule { margin-top: 0; }
  main.inner .venue { margin-top: 0; }

  /* ─────────────────────────────────────────────────────────────
     Monogram as a background mark in the top-left margin. Desktop
     only, and never wider than the empty gutter beside the 880px
     content column, so it can't sit under any text.
     ───────────────────────────────────────────────────────────── */
  .monogram-mark { display: none; }
  @media (min-width: 1200px) {
    .monogram-mark {
      display: block;
      position: fixed;
      top: 4.5rem;
      left: clamp(0.5rem, 1.2vw, 1.5rem);
      width: min(250px, calc((100vw - 880px) / 2 - 16px));
      opacity: 0.72;
      pointer-events: none;
      z-index: 0;
    }
    .monogram-mark img { display: block; width: 100%; height: auto; }
  }
