/* ==========================================================================
   KK Wedding Site — stylesheet
   A black-and-white editorial system: true black and warm whites set in
   alternating bands, an oversized display serif (Cormorant Garamond) over
   a quiet grotesk (Hanken Grotesk), photography in monochrome with one
   moment of natural color at the close.

   The six palette colors come from Wedding Site > Colors in the admin
   (--kkw-black, --kkw-charcoal, --kkw-paper, --kkw-white, --kkw-mist,
   --kkw-gray), injected as inline vars on .kkw. Defaults are below.

   Contents
     1. Tokens
     2. Base and resets (scoped to .kkw so a theme can't leak in)
     3. Tones — the light/dark surfaces every band is painted with
     4. Shared type and ornaments
     5. Header and navigation
     6. Hero
     7. Date card and countdown
     8. Our Love Story
     9. Section frame (Travel, Schedule, Wedding Party, FAQs)
    10. Travel
    11. Schedule
    12. Wedding Party
    13. FAQs
    14. Closing photo and footer
    15. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */

.kkw {
  /* Palette (overridable from the admin) */
  --kkw-black: #0b0b0b;
  --kkw-charcoal: #1a1a19;
  --kkw-paper: #f4f3ef;
  --kkw-white: #fbfbf9;
  --kkw-mist: #e6e5e1;
  --kkw-gray: #6c6b67;
  --kkw-gray-on-dark: #9b9a96;

  /* Type */
  --kkw-display: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --kkw-sans: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --kkw-fs-label: 0.72rem;
  --kkw-fs-small: 0.875rem;
  --kkw-fs-body: 1.0625rem;
  --kkw-fs-lede: clamp(1.25rem, 1.6vw, 1.5rem);
  --kkw-fs-h4: clamp(1.5rem, 2.2vw, 2rem);
  --kkw-fs-h3: clamp(1.75rem, 3vw, 2.5rem);
  --kkw-fs-h2: clamp(3.25rem, 8vw, 7.5rem);
  --kkw-fs-hero: clamp(4.5rem, 12.5vw, 13.5rem);

  --kkw-track-label: 0.24em;

  /* Space */
  --kkw-gutter: clamp(1.25rem, 4vw, 3.5rem);
  --kkw-section-y: clamp(5.5rem, 12vw, 11rem);
  --kkw-shell: 1440px;
  --kkw-measure: 34rem;
  --kkw-nav-h: 4.75rem;

  /* Motion */
  --kkw-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --kkw-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --kkw-slow: 1.4s;
}
@media (max-width: 700px) {
  .kkw { --kkw-nav-h: 4rem; --kkw-fs-body: 1rem; }
}

/* 2. Base ------------------------------------------------------------------ */

.kkw {
  background: var(--kkw-paper);
  color: var(--kkw-black);
  font-family: var(--kkw-sans);
  font-size: var(--kkw-fs-body);
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.kkw *, .kkw *::before, .kkw *::after { box-sizing: inherit; }
.kkw img { max-width: 100%; height: auto; display: block; border: 0; border-radius: 0; box-shadow: none; }
.kkw a { color: inherit; text-decoration: none; }
.kkw button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; border-radius: 0; box-shadow: none; text-transform: none; letter-spacing: inherit; }
.kkw h1, .kkw h2, .kkw h3, .kkw h4, .kkw p, .kkw figure, .kkw ul { margin: 0; padding: 0; }
.kkw h1, .kkw h2, .kkw h3, .kkw h4 { color: inherit; text-transform: none; letter-spacing: normal; font-weight: 400; line-height: 1.1; }
.kkw ::selection { background: var(--kkw-black); color: var(--kkw-white); }

/* Visible-to-screen-readers-only text */
.kkw .kkw-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Focus: one consistent, high-contrast ring in the current text color */
.kkw a:focus-visible,
.kkw button:focus-visible,
.kkw summary:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

/* Full-width page: breaks out of a narrow theme container. Offsets with
   `left` rather than margins, because block themes force auto margins
   (with !important) on content children; overconstrained auto margins
   resolve to 0 on the left, so the offset lands at the viewport edge. */
.kkw-page {
  position: relative;
  left: calc(50% - 50vw);
  width: 100vw;
  max-width: none !important;
  margin-left: 0;
  margin-right: 0;
  margin-block: 0 !important;
  overflow-x: clip;
  counter-reset: kkw-sec;
}

/* The plugin's own full-screen template (no theme chrome) */
body.kkw-blank { margin: 0; padding: 0; background: #0b0b0b; }

/* A faint film grain across the whole page — tactile rather than flat. */
.kkw-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.kkw .kkw-shell {
  width: 100%;
  max-width: var(--kkw-shell);
  margin: 0 auto;
  padding-inline: var(--kkw-gutter);
}

/* 3. Tones ------------------------------------------------------------------
   Each band picks a surface; text, muted text and hairlines follow. */

.kkw .kkw-tone-dark,
.kkw .kkw-hero,
.kkw .kkw-schedule,
.kkw .kkw-closing,
.kkw .kkw-foot,
.kkw .kkw-header.is-solid {
  --kkw-fg: var(--kkw-white);
  --kkw-muted: var(--kkw-gray-on-dark);
  --kkw-line: rgba(255, 255, 255, 0.16);
  background-color: var(--kkw-black);
  color: var(--kkw-fg);
}
.kkw .kkw-date, .kkw .kkw-party {
  --kkw-fg: var(--kkw-black);
  --kkw-muted: var(--kkw-gray);
  --kkw-line: rgba(11, 11, 11, 0.14);
  background-color: var(--kkw-paper);
  color: var(--kkw-fg);
}
.kkw .kkw-travel {
  --kkw-fg: var(--kkw-black);
  --kkw-muted: var(--kkw-gray);
  --kkw-line: rgba(11, 11, 11, 0.12);
  background-color: var(--kkw-white);
  color: var(--kkw-fg);
}
.kkw .kkw-faqs {
  --kkw-fg: var(--kkw-black);
  --kkw-muted: #5f5e5a;
  --kkw-line: rgba(11, 11, 11, 0.16);
  background-color: var(--kkw-mist);
  color: var(--kkw-fg);
}

/* 4. Shared type ------------------------------------------------------------ */

.kkw .kkw-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--kkw-sans);
  font-size: var(--kkw-fs-label);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: var(--kkw-track-label);
  text-transform: uppercase;
  color: var(--kkw-muted);
}

