/* ============================================================================
   Ciyona & Nihit — Mumbai
   assets/css/main.css

   Layer order is declared once, up front. Everything below lands in a layer,
   so specificity never has to be fought with — a later layer always wins,
   regardless of selector weight. This is what keeps .section and .btn from
   cancelling each other out.
   ========================================================================= */

@layer reset, tokens, base, layout, components, utilities;

/* ══════════════════════════════ RESET ═══════════════════════════════════ */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }

  html { -webkit-text-size-adjust: 100%; }

  body, h1, h2, h3, p, ul, ol, dl, dd, figure {
    margin: 0;
    padding: 0;
  }

  ul, ol { list-style: none; }

  img, video, iframe { display: block; max-width: 100%; }
  img, video { height: auto; }

  button, input, select, textarea {
    font: inherit;
    color: inherit;
  }

  button { background: none; border: 0; cursor: pointer; }

  summary::-webkit-details-marker { display: none; }
}

/* ══════════════════════════════ TOKENS ══════════════════════════════════ */
@layer tokens {
  :root {
    /* ── Colour ─────────────────────────────────────────────────────────
       Sampled from Van Gogh's Starry Night, per the dress code.           */
    --c-canvas:      #FAF6F0;   /* page ground                            */
    --c-canvas-alt:  #F1E9DD;   /* banded sections                        */
    --c-night:       #14213D;   /* dark sections, headings                */
    --c-night-deep:  #0D1628;   /* lightbox scrim                         */
    --c-ochre:       #C98A6B;   /* accent                                 */
    --c-ochre-dark:  #A96C4F;   /* accent on light ground (AA contrast)   */
    --c-ink:         #2C2A3D;   /* body text                              */
    --c-ink-soft:    #5A5568;   /* secondary text                         */
    --c-quiet:       #A89C86;   /* footer, captions                       */
    --c-rule:        #E5DCCB;   /* hairlines                              */

    --c-on-dark:        #FAF6F0;
    --c-on-dark-soft:   rgb(250 246 240 / 0.75);
    --c-on-dark-faint:  rgb(250 246 240 / 0.18);

    --c-ok:   #9BD3A8;
    --c-err:  #E9A99A;

    /* ── Type ───────────────────────────────────────────────────────────
       Great Vibes for the names only. Cormorant Garamond carries the body:
       higher contrast and a smaller x-height than a workhorse serif, which
       reads as invitation stationery rather than blog. Inter handles labels
       and numerals, where a display serif turns mushy at 11px.             */
    --f-script: 'Great Vibes', cursive;
    --f-body:   'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --f-ui:     'Inter', system-ui, -apple-system, sans-serif;

    --fs-micro: 0.6875rem;   /* 11px — eyebrows, labels                   */
    --fs-small: 0.875rem;
    --fs-body:  1.125rem;    /* Cormorant runs small; 18px is its 16px    */
    --fs-lede:  1.25rem;

    --lh-tight: 1.2;
    --lh-body:  1.7;

    --track-wide: 0.28em;    /* eyebrows                                  */
    --track-mid:  0.14em;    /* nav, buttons                              */

    /* ── Space (one scale, used everywhere) ─────────────────────────── */
    --s-1:  0.25rem;
    --s-2:  0.5rem;
    --s-3:  0.75rem;
    --s-4:  1rem;
    --s-5:  1.5rem;
    --s-6:  2rem;
    --s-7:  3rem;
    --s-8:  4rem;
    --s-9:  6rem;

    --section-y: clamp(var(--s-8), 10vw, var(--s-9));
    --gutter:    clamp(var(--s-4), 5vw, var(--s-6));

    /* ── Measure ────────────────────────────────────────────────────── */
    --w-narrow: 32rem;
    --w-text:   42rem;
    --w-wide:   64rem;

    /* ── Motion ─────────────────────────────────────────────────────── */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --dur:  0.6s;

    --radius:    10px;
    --radius-sm: 6px;
  }
}

