@charset "utf-8";
/* ==========================================================================
   Calgary Open Taekwondo Championship — 2026
   Design system. Palette carried over from the original site.
   ========================================================================== */

/* --- 1. Fonts (self-hosted, no third-party requests) --------------------- */
@font-face {
  font-family: "Big Shoulders";
  src: url("../fonts/bigshoulders-var-latin.woff2") format("woff2-variations"),
       url("../fonts/bigshoulders-var-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Chivo";
  src: url("../fonts/chivo-var-latin.woff2") format("woff2-variations"),
       url("../fonts/chivo-var-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Chivo";
  src: url("../fonts/chivo-var-latinext.woff2") format("woff2-variations"),
       url("../fonts/chivo-var-latinext.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Chivo";
  src: url("../fonts/chivo-var-italic-latin.woff2") format("woff2-variations"),
       url("../fonts/chivo-var-italic-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- 2. Tokens ----------------------------------------------------------- */
:root {
  /* Palette — inherited from the original calgaryopentkd.com */
  --brick: #87230f;   /* primary deep red   */
  --flame: #b51813;   /* bright red accent  */
  --clay:  #ce968e;   /* dusty rose                                  */
  --clay-lt: #e8c6c1; /* lighter clay — AA-safe on brick and umber   */
  --umber: #5d3029;   /* dark brown         */
  --ink:   #131313;   /* near-black         */
  --ink-2: #191919;
  --bone:  #f1edeb;   /* warm off-white     */
  --paper: #f1f0f0;   /* cool light grey    */
  --white: #ffffff;

  /* Derived surfaces */
  --bone-2:  #e6e0dc;
  --bone-3:  #d9d1cc;
  --brick-d: #6d1c0c;
  --ink-3:   #242424;
  --ink-line: rgba(19, 19, 19, .14);
  --bone-line: rgba(241, 237, 235, .18);

  /* Semantic */
  --bg: var(--bone);
  --fg: var(--ink);
  --muted: #5a5148;
  --accent: var(--brick);
  /* Secondary text. Redefined per surface below so small copy always
     clears WCAG AA (4.5:1) wherever it lands. */
  --soft: var(--muted);

  /* Type */
  --display: "Big Shoulders", "Haettenschweiler", "Arial Narrow", sans-serif;
  --body: "Chivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --step--1: clamp(.8125rem, .79rem + .12vw, .875rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.0625rem);
  --step-1:  clamp(1.125rem, 1.06rem + .3vw, 1.25rem);
  --step-2:  clamp(1.375rem, 1.24rem + .6vw, 1.75rem);
  --step-3:  clamp(1.75rem, 1.45rem + 1.4vw, 2.5rem);
  --step-4:  clamp(2.25rem, 1.6rem + 2.9vw, 3.75rem);
  --step-5:  clamp(3rem, 1.6rem + 6.2vw, 6.5rem);

  /* Space */
  --s1: .375rem;  --s2: .625rem;  --s3: 1rem;    --s4: 1.5rem;
  --s5: 2.25rem;  --s6: 3.5rem;   --s7: 5rem;    --s8: 7rem;

  --wrap: 74rem;      /* 1184px */
  --wrap-narrow: 56rem;
  --radius: 2px;
  --notch: 14px;      /* corner-cut size for the "card" motif */
  --hdr: 60px;

  --shadow-1: 0 1px 0 rgba(19,19,19,.05), 0 2px 10px -4px rgba(19,19,19,.18);
  --shadow-2: 0 18px 44px -18px rgba(19,19,19,.42);

  --ease: cubic-bezier(.22, .68, .28, 1);
}

/* --- 3. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
* { margin: 0; }
html { overflow-x: clip; }
body {
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(p, li) { text-wrap: pretty; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Focus */
:focus-visible {
  outline: 3px solid var(--flame);
  outline-offset: 3px;
  border-radius: 1px;
}
:is(.sect--dark, .sect--brick, .sect--umber, .hero, .phdr, .on-dark) :focus-visible { outline-color: var(--clay); }
::selection { background: var(--brick); color: var(--bone); }

.skip {
  position: absolute; left: var(--s3); top: -100px; z-index: 200;
  background: var(--ink); color: var(--bone);
  padding: .75rem 1.1rem; font-weight: 700; text-decoration: none;
  transition: top .18s var(--ease);
}
.skip:focus { top: var(--s3); }

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

/* --- 4. Typography ------------------------------------------------------- */
.d1, .d2, .d3, .d4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: .92;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.d1 { font-size: var(--step-5); }
.d2 { font-size: var(--step-4); }
.d3 { font-size: var(--step-3); }
.d4 { font-size: var(--step-2); letter-spacing: .02em; }

.eyebrow {
  font-family: var(--body);
  font-size: clamp(.6875rem, .66rem + .12vw, .78rem);
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--brick);
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before {
  content: ""; width: 1.8rem; height: 3px; flex: none;
  background: currentColor;
}
.eyebrow--plain::before { display: none; }
:is(.sect--dark, .sect--brick, .sect--umber, .hero, .phdr, .on-dark) .eyebrow { color: var(--soft); }

.lede { font-size: var(--step-1); line-height: 1.6; color: var(--muted); max-width: 46ch; }
:is(.sect--dark, .sect--brick, .sect--umber, .hero, .phdr, .on-dark) .lede { color: var(--soft); }

.prose > * + * { margin-top: 1em; }
.prose h3 { font-family: var(--display); font-size: var(--step-2); text-transform: uppercase; letter-spacing: .02em; margin-top: 1.6em; }
.prose a { color: var(--brick); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.prose a:hover { background: var(--brick); color: var(--bone); text-decoration-color: transparent; }

/* --- 5. Layout ----------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
@media (min-width: 48em) { .wrap { width: min(100% - 4rem, var(--wrap)); } }
.wrap--narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.sect { padding-block: clamp(3rem, 7vw, var(--s8)); position: relative; }
.sect--tight { padding-block: clamp(2.25rem, 4.5vw, var(--s6)); }
.sect--bone  { background: var(--bone); }
.sect--paper { background: var(--paper); }
.sect--white { background: var(--white); }
.sect--dark  { background: var(--ink); color: var(--bone); }
.sect--brick { background: var(--brick); color: var(--bone); }
.sect--umber { background: var(--umber); color: var(--bone); }
/* Secondary-text colour per surface. clay is only AA-safe on ink;
   brick and umber need the lighter tint. */
:is(.sect--dark, .hero, .phdr, .card--dark, .on-dark) { --soft: var(--clay); }
:is(.sect--brick, .sect--umber, .card--brick) { --soft: var(--clay-lt); }

/* Grain / texture on dark surfaces — pure CSS, no image request */
.sect--dark::before, .sect--brick::before, .sect--umber::before, .hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  opacity: .5; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}
.sect > .wrap, .sect > .wrap--narrow { position: relative; z-index: 1; }

.section-head { margin-bottom: clamp(1.75rem, 3.5vw, 3rem); max-width: 60ch; }
.section-head .eyebrow { margin-bottom: var(--s2); }
.section-head .d2, .section-head .d3 { margin-bottom: var(--s3); }

.grid { display: grid; gap: var(--s4); }
@media (min-width: 40em)  { .g-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62em)  { .g-3 { grid-template-columns: repeat(3, 1fr); }
                            .g-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 40em) and (max-width: 61.99em) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 60em) { .split { grid-template-columns: 1.05fr .95fr; } .split--art { grid-template-columns: .85fr 1.15fr; } }

/* --- 6. Buttons ---------------------------------------------------------- */
.btn {
  --btn-bg: var(--brick); --btn-fg: var(--bone); --btn-bd: var(--brick);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--display); font-size: clamp(1rem, .95rem + .2vw, 1.15rem);
  font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1; text-decoration: none; cursor: pointer;
  padding: .95rem 1.5rem; min-height: 48px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bd); border-radius: var(--radius);
  transition: transform .16s var(--ease), background-color .16s var(--ease),
              color .16s var(--ease), box-shadow .16s var(--ease);
  position: relative;
}
.btn:hover { --btn-bg: var(--flame); --btn-bd: var(--flame); transform: translateY(-2px); box-shadow: 0 6px 0 -2px rgba(19,19,19,.28); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn svg { flex: none; width: 1.05em; height: 1.05em; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--bone); --btn-bd: var(--ink); }
:is(.sect--dark, .sect--brick, .sect--umber, .hero, .phdr, .on-dark) .btn--ghost { --btn-fg: var(--bone); --btn-bd: var(--bone); }
:is(.sect--dark, .sect--brick, .sect--umber, .hero, .phdr, .on-dark) .btn--ghost:hover { --btn-bg: var(--bone); --btn-fg: var(--ink); }
.btn--light { --btn-bg: var(--bone); --btn-fg: var(--ink); --btn-bd: var(--bone); }
.btn--light:hover { --btn-bg: var(--white); --btn-fg: var(--brick); --btn-bd: var(--white); }
.btn--sm { padding: .6rem 1rem; min-height: 40px; font-size: .95rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); }
/* On phones, full-width buttons are far easier to hit than ragged inline ones. */
@media (max-width: 30em) {
  .btn-row > .btn:not(.btn--sm) { flex: 1 1 100%; }
}

/* --- 7. Header ----------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(19, 19, 19, .93);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--bone-line);
  color: var(--bone);
}
.hdr__in {
  display: flex; align-items: center; gap: var(--s3);
  min-height: var(--hdr);
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--bone); flex: 0 1 auto; min-width: 0;
  font-family: var(--display); text-transform: uppercase; line-height: 1;
}
.brand img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.brand__t { min-width: 0; }
.brand b { font-weight: 800; font-size: 1.06rem; letter-spacing: .04em; display: block;
  white-space: nowrap; overflow: hidden; text-overflow: clip; }
.brand__t > span { display: block; font-family: var(--body); font-size: .625rem; font-weight: 600;
  letter-spacing: .16em; color: var(--clay); white-space: nowrap; overflow: hidden; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.nav__list { display: flex; align-items: center; gap: .15rem; }
.nav__list a {
  display: block; text-decoration: none; padding: .55rem .7rem;
  font-size: .875rem; font-weight: 600; letter-spacing: .01em;
  color: var(--bone); border-radius: var(--radius);
  transition: background-color .15s var(--ease), color .15s var(--ease);
  white-space: nowrap;
}
.nav__list a:hover { background: rgba(241,237,235,.12); }
.nav__list a[aria-current="page"] { color: var(--ink); background: var(--clay); }
.nav .btn { margin-left: .5rem; }

.burger {
  margin-left: auto; display: none; align-items: center; gap: .5rem;
  background: none; border: 2px solid var(--bone-line); color: var(--bone);
  padding: .5rem .75rem; cursor: pointer; border-radius: var(--radius);
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  min-height: 42px;
}
.burger b { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.burger b::before, .burger b::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
  transition: transform .2s var(--ease);
}
.burger b::before { top: -6px; } .burger b::after { top: 6px; }
.burger[aria-expanded="true"] b { background: transparent; }
.burger[aria-expanded="true"] b::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] b::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 23em) {
  .burger span { display: none; }
  .brand__t > span { letter-spacing: .08em; }
}

@media (max-width: 63.99em) {
  .burger { display: flex; }
  .nav {
    display: block;
    position: fixed; inset: var(--hdr) 0 auto 0; background: var(--ink);
    border-bottom: 3px solid var(--brick);
    max-height: calc(100dvh - var(--hdr)); overflow-y: auto;
    padding: var(--s3) 1.25rem var(--s4);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav[data-open="true"] { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { padding: .95rem .5rem; font-size: 1.0625rem; border-bottom: 1px solid var(--bone-line); border-radius: 0; }
  .nav__list a[aria-current="page"] { background: none; color: var(--clay); }
  .nav__list a[aria-current="page"]::before { content: "▸ "; }
  .nav .btn { margin: var(--s3) 0 0; width: 100%; }
}

/* --- 8. Hero ------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--bone);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5.5rem);
  isolation: isolate;
}
/* red brush-glow field behind the type */
.hero__glow {
  position: absolute; inset: -20% -10% auto -25%; height: 130%;
  z-index: -1; pointer-events: none; opacity: .95;
  background:
    radial-gradient(48% 42% at 22% 34%, rgba(181,24,19,.62), transparent 68%),
    radial-gradient(38% 46% at 74% 12%, rgba(135,35,15,.55), transparent 70%),
    radial-gradient(60% 50% at 52% 96%, rgba(93,48,41,.6), transparent 72%);
  filter: blur(6px);
}
.hero__in { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 4.5vw, 3.5rem); }
@media (min-width: 62em) { .hero__in { grid-template-columns: 1.18fr .82fr; align-items: center; } }

