/* ============================================================
   789 RUN CLUB — MARKETING SITE
   ------------------------------------------------------------
   Built from the Claude Design handoff (789 Marketing Site.dc.html)
   and the 789 design system tokens. Royal blue + electric yellow,
   warm paper ground, chunky ink borders, hard sticker shadows.
   ============================================================ */

/* ---- Display face — client-supplied, natively condensed ---- */
@font-face {
  font-family: "Generation Mono";
  src: url("../assets/fonts/GenerationMono-Condensed.otf") format("opentype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Royal blue */
  --royal-50:  #EEF2FF;
  --royal-100: #DBE1FE;
  --royal-500: #2742EE;
  --royal-700: #1726AC;
  --royal-800: #16237F;
  --royal-900: #121C5C;

  /* Electric yellow */
  --yellow-500: #FFE500;
  --yellow-600: #E6C400;

  /* Spice */
  --coral-500: #FF5436;
  --mint-500:  #14D6A4;

  /* Ink / warm neutrals */
  --ink-900: #070A20;
  --ink-800: #131736;
  --ink-700: #232846;
  --ink-600: #3A3F60;
  --ink-500: #5B6080;
  --ink-400: #888CA6;
  --ink-200: #D9DAE4;
  --ink-100: #ECECF1;

  --paper:      #F4F1E8;
  --paper-dim:  #EAE6D8;
  --paper-warm: #FBF9F2;
  --white:      #FFFFFF;

  /* Type */
  --font-display: "Generation Mono", "Arial Black", system-ui, sans-serif;
  --font-sans:    "Archivo", system-ui, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, monospace;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(48px, 6vw, 84px);

  /* Motion */
  --dur-fast: 110ms;
  --dur: 200ms;
  --ease-out: cubic-bezier(0.22, 0.78, 0.27, 1);
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
h1, h2, h3, p, figure { margin: 0; }
a { color: var(--royal-700); }

::selection { background: var(--yellow-500); color: var(--ink-900); }

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--yellow-500);
  border-radius: 4px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 12px;
}
.eyebrow--yellow { color: var(--yellow-500); }

/* ============================================================
   COMPONENTS — Button (design system kk-btn)
   ============================================================ */
.kk-btn {
  --_sh: var(--ink-900);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--font-sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--ink-900);
  border: 3px solid var(--ink-900);
  border-radius: 8px;
  background: var(--paper-warm);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  box-shadow: 4px 4px 0 var(--_sh);
  transform: translate(0, 0);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur-fast);
}
.kk-btn:hover  { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--_sh); }
.kk-btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--_sh); }
.kk-btn:focus-visible {
  outline: none;
  box-shadow: 6px 6px 0 var(--_sh), 0 0 0 3px var(--paper), 0 0 0 6px var(--yellow-500);
}
.kk-btn--primary { background: var(--royal-700); color: var(--paper-warm); }
.kk-btn--accent  { background: var(--yellow-500); color: var(--ink-900); }
.kk-btn--sm { padding: .5rem .95rem; font-size: .8125rem; gap: .4em; }
.kk-btn--md { padding: .8rem 1.5rem; font-size: .95rem; }
.kk-btn--lg { padding: 1.05rem 2.1rem; font-size: 1.125rem; box-shadow: 6px 6px 0 var(--_sh); }
.kk-btn--lg:hover  { box-shadow: 9px 9px 0 var(--_sh); }
.kk-btn--lg:active { box-shadow: 0 0 0 var(--_sh); }

/* ---- Nav link ---- */
.kk-navlink {
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: none;
  padding: .4rem .2rem;
  transition: color .15s;
}
.kk-navlink--light { color: var(--white); }
.kk-navlink--light:hover { color: var(--yellow-500); }

/* ---- Logo ---- */
.kk-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  height: 30px;
}
.kk-logo svg { display: block; height: 100%; width: auto; }
.kk-logo:hover { opacity: .82; }
.kk-logo:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--yellow-500); border-radius: 3px; }

/* ============================================================
   HEADER — fixed liquid glass
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(105%);
  -webkit-backdrop-filter: blur(16px) saturate(105%);
  background-color: #00000082;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 8px 30px -16px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .32);
}
.site-header__inner {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 13px var(--gutter);
}
.site-header__nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
  align-items: center;
}

/* ============================================================
   HERO + MARQUEE — fill first viewport
   ============================================================ */