.kkw .kkw-h2 {
  font-family: var(--kkw-display);
  font-size: var(--kkw-fs-h2);
  font-weight: 400;
  font-variation-settings: "opsz" 96;
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--kkw-fg);
}

.kkw .kkw-prose p { margin: 0 0 1.25em; }
.kkw .kkw-prose p:last-child { margin-bottom: 0; }
.kkw .kkw-prose a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

/* Text link with a growing hairline underline */
.kkw .kkw-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding-bottom: 0.4em;
  font-size: var(--kkw-fs-label);
  font-weight: 500;
  letter-spacing: var(--kkw-track-label);
  text-transform: uppercase;
  white-space: nowrap;
}
.kkw .kkw-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.6s var(--kkw-ease);
}
.kkw .kkw-link:hover::after { transform: scaleX(0); }
.kkw .kkw-link__arrow { font-size: 1.15em; letter-spacing: 0; transition: transform 0.5s var(--kkw-ease); }
.kkw .kkw-link:hover .kkw-link__arrow { transform: translate(2px, -2px); }

/* Frames: a photo container that crops on purpose, with a soft gray
   placeholder while the image loads. */
.kkw .kkw-frame { position: relative; overflow: hidden; background: var(--kkw-mist); }
.kkw .kkw-frame img { width: 100%; height: 100%; object-fit: cover; }

/* 5. Header and navigation ---------------------------------------------------
   Sticky inside the page wrapper; on the home page it overlaps the hero
   (negative margin) and is transparent until the hero scrolls away. */

.kkw .kkw-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--kkw-nav-h);
  padding-inline: var(--kkw-gutter);
  color: var(--kkw-white);
  background-color: transparent;
  transition: background-color 0.6s var(--kkw-ease), border-color 0.6s var(--kkw-ease);
  border-bottom: 1px solid transparent;
}
.kkw-page--home .kkw-header { margin-bottom: calc(-1 * var(--kkw-nav-h)); }
.kkw .kkw-header.is-solid {
  background-color: rgba(11, 11, 11, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.admin-bar .kkw .kkw-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .kkw .kkw-header { top: 46px; }
}

.kkw .kkw-header__mark {
  position: relative;
  z-index: 2;
  font-family: var(--kkw-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}
.kkw .kkw-header__mark i { margin: 0 0.12em; font-style: italic; font-weight: 400; }

.kkw .kkw-nav__list {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  list-style: none;
}
.kkw .kkw-nav__list li { margin: 0; padding: 0; list-style: none; }
.kkw .kkw-nav a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  font-size: var(--kkw-fs-label);
  font-weight: 500;
  letter-spacing: var(--kkw-track-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.4s var(--kkw-ease);
}
.kkw .kkw-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.2rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--kkw-ease);
}
.kkw .kkw-nav a:hover,
.kkw .kkw-nav a[aria-current] { color: var(--kkw-white); }
.kkw .kkw-nav a:hover::after,
.kkw .kkw-nav a[aria-current]::after { transform: scaleX(1); }

/* Menu button: only on narrow screens */
.kkw .kkw-menu-btn {
  position: relative;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 0.85rem;
  min-height: 44px;
  font-size: var(--kkw-fs-label);
  font-weight: 500;
  letter-spacing: var(--kkw-track-label);
  text-transform: uppercase;
}
.kkw .kkw-menu-btn__icon { position: relative; width: 22px; height: 7px; }
.kkw .kkw-menu-btn__icon::before,
.kkw .kkw-menu-btn__icon::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--kkw-ease), top 0.5s var(--kkw-ease);
}
.kkw .kkw-menu-btn__icon::before { top: 0; }
.kkw .kkw-menu-btn__icon::after { top: 6px; }
.kkw .kkw-menu-btn[aria-expanded="true"] .kkw-menu-btn__icon::before { top: 3px; transform: rotate(25deg); }
.kkw .kkw-menu-btn[aria-expanded="true"] .kkw-menu-btn__icon::after { top: 3px; transform: rotate(-25deg); }

@media (max-width: 860px) {
  .kkw .kkw-menu-btn { display: inline-flex; }
  /* Full-screen menu: a black page of large serif links */
  .kkw .kkw-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--kkw-nav-h) + 2rem) var(--kkw-gutter) 3rem;
    background: var(--kkw-black);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s var(--kkw-ease), visibility 0s linear 0.6s;
  }
  .kkw .kkw-header.is-open .kkw-nav {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s var(--kkw-ease), visibility 0s;
  }
  .kkw .kkw-header.is-open { background-color: transparent; border-bottom-color: transparent; }
  .kkw .kkw-nav__list { flex-direction: column; gap: 0.35rem; width: 100%; }
  .kkw .kkw-nav__list li {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--kkw-ease), transform 0.7s var(--kkw-ease);
  }
  .kkw .kkw-header.is-open .kkw-nav__list li { opacity: 1; transform: none; }
  .kkw .kkw-header.is-open .kkw-nav__list li:nth-child(2) { transition-delay: 0.05s; }
  .kkw .kkw-header.is-open .kkw-nav__list li:nth-child(3) { transition-delay: 0.1s; }
  .kkw .kkw-header.is-open .kkw-nav__list li:nth-child(4) { transition-delay: 0.15s; }
  .kkw .kkw-header.is-open .kkw-nav__list li:nth-child(5) { transition-delay: 0.2s; }
  .kkw .kkw-header.is-open .kkw-nav__list li:nth-child(6) { transition-delay: 0.25s; }
  .kkw .kkw-nav a {
    display: block;
    padding: 0.9rem 0 0.6rem;
    font-family: var(--kkw-display);
    font-size: clamp(2.25rem, 10vw, 3.5rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    text-transform: none;
    line-height: 1.05;
    color: var(--kkw-white);
  }
  .kkw .kkw-nav a::after { display: none; }
  .kkw .kkw-nav a[aria-current] { font-style: italic; }
}
.kkw-menu-open { overflow: hidden; }

/* 6. Hero -------------------------------------------------------------------
   Desktop: black cover, photo as a full-height column on the right half,
   names huge on the left, the second name crossing into the photo
   (difference blend keeps it legible over light and dark alike, and
   stays monochrome because the photo is). Narrow: photo fills the screen,
   names at its foot over a dark fade. */

.kkw .kkw-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 1fr auto;
  column-gap: var(--kkw-gutter);
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--kkw-nav-h) var(--kkw-gutter) 0;
  overflow: hidden;
}