.hero__kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--clay); margin-bottom: var(--s3);
}
.hero__kicker img { width: 22px; height: 22px; filter: brightness(0) invert(1); opacity: .9; }

.hero h1 { font-family: var(--display); text-transform: uppercase; line-height: .88;
  font-weight: 800; letter-spacing: .004em; margin-bottom: var(--s3); }
.hero h1 .yr {
  display: block; font-size: clamp(3.2rem, 11vw, 7.4rem); font-weight: 900;
  color: transparent; -webkit-text-stroke: 2px var(--clay);
  letter-spacing: .02em; margin-bottom: -.06em;
}
.hero h1 .nm { display: block; font-size: clamp(2.2rem, 7.6vw, 5.1rem); color: var(--bone); }
.hero h1 .nm em { font-style: normal; color: var(--clay); }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4);
  padding-block: var(--s3); margin-bottom: var(--s4);
  border-top: 2px solid var(--bone-line); border-bottom: 2px solid var(--bone-line);
}
.hero__meta div { display: flex; align-items: flex-start; gap: .55rem; }
.hero__meta svg { width: 1.15rem; height: 1.15rem; color: var(--clay); flex: none; margin-top: .28rem; }
.hero__meta dt { font-size: .66rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--clay); }
.hero__meta dd { font-family: var(--display); font-size: 1.28rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.12; }
.hero__meta dd small { display: block; font-family: var(--body); font-size: .8rem; font-weight: 400;
  text-transform: none; letter-spacing: 0; color: var(--clay); line-height: 1.4; }