/* ═══════════════════════════════ BASE ═══════════════════════════════════ */
@layer base {
  html { scroll-behavior: smooth; }

  body {
    background: var(--c-canvas);
    color: var(--c-ink);
    font-family: var(--f-body);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: var(--lh-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  a { color: var(--c-ochre-dark); }

  ::selection { background: var(--c-ochre); color: #fff; }

  :focus-visible {
    outline: 2px solid var(--c-ochre);
    outline-offset: 3px;
    border-radius: 2px;
  }

  .skip-link {
    position: absolute;
    left: var(--s-4);
    top: -4rem;
    z-index: 200;
    padding: var(--s-2) var(--s-4);
    background: var(--c-night);
    color: var(--c-on-dark);
    font-family: var(--f-ui);
    font-size: var(--fs-small);
    border-radius: var(--radius-sm);
    transition: top 0.2s var(--ease);
  }
  .skip-link:focus { top: var(--s-4); }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/* ══════════════════════════════ LAYOUT ══════════════════════════════════ */
@layer layout {

  /* Sections own their vertical rhythm. Nothing inside sets section padding,
     so there is exactly one place to change it. */
  .section {
    padding-block: var(--section-y);
    padding-inline: var(--gutter);
    text-align: center;
  }

  .section--band { background: var(--c-canvas-alt); }

  .section--dark {
    background: var(--c-night);
    color: var(--c-on-dark);
  }

  .wrap          { max-width: var(--w-text);   margin-inline: auto; }
  .wrap--wide    { max-width: var(--w-wide); }
  .wrap--narrow  { max-width: var(--w-narrow); }

  .center { text-align: center; }
}

/* ════════════════════════════ COMPONENTS ════════════════════════════════ */
@layer components {

  /* ── Section headings ───────────────────────────────────────────────── */
  .eyebrow {
    font-family: var(--f-ui);
    font-size: var(--fs-micro);
    font-weight: 600;
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
    color: var(--c-ochre);
    margin-bottom: var(--s-3);
  }

  .display {
    font-family: var(--f-script);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 400;
    line-height: var(--lh-tight);
    color: var(--c-night);
  }
  .section--dark .display { color: var(--c-on-dark); }

  .rule {
    width: 3.75rem;
    height: 1px;
    border: 0;
    background: var(--c-ochre);
    margin: var(--s-5) auto var(--s-6);
    opacity: 0.75;
  }

  .lede {
    font-size: var(--fs-lede);
    color: var(--c-ink-soft);
    max-width: 52ch;
    margin-inline: auto;
  }
  .section--dark .lede { color: var(--c-on-dark-soft); }

  /* ── Unfilled content. Deliberately loud so nothing ships half-written. */
  .todo {
    display: block;
    font-style: italic;
    font-size: var(--fs-small);
    font-family: var(--f-ui);
    color: #7A6E5C;
    background: rgb(201 138 107 / 0.08);
    border: 1px dashed #CBB9A3;
    border-radius: var(--radius-sm);
    padding: var(--s-3) var(--s-4);
  }
  .section--dark .todo { color: var(--c-on-dark-soft); border-color: var(--c-on-dark-faint); }

  /* ── Nav ────────────────────────────────────────────────────────────── */
  .site-nav {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    padding: var(--s-3) var(--gutter);
    transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  }

  .site-nav.is-solid {
    background: rgb(250 246 240 / 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--c-rule);
  }

  .site-nav__mark {
    font-family: var(--f-script);
    font-size: 1.6rem;
    line-height: 1;
    color: var(--c-on-dark);
    text-decoration: none;
    transition: color var(--dur) var(--ease);
  }
  .site-nav.is-solid .site-nav__mark { color: var(--c-night); }

  .site-nav__links {
    display: flex;
    gap: var(--s-5);
  }
  .site-nav__links a {
    position: relative;
    font-family: var(--f-ui);
    font-size: var(--fs-micro);
    font-weight: 500;
    letter-spacing: var(--track-mid);
    text-transform: uppercase;
    text-decoration: none;
    color: var(--c-on-dark-soft);
    transition: color var(--dur) var(--ease);
  }
  .site-nav.is-solid .site-nav__links a { color: var(--c-ink-soft); }

  .site-nav__links a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    inset-block-end: -4px;
    height: 1px;
    background: var(--c-ochre);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
  }
  .site-nav__links a:hover::after,
  .site-nav__links a:focus-visible::after { transform: scaleX(1); }

  .site-nav__cta {
    font-family: var(--f-ui);
    font-size: var(--fs-micro);
    font-weight: 600;
    letter-spacing: var(--track-mid);
    text-transform: uppercase;
    text-decoration: none;
    background: var(--c-ochre);
    color: #fff;
    padding: var(--s-2) var(--s-5);
    border-radius: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease);
  }
  .site-nav.is-solid .site-nav__cta { opacity: 1; pointer-events: auto; }

  @media (width <= 48rem) {
    .site-nav__links { display: none; }
    .site-nav__cta   { opacity: 1; pointer-events: auto; }
  }

  /* ── Hero ───────────────────────────────────────────────────────────── */
  .hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100svh;
    padding: var(--s-9) var(--gutter);
    text-align: center;
    color: var(--c-on-dark);
    overflow: hidden;
    /* Fallback ground: if the video 404s, this is what guests see. */
    background: linear-gradient(160deg, #1B2A4A 0%, #14213D 55%, #2A2036 100%);
  }

  .hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero__scrim {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 50% 40%, rgb(20 26 51 / 0.35), rgb(20 26 51 / 0.75));
  }

  .hero__content { position: relative; }

  .hero__eyebrow {
    font-family: var(--f-ui);
    font-size: var(--fs-micro);
    font-weight: 500;
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: var(--s-5);
  }

  .hero__names {
    font-family: var(--f-script);
    font-size: clamp(3.5rem, 11vw, 7rem);
    font-weight: 400;
    line-height: 1;
    text-shadow: 0 2px 30px rgb(0 0 0 / 0.35);
  }
  .hero__amp { font-size: 0.7em; opacity: 0.8; }

  .hero__subtitle {
    font-style: italic;
    font-size: var(--fs-lede);
    opacity: 0.9;
    margin-top: var(--s-4);
  }

  .hero__date {
    font-family: var(--f-ui);
    font-size: var(--fs-micro);
    font-weight: 500;
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
    opacity: 0.85;
    margin-top: var(--s-5);
  }
  .hero__sep { color: var(--c-ochre); margin-inline: var(--s-2); }

  .hero__cue {
    position: absolute;
    inset-block-end: var(--s-6);
    font-family: var(--f-ui);
    font-size: var(--fs-micro);
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
    opacity: 0.6;
  }
  .hero__cue::after {
    content: "";
    display: block;
    width: 1px;
    height: 2rem;
    margin: var(--s-2) auto 0;
    background: linear-gradient(to bottom, rgb(250 246 240 / 0.7), transparent);
    animation: cue 2.2s var(--ease) infinite;
  }
  @keyframes cue {
    0%, 100% { opacity: 0.25; transform: scaleY(0.6); }
    50%      { opacity: 1;    transform: scaleY(1); }
  }

  /* ── Countdown ──────────────────────────────────────────────────────── */
  .countdown {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s-3);
    margin-top: var(--s-7);
  }

  .countdown__unit {
    min-width: 4.5rem;
    padding: var(--s-3) var(--s-2);
    border: 1px solid var(--c-on-dark-faint);
    border-radius: var(--radius);
    background: rgb(250 246 240 / 0.06);
    backdrop-filter: blur(4px);
  }

  .countdown__num {
    display: block;
    font-family: var(--f-ui);
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    color: var(--c-ochre);
  }

  .countdown__label {
    display: block;
    font-family: var(--f-ui);
    font-size: 0.625rem;
    letter-spacing: var(--track-mid);
    text-transform: uppercase;
    opacity: 0.75;
  }

  /* ── Story timeline ─────────────────────────────────────────────────── */
  .section--story {
    background-image:
      linear-gradient(rgb(250 246 240 / 0.9), rgb(250 246 240 / 0.94)),
      url("/assets/img/our-story-bg.jpg");
    background-size: cover;
    background-position: center;
  }

  .timeline {
    position: relative;
    margin-top: var(--s-7);
    padding-inline-start: var(--s-6);
    text-align: start;
  }
  .timeline::before {
    content: "";
    position: absolute;
    inset-inline-start: 7px;
    inset-block: var(--s-2);
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--c-rule) 8%, var(--c-rule) 92%, transparent);
  }

  .timeline__item { position: relative; padding-bottom: var(--s-7); }
  .timeline__item:last-child { padding-bottom: 0; }

  .timeline__item::before {
    content: "";
    position: absolute;
    inset-inline-start: calc(var(--s-6) * -1);
    inset-block-start: 0.6rem;
    width: 15px;
    height: 15px;
    border: 2px solid var(--c-ochre);
    border-radius: 50%;
    background: var(--c-canvas);
    transition: background 0.5s var(--ease), transform 0.5s var(--ease);
  }
  .timeline__item.is-in::before { background: var(--c-ochre); transform: scale(1.1); }

  .timeline__when {
    font-family: var(--f-ui);
    font-size: var(--fs-micro);
    font-weight: 600;
    letter-spacing: var(--track-mid);
    text-transform: uppercase;
    color: var(--c-ochre);
  }

  .timeline__what {
    font-family: var(--f-script);
    font-size: 1.9rem;
    font-weight: 400;
    line-height: var(--lh-tight);
    color: var(--c-night);
    margin-block: var(--s-1) var(--s-2);
  }

  .timeline__body { color: var(--c-ink-soft); }

  /* ── Gallery ────────────────────────────────────────────────────────── */
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    gap: var(--s-2);
    margin-top: var(--s-6);
  }

  .gallery__cell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #E8DCCB, #D9C7AF);
    cursor: zoom-in;
  }
  .gallery__cell:nth-child(4n + 2) { aspect-ratio: 1 / 1; }
  .gallery__cell:nth-child(4n + 3) { aspect-ratio: 4 / 5; }

  .gallery__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
  }
  .gallery__cell:hover img { transform: scale(1.05); }

  /* ── Lightbox ───────────────────────────────────────────────────────── */
  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: var(--s-6) var(--s-4);
    background: rgb(13 22 40 / 0.95);
  }
  .lightbox[hidden] { display: none; }

  .lightbox__img {
    max-width: min(92vw, 68rem);
    max-height: 86vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
  }

  .lightbox__btn {
    position: absolute;
    display: grid;
    place-items: center;
    width: 2.875rem;
    height: 2.875rem;
    border: 1px solid rgb(250 246 240 / 0.3);
    border-radius: 50%;
    color: var(--c-on-dark);
    font-size: 1.2rem;
    transition: background 0.3s var(--ease);
  }
  .lightbox__btn:hover { background: rgb(250 246 240 / 0.15); }

  .lightbox__btn--close { inset-block-start: var(--s-5); inset-inline-end: var(--s-5); }
  .lightbox__btn--prev  { inset-inline-start: var(--s-5); }
  .lightbox__btn--next  { inset-inline-end: var(--s-5); }

  .lightbox__count {
    position: absolute;
    inset-block-end: var(--s-5);
    font-family: var(--f-ui);
    font-size: var(--fs-micro);
    letter-spacing: var(--track-mid);
    color: var(--c-on-dark-soft);
  }

  /* ── Schedule ───────────────────────────────────────────────────────── */
  .schedule { margin-top: var(--s-6); text-align: start; }

  .schedule__item {
    position: relative;
    display: grid;
    grid-template-columns: 6rem 1fr;
    gap: var(--s-5);
    padding-block: var(--s-5);
    border-block-end: 1px solid var(--c-on-dark-faint);
  }
  .schedule__item:last-child { border-block-end: 0; }

  .schedule__time {
    font-family: var(--f-ui);
    font-size: var(--fs-small);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--c-ochre);
  }

  .schedule__title { font-size: var(--fs-lede); font-weight: 600; }
  .schedule__desc  { color: var(--c-on-dark-soft); font-size: 1rem; margin-top: var(--s-1); }

  /* Activates by itself on 17 Jan 2027. */
  .schedule__item.is-now::after {
    content: "Happening now";
    position: absolute;
    inset-inline-end: 0;
    inset-block-start: var(--s-5);
    padding: 0 var(--s-3);
    border: 1px solid var(--c-ochre);
    border-radius: 20px;
    font-family: var(--f-ui);
    font-size: 0.625rem;
    letter-spacing: var(--track-mid);
    text-transform: uppercase;
    color: var(--c-ochre);
  }

  @media (width <= 30rem) {
    .schedule__item { grid-template-columns: 1fr; gap: var(--s-1); }
    .schedule__item.is-now::after { position: static; display: inline-block; margin-top: var(--s-2); }
  }

  /* ── Fact list ──────────────────────────────────────────────────────── */
  .facts { margin-top: var(--s-6); text-align: start; }

  .facts__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--s-4);
    padding-block: var(--s-3);
    border-block-end: 1px solid var(--c-rule);
  }

  .facts__row dt {
    flex: none;
    font-family: var(--f-ui);
    font-size: var(--fs-micro);
    font-weight: 600;
    letter-spacing: var(--track-mid);
    text-transform: uppercase;
    color: var(--c-night);
  }

  .facts__row dd { text-align: end; }
  .facts__row a  { text-decoration-thickness: 1px; text-underline-offset: 3px; }

  /* ── Swatches ───────────────────────────────────────────────────────── */
  .swatches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s-4);
    margin-block: var(--s-6);
  }

  .swatches__item {
    font-family: var(--f-ui);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: var(--track-mid);
    text-transform: uppercase;
    color: var(--c-ink-soft);
    text-align: center;
  }

  .swatches__chip {
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto var(--s-2);
    border-radius: 50%;
    background: var(--chip);
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.06), 0 6px 18px rgb(20 33 61 / 0.1);
    transition: transform 0.5s var(--ease);
  }
  .swatches__item:hover .swatches__chip { transform: translateY(-4px) scale(1.05); }

  /* ── Map ────────────────────────────────────────────────────────────── */
  .map {
    margin-top: var(--s-6);
    border: 1px solid var(--c-rule);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--c-canvas-alt);
  }
  .map iframe { width: 100%; height: 100%; border: 0; }

  /* ── Cards ──────────────────────────────────────────────────────────── */
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: var(--s-4);
    margin-top: var(--s-6);
    text-align: start;
  }

  .card {
    padding: var(--s-5);
    border: 1px solid var(--c-rule);
    border-radius: var(--radius);
    background: var(--c-canvas);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  }
  .section--band .card { background: #fff; }
  .card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgb(20 33 61 / 0.08); }

  .card__tag {
    font-family: var(--f-ui);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: var(--track-mid);
    text-transform: uppercase;
    color: var(--c-ochre);
    margin-bottom: var(--s-2);
  }

  .card__title { font-size: var(--fs-lede); font-weight: 600; color: var(--c-night); }
  .card__body  { font-size: 1rem; color: var(--c-ink-soft); margin-top: var(--s-1); }

  /* ── FAQ ────────────────────────────────────────────────────────────── */
  .faq { margin-top: var(--s-6); text-align: start; }

  .faq__item { border-block-end: 1px solid var(--c-rule); }

  .faq__q {
    position: relative;
    padding: var(--s-4) var(--s-7) var(--s-4) 0;
    list-style: none;
    cursor: pointer;
    font-size: var(--fs-lede);
    font-weight: 600;
    color: var(--c-night);
  }
  .faq__q::after {
    content: "+";
    position: absolute;
    inset-inline-end: var(--s-1);
    inset-block-start: 50%;
    translate: 0 -50%;
    font-family: var(--f-ui);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--c-ochre);
    transition: rotate 0.35s var(--ease);
  }
  .faq__item[open] .faq__q::after { rotate: 45deg; }

  .faq__a {
    padding-block-end: var(--s-5);
    color: var(--c-ink-soft);
    animation: faq-open 0.4s var(--ease);
  }
  @keyframes faq-open {
    from { opacity: 0; translate: 0 -6px; }
    to   { opacity: 1; translate: 0 0; }
  }

  /* ── Buttons ────────────────────────────────────────────────────────── */
  .btn {
    display: block;
    width: 100%;
    margin-top: var(--s-3);
    padding: var(--s-4) var(--s-6);
    border-radius: 50px;
    background: var(--c-ochre);
    color: #fff;
    font-family: var(--f-ui);
    font-size: var(--fs-micro);
    font-weight: 600;
    letter-spacing: var(--track-mid);
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    transition: translate 0.25s var(--ease), background 0.25s var(--ease);
  }
  .btn:hover:not(:disabled) { translate: 0 -2px; background: var(--c-ochre-dark); }
  .btn:disabled { opacity: 0.55; cursor: wait; }

  .btn--inline { display: inline-block; width: auto; margin-top: var(--s-6); }

  /* ── Form ───────────────────────────────────────────────────────────── */
  .form {
    display: grid;
    gap: var(--s-4);
    margin-top: var(--s-6);
    text-align: start;
  }

  .field-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-4);
  }
  @media (width <= 32rem) {
    .field-pair { grid-template-columns: 1fr; }
  }

  .field__label {
    display: block;
    margin-bottom: var(--s-2);
    font-family: var(--f-ui);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: var(--track-mid);
    text-transform: uppercase;
    color: var(--c-on-dark-soft);
  }

  .field__input {
    width: 100%;
    padding: var(--s-3) var(--s-4);
    border: 1px solid var(--c-on-dark-faint);
    border-radius: var(--radius-sm);
    background: rgb(250 246 240 / 0.06);
    color: var(--c-on-dark);
    font-family: var(--f-body);
    font-size: 1rem;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  }
  .field__input:focus {
    border-color: var(--c-ochre);
    background: rgb(250 246 240 / 0.1);
  }
  .field__input::placeholder { color: rgb(250 246 240 / 0.4); }
  .field__input option { color: #111; }

  .field__input--area { resize: vertical; min-height: 5rem; }

  /* Honeypot. Bots fill it; humans never see it. */
  .field--trap {
    position: absolute;
    inset-inline-start: -9999px;
  }

  .form__msg {
    min-height: 1.4em;
    margin-top: var(--s-3);
    font-style: italic;
    font-size: 1rem;
  }
  .form__msg.is-ok  { color: var(--c-ok); }
  .form__msg.is-err { color: var(--c-err); }

  .rsvp__deadline {
    font-family: var(--f-ui);
    font-size: var(--fs-micro);
    font-weight: 500;
    letter-spacing: var(--track-mid);
    text-transform: uppercase;
    color: var(--c-ochre);
    margin-top: var(--s-5);
  }

  .rsvp__fallback {
    margin-top: var(--s-5);
    font-family: var(--f-ui);
    font-size: var(--fs-small);
    color: var(--c-on-dark-soft);
  }
  .rsvp__fallback a { color: var(--c-on-dark); }

  .section--rsvp { position: relative; overflow: hidden; }
  .section--rsvp::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(closest-side, rgb(201 138 107 / 0.16), transparent 70%);
    pointer-events: none;
  }
  .section--rsvp > .wrap { position: relative; }

  /* ── Footer ─────────────────────────────────────────────────────────── */
  .site-footer {
    padding: var(--s-7) var(--gutter);
    text-align: center;
    background: var(--c-canvas);
  }
  .site-footer__mark {
    font-family: var(--f-script);
    font-size: 2rem;
    color: var(--c-ochre);
  }
  .site-footer__meta {
    font-family: var(--f-ui);
    font-size: var(--fs-micro);
    letter-spacing: var(--track-mid);
    color: var(--c-quiet);
    margin-top: var(--s-2);
  }
}

