/* Club group: /the-club/, /coaches/, coach and committee profiles.
   Every selector is .club- prefixed; tokens only; min-width queries at 600/880/1080/1280. */

/* ------------------------------------------------------------ section heads (tighter on phones) */
.club-timeline .section-head,.club-values .section-head,.club-committee .section-head,.club-teaser .section-head{margin-bottom:var(--s4)}
@media (min-width:880px){.club-timeline .section-head,.club-values .section-head,.club-committee .section-head,.club-teaser .section-head{margin-bottom:var(--s6)}}

/* ------------------------------------------------------------ people grid */
.club-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s2);margin:0;padding:0;list-style:none}
.club-people>li{display:flex;min-width:0}
.club-people>li>.person-card{flex:1}
@media (min-width:600px){.club-people{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s4)}}
@media (min-width:1080px){.club-people{grid-template-columns:repeat(4,minmax(0,1fr))}}
.club-people .person-card__body{padding:var(--s2) var(--s3) var(--s3);gap:4px}
.club-people .person-card__name{font-size:1.1rem;line-height:1.1}
.club-people .person-card__role{font-size:.8rem;letter-spacing:.1em}
.club-people .person-card__meta{font-size:.9rem;line-height:1.4}
@media (min-width:600px){.club-people .person-card__name{font-size:1.25rem}.club-people .person-card__body{padding:var(--s3) var(--s4) var(--s4)}}

/* Committee: a compact list (avatar, name, role, area) until every member has a photo, so the six
   initials tiles do not dominate the grid. */
.club-committee .club-people{grid-template-columns:minmax(0,1fr);gap:var(--s2)}
@media (min-width:600px){.club-committee .club-people{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s3)}}
@media (min-width:1080px){.club-committee .club-people{grid-template-columns:repeat(3,minmax(0,1fr))}}
.club-committee .person-card{flex-direction:row;align-items:center;gap:var(--s3);padding:var(--s3)}
.club-committee .person-card__media{flex:0 0 72px;width:72px;height:72px;aspect-ratio:1/1;border-radius:50%}
.club-committee .person-card__body,.club-committee .club-people .person-card__body{padding:0;min-width:0}
.club-committee .monogram span{font-size:1.6rem}
.club-committee .monogram::before{inset:16%}
.club-committee .person-card:has(a.stretched):hover .person-card__img{transform:none}

/* native-size photo inside the monogram frame (too small to crop) */
.club-native{flex-direction:column}
.club-native .club-native__img{position:relative;z-index:1;width:auto;max-width:72%;height:auto;box-shadow:0 0 0 6px var(--white),0 10px 24px rgba(0,0,0,.25)}
.club-native--lg .club-native__img{max-width:60%}

/* -------------------------------------------------------------- the club */
.club-story__copy .section-head{margin-bottom:var(--s4)}
.club-story__text p{color:var(--fg)}
.club-story__text .lead{color:var(--fg-strong)}
.club-story__media{position:relative;margin:0 12px 12px 0;width:auto}
.club-story__media::before{content:"";position:absolute;inset:12px -12px -12px 12px;background:var(--grad-red)}
.club-story__img{position:relative;display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 60%;filter:grayscale(1) contrast(1.05)}
.club-story__badge{display:inline-flex;align-items:baseline;gap:10px;margin:0 0 var(--s3);padding:8px 14px;background:var(--red);color:var(--white)}
.club-story__badge .t-meta{color:var(--white)}
.club-story__badge-n{font-family:var(--ff-disp);font-weight:900;font-size:1.75rem;line-height:1}
@media (min-width:880px){.club-story__media{align-self:center}.club-story__badge-n{font-size:2rem}}

