:root {
      --tiffany: #69b9b2;
      --tiffany-dark: #356e69;
      --tiffany-soft: #dff2ef;
      --ivory: #fbf8f1;
      --paper: #fffdf8;
      --ink: #202a29;
      --muted: #687371;
      --gold: #b99a62;
      --line: rgba(53, 110, 105, 0.18);
      --shadow: 0 18px 60px rgba(35, 66, 63, 0.10);
      --radius: 24px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background:
        radial-gradient(circle at 10% 10%, rgba(105,185,178,.13), transparent 32%),
        linear-gradient(180deg, var(--ivory), #fff 42%, var(--ivory));
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.6;
    }

    body.menu-open { overflow: hidden; }
    a { color: inherit; text-decoration: none; }
    button, input, select, textarea { font: inherit; }
    img { display: block; max-width: 100%; }

    .container { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: .22em;
      color: var(--tiffany-dark);
      font-weight: 700;
    }

    .eyebrow::before,
    .eyebrow::after {
      content: "";
      width: 28px;
      height: 1px;
      background: var(--gold);
    }

    h1, h2, h3 {
      font-family: Georgia, "Times New Roman", serif;
      font-weight: 500;
      line-height: 1.08;
      margin: 0;
    }
    h2 { font-size: clamp(38px, 5vw, 68px); }
    h3 { font-size: 28px; }
    p { margin: 0; }

    .site-header {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 50;
      background: rgba(251, 248, 241, .86);
      border-bottom: 1px solid rgba(53,110,105,.10);
      backdrop-filter: blur(18px);
    }

    .nav {
      height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      white-space: nowrap;
    }

    .monogram {
      width: 42px;
      height: 42px;
      border: 1px solid var(--tiffany);
      border-radius: 50%;
      display: grid;
      place-items: center;
      color: var(--tiffany-dark);
      font-family: Georgia, serif;
      font-size: 18px;
      background: rgba(255,255,255,.75);
    }

    .brand-name {
      font-family: Georgia, serif;
      font-size: 19px;
      letter-spacing: .04em;
    }

    .nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
    .nav-links a { color: #45504e; transition: color .2s ease; }
    .nav-links a:hover { color: var(--tiffany-dark); }

    .btn {
      border: 0;
      border-radius: 999px;
      min-height: 48px;
      padding: 0 24px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      cursor: pointer;
      font-weight: 700;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn-primary { background: var(--tiffany-dark); color: white; box-shadow: 0 12px 30px rgba(53,110,105,.20); }
    .btn-light { background: rgba(255,255,255,.88); color: var(--tiffany-dark); border: 1px solid var(--line); }
    .btn-outline { background: transparent; color: var(--tiffany-dark); border: 1px solid var(--tiffany); }

    .menu-button { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: white; }

    .hero {
      min-height: 650px;
      padding: 116px 0 58px;
      position: relative;
      overflow: hidden;
      display: grid;
      align-items: center;
    }

    .hero::before {
      content: "";
      position: absolute;
      width: 520px;
      height: 520px;
      border: 1px solid rgba(105,185,178,.20);
      border-radius: 50%;
      right: -120px;
      top: 120px;
    }

    .hero::after {
      content: "";
      position: absolute;
      width: 360px;
      height: 360px;
      border-radius: 50%;
      background: rgba(105,185,178,.12);
      filter: blur(1px);
      left: -160px;
      bottom: -60px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr .92fr;
      gap: 52px;
      align-items: center;
      position: relative;
      z-index: 1;
    }

    .hero-copy { max-width: 680px; }
    .hero h1 { font-size: clamp(54px, 7.2vw, 104px); letter-spacing: 0; margin: 18px 0 12px; }
    .hero h1 span { color: var(--tiffany-dark); }
    .hero-date { font-family: Georgia, serif; font-size: clamp(22px, 2.5vw, 32px); color: var(--gold); margin-bottom: 18px; }
    .hero-text { font-size: 17px; color: var(--muted); max-width: 590px; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

    .hero-panel {
      min-height: 430px;
      border-radius: 26px;
      background: var(--paper);
      border: 1px solid rgba(53,110,105,.16);
      box-shadow: var(--shadow);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      padding: 14px;
      position: relative;
      overflow: hidden;
    }

    .hero-photo {
      min-height: 100%;
      margin: 0;
      border-radius: 18px;
      overflow: hidden;
      position: relative;
      background: var(--tiffany-soft);
    }

    .hero-photo img {
      width: 100%;
      height: 100%;
      min-height: 402px;
      object-fit: cover;
    }

    .hero-photo figcaption {
      position: absolute;
      left: 14px;
      right: 14px;
      bottom: 14px;
      min-height: 42px;
      border-radius: 999px;
      background: rgba(255,255,255,.90);
      color: var(--tiffany-dark);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 8px 14px;
      text-align: center;
      font-weight: 400;
      box-shadow: 0 8px 24px rgba(23,59,56,.14);
    }

    .quick-info {
      margin-top: -36px;
      position: relative;
      z-index: 2;
    }

    .quick-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      background: white;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .quick-card { padding: 26px 30px; }
    .quick-card + .quick-card { border-left: 1px solid var(--line); }
    .quick-card small { display: block; color: var(--muted); margin-bottom: 4px; }
    .quick-card strong { font-family: Georgia, serif; font-size: 23px; font-weight: 500; }

    section { padding: 110px 0; }
    .section-head { max-width: 760px; margin-bottom: 54px; }
    .section-head p { margin-top: 18px; color: var(--muted); font-size: 17px; }

    .story {
      text-align: center;
      max-width: 820px;
      margin: 0 auto;
    }
    .story p { color: var(--muted); font-size: 18px; margin-top: 22px; }

    .timeline { position: relative; max-width: 920px; margin: 0 auto; }
    .timeline::before { content: ""; position: absolute; left: 121px; top: 22px; bottom: 22px; width: 1px; background: var(--line); }
    .timeline-item { display: grid; grid-template-columns: 100px 1fr; gap: 42px; position: relative; padding: 0 0 38px; }
    .timeline-item:last-child { padding-bottom: 0; }
    .timeline-time { font-family: Georgia, serif; font-size: 28px; color: var(--tiffany-dark); text-align: right; padding-top: 18px; }
    .timeline-card { background: rgba(255,255,255,.74); border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; position: relative; }
    .timeline-card::before { content: ""; position: absolute; left: -30px; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--tiffany); }
    .timeline-card p { color: var(--muted); margin-top: 8px; }

    .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .cards-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card { background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 10px 34px rgba(35,66,63,.06); }
    .card-icon { width: 50px; height: 50px; border-radius: 16px; background: var(--tiffany-soft); color: var(--tiffany-dark); display: grid; place-items: center; margin-bottom: 20px; font-size: 21px; }
    .program-cards .card-icon {
      color: #fff;
      background: #168f86;
      box-shadow: 0 8px 18px rgba(35,66,63,.18);
    }
    .program-cards .card-icon svg {
      width: 31px;
      height: 31px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2.6;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .card p { color: var(--muted); margin-top: 10px; }
    .card-note {
      padding: 12px 14px;
      border-left: 3px solid var(--gold);
      border-radius: 8px;
      background: rgba(185,154,98,.12);
      color: var(--ink) !important;
      font-weight: 800;
    }
    .card .text-link { display: inline-flex; margin-top: 20px; color: var(--tiffany-dark); font-weight: 700; }

    .map-shell {
      border-radius: 22px;
      background: white;
      border: 1px solid var(--line);
      overflow: hidden;
      box-shadow: var(--shadow);
    }

    .map-filters {
      display: flex;
      gap: 8px;
      padding: 14px;
      overflow-x: auto;
      border-bottom: 1px solid var(--line);
      background: #fffefa;
      scrollbar-width: thin;
    }

    .hotel-price-filters {
      display: flex;
      gap: 8px;
      padding: 10px 14px;
      overflow-x: auto;
      border-bottom: 1px solid var(--line);
      background: #f4faf8;
      scrollbar-width: thin;
    }

    .hotel-price-filters[hidden] {
      display: none;
    }

    .map-filter {
      flex: 0 0 auto;
      min-height: 42px;
      border: 1px solid rgba(53,110,105,.24);
      border-radius: 8px;
      background: white;
      color: var(--tiffany-dark);
      padding: 10px 14px;
      font-weight: 700;
      cursor: pointer;
      transition: background-color .2s ease, border-color .2s ease, color .2s ease;
    }

    .map-filter:hover {
      border-color: var(--tiffany-dark);
    }

    .map-filter.active {
      background: var(--tiffany-dark);
      border-color: var(--tiffany-dark);
      color: white;
    }

    .map-filter:focus-visible {
      outline: 3px solid rgba(105,185,178,.26);
      outline-offset: 2px;
    }

    .hotel-price-filter {
      flex: 0 0 auto;
      min-height: 38px;
      border: 1px solid rgba(53,110,105,.2);
      border-radius: 8px;
      background: white;
      color: var(--tiffany-dark);
      padding: 8px 12px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      transition: background-color .2s ease, border-color .2s ease;
    }

    .hotel-price-filter:hover {
      border-color: var(--tiffany-dark);
    }

    .hotel-price-filter.active {
      background: var(--tiffany-soft);
      border-color: var(--tiffany);
    }

    .hotel-price-filter:focus-visible {
      outline: 3px solid rgba(105,185,178,.26);
      outline-offset: 2px;
    }

    .interactive-map {
      width: 100%;
      height: 540px;
      position: relative;
      background: var(--tiffany-soft);
    }

    .map-message {
      position: absolute;
      inset: 0;
      display: grid;
      place-content: center;
      justify-items: center;
      gap: 8px;
      padding: 28px;
      text-align: center;
      color: var(--muted);
    }

    .map-message strong {
      color: var(--tiffany-dark);
      font-family: Georgia, serif;
      font-size: 26px;
      font-weight: 400;
    }

    .map-message a {
      margin-top: 8px;
      color: var(--tiffany-dark);
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .interactive-map:not(.map-not-ready) .map-message {
      pointer-events: none;
    }

    .interactive-map ymaps {
      font-family: Arial, sans-serif;
    }

    .map-summary {
      min-height: 42px;
      display: flex;
      align-items: center;
      padding: 10px 14px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 14px;
    }

    .map-balloon {
      display: grid;
      gap: 5px;
      max-width: 260px;
      color: #273633;
      line-height: 1.4;
    }

    .map-balloon strong {
      color: var(--tiffany-dark);
      font-size: 16px;
    }

    .map-balloon span {
      color: #63716f;
    }

    .map-balloon .hotel-price {
      color: #273633;
      font-size: 17px;
      font-weight: 800;
    }

    .map-balloon a {
      margin-top: 5px;
      color: var(--tiffany-dark);
      font-weight: 700;
    }

    .map-balloon .map-balloon-title {
      margin-top: 0;
      font-size: 16px;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
    }

    .flower-map-shell {
      margin-top: 24px;
    }

    .flower-map-heading {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
      gap: 36px;
      align-items: end;
      padding: 26px 28px;
      border-bottom: 1px solid var(--line);
      background: #fffefa;
    }

    .flower-map-heading h3 {
      margin-top: 10px;
      font-family: Georgia, serif;
      font-size: 30px;
      font-weight: 400;
      color: var(--tiffany-dark);
    }

    .flower-map-heading p {
      color: var(--muted);
    }

    .dress-code {
      background: var(--tiffany-dark);
      color: white;
      position: relative;
      overflow: hidden;
    }
    .dress-code::before { content: ""; position: absolute; inset: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 28px; }
    .dress-grid { display: grid; grid-template-columns: minmax(0, 820px); justify-content: center; text-align: center; position: relative; z-index: 1; }
    .dress-code p { color: rgba(255,255,255,.75); margin-top: 18px; font-size: 17px; }

    .rsvp-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: start; }
    .rsvp-copy { position: sticky; top: 110px; }
    .rsvp-copy p { color: var(--muted); margin-top: 18px; }
    .form-card { background: white; border: 1px solid var(--line); border-radius: 28px; padding: 32px; box-shadow: var(--shadow); }
    .form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .field { display: grid; gap: 8px; }
    .field.full { grid-column: 1 / -1; }
    label { font-size: 14px; font-weight: 700; color: #3d4947; }
    input, select, textarea {
      width: 100%;
      border: 1px solid rgba(53,110,105,.20);
      background: #fffefa;
      border-radius: 14px;
      padding: 14px 15px;
      color: var(--ink);
      outline: none;
      transition: border-color .2s ease, box-shadow .2s ease;
    }
    input:focus, select:focus, textarea:focus { border-color: var(--tiffany); box-shadow: 0 0 0 4px rgba(105,185,178,.13); }
    textarea { min-height: 110px; resize: vertical; }
    .check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .check { display: flex; gap: 9px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fffefa; font-weight: 500; }
    .check input { width: auto; margin-top: 4px; }
    .other-option { display: grid; gap: 8px; margin-top: 10px; }
    .other-option[hidden] { display: none; }
    .form-note { color: var(--muted); font-size: 13px; margin-top: 14px; }

    .thanks-modal {
      position: fixed;
      inset: 0;
      z-index: 80;
      display: grid;
      place-items: center;
      padding: 24px;
      opacity: 0;
      visibility: hidden;
      transition: opacity .22s ease, visibility .22s ease;
    }
    .thanks-modal.open { opacity: 1; visibility: visible; }
    .thanks-modal__backdrop {
      position: absolute;
      inset: 0;
      background: rgba(23,59,56,.52);
      backdrop-filter: blur(8px);
    }
    .thanks-modal__dialog {
      position: relative;
      width: min(100%, 480px);
      background: #fffefa;
      border: 1px solid var(--line);
      border-radius: 8px;
      box-shadow: 0 26px 90px rgba(0,0,0,.28);
      padding: 38px;
      text-align: center;
      transform: translateY(12px);
      transition: transform .22s ease;
    }
    .thanks-modal.open .thanks-modal__dialog { transform: translateY(0); }
    .thanks-modal__dialog h2 { margin-top: 14px; font-size: 42px; }
    .thanks-modal__dialog p { color: var(--muted); margin: 14px 0 26px; }
    .thanks-modal__close {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 38px;
      height: 38px;
      border: 0;
      border-radius: 50%;
      background: rgba(53,110,105,.1);
      color: var(--tiffany-dark);
      font-size: 26px;
      line-height: 1;
      cursor: pointer;
    }
    body.modal-open { overflow: hidden; }

    .faq { max-width: 900px; margin: 0 auto; }
    details { background: rgba(255,255,255,.84); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; margin-bottom: 12px; }
    summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; font-weight: 800; position: relative; }
    summary::-webkit-details-marker { display:none; }
    summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 26px; color: var(--tiffany-dark); font-weight: 400; }
    details[open] summary::after { content: "−"; }
    details p { color: var(--muted); padding: 0 0 20px; }

    .footer {
      position: relative;
      min-height: clamp(780px, 78vh, 820px);
      padding: 110px 0 120px;
      background: #173b38;
      color: white;
      overflow: hidden;
      isolation: isolate;
    }
    .footer::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background:
        linear-gradient(90deg, rgba(11,29,28,.20) 0%, rgba(11,29,28,.34) 42%, rgba(11,29,28,.82) 100%),
        linear-gradient(180deg, rgba(11,29,28,.10) 30%, rgba(11,29,28,.54) 100%);
      pointer-events: none;
    }
    .footer-grid {
      min-height: calc(clamp(780px, 78vh, 820px) - 230px);
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }
    .footer-copy {
      position: relative;
      z-index: 1;
      width: min(100%, 540px);
      text-align: left;
      text-shadow: 0 2px 26px rgba(0,0,0,.42);
    }
    .footer .eyebrow { color: rgba(255,255,255,.88) !important; }
    .footer h2 {
      color: #fff;
      font-size: clamp(52px, 7vw, 88px);
    }
    .footer p {
      color: rgba(255,255,255,.92);
      margin: 20px 0 32px;
      max-width: 520px;
      font-size: 18px;
    }
    .footer .btn-light {
      background: #fff;
      color: #285f5a;
      border-color: rgba(255,255,255,.82);
      box-shadow: 0 14px 36px rgba(0,0,0,.22);
      text-shadow: none;
    }
    .footer-photo {
      position: absolute;
      inset: 0;
      z-index: -2;
      margin: 0;
      overflow: hidden;
    }
    .footer-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 50% 34%;
      filter: saturate(.76) contrast(1.06) brightness(.82);
    }

    .mobile-rsvp { display: none; }

    @media (max-width: 980px) {
      .site-header {
        background: #fff;
        backdrop-filter: none;
      }
      .nav-links {
        display: none;
        position: fixed;
        inset: 76px 0 0;
        width: 100vw;
        height: calc(100dvh - 76px);
        padding: 42px max(24px, calc((100vw - 1160px) / 2));
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        font-size: 22px;
        overflow-y: auto;
      }
      .nav-links.open { display: flex; }
      .nav-links a {
        width: 100%;
        padding: 18px 0;
        border-bottom: 1px solid var(--line);
      }
      .nav > .btn { display: none; }
      .menu-button { display: grid; place-items: center; }
      .hero-grid, .rsvp-wrap { grid-template-columns: 1fr; }
      .hero { min-height: auto; padding-bottom: 48px; }
      .hero-panel { min-height: 360px; max-width: 680px; width: 100%; margin: 0 auto; }
      .hero-photo img { min-height: 332px; }
      .quick-grid, .cards { grid-template-columns: 1fr; }
      .quick-card + .quick-card { border-left: 0; border-top: 1px solid var(--line); }
      .flower-map-heading { grid-template-columns: 1fr; gap: 14px; }
      .rsvp-copy { position: static; }
      .footer {
        min-height: 780px;
        padding-top: 90px;
      }
      .footer::after {
        background:
          linear-gradient(180deg, rgba(11,29,28,.12) 0%, rgba(11,29,28,.28) 42%, rgba(11,29,28,.88) 100%),
          linear-gradient(90deg, rgba(11,29,28,.14), rgba(11,29,28,.38));
      }
      .footer-grid {
        min-height: 570px;
        align-items: flex-end;
        justify-content: center;
      }
      .footer-copy { text-align: center; }
      .footer p { margin-left: auto; margin-right: auto; }
      .footer-photo img { object-position: 42% 40%; }
    }

    @media (max-width: 640px) {
      .container { width: min(100% - 24px, 1160px); }
      .nav { height: 68px; }
      .nav-links {
        inset: 68px 0 0;
        height: calc(100dvh - 68px);
      }
      .hero { padding-top: 96px; }
      .hero-grid { gap: 32px; }
      .hero h1 { font-size: 50px; }
      .hero-panel { grid-template-columns: 1fr; min-height: auto; border-radius: 22px; }
      .hero-photo img { min-height: 210px; }
      .hero-photo figcaption {
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 30px;
        min-height: 38px;
        border-radius: 999px;
        background: rgba(255,255,255,.92);
        box-shadow: 0 8px 22px rgba(23,59,56,.16);
        font-size: 14px;
      }
      .hero-actions { flex-direction: column; align-items: stretch; }
      section { padding: 78px 0; }
      h2 { font-size: 42px; }
      .timeline::before { left: 0; }
      .timeline-item { grid-template-columns: 1fr; gap: 10px; padding-left: 24px; }
      .timeline-time { text-align: left; padding-top: 0; }
      .timeline-card::before { left: -31px; top: 31px; }
      .form-grid, .check-list { grid-template-columns: 1fr; }
      .form-card { padding: 22px; }
      .map-shell { border-radius: 16px; }
      .map-filters { padding: 10px; }
      .hotel-price-filters { padding: 9px 10px; }
      .map-filter { min-height: 40px; padding: 9px 12px; }
      .hotel-price-filter { min-height: 38px; padding: 8px 11px; }
      .interactive-map { height: 360px; }
      .flower-map-heading { padding: 22px; }
      .flower-map-heading h3 { font-size: 26px; }
      .footer {
        min-height: 820px;
        padding: 84px 0 150px;
      }
      .footer-grid { min-height: 586px; }
      .footer-copy { transform: translateY(44px); }
      .footer h2 { font-size: 52px; }
      .footer p { font-size: 16px; }
      .footer .btn-light { display: none; }
      .footer-photo img { object-position: 43% 38%; }
      .mobile-rsvp {
        display: flex;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 45;
        min-height: 52px;
        border-radius: 999px;
        background: var(--tiffany-dark);
        color: white;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        box-shadow: 0 14px 40px rgba(23,59,56,.28);
      }
      .footer { padding-bottom: 150px; }
    }
