/* ==========================================================================
   TeamKid Bible Club · Round 2 · Concept 7 · Team Colours
   The site wears the team shirts: jersey stripes, stitched patches, pennants
   and a sunny scoreboard, crowned by the sun crest. Light theme only.
   ========================================================================== */

:root {
  color-scheme: light;

  /* the shirts */
  --turq: #1B9BD1;        /* team turquoise (fills, large text only) */
  --turq-deep: #0B5C80;   /* turquoise for text, 7.3:1 on white */
  --turq-dark: #073F58;   /* press shadow */
  --neon: #8BEA3C;        /* neon green trim */
  --sun: #FFD93B;         /* sunshine yellow */
  --orange: #FF7A1A;      /* shirt orange (fills, rims) */
  --rust: #9E3D00;        /* "orange lettering" that passes AA on yellow (4.9:1) */
  --ink: #12294A;         /* ink navy */
  --ink-2: #3A4E6B;       /* muted text, 8:1 on white */

  /* grounds */
  --snow: #FFFFFF;
  --sky: #EAF6FC;
  --sky-2: #D5EEF9;
  --sun-tint: #FFF7DA;
  --sun-soft: #FFEFA8;
  --neon-tint: #E9FBD8;
  --orange-tint: #FFE9D9;
  --line: #CFE6F1;

  --display: "Big Shoulders Display", "Big Shoulders", "Arial Narrow", "Roboto Condensed", "Barlow", sans-serif;
  --text: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --header-h: 60px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--turq-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-color: var(--neon); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: .005em; text-transform: uppercase; color: var(--ink); }
h1 { font-size: clamp(3.3rem, 8.4vw, 6rem); }
h2 { font-size: clamp(2.3rem, 4.8vw, 3.5rem); }
h3 { font-size: 1.6rem; line-height: 1; }
strong, b { font-weight: 700; }
em { font-style: italic; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.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;
}

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* --------------------------------------------------------------- concept bar */
.concept-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 6px var(--gutter); min-height: 28px;
  background: #EEF0F3; color: #3A4250; border-bottom: 1px solid #DADDE2;
  font: 500 12px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.concept-bar a { color: #3A4250; }
.concept-bar b { font-weight: 700; }

/* --------------------------------------------------------------- skip link */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--sun); color: var(--ink); font-weight: 700;
  padding: 10px 16px; border-radius: 10px; box-shadow: 0 0 0 3px var(--orange);
}
.skip:focus { top: 12px; }

/* --------------------------------------------------------------- stitching */
/* A dashed "stitch" line just inside a patch. */
.stitch, .btn, .patch, .card, .scoreboard, .gamecard, .clipboard-paper, .role, .filter, .badge { position: relative; }
.stitch::before, .btn::before, .card::before, .scoreboard::before, .role::before, .filter::before, .badge::before {
  content: ""; position: absolute; inset: 4px; border-radius: inherit;
  border: 2px dashed currentColor; opacity: .5; pointer-events: none;
}