/* timeline: vertical spine on mobile, 5-step rail from 1080 */
.club-timeline .club-tl{position:relative;display:grid;gap:var(--s3);margin:0;padding:0 0 0 28px;list-style:none}
.club-tl::before{content:"";position:absolute;left:7px;top:6px;bottom:6px;width:2px;background:linear-gradient(180deg,var(--red),var(--ink-4))}
.club-tl__item{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:var(--s2)}
.club-tl__item::before{content:"";position:absolute;left:-28px;top:6px;width:16px;height:16px;border-radius:50%;background:var(--ink-2);border:3px solid var(--red)}
.club-tl__item.is-highlight::before{border-color:var(--gold);background:var(--gold)}
.club-tl__year{grid-row:1 / span 2;font-family:var(--ff-disp);font-weight:900;font-size:1.75rem;line-height:1;color:var(--heading)}
.club-tl__item.is-highlight .club-tl__year{color:var(--gold)}
.club-tl__title{grid-column:2;margin-top:2px;color:var(--heading)}
.club-tl__body{grid-column:2;margin-top:4px;color:var(--fg);max-width:46ch}
@media (min-width:600px){.club-timeline .club-tl{gap:var(--s4)}.club-tl__item{grid-template-columns:96px minmax(0,1fr)}.club-tl__year{font-size:2.2rem}}
@media (min-width:1080px){
  .club-timeline .club-tl{grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--s4);padding:36px 0 0}
  .club-tl::before{left:0;right:0;top:7px;bottom:auto;width:auto;height:2px;background:linear-gradient(90deg,var(--red),var(--ink-4) 80%,var(--gold))}
  .club-tl__item{display:block}
  .club-tl__item::before{left:0;top:-36px}
  .club-tl__year{font-size:2.75rem}
  .club-tl__title{margin-top:8px}
  .club-tl__body{margin-top:6px}
  .club-tl__item.is-highlight{padding:var(--s3);margin:-16px -16px 0;border:1px solid rgba(216,180,90,.45);background:rgba(216,180,90,.06)}
  .club-tl__item.is-highlight::before{left:16px;top:-20px}
}

/* values */
.club-values .club-values__list{margin:0;padding:0;list-style:none}
.club-value{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:var(--s2);padding:var(--s3);background:var(--card-bg);border:1px solid var(--line);border-top:3px solid var(--red)}
.club-value__n{grid-row:1 / span 2;font-family:var(--ff-disp);font-weight:900;font-size:2.2rem;line-height:1;color:var(--red)}
.club-value__title{grid-column:2;color:var(--heading)}
.club-value__body{grid-column:2;margin-top:6px;color:var(--fg)}
@media (min-width:600px){
  .club-value{display:block;padding:var(--s4)}
  .club-value__n{font-size:2.4rem}
  .club-value__title{margin-top:var(--s2)}
  .club-value__body{margin-top:var(--s1)}
}

/* coaches teaser */
.club-teaser__head{gap:var(--s4)}
.club-teaser .club-teaser__list{display:grid;grid-auto-flow:column;grid-auto-columns:31%;gap:var(--s2);margin:0;padding:0 0 8px;list-style:none;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin}
.club-teaser__item{scroll-snap-align:start;min-width:0}
@media (min-width:600px){.club-teaser .club-teaser__list{grid-auto-columns:23%}}
@media (min-width:880px){.club-teaser .club-teaser__list{grid-auto-flow:row;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--s4);overflow:visible;padding-bottom:0}}
.club-teaser__link{display:flex;flex-direction:column;gap:4px;color:var(--heading);text-decoration:none}
.club-teaser__media{display:block;aspect-ratio:1;overflow:hidden;background:var(--sand);border:1px solid var(--line)}
.club-teaser__img{width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 30%);transition:transform .5s ease}
.club-teaser__link:hover .club-teaser__img{transform:scale(1.04)}
.club-teaser__link:hover .club-teaser__name{text-decoration:underline;text-decoration-color:var(--red)}
.club-teaser__name{margin-top:6px;font-family:var(--ff-disp);font-weight:700;font-size:1rem;line-height:1.1;letter-spacing:.02em;text-transform:uppercase}
.club-teaser__team{color:var(--accent-text);font-size:.78rem}