/* ════════════════════════════ UTILITIES ═════════════════════════════════ */
@layer utilities {
  /* Scroll reveal. Hidden state is applied by JS (.js-on on <html>) so the
     page is fully readable if JavaScript never runs. */
  .js-on .js-reveal {
    opacity: 0;
    translate: 0 24px;
    transition: opacity 0.9s var(--ease), translate 0.9s var(--ease);
  }
  .js-on .js-reveal.is-in { opacity: 1; translate: 0 0; }

  .js-on .js-reveal--d1 { transition-delay: 0.12s; }
  .js-on .js-reveal--d2 { transition-delay: 0.24s; }

  @media (prefers-reduced-motion: reduce) {
    .js-on .js-reveal { opacity: 1; translate: 0 0; }
  }
}


/* Type scale bump */
:root {
  --fs-micro: 0.75rem;
  --fs-small: 1rem;
  --fs-body:  1.25rem;
  --fs-lede:  1.4375rem;
  --lh-body:  1.65;
}


/* Phone shell */
@media (min-width: 560px) {
  html { background: var(--c-night-deep); }

  body {
    max-width: 430px;
    margin-inline: auto;
    background: var(--c-canvas);
    box-shadow: 0 0 80px rgb(0 0 0 / 0.5);
    overflow-x: hidden;
  }

  /* fixed would span the whole screen; sticky keeps it inside the column */
  .site-nav {
    position: sticky;
    inset-inline: auto;
    width: 100%;
  }

  .hero { height: 88vh; }

  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cards   { grid-template-columns: 1fr; }

  .wrap, .wrap--wide, .wrap--narrow { max-width: 100%; }
  .lede { max-width: 100%; }
}


