/* PorMEH3 / Knightvillain H3 — type and layout from the Hash Calendar mockups; cool-grey palette */

:root {
  --ink: #281f2b;
  --page: #F2F2F4;         /* page background (was cream #F5F1E8) */
  --paper: #FFFFFF;        /* cards */
  --paper-dim: #F8F8FA;    /* calendar days outside the month */
  --line: #DCDCE2;         /* borders */
  --muted: #5F5F69;        /* secondary text */
  --faint: #686872;        /* labels, hints */
  --accent: #632e82;
  --accent-ink: #FFFFFF;
  --danger: #8B3A2B;
  --practice-bg: #E9E9EE;
  --cancel-bg: #DADAE0;
  --cancel-ink: #595963;
  --cancel-card: #EAEAEE;
  --locked-bg: #EAF0E7;
  --locked-ink: #856191;
  --nav-ink: #D6D6DC;

  /* Fonts (loaded from Google Fonts in src/layout.php; change both together,
     and if you use a new weight here, make sure that file loads it). */
  --display: 'Roboto Slab', Georgia, serif;     /* headings */
  --display-weight: 700;                        /* card titles, section headings */
  --display-weight-heavy: 900;                  /* page titles, club name in the header */
  --body: 'Outfit', system-ui, sans-serif;      /* everything else */
  --radius: 16px;
  --shadow: 0 1px 3px rgba(40, 31, 43, 0.06);
}

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

body {
  margin: 0;
  font-family: var(--body);
  font-synthesis: style;  /* never fake bold (smudgy); faking italic is fine (Outfit has none) */
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--page);
}

a { color: var(--accent); }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header { background: var(--ink); color: var(--page); }
.site-header__inner {
  max-width: 1248px; margin: 0 auto;
  min-height: 64px; padding: 0 40px;
  display: flex; align-items: center; gap: 12px;
}
.brand {
  font-family: var(--display); font-weight: var(--display-weight-heavy); font-size: 20px;
  letter-spacing: 0.3px; color: var(--page); text-decoration: none;
}
.brand:hover { color: var(--page); }
.brand span { opacity: 0.55; font-weight: 700; }
.admin-tag {
  background: var(--accent); color: var(--accent-ink);
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 3px 10px; border-radius: 999px;
}
/* Dropdown menu */
.nav-menu { margin-left: auto; position: relative; }
.nav-menu__button {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: transparent; color: var(--page);
  border: 1px solid rgba(242, 242, 244, 0.35);
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.nav-menu__button:hover, .nav-menu__button[aria-expanded="true"] { background: rgba(242, 242, 244, 0.12); }
.nav-menu__panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20;
  min-width: 230px; padding: 6px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(40, 31, 43, 0.18);
  display: flex; flex-direction: column;
}
.js .nav-menu__panel:not(.is-open) { display: none; }
.nav-menu__panel a, .nav-menu__panel .link-button {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px;
  color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; text-align: left; width: 100%;
}
.nav-menu__panel a:hover, .nav-menu__panel .link-button:hover { background: var(--practice-bg); color: var(--ink); }
.nav-menu__panel a[aria-current] { color: var(--accent); font-weight: 700; }
.nav-menu__panel a[aria-current]::after { content: '•'; margin-left: auto; }
.nav-menu__panel form { margin: 0; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }

/* ---------- Page ---------- */

.page { max-width: 1248px; margin: 0 auto; padding: 40px 64px 80px; }
.narrow { max-width: 680px; margin: 0 auto; }
.narrow--sm { max-width: 420px; }
.page-title {
  font-family: var(--display); font-weight: var(--display-weight-heavy); font-size: 40px;
  line-height: 1.15; margin: 0 0 20px;
}
.lede { color: var(--muted); margin: -12px 0 24px; }
.back-link { margin: 0 0 16px; font-weight: 600; }
.muted { color: var(--faint); }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 20px; }