.hero-stack {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  background: var(--ink-900);
  display: flex;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,10,32,.6) 0%, rgba(7,10,32,.12) 26%, rgba(7,10,32,.06) 46%, rgba(7,10,32,.86) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 96px var(--gutter) clamp(30px, 4vw, 52px);
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 13px;
  color: var(--yellow-500);
}
.hero__mark {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 241, 232, .7);
}
.hero__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero__headline {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  /* min() term keeps the widest nowrap line ("finishing.", ~16.2× the
     font size in this face) inside the gutter on narrow screens */
  font-size: min(clamp(34px, 5vw, 56px), calc((100vw - 44px) / 16.2));
  line-height: .84;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  white-space: nowrap;
  color: var(--paper);
}
.hero__headline-mid { color: var(--white); }
.hero__headline-stroke {
  color: transparent;
  -webkit-text-stroke: 2px var(--yellow-500);
}
.hero__sub {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.5;
  max-width: 42ch;
  color: color-mix(in srgb, var(--paper) 82%, transparent);
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero__meta {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 72%, transparent);
}
.hero__meta a {
  color: var(--yellow-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   MARQUEE — stadium ticker
   ============================================================ */
.kk-mq {
  overflow: hidden;
  background: #101020;
  color: var(--paper-warm);
  border-top: 3px solid var(--ink-900);
  border-bottom: 3px solid var(--ink-900);
}
.kk-mq__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: kk-marquee var(--mq-dur, 20s) linear infinite;
}
.kk-mq__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.kk-mq__item {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 1.5rem;
  padding: .14em 0;
}
.kk-mq__sep {
  display: inline-flex;
  align-items: center;
  padding: 0 .7em;
}
@keyframes kk-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   RUNS / SCHEDULE
   ============================================================ */
.runs { background: var(--paper); scroll-margin-top: 70px; }
.runs__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.runs__card {
  border: 3px solid var(--ink-900);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink-900);
  background: var(--paper-warm);
}
.runs__header {
  height: clamp(150px, 20vw, 210px);
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--ink-900);
}
.runs__header-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}
.runs__header-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,10,32,.6), rgba(7,10,32,.05));
}
.runs__header-copy {
  position: absolute;
  left: clamp(20px, 4vw, 44px);
  bottom: 18px;
  right: clamp(20px, 4vw, 44px);
}
.runs__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: .9;
  color: var(--paper);
}
.runs__meta {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(13px, 1.5vw, 15px);
  letter-spacing: .02em;
  line-height: 1.55;
  color: var(--paper);
  margin-top: 10px;
  max-width: 56ch;
}
.runs__meta a {
  color: var(--yellow-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.runs__head {
  display: grid;
  grid-template-columns: 130px 1.4fr 1fr 110px;
  gap: 16px;
  padding: 12px 22px;
  background: var(--ink-900);
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  color: var(--paper);
}
.runs__row {
  display: grid;
  grid-template-columns: 130px 1.4fr 1fr 110px;
  gap: 16px;
  padding: 16px 22px;
  align-items: center;
  border-top: 2px solid var(--ink-100);
}
.kk-row { transition: background .15s; }
.kk-row:hover { background: var(--royal-50); }
.runs__date {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-900);
}
.runs__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 18px;
  color: var(--ink-900);
}
.runs__where {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-600);
}

/* ============================================================
   RULES
   ============================================================ */
