/* JMSB Clubs. Style based on casajmsb.ca (colors read from that site on 2026-11-17).
   Change the variables below to restyle the whole site. */
:root {
  --accent: #92182f;        /* JMSB logo red (sampled from logo Louis sent) */
  --accent-soft: #f5e6e9;
  --gold: #b18a63;          /* JMSB logo gold (sampled from logo Louis sent) */
  --text: #333333;
  --muted: #6b6b6b;
  --bg: #eeeeee;
  --card: #ffffff;
  --border: #dddddd;
  --radius: 2px;            /* casajmsb.ca uses square corners */
  --font: "Lato", Arial, sans-serif;
  --font-head: "Barlow", Arial, sans-serif; /* free stand-in for their paid font */
}

* { box-sizing: border-box; }
body.is-filter-dragging { cursor: grabbing; user-select: none; }
body { min-height: 100vh; display: flex; flex-direction: column; margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.5; }
a { color: var(--accent); }
h1, h2, h3, .brand, .tabs a, .seg button, .datebox { font-family: var(--font-head); }
h1 { font-size: 2.4rem; font-weight: 800; text-transform: uppercase; line-height: 1.05; margin: 0 0 .5rem; }
h2 { font-size: 1.1rem; margin: 2rem 0 .75rem; text-transform: uppercase; }
.hl { color: var(--gold); }
.muted { color: var(--muted); }
/* Full-width layout: content hugs the left edge with a fluid gutter, not a centered column. */
.wrap { max-width: none; margin: 0; padding: 0 clamp(16px, 5vw, 120px); box-sizing: border-box; }
#view-events { max-width: none; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: clamp(56px, 3.6vw, 76px); }
.brand { display: block; width: clamp(136px, 8.5vw, 158px); height: clamp(35px, 2.2vw, 41px); text-decoration: none; line-height: 0; }
.brand-logo { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.tabs a { margin-left: 1.25rem; text-decoration: none; color: var(--text); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(.9rem, .85vw, 1.1rem); padding: clamp(18px, 1.3vw, 26px) 0; border-bottom: 3px solid transparent; }
.tabs a.active { color: var(--text); border-bottom-color: var(--accent); }

.intro { padding: 2rem 0 1rem; }
.hero { background: var(--accent); color: #fff; padding: 2.5rem 0 2rem; }
.hero h1 { color: #fff; }
.hero p { margin: 0; color: rgba(255,255,255,.8); }
/* Landing hero */
.landing { position: relative; overflow: hidden; background: #1d1d1f; color: #fff; }
.landing::after { content: ""; position: absolute; inset: 0; background: rgba(20, 12, 14, .62); }
.landing-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.landing-inner { position: relative; z-index: 1; min-height: clamp(480px, 68vh, 860px); display: flex; flex-direction: column; justify-content: center; padding-top: 4rem; padding-bottom: 4rem; }
.landing-text { max-width: 1100px; }
.landing h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 6rem); line-height: .96; margin-bottom: 1.25rem; }
.lead { margin: 0 0 2rem; max-width: 46ch; font-size: clamp(1.1rem, 1.35vw, 1.6rem); color: rgba(255,255,255,.9); }
/* Club logo carousel (white bar at the bottom of the hero) */
.logo-bar { position: relative; z-index: 1; background: #fff; color: var(--text); overflow: hidden; padding: clamp(18px, 1.8vw, 36px) 0; }
/* Photo continues under the bar, then fades to white (the home page background). */
.landing-fade { position: relative; z-index: 1; height: clamp(110px, 10vw, 210px); background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,.12) 18%, rgba(255,255,255,.35) 38%, rgba(255,255,255,.65) 58%, rgba(255,255,255,.88) 78%, #fff 100%); }
body.home { background: #fff; }
.logo-track { display: flex; width: max-content; animation: logo-scroll 120s linear infinite; }
.logo-bar:focus-within .logo-track { animation-play-state: paused; }
.logo-set { display: flex; gap: clamp(40px, 4vw, 80px); padding-right: clamp(40px, 4vw, 80px); }
.logo-item { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); white-space: nowrap; }
.logo { width: clamp(60px, 5vw, 100px); height: clamp(60px, 5vw, 100px); flex: 0 0 auto; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; border-radius: var(--radius); font-family: var(--font-head); font-weight: 800; font-size: .95rem; overflow: hidden; }
.logo.has-img { background: #fff; }
.logo img { width: 100%; height: 100%; object-fit: contain; transform: scale(var(--logo-scale, 1)); transform-origin: center; }
.logo[data-logo="casajmsb"] { --logo-scale: 1.16; }
.logo[data-logo="jmsbcasacares"] { --logo-scale: 1.22; }
.logo[data-logo="jmcconline"] { --logo-scale: 1.22; }
.logo[data-logo="jmiba_jmsb"] { --logo-scale: 1.32; }
.logo[data-logo="jmmaonline"] { width: 118px; --logo-scale: 1.5; }
.logo[data-logo="mcconcordia"] { --logo-scale: 1.34; }
.logo-name { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 1.2vw, 1.5rem); }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  .logo-bar { overflow-x: auto; }
  .logo-set[aria-hidden], .logo-set + .logo-set { display: none; }
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 1.1vw, 1.3rem); text-decoration: none; padding: .75em 1.6em; border-radius: var(--radius); border: 2px solid transparent; transition: background-color .15s ease-out, color .15s ease-out; }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: #fff; color: var(--accent); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--accent); }
.landing .btn:focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
.home-head { display: flex; align-items: baseline; justify-content: space-between; margin-top: .5rem; }
.home-head h2 { margin: 1rem 0 .75rem; }
.home-head a { font-weight: 700; }
/* Coming up: cards side by side on wide screens */
#home-events { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr)); gap: 16px; }
.home-event-card { min-width: 0; min-height: 355px; display: flex; flex-direction: column; background: #fff; border: 1px solid #ddd5d2; border-radius: 8px; padding: clamp(20px, 1.6vw, 28px); box-shadow: 0 9px 26px rgba(57, 39, 43, .06); transition: border-color .16s ease-out, transform .16s ease-out, box-shadow .16s ease-out; }
.home-event-card:hover { border-color: #caaeb4; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(57, 39, 43, .1); }
.home-event-top { display: flex; align-items: center; gap: 16px; }
.home-event-club-logo { flex: 0 0 72px; width: 72px; height: 72px; display: block; text-decoration: none; }
.home-event-logo { width: 72px; height: 72px; display: grid; place-items: center; overflow: hidden; background: var(--accent); color: #fff; border-radius: 6px; font-family: var(--font-head); font-size: .8rem; font-weight: 800; text-align: center; }
.home-event-logo.has-img { background: #fff; }
.home-event-logo img { width: 100%; height: 100%; object-fit: contain; }
.home-event-heading { min-width: 0; }
.home-event-heading h3 { margin: 0 0 4px; font-family: var(--font-head); font-size: clamp(1.12rem, 1.1vw, 1.3rem); line-height: 1.25; }
.home-event-heading .club-link { font-size: .9rem; font-weight: 700; text-decoration: none; }
.home-event-heading .club-link:hover { text-decoration: underline; }
.home-event-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 20px 0 0; color: #555; font-size: .9rem; }
.home-event-meta span { display: inline-flex; align-items: center; gap: 7px; }
.home-event-meta svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-event-description { margin: 18px 0 0; line-height: 1.6; }
.home-event-details { margin: 14px 0 18px; color: #4f4f4f; }
.home-event-details p { margin: 5px 0; }
.home-event-details strong { color: var(--text); }
.home-event-link { align-self: flex-start; margin-top: auto; color: var(--accent); font-weight: 700; text-decoration: none; }
.home-event-link:hover { text-decoration: underline; }
.home-event-link, .event-list-link { display: inline-flex; align-items: center; gap: 6px; }
.external-link-icon { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

main.wrap { padding-top: 1.25rem; padding-bottom: 3rem; width: 100%; }

/* Event filters */
.club-filter-shell, .event-type-filter-shell { position: relative; }
.club-filter-shell { margin: 0 0 6px; }
.event-type-filter-shell { margin: 0 0 14px; }
.club-filter-shell::after, .event-type-filter-shell::after { content: ""; position: absolute; top: 0; right: 0; bottom: 5px; width: 42px; pointer-events: none; background: linear-gradient(90deg, rgba(238,238,238,0), var(--bg)); }
.filter-pills { display: flex; gap: 8px; overflow-x: auto; padding: 2px 36px 7px 2px; scrollbar-width: none; scroll-behavior: smooth; }
.filter-pills::-webkit-scrollbar { display: none; }
.filter-pills button { flex: 0 0 auto; min-height: 40px; border: 1px solid #d8d0cd; border-radius: 999px; background: #fff; color: #4b4446; padding: 9px 16px; box-shadow: 0 3px 10px rgba(50, 34, 39, .035); font: 800 .84rem var(--font-head); letter-spacing: .015em; cursor: pointer; transition: color .15s ease-out, border-color .15s ease-out, background-color .15s ease-out, transform .15s ease-out, box-shadow .15s ease-out; }
.filter-pills button:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); box-shadow: 0 5px 14px rgba(82, 35, 46, .08); }
.filter-pills button.active { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: none; }
.filter-pills button.active:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px rgba(255,255,255,.38); }
.club-filter-pills button { border-radius: 0; }
.event-type-filter-shell { overflow: hidden; border: 1px solid #ddd5d2; border-radius: 11px; background: rgba(255,255,255,.78); box-shadow: 0 5px 16px rgba(54,35,40,.045); }
.event-type-filter-shell::after { background: linear-gradient(90deg, rgba(255,255,255,0), #fff); }
.event-type-filter-pills { gap: 0; padding: 0 36px 0 4px; }
.event-type-filter-pills button { min-height: 46px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: #5c5557; padding: 11px 15px 8px; box-shadow: none; }
.event-type-filter-pills button:hover { border-color: transparent; border-bottom-color: #ccb393; background: #fcfaf7; color: var(--gold); transform: none; box-shadow: none; }
.event-type-filter-pills button.active { border-color: transparent; border-bottom-color: var(--gold); background: transparent; color: var(--gold); box-shadow: none; }
.event-type-filter-pills button.active:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; box-shadow: none; }
.events-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 12px; border: 1px solid #e1d9d6; border-radius: 14px; background: rgba(255,255,255,.82); box-shadow: 0 10px 28px rgba(54, 35, 40, .06); }
.event-search { min-width: 0; flex: 1 1 auto; display: flex; align-items: center; gap: 10px; padding: 0 15px; border: 1px solid #ded7d4; border-radius: 10px; background: #fff; color: var(--accent); transition: border-color .15s ease-out, box-shadow .15s ease-out; }
.event-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(146,24,47,.09); }
.event-search svg { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.event-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; padding: 13px 0; color: var(--text); font: inherit; }
.event-search input::placeholder { color: #858084; }
.seg { flex: 0 0 auto; display: inline-flex; gap: 4px; padding: 4px; border: 1px solid #ded7d4; border-radius: 10px; background: #f3efed; }
.seg button { display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 7px; background: transparent; color: #635d5f; padding: 9px 13px; cursor: pointer; transition: color .15s ease-out, background-color .15s ease-out, box-shadow .15s ease-out; }
.seg button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.seg button.active { background: #fff; color: var(--accent); box-shadow: 0 3px 10px rgba(50, 34, 39, .1); }

/* Event cards */
.day-heading { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin: 1.5rem 0 .5rem; }
.event { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 10px; }
.event.past { opacity: .6; }
.datebox { flex: 0 0 56px; text-align: center; background: var(--accent); color: #fff; border-radius: var(--radius); padding: 6px 0; align-self: flex-start; }
.datebox .m { font-size: .75rem; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,.85); }
.datebox, .grid .num { font-variant-numeric: tabular-nums; }
.datebox .d { font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.event-body { flex: 1; min-width: 0; }
.event h3 { margin: 0 0 2px; font-size: 1.15rem; font-weight: 700; }
.event .club-link { font-size: .85rem; font-weight: 600; text-decoration: none; }
.meta span + span::before { content: "·"; margin-right: 10px; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .9rem; color: var(--muted); margin: 6px 0; }
.event p { margin: 6px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.chip { font-size: .8rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 2px 10px; }
.label { font-size: .8rem; color: var(--muted); margin-right: 2px; align-self: center; }
.post-link { font-size: .9rem; font-weight: 600; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.past-toggle { text-align: center; margin: 1.5rem 0; }
.link-btn { font: inherit; background: none; border: 0; color: var(--accent); cursor: pointer; text-decoration: underline; }

/* Event list cards */
.event-day-group { margin-bottom: 24px; }
.event-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.event-list-card { min-width: 0; display: grid; grid-template-areas: "media body" "media link"; grid-template-columns: minmax(170px, 220px) minmax(0, 1fr); grid-template-rows: 1fr auto; overflow: hidden; border: 1px solid #d9cfcc; border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(51, 34, 39, .07); }
.event-list-card.past { opacity: .62; }
.event-list-card .event-preview-media { grid-area: media; min-height: 300px; }
.event-list-card .event-preview-placeholder { min-height: 300px; }
.event-list-card .event-preview-body { grid-area: body; padding: 22px 22px 12px; }
.event-list-card h3 { margin: 5px 0 14px; font-size: 1.25rem; line-height: 1.2; }
.event-list-card .event-preview-link { grid-area: link; align-self: start; justify-self: start; display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin: 0 22px 22px; background: var(--accent); color: #fff; padding: 10px 14px; font: 800 .78rem var(--font-head); text-decoration: none; }
.event-list-card .event-preview-link .external-link-icon { width: 15px; height: 15px; flex-basis: 15px; }

/* Month grid */
.calendar-shell { overflow: hidden; padding: clamp(18px, 2vw, 30px); border: 1px solid #ded7d4; border-radius: 0; background: #fff; box-shadow: 0 16px 42px rgba(55, 35, 40, .08); }
.month-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.month-nav > div:first-child { display: flex; flex-direction: column; }
.month-nav strong { color: #262326; font: 800 clamp(1.65rem, 2.3vw, 2.45rem)/1.1 var(--font-head); }
.month-nav strong span { color: #9a9294; font-weight: 600; }
.month-buttons { display: flex; gap: 8px; }
.month-nav button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: #f2eeec; color: var(--accent); border-radius: 0; box-shadow: none; cursor: pointer; transition: background-color .15s ease-out, color .15s ease-out, transform .15s ease-out; }
.month-nav button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.month-nav button:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.grid.is-row-animating { transition: grid-template-rows .34s cubic-bezier(.22, .75, .24, 1); }
.grid.is-row-animating .cell { overflow: hidden; }
.grid .dow { padding: 4px 6px 8px; color: #8c8587; font: 800 .68rem var(--font-head); letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.grid .cell { min-width: 0; min-height: clamp(100px, 8.2vw, 142px); padding: 9px; border: 1px solid #eee8e5; border-radius: 10px; background: #fbfaf9; font-size: .8rem; transition: border-color .15s ease-out, box-shadow .15s ease-out; }
.grid .cell.has-events { background: #fff; border-color: #e2d5d2; }
.grid .cell.has-events:hover { border-color: #c9abae; box-shadow: 0 7px 18px rgba(76, 39, 47, .08); }
.grid .cell.other { background: #f5f3f2; color: #bbb5b6; }
.grid .num { width: 28px; height: 28px; display: grid; place-items: center; margin-bottom: 6px; border-radius: 50%; font-weight: 700; font-variant-numeric: tabular-nums; }
.grid .cell.today .num { background: var(--accent); color: #fff; box-shadow: 0 4px 10px rgba(146,24,47,.25); }
.cell-events { display: grid; gap: 5px; }
.calendar-event { display: flex; align-items: flex-start; gap: 8px; width: 100%; min-width: 0; border: 0; border-top: 1px solid #e7ddda; border-radius: 0; background: transparent; color: var(--text); padding: 7px 2px; text-align: left; cursor: pointer; transition: background-color .15s ease-out, padding-left .15s ease-out; }
.calendar-event:hover { background: #fbf6f7; padding-left: 6px; }
.calendar-event-logo { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; overflow: hidden; border-radius: 5px; background: var(--accent); color: #fff; font: 800 .55rem var(--font-head); }
.calendar-event-logo.has-img { background: #fff; }
.calendar-event-logo img { width: 100%; height: 100%; object-fit: contain; }
.calendar-event-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.calendar-event-title { display: -webkit-box; overflow: hidden; color: #312c2e; font-size: .75rem; font-weight: 700; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.calendar-event-meta { overflow: hidden; color: #817779; font-size: .64rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.calendar-more-row { display: flex; align-items: center; gap: 7px; padding-top: 3px; }
.calendar-hidden-logos { display: flex; align-items: center; }
.calendar-hidden-logo { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; overflow: hidden; margin-left: -5px; border: 2px solid #fff; border-radius: 50%; background: var(--accent); color: #fff; font: 800 .45rem var(--font-head); }
.calendar-hidden-logo:first-child { margin-left: 0; }
.calendar-hidden-logo.has-img { background: #fff; }
.calendar-hidden-logo img { width: 100%; height: 100%; object-fit: contain; }
.calendar-more { width: auto; border: 0; background: transparent; color: var(--accent); padding: 5px 2px 1px; font: 800 .68rem var(--font-head); text-align: left; cursor: pointer; }
.calendar-less { padding-top: 7px; }
.calendar-more span { display: inline-block; margin-left: 3px; transition: transform .15s ease-out; }
.calendar-more:hover span { transform: translateY(2px); }
.event-preview { position: fixed; z-index: 30; width: min(560px, calc(100vw - 24px)); display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); overflow: hidden; border: 1px solid #d9cfcc; border-radius: 14px; background: #fff; box-shadow: 0 22px 60px rgba(38, 24, 28, .2); }
.event-preview[hidden] { display: none; }
.event-preview-media { display: flex; align-items: center; justify-content: center; min-height: 250px; background: #f2eeec; }
.event-preview-media img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; }
.event-preview-placeholder { width: 100%; min-height: 250px; aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #9b9193; background: linear-gradient(145deg, #f4f0ef, #ebe4e2); }
.event-preview-placeholder svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.event-preview-placeholder span { font-size: .76rem; font-weight: 700; }
.event-preview-body { min-width: 0; padding: 20px; }
.event-preview-club-row { display: flex; align-items: center; gap: 9px; }
.event-preview-club-logo { width: 36px; height: 32px; flex: 0 0 36px; display: grid; place-items: center; overflow: hidden; background: #fff; color: var(--accent); font: 800 .52rem var(--font-head); }
.event-preview-club-logo img { width: 100%; height: 100%; object-fit: contain; transform: scale(var(--event-logo-scale, 1)); transform-origin: center; }
.event-preview-club-logo[data-logo="jmcconline"] { --event-logo-scale: 1.16; }
.event-preview-club-logo[data-logo="jmiba_jmsb"] { --event-logo-scale: 1.24; }
.event-preview-club-logo[data-logo="jmmaonline"] { width: 50px; flex-basis: 50px; --event-logo-scale: 1.42; }
.event-preview-club-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.event-preview-club { color: var(--accent); font: 800 .72rem var(--font-head); letter-spacing: .045em; text-transform: uppercase; }
.event-preview-club-full { color: #5f585a; font: 400 .72rem/1.2 var(--font); letter-spacing: 0; text-transform: none; }
.event-preview h3 { margin: 5px 0 14px; font-size: 1.25rem; line-height: 1.2; }
.event-preview-facts { display: grid; gap: 7px; color: #5f585a; font-size: .82rem; }
.event-preview-facts span { display: flex; align-items: center; gap: 8px; }
.event-preview-facts svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.event-preview-body > p { margin: 14px 0 0; color: #4f484a; font-size: .84rem; line-height: 1.5; }
.event-preview-body .event-preview-detail { margin-top: 7px; }
.event-preview-detail strong { color: var(--text); }
.event-preview-mobile-heading { display: none; }
.event-preview-link { display: none; }
.event-preview-close { display: none; }
.event-preview-backdrop { display: none; }
#month-detail { margin-top: 1rem; scroll-margin-top: 90px; }

/* Clubs */
.club-finder { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; min-height: 190px; margin: 0 0 20px; padding: clamp(34px, 4vw, 62px); background: linear-gradient(125deg, #fff 0%, #fdfbf8 48%, #f8edf0 100%); color: var(--text); border: 1px solid #e2d7d2; border-radius: 12px; box-shadow: 0 16px 45px rgba(56, 36, 40, .09); transition: min-height .3s ease-out, padding .3s ease-out, box-shadow .3s ease-out; }
.club-finder::before, .club-finder::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.club-finder::before { width: 360px; height: 360px; top: -245px; right: -80px; background: radial-gradient(circle, rgba(177, 138, 99, .24) 0%, rgba(177, 138, 99, 0) 70%); }
.club-finder::after { width: 300px; height: 300px; bottom: -230px; left: -70px; background: radial-gradient(circle, rgba(146, 24, 47, .16) 0%, rgba(146, 24, 47, 0) 72%); }
.club-finder.is-active { min-height: 360px; box-shadow: 0 22px 60px rgba(56, 36, 40, .13); }
.club-finder.is-complete { min-height: 230px; }
.club-finder-content { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.club-finder h2 { margin: 0; color: var(--text); font-family: var(--font); font-size: clamp(1.7rem, 2.25vw, 2.7rem); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; text-transform: none; }
.club-finder-button { flex: 0 0 auto; min-width: 168px; border: 0; border-radius: 999px; background: var(--gold); color: #fff; padding: 15px 26px; box-shadow: 0 8px 20px rgba(177, 138, 99, .28); font: 800 1rem var(--font); cursor: pointer; transition: background-color .15s ease-out, transform .15s ease-out, box-shadow .15s ease-out; }
.club-finder-button:hover { background: #987351; transform: translateY(-2px); box-shadow: 0 11px 24px rgba(177, 138, 99, .34); }
.club-finder-progress { --progress: 0%; width: 60px; height: 60px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; background: conic-gradient(var(--accent) var(--progress), #e9e1dc 0); box-shadow: 0 7px 18px rgba(79, 45, 52, .14); }
.club-finder-progress span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--accent); font-family: var(--font-head); font-size: .92rem; font-weight: 800; }
.club-finder-options { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 12px; margin-top: 28px; }
.club-finder-options button { position: relative; min-height: 70px; border: 1px solid #ded6d1; border-radius: 10px; background: rgba(255, 255, 255, .9); color: var(--text); padding: 15px 48px 15px 18px; box-shadow: 0 7px 18px rgba(59, 41, 45, .06); font: 700 .95rem var(--font); text-align: left; cursor: pointer; animation: finder-option-in .28s ease-out both; transition: border-color .16s ease-out, color .16s ease-out, transform .16s ease-out, box-shadow .16s ease-out; }
.club-finder-options button::after { content: "→"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.2rem; transition: transform .16s ease-out, color .16s ease-out; }
.club-finder-options button:nth-child(2) { animation-delay: .035s; }
.club-finder-options button:nth-child(3) { animation-delay: .07s; }
.club-finder-options button:nth-child(4) { animation-delay: .105s; }
.club-finder-options button:nth-child(5) { animation-delay: .14s; }
.club-finder-options button:nth-child(6) { animation-delay: .175s; }
.club-finder-options button:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(86, 39, 50, .12); }
.club-finder-options button:hover::after { color: var(--accent); transform: translate(3px, -50%); }
.club-finder-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; border: 1px solid #d9cbc6; border-radius: 999px; background: rgba(255,255,255,.72); color: var(--text); padding: 9px 16px; box-shadow: 0 5px 14px rgba(67, 43, 48, .06); font: 700 .9rem var(--font); cursor: pointer; transition: border-color .16s ease-out, color .16s ease-out, transform .16s ease-out, box-shadow .16s ease-out; }
.club-finder-back span { color: var(--gold); font-size: 1.12rem; transition: transform .16s ease-out; }
.club-finder-back:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(67, 43, 48, .1); }
.club-finder-back:hover span { transform: translateX(-3px); }
.club-finder-answer-summary { margin: 14px 0 0; color: var(--muted); }
@keyframes finder-option-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.club-filter-meta { display: flex; align-items: center; gap: 14px; margin: -4px 0 16px; }
.club-filter-meta[hidden] { display: none; }
.club-filter-meta strong { font-family: var(--font-head); font-size: 1.05rem; }
.club-filter-meta span { color: var(--muted); font-size: .9rem; }
.club-filter-meta button { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; border: 1px solid #d5c7c2; border-radius: 999px; background: #fff; color: var(--accent); padding: 8px 14px; box-shadow: 0 4px 12px rgba(70, 42, 48, .06); font: 700 .88rem var(--font); cursor: pointer; transition: border-color .16s ease-out, background-color .16s ease-out, transform .16s ease-out, box-shadow .16s ease-out; }
.club-filter-meta button span { color: var(--gold); font-size: 1.05rem; transition: transform .25s ease-out; }
.club-filter-meta button:hover { border-color: var(--accent); background: #fffafb; transform: translateY(-2px); box-shadow: 0 7px 16px rgba(70, 42, 48, .1); }
.club-filter-meta button:hover span { transform: rotate(-90deg); }
.clubs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-bottom: 2rem; }
.club-card[hidden] { display: none; }
.club-card { display: flex; min-height: 238px; flex-direction: column; align-items: center; justify-content: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 16px; text-align: center; text-decoration: none; color: var(--text); transition: border-color .15s ease-out, transform .15s ease-out; }
.club-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.avatar { width: 112px; height: 112px; overflow: hidden; border-radius: var(--radius); background: var(--accent); color: #fff; font-family: var(--font-head); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; margin: 0 auto 14px; }
.club-card h3 { margin: 0; font-size: 1.05rem; }
.club-card .count { font-size: .85rem; color: var(--muted); }
.club-back { margin: .25rem 0 1.25rem; }
.club-back a { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #d4cac7; border-radius: 0; background: #fff; color: var(--text); padding: 9px 13px; font-weight: 700; text-decoration: none; transition: border-color .15s ease-out, color .15s ease-out, background-color .15s ease-out; }
.club-back a svg { width: 17px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.club-back a:hover { border-color: var(--accent); background: #fffafb; color: var(--accent); }
.club-profile-grid { display: grid; grid-template-columns: minmax(280px, 3fr) minmax(0, 7fr); gap: clamp(14px, 1.5vw, 24px); align-items: stretch; }
.club-identity-card, .club-info-card, .club-team, .club-events { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.club-identity-card, .club-info-card { padding: clamp(22px, 2.2vw, 36px); }
.club-identity-card { display: flex; align-items: center; }
.club-head { display: flex; gap: clamp(14px, 1.4vw, 20px); align-items: center; min-width: 0; }
.club-head h1 { margin: 0 0 .35rem; font-size: clamp(1.55rem, 2vw, 2.35rem); overflow-wrap: anywhere; }
.club-head .avatar { width: clamp(76px, 6vw, 96px); height: clamp(76px, 6vw, 96px); flex: 0 0 auto; font-size: 1.1rem; margin: 0; border: 1px solid var(--border); }
.club-info-card { display: flex; flex-direction: column; justify-content: center; }
.club-info-card h2, .club-section-head h2 { margin: .2rem 0 .8rem; font-size: clamp(1.35rem, 1.5vw, 1.75rem); }
.club-info-card .club-desc { margin: 0; font-size: clamp(1rem, 1vw, 1.1rem); line-height: 1.7; }
.section-kicker { margin: 0; color: var(--accent); font-family: var(--font-head); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.club-team, .club-events { margin-top: clamp(18px, 2vw, 28px); padding: clamp(22px, 2.2vw, 36px); }
.club-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 1.25rem; }
.club-section-head h2 { margin-bottom: 0; }
.club-section-head > a { font-weight: 700; white-space: nowrap; }
.team-carousel-shell { position: relative; }
.member-strip { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: clamp(280px, 24vw, 400px); gap: 12px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x proximity; scrollbar-width: none; padding: 1px; }
.member-strip::-webkit-scrollbar { display: none; }
.member-card { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--border); scroll-snap-align: start; }
.member-mark { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; background: var(--accent); color: #fff; border-radius: 50%; font-family: var(--font-head); font-size: .82rem; font-weight: 800; }
.member-card h3 { margin: 0 0 2px; font-size: .95rem; overflow-wrap: anywhere; }
.member-card p { margin: 0; color: var(--muted); font-size: .82rem; }
.member-card.is-placeholder { background: #fafafa; }
.member-card.is-placeholder .member-mark { background: var(--accent-soft); color: var(--accent); }
.team-arrow { position: absolute; z-index: 2; top: 50%; width: 42px; height: 42px; display: grid; place-items: center; transform: translateY(-50%); border: 0; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 4px 16px rgba(30, 20, 23, .22); font: 700 1.8rem/1 var(--font-head); cursor: pointer; transition: transform .15s ease-out, background-color .15s ease-out; }
.team-arrow:hover { background: #731226; transform: translateY(-50%) scale(1.05); }
.team-arrow-left { left: -16px; }
.team-arrow-right { right: -16px; }
.team-arrow[hidden] { display: none; }
.club-events .day-heading { margin-top: 1.25rem; }
.club-events-empty { padding: 2.25rem 1rem; border-top: 1px solid var(--border); }
.ig-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.ig-link:hover span { text-decoration: underline; }
.ig-icon { flex: 0 0 auto; }
.avatar.has-img, .logo.has-img { background: #fff; }
.avatar img { width: 100%; height: 100%; object-fit: contain; }
.club-desc { max-width: 75ch; }
.placeholder { border: 1px dashed var(--border); border-radius: var(--radius); padding: 16px; color: var(--muted); background: var(--card); }

/* Joining a club */
.join-intro-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr); gap: 18px; }
.join-main-card, .join-timing-card, .join-section, .join-info-card { background: #fff; border: 1px solid var(--border); border-radius: 0; }
.join-main-card, .join-timing-card, .join-info-card { padding: clamp(26px, 3vw, 48px); }
.join-main-card { display: flex; flex-direction: column; justify-content: center; }
.join-main-card h2, .join-timing-card h2, .join-section > h2, .join-info-card h2 { margin: 0 0 16px; font-size: clamp(1.45rem, 1.8vw, 2rem); line-height: 1.15; text-transform: none; }
.join-main-card p { max-width: 62ch; margin: 0; font-size: clamp(1rem, 1.05vw, 1.15rem); line-height: 1.7; }
.join-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.join-actions .btn { font-size: 1rem; }
.join-text-link { font-weight: 700; }
.join-timing-card dl { margin: 0 0 18px; }
.join-timing-card dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 14px 0; border-top: 1px solid #e6e0dd; }
.join-timing-card dl > div:first-child { border-top: 0; }
.join-timing-card dt { font-family: var(--font-head); font-weight: 800; }
.join-timing-card dd { margin: 0; color: #575153; }
.join-timing-card > a, .join-info-card > a { font-weight: 700; }
.join-section { margin-top: 18px; padding: clamp(26px, 3vw, 42px); }
.join-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.join-steps article { min-height: 190px; padding: 24px 20px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.join-steps article > span { display: block; margin-bottom: 22px; color: var(--accent); font: 800 1.8rem/1 var(--font-head); }
.join-steps h3 { margin: 0 0 8px; font-size: 1.05rem; }
.join-steps p { margin: 0; color: #5d5658; line-height: 1.55; }
.join-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.join-info-card ul { margin: 0; padding-left: 20px; }
.join-info-card li + li { margin-top: 9px; }
.join-info-card p { max-width: 65ch; margin: 0 0 14px; line-height: 1.65; }

.site-footer { margin-top: auto; background: var(--accent); color: rgba(255,255,255,.85); padding: 1.5rem 0; font-size: .85rem; }
.site-footer .muted { color: rgba(255,255,255,.85); }

@media (max-width: 900px) { .landing-text { max-width: 100%; } }
@media (max-width: 960px) {
  .event-list-grid { grid-template-columns: 1fr; }
  .club-profile-grid { grid-template-columns: minmax(240px, 2fr) minmax(0, 3fr); }
  .join-intro-grid { grid-template-columns: 1fr; }
  .join-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .club-profile-grid { grid-template-columns: 1fr; }
  .club-head { flex-direction: row; align-items: center; }
  .club-head .avatar { width: 88px; height: 88px; flex: 0 0 88px; }
  .club-section-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .club-finder { align-items: center; }
  .club-finder-button { width: 100%; }
  .club-finder-options { grid-template-columns: 1fr; }
  .club-filter-meta { align-items: flex-start; flex-wrap: wrap; }
  .club-filter-meta button { margin-left: 0; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.8rem; }
  .landing-inner { min-height: 0; padding-top: 3rem; padding-bottom: 3rem; }
  .logo-track { animation: logo-scroll 75s linear infinite !important; animation-play-state: running !important; will-change: transform; }
  .logo-bar:focus-within .logo-track { animation-play-state: running; }
  .logo-set[aria-hidden], .logo-set + .logo-set { display: flex; }
  .clubs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .club-card { min-height: 190px; padding: 14px 10px; }
  .club-card .avatar { width: 88px; height: 88px; }
  .landing h1 { font-size: 2.5rem; }
  .cta .btn { flex: 1 1 100%; text-align: center; }
  .events-toolbar { align-items: stretch; flex-direction: column; }
  .seg { align-self: stretch; }
  .seg button { flex: 1; justify-content: center; }
  .club-filter-shell::after, .event-type-filter-shell::after { display: none; }
  .event-type-filter-shell { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .filter-pills { flex-wrap: wrap; overflow: visible; gap: 6px; padding: 5px; }
  .filter-pills button { min-height: 36px; padding: 7px 11px; font-size: .75rem; }
  .event-type-filter-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; padding: 0; }
  .event-type-filter-pills button { width: 100%; min-height: 46px; border: 1px solid #d8d0cd; border-radius: 0; background: #fff; color: #514a4c; padding: 8px 6px; line-height: 1.15; text-align: center; white-space: normal; }
  .event-type-filter-pills button:hover { border-color: var(--gold); border-bottom-color: var(--gold); background: #fff; color: var(--gold); }
  .event-type-filter-pills button.active { border-color: var(--gold); border-bottom-color: var(--gold); background: var(--gold); color: #fff; }
  .calendar-shell { overflow: visible; margin: 0 -6px; padding: 14px 8px; }
  .month-nav { margin-bottom: 12px; }
  .month-nav strong { font-size: 1.7rem; }
  .month-nav button { width: 38px; height: 38px; }
  .grid { min-width: 0; gap: 3px; }
  .grid .dow { padding: 2px 0 6px; font-size: .55rem; text-align: center; }
  .grid .cell { min-height: 88px; padding: 4px 2px; border-radius: 7px; cursor: pointer; }
  .grid .num { width: 24px; height: 24px; margin: 0 auto 3px; font-size: .7rem; }
  .cell-events { gap: 1px; }
  .calendar-shell .calendar-event { min-height: 24px; justify-content: center; gap: 0; border-top: 0; padding: 1px 0; -webkit-touch-callout: none; }
  .calendar-shell .calendar-event:hover { padding-left: 0; }
  .calendar-shell .calendar-event-logo { width: 22px; height: 22px; flex-basis: 22px; border-radius: 4px; }
  .calendar-shell .calendar-event-copy { display: none; }
  .calendar-more-row { justify-content: center; gap: 0; padding: 0; }
  .calendar-hidden-logos { display: none; }
  .calendar-more { padding: 1px; font-size: 0; text-align: center; }
  .calendar-more::before { content: "+" attr(data-more-count); font: 800 .62rem var(--font-head); }
  .calendar-more span { display: none; }
  .mobile-day-view { min-height: 60vh; overflow: hidden; border: 1px solid #ded7d4; background: #fff; padding: 18px; animation: mobile-day-in .28s cubic-bezier(.2,.8,.2,1) both; transform-origin: 50% 25%; }
  .mobile-day-view.is-closing { animation: mobile-day-out .22s ease-in both; }
  .mobile-day-back { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: var(--accent); padding: 4px 0 16px; font: 800 .95rem var(--font-head); }
  .mobile-day-back svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-day-heading { display: flex; align-items: baseline; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid #e4dcda; }
  .mobile-day-heading > span { color: var(--accent); font: 800 .78rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
  .mobile-day-heading > strong { color: #262326; font: 800 2.8rem/1 var(--font-head); }
  .mobile-day-heading h2 { margin: 0 0 4px auto; font-size: 1rem; text-transform: none; }
  .mobile-day-events { display: grid; }
  .mobile-day-event { min-height: 76px; justify-content: flex-start; gap: 13px; border-top: 1px solid #e7ddda; padding: 14px 2px; }
  .mobile-day-event:first-child { border-top: 0; }
  .mobile-day-event .calendar-event-logo { width: 46px; height: 46px; flex-basis: 46px; border-radius: 7px; }
  .mobile-day-event .calendar-event-copy { display: flex; text-align: left; }
  .mobile-day-event .calendar-event-title { font-size: .95rem; -webkit-line-clamp: 3; }
  .mobile-day-event .calendar-event-meta { margin-top: 4px; font-size: .74rem; }
  body.event-preview-open { overflow: hidden; }
  .event-preview-backdrop:not([hidden]) { position: fixed; z-index: 39; inset: 0; display: block; background: rgba(24,18,20,.52); backdrop-filter: blur(2px); }
  .event-preview { z-index: 40; left: 12px !important; right: 12px; top: 50% !important; width: auto; max-height: min(82vh, 680px); grid-template-areas: "heading heading" "media body" "link link"; grid-template-columns: minmax(112px, 38%) minmax(0, 1fr); overflow-y: auto; border-radius: 12px; transform: translateY(-50%); animation: mobile-preview-in .2s ease-out both; }
  .event-preview-mobile-heading { grid-area: heading; display: block; padding: 18px 52px 12px 18px; }
  .event-preview-mobile-heading .event-preview-club-logo { width: 30px; height: 27px; flex-basis: 30px; }
  .event-preview-mobile-heading .event-preview-club-logo[data-logo="jmmaonline"] { width: 42px; flex-basis: 42px; }
  .event-preview-mobile-heading h3 { margin: 4px 0 0; font-size: 1.15rem; }
  .event-preview-media { grid-area: media; min-height: 0; aspect-ratio: 4 / 5; align-self: center; }
  .event-preview-placeholder { height: 100%; min-height: 0; aspect-ratio: 4 / 5; }
  .event-preview-media img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
  .event-preview-body { grid-area: body; padding: 10px 14px 18px; }
  .event-preview-body > .event-preview-club-row, .event-preview-body > h3 { display: none; }
  .event-preview-facts { font-size: .76rem; }
  .event-preview-body > p { font-size: .78rem; }
  .event-preview-link { grid-area: link; justify-self: center; display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin: 4px 0 16px; background: var(--accent); color: #fff; padding: 10px 14px; font: 800 .78rem var(--font-head); text-decoration: none; }
  .event-preview-link .external-link-icon { width: 15px; height: 15px; flex-basis: 15px; }
  .event-preview-close { position: absolute; z-index: 2; top: 8px; right: 8px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #d9cfcc; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: 0 3px 10px rgba(38,24,28,.12); }
  .event-preview-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .event { gap: 12px; padding: 12px; }
  .event-list-card { grid-template-areas: "heading heading" "media body" "link link"; grid-template-columns: minmax(112px, 38%) minmax(0, 1fr); grid-template-rows: auto 1fr auto; border-radius: 10px; }
  .event-list-card .event-preview-media { min-height: 0; aspect-ratio: 4 / 5; align-self: center; }
  .event-list-card .event-preview-placeholder { height: 100%; min-height: 0; aspect-ratio: 4 / 5; }
  .event-list-card .event-preview-body { padding: 10px 14px 18px; }
  .event-list-card .event-preview-link { justify-self: center; margin: 4px 0 16px; }
  .home-event-card { min-height: 0; }
  .home-event-club-logo, .home-event-logo { width: 62px; height: 62px; flex-basis: 62px; }
  .club-identity-card, .club-info-card, .club-team, .club-events { padding: 18px; }
  .club-head { align-items: flex-start; }
  .club-head h1 { font-size: 1.9rem; }
  .brand { width: 124px; }
  .tabs { display: flex; align-self: stretch; }
  .tabs a { display: flex; align-items: center; margin-left: .65rem; padding: 0; font-size: .68rem; white-space: nowrap; }
  .join-timing-card dl > div { grid-template-columns: 1fr; gap: 4px; }
  .join-steps, .join-info-grid { grid-template-columns: 1fr; }
  .join-steps article { min-height: 0; }
}

@keyframes mobile-day-in { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
@keyframes mobile-day-out { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(.94); } }
@keyframes mobile-preview-in { from { opacity: 0; transform: translateY(-48%) scale(.96); } to { opacity: 1; transform: translateY(-50%) scale(1); } }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.event p { max-width: 75ch; }

@media (prefers-reduced-motion: reduce) {
  .filter-pills { scroll-behavior: auto; }
  .member-strip { scroll-behavior: auto; }
  .team-arrow { transition: none; }
  .club-finder { transition: none; }
  .club-finder-options button { animation: none; }
}