/* jersey stripes: turquoise / white / neon / white / sun */
.stripes {
  height: 14px; border: 0; margin: 0;
  background: linear-gradient(to bottom,
    var(--turq) 0 5px, #fff 5px 7px, var(--neon) 7px 10px, #fff 10px 11px, var(--sun) 11px 14px);
}

/* --------------------------------------------------------------- buttons (patches) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px;
  border: 3px solid; border-radius: 14px;
  font: 800 1.3rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn::before { inset: 4px; border-radius: 9px; opacity: .65; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(4px); }

.btn--reg { background: var(--sun); color: var(--rust); border-color: var(--orange); box-shadow: 0 5px 0 #D25A08; }
.btn--reg::before { border-color: var(--orange); opacity: .9; }
.btn--reg:hover { color: var(--rust); background: #FFE064; box-shadow: 0 7px 0 #D25A08; }
.btn--reg:active { box-shadow: 0 1px 0 #D25A08; }

.btn--team { background: var(--turq-deep); color: #fff; border-color: var(--turq); box-shadow: 0 5px 0 var(--turq-dark); }
.btn--team:hover { color: #fff; box-shadow: 0 7px 0 var(--turq-dark); }
.btn--team:active { box-shadow: 0 1px 0 var(--turq-dark); }

.btn--ghost { background: #fff; color: var(--turq-deep); border-color: var(--turq-deep); box-shadow: 0 5px 0 #B9D9E8; }
.btn--ghost::before { opacity: .35; }
.btn--ghost:hover { color: var(--turq-deep); box-shadow: 0 7px 0 #B9D9E8; }
.btn--ghost:active { box-shadow: 0 1px 0 #B9D9E8; }

.btn--sm { min-height: 42px; padding: 0 16px; font-size: 1.12rem; border-radius: 12px; }
.btn--sm::before { border-radius: 7px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px 14px; align-items: center; }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px);
}
.site-header::after { content: ""; display: block; height: 6px;
  background: linear-gradient(to bottom, var(--turq) 0 3px, #fff 3px 4px, var(--neon) 4px 6px); }
.site-header.is-stuck { box-shadow: 0 10px 24px -18px rgba(18, 41, 74, .55); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo:hover { color: var(--ink); }
.logo-crest { width: 44px; height: 44px; flex: none; }
.logo-type { display: flex; flex-direction: column; line-height: 1; }
.logo-type b { font: 900 1.6rem/.9 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.logo-type span { font: 700 .72rem/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--turq-deep); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 9px 13px; border-radius: 10px;
  font: 700 .98rem/1 var(--text); letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.nav a:hover { background: var(--sky); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--sun); box-shadow: 0 0 0 2px var(--orange) inset; }
.nav a[aria-current="page"]::before { content: ""; position: absolute; inset: 4px; border: 1.5px dashed var(--orange); border-radius: 7px; pointer-events: none; }
.nav .nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 2px solid var(--turq-deep); background: #fff; cursor: pointer; padding: 0;
  align-items: center; justify-content: center; color: var(--ink);
}
.burger-bars { position: relative; width: 22px; height: 16px; }
.burger-bars i { position: absolute; left: 0; width: 100%; height: 3px; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger-bars i:nth-child(1) { top: 0; background: var(--turq); }
.burger-bars i:nth-child(2) { top: 6.5px; background: var(--neon); }
.burger-bars i:nth-child(3) { top: 13px; background: var(--turq); }
.burger[aria-expanded="true"] .burger-bars i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--ink); }
.burger[aria-expanded="true"] .burger-bars i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-bars i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--ink); }

@media (max-width: 959px) {
  .burger { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px var(--gutter) 22px; background: #fff;
    border-bottom: 6px solid var(--neon);
    box-shadow: 0 24px 40px -24px rgba(18, 41, 74, .5);
    max-height: calc(100vh - 100px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 14px 6px; border-radius: 0; border-bottom: 2px dashed var(--line);
    font: 800 1.9rem/1 var(--display); letter-spacing: .03em;
  }
  .nav a:hover { background: none; color: var(--turq-deep); }
  .nav a[aria-current="page"] { background: none; box-shadow: none; color: var(--turq-deep); }
  .nav a[aria-current="page"]::before { content: ""; position: static; display: inline-block; width: 14px; height: 14px; margin-right: 10px; border: 0; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px var(--orange); vertical-align: 3px; }
  .nav .nav-cta { display: flex; margin-top: 18px; border-bottom: 3px solid var(--orange); border-radius: 14px; padding: 0 24px; font-size: 1.35rem; }
  .nav .nav-cta:hover { color: var(--rust); background: #FFE064; }
}
@media (max-width: 380px) {
  .logo-type span { letter-spacing: .14em; }
  .header-actions .btn--sm { padding: 0 13px; }
}

/* --------------------------------------------------------------- bunting */
.bunting { height: 34px; overflow: hidden; pointer-events: none; }
.bunting svg { width: 100%; height: 100%; max-width: none; }
@media (min-width: 760px) { .bunting { height: 56px; } }

.tc-flag { transform-box: fill-box; transform-origin: 50% 0; }

/* --------------------------------------------------------------- generic sections */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec--sky { background: var(--sky); }
.sec--sun { background: var(--sun-tint); }
.sec--tight { padding-block: clamp(40px, 6vw, 72px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font: 700 .86rem/1.2 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--turq-deep);
}
.eyebrow::before {
  content: ""; width: 30px; height: 11px; flex: none; border-radius: 2px;
  background: linear-gradient(to bottom, var(--turq) 0 3px, transparent 3px 4px, var(--neon) 4px 7px, transparent 7px 8px, var(--sun) 8px 11px);
}
.head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 44px); }
.head h2 + p, .head h2 + .lede { margin-top: 16px; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink); }
.muted { color: var(--ink-2); }
.mb-0 { margin-bottom: 0; }