/* Poster */
.hero__poster { position: relative; justify-self: center; max-width: 26rem; width: 100%; }
.hero__poster img {
  width: 100%; border: 3px solid var(--bone);
  box-shadow: var(--shadow-2), 14px 14px 0 -3px var(--brick);
  transform: rotate(-1.1deg);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__poster img { transition: transform .5s var(--ease); }
  .hero__poster:hover img { transform: rotate(0deg) scale(1.012); }
}

/* Countdown */
.count { display: flex; flex-wrap: wrap; gap: .5rem; }
.count__u {
  flex: 1 1 4.5rem; min-width: 4.2rem;
  background: rgba(241,237,235,.07); border: 1px solid var(--bone-line);
  padding: .6rem .5rem .5rem; text-align: center;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.count__n { display: block; font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 800; line-height: 1; color: var(--bone); font-variant-numeric: tabular-nums; }
.count__l { display: block; font-size: .6rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--clay); margin-top: .3rem; }
.count--done { font-family: var(--display); font-size: var(--step-2); text-transform: uppercase; color: var(--clay); }

/* --- 9. Marquee (reuses the original red banner artwork) ------------------ */
.marquee {
  background: var(--brick); overflow: hidden; border-block: 3px solid var(--ink);
  padding-block: .55rem; display: flex;
}
.marquee__t {
  display: flex; flex: none; align-items: center; gap: 2.5rem; padding-right: 2.5rem;
  font-family: var(--display); font-size: 1.02rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--bone);
  white-space: nowrap;
}
.marquee__t span { display: flex; align-items: center; gap: 2.5rem; }
.marquee__t span::after { content: "◆"; font-size: .6em; color: var(--clay); letter-spacing: 0; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__t { animation: slide 34s linear infinite; }
  .marquee:hover .marquee__t { animation-play-state: paused; }
}
@keyframes slide { to { transform: translateX(-100%); } }