.flash {
  background: var(--locked-bg); color: var(--locked-ink);
  border: 1px solid #CBD9C6; border-radius: 10px;
  padding: 12px 16px; margin-bottom: 20px; font-weight: 600;
}
.form-error {
  background: #F6E7E3; color: var(--danger);
  border: 1px solid #E5C3BA; border-radius: 10px;
  padding: 12px 16px; margin-bottom: 20px; font-weight: 600;
}

/* ---------- Segmented controls ---------- */

.controls {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 24px;
}
.segmented {
  display: inline-flex; background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px;
  margin: 0;
}
.segmented a, .segmented--radio span {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 0 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none;
  cursor: pointer;
}
.segmented a:hover, .segmented--radio label:hover span { color: var(--ink); }
.segmented a.is-active, .segmented--radio input:checked + span {
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
}
.segmented--radio { align-self: flex-start; margin-bottom: 8px; }
.field--choice { border: 0; padding: 0; margin: 0; }
.field--choice legend { padding: 0; margin-bottom: 6px; }
.field--choice .segmented--radio { margin-bottom: 0; }
.field--choice.has-error .segmented { border-color: var(--danger); }
.segmented--radio input { position: absolute; opacity: 0; pointer-events: none; }
.segmented--radio input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- Cards ---------- */

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow);
}
.card.empty { text-align: center; color: var(--muted); }
.card.empty p { margin: 0 0 12px; }
.event-card, .event-detail { display: flex; flex-direction: column; gap: 12px; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__when { font-size: 14px; color: var(--muted); }
.card__title {
  font-family: var(--display); font-weight: var(--display-weight); font-size: 24px;
  line-height: 1.25; margin: 0;
}
.card__title--lg { font-size: 32px; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__meta { margin: 0; font-size: 14px; color: var(--muted); }

.event-card.is-cancelled, .event-detail.is-cancelled {
  background: var(--cancel-card); border: 1px dashed #BDBDC6; box-shadow: none;
}
.is-cancelled .card__title, .is-cancelled .card__meta, .is-cancelled .card__when { color: var(--cancel-ink); }
.event-card.is-cancelled .card__title { text-decoration: line-through; }

.badge {
  display: inline-block; font-weight: 700; font-size: 13px;
  padding: 6px 14px; border-radius: 999px; text-decoration: none; white-space: nowrap;
}
.badge--trail { background: var(--accent); color: var(--accent-ink); }
.badge--practice { background: var(--practice-bg); color: var(--muted); }
.badge--cancelled { background: var(--cancel-bg); color: var(--cancel-ink); text-decoration: line-through; }

.details { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 8px 0 0; }
.details dt {
  font-size: 11px; font-weight: 700; letter-spacing: 0.4px;
  text-transform: uppercase; color: var(--faint); padding-top: 3px;
}
.details dd { margin: 0; }
.notes, .quote {
  background: var(--page); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; font-size: 14px; color: #4A4A53; margin: 0;
}
.quote { font-style: italic; }
.notice { margin: 0; font-weight: 600; color: var(--cancel-ink); }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 22px; border-radius: 10px;
  border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer;
}
.button:hover { filter: brightness(1.1); color: var(--accent-ink); }
.button--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.button--outline:hover { background: var(--ink); color: var(--page); filter: none; }
.button--danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.button--danger:hover { background: var(--danger); color: #fff; filter: none; }
.button--pill { border-radius: 999px; min-height: 36px; font-size: 13px; padding: 0 16px; }
.button--block { width: 100%; font-size: 15px; min-height: 50px; }
.link-button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: 13px; font-weight: 600; text-decoration: underline;
}
.icon-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper); color: var(--ink); font-size: 20px; text-decoration: none;
}
.icon-button:hover { background: var(--practice-bg); color: var(--ink); }

.actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.actions form { margin: 0; }
.actions__start { margin-right: auto !important; display: flex; align-items: center; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px;
}
.pill--locked { background: var(--locked-bg); color: var(--locked-ink); }

/* ---------- Forms ---------- */