.kkw .kkw-hero__media {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  left: 50%;
  z-index: -1;
  overflow: hidden;
  background: var(--kkw-charcoal);
}
.kkw .kkw-hero__track { position: absolute; inset: 0; }
.kkw .kkw-hero__media::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 9rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.kkw .kkw-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1) contrast(1.06) brightness(0.92);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s var(--kkw-ease-in-out), transform 7s linear;
}
.kkw .kkw-slide.is-active { opacity: 1; transform: scale(1); }

.kkw .kkw-hero__copy {
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: center;
  padding-block: clamp(2rem, 6vh, 5rem);
  color: #fff;
  mix-blend-mode: difference;
}
.kkw .kkw-hero__kicker {
  margin-bottom: clamp(1.5rem, 4vh, 2.75rem);
  font-size: var(--kkw-fs-label);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.kkw .kkw-hero__names {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--kkw-display);
  font-size: var(--kkw-fs-hero);
  font-weight: 400;
  font-variation-settings: "opsz" 96;
  line-height: 0.86;
  letter-spacing: -0.035em;
}
.kkw .kkw-mask { display: block; overflow: hidden; padding: 0 0.04em 0.1em; margin-bottom: -0.1em; }
.kkw .kkw-mask > span { display: block; }
.kkw .kkw-hero__amp {
  display: block;
  margin: 0.02em 0 0.02em 1.1em;
  font-size: 0.42em;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0;
}
.kkw .kkw-hero__second { margin-left: 0.9em; }

.kkw .kkw-hero__meta {
  grid-column: 1 / 7;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  padding: 1.5rem 0 clamp(1.5rem, 4vh, 2.5rem);
  border-top: 1px solid var(--kkw-line);
  font-size: var(--kkw-fs-label);
  font-weight: 500;
  letter-spacing: var(--kkw-track-label);
  text-transform: uppercase;
  color: var(--kkw-muted);
}
.kkw .kkw-hero__meta span:first-child { color: var(--kkw-fg); }
/* Pre-invitation: the coming-soon line, picked out in full white */
.kkw .kkw-hero__meta .kkw-hero__invite { color: var(--kkw-fg); }