.grid { display: grid; gap: clamp(18px, 2.6vw, 28px); }
@media (min-width: 720px) { .g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* card = stitched patch */
.card {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px);
  border: 2px solid var(--line);
  box-shadow: 0 6px 0 rgba(11, 92, 128, .08);
}
.card::before { inset: 7px; border-radius: 14px; border-color: var(--turq); opacity: .28; }
.card > * { position: relative; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card > div { min-width: 0; }
.card a[href^="mailto:"] { overflow-wrap: anywhere; }

/* round embroidered icon patch */
.patch {
  --c: var(--turq); --ic: #fff;
  display: grid; place-items: center; flex: none;
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--c); color: var(--ic);
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--c), 0 7px 0 7px rgba(18, 41, 74, .1);
}
.patch::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 2px dashed currentColor; opacity: .7; }
.patch svg { width: 44%; height: 44%; }
.patch--neon { --c: var(--neon); --ic: var(--ink); }
.patch--sun { --c: var(--sun); --ic: var(--rust); }
.patch--orange { --c: var(--orange); --ic: var(--ink); }
.patch--deep { --c: var(--turq-deep); --ic: #fff; }
.patch--sm { width: 52px; height: 52px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c); }
.patch--sm::after { inset: 4px; }

/* --------------------------------------------------------------- hero (home) */
.hero { position: relative; background: linear-gradient(180deg, #D8EFFA 0%, #EAF7FD 46%, #FFFFFF 100%); }
.hero-grid { display: grid; gap: 32px; padding-top: 6px; padding-bottom: clamp(40px, 6vw, 72px); }
.hero-copy { min-width: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 12px;
  padding: 6px 14px 6px 12px; border-radius: 999px;
  background: var(--neon); color: var(--ink);
  font: 700 .84rem/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase;
}
.badge::before { inset: 3px; border-radius: 999px; opacity: .45; border-width: 1.5px; }
.badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--ink); }

.hero h1 { font-size: clamp(3.35rem, 7vw, 5.6rem); line-height: .9; }
.hero h1 .hl { color: var(--turq); background: linear-gradient(transparent 84%, var(--neon) 84% 95%, transparent 95%) no-repeat; padding-bottom: .04em; }
.hero-sub { margin: 14px 0 0; font-size: 1rem; line-height: 1.5; max-width: 34rem; }
@media (min-width: 760px) { .hero-sub { font-size: 1.2rem; } }