/* Nav trim */
.site-nav__links { display: none; }
.site-nav { justify-content: space-between; }
.site-nav__mark { font-size: 1.9rem; }


/* Shell fixes */
/* nav must overlay the hero, not sit above it in flow */
@media (min-width: 560px) {
  .site-nav {
    position: fixed;
    inset-inline: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 430px;
    max-width: 100%;
  }
}

/* the story photo was swallowing the text */
.section--story {
  background-image: none;
  background-color: var(--c-canvas);
}
.section--story::before,
.section--story::after {
  background-image: none;
  opacity: 0;
}

/* the ampersand was stranding on its own line */
.hero__names { font-size: clamp(2.6rem, 12vw, 3.6rem); }


/* Readable body face */
:root {
  /* Great Vibes keeps the names and headings. Lora carries the reading. */
  --f-body:   'Lora', Georgia, 'Times New Roman', serif;

  /* Lora sets larger than Cormorant, so the scale comes back down */
  --fs-micro: 0.6875rem;
  --fs-small: 0.9375rem;
  --fs-body:  1.0625rem;
  --fs-lede:  1.1875rem;
  --lh-body:  1.7;

  /* secondary text was too pale against cream */
  --c-ink-soft: #4A4458;
}


/* QA pass */
:root {
  --c-on-dark-soft: rgb(250 246 240 / 0.92);
  --c-on-dark-faint: rgb(250 246 240 / 0.32);
}