.kkw .kkw-hero__controls {
  position: absolute;
  right: var(--kkw-gutter);
  bottom: clamp(1.5rem, 4vh, 2.5rem);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #fff;
}
.kkw .kkw-ctl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  opacity: 0.8;
  transition: opacity 0.4s var(--kkw-ease), transform 0.4s var(--kkw-ease);
}
.kkw .kkw-ctl:hover { opacity: 1; }
.kkw .kkw-ctl[data-kkw-prev]:hover { transform: translateX(-3px); }
.kkw .kkw-ctl[data-kkw-next]:hover { transform: translateX(3px); }
/* pause / play glyphs drawn in CSS */
.kkw .kkw-ctl--pause span { position: relative; width: 9px; height: 11px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.kkw .kkw-ctl--pause[aria-pressed="true"] span { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.kkw .kkw-hero__count {
  min-width: 4.5rem;
  text-align: center;
  font-size: var(--kkw-fs-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  font-variant-numeric: tabular-nums;
}
.kkw .kkw-hero__progress {
  position: absolute;
  left: 0.75rem; right: 0.75rem; bottom: -0.35rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.kkw .kkw-hero__progress span {
  display: block;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
.kkw .kkw-hero__progress span.is-running { transform: scaleX(1); transition: transform var(--kkw-slide-ms, 6000ms) linear; }

.kkw .kkw-hero__cue {
  display: none !important;
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 44px;
  height: 64px;
  transform: translateX(-50%);
}
.kkw .kkw-hero__cue span {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #fff);
  transform-origin: bottom;
  animation: kkwCue 2.6s var(--kkw-ease-in-out) infinite;
}
@keyframes kkwCue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.kkw .kkw-hero--no-photo .kkw-hero__copy { grid-column: 1 / -1; mix-blend-mode: normal; }

/* Large screens: let the photo column stop short of the top so the
   header reads cleanly, and inset it from the right edge a touch. */
@media (min-width: 1280px) {
  .kkw .kkw-hero__media { left: 48%; }
}

/* Tablets keep the desktop cover as-is. Phones get the same composition
   scaled down: black ground, the photo as a tall column on the right
   (bleeding to the top and right edges), the names crossing into it, and
   the date/place row running full width underneath. */
@media (max-width: 699px) {
  .kkw .kkw-hero {
    grid-template-rows: minmax(0, 1fr) auto;
    column-gap: 0.75rem;
  }
  .kkw .kkw-hero__media {
    position: relative;
    inset: auto;
    grid-row: 1;
    grid-column: 6 / -1;
    margin: calc(-1 * var(--kkw-nav-h)) calc(-1 * var(--kkw-gutter)) 0 0;
  }
  .kkw .kkw-slide { object-position: 50% 25%; }
  .kkw .kkw-hero__copy { grid-row: 1; grid-column: 1 / -1; padding-block: 2rem; }
  /* Phones: the difference blend turns the names gray where they cross
     mid-tone parts of the photo, so they set in solid white with a soft
     shadow instead, over a slightly darker photo. */
  .kkw .kkw-hero__copy {
    mix-blend-mode: normal;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 2px 18px rgba(0, 0, 0, 0.6);
  }
  .kkw .kkw-slide { filter: grayscale(1) contrast(1.06) brightness(0.72); }
  .kkw .kkw-hero__kicker { margin-bottom: 1.25rem; font-size: 0.66rem; letter-spacing: 0.26em; }
  .kkw .kkw-hero__names { font-size: clamp(3.4rem, 20vw, 6rem); }
  .kkw .kkw-hero__amp { margin-left: 0.7em; }
  .kkw .kkw-hero__second { margin-left: 0.45em; }
  .kkw .kkw-hero__meta {
    grid-column: 1 / -1;
    gap: 0.5rem 1.5rem;
    padding: 1.1rem 0 1.5rem;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
  }
  .kkw .kkw-hero__controls {
    position: relative;
    right: auto;
    bottom: auto;
    grid-row: 1;
    grid-column: 6 / -1;
    align-self: end;
    justify-self: end;
    margin: 0 -0.75rem 0.5rem 0;
  }
  .kkw .kkw-hero__count { display: none; }
  .kkw .kkw-hero__cue { display: none; }
}

/* 7. Date card and countdown --------------------------------------------- */

.kkw .kkw-date { padding-block: var(--kkw-section-y); }
.kkw .kkw-date__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--kkw-gutter);
  row-gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}
.kkw .kkw-date__label { grid-column: 1 / -1; }
.kkw .kkw-date__label::after { content: ""; flex: 1; height: 1px; background: var(--kkw-line); }
.kkw .kkw-date__big {
  grid-column: 1 / -1;
  font-family: var(--kkw-display);
  font-size: clamp(3.75rem, 13.5vw, 14rem);
  font-weight: 400;
  font-variation-settings: "opsz" 96;
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.kkw .kkw-date__big time { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.18em; }
.kkw .kkw-date__day { font-style: italic; }
.kkw .kkw-date__year {
  align-self: flex-start;
  margin-left: 0.1em;
  font-family: var(--kkw-sans);
  font-size: 0.13em;
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 1;
  padding-top: 0.6em;
  color: var(--kkw-muted);
}
.kkw .kkw-date__details {
  grid-column: 1 / 6;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: var(--kkw-display);
  font-size: var(--kkw-fs-h4);
  font-style: italic;
  line-height: 1.3;
}
.kkw .kkw-date__invite {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  font-family: var(--kkw-sans);
  font-size: var(--kkw-fs-label);
  font-style: normal;
  font-weight: 500;
  letter-spacing: var(--kkw-track-label);
  text-transform: uppercase;
}
.kkw .kkw-date__invite::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
.kkw .kkw-countdown {
  grid-column: 7 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--kkw-line);
}
.kkw .kkw-countdown[hidden] { display: none; }
.kkw .kkw-cd {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 0 0 1.25rem;
  border-left: 1px solid var(--kkw-line);
}
.kkw .kkw-cd:first-child { border-left: 0; padding-left: 0; }
.kkw .kkw-cd__n {
  font-family: var(--kkw-display);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}
.kkw .kkw-cd__l {
  font-size: var(--kkw-fs-label);
  font-weight: 500;
  letter-spacing: var(--kkw-track-label);
  text-transform: uppercase;
  color: var(--kkw-muted);
}
@media (max-width: 860px) {
  .kkw .kkw-date__details, .kkw .kkw-countdown { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .kkw .kkw-cd { padding-left: 0.75rem; }
  .kkw .kkw-cd__l { letter-spacing: 0.14em; font-size: 0.66rem; }
}

/* 8. Our Love Story -----------------------------------------------------------
   Read like turning pages: an opening spread on warm white, then one
   spread per chapter. Type-only chapters alternate sides on light grounds;
   photo chapters go dark (full-bleed on black, overlapping pair on
   charcoal); pull quotes stand alone; the closing lines and the final
   line play out on black before the date card. */

.kkw .kkw-story { --kkw-fg: var(--kkw-black); --kkw-muted: var(--kkw-gray); --kkw-line: rgba(11, 11, 11, 0.14); color: var(--kkw-fg); }

/* Opening spread */
.kkw .kkw-story__open { background: var(--kkw-paper); padding-top: var(--kkw-section-y); }
.kkw .kkw-story__open-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--kkw-gutter);
}
.kkw .kkw-story__open .kkw-label { grid-column: 1 / -1; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.kkw .kkw-story__open .kkw-label::after { content: ""; flex: 1; height: 1px; background: var(--kkw-line); }
.kkw .kkw-story__title { grid-column: 1 / -1; font-size: clamp(3.5rem, 11vw, 11.5rem); max-width: 9ch; }
.kkw .kkw-story__intro {
  grid-column: 6 / -1;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  font-family: var(--kkw-display);
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1.35;
  max-width: 24ch;
}
.kkw .kkw-story__intro em {
  display: block;
  margin-top: 0.35em;
  font-size: 2.1em;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.kkw .kkw-story__open-media { grid-column: 1 / 5; grid-row: 3 / 5; align-self: start; margin-top: clamp(2.5rem, 6vw, 5rem); aspect-ratio: 4 / 5; }
.kkw .kkw-story__open-media img { filter: grayscale(1); }
.kkw .kkw-story__rail {
  grid-column: 6;
  display: block;
  width: 1px;
  height: clamp(5rem, 12vw, 10rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--kkw-fg);
  transform-origin: top;
}
@media (max-width: 860px) {
  .kkw .kkw-story__intro { grid-column: 1 / -1; padding-left: 14%; }
  .kkw .kkw-story__open-media { grid-column: 1 / -1; grid-row: auto; }
  .kkw .kkw-story__rail { grid-column: 1; }
}

/* Chapters */
.kkw .kkw-chapters { list-style: none; margin: 0; padding: 0; }
.kkw .kkw-ch { margin: 0; padding: 0; list-style: none; }
.kkw .kkw-ch__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--kkw-gutter);
}
.kkw .kkw-ch__no {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1rem, 2vw, 1.75rem);
  font-size: var(--kkw-fs-label);
  font-weight: 500;
  letter-spacing: var(--kkw-track-label);
  color: var(--kkw-muted);
}
.kkw .kkw-ch__no::after { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: 0.5; }
.kkw .kkw-ch__marker {
  font-family: var(--kkw-display);
  font-size: clamp(3.25rem, 8.5vw, 8.5rem);
  font-weight: 400;
  font-style: italic;
  font-variation-settings: "opsz" 96;
  line-height: 0.92;
  letter-spacing: -0.03em;
  max-width: 9ch;
}
.kkw .kkw-ch--num .kkw-ch__marker {
  font-size: clamp(6rem, 21vw, 21rem);
  font-style: normal;
  line-height: 0.78;
  letter-spacing: -0.06em;
  font-variant-numeric: lining-nums;
  max-width: none;
}
.kkw .kkw-ch__caption {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  font-size: var(--kkw-fs-label);
  font-weight: 500;
  letter-spacing: var(--kkw-track-label);
  text-transform: uppercase;
  color: var(--kkw-muted);
}
.kkw .kkw-ch__text { max-width: var(--kkw-measure); font-size: 1.125rem; line-height: 1.75; }
.kkw .kkw-ch__text em { font-family: var(--kkw-display); font-size: 1.35em; line-height: 1.3; }

/* Type-only chapters: marker left, a drawn vertical rule, text right —
   mirrored on alternate chapters. */
.kkw .kkw-ch--type { background: var(--kkw-paper); padding-block: clamp(4.5rem, 10vw, 9rem); }
.kkw .kkw-ch--type.kkw-ch--alt { background: var(--kkw-white); }
.kkw .kkw-ch--type .kkw-ch__head { grid-column: 1 / 7; grid-row: 1; align-self: end; }
.kkw .kkw-ch--type .kkw-ch__rule {
  grid-column: 8;
  grid-row: 1;
  justify-self: start;
  width: 1px;
  height: 100%;
  min-height: 8rem;
  background: var(--kkw-line);
  transform-origin: top;
}
.kkw .kkw-ch--type .kkw-ch__text { grid-column: 9 / -1; grid-row: 1; align-self: end; }
.kkw .kkw-ch--type.kkw-ch--alt .kkw-ch__head { grid-column: 6 / -1; justify-self: end; text-align: right; }
.kkw .kkw-ch--type.kkw-ch--alt .kkw-ch__no { justify-content: flex-end; }
.kkw .kkw-ch--type.kkw-ch--alt .kkw-ch__no::after { order: -1; }
.kkw .kkw-ch--type.kkw-ch--alt .kkw-ch__marker { margin-left: auto; }
.kkw .kkw-ch--type.kkw-ch--alt .kkw-ch__rule { grid-column: 5; justify-self: end; }
.kkw .kkw-ch--type.kkw-ch--alt .kkw-ch__text { grid-column: 1 / 5; }

/* Full-bleed photo chapter, on black */
.kkw .kkw-ch--full {
  --kkw-fg: var(--kkw-white);
  --kkw-muted: var(--kkw-gray-on-dark);
  --kkw-line: rgba(255, 255, 255, 0.16);
  background: var(--kkw-black);
  color: var(--kkw-fg);
  padding-bottom: clamp(4.5rem, 10vw, 9rem);
}
.kkw .kkw-ch__bleed { position: relative; }
.kkw .kkw-ch--full .kkw-ch__photo { height: min(94vh, 64vw); min-height: 26rem; }
.kkw .kkw-ch--full .kkw-ch__photo img { filter: grayscale(1) contrast(1.08) brightness(0.9); object-position: 50% 38%; transform: scale(1.1); }
.kkw .kkw-ch--full .kkw-ch__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(11, 11, 11, 0.55) 75%, var(--kkw-black) 100%);
}
.kkw .kkw-ch--full .kkw-ch__bleed > .kkw-shell { position: absolute; left: 0; right: 0; bottom: 0; margin-inline: auto; }
.kkw .kkw-ch--full .kkw-ch__head { max-width: 100%; }
.kkw .kkw-ch--full .kkw-ch__marker { max-width: 12ch; }
.kkw .kkw-ch--full .kkw-ch__text { grid-column: 7 / 12; margin-top: clamp(2.5rem, 5vw, 4rem); color: rgba(255, 255, 255, 0.86); }

