
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --cream: #FAF7F2;
    --warm-white: #FFFDF9;
    --gold: #C9A84C;
    --gold-light: #E8D5A3;
    --gold-dark: #9A7A2E;
    --ink: #2A2520;
    --ink-muted: #6B6159;
    --ink-light: #A89F96;
    --border: rgba(201,168,76,0.25);
    --border-strong: rgba(201,168,76,0.5);
    --section-bg: #F5F1EB;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Jost', sans-serif;
    background: var(--cream);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
  }

  /* ─── NAV ─── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(250,247,242,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .nav-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--ink);
    text-decoration: none;
  }
  .nav-brand span { color: var(--gold); }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--gold); }

  /* ─── SECTIONS ─── */
  .section { display: none; min-height: 100vh; padding-top: 64px; }
  .section.active { display: block; }

  /* ─── HERO ─── */
  #hero {
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--warm-white);
    padding-top: 64px;
  }
  #hero.active { display: flex; }

  .hero-ornament {
    position: absolute;
    opacity: 0.07;
    pointer-events: none;
  }
  .hero-ornament svg { width: 600px; height: 600px; }

  .hero-content { position: relative; z-index: 1; padding: 4rem 2rem; }

  .hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
  }

  .hero-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(52px, 8vw, 96px);
    font-weight: 300;
    line-height: 1.05;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .hero-names em { font-style: italic; color: var(--gold-dark); }

  .hero-divider {
    display: flex; align-items: center; gap: 1rem;
    justify-content: center;
    margin: 2rem auto;
    max-width: 320px;
  }
  .hero-divider-line { flex: 1; height: 1px; background: var(--border-strong); }
  .hero-divider-diamond {
    width: 8px; height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
  }

  .hero-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--ink-muted);
    margin-bottom: 0.5rem;
  }
  .hero-location {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-light);
  }

  .hero-nav-cards {
    display: flex; gap: 1rem; justify-content: center;
    flex-wrap: wrap;
    margin-top: 4rem;
  }
  .hero-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
    width: 160px;
  }
  .hero-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(201,168,76,0.15);
  }
  .hero-card-icon {
    font-size: 22px; margin-bottom: 0.5rem;
    display: block;
  }
  .hero-card-label {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }

  /* ─── CONTENT SECTIONS ─── */
  .content-section { max-width: 720px; margin: 0 auto; padding: 4rem 2rem 6rem; }

  .section-eyebrow {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
  }
  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    color: var(--ink);
  }
  .section-title em { font-style: italic; color: var(--gold-dark); }

  /* ─── RSVP ─── */
  #rsvp { background: var(--warm-white); }

  .password-gate {
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
  }
  .password-gate p {
    color: var(--ink-muted);
    font-size: 14px;
    margin-bottom: 1.5rem;
  }
  .password-row {
    display: flex; gap: 0.75rem; max-width: 360px; margin: 0 auto;
  }

  .form-group { margin-bottom: 1.5rem; }
  .form-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 0.5rem;
  }
  .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: var(--cream);
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: var(--ink);
    transition: border-color 0.2s;
    outline: none;
  }
  .form-input:focus { border-color: var(--gold); background: white; }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

  .btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold-dark);
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s;
  }
  .btn:hover { background: var(--gold); color: white; }
  .btn-primary { background: var(--gold); color: white; }
  .btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

  .radio-group { display: flex; gap: 1rem; flex-wrap: wrap; }
  .radio-option {
    flex: 1; min-width: 120px;
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 14px;
    color: var(--ink-muted);
    background: var(--cream);
  }
  .radio-option input { accent-color: var(--gold); cursor: pointer; }
  .radio-option.selected { border-color: var(--gold); background: white; color: var(--ink); }

  .form-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .success-banner {
    background: #F0F7EC;
    border: 1px solid #9CC47A;
    border-radius: 4px;
    padding: 1.5rem;
    color: #3A6B1D;
    font-size: 14px;
    margin-bottom: 1.5rem;
    display: none;
  }
  .error-msg {
    color: #C0392B;
    font-size: 13px;
    margin-top: 0.5rem;
    display: none;
  }

  /* ─── INFOS ─── */
  #infos { background: var(--section-bg); }

  .info-block {
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem;
    margin-bottom: 1.25rem;
  }
  .info-block-header {
    display: flex; align-items: flex-start; gap: 1.25rem;
    margin-bottom: 1rem;
  }
  .info-block-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: var(--gold-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
  }
  .info-block-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.2rem;
  }
  .info-block-subtitle {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dark);
  }
  .info-block-body {
    font-size: 14px;
    color: var(--ink-muted);
    padding-left: 3.5rem;
    line-height: 1.8;
  }
  .info-block-body strong { color: var(--ink); font-weight: 500; }
  .info-block-body a { color: var(--gold-dark); }

  /* timeline */
  .timeline { list-style: none; padding-left: 3.5rem; position: relative; }
  .timeline::before {
    content: '';
    position: absolute; left: calc(3.5rem - 1px); top: 8px; bottom: 8px;
    width: 1px; background: var(--border);
  }
  .timeline li {
    position: relative;
    padding: 0 0 1rem 1.5rem;
    font-size: 14px;
    color: var(--ink-muted);
  }
  .timeline li::before {
    content: '';
    position: absolute; left: -4px; top: 7px;
    width: 8px; height: 8px;
    background: var(--gold); border-radius: 50%;
  }
  .timeline li strong { color: var(--ink); font-weight: 500; display: block; }

  /* ─── LISTE ─── */
  #liste { background: var(--warm-white); }

  .gift-hero {
    text-align: center;
    padding: 3rem 0;
  }
  .gift-hero p {
    font-size: 16px;
    color: var(--ink-muted);
    max-width: 480px;
    margin: 0 auto 2rem;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    line-height: 1.5;
  }

  .gift-ornament {
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    line-height: 1;
    color: var(--gold-light);
    margin-bottom: -0.5rem;
    display: block;
  }

  /* ─── LOADER / STATUS ─── */
  .loader { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--gold-light); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s linear infinite; vertical-align: middle; margin-left: 0.5rem; }
  @keyframes spin { to { transform: rotate(360deg); } }

  .already-registered {
    background: #FFF9EC;
    border: 1px solid var(--gold-light);
    border-radius: 4px;
    padding: 1.5rem;
    font-size: 14px;
    color: var(--ink-muted);
    display: none;
  }

  /* ─── MOBILE ─── */
  @media (max-width: 600px) {
    nav { padding: 0 1rem; }
    .nav-links { gap: 1rem; }
    .nav-links a { font-size: 11px; }
    .form-row { grid-template-columns: 1fr; }
    .hero-card { width: 130px; padding: 1.25rem; }
    .password-row { flex-direction: column; }
  }