/* Layout concept: night game under the lights. Ink "dugout" bands alternate with
   tan "infield dirt" sections; the brand diamond pattern drifts behind heroes and
   a red ticker strip runs like a scoreboard crawl. */
:root {
  --red: #DE3C3C;
  --red-deep: #B92A2B;     /* red for small text on tan (contrast) */
  --ink: #231F20;
  --ink-2: #2E292A;
  --sky: #82A0BF;
  --tan: #F4F0E9;
  --tan-2: #EAE3D7;
  --steel: #808285;
  --steel-dark: #5F6163;
  --chalk: #DDDDDD;
  --white: #FFFFFF;

  --f-display: "Fjalla One", "Oswald", "Arial Narrow", Impact, sans-serif;
  --f-label: "Squada One", "Fjalla One", "Arial Narrow", sans-serif;
  --f-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4rem);
  --step-5: clamp(3rem, 1.6rem + 6vw, 6rem);

  --wrap: 1180px;
  --radius: 6px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--tan);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ink);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: 0.005em; }
h1 { font-size: var(--step-5); text-transform: uppercase; }
h2 { font-size: var(--step-4); text-transform: uppercase; }
h3 { font-size: var(--step-2); }
p { margin: 0; text-wrap: pretty; }

.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

.eyebrow {
  font-family: var(--f-label); font-size: 1.35rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red-deep); display: inline-flex; align-items: center; gap: 0.6rem; line-height: 1;
}
.eyebrow::before {
  content: ""; width: 0.6rem; height: 0.6rem; background: currentColor; transform: rotate(45deg); flex: none;
}
.on-ink .eyebrow { color: var(--sky); }

.lede { font-size: 1.2rem; line-height: 1.6; max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none;
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.1rem;
  padding: 0.85rem 1.4rem; border-radius: var(--radius); border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  line-height: 1.1; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.on-ink .btn-ghost { color: var(--tan); }
.btn-ghost:hover { background: var(--ink); color: var(--tan); border-color: var(--ink); }
.on-ink .btn-ghost:hover { background: var(--tan); color: var(--ink); border-color: var(--tan); }
.btn .arrow { font-family: var(--f-body); font-weight: 700; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--ink); color: var(--tan);
  border-bottom: 4px solid var(--red);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.6rem; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.02rem;
  text-decoration: none; padding: 0.55rem 0.8rem; border-radius: var(--radius); color: var(--tan); white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
.nav a:hover { color: var(--white); background: var(--ink-2); }
.nav a[aria-current="page"] { color: var(--sky); }
.nav a.ext::after { content: "↗"; font-family: var(--f-body); font-size: 0.8em; margin-left: 0.3em; opacity: 0.7; }
.nav .btn { margin-left: 0.6rem; padding: 0.6rem 1.05rem; font-size: 1rem; }
.nav .btn:hover { color: var(--white); background: var(--red-deep); }
.nav-toggle {
  display: none; background: none; border: 2px solid var(--steel); color: var(--tan); border-radius: var(--radius);
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.08em; padding: 0.45rem 0.8rem; font-size: 1rem; cursor: pointer;
}
@media (max-width: 1160px) {
  .brand img { height: 48px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 4px solid var(--red);
    padding: 0.5rem max(16px, env(safe-area-inset-right, 0px)) 1rem max(16px, env(safe-area-inset-left, 0px));
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--ink-2); font-size: 1.15rem; }
  .nav .btn { margin: 0.8rem 0 0; justify-content: center; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--tan);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: -10%; z-index: -2;
  background: url("assets/pattern-1.svg") 0 0 / 520px auto repeat;
  opacity: 0.22;
  animation: drift 60s linear infinite;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 20% 40%, rgba(35,31,32,0.55), rgba(35,31,32,0.92) 70%);
}
@keyframes drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-520px, 152px, 0); } }