.rules {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
}
.rules__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 45%;
}
.rules__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,10,32,.9) 0%, rgba(7,10,32,.55) 55%, rgba(7,10,32,.2) 100%);
}
.rules__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 108px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.rules__row {
  display: flex;
  align-items: center;
  gap: 22px;
}
.rules__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 2px var(--yellow-500);
}
.rules__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(26px, 3.5vw, 34px);
  color: var(--paper);
  line-height: .9;
}
.rules__desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  margin-top: 3px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--paper); scroll-margin-top: 70px; }
.faq__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) var(--gutter);
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.faq__index { flex: 1 1 560px; min-width: 0; }
.faq__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 3px solid var(--ink-900);
  padding-bottom: 14px;
}
.faq__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(30px, 4.5vw, 48px);
  color: var(--ink-900);
}
.faq__tag {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--royal-700);
}
.faq__row {
  display: flex;
  gap: 20px;
  align-items: baseline;
  border-bottom: 1px solid rgba(7, 10, 32, .15);
  padding: 16px 0;
}
.faq__row--last { border-bottom: none; }
.faq__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--royal-700);
}
.faq__q {
  flex: 1;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 17px;
  color: var(--ink-900);
}
.faq__a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-600);
}
.faq__a a {
  color: var(--royal-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq__cta { margin-top: 24px; }
.faq__photo {
  flex: 1 1 300px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  border: 3px solid var(--ink-900);
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--ink-900);
  min-height: 360px;
  background: var(--ink-900);
}
.faq__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

/* ============================================================
   GALLERY — contact-sheet triptych
   ============================================================ */
.gallery {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  display: flex;
  gap: 4px;
  height: clamp(240px, 30vw, 400px);
}
.gallery__frame {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.gallery__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__band {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: var(--yellow-500);
  border-top: 3px solid var(--ink-900);
  border-bottom: 3px solid var(--ink-900);
  padding: clamp(16px, 2.4vw, 24px) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.gallery__slogan {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(22px, 3vw, 34px);
  line-height: .82;
  color: var(--ink-900);
  white-space: nowrap;
}

/* ============================================================
   FOOTER — monument
   ============================================================ */
.footer {
  background: linear-gradient(100deg, #000000EB, #080e28 55%, #05081a 100%);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 70px;
  min-height: clamp(420px, 46vw, 720px);
}
.footer__top {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(36px, 4vw, 52px) var(--gutter) 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer__info {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: color-mix(in srgb, var(--paper) 60%, transparent);
  max-width: 34ch;
  line-height: 1.7;
}
.footer__club {
  color: var(--yellow-500);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.footer__info a {
  color: var(--yellow-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__info a.footer__ig {
  text-decoration: none;
  font-weight: 700;
}
.footer__monument {
  position: absolute;
  left: 0; right: 0;
  bottom: -0.17em;
  z-index: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
}
.footer__number {
  font-family: var(--font-display);
  font-size: clamp(150px, 24vw, 470px);
  line-height: .62;
  color: var(--yellow-500);
  white-space: nowrap;
  letter-spacing: -.02em;
}

/* ============================================================
   RSVP MODAL
   ============================================================ */
@keyframes rsvpFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rsvpPop {
  0%   { opacity: 0; transform: translateY(16px) scale(.93); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes rsvpRise {
  from { opacity: 0; translate: 0 12px; }
  to   { opacity: 1; translate: 0 0; }
}

.rsvp {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: color-mix(in srgb, var(--ink-900) 64%, transparent);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: rsvpFade .2s ease-out;
}
.rsvp[hidden] { display: none; }
.rsvp__card {
  position: relative;
  width: 100%;
  max-width: 432px;
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  background: var(--paper-warm);
  border: 3px solid var(--ink-900);
  border-radius: 16px;
  box-shadow: 10px 10px 0 var(--ink-900);
  padding: clamp(24px, 4vw, 34px);
  animation: rsvpPop .32s cubic-bezier(.2, .9, .3, 1.3);
}
.rsvp__close {
  position: absolute;
  top: 14px;
  right: 15px;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink-900);
  border-radius: 8px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-900);
}
.rsvp__eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 11px;
  color: var(--royal-700);
}
.rsvp__headline {
  margin-top: 9px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.rsvp__headline span {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(17px, 3.6vw, 26px);
  line-height: .96;
  color: var(--ink-900);
  white-space: nowrap;
}
.rsvp__sub {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-600);
  margin-top: 9px;
}
.rsvp__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.rsvp__label {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  color: var(--ink-700);
  margin: 0 0 7px;
}
.rsvp__label--gap { margin-top: 18px; }
.rsvp__input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 12px 14px;
  border: 2px solid var(--ink-900);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink-900);
  outline: none;
}
.rsvp__input:focus-visible { box-shadow: 0 0 0 3px var(--yellow-500); }
.rsvp__stepper {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rsvp__step {
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink-900);
  border-radius: 9px;
  background: var(--paper);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink-900);
  line-height: 1;
}
.rsvp__count {
  font-family: var(--font-display);
  font-size: 30px;
  min-width: 32px;
  text-align: center;
  color: var(--ink-900);
}
.rsvp__submit {
  width: 100%;
  margin-top: 26px;
  font-family: var(--font-sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 16px;
  padding: 15px;
  border: 3px solid var(--ink-900);
  border-radius: 11px;
  background: var(--yellow-500);
  color: var(--ink-900);
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--ink-900);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.rsvp__submit:hover  { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink-900); }
.rsvp__submit:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink-900); }
.rsvp__done { text-align: center; padding: 8px 0 2px; }
.rsvp__done-headline {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(24px, 6vw, 30px);
  line-height: .92;
  color: var(--royal-700);
  animation: rsvpRise .4s ease-out;
}
.rsvp__confirm {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-800);
  margin: 14px auto 0;
  max-width: 30ch;
}
.rsvp__note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 12px;
}
.rsvp__done-btn {
  margin-top: 24px;
  font-family: var(--font-sans);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 15px;
  padding: 13px 30px;
  border: 3px solid var(--ink-900);
  border-radius: 11px;
  background: var(--paper);
  color: var(--ink-900);
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink-900);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.rsvp__done-btn:hover  { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink-900); }
.rsvp__done-btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink-900); }

/* ============================================================
   RESPONSIVE — the prototype is desktop-first; these keep the
   schedule table, FAQ rows and header usable on small screens.
   ============================================================ */
@media (max-width: 720px) {
  .runs__head { display: none; }
  .runs__row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "date cta"
      "name cta"
      "where cta";
    row-gap: 3px;
  }
  .runs__date  { grid-area: date; }
  .runs__name  { grid-area: name; }
  .runs__where { grid-area: where; }
  .runs__cta   { grid-area: cta; align-self: center; }

  .faq__row { flex-wrap: wrap; }
  .faq__a { flex: 1 1 100%; padding-left: 47px; }
}

@media (max-width: 640px) {
  .kk-logo { height: 22px; }
  .site-header__nav { gap: 14px; }
  .gallery__slogan { white-space: normal; line-height: .92; }
}

@media (max-width: 479px) {
  /* numeral + "coffee" (widest word) must fit beside each other */
  .rules__num   { font-size: clamp(24px, 9vw, 40px); }
  .rules__title { font-size: clamp(16px, 5.6vw, 26px); }
}

@media (max-width: 420px) {
  .site-header__nav .kk-navlink { display: none; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .kk-mq__track { animation: none; }
}
