/* =====================================================================
   Mike Gannon Memorial BBQ, Columbiana, Alabama
   Visual world: the cook-off's own banner. Navy, banner red, white,
   slab capitals, brush-script name, gold for winners only.
   Surfaces are separated by tone steps and space, not lines or shadows.
   Lines appear only inside real tables and form fields.
   ===================================================================== */

:root{
  --navy:#12223d;
  --navy-deep:#0b1628;
  --navy-soft:#22365c;
  --red:#c3252d;
  --red-deep:#9f1b22;
  --gold:#e3a72f;
  --gold-ink:#7a5505;
  --paper:#ffffff;
  --smoke:#eef1f5;
  --smoke-deep:#dfe4ec;
  --ink:#16202f;
  --ink-soft:#3b4556;
  --on-navy:#f4f6fa;
  --on-navy-soft:#b9c4d8;

  --display:"Zilla Slab",Rockwell,"Roboto Slab",Georgia,serif;
  --script:"Kaushan Script","Brush Script MT",cursive;
  --body:"Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;

  /* Type scale: display, heading, statement, lead, body, small. */
  --t-display:clamp(3.25rem, 1.5rem + 6.5vw, 6.25rem);
  --t-heading:clamp(2rem, 1.4rem + 2.2vw, 3rem);
  --t-statement:clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  --t-lead:1.25rem;
  --t-sub:1.35rem;
  --t-body:1.0625rem;
  --t-small:.9375rem;

  --shell:min(1200px, 100% - 2.5rem);
  --section:clamp(5rem, 3.5rem + 5vw, 8.5rem);
  --radius:4px;
  --ease:cubic-bezier(.16,.84,.3,1);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:5.5rem}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--body);font-size:var(--t-body);
  line-height:1.6;-webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3,h4,p,ul,ol,dl,dd,figure,blockquote,table{margin:0}
ul,ol{padding:0;list-style:none}
h1,h2,h3,h4{font-family:var(--display);font-weight:700;line-height:1.05;text-wrap:balance}
p{text-wrap:pretty}
small{font-size:var(--t-small)}

.shell{width:var(--shell);margin-inline:auto}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:1rem;top:-4rem;z-index:100;background:var(--navy);color:#fff;padding:.7rem 1rem;border-radius:var(--radius)}
.skip:focus{top:1rem}
:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.section--navy :focus-visible,.hero :focus-visible,.page-hero :focus-visible,.footer :focus-visible,.champ :focus-visible{outline-color:var(--gold)}

/* ---------------- Masthead ---------------- */
.masthead{position:sticky;top:0;z-index:50;background:var(--paper);border-top:4px solid var(--red)}
.masthead__bar{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:4.5rem}
.brand{display:inline-flex;flex-direction:column;text-decoration:none;line-height:1}
.brand__script{font-family:var(--script);font-size:var(--t-sub);color:var(--red);transform:rotate(-3deg);transform-origin:left bottom;margin-bottom:-.1rem}
.brand__slab{font-family:var(--display);font-weight:700;font-size:var(--t-sub);letter-spacing:.04em;text-transform:uppercase;color:var(--navy)}