/* --- 10. Cards ----------------------------------------------------------- */
.card {
  background: var(--white); border: 2px solid var(--ink);
  padding: clamp(1.15rem, 2.2vw, 1.85rem);
  position: relative;
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
  height: 100%;
}
.card__hd { display: flex; align-items: baseline; gap: .6rem; margin-bottom: var(--s2); }
.card h3 { font-family: var(--display); font-size: var(--step-2); font-weight: 800;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.02; }
.card :where(p) { color: var(--muted); }
.card--dark { background: var(--ink-2); border-color: var(--ink); color: var(--bone); }
.card--dark :where(p) { color: var(--soft); }
.card--brick { background: var(--brick); border-color: var(--brick-d); color: var(--bone); }
.card--brick :where(p) { color: var(--soft); }
.card--flat { clip-path: none; }

/* Link-tile (quick actions) */
.tiles { display: grid; gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
@media (min-width: 34em) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 58em) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile {
  display: flex; flex-direction: column; gap: .3rem;
  padding: clamp(1.1rem, 2.2vw, 1.65rem); background: var(--bone);
  text-decoration: none; color: var(--ink); position: relative; min-height: 8.5rem;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.tile__ic { width: 1.7rem; height: 1.7rem; color: var(--brick); margin-bottom: .35rem;
  transition: color .18s var(--ease), transform .25s var(--ease); }
.tile b { font-family: var(--display); font-size: var(--step-2); font-weight: 800;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.04; }
.tile span { font-size: var(--step--1); color: var(--muted); line-height: 1.45; }
.tile::after {
  content: "→"; position: absolute; right: 1.1rem; bottom: 1rem;
  font-size: 1.15rem; color: var(--brick); transition: transform .2s var(--ease), color .18s var(--ease);
}
.tile:hover { background: var(--brick); color: var(--bone); }
/* Non-link tile — used for categories with nothing to link to yet. */
.tile--static { cursor: default; background: var(--bone-2); }
.tile--static::after { content: none; }
.tile--static b { color: var(--muted); }
.tile:hover .tile__ic { color: var(--clay); transform: translateY(-2px); }
.tile:hover span { color: #f0d8d3; }
.tile:hover::after { color: var(--bone); transform: translateX(5px); }

/* --- 11. Stat strip ------------------------------------------------------ */
.stats { display: grid; gap: 2px; background: var(--ink-line); }
@media (min-width: 34em) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 58em) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bone); padding: var(--s3) var(--s3) var(--s4); position: relative; }
.sect--dark .stats, .sect--brick .stats { background: var(--bone-line); }
.sect--dark .stat { background: var(--ink); }
.sect--brick .stat { background: var(--brick); }
.stat dt { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brick); margin-bottom: .45rem; }
.sect--dark .stat dt, .sect--brick .stat dt { color: var(--soft); }
.stat dd { font-family: var(--display); font-size: clamp(1.5rem, 3.2vw, 2.15rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: .015em; line-height: 1.02; }
.stat dd small { display: block; margin-top: .3rem; font-family: var(--body); font-size: .8rem;
  font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); line-height: 1.45; }