/* Overlapping pair, on charcoal */
.kkw .kkw-ch--pair {
  --kkw-fg: var(--kkw-white);
  --kkw-muted: var(--kkw-gray-on-dark);
  --kkw-line: rgba(255, 255, 255, 0.16);
  background: var(--kkw-charcoal);
  color: var(--kkw-fg);
  padding-block: clamp(4.5rem, 10vw, 9rem);
}
.kkw .kkw-ch--pair .kkw-ch__head { grid-column: 1 / -1; grid-row: 1; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.kkw .kkw-ch--pair .kkw-ch__marker { max-width: none; }
.kkw .kkw-ch__pair { grid-column: 1 / 8; grid-row: 2; position: relative; padding-bottom: 18%; }
.kkw .kkw-ch__photo--a { width: 74%; aspect-ratio: 4 / 5; }
.kkw .kkw-ch__photo--a img { filter: grayscale(1) contrast(1.05); }
.kkw .kkw-ch__photo--b {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 5;
  outline: clamp(0.4rem, 0.9vw, 0.75rem) solid var(--kkw-charcoal);
}
.kkw .kkw-ch--pair .kkw-ch__text { grid-column: 9 / -1; grid-row: 2; align-self: center; color: rgba(255, 255, 255, 0.86); }

/* Pull quote: its own moment, set in the chapter's tone */
.kkw .kkw-ch__quote { margin: 0; padding: clamp(4rem, 9vw, 8rem) 0 0; border: 0; quotes: "\201C" "\201D"; }
.kkw .kkw-ch__quote p {
  position: relative;
  font-family: var(--kkw-display);
  font-size: clamp(2.1rem, 5.4vw, 5.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  padding-left: calc(var(--kkw-gutter) + 0.5em);
  padding-right: calc(var(--kkw-gutter) + 12%);
  text-wrap: balance;
}
.kkw .kkw-ch__quote p::before { content: open-quote; position: absolute; margin-left: -0.5em; }
.kkw .kkw-ch__quote p::after { content: close-quote; }

/* Close: the coda as a descending stair of lines, then the final line */
.kkw .kkw-story__close {
  --kkw-fg: var(--kkw-white);
  --kkw-muted: var(--kkw-gray-on-dark);
  background: var(--kkw-black);
  color: var(--kkw-fg);
  padding-block: var(--kkw-section-y) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.kkw .kkw-story__coda { display: flex; flex-direction: column; gap: 0.15em; font-family: var(--kkw-display); font-size: clamp(2rem, 5.6vw, 5.5rem); line-height: 1.02; letter-spacing: -0.02em; }
.kkw .kkw-story__coda-line { display: block; padding-left: calc(var(--kkw-i, 0) * 1.4em); }
.kkw .kkw-story__coda-line:last-child { font-style: italic; color: var(--kkw-muted); }
.kkw .kkw-story__finale {
  margin-top: clamp(5rem, 12vw, 11rem);
  font-family: var(--kkw-display);
  font-size: clamp(3.25rem, 11.5vw, 12.5rem);
  font-style: italic;
  font-variation-settings: "opsz" 96;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-align: center;
  text-wrap: balance;
}
.kkw .kkw-story__finale::after {
  content: "";
  display: block;
  width: 1px;
  height: clamp(4rem, 9vw, 7rem);
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  background: linear-gradient(180deg, var(--kkw-white), transparent);
}

/* Mobile: one vertical story flow — big markers, portrait photos,
   comfortable measure. */
@media (max-width: 860px) {
  .kkw .kkw-ch--type .kkw-ch__head,
  .kkw .kkw-ch--type.kkw-ch--alt .kkw-ch__head,
  .kkw .kkw-ch--type .kkw-ch__text,
  .kkw .kkw-ch--type.kkw-ch--alt .kkw-ch__text,
  .kkw .kkw-ch--full .kkw-ch__text,
  .kkw .kkw-ch--pair .kkw-ch__text,
  .kkw .kkw-ch__pair { grid-column: 1 / -1; grid-row: auto; }
  /* mirrored like desktop: alternate chapters set their marker and rule
     on the right, and each text column steps in from the opposite side */
  .kkw .kkw-ch--type .kkw-ch__rule,
  .kkw .kkw-ch--type.kkw-ch--alt .kkw-ch__rule {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: start;
    height: 4rem;
    min-height: 0;
    margin: 2rem 0;
  }
  .kkw .kkw-ch--type.kkw-ch--alt .kkw-ch__rule { justify-self: end; }
  .kkw .kkw-ch--type .kkw-ch__text { padding-left: 14%; }
  .kkw .kkw-ch--type.kkw-ch--alt .kkw-ch__text { padding-left: 0; padding-right: 14%; }
  .kkw .kkw-ch--num .kkw-ch__marker { font-size: clamp(6rem, 33vw, 12rem); }
  .kkw .kkw-ch--full .kkw-ch__photo { height: auto; min-height: 0; aspect-ratio: 4 / 5; max-height: 88svh; }
  .kkw .kkw-ch__pair { margin-bottom: 2.5rem; }
  .kkw .kkw-ch__photo--a { width: 82%; }
  .kkw .kkw-ch__photo--b { width: 52%; }
  .kkw .kkw-ch__quote p { padding-right: var(--kkw-gutter); }
  .kkw .kkw-story__coda-line { padding-left: calc(var(--kkw-i, 0) * 0.8em); }
}

@media (max-width: 860px) {
  /* desktop sets these texts in the right-hand columns; step them in */
  .kkw .kkw-ch--full .kkw-ch__text,
  .kkw .kkw-ch--pair .kkw-ch__text { padding-left: 14%; }
}

/* Simple fallback story (no chapters yet) */
.kkw .kkw-story--simple { background: var(--kkw-white); padding-block: var(--kkw-section-y); }
.kkw .kkw-story__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--kkw-gutter);
}
.kkw .kkw-story__head { grid-column: 2 / 12; display: grid; gap: 1.5rem; margin-bottom: clamp(3rem, 7vw, 6rem); }
.kkw .kkw-story__media { grid-column: 1 / 6; }
.kkw .kkw-story__media .kkw-frame { aspect-ratio: 4 / 5; }
.kkw .kkw-story__img { filter: grayscale(1); }
.kkw .kkw-story__text { grid-column: 7 / 12; align-self: end; max-width: var(--kkw-measure); }
.kkw .kkw-story--simple:not(.kkw-story--image) .kkw-story__text { grid-column: 4 / 10; }
@media (max-width: 960px) {
  .kkw .kkw-story__head, .kkw .kkw-story__media, .kkw .kkw-story__text,
  .kkw .kkw-story--simple:not(.kkw-story--image) .kkw-story__text { grid-column: 1 / -1; }
  .kkw .kkw-story__media { margin-bottom: 3rem; }
}

/* 9. Section frame ------------------------------------------------------------
   Default: a sticky title column on the left, content on the right. Some
   sections override this so the page doesn't repeat one layout. */

.kkw .kkw-section { padding-block: var(--kkw-section-y); scroll-margin-top: 0; }
.kkw .kkw-section__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--kkw-gutter);
  row-gap: clamp(2.5rem, 6vw, 5rem);
}
.kkw .kkw-section__head { grid-column: 1 / 6; display: grid; gap: 1.5rem; align-content: start; counter-increment: kkw-sec; }
.kkw .kkw-section__body { grid-column: 7 / -1; min-width: 0; }
.kkw .kkw-section__no::before { content: counter(kkw-sec, decimal-leading-zero); color: var(--kkw-fg); }
.kkw .kkw-section__no::after { content: ""; display: inline-block; width: 2.5rem; height: 1px; margin: 0 0 0.25em 1rem; vertical-align: middle; background: var(--kkw-line); }
@media (min-width: 961px) {
  .kkw .kkw-section__head { position: sticky; top: calc(var(--kkw-nav-h) + 2.5rem); align-self: start; }
  .admin-bar .kkw .kkw-section__head { top: calc(var(--kkw-nav-h) + 2.5rem + 32px); }
}
@media (max-width: 960px) {
  .kkw .kkw-section__head, .kkw .kkw-section__body { grid-column: 1 / -1; }
}

