/* BARC-OC: "Paddock Magazine". A motorsport magazine opened in the paddock: real racing photography, oversized
   condensed headlines, asphalt charcoal, crisp white and racing red, with the club's heritage teal and the tartan
   of a member's car kept as quiet details. */

:root {
  --asphalt: #121518;
  --asphalt-2: #1B1F22;
  --asphalt-3: #2A3034;
  --white: #FFFFFF;
  --paper: #F1F2F0;
  --ink: #121518;
  --steel: #565E63;
  --mist: #AEB6BA;
  --rule: #E0E3E4;
  --rule-d: rgba(255, 255, 255, .16);
  --red: #E1121B;
  --red-deep: #B40F16;
  --teal: #003B4A;
  --teal-ink: #CFE1E5;
  --warm: #F4EFE3;
  --field: #737B80;
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 84px;
  --font-d: "Archivo", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-b: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.16, .84, .3, 1);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 104px; scrollbar-color: var(--asphalt-3) var(--paper); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 18px/1.55 var(--font-b); font-kerning: normal; -webkit-font-smoothing: antialiased; }
@media (min-width: 1100px) { body { font-size: 19px; } }
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-d); margin: 0; text-wrap: balance; }
h2 { font-size: clamp(40px, 5.4vw, 84px); font-weight: 820; font-stretch: 68%; line-height: .92; text-transform: uppercase; letter-spacing: -.004em; }
h3 { font-size: clamp(23px, 1.9vw, 30px); font-weight: 720; font-stretch: 80%; line-height: 1.08; letter-spacing: -.005em; }
h4 { font-weight: 700; font-stretch: 85%; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
abbr[title] { text-decoration: none; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.section--asphalt :focus-visible, .section--teal :focus-visible, .section--red :focus-visible, .ppp :focus-visible, .hero :focus-visible,
.closing :focus-visible, .page-hero :focus-visible, .footer-base :focus-visible, .viewer :focus-visible, .vol-fig :focus-visible { outline-color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--asphalt); color: #fff; padding: 12px 18px; border-radius: 4px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.i { width: 20px; height: 20px; flex: none; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border: 2px solid transparent; border-radius: 4px;
  font: 720 16px/1.1 var(--font-d); font-stretch: 86%; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .18); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--lg { min-height: 58px; padding: 15px 30px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--paper); }