.sect--dark .stat dd small, .sect--brick .stat dd small { color: var(--soft); }

/* --- 12. Price cards ---------------------------------------------------- */
.prices { display: grid; gap: var(--s3); }
@media (min-width: 42em) { .prices { grid-template-columns: repeat(3, 1fr); } }
.price {
  border: 2px solid var(--bone-line); background: rgba(241,237,235,.06);
  padding: var(--s4) var(--s3); text-align: center;
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
}
.price dt { font-family: var(--display); font-size: 1.15rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--soft); }
.price dd { font-family: var(--display); font-size: clamp(2.6rem, 7vw, 3.9rem); font-weight: 900;
  line-height: 1; margin-top: .35rem; }
.price dd sup { font-size: .38em; vertical-align: .95em; font-weight: 700; margin-right: .06em; }

/* --- 13. Schedule rail -------------------------------------------------- */
.rail { position: relative; border-top: 2px solid var(--ink); }
.rail__row {
  display: grid; gap: .2rem 1.25rem; padding: var(--s3) 0;
  border-bottom: 1px solid var(--ink-line); position: relative;
}
@media (min-width: 38em) { .rail__row { grid-template-columns: 11.5rem 1fr; align-items: baseline; gap: 1.75rem; } }
.rail__t {
  font-family: var(--display); font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; color: var(--brick);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.rail__b h3 { font-family: var(--display); font-size: var(--step-2); font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.rail__b p { color: var(--muted); font-size: var(--step--1); margin-top: .3rem; max-width: 56ch; }
.rail__row[data-state="now"] { background: rgba(181,24,19,.09); box-shadow: inset 4px 0 0 var(--flame); padding-inline: var(--s3); }
.rail__row[data-state="done"] { opacity: .5; }
.rail__row[data-state="done"] .rail__b h3 { text-decoration: line-through; text-decoration-thickness: 1px; }
.badge-now {
  display: none; align-items: center; gap: .4rem; margin-top: .5rem;
  font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--white); background: var(--flame); padding: .25rem .55rem; width: max-content;
}
.rail__row[data-state="now"] .badge-now { display: inline-flex; }
.badge-now i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
@media (prefers-reduced-motion: no-preference) { .badge-now i { animation: pulse 1.6s ease-in-out infinite; } }
@keyframes pulse { 50% { opacity: .25; transform: scale(.7); } }

/* --- 14. Definition rows (hotels, contact, venue) ----------------------- */
.dl { display: grid; gap: 0; }
.dl > div {
  display: grid; gap: .1rem .9rem; padding: .8rem 0;
  border-bottom: 1px solid var(--ink-line);
}
@media (min-width: 34em) { .dl > div { grid-template-columns: 9.5rem 1fr; align-items: baseline; } }
.dl dt { font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--brick); }
.dl dd { line-height: 1.55; }
.dl dd a { color: var(--brick); font-weight: 600; text-underline-offset: 3px;
  display: inline-block; padding-block: .15rem; }  /* >=24px tap target */