/* Inner pages: the first section starts right under the solid header —
   give it a taller top so the title has room to breathe. */
.kkw-page--inner .kkw-main > .kkw-section:first-child { padding-top: clamp(6rem, 14vw, 12rem); }

/* 10. Travel ------------------------------------------------------------------- */

/* Hotel (one-shot site): welcome line under the title, booking details
   as a labelled list */
.kkw .kkw-hotel__intro {
  max-width: 24rem;
  font-family: var(--kkw-display);
  font-size: var(--kkw-fs-lede);
  font-style: italic;
  line-height: 1.4;
  color: var(--kkw-muted);
}
.kkw .kkw-facts { margin: 1.5rem 0 0; border-top: 1px solid var(--kkw-line); }
.kkw .kkw-facts > div {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 0.25rem 1.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--kkw-line);
}
.kkw .kkw-facts dt {
  padding-top: 0.2em;
  font-size: var(--kkw-fs-label);
  font-weight: 500;
  letter-spacing: var(--kkw-track-label);
  text-transform: uppercase;
  color: var(--kkw-muted);
}
.kkw .kkw-facts dd { margin: 0; }
.kkw .kkw-facts a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.kkw .kkw-row__body .kkw-facts__note { margin-top: 1.25rem; color: var(--kkw-muted); }
@media (max-width: 520px) {
  .kkw .kkw-facts > div { grid-template-columns: 1fr; }
}


.kkw .kkw-group + .kkw-group { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.kkw .kkw-group__title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-family: var(--kkw-sans);
  font-size: var(--kkw-fs-label);
  font-weight: 500;
  letter-spacing: var(--kkw-track-label);
  text-transform: uppercase;
  color: var(--kkw-muted);
}
.kkw .kkw-list { display: flex; flex-direction: column; }
.kkw .kkw-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1rem 2.5rem;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--kkw-line);
}
.kkw .kkw-list .kkw-row:last-child { border-bottom: 1px solid var(--kkw-line); }
.kkw .kkw-row__title {
  font-family: var(--kkw-display);
  font-size: var(--kkw-fs-h3);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  transition: transform 0.7s var(--kkw-ease);
}
.kkw .kkw-row:hover .kkw-row__title { transform: translateX(0.35rem); font-style: italic; }
.kkw .kkw-row__meta {
  margin-top: 0.75rem;
  font-size: var(--kkw-fs-small);
  letter-spacing: 0.04em;
  color: var(--kkw-muted);
}
.kkw .kkw-row__body { margin-top: 1rem; max-width: var(--kkw-measure); }
.kkw .kkw-row__body p { margin: 0 0 0.5rem; }
.kkw .kkw-row__body p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  .kkw .kkw-row { grid-template-columns: 1fr; }
  .kkw .kkw-row__link { justify-self: start; }
}