.nav{display:flex;align-items:center;gap:clamp(1rem,2.2vw,2rem)}
.nav a{position:relative;text-decoration:none;font-weight:600;font-size:var(--t-body);color:var(--ink);padding:.5rem 0}
.nav a::after{content:"";position:absolute;left:0;right:0;bottom:.1rem;height:3px;background:var(--red);transform:scaleX(0);transform-origin:left;transition:transform .25s var(--ease)}
.nav a:hover::after,.nav a[aria-current="page"]::after{transform:scaleX(1)}
.masthead__cta{display:flex;align-items:center;gap:.75rem}
.nav-toggle{display:none;width:2.75rem;height:2.75rem;border:0;border-radius:var(--radius);background:var(--smoke);cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.nav-toggle span:not(.visually-hidden){display:block;width:1.25rem;height:2px;background:var(--navy);transition:transform .2s var(--ease),opacity .2s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media (max-width:980px){
  .nav-toggle{display:flex}
  /* The open menu floats over the page, so it is the one surface that may carry a shadow. */
  .nav{position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;background:var(--paper);box-shadow:0 18px 40px -14px rgba(11,22,40,.35); /* taste-skill-ignore: floating menu */padding:.5rem 1.25rem 1.25rem;display:none}
  .nav[data-open="true"]{display:flex}
  .nav a{padding:.95rem 0;font-size:var(--t-lead)}
  .nav a::after{display:none}
  .nav a[aria-current="page"]{color:var(--red)}
}
@media (max-width:520px){
  .masthead__cta .btn{display:none}
}

/* ---------------- Buttons and links ---------------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:3rem;padding:.8rem 1.6rem;border:2px solid var(--red);border-radius:var(--radius);background:var(--red);color:#fff;font-family:var(--body);font-weight:700;font-size:var(--t-body);line-height:1.2;text-decoration:none;cursor:pointer;transition:background .2s,border-color .2s,color .2s,transform .2s var(--ease)}
.btn:hover{background:var(--red-deep);border-color:var(--red-deep)}
.btn:active{transform:translateY(1px)}
.btn--sm{min-height:2.6rem;padding:.55rem 1.1rem;font-size:var(--t-small)}
.btn--ghost{background:transparent;color:var(--navy);border-color:var(--navy)}
.btn--ghost:hover{background:var(--navy);border-color:var(--navy);color:#fff}
.btn--light{background:transparent;color:#fff;border-color:#fff}
.btn--light:hover{background:#fff;border-color:#fff;color:var(--navy)}
.btn[aria-disabled="true"]{opacity:.6;pointer-events:none}

.more{display:inline-flex;align-items:center;gap:.45rem;font-weight:700;color:var(--red);text-decoration:none;border-bottom:2px solid transparent;transition:border-color .2s}
.more::after{content:"\2192";transition:transform .25s var(--ease)}
.more:hover{border-color:currentColor}
.more:hover::after{transform:translateX(4px)}
.section--navy .more,.champ .more{color:#fff}

.lede{font-size:var(--t-lead);line-height:1.5;color:var(--ink-soft);max-width:62ch}
.prose p{max-width:66ch}
.prose p + p{margin-top:1.1rem}
.prose a{color:var(--red);font-weight:600}
.note{font-size:var(--t-small);color:var(--ink-soft)}

/* ---------------- Home hero ---------------- */
.hero{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;min-height:min(46rem,calc(100svh - 4.75rem));background:var(--navy-deep);color:#fff;overflow:hidden}
.hero__photo{position:absolute;inset:0;z-index:-2}
.hero__photo img{width:100%;height:100%;object-fit:cover;object-position:50% 40%;animation:hero-settle 1.8s var(--ease) both}
/* A neutral scrim over the photograph so the title reads. */
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background: /* taste-skill-ignore: scrim over the photo */
  linear-gradient(90deg, rgba(11,22,40,.92) 0%, rgba(11,22,40,.72) 38%, rgba(11,22,40,.12) 72%), /* taste-skill-ignore: scrim */
  linear-gradient(0deg, rgba(11,22,40,.9) 0%, rgba(11,22,40,0) 42%)} /* taste-skill-ignore: scrim */
.hero__body{padding-block:clamp(3.5rem,8vw,6.5rem) clamp(2.5rem,5vw,4rem)}
.hero__script{display:block;font-family:var(--script);font-size:var(--t-heading);line-height:1;color:#fff;transform:rotate(-4deg);transform-origin:left bottom}
.hero__title{font-size:var(--t-display);line-height:.94;letter-spacing:-.015em;text-transform:uppercase;margin-top:.35rem}
.hero__title span{display:block}
.hero__lede{margin-top:1.5rem;max-width:34rem;font-size:var(--t-lead);line-height:1.5;color:var(--on-navy)}
.hero__actions{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:2rem}
.hero__bar{background:var(--navy-deep)}
.hero__bar dl{display:grid;grid-template-columns:repeat(3,1fr);gap:0 2.5rem;padding-block:1.4rem}
.hero__bar dt{font-size:var(--t-small);font-weight:600;color:var(--on-navy-soft)}
.hero__bar dd{font-family:var(--display);font-weight:700;font-size:var(--t-sub);line-height:1.2;margin-top:.2rem}
.hero__bar a{text-decoration-color:rgba(255,255,255,.5);text-underline-offset:3px}
.hero__rise{animation:rise .9s var(--ease) both}
.hero__rise:nth-child(2){animation-delay:.08s}
.hero__rise:nth-child(3){animation-delay:.16s}
.hero__rise:nth-child(4){animation-delay:.24s}
@keyframes hero-settle{from{transform:scale(1.07)}to{transform:scale(1)}}
@keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@media (max-width:760px){
  .hero::before{background:linear-gradient(0deg, rgba(11,22,40,.95) 0%, rgba(11,22,40,.78) 55%, rgba(11,22,40,.3) 100%)} /* taste-skill-ignore: scrim */
  .hero__bar dl{grid-template-columns:1fr;gap:1rem}
}
@media (prefers-reduced-motion:reduce){
  .hero__photo img,.hero__rise{animation:none}
}

/* ---------------- Inner page hero ---------------- */
.page-hero{position:relative;isolation:isolate;background:var(--navy);color:#fff;overflow:hidden}
.page-hero__photo{position:absolute;inset:0;z-index:-2}
.page-hero__photo img{width:100%;height:100%;object-fit:cover;animation:hero-settle 1.8s var(--ease) both}
@media (prefers-reduced-motion:reduce){.page-hero__photo img{animation:none}}
.page-hero--photo::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg, rgba(11,22,40,.93) 0%, rgba(11,22,40,.75) 45%, rgba(11,22,40,.25) 100%)} /* taste-skill-ignore: scrim */
.page-hero .shell{padding-block:clamp(3.5rem,7vw,6rem)}
.js .page-hero .shell[data-reveal] > *{transition-duration:.9s}
.page-hero--photo .shell{padding-block:clamp(5rem,11vw,9rem) clamp(3rem,6vw,4.5rem)}
.page-hero__title{font-size:var(--t-display);line-height:.98;letter-spacing:-.01em;text-transform:uppercase;max-width:16ch}
.page-hero__sub{margin-top:1.25rem;max-width:40rem;font-size:var(--t-lead);line-height:1.5;color:var(--on-navy)}
.crumb{font-size:var(--t-small);font-weight:600;margin-bottom:1.25rem;color:var(--on-navy-soft)}
.crumb a{color:#fff;text-underline-offset:3px}

/* ---------------- Sections ---------------- */
.section{padding-block:var(--section)}
.section--smoke{background:var(--smoke)}
.section--navy{background:var(--navy);color:var(--on-navy)}
.section--tight{padding-block:clamp(3.5rem,2.5rem + 3vw,5rem)}
.section__head{display:grid;gap:1rem;margin-bottom:clamp(2.5rem,4vw,3.5rem);max-width:46rem}
.section__head--row{max-width:none;grid-template-columns:1fr auto;align-items:end}
.section__title{font-size:var(--t-heading);color:var(--navy)}
.section--navy .section__title{color:#fff}
.section__sub{color:var(--ink-soft);max-width:60ch;font-size:var(--t-lead)}
.section--navy .section__sub{color:var(--on-navy-soft)}
@media (max-width:640px){.section__head--row{grid-template-columns:1fr}}

/* Statement + facts */
.intro{display:grid;grid-template-columns:1.25fr 1fr;gap:clamp(2.5rem,6vw,5.5rem);align-items:start}
.intro__statement{font-family:var(--display);font-weight:600;font-size:var(--t-statement);line-height:1.22;color:var(--navy);text-wrap:balance;max-width:30ch}
.intro__body{margin-top:1.5rem}
.facts{background:var(--smoke);padding:1.25rem 1.5rem;border-radius:var(--radius)}
.section--smoke .facts{background:var(--paper)}
.facts div{display:grid;grid-template-columns:8.5rem 1fr;gap:1rem;padding:.75rem 0}
.facts dt{font-size:var(--t-small);font-weight:600;color:var(--ink-soft);padding-top:.15rem}
.facts dd{font-weight:600}
.facts dd small{display:block;font-weight:400;color:var(--ink-soft)}
.section--navy .facts{background:var(--navy-deep)}
.section--navy .facts dt,.section--navy .facts dd small{color:var(--on-navy-soft)}
@media (max-width:860px){.intro{grid-template-columns:1fr}}
@media (max-width:420px){.facts div{grid-template-columns:1fr;gap:.15rem}}

/* ---------------- Event rows ---------------- */
.events{display:grid;gap:clamp(2.5rem,4vw,3.5rem)}
.event{display:grid;grid-template-columns:minmax(6.5rem,10rem) 1fr auto;gap:clamp(1.25rem,3vw,3rem);align-items:start}
.event__year{font-family:var(--display);font-weight:700;font-size:var(--t-heading);line-height:.9;color:var(--navy);font-variant-numeric:lining-nums}
.event--next .event__year{color:var(--red)}
.event__name{font-size:var(--t-sub);color:var(--navy)}
.event__name a{text-decoration:none}
.event__name a:hover{color:var(--red)}
.event__when{margin-top:.35rem;font-weight:600}
.event__sum{margin-top:.7rem;color:var(--ink-soft);max-width:60ch}
.event__go{align-self:center}
.event__thumb{width:clamp(9rem,16vw,13rem);aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius)}
@media (max-width:820px){
  .event{grid-template-columns:1fr;gap:.5rem}
  .event__year{font-size:var(--t-lead);line-height:1.2}
  .event__go{align-self:start}
  .event__thumb{width:100%;aspect-ratio:16/9}
}

/* ---------------- Champions field ---------------- */
.champ{background:var(--navy);color:var(--on-navy);overflow:hidden}
.champ__grid{display:grid;grid-template-columns:1fr minmax(0,26rem);gap:clamp(2.5rem,6vw,5rem);align-items:center;padding-block:var(--section)}
.champ__title{font-size:var(--t-heading);color:#fff;text-transform:uppercase;line-height:1}
.champ table.podium{margin-top:2rem}
.champ table.podium td,.champ table.results--overall tr:first-child td{color:#fff}
.champ table.podium tr:first-child td{color:var(--gold)}
.champ table.podium th{color:var(--on-navy-soft)}
.champ table.podium tr:first-child th{color:var(--gold)}
table.podium th,table.podium td{border-bottom-color:var(--navy-soft);padding-block:1rem}
table.podium th{color:var(--on-navy-soft)}
table.podium td{color:#fff}
table.podium tr:first-child th{color:var(--gold)}
table.podium tr:first-child th::before{background:var(--gold)}
table.podium tr:first-child td{color:var(--gold)}
.champ__foot{margin-top:2rem;display:flex;flex-wrap:wrap;gap:1rem 2rem;align-items:center}
.champ__photo img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:var(--radius)}
.champ__photo figcaption,.photo figcaption{margin-top:.7rem;font-size:var(--t-small);color:var(--ink-soft)}
.champ__photo figcaption{color:var(--on-navy-soft)}
@media (max-width:860px){
  .champ__grid{grid-template-columns:1fr}
  .champ__photo{max-width:24rem}
}

/* ---------------- Results and other real tables ---------------- */
.results-year{display:grid;grid-template-columns:minmax(0,17rem) 1fr;gap:clamp(2rem,5vw,4.5rem);padding-block:clamp(2.5rem,5vw,4rem)}
.results-year + .results-year{background:var(--smoke);margin-inline:-1.25rem;padding-inline:1.25rem;border-radius:var(--radius)}
.results-year__num{font-family:var(--display);font-weight:700;font-size:var(--t-display);line-height:.85;color:var(--navy)}
.results-year__name{font-family:var(--display);font-weight:700;font-size:var(--t-sub);line-height:1.2;margin-top:.9rem;color:var(--navy)}
.results-year__meta{margin-top:.5rem;color:var(--ink-soft)}
.results-year__side .more{margin-top:1rem}
.results-year__side img{margin-top:1.5rem;border-radius:var(--radius);aspect-ratio:4/5;object-fit:cover;object-position:50% 30%;width:100%}
.results-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(15.5rem,1fr));gap:2.5rem clamp(1.5rem,4vw,3rem);align-content:start}

table.results,table.payouts,table.schedule{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
table.results caption,table.payouts caption,table.schedule caption{text-align:left;font-family:var(--display);font-weight:700;font-size:var(--t-sub);caption-side:top;color:var(--navy);padding-bottom:.6rem;border-bottom:3px solid var(--navy)}
table.results caption small,table.payouts caption small{font-family:var(--body);font-weight:400;color:var(--ink-soft);margin-left:.5rem}
table.results th,table.results td,table.payouts th,table.payouts td,table.schedule th,table.schedule td{text-align:left;vertical-align:baseline;padding:.65rem .5rem .65rem 0;border-bottom:1px solid var(--smoke-deep)}
table.results th{width:3.2rem;font-weight:600;color:var(--ink-soft);font-size:var(--t-small);white-space:nowrap}
table.results td{font-weight:600}
table.results tr:first-child td{font-family:var(--display);font-weight:700;font-size:var(--t-sub);line-height:1.2}
table.results tr:first-child th{color:var(--gold-ink)}
table.results tr:first-child th::before{content:"";display:inline-block;width:.55rem;height:.55rem;border-radius:50%;background:var(--gold);margin-right:.35rem;vertical-align:.05em}
table.results--overall th{width:12rem;white-space:normal;line-height:1.3}
table.results--overall td{font-family:var(--display);font-weight:700;font-size:var(--t-sub);line-height:1.15}
table.results--overall tr:first-child td{font-size:var(--t-heading);color:var(--navy)}
.results--wide{grid-column:1/-1}
table.payouts td:last-child{text-align:right;font-weight:700}
.payouts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:2.5rem clamp(1.5rem,4vw,3rem)}
.payouts-grid p{margin-top:.8rem;font-size:var(--t-small);color:var(--ink-soft)}
.pending{align-self:start;padding:1rem 1.25rem;background:var(--smoke);border-radius:var(--radius);color:var(--ink);max-width:70ch}
.section--smoke .pending,.results-year + .results-year .pending{background:var(--paper)}
.pending strong{color:var(--ink)}
@media (max-width:820px){
  .results-year{grid-template-columns:1fr}
  .results-year__num{font-size:var(--t-lead);line-height:1.2}
  .results-year__name{margin-top:.2rem}
  .results-year__side img{max-width:24rem}
}
@media (max-width:480px){table.results--overall th{width:7.5rem}}

/* ---------------- Photos ---------------- */
.photo img{width:100%;border-radius:var(--radius);object-fit:cover}
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2.5rem,6vw,5.5rem);align-items:center}
.split--wide-text{grid-template-columns:1.15fr .85fr}
.split__photo img{aspect-ratio:4/3}
.split__photo--tall img{aspect-ratio:4/5}
.split h2{font-size:var(--t-heading);color:var(--navy);margin-bottom:1.25rem}
.section--navy .split h2{color:#fff}
.split .btn,.split .more{margin-top:1.75rem}
@media (max-width:860px){.split,.split--wide-text{grid-template-columns:1fr}.split .split__photo{order:1}}

.strip{display:grid;grid-template-columns:1.5fr 1fr 1fr;grid-template-rows:auto auto;gap:.75rem}
.strip figure{position:relative;overflow:hidden;border-radius:var(--radius)}
.strip img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3;transition:transform .9s var(--ease)}
.strip figure:hover img{transform:scale(1.035)}
.strip figure:first-child{grid-row:1/3}
.strip figure:first-child img{aspect-ratio:auto}
.strip--pair{grid-template-columns:1fr 1fr;grid-template-rows:auto}
.strip--pair figure:first-child{grid-row:auto}
.strip--pair figure:first-child img{aspect-ratio:4/3}
.strip figcaption{position:absolute;left:0;right:0;bottom:0;padding:.6rem .9rem;font-size:var(--t-small);font-weight:600;color:#fff;background:rgba(11,22,40,.78)}
@media (max-width:760px){
  .strip,.strip--pair{grid-template-columns:1fr 1fr}
  .strip figure:first-child{grid-column:1/-1;grid-row:auto}
  .strip figure:first-child img{aspect-ratio:16/10}
}

/* ---------------- Routes (ways in) ---------------- */
.routes{display:grid;gap:.75rem}
.route{display:grid;grid-template-columns:minmax(10rem,16rem) 1fr auto;gap:clamp(1rem,3vw,3rem);align-items:center;padding:1.5rem 1.5rem;background:var(--smoke);border-radius:var(--radius);text-decoration:none;transition:background .25s}
.route:hover{background:var(--smoke-deep)}
.section--smoke .route{background:var(--paper)}
.route__name{font-family:var(--display);font-weight:700;font-size:var(--t-sub);color:var(--navy);line-height:1.1}
.route__desc{color:var(--ink-soft)}
.route__go{font-weight:700;color:var(--red);white-space:nowrap;transition:transform .25s var(--ease)}
.route__go::after{content:" \2192"}
.route:hover .route__go{transform:translateX(4px)}
@media (max-width:760px){.route{grid-template-columns:1fr;gap:.4rem}}

.way{display:grid;grid-template-columns:minmax(0,18rem) 1fr;gap:clamp(1.5rem,5vw,4.5rem);padding:clamp(2.25rem,4vw,3.25rem) 0}
.way:nth-of-type(even){background:var(--smoke);margin-inline:-1.25rem;padding-inline:1.25rem;border-radius:var(--radius)}
.way h2{font-size:var(--t-heading);color:var(--navy)}
.way__who{margin-top:.5rem;color:var(--ink-soft)}
.way ul.ticks{margin-top:1.1rem}
.ticks li{position:relative;padding:.4rem 0 .4rem 1.4rem;max-width:64ch}
.ticks li::before{content:"";position:absolute;left:0;top:1rem;width:.6rem;height:3px;background:var(--red)}
@media (max-width:760px){.way{grid-template-columns:1fr}}

/* ---------------- Sponsors, teams, schedule ---------------- */
.sponsors .lede{color:var(--ink)}
.sponsors .note{margin-top:1.25rem;max-width:60ch}
.sponsors .split__photo img{aspect-ratio:4/3;object-position:50% 60%}

.teams{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2.5rem,5vw,4rem)}
.teams h3{font-size:var(--t-sub);color:var(--navy)}
.teams h3 span{font-family:var(--body);font-size:var(--t-small);font-weight:400;color:var(--ink-soft);margin-left:.5rem}
.teams ul{columns:2;column-gap:2rem;margin-top:1rem}
.teams li{break-inside:avoid;padding:.35rem 0;font-weight:500}
.teams li b{font-weight:700;color:var(--gold-ink)}
@media (max-width:860px){.teams{grid-template-columns:1fr}}
@media (max-width:460px){.teams ul{columns:1}}

.schedule-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2.5rem,5vw,4rem)}
table.schedule caption{color:#fff;border-bottom-color:var(--gold)}
table.schedule th,table.schedule td{border-bottom-color:var(--navy-soft)}
table.schedule th{width:6.5rem;font-weight:700;color:var(--gold);white-space:nowrap}
table.schedule small{display:block;color:var(--on-navy-soft)}
@media (max-width:760px){.schedule-grid{grid-template-columns:1fr}}

/* ---------------- Quote ---------------- */
.quote{max-width:52rem}
.quote blockquote{font-family:var(--display);font-weight:600;font-size:var(--t-statement);line-height:1.25;color:#fff;text-wrap:balance}
.quote cite{display:block;margin-top:1.25rem;font-style:normal;font-weight:600;color:var(--on-navy-soft)}
.section:not(.section--navy) .quote blockquote{color:var(--navy)}
.section:not(.section--navy) .quote cite{color:var(--ink-soft)}

/* ---------------- Closing call ---------------- */
.close{background:var(--red);color:#fff}
.close .shell{display:grid;grid-template-columns:1fr auto;gap:2rem;align-items:center;padding-block:clamp(3.5rem,6vw,5rem)}
.close h2{font-size:var(--t-heading);text-transform:uppercase;line-height:1}
.close p{margin-top:.8rem;max-width:52ch;color:#ffe9ea}
.close__actions{display:flex;flex-wrap:wrap;gap:.75rem}
.close .btn{background:#fff;border-color:#fff;color:var(--red-deep)}
.close .btn:hover{background:var(--navy);border-color:var(--navy);color:#fff}
.close .btn--light{background:transparent;color:#fff;border-color:#fff}
@media (max-width:820px){.close .shell{grid-template-columns:1fr}}

/* ---------------- Forms ---------------- */
.form-wrap{display:grid;grid-template-columns:1fr minmax(0,22rem);gap:clamp(2.5rem,6vw,5rem);align-items:start}
.form-aside{background:var(--smoke);padding:1.5rem;border-radius:var(--radius)}
.section--smoke .form-aside{background:var(--paper)}
.form-aside h3{font-size:var(--t-sub);color:var(--navy)}
.form-aside dl{display:grid;gap:1rem;margin-top:1.25rem}
.form-aside dt{font-size:var(--t-small);font-weight:600;color:var(--ink-soft)}
.form-aside dd{font-weight:600;margin-top:.15rem}
.form-aside dd a{color:var(--navy);text-underline-offset:3px}
.form-aside dd small{display:block;font-weight:400;color:var(--ink-soft)}
fieldset{border:0;padding:0;margin:0 0 2rem;min-width:0}
legend{font-family:var(--display);font-weight:700;font-size:var(--t-sub);color:var(--navy);padding:0;margin-bottom:1rem}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem 1.25rem}
.field--full{grid-column:1/-1}
.field label{display:block;font-weight:600;margin-bottom:.4rem}
.req{color:var(--red)}
.field input,.field textarea,.field select{width:100%;font:inherit;color:var(--ink);background:var(--paper);border:1px solid #9aa5b8;border-radius:var(--radius);padding:.75rem .85rem;min-height:3rem;transition:border-color .2s,box-shadow .2s} /* taste-skill-ignore: focus ring */
.field textarea{min-height:9rem;resize:vertical}
.field input:hover,.field textarea:hover,.field select:hover{border-color:var(--navy)}
.field input:focus-visible,.field textarea:focus-visible,.field select:focus-visible{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(18,34,61,.2)} /* taste-skill-ignore: focus ring */
.field [aria-invalid="true"]{border-color:var(--red);box-shadow:0 0 0 3px rgba(195,37,45,.15)} /* taste-skill-ignore: error ring */
.field__hint{font-size:var(--t-small);color:var(--ink-soft);margin-top:.35rem}
.field__error{font-size:var(--t-small);font-weight:600;color:var(--red-deep);margin-top:.35rem;min-height:0}
.field__error:empty{display:none}
.choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:.6rem}
.choice{display:flex;align-items:center;gap:.7rem;padding:.8rem .9rem;background:var(--paper);border-radius:var(--radius);cursor:pointer;font-weight:600;transition:background .2s,color .2s}
.choice:hover{background:var(--smoke-deep)}
.choice input{width:1.15rem;height:1.15rem;accent-color:var(--red);flex:none}
.choice:has(input:checked){background:var(--navy);color:#fff}
.choice:has(input:focus-visible){outline:3px solid var(--red);outline-offset:2px}
.form-status{padding:.9rem 1rem;border-radius:var(--radius);margin-bottom:1.5rem;font-weight:600}
.form-status--error{background:#fdecec;color:var(--red-deep)}
@media (max-width:860px){.form-wrap{grid-template-columns:1fr}}
@media (max-width:560px){.field-grid{grid-template-columns:1fr}}

/* ---------------- Footer ---------------- */
.footer{background:var(--navy-deep);color:var(--on-navy-soft);padding-block:clamp(3.5rem,6vw,5rem) 0}
.footer__top{display:grid;grid-template-columns:auto 1fr;gap:clamp(1.5rem,5vw,4rem);align-items:center;padding-bottom:2.5rem}
.footer__brand{display:inline-flex;flex-direction:column;line-height:1}
.footer__brand .brand__script{color:#fff;font-size:var(--t-heading)}
.footer__brand .brand__slab{color:#fff;font-size:var(--t-heading)}
.footer__line{max-width:56ch;color:var(--on-navy)}
.footer__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;padding-block:2.5rem}
.footer__title{font-weight:700;color:#fff;margin-bottom:.8rem}
.footer__list li{padding:.28rem 0}
.footer a{color:var(--on-navy);text-decoration:none;border-bottom:2px solid transparent;transition:border-color .2s,color .2s}
.footer a:hover{color:#fff;border-color:var(--gold)}
.footer__bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.75rem;padding:1.5rem;margin-bottom:1.5rem;background:var(--navy);border-radius:var(--radius);font-size:var(--t-small)}
@media (max-width:860px){.footer__top{grid-template-columns:1fr}.footer__grid{grid-template-columns:1fr 1fr}}
@media (max-width:460px){.footer__grid{grid-template-columns:1fr}}

/* ---------------- Reveal (content is visible without JS) ---------------- */
.js [data-reveal] > *{opacity:0;transform:translateY(20px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.js [data-reveal] > :nth-child(2){transition-delay:.08s}
.js [data-reveal] > :nth-child(3){transition-delay:.16s}
.js [data-reveal] > :nth-child(4){transition-delay:.24s}
.js [data-reveal] > :nth-child(5){transition-delay:.32s}
.js [data-reveal] > :nth-child(n+6){transition-delay:.4s}
.js [data-reveal].is-in > *{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.js [data-reveal] > *{opacity:1;transform:none;transition:none}}