.form { display: flex; flex-direction: column; gap: 20px; }
.form.card { gap: 16px; }
.form--compact { gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.field-row { display: flex; gap: 16px; }
.field > label, .cancel-box legend, .field--choice legend {
  font-size: 11px; font-weight: 700; letter-spacing: 0.4px;
  text-transform: uppercase; color: var(--faint);
}
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; font-size: 15px; color: var(--ink); background: var(--paper);
}
.form--compact .field input, .form--compact .field select, .form--compact .field textarea { padding: 10px 12px; font-size: 14px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent);
}
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field__error { font-size: 13px; font-weight: 600; color: var(--danger); }
.hint { font-size: 12px; color: var(--faint); margin: 0; }
.form .hint.center { margin-top: -8px; font-size: 13px; }
.hp { position: absolute; left: -9999px; }
.cancel-box { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--danger); }

/* ---------- Calendar ---------- */

.month-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 16px; }
.month-nav h2 {
  font-family: var(--display); font-weight: var(--display-weight); font-size: 22px;
  margin: 0; min-width: 200px; text-align: center;
}
.calendar {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
}
.calendar__dow {
  background: var(--page); padding: 8px 0; text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: 0.4px; color: var(--muted);
}
.calendar__day {
  background: var(--paper); padding: 8px; min-height: 104px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0;
}
.calendar__day.is-outside { background: var(--paper-dim); }
.calendar__day.is-outside .calendar__date { color: #9696A0; font-weight: 600; }
.calendar__date { font-size: 13px; font-weight: 700; }
.calendar__day.is-today .calendar__date {
  background: var(--ink); color: var(--page); border-radius: 999px;
  min-width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px;
}
.calendar__chip {
  font-size: 11px; padding: 3px 8px; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis;
}
.calendar__chip:hover { outline: 2px solid var(--ink); outline-offset: 1px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 999px; display: inline-block; }
.dot--trail { background: var(--accent); }
.dot--practice { background: var(--practice-bg); border: 1px solid #CACAD2; }
.dot--cancelled { background: var(--cancel-bg); }

.show-sm, .show-sm-inline { display: none; }

/* ---------- Share link ---------- */

.share {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px;
  margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line);
}
.share__url { font-size: 12px; color: var(--faint); word-break: break-all; }
.share__url:hover { color: var(--ink); }
.copy-button { flex-shrink: 0; }
html:not(.js) .copy-button { display: none; }  /* the button needs JavaScript; the printed link doesn't */

/* ---------- Calendar subscribe box (Upcoming Events) ---------- */

.subscribe { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.subscribe__text { display: flex; flex-direction: column; gap: 4px; }
.subscribe__text .card__title { font-size: 20px; }
.subscribe__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.subscribe__url { overflow-wrap: anywhere; }

/* ---------- RSVPs ---------- */

.card__rsvp {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 6px; font-size: 14px; font-weight: 600;
}
.button--dark { background: var(--ink); border-color: var(--ink); color: var(--page); }
.button--dark:hover { color: var(--page); }
.rsvp { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.rsvp .flash { margin: 0; }
.rsvp .form-error { margin: 0; }
.rsvp__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rsvp__names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rsvp__names li {
  background: var(--practice-bg); color: var(--ink);
  font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
}
.rsvp-edit, .rsvp-closed { margin-top: 20px; }
.rsvp-edit .segmented--radio { margin-bottom: 0; }

/* ---------- About Us ---------- */

.about {
  max-width: 960px; margin: 0 auto;
  --kennel-logo: 180px;  /* width of the club logo column */
  --kennel-gap: 32px;    /* space between logo and text */
  --measure: 70ch;       /* longest comfortable line of text */
}
/* Even spacing between the page's sections (instead of <br> tags). */
.about > * + * { margin-top: 56px; }
.about > .visually-hidden + * { margin-top: 0; }
/* Long lines are tiring to read, so paragraphs stop at about 70 characters. */
.about .prose, .about .about__list, .about__lede { max-width: var(--measure); }
/* The hashing introduction lines up with the club sections: logo + gap + text. */
.about .about__intro .prose { max-width: calc(var(--kennel-logo) + var(--kennel-gap) + var(--measure)); }
.about__lede { font-size: 18px; line-height: 1.6; margin: 0 0 24px; }
.about__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.section-title {
  font-family: var(--display); font-weight: var(--display-weight); font-size: 26px;
  line-height: 1.25; margin: 0 0 16px;
}
.prose p { margin: 0 0 14px; font-size: 16px; line-height: 1.65; }
.about__list { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.65; }
.about__list li { margin-bottom: 10px; }

/* Kennel rows: logo in a fixed-width left column, text beside it.
   On phones (see the Phone section) the logo stacks above the text. */
.kennel {
  display: grid; grid-template-columns: var(--kennel-logo) minmax(0, 1fr);
  gap: var(--kennel-gap); align-items: center;  /* logo centred vertically beside the text */
}
.kennel__logo { display: block; width: 100%; height: auto; border-radius: 12px; }
.kennel__body .section-title { margin-top: -4px; }

/* Photo slideshow: a horizontally scrolling strip that snaps one photo at a
   time (swipe works with no JavaScript); site.js adds arrows, dots, autoplay. */
/* As wide as the page, but never so tall that the photo and its buttons
   don't fit on the screen together (5:4 photos, plus ~150px for controls). */
.carousel { width: min(100%, calc((100vh - 150px) * 1.25)); margin-left: auto; margin-right: auto; }
.carousel__track {
  display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  aspect-ratio: 5 / 4; border-radius: var(--radius); background: var(--ink);
}
.carousel__track::-webkit-scrollbar { display: none; }
html:not(.js) .carousel__track { scrollbar-width: thin; }
.carousel__track:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.carousel__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; }
html:not(.js) .carousel__controls { display: none; }
.carousel__button {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
}
.carousel__button:hover { background: var(--practice-bg); }
.carousel__play { margin-left: 8px; }
.carousel__play .icon-play, .carousel.is-paused .carousel__play .icon-pause { display: none; }
.carousel.is-paused .carousel__play .icon-play { display: block; }
.carousel__dots { display: flex; flex-wrap: wrap; justify-content: center; }
.carousel__dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
}
.carousel__dot::before {
  content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--cancel-bg);
  transition: transform 0.2s, background-color 0.2s;
}
.carousel__dot:hover::before { background: var(--muted); }
.carousel__dot[aria-current="true"]::before { background: var(--accent); transform: scale(1.35); }
.carousel__count { display: none; min-width: 64px; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); }