/* 11. Schedule ------------------------------------------------------------------
   Black. Title across the top; each day a full-width band with its day
   name in the left column and the events stacked right; a huge outlined
   numeral sits behind each day. */

.kkw .kkw-schedule .kkw-section__head { grid-column: 1 / -1; position: static; }
.kkw .kkw-schedule .kkw-section__body { grid-column: 1 / -1; }
.kkw .kkw-schedule .kkw-section__body { counter-reset: kkw-day; }
.kkw .kkw-day {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--kkw-gutter);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--kkw-line);
  counter-increment: kkw-day;
}
.kkw .kkw-day::after {
  content: counter(kkw-day, decimal-leading-zero);
  position: absolute;
  right: 0;
  top: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--kkw-display);
  font-size: clamp(5rem, 14vw, 13rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  pointer-events: none;
  z-index: 0;
}
.kkw .kkw-day__title {
  grid-column: 1 / 5;
  font-family: var(--kkw-display);
  font-size: var(--kkw-fs-h3);
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 2rem;
}
.kkw .kkw-day > .kkw-event { grid-column: 5 / 12; position: relative; z-index: 1; }
/* undated items: no title, events span from the left */
.kkw .kkw-day > .kkw-event:first-child { grid-column: 5 / 12; }
.kkw .kkw-event {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  column-gap: 1.5rem;
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.kkw .kkw-event:last-child { padding-bottom: 0; }
.kkw .kkw-event > * { grid-column: 2; }
.kkw .kkw-event__time {
  grid-column: 1;
  grid-row: 1 / span 3;
  padding-top: 0.55rem;
  font-size: var(--kkw-fs-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--kkw-muted);
  font-variant-numeric: tabular-nums;
}
.kkw .kkw-event__title {
  font-family: var(--kkw-display);
  font-size: var(--kkw-fs-h4);
  font-weight: 400;
  line-height: 1.15;
}
.kkw .kkw-event__where { margin-top: 0.35rem; font-family: var(--kkw-display); font-style: italic; color: var(--kkw-muted); }
.kkw .kkw-event__desc { margin-top: 0.75rem; max-width: var(--kkw-measure); color: rgba(255, 255, 255, 0.82); }
.kkw .kkw-event__desc p { margin: 0 0 0.5rem; }
@media (max-width: 960px) {
  .kkw .kkw-day__title, .kkw .kkw-day > .kkw-event, .kkw .kkw-day > .kkw-event:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .kkw .kkw-event { grid-template-columns: 1fr; }
  .kkw .kkw-event > *, .kkw .kkw-event__time { grid-column: 1; grid-row: auto; }
  .kkw .kkw-event__time { padding-top: 0; margin-bottom: 0.4rem; }
}

/* 12. Wedding Party ---------------------------------------------------------------
   Title across the top; portraits in a staggered grid — every other
   column dropped, like a contact sheet laid out by hand. Monochrome until
   hovered. */

.kkw .kkw-party .kkw-section__head { grid-column: 1 / -1; position: static; }
.kkw .kkw-party .kkw-section__body { grid-column: 1 / -1; }
.kkw .kkw-party .kkw-group {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--kkw-gutter);
  padding-top: 1.25rem;
  border-top: 1px solid var(--kkw-line);
}
.kkw .kkw-party .kkw-group__title { grid-column: 1 / 4; align-self: start; margin-bottom: 2rem; }
.kkw .kkw-grid--party {
  grid-column: 4 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
  gap: clamp(2.5rem, 4vw, 3.5rem) var(--kkw-gutter);
}
/* few members: size portraits to themselves rather than stretching */
.kkw .kkw-grid--party:not(:has(> :nth-child(4))) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 20rem)); }
@media (min-width: 701px) {
  .kkw .kkw-grid--party > :nth-child(even) { margin-top: clamp(3rem, 7vw, 6rem); }
}
@media (max-width: 960px) {
  .kkw .kkw-party .kkw-group__title, .kkw .kkw-grid--party { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .kkw .kkw-grid--party, .kkw .kkw-grid--party:not(:has(> :nth-child(4))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kkw .kkw-grid--party > :nth-child(even) { margin-top: 2.5rem; }
}
.kkw .kkw-member { margin: 0; }
.kkw .kkw-member__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 1.2s var(--kkw-ease), transform 1.2s var(--kkw-ease);
}
.kkw .kkw-member:hover .kkw-member__photo { filter: grayscale(0); }
.kkw .kkw-member__photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--kkw-mist);
  color: var(--kkw-black);
  font-family: var(--kkw-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-style: italic;
  line-height: 1;
}
.kkw .kkw-member figcaption { padding-top: 1.1rem; }
.kkw .kkw-member__name { font-family: var(--kkw-display); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.15; }
.kkw .kkw-member__role {
  margin-top: 0.4rem;
  font-size: var(--kkw-fs-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--kkw-muted);
}
.kkw .kkw-member__bio { margin-top: 0.75rem; font-size: var(--kkw-fs-small); line-height: 1.6; color: var(--kkw-muted); }
.kkw .kkw-member__bio p { margin: 0 0 0.5rem; }
.kkw .kkw-group + .kkw-group { margin-top: clamp(4.5rem, 9vw, 8rem); }

/* 13. FAQs ---------------------------------------------------------------------------
   Soft gray. Centered heading over a single measured column of numbered
   questions. */