/* these two hardcoded 1rem and ignored the type scale entirely */
.schedule__desc,
.card__body,
.faq__a,
.timeline__body { font-size: var(--fs-body); }

/* 6rem of time column left ~200px for text in a 430px shell */
.schedule__item { grid-template-columns: 4.25rem 1fr; gap: var(--s-4); }
.schedule__time { font-size: 0.8125rem; }

.map { aspect-ratio: 4 / 3; }


/* Story */
.story {
  max-width: 34rem;
  margin: var(--s-6) auto 0;
  text-align: center;
}

.story__p {
  font-size: var(--fs-lede);
  line-height: 1.75;
  color: var(--c-ink-soft);
}
.story__p + .story__p { margin-top: var(--s-5); }

.story__p--close {
  font-style: italic;
  color: var(--c-ink);
}

.story__motif {
  margin-block: var(--s-5);
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0.1em;
  opacity: 0.85;
}


/* Jump nav */
.jump {
  position: sticky;
  top: 3.4rem;              /* sits just under the fixed header */
  z-index: 50;
  display: flex;
  gap: var(--s-2);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: var(--s-3) var(--gutter);
  background: rgb(250 246 240 / 0.94);
  backdrop-filter: blur(10px);
  border-block-end: 1px solid var(--c-rule);
}
.jump::-webkit-scrollbar { display: none; }