.hero .wrap { padding-block: clamp(3rem, 7vw, 6rem); display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-home .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.hero-copy { display: grid; gap: 1.4rem; min-width: 0; }
.hero h1 { color: var(--white); }
.hero h1 .red { color: var(--red); }
.hero .lede { color: var(--chalk); }
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.hero-points li { display: flex; align-items: center; gap: 0.75rem; font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); color: var(--white); line-height: 1.2; }
.hero-points li::before { content: ""; width: 0.6rem; height: 0.6rem; background: var(--red); transform: rotate(45deg); flex: none; }
.hero-points li.soft { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 1.1rem; color: var(--chalk); }
.hero-sub .wrap { padding-block: clamp(3rem, 6vw, 5rem); }
.hero-sub h1 { font-size: var(--step-4); max-width: 18ch; }
.hero-light { background: var(--tan); color: var(--ink); }
.hero-light::before { background-image: url("assets/pattern-2.svg"); opacity: 0.09; }
.hero-light::after { background: radial-gradient(ellipse at 15% 40%, rgba(244,240,233,0.6), rgba(244,240,233,0.95) 70%); }
.hero-light h1 { color: var(--ink); }
.hero-light .lede { color: var(--ink); }
.hero-light .email-big { color: var(--ink); }
.hero-light .email-big:hover { color: var(--red-deep); }
.hero-light .copy-btn { color: var(--ink); }
.hero-badge { display: grid; place-items: center; position: relative; }
.hero-badge::before {
  content: ""; position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(222,60,60,0.35), rgba(222,60,60,0) 65%);
}
.hero-badge img { position: relative; width: min(100%, 420px); height: auto; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.45)); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@media (max-width: 820px) { .hero-home .wrap { grid-template-columns: 1fr; } .hero-badge img { width: min(70%, 300px); } }