.btn--dark { background: var(--asphalt); color: #fff; }
.btn--dark:hover { background: var(--asphalt-3); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--ghost, .btn--line-light { border-color: rgba(255, 255, 255, .78); color: #fff; background: rgba(18, 21, 24, .12); }
.btn--ghost:hover, .btn--line-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn .i { width: 19px; height: 19px; }
.link { color: inherit; text-decoration: underline; }
.link-strong { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 760 16px/1.1 var(--font-d); font-stretch: 86%; letter-spacing: .05em; text-transform: uppercase; color: var(--red-deep); text-decoration: none; }
.link-strong .i { transition: transform .25s var(--ease); }
.link-strong:hover { text-decoration: underline; text-underline-offset: .25em; }
.link-strong:hover .i { transform: translateX(5px); }
.email-link { font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.email-link:hover { text-decoration-color: currentColor; }
.addr { user-select: text; -webkit-user-select: text; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.section-act { margin-top: 32px; }

/* ---------- header ---------- */
.site-header { --brand-h: 64px; position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
html:not(.js) .site-header, .site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header.is-scrolled { --brand-h: 48px; box-shadow: 0 6px 18px rgba(18, 21, 24, .08); }
.header-in { display: flex; align-items: center; gap: 18px; padding-block: calc(var(--brand-h) * .2); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; margin-right: auto; border-radius: 2px; text-decoration: none; color: var(--teal); }
.brand img { height: var(--brand-h); width: auto; }
.brand-text { display: grid; gap: 3px; }
.bt-1 { font: 860 calc(var(--brand-h) * .46)/.9 var(--font-d); font-stretch: 66%; letter-spacing: .01em; color: var(--teal); }
.bt-2 { font: 700 max(12px, calc(var(--brand-h) * .2))/1.15 var(--font-d); font-stretch: 86%; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); white-space: nowrap; }
.bt-long { display: none; }
@media (prefers-reduced-motion: no-preference) { .header-in, .brand img { transition: height .2s var(--ease), padding .2s var(--ease); } .bt-1, .bt-2 { transition: font-size .2s var(--ease); } }
.nav ul { list-style: none; display: flex; gap: 0; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 6px 11px; font: 700 15px/1 var(--font-d); font-stretch: 86%; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 5px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-join { flex: none; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 48px; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 4px; background: #fff; color: var(--ink); font: 720 15px/1 var(--font-d); font-stretch: 86%; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 1299px) { .nav { display: none; } .menu-btn { display: inline-flex; } }
@media (max-width: 759px) {
  .site-header { --brand-h: 50px; }
  .site-header.is-scrolled { --brand-h: 42px; }
  .brand { gap: 9px; }
  .header-join { display: none; }
  .header-in { gap: 12px; }
}

/* ---------- home: first screen ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 600px) minmax(0, 680px) minmax(var(--gutter), 1fr); min-height: min(860px, calc(100svh - var(--header-h))); background: var(--asphalt); color: #fff; overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0 0 0 32%; margin: 0; z-index: -1; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.hero-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 32%; background: linear-gradient(0deg, rgba(18, 21, 24, .85), transparent); pointer-events: none; }
.hero-copy { grid-column: 2; align-self: center; padding: clamp(56px, 8vw, 112px) 0; position: relative; }
.h-hero { font-size: clamp(54px, 7.4vw, 120px); font-weight: 860; font-stretch: 64%; line-height: .88; text-transform: uppercase; letter-spacing: -.004em; text-wrap: initial; }
.h-hero span { display: block; }
.h-hero .red { color: var(--red); }
.hero-lead { margin-top: 26px; max-width: 34ch; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.45; color: #DDE2E4; }
.hero .actions { margin-top: 34px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font: 700 13px/1.3 var(--font-d); font-stretch: 88%; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.facts li { white-space: nowrap; }
.facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 9px; background: var(--red); vertical-align: 1px; }
.hero-credit, .route-credit, .photo-cap, .ph-credit, .closing-credit { font-size: 12px; line-height: 1.35; }
.hero-credit, .ph-credit, .closing-credit { position: absolute; right: 12px; bottom: 12px; z-index: 2; max-width: calc(100% - 24px); padding: 5px 9px; border-radius: 3px; background: rgba(18, 21, 24, .82); color: #E4E8EA; text-align: right; }
.hero-credit a, .route-credit a, .photo-cap a, .ph-credit a, .closing-credit a { color: inherit; }
/* the hero credit sits top-right, clear of the floating button Kohmera adds bottom-right */
.hero-credit { top: 12px; bottom: auto; }
.photo-credit { white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-img { animation: settle 1.4s var(--ease) both; }
  .js .hero-copy > * { animation: rise .7s var(--ease) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .24s; }
}
@keyframes settle { from { transform: scale(1.05); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Passion / Participation / Performance ---------- */
.ppp { background: var(--asphalt-2); color: #fff; border-top: 1px solid var(--rule-d); }
.ppp-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ppp-bay { display: block; padding: 26px 28px 30px; border-left: 1px solid var(--rule-d); color: #fff; text-decoration: none; transition: background-color .25s; }
.ppp-bay:first-child { border-left: 0; padding-left: 0; }
.ppp-bay:hover { background: var(--asphalt-3); }
.ppp-word { position: relative; display: inline-block; padding-bottom: 10px; font: 840 clamp(26px, 2.4vw, 36px)/1 var(--font-d); font-stretch: 68%; text-transform: uppercase; letter-spacing: .01em; }
.ppp-word::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--red); clip-path: inset(0 calc(100% - 28px) 0 0); transition: clip-path .32s var(--ease); }
.ppp-bay:hover .ppp-word::after, .ppp-bay:focus-visible .ppp-word::after { clip-path: inset(0 0 0 0); }
.ppp-desc { display: block; margin-top: 10px; font-size: 17px; color: var(--mist); }
.ppp-bay:focus-visible { outline-offset: -4px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section--white { background: #fff; }
.section--paper { background: var(--paper); }
.section--asphalt, .section--charcoal { background: var(--asphalt); color: #fff; }
.section--teal { background: var(--teal); color: #fff; }
.section--red { background: var(--red); color: #fff; }
.split-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.split-lead { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.5; color: var(--steel); max-width: 40ch; }
.split-head--dark .split-lead, .section--asphalt .split-lead { color: var(--mist); }
.sec-head { margin-bottom: clamp(32px, 4vw, 52px); }
.sec-intro { margin-top: 16px; font-size: clamp(19px, 1.5vw, 21px); line-height: 1.5; color: var(--steel); max-width: 46ch; }
.sec-head--light .sec-intro, .section--teal .sec-intro, .section--asphalt .sec-intro, .section--charcoal .sec-intro, .section--red .sec-intro { color: rgba(255, 255, 255, .86); }
.section--teal .sec-intro { color: var(--teal-ink); }
.aside-line { margin-top: 36px; font-size: 18px; color: var(--steel); max-width: 66ch; }
.aside-line a { color: var(--red-deep); font-weight: 700; }

/* ---------- three ways in: a wide road band, a dark ice panel, a paper volunteering card ---------- */
.routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.route { display: flex; flex-direction: column; min-width: 0; }
.route-fig { position: relative; margin: 0; overflow: hidden; background: var(--asphalt-3); aspect-ratio: 16 / 9; }
.route-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.route:hover .route-fig img, .route:focus-within .route-fig img { transform: scale(1.045); }
.route-credit { position: absolute; left: 0; bottom: 0; right: 0; padding: 18px 12px 8px; background: linear-gradient(0deg, rgba(18, 21, 24, .86), transparent); color: #E4E8EA; display: flex; flex-wrap: wrap; gap: 0 10px; justify-content: space-between; }
.route-credit .cap-sep, .vol-fig .photo-cap .cap-sep { display: none; }
.route-body { display: grid; gap: 10px; align-content: start; }
.route-body h3 { font-size: clamp(34px, 3.4vw, 54px); font-weight: 860; font-stretch: 64%; text-transform: uppercase; line-height: .92; }
.route-meta { font: 760 13px/1.3 var(--font-d); font-stretch: 88%; letter-spacing: .1em; text-transform: uppercase; color: var(--red-deep); }
.route-body > p:not(.route-meta):not(.route-act) { color: #333B3F; max-width: 52ch; }
.route-act { margin-top: 4px; }
.route--road { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.route--road .route-fig { aspect-ratio: 16 / 10; border-radius: 6px; }
.route--road .route-body h3 { font-size: clamp(44px, 5vw, 80px); }
.route--ice, .route--vol { border-radius: 6px; overflow: hidden; }
.route--ice .route-body, .route--vol .route-body { padding: 24px clamp(20px, 2.4vw, 32px) 28px; }
.route--ice { background: var(--asphalt); color: #fff; justify-content: center; min-height: 100%; }
.route--ice .route-body { padding: clamp(28px, 3vw, 44px); }
.route--ice .route-body h3 { font-size: clamp(44px, 5vw, 76px); }
.route--ice .route-meta { color: var(--mist); }
.route--ice .route-body > p:not(.route-meta):not(.route-act) { color: #DDE2E4; }
.route--ice .link-strong { color: #fff; }
.route--ice .link-strong .i { color: var(--red); }
.route--vol { background: var(--paper); }
.route--vol .route-fig img { object-position: 50% 0%; }
.date-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr); margin: 6px 0 2px; border-top: 1px solid var(--rule-d); border-bottom: 1px solid var(--rule-d); }
.date-row div { padding: 10px 14px 10px 0; }
.date-row div + div { padding-left: 14px; border-left: 1px solid var(--rule-d); }
.date-row dt { font: 760 12px/1.3 var(--font-d); font-stretch: 88%; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.date-row dd { margin-top: 3px; font: 760 18px/1.2 var(--font-d); font-stretch: 80%; font-variant-numeric: tabular-nums; }

/* ---------- membership: a red colour field ---------- */
.member-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.member-head h2 { font-size: clamp(46px, 6.6vw, 104px); }
.member-lead { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.5; max-width: 38ch; }
.member-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.tiers { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tier { position: relative; display: grid; align-content: start; gap: 4px; min-height: 250px; padding: 28px 28px 30px; border: 3px solid #fff; border-radius: 6px; background: #fff; color: var(--ink); cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, border-color .2s; }
.tier:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(80, 0, 4, .28); }
.tier input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.tier:focus-within { outline: 3px solid #fff; outline-offset: 4px; }
.tier-who { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rule); font: 760 14px/1.2 var(--font-d); font-stretch: 88%; letter-spacing: .1em; text-transform: uppercase; color: var(--red-deep); }
.tier-name { font: 800 clamp(22px, 2vw, 28px)/1.05 var(--font-d); font-stretch: 74%; text-transform: uppercase; }
.tier-price { padding-top: 18px; font: 860 clamp(60px, 6.4vw, 96px)/.86 var(--font-d); font-stretch: 64%; letter-spacing: -.01em; }
.tier-unit { font-size: 17px; color: var(--steel); }
.tier-tick { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--field); border-radius: 4px; color: transparent; opacity: 0; transition: opacity .2s, background-color .2s, border-color .2s, color .2s; }
.tier:hover .tier-tick, .tier:focus-within .tier-tick { opacity: 1; }
.tier-tick .i { width: 20px; height: 20px; stroke-width: 3; }

.tier:has(input:checked), .tier.is-on { border-color: var(--asphalt); box-shadow: 0 18px 36px rgba(80, 0, 4, .3); }
.tier:has(input:checked) .tier-tick, .tier.is-on .tier-tick { opacity: 1; background: var(--asphalt); border-color: var(--asphalt); color: #fff; }
.member-h3 { margin-top: 30px; font-size: clamp(22px, 1.8vw, 26px); }
.benefits { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.benefits li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; font-size: 18px; line-height: 1.4; }
.benefits .i { width: 22px; height: 22px; margin-top: 1px; stroke-width: 3; }
.member-actions { margin-top: 0; }
.member-answer { margin-top: 18px; min-height: 1.5em; font-weight: 700; font-size: 18px; }
.member-notes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px clamp(28px, 4vw, 64px); margin-top: clamp(36px, 4vw, 56px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .35); font-size: 17px; }
.member-notes .email-link { color: #fff; }

/* ---------- volunteering: photo and an editorial column ---------- */
.vol-sec { padding: 0; }
.vol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 640px; }
.vol-fig { position: relative; margin: 0; overflow: hidden; background: var(--asphalt-3); }
.vol-fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.2s var(--ease); }
.vol-fig:hover img { transform: scale(1.03); }
.vol-fig .photo-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; background: linear-gradient(0deg, rgba(18, 21, 24, .86), transparent); color: #E4E8EA; display: flex; flex-wrap: wrap; gap: 0 10px; justify-content: space-between; }
.vol-copy { padding: clamp(56px, 7vw, 112px) max(var(--gutter), calc((100vw - var(--max)) / 2)) clamp(56px, 7vw, 112px) clamp(32px, 5vw, 80px); align-self: center; }
.vol-copy h2 { font-size: clamp(40px, 4.8vw, 76px); }
.vol-copy .split-lead { margin-top: 20px; }
.roles { list-style: none; margin-top: 32px; border-top: 3px solid var(--ink); }
.roles li { display: grid; gap: 4px; padding: 20px 0 22px; border-bottom: 1px solid var(--rule); }
.roles h3 { font-size: clamp(22px, 1.8vw, 27px); }
.roles p { color: #333B3F; }
.vol-strip { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); }
.vol-strip-h { font: 760 13px/1.3 var(--font-d); font-stretch: 88%; letter-spacing: .1em; text-transform: uppercase; color: var(--red-deep); }
.vol-strip ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; max-width: 560px; }
.vol-strip img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 4px; transition: transform .5s var(--ease); }
.vol-strip a:hover img { transform: scale(1.04); }
.vol-strip li a { display: block; overflow: hidden; border-radius: 4px; }
.vol-strip > p:last-child { margin-top: 6px; }
.vol-indy { margin-top: 24px; font-size: 18px; color: #333B3F; max-width: 52ch; }
.vol-indy a { color: var(--red-deep); font-weight: 700; }

/* ---------- meetings: one scannable row ---------- */
.meet-sec { padding-block: clamp(56px, 7vw, 88px); }
.meet-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px clamp(32px, 5vw, 72px); align-items: start; }
.meet-head h2 { font-size: clamp(34px, 3.8vw, 56px); }
.meet-head p { margin-top: 14px; color: var(--teal-ink); font-size: 19px; }
.meet { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.8fr); border-top: 3px solid #fff; }
.meet-cell { padding: 18px 20px 20px; border-left: 1px solid rgba(255, 255, 255, .22); }
.meet-cell:first-child { border-left: 0; padding-left: 0; }
.meet dt { font: 760 13px/1.3 var(--font-d); font-stretch: 88%; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); }
.meet dd { margin-top: 8px; font: 780 clamp(22px, 2vw, 30px)/1.1 var(--font-d); font-stretch: 74%; }
.meet-cell:not(.meet-when):not(.meet-where) dd { white-space: nowrap; }
.meet dd, .ed-days, .ed-year, .rg-n, .tier-price { font-variant-numeric: tabular-nums; }
.meet-where dd span { display: block; margin-top: 6px; font: 400 17px/1.4 var(--font-b); color: var(--teal-ink); }
.meet-foot { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.meet-foot > p { color: var(--teal-ink); font-size: 17px; }
.section--white .meet, .section--paper .meet { border-top-color: var(--ink); }
.section--white .meet-cell, .section--paper .meet-cell { border-color: var(--rule); }
.section--white .meet dt, .section--white .meet-where dd span, .section--white .meet-foot > p { color: var(--steel); }

/* ---------- people of the paddock: an editorial spread ---------- */
.people { display: grid; gap: clamp(56px, 7vw, 104px); }
.profile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin: 0; }
.profile--flip .profile-art { order: 2; }
.profile-art { max-width: 460px; }
.profile--flip .profile-art { justify-self: end; }
.enlarge { position: relative; display: block; border-radius: 6px; overflow: hidden; }
.enlarge img { width: 100%; transition: transform .8s var(--ease); }
.enlarge:hover img, .enlarge:focus-visible img { transform: scale(1.03); }
.enlarge-hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 14px; border-radius: 4px; background: var(--asphalt); color: #fff; font: 740 14px/1 var(--font-d); font-stretch: 86%; letter-spacing: .06em; text-transform: uppercase; transition: background-color .2s; }
.enlarge:hover .enlarge-hint { background: var(--red); }
.enlarge-hint .i { width: 16px; height: 16px; }
.profile-text h3 { font-size: clamp(48px, 6vw, 96px); font-weight: 860; font-stretch: 64%; text-transform: uppercase; line-height: .88; }
.profile-text .route-meta { margin-top: 10px; color: var(--mist); }
.profile-quote { margin: 26px 0 0; padding-top: 22px; border-top: 3px solid var(--red); }
.profile-quote p { font: 700 clamp(24px, 2.4vw, 36px)/1.18 var(--font-d); font-stretch: 78%; color: #fff; max-width: 30ch; }
.profile-src { margin-top: 16px; font-size: 16px; color: var(--mist); max-width: 46ch; }

/* ---------- the past event ---------- */
.event { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 5.6fr) minmax(0, 3fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.event-date { padding-top: 18px; border-top: 6px solid var(--red); }
.ed-status { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 4px; background: var(--asphalt); color: #fff; font: 760 13px/1 var(--font-d); font-stretch: 88%; letter-spacing: .12em; text-transform: uppercase; }
.ed-days { margin-top: 18px; font: 860 clamp(48px, 5vw, 80px)/.88 var(--font-d); font-stretch: 64%; text-transform: uppercase; }
.ed-year { margin-top: 6px; font: 800 clamp(28px, 2.6vw, 40px)/1 var(--font-d); font-stretch: 68%; color: var(--steel); }
.ed-place { margin-top: 16px; font-size: 16px; color: var(--steel); max-width: 26ch; }
.event-copy h2 { font-size: clamp(34px, 3.6vw, 56px); margin-bottom: 20px; }
.event-copy > p { color: #333B3F; max-width: 54ch; }
.event-copy > p + p { margin-top: 10px; }
.run-group { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-top: 3px solid var(--ink); }
.run-group li { display: grid; gap: 6px; padding: 16px 16px 4px; border-left: 1px solid var(--rule); }
.run-group li:first-child { border-left: 0; padding-left: 0; }
.rg-n { font: 820 clamp(22px, 2vw, 30px)/1.05 var(--font-d); font-stretch: 70%; white-space: nowrap; }
.rg-l { font-size: 15px; color: var(--steel); }
.event-act { margin-top: 28px; }
.event-fig { margin: 0; max-width: 340px; justify-self: end; }
.event-fig figcaption { margin-top: 12px; font-size: 15px; color: var(--steel); }

/* ---------- questions ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq { border-top: 3px solid var(--ink); }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 18px 0; list-style: none; cursor: pointer; font: 740 clamp(20px, 1.7vw, 25px)/1.2 var(--font-d); font-stretch: 80%; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--red-deep); }
.qa-sign { position: relative; width: 24px; height: 24px; flex: none; }
.qa-sign::before, .qa-sign::after { content: ""; position: absolute; left: 3px; right: 3px; top: 11px; height: 3px; background: var(--red); transition: transform .25s var(--ease); }
.qa-sign::after { transform: rotate(90deg); }
.qa[open] .qa-sign::after { transform: rotate(0); }
.qa p { padding: 0 40px 26px 0; max-width: 64ch; color: #333B3F; }

/* ---------- closing ---------- */
.closing { position: relative; display: grid; align-items: end; min-height: clamp(460px, 62vh, 680px); background: var(--asphalt); color: #fff; overflow: hidden; isolation: isolate; }
.closing-photo { position: absolute; inset: 0; margin: 0; z-index: -1; }
.closing-img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; }
.closing-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 21, 24, .96) 0, rgba(18, 21, 24, .9) 40%, rgba(18, 21, 24, .25) 64%, rgba(18, 21, 24, 0) 100%); }
.closing-in { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; padding-block: clamp(64px, 8vw, 112px); }
.closing h2 { font-size: clamp(44px, 6.2vw, 100px); }
.closing-in--stack { grid-template-columns: minmax(0, 560px); align-content: end; }
.closing-in--stack .closing-side p { margin-top: 4px; }
.closing-side p { font-size: 20px; color: #E8ECEE; max-width: 34ch; }
.closing-side .actions { margin-top: 24px; }
.closing--page { min-height: 0; background: var(--red); }
.closing--page .closing-side p { color: #fff; }
.closing--page .btn--red { background: var(--asphalt); }

/* ---------- interior pages ---------- */
.page-hero { position: relative; background: var(--asphalt); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero--photo { display: grid; align-items: end; min-height: clamp(440px, 58vh, 640px); }
.ph-photo { position: absolute; inset: 0; margin: 0; z-index: -1; }
.ph-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.page-organization .ph-img { object-position: 50% 0%; }
.ph-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 21, 24, .94) 0, rgba(18, 21, 24, .55) 50%, rgba(18, 21, 24, .2) 100%), linear-gradient(90deg, rgba(18, 21, 24, .6), transparent 70%); }
.ph-in { position: relative; padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 72px); }
.page-hero--photo .ph-in { padding-top: 140px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; font: 700 13px/1.3 var(--font-d); font-stretch: 88%; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--field); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; }
.h-page { margin-top: 6px; font-size: clamp(54px, 8.4vw, 132px); font-weight: 860; font-stretch: 64%; line-height: .88; text-transform: uppercase; letter-spacing: -.004em; }
.ph-lead { margin-top: 20px; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; max-width: 40ch; color: #E2E6E8; }
.ph-act { margin-top: 26px; }
.follow { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.page-hero--plain { min-height: 50vh; display: grid; align-items: center; }

.bodywork { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.bodywork--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.body-panel { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 28px 30px; border-left: 1px solid var(--rule); }
.body-panel:first-child { border-left: 0; padding-left: 0; }
.body-panel h3 { font-size: clamp(24px, 2vw, 30px); }
.body-panel p { color: #333B3F; }
.plain { list-style: none; display: grid; gap: 6px; }
.plain li::before { content: ""; display: inline-block; width: 10px; height: 3px; background: var(--red); vertical-align: middle; margin-right: 10px; }
.mission { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.mission .sec-head { grid-column: 1 / -1; margin-bottom: 0; }
.mission-quote { margin: 0; font: 760 clamp(30px, 3.4vw, 50px)/1.1 var(--font-d); font-stretch: 76%; text-wrap: balance; }
.mission-side h3 { font-size: 24px; }
.mission-side p { margin-top: 8px; color: var(--teal-ink); }
.vol:not(.vol-sec .vol) { min-height: 0; }
.section--split .vol { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; min-height: 0; }
.section--split .roles li { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 8px 32px; }
.community { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 5vw, 80px); }
.community .sec-head { grid-column: 1 / -1; margin-bottom: 0; }
.community-copy { display: grid; gap: 14px; max-width: 60ch; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.trust-row--page { align-self: start; }
.casc-badge { display: block; width: 104px; flex: none; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.chip:hover { border-color: var(--ink); }
.history { max-width: 980px; }
.timeline { list-style: none; }
.tl-item { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 0 36px; }
.tl-year { font: 860 clamp(36px, 3.6vw, 56px)/.9 var(--font-d); font-stretch: 64%; color: var(--red-deep); text-align: right; }
.tl-body { position: relative; padding: 0 0 48px 36px; }
.tl-body::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 0; width: 2px; background: var(--rule); }
.tl-body::after { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; background: var(--red); }
.tl-item:last-child .tl-body::before { display: none; }
.tl-body h3 { font-size: clamp(24px, 2.2vw, 32px); }
.tl-body p { margin-top: 8px; color: #333B3F; max-width: 58ch; }
.names .sec-head { margin-bottom: 24px; }
.name-list { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font: 840 clamp(32px, 4.2vw, 64px)/1.08 var(--font-d); font-stretch: 66%; text-transform: uppercase; max-width: 1200px; }
.name-list li { white-space: nowrap; }
.name-list li:not(:last-child)::after { content: "/"; margin: 0 .35em; color: var(--red); font-weight: 400; }
.org-how .org-copy { display: grid; gap: 12px; max-width: 64ch; margin-bottom: 40px; font-size: 19px; }
.exec { margin-top: 44px; display: grid; gap: 14px; }
.exec h3 { font-size: 26px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 14px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; font-size: 16px; font-weight: 600; }
.exec-note { color: var(--steel); max-width: 64ch; }
.contact-rows { border-top: 3px solid var(--ink); }
.contact-rows > div { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 6px 32px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.contact-rows dt { font: 760 22px/1.2 var(--font-d); font-stretch: 80%; }
.contact-rows dd { font-size: 19px; }
.contact-rows dd a { display: inline-flex; align-items: center; min-height: 44px; color: var(--red-deep); }
.people-roles { list-style: none; border-top: 3px solid #fff; }
.people-roles li { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 4px 32px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .24); align-items: baseline; }
.people-roles strong { font: 820 clamp(24px, 2.2vw, 34px)/1.05 var(--font-d); font-stretch: 70%; text-transform: uppercase; }
.people-roles span { color: var(--teal-ink); font-size: 18px; }
.role-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.role-group { border-top: 3px solid var(--ink); padding-top: 18px; }
.role-group h3 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 840; font-stretch: 68%; text-transform: uppercase; margin-bottom: 10px; }
.role-list { list-style: none; }
.role-list li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.role-list strong { font: 740 19px/1.25 var(--font-d); font-stretch: 82%; }
.role-list span { font-size: 16px; color: var(--steel); }
.role-group--rescue { padding: 26px; border-top: 0; border-radius: 6px; background: var(--asphalt); color: #fff; }
.role-group--rescue p { color: var(--mist); max-width: 46ch; }
.rescue-train { margin-top: 14px; padding: 12px 14px; border-radius: 4px; background: var(--red); color: #fff !important; font-weight: 700; }

/* ---------- bylaws ---------- */
.bylaws-sec { padding-top: clamp(40px, 5vw, 72px); }
.bylaws { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 740px); gap: clamp(32px, 5vw, 72px); }
.bylaws-side { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; scrollbar-width: thin; padding-right: 8px; }
.toc-box summary { display: flex; align-items: center; min-height: 44px; font: 800 22px/1.2 var(--font-d); font-stretch: 72%; text-transform: uppercase; cursor: pointer; list-style: none; }
.toc-box summary::-webkit-details-marker { display: none; }
.bylaw-toc ol { list-style: none; }
.bylaw-toc > ol { border-top: 3px solid var(--ink); padding-top: 8px; }
.bylaw-toc li { margin: 2px 0; }
.bylaw-toc ol ol { padding-left: 14px; border-left: 1px solid var(--rule); margin: 2px 0 8px 4px; }
.bylaw-toc a { display: block; padding: 5px 0; font-size: 15px; line-height: 1.35; color: #333B3E; text-decoration: none; }
.bylaw-toc a:hover { color: var(--red-deep); text-decoration: underline; }
.bylaw-toc > ol > li > a { font-weight: 700; color: var(--ink); }
.bylaws-doc { font-size: 18px; line-height: 1.62; }
.doc-head { padding-bottom: 24px; border-bottom: 3px solid var(--ink); margin-bottom: 8px; }
.doc-title { font: 760 clamp(26px, 2.6vw, 34px)/1.1 var(--font-d); font-stretch: 78%; }
.bylaw-adopted { margin-top: 10px; font-weight: 600; }
.doc-file { margin-top: 8px; color: var(--steel); font-size: 16px; }
.bylaws-doc h2 { margin-top: 56px; font-size: clamp(30px, 3vw, 42px); }
.bylaws-doc h3 { margin-top: 40px; font-size: 23px; font-stretch: 85%; }
.bylaws-doc h4 { margin-top: 28px; font: 700 19px/1.3 var(--font-b); letter-spacing: 0; }
.bylaws-doc h2, .bylaws-doc h3, .bylaws-doc h4 { scroll-margin-top: 110px; letter-spacing: 0; }
.bylaws-doc p, .bylaws-doc ol, .bylaws-doc ul, .bylaws-doc dl, .bylaws-doc table { margin-top: 12px; }
.bylaws-doc ol, .bylaws-doc ul { padding-left: 1.4em; }
.bylaws-doc .bylaw-list { list-style: none; padding-left: 0; }
.bylaw-list > li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); margin-top: 8px; }
.bylaw-list > li > .bylaw-mark { grid-column: 1; color: var(--steel); font-variant-numeric: tabular-nums; }
.bylaw-list > li > :not(.bylaw-mark) { grid-column: 2; }
.bylaws-doc table { border-collapse: collapse; width: 100%; font-size: 16px; }
.bylaws-doc td, .bylaws-doc th { border: 1px solid var(--rule); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc-foot { margin-top: 56px; padding-top: 20px; border-top: 2px solid var(--ink); font-weight: 600; }

/* ---------- photo albums ---------- */
.album-index ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.album-index a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 4px; font-weight: 600; text-decoration: none; }
.album + .album { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--rule); }
.album-head { margin-bottom: 24px; }
.album-head h2 { font-size: clamp(34px, 3.6vw, 56px); }
.album-meta { display: flex; flex-wrap: wrap; gap: 0 12px; margin-top: 10px; color: var(--steel); font-weight: 600; }
.album-meta span + span::before { content: "·"; margin-right: 12px; }
.album-desc { margin-top: 10px; max-width: 64ch; color: #333B3E; }
.album-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.thumb { position: relative; display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--rule); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.thumb:hover img, .thumb:focus-visible img { transform: scale(1.04); }
.thumb-view { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 4px; background: rgba(23, 27, 29, .82); color: #fff; opacity: 0; transition: opacity .2s; }
.thumb-view .i { width: 18px; height: 18px; }
.thumb:hover .thumb-view, .thumb:focus-visible .thumb-view { opacity: 1; }
@media (hover: none) { .thumb-view { opacity: 1; } }
.albums-empty { font-size: 19px; color: var(--steel); }

/* ---------- footer ---------- */
.site-footer { background: #fff; color: var(--ink); }
.tartan-rule { height: 14px; background: repeating-linear-gradient(90deg, transparent 0 16px, rgba(244, 239, 227, .85) 16px 18px, transparent 18px 21px, rgba(225, 18, 27, .9) 21px 23px, transparent 23px 26px, rgba(244, 239, 227, .85) 26px 28px, transparent 28px 48px), repeating-linear-gradient(0deg, transparent 0 4px, rgba(244, 239, 227, .7) 4px 5px, transparent 5px 7px, rgba(225, 18, 27, .8) 7px 8px, transparent 8px 14px), repeating-linear-gradient(90deg, #22282B 0 24px, var(--asphalt) 24px 48px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1.15fr); gap: 40px; padding-block: 56px 52px; }
.footer-brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; }
.footer-brand img { height: 96px; width: auto; }
.footer-tagline { font: 780 15px/1.15 var(--font-d); font-stretch: 80%; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); }
.footer-name { margin-top: 18px; font: 760 20px/1.2 var(--font-d); font-stretch: 80%; }
.footer-line { margin-top: 6px; color: var(--steel); font-size: 17px; }
.footer-id .btn { margin-top: 20px; }
.footer-h { font: 760 14px/1.3 var(--font-d); font-stretch: 88%; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; color: var(--red-deep); }
.footer-dl { display: grid; gap: 14px; }
.footer-dl dt { font-size: 15px; font-weight: 600; color: var(--steel); }
.footer-dl dd { margin-top: 2px; font-size: 17px; line-height: 1.4; }
.footer-dl .email-link { display: inline-flex; align-items: center; min-height: 44px; }
.footer-nav ul { list-style: none; }
.footer-nav a { display: flex; align-items: center; min-height: 40px; font-size: 17px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.footer-nav a:hover { text-decoration: underline; }
.socials { list-style: none; display: flex; gap: 8px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #C3CBCB; border-radius: 4px; background: #fff; color: var(--ink); transition: color .2s, border-color .2s, background-color .2s; }
.socials a:hover { color: #fff; background: var(--red); border-color: var(--red); }
.footer-base { background: var(--asphalt); color: #E3E7E8; padding: 18px 0 22px; }
.base-in { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; }
.copyright { font-size: 15px; }
/* the Kohmera credit with Kohmera's coloured logo (cream wordmark, lime corner), as on Shawn's other sites */
a.kohmera-credit.kohmera-credit--color { gap: 9px; opacity: .9; color: #E3E7E8 !important; }
a.kohmera-credit.kohmera-credit--color:hover, a.kohmera-credit.kohmera-credit--color:focus-visible { opacity: 1; }
a.kohmera-credit--color .kcredit__logo { width: auto; height: 15px; max-width: none; display: block; }
.credits { flex: 0 0 100%; margin-top: 10px; font-size: 14px; color: var(--mist); }
.credits summary { display: inline-flex; align-items: center; min-height: 40px; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.credits-note { margin: 6px auto 0; max-width: 760px; text-align: left; }
.credits ul { list-style: none; display: grid; gap: 4px; margin: 6px auto 0; max-width: 760px; text-align: left; }
.credits a { display: inline-flex; align-items: center; min-height: 40px; color: #fff; }

/* ---------- dialogs: one behaviour for every pop-up ---------- */
dialog { border: 0; padding: 0; }
.sheet, .viewer { width: min(560px, calc(100vw - 32px)); max-height: min(88vh, 900px); border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; }
.sheet[open], .viewer[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: rgba(10, 20, 24, .64); }
.sheet-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; padding: 12px 12px 12px 22px; border-bottom: 1px solid var(--rule); background: #fff; }
.sheet-title { font: 800 24px/1.1 var(--font-d); font-stretch: 72%; text-transform: uppercase; }
.sheet-close { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border: 1px solid var(--rule); border-radius: 4px; background: #fff; color: var(--ink); cursor: pointer; }
.sheet-close:hover { border-color: var(--ink); }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--field) transparent; padding: 20px 22px 26px; }
.sheet-lead { color: #333B3E; }
.sheet-direct { display: grid; gap: 6px; margin: 14px 0 20px; padding: 12px 14px; background: var(--paper); border-radius: 4px; font-size: 16px; }
.sheet-direct div { display: flex; flex-wrap: wrap; gap: 0 8px; }
.sheet-direct dt { color: var(--steel); }
.sheet-direct dd { font-weight: 600; user-select: text; -webkit-user-select: text; }
.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 16px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--field); border-radius: 4px; background: #fff; color: var(--ink); font: 400 17px/1.4 var(--font-b); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 35%, transparent); outline-offset: 0; border-color: var(--teal); }
.kf-sent { padding: 22px; border-radius: 8px; background: var(--paper); }
.kf-sent-h { font: 760 24px/1.2 var(--font-d); font-stretch: 80%; }
.kf-sent p + p { margin-top: 8px; color: #333B3E; }
.kf-error { color: var(--red-deep); font-weight: 600; }
.menu-list { list-style: none; margin-bottom: 18px; border-top: 2px solid var(--ink); }
.menu-list a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--rule); font: 820 26px/1.1 var(--font-d); font-stretch: 70%; text-transform: uppercase; text-decoration: none; }
.menu-list a[aria-current="page"] { color: var(--red-deep); }
.viewer { width: min(860px, calc(100vw - 32px)); background: var(--ink); color: #fff; }
.viewer-bar { background: var(--ink); border-bottom-color: rgba(255, 255, 255, .14); }
.viewer .sheet-close { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.viewer-fig { margin: 0; padding: 18px 18px 0; overflow: auto; flex: 1 1 auto; min-height: 0; }
.viewer-fig img { margin-inline: auto; max-height: calc(88vh - 240px); width: auto; border-radius: 8px; }
.viewer-cap { margin-top: 12px; text-align: center; color: var(--mist); font-size: 16px; }
.viewer-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 18px; flex: none; }
.viewer-nav .btn { border-color: rgba(255, 255, 255, .55); color: #fff; }
.viewer-nav .btn:hover { background: rgba(255, 255, 255, .1); }
.viewer-nav [hidden] { visibility: hidden; display: inline-flex; }
.viewer-count { color: var(--mist); font-size: 15px; }
html.is-locked { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .sheet[open], .viewer[open] { animation: rise .24s var(--ease); }
  dialog[open]::backdrop { animation: fade .24s ease; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- phone action bar ---------- */
.action-bar { display: none; }

/* ---------- scroll reveals (only with JS, only without reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .route--road { grid-template-columns: minmax(0, 1fr); }
  .member-body { grid-template-columns: minmax(0, 1fr); }
  .event { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .event-fig { grid-column: 2; justify-self: start; }
  .bodywork--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bodywork--4 .body-panel:nth-child(3) { border-left: 0; padding-left: 0; }
  .bodywork--4 .body-panel:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bylaws { grid-template-columns: minmax(0, 1fr); }
  .bylaws-side { position: static; max-height: none; overflow: visible; padding: 0; }
  .toc-box { border: 1px solid var(--rule); border-radius: 4px; padding: 4px 16px 12px; background: var(--paper); }
  .toc-box summary::after { content: ""; width: 10px; height: 10px; margin-left: auto; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
  .toc-box[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
}
@media (max-width: 899px) {
  :root { --header-h: 66px; }
  .hero { display: block; min-height: 0; }
  .hero-photo { position: relative; inset: auto; aspect-ratio: 5 / 4; z-index: 0; }
  @media (min-width: 600px) { .hero-photo { aspect-ratio: 16 / 9; } }
  .hero-img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 98%); mask-image: linear-gradient(180deg, #000 70%, transparent 98%); object-position: 50% 72%; }
  .hero-photo::after { display: none; }
  .hero-credit { top: 10px; bottom: auto; right: 10px; }
  .hero-copy { padding: 8px var(--gutter) 48px; }
  .split-head, .member-head, .member-notes, .faq-wrap, .closing-in, .mission, .community, .meet-wrap { grid-template-columns: minmax(0, 1fr); }
  .meet-foot { grid-column: auto; }
  .vol { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .vol-fig { aspect-ratio: 4 / 3; }
  .vol-copy { padding: 48px var(--gutter) 64px; }
  .section--split .vol { grid-template-columns: minmax(0, 1fr); }
  .meet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meet-when, .meet-where { grid-column: 1 / -1; }
  .meet-cell { padding: 16px 0 18px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
  .meet-cell:first-child { border-top: 0; }
  .meet-cell:nth-child(3) { border-left: 1px solid rgba(255, 255, 255, .22); padding-left: 18px; }
  .profile { grid-template-columns: minmax(0, 1fr); }
  .profile--flip .profile-art { order: 0; justify-self: start; }
  .event { grid-template-columns: minmax(0, 1fr); }
  .event-fig { grid-column: auto; }
  .closing { min-height: 0; }
  .closing-photo::after { background: linear-gradient(0deg, rgba(18, 21, 24, .95) 0, rgba(18, 21, 24, .7) 60%, rgba(18, 21, 24, .35)); }
  .closing-in { padding-top: 200px; }
  .closing-credit { top: 10px; bottom: auto; }
  .page-hero--photo .ph-in { padding-top: 220px; }
  .ph-credit { top: 10px; bottom: auto; }
  .role-groups { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 759px) {
  .ppp-in { grid-template-columns: minmax(0, 1fr); }
  .ppp-bay { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: 4px 16px; min-height: 56px; padding: 10px 0 12px; border-left: 0; border-top: 1px solid var(--rule-d); }
  .ppp-bay:first-child { border-top: 0; }
  .ppp-word { font-size: 22px; padding-bottom: 6px; }
  .ppp-desc { margin-top: 0; font-size: 15px; }
  .routes { grid-template-columns: minmax(0, 1fr); }
  .route-fig, .route--road .route-fig { aspect-ratio: 4 / 3; }
  .date-row { grid-template-columns: auto minmax(0, 1fr); }
  .date-row div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--rule-d); }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .tier { min-height: 0; padding: 22px 22px 24px; }
  .tier-price { padding-top: 14px; font-size: 64px; }
  .bodywork, .bodywork--4 { grid-template-columns: minmax(0, 1fr); }
  .body-panel, .bodywork--4 .body-panel:nth-child(3) { border-left: 0; padding: 20px 0 22px; border-top: 1px solid var(--rule); }
  .body-panel:first-child { border-top: 0; }
  .section--split .roles li { grid-template-columns: minmax(0, 1fr); }
  .run-group { grid-template-columns: minmax(0, 1fr); }
  .run-group li { display: block; padding: 14px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .run-group li:first-child { border-top: 0; }
  .rg-l { display: block; margin-top: 4px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 44px 40px; }
  .contact-rows > div, .people-roles li { grid-template-columns: minmax(0, 1fr); }
  .tl-item { grid-template-columns: minmax(0, 1fr); }
  .tl-year { text-align: left; padding: 0 0 10px 36px; }
  .tl-year--none { display: none; }
  .tl-body { padding-bottom: 36px; }
  .album-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
  .qa p { padding-right: 0; }
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--rule); box-shadow: 0 -8px 22px rgba(18, 21, 24, .1); }
  .ab-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 2px solid var(--ink); border-radius: 4px; color: var(--ink); background: #fff; font: 740 15px/1 var(--font-d); font-stretch: 86%; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
  .ab-btn--red { background: var(--red); border-color: var(--red); color: #fff; }
  html.menu-open .action-bar { display: none; }
  .footer-base { padding-bottom: calc(22px + 70px + env(safe-area-inset-bottom)); }
  .sheet, .viewer { width: 100%; max-width: none; margin: auto 0 0; border-radius: 16px 16px 0 0; max-height: 92svh; }
  .sheet-body { padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
  .viewer-nav { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
}
@media (max-width: 400px) {
  .actions .btn--lg { width: 100%; }
}

/* ---------- albums admin ---------- */
.admin-header .header-in { gap: 16px; }
.admin-title { font: 800 22px/1.2 var(--font-d); font-stretch: 72%; text-transform: uppercase; margin-right: auto; }
.admin-header .brand { margin-right: 0; }
.admin-main { min-height: 70vh; padding-block: 40px 72px; }
.admin-msg { font-size: 19px; color: var(--steel); }
.admin-card { background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: clamp(20px, 3vw, 32px); }
.admin-card + .admin-card { margin-top: 24px; }
.admin-card h2 { font-size: 28px; margin-bottom: 16px; }
.admin-card h3 { font-size: 22px; }
.admin-signin { max-width: 440px; margin: 40px auto; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px; align-items: start; }
.admin-albums { list-style: none; display: grid; gap: 8px; }
.admin-albums button { width: 100%; display: grid; gap: 2px; text-align: left; padding: 12px 14px; border: 2px solid var(--rule); border-radius: 4px; background: #fff; color: var(--ink); font: inherit; cursor: pointer; }
.admin-albums button[aria-current="true"] { border-color: var(--red); background: var(--paper); }
.admin-albums .t { font: 740 19px/1.25 var(--font-d); font-stretch: 84%; }
.admin-albums .m { font-size: 15px; color: var(--steel); }
.admin-form { display: grid; gap: 14px; }
.admin-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.check input { width: 22px; height: 22px; accent-color: var(--red); }
.admin-photos { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-top: 16px; }
.admin-photo { display: grid; gap: 8px; }
.admin-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--rule); }
.admin-photo textarea { min-height: 68px; font-size: 15px; }
.admin-photo .admin-row .btn { flex: 1; }
.drop { display: grid; place-items: center; gap: 10px; min-height: 140px; margin-top: 16px; padding: 20px; border: 2px dashed var(--field); border-radius: 8px; text-align: center; background: var(--paper); }
.drop.is-over { border-color: var(--red); background: #fff; }
.progress { margin-top: 12px; font-weight: 600; color: var(--teal); }
.admin-note { color: var(--steel); font-size: 16px; }
.admin-error { color: var(--red-deep); font-weight: 600; }
.admin-foot { border-top: 1px solid var(--rule); padding: 20px 0 28px; background: var(--paper); font-size: 16px; color: var(--steel); }
.enquiries { list-style: none; display: grid; gap: 12px; }
.enquiries li { padding: 14px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); }
@media (max-width: 899px) { .admin-grid { grid-template-columns: minmax(0, 1fr); } .admin-title { font-size: 17px; } }

/* ---------- print: the bylaws (and any page) without the site around it ---------- */
@media print {
  .site-header, .site-footer, .action-bar, .bylaws-side, dialog, .skip, .crumbs, .ph-act, .ph-photo, .doc-file a { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .page-hero { display: block; min-height: 0 !important; background: #fff !important; color: #000 !important; }
  .ph-lead { color: #000 !important; }
  .ph-copy { padding: 0 0 12pt; }
  .h-page { font-size: 24pt; }
  .section { padding: 0; background: #fff !important; color: #000 !important; }
  .bylaws { display: block; }
  .bylaws-doc { font-size: 11pt; line-height: 1.45; }
  .bylaws-doc h2 { margin-top: 18pt; break-after: avoid; }
  .bylaws-doc h3, .bylaws-doc h4 { break-after: avoid; }
  a { color: #000; text-decoration: none; }
  .wrap { width: auto; }
}