/* scoreboard */
.scoreboard {
  margin: 28px 0 18px; padding: 8px; border-radius: 22px;
  background: var(--turq); color: #fff;
  box-shadow: 0 6px 0 var(--turq-deep), 0 22px 34px -22px rgba(11, 92, 128, .7);
  max-width: 34rem;
}
.scoreboard::before { inset: 3px; border-radius: 19px; border-color: #fff; opacity: .55; }
.scoreboard-crest {
  position: absolute; z-index: 2; width: 80px; height: 80px; top: -26px; right: -8px;
  filter: drop-shadow(0 4px 0 rgba(11, 92, 128, .25));
}
.score { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; }
.score > div { background: #fff; color: var(--ink); border-radius: 13px; padding: 8px 12px 9px; min-width: 0; }
.score dt { font: 700 .78rem/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--turq-deep); }
.score dd { margin: 3px 0 0; font: 800 1.6rem/1 var(--display); letter-spacing: .01em; }
.score .s-time { grid-column: 1 / -1; background: var(--sun); padding-right: 80px; }
.score .s-time dt { color: var(--rust); }
.score .s-time dd { font-size: clamp(2.2rem, 10vw, 2.9rem); line-height: .95; font-weight: 900; }
.score .s-where { grid-column: 1 / -1; }
.score .s-season { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px; padding: 7px 12px; background: var(--sky); }
.score .s-season dd { margin: 0; font-size: 1.3rem; }
@media (min-width: 560px) {
  .score { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .score .s-where { grid-column: span 2; }
  .score .s-season { grid-column: 1 / -1; }
}

.hero-art { margin: 0; min-width: 0; }
.framed {
  position: relative; border-radius: 28px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 6px #fff, 0 0 0 10px var(--turq), 0 18px 0 10px rgba(11, 92, 128, .12);
}
.framed::after { content: ""; position: absolute; inset: 8px; border: 2px dashed #fff; border-radius: 21px; opacity: .9; pointer-events: none; }
.framed svg { width: 100%; height: auto; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: clamp(36px, 4vw, 64px); padding-top: 18px; }
  .hero-art { padding: 10px; }
}

/* --------------------------------------------------------------- who we are (home) */
.who { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 960px) { .who { grid-template-columns: 1.05fr 1fr; align-items: start; } }
.who h2 { max-width: 15ch; margin-bottom: 18px; }
/* Who we are (home + about): the lede and the paragraph after it share one body style. */
.who .lede, .who .lede + p, .who-band .lede, .who-band .lede + p {
  font: 400 normal 1.2rem/1.55 var(--text); color: var(--ink);
}

.activities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
.activities li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  font: 800 1.35rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.activities .patch { width: 92px; height: 92px; }
@media (min-width: 600px) { .activities { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) { .activities { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 12px; } }

/* banner quote: a team flag with a swallowtail */
.banner-quote {
  position: relative; margin: clamp(40px, 6vw, 64px) 0 0; padding: 26px 15% 26px 92px;
  background: var(--sun); color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%);
  border-radius: 16px 0 0 16px;
  font: 500 italic clamp(1.15rem, 2.2vw, 1.45rem)/1.45 var(--text);
}
.banner-quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: var(--orange); }
.banner-quote::after { content: ""; position: absolute; inset: 7px 7% 7px 19px; border-top: 2px dashed var(--orange); border-bottom: 2px dashed var(--orange); opacity: .7; pointer-events: none; }
.banner-quote .bq-crest { position: absolute; left: 22px; top: 50%; width: 56px; height: 56px; transform: translateY(-50%); }
@media (max-width: 599px) {
  .banner-quote { padding: 78px 14% 24px 26px; clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%); }
  .banner-quote .bq-crest { top: 16px; transform: none; left: 24px; }
}

/* --------------------------------------------------------------- when & where */
.when { margin-top: 24px; display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 960px) { .when { grid-template-columns: 1fr 1fr; align-items: start; } }
.when .lede { margin-top: 16px; }
.when .btn-row { margin-top: 26px; }
.school-card { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--neon); }
.school-card svg { width: 100%; height: auto; }

.gamecard { border-radius: 24px; background: #fff; overflow: hidden; box-shadow: 0 0 0 3px var(--turq-deep), 0 10px 0 3px rgba(11, 92, 128, .14); }
.gamecard-top {
  position: relative; padding: 24px 26px 22px; background: var(--turq-deep); color: #fff;
  background-image:
    linear-gradient(to bottom, transparent calc(100% - 16px), var(--neon) calc(100% - 16px) calc(100% - 11px), #fff calc(100% - 11px) calc(100% - 8px), var(--sun) calc(100% - 8px) calc(100% - 3px), transparent calc(100% - 3px));
  padding-bottom: 36px;
}
.gamecard-top .day { margin: 0; font: 800 1.6rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; }
.gamecard-top .time { margin: 4px 0 0; font: 900 clamp(2.8rem, 7vw, 3.8rem)/.95 var(--display); color: var(--sun); }
.gamecard-top .patch { position: absolute; right: 22px; top: 22px; }
@media (max-width: 519px) { .gamecard-top .patch { display: none; } }
@media (min-width: 520px) { .gamecard-top { padding-right: 96px; } }
.gamecard-body { padding: 10px 26px 26px; }
.g-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 2px dashed var(--line); }
.g-row b { display: block; font: 800 1.2rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--turq-deep); margin-bottom: 3px; }
.g-row span { display: block; }
.g-row .patch { margin-top: 2px; }
.g-note { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--sun-tint); font-size: 1rem; box-shadow: 0 0 0 2px var(--sun-soft) inset; }

/* --------------------------------------------------------------- pray connect act */
.steps { counter-reset: none; }
.step { text-align: center; padding-top: 44px; }
.step .patch { margin: 0 auto 20px; width: 88px; height: 88px; }
.step h3 { font-size: 2.2rem; margin-bottom: 12px; }
.step a { font-weight: 700; white-space: nowrap; }