/* ---------- Photo placeholders ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--tan-2); color: var(--ink);
  display: grid; place-items: end start; aspect-ratio: 4 / 3; width: 100%; max-width: 100%;
  border: 2px dashed var(--steel);
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background: url("assets/pattern-2.svg") 0 0 / 300px auto repeat; opacity: 0.12;
}
.ph .ph-tag {
  position: relative; margin: 1rem; padding: 0.75rem 0.9rem; background: var(--white); border-radius: var(--radius);
  font-size: 0.88rem; line-height: 1.45; max-width: 34ch; box-shadow: 0 6px 18px rgba(35,31,32,0.12);
}
.ph .ph-tag b {
  display: block; font-family: var(--f-label); font-weight: 400; font-size: 1.05rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red-deep); margin-bottom: 0.15rem;
}
.on-ink .ph, .hero .ph { background: var(--ink-2); border-color: var(--steel-dark); }
.ph.kb::before { animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate(-2%, -2%); } }
.ph.tall { aspect-ratio: 4 / 5; }
.ph.plate { clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); border: 0; place-items: start start; }
.ph.plate .ph-tag { margin-top: 1.2rem; }

/* ---------- Ticker ---------- */
.ticker { background: var(--red); color: var(--white); overflow: hidden; border-block: 3px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: crawl 38s linear infinite; }
.ticker-track span {
  font-family: var(--f-label); font-size: 1.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.55rem 0; white-space: nowrap; display: inline-flex; align-items: center;
}
.ticker-track span::after { content: "◆"; font-size: 0.8rem; margin: 0 1.6rem; color: var(--ink); }
@keyframes crawl { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Pattern strip ---------- */
.strip {
  height: 64px; background: var(--ink) url("assets/strip-red.svg") 0 50% / auto 48px repeat-x;
  animation: strip 6s linear infinite;
}
.strip.light { background-color: var(--tan); }
@keyframes strip { from { background-position: 0 50%; } to { background-position: -67.343px 50%; } }

/* ---------- Sections ---------- */
.section .wrap { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 760px; }
.on-ink { background: var(--ink); color: var(--tan); }
.on-ink h2, .on-ink h3 { color: var(--white); }
.on-red { background: var(--red); color: var(--white); }
.on-white { background: var(--white); }

/* Why grid */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.why-item { display: grid; gap: 0.8rem; align-content: start; padding-top: 1.4rem; border-top: 3px solid var(--ink); }
.why-item .big {
  font-family: var(--f-display); font-size: clamp(3.4rem, 6vw, 4.6rem); line-height: 0.9; color: var(--red);
}
.why-item h3 { text-transform: uppercase; }
.why-item .bat { display: block; height: 0.9em; width: auto; color: var(--red); overflow: visible; }
@media (max-width: 820px) { .why { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-copy { display: grid; gap: 1.3rem; min-width: 0; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse-mobile > :first-child { order: 2; } }

/* Feature (memorial) */
.feature {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: 10px 10px 0 var(--ink);
}
.feature img { width: clamp(90px, 12vw, 140px); }
.feature .when { font-family: var(--f-label); font-size: 1.4rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-deep); }
.feature h3 { font-size: var(--step-3); text-transform: uppercase; }
.feature-copy { display: grid; gap: 0.6rem; min-width: 0; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--ink); } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.steps li { display: grid; gap: 0.6rem; align-content: start; counter-increment: step; position: relative; padding: 1.5rem 1.25rem; background: var(--ink-2); border-radius: var(--radius); }
.steps li::before {
  content: counter(step); font-family: var(--f-display); font-size: 1.4rem; color: var(--white);
  width: 2.6rem; height: 2.6rem; display: grid; place-items: center; background: var(--red);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.steps h3 { font-size: 1.45rem; text-transform: uppercase; }
.steps p { color: var(--chalk); font-size: 0.98rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Age chips */
.ages { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; align-items: center; }
.ages .label { font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.1em; font-size: 1.2rem; color: var(--sky); margin-right: 0.5rem; }
.ages span.chip {
  font-family: var(--f-display); font-size: 1.05rem; padding: 0.3rem 0.75rem; border: 2px solid var(--steel-dark); border-radius: 999px; color: var(--tan);
}

/* Callout */
.callout { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: space-between; }
.callout-copy { display: grid; gap: 0.6rem; min-width: 0; flex: 1 1 420px; }
.callout h2 { font-size: var(--step-3); }

/* CTA band */
.cta-band .wrap { padding-block: clamp(3.5rem, 7vw, 5.5rem); display: grid; justify-items: center; text-align: center; gap: 1.5rem; }
.cta-band h2 { font-size: var(--step-5); color: var(--white); }
.cta-band .btn-red { background: var(--ink); }
.cta-band .btn-red:hover { background: var(--ink-2); }

/* ---------- About ---------- */
.prose { display: grid; gap: 1.15rem; max-width: 64ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--steel-dark); border: 1px solid var(--steel-dark); border-radius: var(--radius); overflow: hidden; margin-top: 2.5rem; }
.fact { background: var(--ink); padding: 1.4rem 1.25rem; display: grid; gap: 0.3rem; }
.fact .n { font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--red); line-height: 1; }
.fact .t { color: var(--chalk); font-size: 0.95rem; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }

.family { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.member { display: grid; gap: 0.9rem; align-content: start; }
.member .bobble {
  aspect-ratio: 1 / 1; width: 100%; border-radius: 50%; position: relative; overflow: hidden;
  background: var(--ink); display: grid; place-items: center; text-align: center;
  border: 5px solid var(--red); box-shadow: 0 0 0 5px var(--tan), 0 0 0 8px var(--sky);
  max-width: 300px; justify-self: center;
}
.member .bobble::before { content: ""; position: absolute; inset: 0; background: url("assets/pattern-1.svg") 0 0 / 260px auto repeat; opacity: 0.25; }
.member .bobble span {
  position: relative; font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.1em; color: var(--tan);
  font-size: 1.15rem; line-height: 1.2; padding: 0 1.5rem;
}
.member .bobble span small { display: block; font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 0.8rem; color: var(--chalk); margin-top: 0.3rem; }
.member .order { font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.12em; font-size: 1.15rem; color: var(--red-deep); }
.member h3 { font-size: var(--step-3); text-transform: uppercase; }
.member .role { font-weight: 700; font-size: 0.95rem; color: var(--steel-dark); text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 860px) { .family { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.byline {
  margin-top: clamp(2rem, 4vw, 3rem); display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.25rem; border: 2px dashed var(--steel); border-radius: var(--radius);
  font-size: 0.95rem; max-width: 760px; margin-inline: auto;
}
.byline .tag { font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.1em; font-size: 1.05rem; color: var(--white); background: var(--ink); padding: 0.2rem 0.6rem; border-radius: 4px; flex: none; }

.parker { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.parker .bobble { max-width: 340px; }
@media (max-width: 820px) { .parker { grid-template-columns: 1fr; } }

.beliefs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.belief { display: grid; gap: 0.6rem; align-content: start; }
.belief h3 { text-transform: uppercase; color: var(--white); }
@media (max-width: 820px) { .beliefs { grid-template-columns: 1fr; } }

/* ---------- Insurance ---------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.price {
  background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); padding: 1.75rem 1.5rem;
  display: grid; gap: 0.4rem; text-align: center; justify-items: center;
}
.price .div { font-family: var(--f-label); font-size: 1.5rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-deep); }
.price .amt { font-family: var(--f-display); font-size: clamp(3.2rem, 6vw, 4.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.price .amt sup { font-size: 0.45em; vertical-align: 0.9em; margin-right: 0.05em; }
.price .per { color: var(--steel-dark); font-size: 0.95rem; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }
.note { margin-top: 1.25rem; font-size: 0.98rem; color: var(--steel-dark); }

.covered { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2.5rem; list-style: none; padding: 0; margin: 0; }
.covered li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.9rem; align-items: start; padding-bottom: 1.25rem; border-bottom: 1px solid var(--ink-2); }
.covered li::before { content: ""; width: 0.75rem; height: 0.75rem; background: var(--red); transform: rotate(45deg); margin-top: 0.55rem; }
.covered strong { color: var(--white); font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; display: block; letter-spacing: 0.02em; }
.covered span { color: var(--chalk); font-size: 0.98rem; }
@media (max-width: 760px) { .covered { grid-template-columns: 1fr; } }

.limits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--chalk); border: 1px solid var(--chalk); border-radius: var(--radius); overflow: hidden; margin-bottom: 2.5rem; }
.limit { background: var(--white); padding: 1.25rem; display: grid; gap: 0.2rem; }
.limit .n { font-family: var(--f-display); font-size: 2rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.limit .t { font-size: 0.92rem; color: var(--steel-dark); }
@media (max-width: 640px) { .limits { grid-template-columns: 1fr; } }

.must { background: var(--white); border-left: 6px solid var(--red); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; display: grid; gap: 0.4rem; }
.must b { font-family: var(--f-label); font-weight: 400; text-transform: uppercase; letter-spacing: 0.1em; font-size: 1.2rem; color: var(--red-deep); }

/* ---------- Contact / copy ---------- */
.email-card { display: grid; gap: 1.25rem; justify-items: start; }
.email-big {
  font-family: var(--f-display); font-size: clamp(1.6rem, 1rem + 3.4vw, 3.4rem); color: var(--white);
  text-decoration: none; overflow-wrap: anywhere; line-height: 1.1; border-bottom: 4px solid var(--red); padding-bottom: 0.2rem;
}
.email-big:hover { color: var(--sky); }
.copy-btn {
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem;
  background: transparent; color: inherit; border: 2px solid currentColor; border-radius: var(--radius);
  padding: 0.5rem 0.9rem; cursor: pointer;
}
.copy-btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.inline-email { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.inline-email a { font-weight: 700; color: var(--red-deep); overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--chalk); border-top: 4px solid var(--red); }
.site-footer .wrap { padding-block: 3.5rem 2rem; display: grid; gap: 2.5rem; }
.foot-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2.5rem; align-items: center; }
.foot-top img { width: 120px; }
.foot-tag { font-family: var(--f-display); font-size: var(--step-2); color: var(--white); line-height: 1.2; max-width: 22ch; }
.foot-tag span { color: var(--red); }
.foot-links { display: grid; gap: 0.4rem; justify-items: start; }
.foot-links a { text-decoration: none; font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.08em; }
.foot-links a:hover { color: var(--white); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; font-size: 0.88rem; border-top: 1px solid var(--ink-2); padding-top: 1.5rem; }
.foot-bottom a { color: var(--chalk); }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr; } }

.toast {
  position: fixed; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 150%);
  background: var(--ink); color: var(--white); padding: 0.7rem 1.1rem; border-radius: var(--radius);
  border: 2px solid var(--red); font-weight: 600; transition: transform .25s ease, visibility .25s; z-index: 70; visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

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

/* ---------- Rules ---------- */
.rules-placeholder {
  display: grid; gap: 1rem; justify-items: start; max-width: 760px;
  padding: clamp(1.5rem, 4vw, 3rem); border: 2px dashed var(--steel); border-radius: var(--radius); background: var(--white);
}
.rules-placeholder h2 { font-size: var(--step-3); }

.form-embed { max-width: 860px; min-height: 120px; }
.form-embed iframe { width: 100% !important; max-width: 100%; border: 0; }
.form-fallback { margin-top: 1.25rem; font-size: 0.98rem; color: var(--steel-dark); }
.form-fallback a { color: var(--red-deep); font-weight: 700; }
#buy { scroll-margin-top: 90px; }

/* ---------- Baseball cards ---------- */
.card-slot { display: grid; justify-items: center; gap: 0.75rem; min-width: 0; }
.bcard { width: 100%; max-width: 330px; perspective: 1400px; cursor: pointer; border-radius: 14px; }
.bcard:focus-visible { outline: 3px solid var(--sky); outline-offset: 6px; }
.bcard-inner {
  position: relative; width: 100%; aspect-ratio: 5 / 7; transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.bcard:hover .bcard-inner { transform: translateY(-6px) rotate(-1deg); }
.bcard.flipped .bcard-inner { transform: rotateY(180deg); }
.bcard.flipped:hover .bcard-inner { transform: rotateY(180deg) translateY(-6px); }
.bcard-face {
  position: absolute; inset: 0; border-radius: 14px; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 18px 34px rgba(35,31,32,0.28);
}
.bcard-front { background: var(--white); padding: 10px; }
.bcard-photo {
  position: absolute; inset: 10px; border-radius: 8px; overflow: hidden; background: var(--ink);
  border: 3px solid var(--ink);
}
.bcard-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.bcard-ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.bcard-ph::before { content: ""; position: absolute; inset: 0; background: url("assets/pattern-1.svg") 0 0 / 240px auto repeat; opacity: 0.25; }
.bcard-ph span { position: relative; font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.1em; font-size: 1.2rem; color: var(--tan); line-height: 1.2; margin-bottom: 30%; }
.bcard-badge {
  position: absolute; top: 18px; left: 18px; width: 64px; height: auto;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.35));
}
.bcard-plate {
  position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid;
  border-radius: 0 0 8px 8px; overflow: hidden;
}
.bcard-plate .bcard-nm {
  background: var(--red); color: var(--white); font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 1.9rem); line-height: 1.05; padding: 0.55rem 0.9rem 0.45rem;
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); padding-top: 0.85rem;
}
.bcard-plate .bcard-pos {
  background: var(--ink); color: var(--sky); font-family: var(--f-label); text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 1rem; padding: 0.35rem 0.9rem 0.45rem; line-height: 1.15;
}
.bcard-back {
  transform: rotateY(180deg); background: var(--tan-2); color: var(--ink);
  border: 10px solid var(--white); display: flex; flex-direction: column; gap: 0.6rem; padding: 0 0 0.8rem;
}
.bcard-back-head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  background: var(--ink); padding: 0.6rem 0.8rem; border-bottom: 4px solid var(--red);
}
.bcard-back-head .bcard-nm { font-family: var(--f-display); text-transform: uppercase; color: var(--white); font-size: 1.35rem; line-height: 1.05; }
.bcard-back-head img { width: 40px; height: auto; flex: none; }
.bcard-pos-back { font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.08em; color: var(--red-deep); font-size: 1rem; line-height: 1.15; padding: 0 0.8rem; }
.bcard-stats { width: calc(100% - 1.6rem); margin: 0 0.8rem; border-collapse: collapse; font-size: 0.82rem; }
.bcard-stats th, .bcard-stats td { padding: 0.32rem 0.45rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(35,31,32,0.15); }
.bcard-stats th { font-family: var(--f-label); font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.92rem; color: var(--steel-dark); white-space: nowrap; width: 1%; }
.bcard-stats tr:nth-child(odd) { background: rgba(255,255,255,0.55); }
.bcard-stats td { font-weight: 600; }
.bcard-report { padding: 0 0.8rem; display: grid; gap: 0.2rem; font-size: 0.84rem; line-height: 1.45; min-height: 0; overflow: hidden; }
.bcard-report b { font-family: var(--f-label); font-weight: 400; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.95rem; color: var(--red-deep); }
.bcard-foot { margin-top: auto; padding: 0 0.8rem; font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; color: var(--steel-dark); }
.bcard-hint { font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.1em; font-size: 1rem; color: var(--steel-dark); }
.on-ink .bcard-hint { color: var(--chalk); }
.family.cards { align-items: start; }
@media (prefers-reduced-motion: reduce) {
  .bcard-inner { transition: none !important; }
}