.card--dark .dl > div, .sect--dark .dl > div { border-color: var(--bone-line); }
.card--dark .dl dt, .sect--dark .dl dt { color: var(--soft); }
.card--dark .dl dd a, .sect--dark .dl dd a { color: var(--soft); }

/* --- 15. Bullets -------------------------------------------------------- */
.bul > li {
  position: relative; padding-left: 1.6rem; margin-top: .6rem; line-height: 1.6;
}
.bul > li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: .55rem; height: .55rem; background: var(--brick);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
:is(.sect--dark, .sect--brick, .sect--umber, .hero, .phdr, .on-dark) .bul > li::before, .card--dark .bul > li::before { background: var(--clay); }
.bul--num { counter-reset: b; }
.bul--num > li { counter-increment: b; padding-left: 2.3rem; }
.bul--num > li::before {
  content: counter(b); clip-path: none; background: var(--brick); color: var(--bone);
  width: 1.6rem; height: 1.6rem; top: .12em; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: .95rem;
}

/* Division list */
:is(.sect--dark, .sect--brick, .sect--umber, .hero, .phdr, .on-dark) .bul--num > li::before { background: var(--clay); color: var(--ink); }

/* Division list */
.divs > li { border-bottom: 1px solid var(--ink-line); padding: .7rem 0; }
.divs > li:last-child { border-bottom: 0; }
.divs b { font-family: var(--display); font-size: 1.22rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .03em; display: block; }
.divs ul { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .45rem; }
.divs ul li {
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  border: 1px solid var(--ink-line); padding: .22rem .55rem; color: var(--muted);
}
.card--dark .divs > li, .card--brick .divs > li { border-color: var(--bone-line); }
.card--dark .divs ul li, .card--brick .divs ul li { border-color: var(--bone-line); color: var(--soft); }

/* --- 16. Callout / notice ---------------------------------------------- */
.note {
  border-left: 4px solid var(--flame); background: rgba(181,24,19,.07);
  padding: var(--s3) var(--s4); display: grid; gap: .35rem;
}
.note b { font-family: var(--display); font-size: var(--step-1); text-transform: uppercase; letter-spacing: .03em; }
.note p { color: var(--muted); }
.sect--dark .note, .sect--brick .note, .sect--umber .note { background: rgba(241,237,235,.08); border-color: var(--clay); }
.sect--dark .note p, .sect--brick .note p, .sect--umber .note p { color: var(--soft); }
.note--soon { border-color: var(--umber); background: rgba(93,48,41,.09); }

.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .66rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  padding: .3rem .6rem; background: var(--ink); color: var(--bone); width: max-content;
}
.pill--soon { background: var(--umber); }
.pill--open { background: var(--brick); }
.pill--tbc  { background: transparent; color: var(--muted); border: 1px solid var(--ink-line); }

/* Copy-to-clipboard field */
.copy {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 0;
  border: 2px solid var(--bone-line); background: rgba(241,237,235,.07); width: max-content; max-width: 100%;
}
.copy code {
  font-family: var(--mono); font-size: clamp(.9rem, .85rem + .35vw, 1.1rem); font-weight: 500;
  padding: .7rem .9rem; color: var(--bone); word-break: break-all; align-self: center;
}
.copy button {
  border: 0; border-left: 2px solid var(--bone-line); background: var(--bone); color: var(--ink);
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  padding: .7rem 1rem; cursor: pointer; min-height: 44px;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.copy button:hover { background: var(--clay); }
.copy button[data-done="1"] { background: var(--flame); color: var(--white); }
.sect--bone .copy, .sect--paper .copy, .sect--white .copy { border-color: var(--ink); background: var(--white); }
.sect--bone .copy code, .sect--paper .copy code, .sect--white .copy code { color: var(--ink); }
.sect--bone .copy button, .sect--paper .copy button, .sect--white .copy button { border-left-color: var(--ink); background: var(--ink); color: var(--bone); }
.sect--bone .copy button:hover, .sect--paper .copy button:hover { background: var(--brick); }

/* --- 17. FAQ ----------------------------------------------------------- */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--ink-line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s3);
  padding: var(--s3) 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-size: var(--step-2); font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font-size: 1.5em; line-height: .8; color: var(--brick);
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brick); }
.faq__b { padding-bottom: var(--s3); max-width: 62ch; color: var(--muted); }
.faq__b > * + * { margin-top: .7em; }
.faq__b a { color: var(--brick); font-weight: 600; }