/* --------------------------------------------------------------- contact */
.contact { display: grid; gap: clamp(36px, 5vw, 64px); }
@media (min-width: 960px) { .contact { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.contact .lede { margin-top: 16px; }
.contact-visit { margin-top: 28px; padding-top: 26px; border-top: 2px dashed var(--line); }
.contact-visit h3 { font-size: 1.7rem; margin-bottom: 10px; }

.clipboard { position: relative; padding: 34px 14px 14px; border-radius: 24px; background: var(--turq); box-shadow: 0 8px 0 var(--turq-deep); }
.clipboard::after { content: ""; position: absolute; inset: 6px; border-radius: 19px; border: 2px dashed #fff; opacity: .45; pointer-events: none; }
.clip {
  position: absolute; z-index: 2; left: 50%; top: -14px; width: 132px; height: 40px; transform: translateX(-50%);
  border-radius: 12px 12px 10px 10px; background: linear-gradient(#5D7086, #3E5068); box-shadow: 0 4px 0 #24344A;
}
.clip::after { content: ""; position: absolute; left: 50%; top: 9px; width: 34px; height: 12px; transform: translateX(-50%); border-radius: 8px; background: var(--turq); box-shadow: inset 0 2px 0 rgba(0, 0, 0, .25); }
.clipboard-paper { z-index: 1; background: #fff; border-radius: 14px; padding: clamp(20px, 3vw, 30px); }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font: 700 .95rem/1.2 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--turq-deep); }
.field input, .field textarea {
  width: 100%; font: 400 1.05rem/1.4 var(--text); color: var(--ink);
  background: #F7FBFD; border: 2px solid #A9CFE2; border-radius: 12px; padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #5F7189; opacity: 1; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--turq-deep); background: #fff; box-shadow: 0 0 0 4px rgba(27, 155, 209, .28); }
.row-2 { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--neon-tint); box-shadow: 0 0 0 2px var(--neon) inset; font-size: 1rem; }

/* --------------------------------------------------------------- page hero (inner pages) */
.page-hero { position: relative; background: linear-gradient(180deg, #D8EFFA 0%, #EAF7FD 60%, #FFFFFF 100%); }
.page-hero-grid { display: grid; gap: 28px; padding-top: 10px; padding-bottom: clamp(48px, 7vw, 88px); align-items: center; }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: .95; max-width: 18ch; }
.page-hero .lede { margin-top: 20px; max-width: 40rem; }
.page-hero-art { margin: 0 auto; width: min(100%, 300px); }
.page-hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 10px 0 rgba(11, 92, 128, .12)); }
.page-hero-art--wide { width: min(100%, 520px); }
@media (min-width: 960px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); padding-top: 22px; }
  .page-hero-art { width: min(100%, 400px); margin-right: 0; }
  .page-hero-art--wide { width: 100%; }
}
.page-hero-crest { justify-self: center; }
.hero-crest { width: clamp(110px, 24vw, 220px); height: auto; filter: drop-shadow(0 8px 0 rgba(11, 92, 128, .12)); }
.crumbs { margin: 0 0 18px; font: 600 .95rem/1.2 var(--text); color: var(--ink-2); }
.crumbs a { color: var(--turq-deep); }
.crumbs span { margin: 0 6px; color: var(--turq); }

/* --------------------------------------------------------------- about */
.pillars .card { padding-top: 34px; }
.pillars .patch { margin-bottom: 22px; }
.pillars h3 { font-size: 1.9rem; }

.who-band { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 960px) { .who-band { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.who-band h2 { max-width: 16ch; margin-bottom: 18px; }
.who-band .banner-quote { margin: 0; }

/* belief statement link band (about) */
.go-band { display: flex; align-items: center; gap: 22px 28px; flex-wrap: wrap; }
.go-band .eyebrow { margin-bottom: 8px; }
.go-link { margin: 0; font: 800 clamp(1.7rem, 4vw, 2.4rem)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.go-link a { text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* belief statement page */
.beliefs-page { max-width: calc(52rem + 2 * var(--gutter)); }
.beliefs { list-style: none; margin: 0; padding: 0; counter-reset: belief; border-top: 2px solid var(--line); }
.beliefs li { counter-increment: belief; display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 22px 0; border-bottom: 2px solid var(--line); }
.beliefs li::before {
  content: counter(belief); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  font: 800 1.35rem/1 var(--display); color: var(--turq-deep); background: var(--sky); box-shadow: 0 0 0 2px var(--turq) inset;
}
.beliefs p { margin: 0; font-size: 1.08rem; line-height: 1.65; }
.beliefs .ref { display: block; margin-top: 8px; font: 600 .95rem/1.4 var(--text); letter-spacing: .03em; color: var(--turq-deep); }

/* closing band */
.band { text-align: center; }
.band h2 { margin-bottom: 18px; }
.band .lede { max-width: 40rem; margin-inline: auto; }
.band .btn-row { justify-content: center; margin-top: 30px; }
.band .patch { margin: 0 auto 26px; }

/* --------------------------------------------------------------- volunteer */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.filter {
  min-height: 46px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font: 700 .98rem/1 var(--text); letter-spacing: .05em; text-transform: uppercase;
  background: #fff; color: var(--turq-deep); border: 2px solid var(--turq-deep);
  box-shadow: 0 4px 0 #B9D9E8; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.filter::before { inset: 3px; border-radius: 999px; opacity: 0; }
.filter:hover { background: var(--sky); }
.filter:active { transform: translateY(3px); box-shadow: 0 1px 0 #B9D9E8; }
.filter[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--orange); box-shadow: 0 4px 0 #D25A08; }
.filter[aria-pressed="true"]::before { opacity: .8; border-color: var(--orange); border-width: 1.5px; }

.roles { align-items: stretch; }
.role {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  padding: 22px 24px 24px; border: 2px solid var(--line); box-shadow: 0 6px 0 rgba(11, 92, 128, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.role[hidden] { display: none; }
.role::before { inset: 7px; border-radius: 14px; border-color: var(--turq); opacity: .25; }
.role:hover { transform: translateY(-3px); box-shadow: 0 10px 0 rgba(11, 92, 128, .1); }
.role-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; position: relative; }
.role h3 { font-size: 1.65rem; }
.role p { position: relative; flex: 1; margin-bottom: 18px; }
.jersey {
  --j: var(--turq); --jt: #fff;
  flex: none; display: grid; place-items: center; width: 62px; height: 56px; padding-top: 12px;
  background: var(--j); color: var(--jt);
  font: 900 1.5rem/1 var(--display);
  clip-path: polygon(30% 0, 40% 7%, 60% 7%, 70% 0, 100% 17%, 89% 42%, 79% 36%, 79% 100%, 21% 100%, 21% 36%, 11% 42%, 0 17%);
}
.role:nth-child(4n+2) .jersey { --j: var(--neon); --jt: var(--ink); }
.role:nth-child(4n+3) .jersey { --j: var(--sun); --jt: var(--rust); }
.role:nth-child(4n+4) .jersey { --j: var(--orange); --jt: var(--ink); }
.pills { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
  font: 700 .85rem/1.2 var(--text); letter-spacing: .04em; color: var(--ink);
  background: var(--sky); box-shadow: 0 0 0 1.5px var(--turq) inset;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--turq); }
.pill--adult { background: var(--orange-tint); box-shadow: 0 0 0 1.5px var(--orange) inset; }
.pill--adult::before { background: var(--orange); }
.pill--behind { background: var(--sun-tint); box-shadow: 0 0 0 1.5px #E3B800 inset; }
.pill--behind::before { background: var(--sun); box-shadow: 0 0 0 1px #C79F00; }
.pill--occ { background: var(--neon-tint); box-shadow: 0 0 0 1.5px #6CC52A inset; }
.pill--occ::before { background: var(--neon); box-shadow: 0 0 0 1px #4E9A17; }
.apply-row { margin-top: 36px; gap: 16px 22px; }
.apply-row p { margin: 0; color: var(--ink-2); max-width: 32rem; }

/* before you apply: two big link patches */
.go-cards { align-items: stretch; }
.go-card {
  display: flex; align-items: center; gap: 22px; text-decoration: none; color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.go-card:hover { color: var(--ink); transform: translateY(-3px); border-color: var(--turq); box-shadow: 0 10px 0 rgba(11, 92, 128, .12); }
.go-card .go-title { flex: 1; min-width: 0; font: 800 clamp(1.7rem, 3.4vw, 2.3rem)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.go-card > svg { width: 28px; height: 28px; flex: none; color: var(--turq-deep); }
.go-card:hover .go-title { text-decoration: underline; text-decoration-color: var(--neon); text-decoration-thickness: 3px; text-underline-offset: 5px; }
@media (max-width: 419px) { .go-card { gap: 16px; } .go-card .patch { width: 60px; height: 60px; } }

/* volunteer expectations page */
.expect-page { max-width: calc(52rem + 2 * var(--gutter)); }
.expect-page > .lede { margin-bottom: 22px; }
.after-links { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; font-weight: 700; font-size: 1.08rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li {
  display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start;
  background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 0 0 2px var(--line) inset;
}
.checklist li::before {
  content: ""; width: 32px; height: 32px; border-radius: 50%; margin-top: -2px;
  background: var(--neon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2312294A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--neon);
}

.covenant { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 960px) { .covenant { grid-template-columns: 340px 1fr; align-items: start; } .covenant-aside { position: sticky; top: 110px; } }
.tabs { display: flex; gap: 8px; margin-top: 24px; padding: 6px; border-radius: 18px; background: var(--sky); box-shadow: 0 0 0 2px var(--line) inset; }
.tab {
  flex: 1; min-height: 50px; padding: 0 16px; border: 0; border-radius: 13px; cursor: pointer;
  font: 800 1.2rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  background: transparent; color: var(--turq-deep); transition: background-color .15s ease, transform .15s ease;
}
.tab:hover { background: #fff; }
.tab:active { transform: translateY(2px); }
.tab[aria-selected="true"] { background: var(--turq-deep); color: #fff; box-shadow: 0 4px 0 var(--neon); }
.numbered { list-style: none; margin: 0; padding: 0; counter-reset: item; }
.numbered li { counter-increment: item; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 2px dashed var(--line); }
.numbered li:first-child { padding-top: 4px; }
.numbered li::before {
  content: counter(item); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  font: 800 1.3rem/1 var(--display); background: var(--sky); color: var(--turq-deep); box-shadow: 0 0 0 2px var(--turq) inset;
}
.numbered p { margin: 0; }
.tabpanel:focus-visible { outline-offset: 8px; }

.acc { display: grid; gap: 14px; }
.acc details { background: #fff; border-radius: 18px; box-shadow: 0 0 0 2px var(--line) inset, 0 5px 0 rgba(11, 92, 128, .07); }
.acc details[open] { box-shadow: 0 0 0 2px var(--turq) inset, 0 5px 0 rgba(11, 92, 128, .1); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none;
  padding: 20px 22px; font: 700 1.15rem/1.35 var(--text); color: var(--ink); border-radius: 18px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--neon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%2312294A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--neon); transition: transform .2s ease;
}
.acc details[open] summary::after { transform: rotate(45deg); }
.acc summary:hover { color: var(--turq-deep); }
.acc-body { padding: 0 22px 22px; }
.acc-body p:last-child { margin-bottom: 0; }

.ask { display: flex; gap: 20px; align-items: flex-start; margin-top: 36px; background: var(--sun-tint); border-color: var(--sun-soft); }
.ask::before { border-color: var(--orange); opacity: .45; }
.ask h3 { margin-bottom: 6px; }

/* --------------------------------------------------------------- give */
.covers { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.covers li {
  padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 2px var(--turq) inset;
  font: 800 1.08rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--turq-deep);
}
.covers li:nth-child(2) { box-shadow: 0 0 0 2px #6CC52A inset; }
.covers li:nth-child(3) { box-shadow: 0 0 0 2px var(--orange) inset; color: var(--rust); }
.covers li:nth-child(4) { box-shadow: 0 0 0 2px #E3B800 inset; }

.ways { display: grid; gap: clamp(18px, 2.6vw, 28px); }
@media (min-width: 760px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.way-card { display: flex; flex-direction: column; gap: 6px; padding-top: 30px; }
.way-top { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.way {
  display: inline-block; padding: 6px 26px 6px 14px; font: 800 1.05rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .1em;
  background: var(--turq-deep); color: #fff; clip-path: polygon(0 0, 100% 0, 88% 50%, 100% 100%, 0 100%);
}
.what { display: block; font: 800 clamp(1.4rem, 5.4vw, 1.9rem)/1.05 var(--display); letter-spacing: .01em; overflow-wrap: anywhere; margin-bottom: 4px; }
.way-card:nth-child(2) .way { background: var(--neon); color: var(--ink); }
.way-card:nth-child(3) .way { background: var(--sun); color: var(--ink); }
.way-card:nth-child(4) .way { background: var(--orange); color: var(--ink); }
.open-books { display: flex; gap: 20px; align-items: flex-start; margin-top: clamp(24px, 3vw, 36px); background: var(--sky); border-color: #B5DCEE; }
.open-books h3 { margin-bottom: 6px; }

/* --------------------------------------------------------------- real logo (home) */
.logo-band { background: var(--sky); padding-block: clamp(40px, 6vw, 64px); }
.logo-patch {
  position: relative; width: fit-content; margin-inline: auto; padding: 22px 30px;
  background: #fff; border-radius: var(--radius); border: 2px solid var(--line);
  box-shadow: 0 6px 0 rgba(11, 92, 128, .08);
}
.logo-patch::before { content: ""; position: absolute; inset: 7px; border-radius: 14px; border: 2px dashed var(--turq); opacity: .28; pointer-events: none; }
.logo-patch img { width: 220px; height: auto; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--turq-deep); color: #fff; }
.site-footer .stripes { background: linear-gradient(to bottom, var(--neon) 0 5px, #fff 5px 7px, var(--sun) 7px 11px, var(--turq-deep) 11px 14px); }
.footer-grid { display: grid; gap: 36px; padding-block: 52px 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .logo { color: #fff; }
.site-footer .logo-type span { color: var(--neon); }
.site-footer .logo-crest { width: 64px; height: 64px; }
.tagline { margin: 20px 0 8px; font: 900 clamp(1.8rem, 3.4vw, 2.3rem)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--sun); }
.site-footer p { color: rgba(255, 255, 255, .88); max-width: 34ch; }
.site-footer h4 { font-size: 1.4rem; letter-spacing: .08em; color: var(--neon); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.site-footer a:hover { color: var(--sun); text-decoration-color: var(--sun); }
.site-footer :focus-visible { outline-color: var(--sun); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 26px; border-top: 2px dashed rgba(255, 255, 255, .28); font-size: .95rem; color: rgba(255, 255, 255, .86); }

/* --------------------------------------------------------------- motion (calm) */
.reveal.is-in { animation: tc-rise .7s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes tc-rise { from { transform: translateY(14px); } to { transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .tc-flag { animation: tc-sway 5.6s ease-in-out infinite alternate; }
  .tc-rays, .tc-sunrays, .tc-burst { transform-box: fill-box; transform-origin: center; animation: tc-spin 90s linear infinite; }
  .tc-burst { animation-duration: 160s; }
  .scoreboard-crest .tc-rays { animation-duration: 60s; }
  .tc-glow { animation: tc-breathe 4.8s ease-in-out infinite alternate; }
  .tc-spark { transform-box: fill-box; transform-origin: center; animation: tc-twinkle 3.2s ease-in-out infinite alternate; }
  .tc-spark--2 { animation-delay: -1.1s; }
  .tc-spark--3 { animation-delay: -2.2s; }
  .tc-shirt { animation: tc-sway-sm 6s ease-in-out infinite alternate; }
  .tc-note { transform-box: fill-box; transform-origin: center; animation: tc-bob 3.4s ease-in-out infinite alternate; }
  .tc-pennant { transform-box: fill-box; animation: tc-flap 4.4s ease-in-out infinite alternate; }
  .badge .dot { animation: tc-pulse 2.6s ease-in-out infinite; }
}
@keyframes tc-sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes tc-sway-sm { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
@keyframes tc-spin { to { transform: rotate(360deg); } }
@keyframes tc-breathe { from { opacity: .7; } to { opacity: 1; } }
@keyframes tc-twinkle { from { transform: scale(.6); opacity: .55; } to { transform: scale(1.05); opacity: 1; } }
@keyframes tc-flap { from { transform: skewY(-3deg) scaleX(.97); } to { transform: skewY(2deg) scaleX(1); } }
@keyframes tc-bob { from { transform: translateY(2px); } to { transform: translateY(-4px); } }
@keyframes tc-pulse { 0%, 100% { box-shadow: 0 0 0 2px var(--ink); } 50% { box-shadow: 0 0 0 2px var(--ink), 0 0 0 6px rgba(255, 255, 255, .7); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .concept-bar, .bunting, .burger, .site-header { display: none; }
}