/* Card backs scale with the card's own width so they never overflow */
.bcard { container-type: inline-size; }
.bcard-back { font-size: 3.95cqi; gap: 0.5em; }
.bcard-back-head .bcard-nm { font-size: 1.62em; }
.bcard-back-head img { width: 3em; }
.bcard-pos-back { font-size: 1.2em; }
.bcard-stats { font-size: 1em; }
.bcard-stats th { font-size: 1.1em; padding: 0.32em 0.45em; }
.bcard-stats td { padding: 0.32em 0.45em; }
.bcard-report { font-size: 1em; }
.bcard-report b { font-size: 1.15em; }
.bcard-foot { font-size: 1.02em; }

/* Section intros: wider measure, natural wrapping */
.section-head { max-width: 920px; }
.section-head .lede { max-width: none; text-wrap: wrap; }
.tap-line { display: block; margin-top: 0.4rem; font-weight: 700; color: var(--red-deep); }

.hero-points .soon { color: var(--sky); font-size: 0.85em; }
.foot-copy { display: grid; gap: 0.6rem; min-width: 0; }
.foot-where { font-size: 0.92rem; color: var(--chalk); }

/* ---------- Schedule ---------- */
.sched { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.sched-col { display: grid; gap: 1rem; min-width: 0; }
.sched-area { font-size: var(--step-3); text-transform: uppercase; padding-bottom: 0.6rem; border-bottom: 4px solid var(--red); }
.sched-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.sched-row {
  display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); align-items: stretch;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden;
}
.sched-date { background: var(--ink); color: var(--white); display: grid; place-content: center; text-align: center; padding: 0.6rem 0.3rem; line-height: 1; }
.sched-date .mo { font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.12em; font-size: 1.1rem; color: var(--sky); }
.sched-date .dy { font-family: var(--f-display); font-size: 1.55rem; margin-top: 0.2rem; font-variant-numeric: tabular-nums; }
.sched-info { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; padding: 0.75rem 1rem; min-width: 0; }
.sched-place { font-family: var(--f-display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; }
.sched-tag { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.25rem 0.55rem; border-radius: 999px; line-height: 1.25; }
.tag-red { background: var(--red); color: var(--white); }
.tag-sky { background: var(--sky); color: var(--ink); }
#schedule { scroll-margin-top: 90px; }
@media (max-width: 820px) { .sched { grid-template-columns: 1fr; } }

.sched-info { display: grid; justify-items: start; align-content: center; gap: 0.15rem; }
.sched-city { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel-dark); }
.sched-info .sched-tag { margin-top: 0.4rem; }
.sched-perk { font-weight: 700; font-size: 0.95rem; color: var(--red-deep); margin-top: 0.15rem; }