/* ---------------------------------------------------------------- coaches */
.club-filter{position:sticky;top:var(--header-h);z-index:20;background:rgba(18,18,18,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.club-filter .wrap{padding-block:10px 4px}
.club-filter__rail{padding-bottom:6px}
@media (min-width:880px){.club-filter .wrap{padding-block:14px 10px}.club-filter__rail{padding-bottom:2px}}
.club-coaches{padding-top:var(--s5)}
@media (min-width:880px){.club-coaches{padding-top:var(--s6)}}
.club-blocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s5) var(--s3)}
@media (min-width:600px){.club-blocks{column-gap:var(--s4)}}
@media (min-width:880px){.club-blocks{row-gap:var(--s7)}}
.club-block{grid-column:1 / -1;min-width:0;scroll-margin-top:calc(var(--header-h) + 72px);padding-top:var(--s5);border-top:1px solid var(--line)}
.club-block--top{padding-top:0;border-top:0}
.club-block--pair{grid-column:auto}
@media (min-width:880px){.club-block{padding-top:var(--s6)}.club-block--top{padding-top:0}.club-block--half{grid-column:auto}}
.club-block--pair .club-people,.club-block--half .club-people{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
@media (min-width:600px){.club-block--pair .club-people,.club-block--half .club-people{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}}
.club-block__head{display:flex;flex-direction:column;gap:6px;margin-bottom:var(--s4)}
@media (min-width:880px){.club-block__head{flex-direction:row;align-items:baseline;justify-content:space-between;gap:var(--s4)}}
@media (min-width:880px){.club-block--pair .club-block__head,.club-block--half .club-block__head{flex-direction:column;align-items:flex-start;gap:6px}}
.club-block__title{color:var(--heading);display:flex;align-items:center;gap:12px}
.club-block__title::before{content:"";width:28px;height:3px;background:var(--red);flex:none}
.club-block__lead{color:var(--fg-muted)}
.club-block__lead a{color:var(--heading);text-decoration-color:var(--red)}
.club-empty{display:flex;flex-direction:column;align-items:flex-start;gap:var(--s2);padding:var(--s4);border:1px dashed var(--line-strong);background:var(--ink-2)}
.club-empty p{color:var(--fg);margin:0}

/* --------------------------------------------------------------- profiles */
/* phones: photo, bio, facts, join prompt (the side and main columns use display:contents);
   600-879: photo beside the facts, then the bio; 880+: photo and facts in a column beside the bio */
.club-profile__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s5)}
.club-profile__side,.club-profile__main{display:contents}
.club-profile__photo{order:1;min-width:0}
.club-profile__bio{order:2;min-width:0}
.club-facts{order:3;min-width:0}
.club-join{order:4}
@media (min-width:600px){
  .club-profile__side{display:grid;grid-template-columns:minmax(0,240px) minmax(0,1fr);gap:var(--s4);align-items:start;order:1;min-width:0}
  .club-profile__main{display:flex;flex-direction:column;gap:var(--s6);order:2;min-width:0}
}
@media (min-width:880px){
  .club-profile__grid{grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:var(--s7);align-items:start}
  .club-profile__side{grid-template-columns:minmax(0,1fr);position:sticky;top:calc(var(--header-h) + var(--s4))}
}
@media (min-width:1080px){.club-profile__grid{grid-template-columns:minmax(0,380px) minmax(0,1fr)}}
.club-portrait{position:relative;aspect-ratio:4/5;overflow:hidden;background:var(--mono-bg);border:1px solid var(--line);max-width:240px;width:100%}
.club-portrait::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--red)}
@media (min-width:600px){.club-portrait{max-width:none}}
.club-portrait__img{width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 30%)}
.club-facts__title{color:var(--heading);margin-bottom:var(--s2)}
.club-facts .facts__row{padding:10px 0}
@media (min-width:600px){.club-facts .facts__row{grid-template-columns:minmax(0,1fr);gap:4px}}
.club-facts dd{font-size:1rem;line-height:1.5}
.club-facts dd a{position:relative}
/* 44px tap area without changing the list's rhythm (club rule; the links are about 20px tall) */
.club-facts dd a::after{content:"";position:absolute;left:-4px;right:-4px;top:-12px;bottom:-12px}
.club-facts__list{margin:0;padding:0 0 0 1.1em}
.club-facts__list li::marker{color:var(--red)}
.club-facts__list li+li{margin-top:4px}
.club-facts__tbc{color:var(--fg-muted)}
.club-profile__h{color:var(--heading);margin-bottom:var(--s4)}
/* No larger, brighter first paragraph: on a profile it read as a second font (the Chairman, 12th November 2026). */
.club-signoff{font-family:var(--ff-disp);font-weight:800;font-size:1.4rem;letter-spacing:.02em;text-transform:uppercase;color:var(--heading)}
.club-signoff__accent{color:var(--red-bright)}