/* --- 18. Sponsors ------------------------------------------------------ */
.sponsors { display: grid; gap: var(--s3); align-items: stretch; }
@media (min-width: 34em) { .sponsors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 52em) { .sponsors { grid-template-columns: repeat(3, 1fr); } }
.sponsor {
  display: grid; place-items: center; padding: var(--s4) var(--s3); min-height: 8.5rem;
  background: var(--white); border: 2px solid var(--ink-line);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.sponsor:where(a):hover { border-color: var(--brick); transform: translateY(-3px); }
.sponsor img { max-height: 4.6rem; width: auto; object-fit: contain; }
.sponsor--wide { grid-column: span 1; }

/* --- 18b. Data tables (weight classes, divisions, fees) ---------------- */
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 2px solid var(--ink);
  background: var(--white); }
.sect--dark .tw, .sect--brick .tw, .sect--umber .tw { border-color: var(--bone-line); background: var(--ink-2); }
table.t {
  width: 100%; border-collapse: collapse; font-size: var(--step--1);
  min-width: 34rem; font-variant-numeric: tabular-nums;
}
table.t caption {
  text-align: left; padding: .85rem 1rem; font-family: var(--display);
  font-size: var(--step-2); font-weight: 800; text-transform: uppercase;
  letter-spacing: .02em; background: var(--ink); color: var(--bone);
}
table.t th, table.t td {
  padding: .6rem .8rem; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--ink-line); border-right: 1px solid var(--ink-line);
}
table.t th:last-child, table.t td:last-child { border-right: 0; }
table.t thead th {
  font-family: var(--display); font-size: 1rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em; background: var(--bone-2);
  position: sticky; top: 0;
}
table.t thead tr.sub th { font-size: .8rem; background: var(--bone); color: var(--ink);
  letter-spacing: .08em; }
.sect--dark table.t thead tr.sub th { background: var(--ink-2); color: var(--bone); }
table.t tbody th { font-weight: 700; background: var(--bone); white-space: nowrap; }
table.t tbody tr:last-child td, table.t tbody tr:last-child th { border-bottom: 0; }
.sect--dark table.t th, .sect--dark table.t td { border-color: var(--bone-line); }
.sect--dark table.t thead th, .sect--dark table.t tbody th { background: var(--ink-3); color: var(--bone); }
.t-note { margin-top: var(--s2); font-size: var(--step--1); color: var(--muted); }
.sect--dark .t-note { color: var(--soft); }
.scroll-hint { font-size: var(--step--1); color: var(--muted); margin-bottom: var(--s2); }
@media (min-width: 46em) { .scroll-hint { display: none; } }

