/* ============================================================
   Anita & Ifeanyi — Wedding Site
   Modern, restrained, fully centered.
   ============================================================ */

   :root {
    /* Palette */
    --bg:        #F6F1E8;
    --bg-2:      #EFE8D9;
    --paper:     #FBF7EE;
    --ink:       #1C1814;
    --ink-soft:  #4A4238;
    --stone:     #8A8174;
    --rule:      rgba(28, 24, 20, 0.14);
    --rule-soft: rgba(28, 24, 20, 0.06);
  
    /* Accents */
    --brick:     #A84628;
    --brick-2:   #862F1A;
    --ochre:     #B88A36;
    --wine:      #6B2233;
    --rose:      #C99383;
    --sage:      #8B947A;
    --champagne: #D9C5A0;
  
    --error:     #A84628;
  
    /* Type */
    --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
    --sans:  "Inter", system-ui, sans-serif;
    --mono:  "Inter", ui-monospace, monospace;
  
    /* Layout */
    --max:    1240px;
    --gutter: clamp(20px, 5vw, 64px);
  }
  
  * { box-sizing: border-box; margin: 0; padding: 0; }
  
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  
  body {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
  }
  
  /* Typography */
  h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  
  h1 { font-size: clamp(3rem, 9vw, 7rem); }
  h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
  h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 500; }
  h4 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
  
  p { font-size: clamp(1rem, 1.02vw, 1.05rem); color: var(--ink-soft); }
  
  a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
  a:hover { color: var(--brick); }
  
  .mono-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--stone);
    display: inline-block;
  }
  
  /* ============================================================
     Navigation
     ============================================================ */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 22px var(--gutter);
    background: rgba(246, 241, 232, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule-soft);
  }
  
  .nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
  }
  
  .nav-mark {
    justify-self: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    color: var(--ink);
  }
  
  .nav-links {
    display: flex;
    gap: clamp(14px, 2.5vw, 28px);
    font-family: var(--mono);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
    align-items: center;
  }
  
  .nav-links--left { justify-self: start; }
  .nav-links--right { justify-self: end; }
  
  .nav-links a:not(.nav-cta):hover,
  .nav-links a:not(.nav-cta).active { color: var(--brick); }
  
  .nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    background: var(--ink);
    color: var(--bg);
    border-radius: 100px;
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
    transition: background 0.2s ease;
  }
  
  .nav-cta:hover {
    background: var(--brick);
    color: var(--bg);
  }
  
  /* Hamburger button — hidden on desktop, shown on mobile */
  .nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin: -8px;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 60;
  }
  
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    margin: 5px auto;
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center;
  }
  
  /* When menu is open, animate the hamburger into an X */
  body.menu-open .nav-hamburger span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  body.menu-open .nav-hamburger span:nth-child(2) {
    opacity: 0;
  }
  body.menu-open .nav-hamburger span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
  
  /* Mobile menu overlay — full screen, slides in */
  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: var(--bg);
    padding: 80px var(--gutter) 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  body.menu-open .mobile-menu {
    opacity: 1;
    pointer-events: auto;
  }
  
  .mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 28px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 2.2rem;
    margin-bottom: 60px;
  }
  
  .mobile-menu-links a {
    color: var(--ink);
    transition: color 0.2s ease;
  }
  
  .mobile-menu-links a:hover,
  .mobile-menu-links a.active {
    color: var(--brick);
  }
  
  .mobile-menu-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 32px;
    background: var(--ink);
    color: var(--bg);
    border-radius: 100px;
    font-family: var(--mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
  }
  
  .mobile-menu-cta:hover {
    background: var(--brick);
    color: var(--bg);
  }
  
  .mobile-menu-foot {
    margin-top: 50px;
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--stone);
  }
  
  @media (max-width: 760px) {
    .nav-inner { grid-template-columns: auto 1fr auto; }
    .nav-links--left { display: none; }
    .nav-links--right { display: none; }
    .nav-mark { justify-self: start; }
    .nav-hamburger { display: block; justify-self: end; }
    .mobile-menu { display: flex; }
    /* Prevent body scroll when menu is open */
    body.menu-open { overflow: hidden; }
  }
  
  .page { padding-top: 80px; }
  
  /* ============================================================
     Hero — centered portrait photo, names below
     ============================================================ */
  .hero {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(40px, 6vw, 70px);
    text-align: center;
  }
  
  .hero-photo {
    width: 100%;
    max-width: 540px;
    /* aspect-ratio: 2 / 3; */
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-2), var(--bg));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeUp 1s 0.1s both;
  }
  
  .hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .hero-names {
    margin-top: clamp(40px, 5vw, 60px);
    animation: fadeUp 1s 0.3s both;
  }
  
  .hero-names h1 {
    font-style: italic;
    font-weight: 400;
    font-size: clamp(3rem, 9vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: -0.015em;
    color: var(--ink);
  }
  
  .hero-amp {
    font-style: normal;
    color: var(--ochre);
    font-size: 0.55em;
    vertical-align: 0.15em;
    padding: 0 0.2em;
    font-family: var(--serif);
  }
  
  .hero-tagline {
    margin-top: 22px;
    font-family: var(--mono);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: var(--ink-soft);
    font-weight: 500;
    animation: fadeUp 1s 0.55s both;
  }
  
  .hero-date-strip {
    margin-top: 36px;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 18px;
    padding: 14px 28px;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    font-family: var(--mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-soft);
    font-weight: 500;
    animation: fadeUp 1s 0.7s both;
  }
  
  .hero-date-strip .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--ochre);
    display: inline-block;
    align-self: center;
  }
  
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  
  /* ============================================================
     The Day — date, location, colors (centered stack)
     ============================================================ */
  .theday {
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(60px, 10vw, 120px) var(--gutter);
    text-align: center;
    border-top: 1px solid var(--rule);
  }
  
  .theday-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
  }
  
  .theday-block { text-align: center; }
  
  .theday-block .mono-label { margin-bottom: 16px; }
  
  .theday-block h2 {
    font-style: italic;
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    margin-bottom: 10px;
  }
  
  .theday-block p {
    font-size: 1rem;
    color: var(--ink-soft);
  }
  
  /* Color swatches centered */
  .colors {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 10px;
  }
  
  .color-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
  .color-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--rule-soft);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 2px 8px rgba(28, 24, 20, 0.08);
  }
  
  .color-name {
    font-family: var(--mono);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--stone);
    font-weight: 500;
  }
  
  @media (max-width: 760px) {
    .theday-grid { grid-template-columns: 1fr; gap: 50px; }
  }
  
  /* ============================================================
     Events — centered, three columns
     ============================================================ */
  .events {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(60px, 10vw, 120px) var(--gutter);
    text-align: center;
    border-top: 1px solid var(--rule);
  }
  
  .events-header {
    max-width: 640px;
    margin: 0 auto 80px;
    text-align: center;
  }
  
  .events-header .mono-label { margin-bottom: 18px; }
  
  .events-header h2 {
    font-style: italic;
    margin-bottom: 20px;
  }
  
  .events-header p {
    font-size: 1.05rem;
  }
  
  .events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  
  .event-card {
    padding: 0 clamp(20px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    position: relative;
    border-right: 1px solid var(--rule);
    min-height: 320px;
    text-align: center;
  }
  
  .event-card:first-child { padding-left: 0; }
  .event-card:last-child  { border-right: none; padding-right: 0; }
  
  .event-number {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--brick);
  }
  
  .event-time {
    font-family: var(--mono);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--stone);
    font-weight: 500;
  }
  
  .event-name {
    font-style: italic;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.1;
  }
  
  .event-location {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--ink-soft);
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--rule-soft);
    width: 100%;
  }
  
  .event-location strong {
    display: block;
    font-style: normal;
    font-family: var(--mono);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
    color: var(--stone);
    margin-bottom: 6px;
  }
  
  @media (max-width: 760px) {
    .events-header { margin-bottom: 50px; }
    .events-grid { grid-template-columns: 1fr; }
    .event-card {
      padding: 30px 0;
      border-right: none;
      border-bottom: 1px solid var(--rule);
      min-height: auto;
    }
    .event-card:last-child { border-bottom: none; }
  }
  
  /* ============================================================
     RSVP CTA
     ============================================================ */
  .rsvp-cta {
    background: var(--ink);
    color: var(--bg);
    padding: clamp(80px, 12vw, 140px) var(--gutter);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .rsvp-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(at 20% 30%, rgba(168, 70, 40, 0.15) 0%, transparent 50%),
      radial-gradient(at 80% 70%, rgba(184, 138, 54, 0.08) 0%, transparent 50%);
    pointer-events: none;
  }
  
  .rsvp-cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
  
  .rsvp-cta .mono-label { color: var(--ochre); }
  
  .rsvp-cta h2 {
    color: var(--bg);
    font-style: italic;
    margin: 18px 0 30px;
  }
  
  .rsvp-cta p {
    color: rgba(246, 241, 232, 0.75);
    font-size: 1.1rem;
    max-width: 480px;
    margin: 0 auto 40px;
  }
  
  .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 36px;
    background: var(--bg);
    color: var(--ink);
    border-radius: 100px;
    font-family: var(--mono);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
  }
  
  .cta-btn:hover {
    background: var(--brick);
    color: var(--bg);
    transform: translateX(4px);
  }
  
  .cta-btn svg { transition: transform 0.3s ease; }
  .cta-btn:hover svg { transform: translateX(4px); }
  
  .rsvp-cta .cta-deadline {
    margin: 60px auto 0;
    font-family: var(--mono);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(246, 241, 232, 0.6);
  }
  
  /* ============================================================
     Subpage header (centered)
     ============================================================ */
  .subpage-header {
    padding: 100px var(--gutter) 60px;
    max-width: var(--max);
    margin: 0 auto;
    text-align: center;
    border-bottom: 1px solid var(--rule);
  }
  
  .subpage-header .mono-label { margin-bottom: 18px; }
  .subpage-header h1 {
    font-style: italic;
    font-size: clamp(3rem, 7vw, 5rem);
    margin-bottom: 24px;
  }
  .subpage-header p {
    max-width: 580px;
    margin: 0 auto;
    font-size: 1.1rem;
  }
  
  /* ============================================================
     Story page
     ============================================================ */
  .story { padding: 80px 0 100px; }
  
  .story-text {
    max-width: 680px;
    margin: 0 auto 80px;
    padding: 0 var(--gutter);
    text-align: center;
  }
  
  .pull-quote {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: 40px;
  }
  
  .story-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-align: left;
  }
  
  .story-paragraphs p {
    font-size: 1.08rem;
    line-height: 1.75;
  }
  
  .story-paragraphs .first-line {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--brick);
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
  }
  
  /* The closing signature line — "We will see you in Lagos." */
  .story-paragraphs .story-closing {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.3;
    color: var(--brick);
    margin-top: 12px;
  }
  
  /* "From Anita" attribution above the pull quote */
  .story-attribution {
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--stone);
    margin-bottom: 28px;
    font-weight: 500;
    display: inline-block;
    position: relative;
    padding-bottom: 14px;
  }
  
  .story-attribution::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 1px;
    background: var(--ochre);
  }
  
  /* Section break within the story — e.g. "How it started" */
  .story-section {
    display: block;
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--brick);
    font-weight: 500;
    margin-top: 24px;
    margin-bottom: 4px;
  }
  
  .story-section:first-child { margin-top: 0; }
  
  .collage {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 70px;
    gap: 20px;
  }
  
  .collage-photo {
    background: linear-gradient(135deg, var(--bg-2), var(--bg));
    border: 1px solid var(--rule);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .collage-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  
  /* Chronological layout — 6 photos, the proposal photo (p5) takes a larger feature slot */
  .collage-photo.p1 { grid-column: 1 / 5;   grid-row: 1 / 6;  }
  .collage-photo.p2 { grid-column: 5 / 9;   grid-row: 2 / 7;  }
  .collage-photo.p3 { grid-column: 9 / 13;  grid-row: 1 / 6;  }
  .collage-photo.p4 { grid-column: 1 / 5;   grid-row: 7 / 12; }
  .collage-photo.p5 { grid-column: 5 / 10;  grid-row: 8 / 14; } /* proposal — featured */
  .collage-photo.p6 { grid-column: 10 / 13; grid-row: 7 / 12; }
  
  @media (max-width: 760px) {
    .collage { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; gap: 12px; }
    .collage-photo.p1 { grid-column: 1 / 2; grid-row: 1 / 2; }
    .collage-photo.p2 { grid-column: 2 / 3; grid-row: 1 / 2; }
    .collage-photo.p3 { grid-column: 1 / 2; grid-row: 2 / 3; }
    .collage-photo.p4 { grid-column: 2 / 3; grid-row: 2 / 3; }
    .collage-photo.p5 { grid-column: 1 / 3; grid-row: 3 / 5; } /* proposal stays featured on mobile */
    .collage-photo.p6 { grid-column: 1 / 3; grid-row: 5 / 6; }
  }
  
  /* ============================================================
     Q + A page
     ============================================================ */
  .qa { padding: 80px 0 100px; }
  
  .qa-list {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 var(--gutter);
  }
  
  .qa-item {
    border-bottom: 1px solid var(--rule);
    padding: 24px 0;
  }
  
  .qa-item:first-child { border-top: 1px solid var(--rule); }
  
  .qa-question {
    width: 100%;
    background: none;
    border: none;
    padding: 8px 0;
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-style: italic;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    transition: color 0.2s ease;
  }
  
  .qa-question:hover { color: var(--brick); }
  
  .qa-toggle {
    font-family: var(--mono);
    font-size: 1.2rem;
    color: var(--brick);
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }
  
  .qa-item.is-open .qa-toggle { transform: rotate(45deg); }
  
  .qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
  }
  
  .qa-item.is-open .qa-answer {
    max-height: 500px;
    padding-top: 16px;
  }
  
  .qa-answer p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-soft);
  }
  
  /* ============================================================
     Registry page
     ============================================================ */
  .registry {
    padding: 80px var(--gutter) 100px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
  }
  
  .registry-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
    text-align: left;
  }
  
  .registry-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .registry-card h3 { font-style: italic; margin-bottom: 8px; }
  
  .bank-details {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid var(--rule);
  }
  
  .bank-details > div {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
    align-items: baseline;
  }
  
  .bank-details > div:last-child { border-bottom: none; }
  
  .bank-details dt {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--stone);
    font-weight: 500;
  }
  
  .bank-details dd {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--ink);
    word-break: break-all;
  }
  
  .registry-foot {
    font-style: italic;
    color: var(--ink-soft);
    max-width: 580px;
    margin: 0 auto;
    font-family: var(--serif);
    font-size: 1.15rem;
  }
  
  @media (max-width: 960px) {
    .registry-cards { grid-template-columns: 1fr 1fr; }
  }
  
  @media (max-width: 600px) {
    .registry-cards { grid-template-columns: 1fr; }
    .registry-card { padding: 28px; }
  }
  
  /* ============================================================
     RSVP page
     ============================================================ */
  .page-rsvp {
    background: var(--bg);
    min-height: 100vh;
  }
  
  .rsvp-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 22px var(--gutter);
    background: rgba(246, 241, 232, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule-soft);
  }
  
  .rsvp-nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .rsvp-back {
    font-family: var(--mono);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .rsvp-back:hover { color: var(--brick); }
  
  .rsvp-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 130px var(--gutter) 100px;
    display: grid;
    grid-template-columns: 0.85fr 1.4fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
  }
  
  .rsvp-intro {
    position: sticky;
    top: 120px;
  }
  
  .rsvp-intro .mono-label { margin-bottom: 16px; }
  
  .rsvp-intro h1 {
    font-style: italic;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
    line-height: 1;
  }
  
  .rsvp-intro p { font-size: 1rem; margin-bottom: 36px; }
  
  .step-tracker {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    border-top: 1px solid var(--rule);
    padding-top: 24px;
  }
  
  .step-tracker li {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-family: var(--mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--stone);
    font-weight: 500;
    padding: 10px 0;
    border-left: 2px solid transparent;
    padding-left: 16px;
    transition: all 0.3s ease;
    margin-left: -18px;
  }
  
  .step-tracker li span {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
    color: inherit;
  }
  
  .step-tracker .step-active {
    color: var(--brick);
    border-left-color: var(--brick);
  }
  
  .step-tracker .step-done { color: var(--ink-soft); }
  
  .step-tracker .step-done span::after {
    content: " ✓";
    color: var(--ochre);
    font-style: normal;
  }
  
  @media (max-width: 860px) {
    .rsvp-page { grid-template-columns: 1fr; padding-top: 110px; }
    .rsvp-intro { position: static; }
    .step-tracker {
      flex-direction: row;
      gap: 0;
      border-top: none;
      padding-top: 0;
    }
    .step-tracker li {
      padding: 8px 14px;
      margin-left: 0;
      border-left: none;
      border-bottom: 2px solid transparent;
      flex: 1;
      justify-content: center;
    }
    .step-tracker .step-active {
      border-bottom-color: var(--brick);
      border-left-color: transparent;
    }
  }
  
  /* ============================================================
     Multi-step form
     ============================================================ */
  .rsvp-form { position: relative; }
  
  .form-step {
    border: none;
    padding: 0;
    margin: 0;
    display: none;
    animation: stepIn 0.4s ease;
  }
  
  .form-step.is-active {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  
  @keyframes stepIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  
  .step-legend {
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .step-legend h3 {
    font-style: italic;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
  }
  
  .step-legend h3 .step-aka {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.55em;
    color: var(--stone);
    font-weight: 400;
    margin-left: 6px;
    vertical-align: 0.2em;
  }
  
  .step-lede {
    font-size: 1rem;
    margin-top: -8px;
    margin-bottom: 8px;
    max-width: 480px;
  }
  
  .step-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
  }
  
  .step-back {
    background: none;
    border: none;
    font-family: var(--mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 500;
    color: var(--ink-soft);
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.2s ease;
  }
  
  .step-back:hover { color: var(--brick); }
  
  .step-next, .submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 28px;
    background: var(--ink);
    color: var(--bg);
    border: none;
    font-family: var(--mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: 100px;
  }
  
  .step-next:hover, .submit-btn:hover {
    background: var(--brick);
    transform: translateX(4px);
  }
  
  .step-next svg, .submit-btn svg { transition: transform 0.25s ease; }
  .step-next:hover svg, .submit-btn:hover svg { transform: translateX(4px); }
  
  /* ============================================================
     Form fields
     ============================================================ */
  .field { display: flex; flex-direction: column; gap: 10px; }
  
  .field label, .field-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    color: var(--ink-soft);
  }
  
  .optional {
    text-transform: none;
    letter-spacing: 0;
    color: var(--stone);
    font-style: italic;
  }
  
  .field input[type="text"],
  .field input[type="email"],
  .field input[type="tel"],
  .field textarea {
    font-family: var(--serif);
    font-size: 1.25rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--rule);
    padding: 12px 0 10px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease;
    width: 100%;
    border-radius: 0;
  }
  
  .field textarea {
    font-family: var(--sans);
    font-size: 1rem;
    resize: vertical;
  }
  
  .field input:focus,
  .field textarea:focus { border-bottom-color: var(--brick); }
  
  .field input::placeholder { color: var(--stone); font-style: italic; }
  
  .field-error input,
  .field-error textarea { border-bottom-color: var(--error) !important; }
  
  .field-error .radio-pill span { border-color: var(--error); }
  
  .hidden-field { position: absolute; left: -9999px; }
  
  .radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .radio-pill { position: relative; cursor: pointer; }
  
  .radio-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  
  .radio-pill span {
    display: inline-block;
    padding: 12px 20px;
    border: 1px solid var(--rule);
    border-radius: 100px;
    font-family: var(--mono);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 500;
    transition: all 0.2s ease;
    background: transparent;
    color: var(--ink-soft);
  }
  
  .radio-pill:hover span {
    border-color: var(--brick);
    color: var(--brick);
  }
  
  .radio-pill input:checked + span {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
  }
  
  /* Fabric cards inside RSVP */
  .fabric-intro { display: block; margin-bottom: 4px; }
  
  .fabric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .fabric-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .fabric-card:hover { border-color: var(--brick); }
  
  /* Highlight card subtly when a quantity has been added */
  .fabric-card.is-selected {
    border-color: var(--brick);
    background: var(--bg-2);
  }
  
  .fabric-body {
    padding: 24px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
  }
  
  .fabric-cat {
    font-family: var(--mono);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    color: var(--brick);
  }
  
  .fabric-cat em {
    font-family: var(--serif);
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.95rem;
    color: var(--stone);
    margin-left: 4px;
    font-weight: 400;
  }
  
  .fabric-body h4 {
    font-style: italic;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.15;
  }
  
  .fabric-desc { font-size: 0.88rem; line-height: 1.5; color: var(--ink-soft); }
  
  .fabric-price {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--ink);
    margin-top: 4px;
    line-height: 1;
  }
  
  .fabric-price-unit {
    font-family: var(--mono);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--stone);
    font-weight: 500;
    margin-left: 6px;
    vertical-align: 0.2em;
  }
  
  .fabric-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
    margin-top: auto;
  }
  
  .qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--rule);
    border-radius: 100px;
  }
  
  .qty-btn {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--ink);
    transition: color 0.2s ease;
  }
  
  .qty-btn:hover { color: var(--brick); }
  .qty-btn:disabled { color: var(--stone); cursor: not-allowed; opacity: 0.4; }
  
  .qty-input {
    width: 36px;
    text-align: center;
    background: transparent;
    border: none;
    font-family: var(--mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    -moz-appearance: textfield;
  }
  
  .qty-input::-webkit-outer-spin-button,
  .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
  
  @media (max-width: 720px) {
    .fabric-grid { grid-template-columns: 1fr; gap: 14px; }
  }
  
  /* Running subtotal under the cards */
  .fabric-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 18px 20px;
    background: var(--ink);
    color: var(--bg);
    margin-top: 4px;
    animation: stepIn 0.3s ease;
  }
  
  .fabric-total[hidden] { display: none; }
  
  .fabric-total-label {
    font-family: var(--mono);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    color: rgba(246, 241, 232, 0.8);
  }
  
  .fabric-total-value {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.6rem;
    color: var(--bg);
  }
  
  .akwa-otu-note {
    font-size: 0.92rem;
    color: var(--ink-soft);
    background: var(--bg-2);
    border-left: 2px solid var(--brick);
    padding: 14px 18px;
    font-family: var(--sans);
    margin-top: 4px;
    line-height: 1.55;
  }
  
  .akwa-otu-note strong { color: var(--ink); font-weight: 600; }
  
  .placeholder-label {
    font-family: var(--mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--stone);
    border: 1px dashed var(--rule);
    padding: 8px 14px;
  }
  
  /* ============================================================
     Thanks page
     ============================================================ */
  .page-thanks {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .thanks {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px var(--gutter) 80px;
  }
  
  .thanks-wrap {
    max-width: 640px;
    text-align: center;
  }
  
  .thanks h1 {
    font-style: italic;
    margin: 18px 0 28px;
    color: var(--brick);
  }
  
  .thanks-body { font-size: 1.1rem; margin-bottom: 16px; }
  
  .thanks-actions {
    margin-top: 40px;
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .thanks-cta {
    display: inline-flex;
    align-items: center;
    padding: 16px 28px;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.25s ease;
  }
  
  .thanks-cta:hover { 
    background: var(--brick);
    color: var(--bg);
  }
  
  .thanks-link {
    font-family: var(--mono);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 4px;
  }
  
  /* ============================================================
     Footer
     ============================================================ */
  .footer {
    background: var(--ink);
    color: var(--bg);
    padding: 80px var(--gutter) 30px;
    text-align: center;
  }
  
  .footer-hashtag {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--ochre);
    margin-bottom: 14px;
    letter-spacing: 0.01em;
  }
  
  .footer-mark-text {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--bg);
    margin-bottom: 8px;
  }
  
  .footer-grid {
    max-width: var(--max);
    margin: 50px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(246, 241, 232, 0.15);
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .footer-links {
    display: flex;
    gap: 28px;
    font-family: var(--mono);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
  }
  
  .footer-links a { color: var(--bg); }
  .footer-links a:hover { color: var(--ochre); }
  
  .footer-mark .mono-label {
    color: rgba(246, 241, 232, 0.7);
    display: block;
  }
  
  .footer-fineprint {
    font-family: var(--serif);
    font-style: italic;
    color: rgba(246, 241, 232, 0.6);
    margin-top: 20px;
  }
  
  @media (max-width: 600px) {
    .footer-grid { flex-direction: column; text-align: center; }
  }
  