/* previous / next */
.club-pager__inner{display:grid;grid-template-columns:1fr 1fr;gap:var(--s3);align-items:center}
.club-pager__cell--mid{grid-column:1 / -1;order:3;justify-self:center}
.club-pager__cell--end{justify-self:end;text-align:right}
@media (min-width:880px){.club-pager__inner{grid-template-columns:1fr auto 1fr}.club-pager__cell--mid{grid-column:auto;order:0}}
.club-pager__link{display:inline-flex;align-items:center;gap:12px;min-height:48px;color:var(--heading);text-decoration:none}
.club-pager__link:hover .club-pager__name{text-decoration:underline;text-decoration-color:var(--red)}
.club-pager__link .icon{color:var(--red-bright);flex:none}
.club-pager__text{display:flex;flex-direction:column;gap:2px;min-width:0}
.club-pager__dir{color:var(--fg-muted);font-size:.75rem}
.club-pager__name{font-family:var(--ff-disp);font-weight:800;font-size:1.05rem;line-height:1.1;text-transform:uppercase}
@media (min-width:600px){.club-pager__name{font-size:1.3rem}}

/* join prompt under a bio: book first, register second (design review F11) */
.club-join{display:flex;flex-direction:column;gap:var(--s3);padding:var(--s4);background:var(--ink-2);border:1px solid var(--line);border-left:4px solid var(--red)}
.club-join__title{color:var(--heading)}
.club-join__text{color:var(--fg);margin:4px 0 0;font-size:1rem}
.club-join__actions{display:flex;flex-wrap:wrap;gap:var(--s2)}
@media (max-width:599px){.club-join__actions .btn{flex:1 1 100%}}
@media (min-width:1080px){.club-join:not(.club-join--stack){flex-direction:row;align-items:center;justify-content:space-between;gap:var(--s4)}.club-join__actions{flex:none}}