.jump a {
  flex: none;
  padding: 0.45rem var(--s-4);
  border: 1px solid var(--c-rule);
  border-radius: 40px;
  background: #fff;
  font-family: var(--f-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--c-night);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.jump a:hover,
.jump a:focus-visible { background: var(--c-ochre); color: #fff; border-color: var(--c-ochre); }

/* stop the sticky bars covering a heading you just jumped to */
section[id] { scroll-margin-top: 7rem; }


/* Type consistency */
/* prose is Lora everywhere; Inter is for labels and numerals only */
.rsvp__fallback {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* one reading size across every section */
.story__p, .lede { font-size: var(--fs-body); }
.story__p { line-height: var(--lh-body); }


/* Final type + story bg */
/* families stated outright so no later cascade can drift them */
body, .story__p, .lede, .schedule__desc, .schedule__title,
.card__body, .card__title, .faq__q, .faq__a,
.facts__row dd, .hero__subtitle, .rsvp__fallback,
.timeline__body { font-family: 'Lora', Georgia, serif; }

.eyebrow, .jump a, .btn, .site-nav__cta, .schedule__time,
.card__tag, .facts__row dt, .swatches__item, .countdown__num,
.countdown__label, .hero__eyebrow, .hero__date, .hero__cue,
.rsvp__deadline, .site-footer__meta { font-family: 'Inter', system-ui, sans-serif; }

.display, .hero__names, .site-nav__mark,
.site-footer__mark { font-family: 'Great Vibes', cursive; }

/* one reading size everywhere */
.story__p, .lede, .schedule__desc, .card__body,
.faq__a, .facts__row dd, .rsvp__fallback {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* the collage, behind a heavy cream wash so the words still win */
.section--story {
  background-image:
    linear-gradient(rgb(250 246 240 / 0.93), rgb(250 246 240 / 0.95)),
    url("/assets/img/our-story-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}
.section--story::before,
.section--story::after { background-image: none; opacity: 0; }


/* Palette grid v2 */
.swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-4) 8px;
  justify-items: center;
  margin-block: var(--s-6);
}

.swatches__item {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  text-align: center;
}

.swatches__chip {
  display: block;
  width: 100%;
  max-width: 3rem;
  aspect-ratio: 1;
  margin: 0 auto var(--s-2);
  border-radius: 50%;
  background: var(--chip);
  /* pale chips need a real edge against cream */
  box-shadow: inset 0 0 0 1px rgb(20 33 61 / 0.14), 0 3px 10px rgb(20 33 61 / 0.1);
  transition: transform 0.4s var(--ease);
}
.swatches__item:hover .swatches__chip { transform: translateY(-3px) scale(1.08); }

.swatches__name { position: static; width: auto; height: auto; clip-path: none; margin: 0; }


/* Gallery grid */
.gallery { grid-template-columns: repeat(3, 1fr); gap: 5px; }
.gallery__cell,
.gallery__cell:nth-child(4n + 2),
.gallery__cell:nth-child(4n + 3) { aspect-ratio: 3 / 4; }