.kkw .kkw-faqs .kkw-section__head { grid-column: 3 / 11; position: static; justify-items: center; text-align: center; }
.kkw .kkw-faqs .kkw-section__body { grid-column: 3 / 11; }
@media (max-width: 960px) {
  .kkw .kkw-faqs .kkw-section__head, .kkw .kkw-faqs .kkw-section__body { grid-column: 1 / -1; }
}
.kkw .kkw-faqs__list { counter-reset: kkw-faq; border-bottom: 1px solid var(--kkw-line); }
.kkw .kkw-faq { border-top: 1px solid var(--kkw-line); counter-increment: kkw-faq; }
.kkw .kkw-faq summary {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 1.5rem;
  align-items: baseline;
  gap: 1rem;
  padding: clamp(1.5rem, 2.6vw, 2rem) 0;
  cursor: pointer;
  list-style: none;
}
.kkw .kkw-faq summary::-webkit-details-marker { display: none; }
.kkw .kkw-faq summary::before {
  content: counter(kkw-faq, decimal-leading-zero);
  font-size: var(--kkw-fs-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--kkw-muted);
}
.kkw .kkw-faq__q {
  font-family: var(--kkw-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.2;
  transition: transform 0.6s var(--kkw-ease);
}
.kkw .kkw-faq summary:hover .kkw-faq__q { font-style: italic; }
.kkw .kkw-faq__icon { position: relative; align-self: center; width: 1.1rem; height: 1.1rem; justify-self: end; }
.kkw .kkw-faq__icon::before,
.kkw .kkw-faq__icon::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: currentColor;
  transition: transform 0.6s var(--kkw-ease);
}
.kkw .kkw-faq__icon::after { transform: rotate(90deg); }
.kkw .kkw-faq[open] .kkw-faq__icon::after { transform: rotate(0deg); }
.kkw .kkw-faq__a { padding: 0 2.5rem clamp(1.75rem, 3vw, 2.25rem) 4rem; max-width: 46rem; color: #3a3936; }
.kkw .kkw-faq__a p { margin: 0 0 0.75rem; }
.kkw .kkw-faq__a p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  .kkw .kkw-faq summary { grid-template-columns: 2.25rem minmax(0, 1fr) 1.25rem; gap: 0.75rem; }
  .kkw .kkw-faq__a { padding-left: 3rem; padding-right: 0; }
}
/* Smooth open/close where the browser supports animating details */
@supports (interpolate-size: allow-keywords) {
  .kkw .kkw-faq { interpolate-size: allow-keywords; }
  .kkw .kkw-faq::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.6s var(--kkw-ease), content-visibility 0.6s allow-discrete;
  }
  .kkw .kkw-faq[open]::details-content { height: auto; }
}

/* 14. Closing photo and footer ------------------------------------------------------ */

.kkw .kkw-closing {
  display: flex;
  justify-content: center;
  padding: var(--kkw-section-y) var(--kkw-gutter) 0;
  margin: 0;
}
.kkw .kkw-closing__frame {
  position: relative;
  width: min(100%, 44rem);
  aspect-ratio: 4 / 5;
  max-height: 92vh;
  overflow: hidden;
  background: var(--kkw-charcoal);
}
.kkw .kkw-closing__frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.12);
}
@media (max-width: 700px) {
  .kkw .kkw-closing { padding-inline: 0; }
  .kkw .kkw-closing__frame { width: 100%; max-height: none; }
}

.kkw .kkw-foot {
  padding: clamp(4rem, 9vw, 8rem) var(--kkw-gutter) 2rem;
  overflow: hidden;
}
.kkw .kkw-foot__names {
  font-family: var(--kkw-display);
  font-size: clamp(2.6rem, 10.5vw, 12rem);
  font-weight: 400;
  font-variation-settings: "opsz" 96;
  line-height: 0.9;
  letter-spacing: -0.04em;
  white-space: nowrap;
  text-align: center;
}
.kkw .kkw-foot__names i { font-size: 0.6em; font-weight: 400; vertical-align: 0.12em; }
.kkw .kkw-foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: var(--kkw-shell);
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--kkw-line);
}
.kkw .kkw-foot__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: var(--kkw-fs-label);
  font-weight: 500;
  letter-spacing: var(--kkw-track-label);
  text-transform: uppercase;
  color: var(--kkw-muted);
}
.kkw .kkw-foot__meta span[aria-hidden] { opacity: 0.6; }
.kkw .kkw-foot__meta .kkw-foot__invite { color: var(--kkw-fg); }
.kkw .kkw-foot__top { color: var(--kkw-muted); transition: color 0.4s var(--kkw-ease); }
.kkw .kkw-foot__top:hover { color: var(--kkw-fg); }

/* 15. Motion ---------------------------------------------------------------------------
   Hero: names rise out of a mask, staggered with --kkw-d. Below the fold:
   elements fade and lift as they enter (JS adds .kkw-rv then .is-in);
   framed photos unveil top-down. Everything is visible without JS, and
   all of it switches off for reduced motion. */

@keyframes kkwRise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes kkwFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.kkw .kkw-in { animation: kkwFade 1.2s var(--kkw-ease) both; animation-delay: calc(var(--kkw-d, 0) * 0.14s + 0.25s); }
.kkw .kkw-mask > .kkw-in { animation-name: kkwRise; animation-duration: 1.5s; }
.kkw .kkw-hero__media { animation: kkwFade 2s var(--kkw-ease) both; }

.kkw-js .kkw .kkw-rv {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.2s var(--kkw-ease), transform 1.2s var(--kkw-ease);
  transition-delay: var(--kkw-rv-d, 0s);
}
.kkw-js .kkw .kkw-rv.is-in { opacity: 1; transform: none; }

/* The clip goes on the image, not the observed frame — a frame clipped
   to nothing never registers as intersecting. */
.kkw-js .kkw .kkw-rv-img img { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--kkw-ease-in-out), transform 2.4s var(--kkw-ease); }
.kkw-js .kkw .kkw-rv-img.is-in img { clip-path: inset(0 0 0 0); }

.kkw-js .kkw .kkw-rv-line { transform: scaleY(0); transition: transform 1.6s var(--kkw-ease-in-out) 0.2s; }
.kkw-js .kkw .kkw-rv-line.is-in { transform: scaleY(1); }

/* Parallax: JS sets --kkw-py as the photo moves through the viewport;
   the image is scaled up slightly so the drift never shows an edge. */
.kkw [data-kkw-parallax][data-kkw-parallax] img { transform: translate3d(0, var(--kkw-py, 0px), 0) scale(1.12); will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .kkw *, .kkw *::before, .kkw *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .kkw .kkw-hero__cue span { animation: none; transform: none; }
  .kkw .kkw-slide { transform: none; }
  .kkw-js .kkw .kkw-rv, .kkw-js .kkw .kkw-rv-img img, .kkw-js .kkw .kkw-rv-line { opacity: 1; transform: none; clip-path: none; }
  .kkw [data-kkw-parallax][data-kkw-parallax] img { transform: none; }
}