/* ---------- Legacy photo slideshow (home plate) ---------- */
.plate-frame {
  --plate: polygon(0 0, 100% 0, 100% 66%, 50% 100%, 0 66%);
  width: 100%; max-width: 100%; padding: 7px; background: var(--red); clip-path: var(--plate);
}
.plate-show { position: relative; aspect-ratio: 5 / 4; clip-path: var(--plate); background: var(--ink-2); overflow: hidden; }
.plate-show img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
  opacity: 0; transition: opacity 1.2s ease;
}
.plate-show img.active { opacity: 1; animation: plate-zoom 12s ease-in-out infinite alternate; }
@keyframes plate-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }

.plate-show.tall { aspect-ratio: 4 / 5; }
/* ---------- Coach Rick's Top 10 ---------- */
.top10 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3.5rem); counter-reset: none; }
.top10 li { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); align-items: baseline; gap: 0.75rem; padding: 0.9rem 0; border-bottom: 1px solid var(--ink-2); }
.top10 .n { font-family: var(--f-display); font-size: 2rem; color: var(--red); line-height: 1; font-variant-numeric: tabular-nums; }
.top10 .q { font-family: var(--f-display); font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); color: var(--white); line-height: 1.2; letter-spacing: 0.01em; }
.top10 { grid-auto-flow: column; grid-template-rows: repeat(5, auto); }
@media (max-width: 760px) { .top10 { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; } }

.plate-show.square { aspect-ratio: 1 / 1; }
/* Quieter Top 10 near the bottom of About */
.top10-section { border-top: 1px solid var(--chalk); }
.top10-section .wrap { padding-block: clamp(2.5rem, 5vw, 4rem); }
.top10-section h2 { font-size: var(--step-3); }
.top10-section .top10 li { border-bottom-color: var(--chalk); padding: 0.6rem 0; }
.top10-section .top10 .n { font-size: 1.4rem; }
.top10-section .top10 .q { color: var(--ink); font-size: 1.2rem; }