/* ------------------------------------------------------------ /safeguarding/ (.club-sg-; core.css owns .sg- for the style guide) */
.club-sg__wrap{display:flex;flex-direction:column;gap:var(--s5);max-width:980px}
@media (min-width:880px){.club-sg__wrap{gap:var(--s6)}}
.club-sg-tbc{display:flex;align-items:flex-start;gap:8px;margin:0;color:var(--fg-muted);font-size:1rem;line-height:1.5}
.club-sg-tbc .icon{flex:none;margin-top:3px;color:var(--steel)}
.club-sg-tbc--inline{display:inline;color:var(--fg-muted)}
.club-sg-urgent{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--s3);align-items:start;padding:var(--s4);background:var(--ink-2);border:1px solid var(--line);border-left:4px solid var(--red-bright)}
.club-sg-urgent__icon{display:flex;color:var(--red-bright)}
.club-sg-urgent__title{margin:0 0 6px;font-family:var(--ff-disp);font-weight:800;font-size:clamp(1.35rem,2.6vw,1.75rem);line-height:1.05;text-transform:uppercase;color:var(--heading)}
.club-sg__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s3)}
@media (min-width:880px){.club-sg__grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:var(--s4)}}
.club-sg-card{display:flex;flex-direction:column;gap:var(--s2);padding:var(--s4);background:var(--card-bg);border:1px solid var(--line);border-top:3px solid var(--red);min-width:0}
.club-sg-card__title,.club-sg-code__title{margin:0;font-family:var(--ff-disp);font-weight:800;font-size:1.35rem;line-height:1.05;letter-spacing:.01em;text-transform:uppercase;color:var(--heading)}
.club-sg-card__intro{margin:0;color:var(--fg-strong)}
.club-sg-person{display:grid;grid-template-columns:72px minmax(0,1fr);gap:var(--s3);align-items:start;margin-top:var(--s1)}
.club-sg-person__photo{width:72px;height:72px;overflow:hidden;border-radius:50%;background:var(--ink-3);border:1px solid var(--line-strong);display:flex;align-items:center;justify-content:center;color:var(--steel)}
.club-sg-person__photo .monogram{background:transparent;color:var(--steel)}
.club-sg-person__photo img{width:100%;height:100%;object-fit:cover}
.club-sg-person__facts{display:flex;flex-direction:column;margin:0}
.club-sg-person__facts>div{display:grid;grid-template-columns:minmax(0,7.5rem) minmax(0,1fr);gap:var(--s2);padding:8px 0;border-bottom:1px solid var(--line)}
.club-sg-person__facts>div:first-child{padding-top:0}
.club-sg-person__facts dt{font-family:var(--ff-disp);font-weight:700;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--fg-muted);padding-top:3px}
.club-sg-person__facts dd{margin:0;color:var(--fg-strong);overflow-wrap:anywhere}
.club-sg-person__facts a{color:var(--heading);text-decoration-color:var(--red);text-decoration-thickness:2px}
@media (max-width:420px){.club-sg-person{grid-template-columns:minmax(0,1fr)}.club-sg-person__facts>div{grid-template-columns:minmax(0,1fr);gap:2px}}
.club-sg-list{display:flex;flex-direction:column;gap:6px;margin:0;padding:0}
.club-sg-block{display:flex;flex-direction:column;gap:var(--s3)}
.club-sg-block__title{color:var(--heading)}
.club-sg-steps{display:grid;gap:var(--s2);margin:0;padding:0;counter-reset:none}
@media (min-width:880px){.club-sg-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s3)}}
.club-sg-step{display:grid;grid-template-columns:48px minmax(0,1fr);gap:var(--s2);align-items:start;padding:var(--s3);background:var(--card-bg);border:1px solid var(--line)}
.club-sg-step__n{font-family:var(--ff-disp);font-weight:900;font-size:2.2rem;line-height:1;color:var(--red-bright)}
.club-sg-steps--empty .club-sg-step__n{color:var(--ink-4)}
.club-sg-policy__facts{margin-top:var(--s1)}
.club-sg-codes{display:grid;gap:var(--s3);margin:0;padding:0}
@media (min-width:880px){.club-sg-codes{grid-template-columns:repeat(3,minmax(0,1fr))}}
.club-sg-doc{margin:auto 0 0}
.club-sg-club{padding:var(--s4);border:1px dashed var(--line-strong)}
.club-sg-club__title{color:var(--heading);margin-bottom:6px}
.club-sg-club__lines{display:flex;flex-wrap:wrap;gap:var(--s1) var(--s4);margin:var(--s2) 0 0;padding:0}
.club-sg-club__lines a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--heading);text-decoration-color:var(--red);text-decoration-thickness:2px}
.club-sg-club__lines .icon{color:var(--red-bright)}
.club-sg .todo{align-self:flex-start}

/* light stagger for people grids revealed on scroll (core.js [data-reveal]; off with reduced motion) */
.club-people>li.reveal:nth-child(2n){transition-delay:.07s}
@media (min-width:600px){.club-people>li.reveal:nth-child(3n+2){transition-delay:.07s}.club-people>li.reveal:nth-child(3n){transition-delay:.14s}}
.club-review-note{margin-top:var(--s2)}
.club-review-note a{color:inherit;text-decoration:underline;text-decoration-thickness:2px}

/* /coaches/ "Help run the club": the text, then three email choices, stacked on phones, in a row from 600px */
.club-help{scroll-margin-top:var(--header-h)}
.cta-band__inner.club-help__inner{flex-direction:column;align-items:flex-start;gap:var(--s4)}
.club-help__list{display:flex;flex-direction:column;gap:var(--s2);width:100%;margin:0;padding:0;list-style:none}
.club-help__list .btn{width:100%}
@media (min-width:600px){.club-help__list{flex-direction:row;flex-wrap:wrap;width:auto}.club-help__list .btn{width:auto}}