/* --- 19. Map ---------------------------------------------------------- */
.map {
  border: 2px solid var(--ink); background: var(--bone-2);
  aspect-ratio: 16 / 10; position: relative; overflow: hidden;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- 20. Footer ------------------------------------------------------- */
.ftr { background: var(--ink); color: var(--bone); padding-block: var(--s6) var(--s4); position: relative; }
.ftr__top { display: grid; gap: var(--s5); padding-bottom: var(--s5); border-bottom: 1px solid var(--bone-line); }
@media (min-width: 52em) { .ftr__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.ftr h2 { font-family: var(--display); font-size: var(--step-2); text-transform: uppercase;
  letter-spacing: .03em; margin-bottom: var(--s3); }
.ftr h3 { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--clay); margin-bottom: var(--s2); }
.ftr a { color: var(--bone); text-decoration: none; }
.ftr a:hover { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
.ftr ul li { padding: .28rem 0; }
.ftr__bot {
  padding-top: var(--s4); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4);
  justify-content: space-between; align-items: center;
  font-size: var(--step--1); color: var(--clay);
}
.ftr__brand { display: flex; align-items: center; gap: .75rem; margin-bottom: var(--s3); }
.ftr__brand img { width: 44px; height: 44px; filter: brightness(0) invert(1); }

/* --- 21. Mobile quick bar (event-day utility) ------------------------- */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; background: rgba(19,19,19,.96); backdrop-filter: blur(10px);
  border-top: 2px solid var(--brick);
  padding-bottom: env(safe-area-inset-bottom);
}
.quickbar ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.quickbar a {
  display: grid; justify-items: center; gap: .18rem; padding: .55rem .25rem .6rem;
  text-decoration: none; color: var(--bone); font-size: .625rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.quickbar svg { width: 1.3rem; height: 1.3rem; color: var(--clay); }
.quickbar a[aria-current="page"] { color: var(--clay); box-shadow: inset 0 3px 0 var(--flame); }
@media (max-width: 47.99em) {
  .quickbar { display: block; }
  body { padding-bottom: 4.3rem; }
}

/* --- 22. Breadcrumb --------------------------------------------------- */
.crumbs { font-size: var(--step--1); color: var(--muted); padding-top: var(--s4); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.crumbs a { color: var(--brick); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--bone-3); }

/* Page header band */
.phdr { background: var(--ink); color: var(--bone); position: relative; overflow: hidden;
  padding-block: clamp(2.25rem, 5vw, 4rem); }
.phdr__glow { position: absolute; inset: auto -20% -60% 30%; height: 150%; z-index: 0; pointer-events: none;
  background: radial-gradient(46% 48% at 60% 40%, rgba(135,35,15,.72), transparent 70%); filter: blur(4px); }
.phdr .crumbs { color: var(--clay); padding-top: 0; margin-bottom: var(--s3); }
.phdr .crumbs a { color: var(--clay); }
.phdr .crumbs li + li::before { color: rgba(241,237,235,.35); }
.phdr h1 { font-family: var(--display); font-size: var(--step-4); font-weight: 800;
  text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
.phdr .lede { margin-top: var(--s3); color: var(--clay); }
:is(.sect--dark, .sect--brick, .sect--umber, .hero, .phdr, .on-dark) .prose a, :is(.sect--dark, .sect--brick, .sect--umber, .hero, .phdr, .on-dark) .faq__b a { color: var(--clay); }

/* --- 23. Motion ------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  /* Scoped to .js so that if JavaScript never runs, nothing is hidden.
     The <html class="js"> flag is set by an inline script in the head. */
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .rv:nth-child(2) { transition-delay: .07s; }
  .js .rv:nth-child(3) { transition-delay: .14s; }
  .js .rv:nth-child(4) { transition-delay: .21s; }
  .js .rv:nth-child(5) { transition-delay: .28s; }
  .js .rv:nth-child(6) { transition-delay: .35s; }

  .intro > * { animation: rise .7s var(--ease) both; }
  .intro > :nth-child(1) { animation-delay: .05s; }
  .intro > :nth-child(2) { animation-delay: .13s; }
  .intro > :nth-child(3) { animation-delay: .21s; }
  .intro > :nth-child(4) { animation-delay: .29s; }
  .intro > :nth-child(5) { animation-delay: .37s; }
  .intro > :nth-child(6) { animation-delay: .45s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* --- 24. Print (coaches print the schedule) --------------------------- */
@media print {
  :root { --hdr: 0px; }
  .hdr, .quickbar, .marquee, .btn-row, .hero__poster, .count, .ftr__top,
  .skip, .tiles, [data-noprint] { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; padding: 0; }
  .sect, .phdr, .hero { padding-block: .6rem; background: #fff !important; color: #000 !important; }
  .sect--dark, .sect--brick, .sect--umber, .phdr, .hero { color: #000 !important; }
  .sect--dark::before, .sect--brick::before, .hero::before, .hero__glow, .phdr__glow { display: none !important; }
  .card { border: 1pt solid #000; clip-path: none; background: #fff !important; color: #000 !important; }
  .rail__row { break-inside: avoid; padding: .3rem 0; }
  .rail__t { color: #000; }
  a { text-decoration: none; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #444; }
  .faq details { break-inside: avoid; }
  .faq details:not([open]) .faq__b { display: block; }
  h1, h2, h3 { break-after: avoid; }
}