/* Text still to be written. Easy to spot, and easy to find: search for "placeholder". */
.placeholder {
  background: #FFF4C2; color: #5C4A00;
  outline: 1px dashed #C9A400; border-radius: 4px; padding: 0 4px;
}
p.placeholder { padding: 8px 10px; }

/* ---------- Admin: who did what, Admins page ---------- */

.audit { margin: 0; font-size: 12px; color: var(--faint); }
.notice-box {
  background: #FFF4C2; color: #5C4A00; border: 1px solid #E8D27A;
  border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; font-weight: 600;
}
.notice-box a { color: inherit; }
.admin-list ul { list-style: none; margin: 12px 0 0; padding: 0; }
.admin-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.admin-row__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.admin-row__meta { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.admin-row__actions { display: flex; gap: 8px; }
.admin-row__actions form { margin: 0; }
.admin-row__reset { flex-basis: 100%; background: var(--page); border-radius: 10px; padding: 14px 16px; }
.admin-section { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.admin-subhead { font-family: var(--display); font-weight: var(--display-weight); font-size: 18px; margin: 12px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- Hare edit page, email previews ---------- */

.status-pill {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: #FFF4C2; color: #5C4A00; margin-right: 6px;
}
.status-pill--live { background: var(--locked-bg); color: var(--locked-ink); }
.field__label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--faint);
}
.field__static { margin: 0; font-weight: 600; }
.field__static .hint { display: block; font-weight: 400; margin-top: 2px; }
.email-settings { display: flex; flex-direction: column; gap: 10px; }
.email-settings p { margin: 0; }
.email-settings form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.email-group { margin-top: 36px; }
.email-preview { margin-bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
.email-preview__when { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--accent); }
.email-preview__head { display: grid; grid-template-columns: max-content 1fr; gap: 2px 14px; margin: 0; font-size: 14px; }
.email-preview__head dt { color: var(--faint); }
.email-preview__head dd { margin: 0; overflow-wrap: anywhere; }
.email-preview__body {
  margin: 0; padding: 14px 16px; background: var(--page); border: 1px solid var(--line); border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.55;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: var(--practice-bg); padding: 1px 5px; border-radius: 4px; }

/* ---------- Phone ---------- */

@media (max-width: 720px) {
  .site-header__inner { padding: 8px 16px; }
  .brand span { display: none; }
  .site-header__inner { position: relative; }
  .brand { font-size: 17px; line-height: 1.2; flex: 1; min-width: 0; }
  .nav-menu { position: static; }
  .nav-menu__panel { left: 16px; right: 16px; top: calc(100% - 4px); }
  .nav-menu__label { display: none; }
  .nav-menu__button { padding: 0 11px; }
  .nav-menu__panel a, .nav-menu__panel .link-button { font-size: 16px; min-height: 48px; }

  .page { padding: 24px 16px 64px; }
  .page-title { font-size: 30px; }
  .controls { flex-direction: column; align-items: stretch; }
  .segmented { display: flex; }
  .segmented a, .segmented--radio label { flex: 1; }
  .segmented a, .segmented--radio span { justify-content: center; padding: 0 10px; width: 100%; }
  .card { padding: 20px; }
  .card__title { font-size: 21px; }
  .field-row { flex-direction: column; }
  .actions { justify-content: stretch; }
  .actions > * { flex: 1; }
  .actions .button { width: 100%; }
  .actions__start { flex-basis: 100%; }

  .kennel { grid-template-columns: 1fr; gap: 16px; }
  .kennel__logo { width: 140px; margin: 0 auto; }
  .kennel__body .section-title { text-align: center; }  /* logo and club name centred; descriptions stay left-aligned */

  .about > * + * { margin-top: 40px; }
  .carousel { width: 100%; }
  .carousel__track { border-radius: 12px; }
  .carousel__dots { display: none; }       /* 11 dots don't fit; show "3 / 11" instead */
  .carousel__count { display: inline-block; }

  .hide-sm { display: none; }
  .show-sm, .show-sm-inline { display: inline; }
  .month-nav { gap: 12px; }
  .month-nav h2 { min-width: 0; font-size: 20px; }
  .calendar__day { min-height: 56px; padding: 6px 4px; align-items: center; gap: 4px; }
  .calendar__date { font-size: 12px; }
  .calendar__chip { width: 8px; height: 8px; padding: 0; border-radius: 999px; text-decoration: none; }
  .calendar__chip.badge--practice { background: #A5A5B0; }
  .calendar__chip.badge--cancelled { background: transparent; border: 1.5px solid #83838E; }
  .dot--practice { background: #A5A5B0; border: 0; }
  .dot--cancelled { background: transparent; border: 1.5px solid #83838E; }
  .legend { gap: 8px 16px; font-size: 12px; }
}

.rsvp-list summary { cursor: pointer; font-size: 14px; font-weight: 700; min-height: 32px; display: flex; align-items: center; }
.rsvp-list summary::before { content: '▸'; margin-right: 6px; }
.rsvp-list[open] summary::before { content: '▾'; }
.rsvp-list ul { margin: 4px 0 0; padding-left: 20px; font-size: 14px; color: var(--muted); }

.field--narrow { max-width: 280px; }
.inline-form { display: inline; margin: 0 0 0 6px; }
