/* ===== Tokens ===== */
:root {
  --navy: #0e1a2b;
  --navy-2: #162640;
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --ink: #1a1f29;
  --muted: #5b6472;
  --red: #c8342b;       /* baseball stitch red */
  --red-dark: #a3271f;
  --line: #e4ddcd;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(14, 26, 43, .35);
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: .95; margin: 0 0 .4em; }
h1 { font-size: clamp(3rem, 8vw, 6.2rem); }
h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h3 { font-size: 1.7rem; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: #f0c9a0; margin: 0 0 1rem; display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.eyebrow.dark { color: var(--red); }
.eyebrow-stack { align-items: flex-start; line-height: 1.7; }
.eyebrow-stack::before { margin-top: .8em; }
.accent { color: var(--red); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  background: var(--red); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  font: 600 .95rem/1 var(--body); letter-spacing: .02em;
  padding: 1rem 1.6rem; border-radius: 999px;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 10px 24px -10px rgba(200, 52, 43, .7);
}
.btn:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-small { padding: .7rem 1.2rem; font-size: .85rem; }
.btn-full { width: 100%; }

/* ===== Photo placeholders ===== */
/* Each .photo shows a labeled placeholder until the matching image file exists. */
.photo {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(14,26,43,.05) 0 12px, transparent 12px 24px),
    #e9e2d3;
}
.photo::before {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  padding: 1rem; font-size: .8rem; font-weight: 600; color: #8a8170; letter-spacing: .02em;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ===== Nav ===== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(14, 26, 43, .92); backdrop-filter: blur(10px); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--navy); font: 400 1.25rem/1 var(--display);
  box-shadow: inset 0 0 0 2px var(--red);
}
.brand-text { font: 400 1.45rem/1 var(--display); letter-spacing: .04em; }
.brand-text em { font-style: normal; color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a:not(.btn) { color: rgba(255,255,255,.85); text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: transform .3s; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: min(92svh, 820px); display: flex; align-items: flex-end;
  color: #fff; background: var(--navy); overflow: hidden;
}
.hero-photo { position: absolute; inset: 0; border-radius: 0; background: var(--navy-2); }
.hero-photo::before { color: rgba(255,255,255,.35); place-items: start end; padding: 96px 24px; }
.hero-photo img { object-position: 62% 20%; }
/* Wide screens: photo sits on the right and fades into the navy, so the headline never covers Jack */
@media (min-width: 821px) {
  .hero-photo { left: 34%; background: transparent; }
  .hero-photo img {
    object-position: 35% 20%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
            mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(14,26,43,.95) 0%, rgba(14,26,43,.75) 34%, rgba(14,26,43,0) 58%),
      linear-gradient(0deg, rgba(14,26,43,.7) 0%, transparent 35%);
  }
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14,26,43,.95) 0%, rgba(14,26,43,.7) 45%, rgba(14,26,43,.15) 100%),
    linear-gradient(0deg, rgba(14,26,43,.9) 0%, transparent 40%);
}
.hero-content { position: relative; padding: 140px 0 110px; }
.hero-sub { max-width: 540px; font-size: 1.12rem; color: rgba(255,255,255,.82); margin: 1.4rem 0 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ===== Stats ===== */
.stats { background: var(--red); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.8rem 1rem; text-align: center; border-left: 1px solid rgba(255,255,255,.2); }
.stat:first-child { border-left: 0; }
.stat-num { display: block; font: 400 2.8rem/1 var(--display); letter-spacing: .03em; }
.stat-label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }

/* ===== Sections ===== */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-dark { background: var(--navy); color: #fff; }
.section-cream { background: var(--cream); border-top: 1px solid var(--line); }
.section-cream .card:not(.card-featured) { background: var(--paper); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-photos { position: relative; padding: 0 0 30% 0; }
.about-main { width: 60%; aspect-ratio: 545 / 590; box-shadow: var(--shadow); }
.about-main img { object-position: 35% 25%; }
.about-inset { /* landscape team photo overlapping the portrait's lower right */
  position: absolute; right: -24px; bottom: 0; width: 72%; aspect-ratio: 16 / 9;
  border: 8px solid var(--paper); box-shadow: var(--shadow);
}
.about-inset img { object-position: 55% 60%; }
.lead { font-size: 1.2rem; font-weight: 500; }
.about-text p { color: #3a4250; }
.checks { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .8rem; }
.checks li { position: relative; padding-left: 2rem; font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* ===== Timeline ===== */
.timeline {
  list-style: none; padding: 0; margin: 3rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem;
}
.timeline li {
  position: relative; padding: 1.6rem 1.4rem 1.4rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .25s, border-color .25s;
}
.timeline li:hover { transform: translateY(-4px); border-color: rgba(200,52,43,.6); }
.timeline h3 { font-size: 1.55rem; margin: .5rem 0 .3rem; color: var(--navy); }
.timeline p { margin: 0; color: var(--muted); font-size: .92rem; }
.t-year { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.timeline .t-now { background: var(--red); border-color: transparent; }
.timeline .t-now h3 { color: #fff; }
.timeline .t-now .t-year, .timeline .t-now p { color: rgba(255,255,255,.9); }

/* ===== Program cards ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card p { color: var(--muted); font-size: .95rem; margin: 0 0 1.4rem; }
.card .card-meta { color: var(--red); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .9rem; }
.card-icon { width: 52px; height: 52px; color: var(--navy); margin-bottom: 1.2rem; }
.card-link { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--navy); }
.card-link:hover { color: var(--red); }
.card-featured { background: var(--navy); color: #fff; border-color: var(--navy); }
.card-featured p { color: rgba(255,255,255,.72); }
.card-featured .card-icon, .card-featured .card-link { color: #fff; }
.card-featured .card-meta { color: #f0c9a0; }
.badge {
  position: absolute; top: 1.2rem; right: 1.2rem; background: var(--red); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px;
}

/* ===== Quote ===== */
.quote {
  background: var(--cream); padding: clamp(64px, 8vw, 104px) 0; text-align: center;
  border-block: 1px solid var(--line);
}
.quote blockquote { margin: 0 auto; max-width: 860px; }
.quote p { font: 400 clamp(1.8rem, 4vw, 2.8rem)/1.1 var(--display); letter-spacing: .02em; color: var(--navy); margin: 0 0 1rem; }
.quote cite { font-style: normal; font-weight: 700; color: var(--red); letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }

/* ===== Video ===== */
.video-frame {
  position: relative; aspect-ratio: 16 / 9; max-width: 980px; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden; background: var(--navy-2);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.08);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
/* Thumbnail + play button; clicking swaps in the YouTube player */
.video-facade {
  position: absolute; inset: 0; border: 0; padding: 0; margin: 0; cursor: pointer;
  display: grid; place-content: center; justify-items: center; gap: 1.1rem;
  color: #fff; text-decoration: none; background: var(--navy-2); font: inherit;
}
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.video-facade::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(14,26,43,.2), rgba(14,26,43,.7));
  transition: background .3s;
}
.video-facade:hover img { transform: scale(1.03); }
.video-facade:hover::after { background: radial-gradient(circle at 50% 50%, rgba(14,26,43,.1), rgba(14,26,43,.6)); }
.video-play, .video-caption { position: relative; z-index: 1; }
.video-play svg {
  display: block; padding: 18px; width: 92px; height: 92px; border-radius: 50%; background: var(--red); color: #fff;
  box-shadow: 0 0 0 12px rgba(200,52,43,.25); transition: transform .2s;
}
.video-facade:hover .video-play svg { transform: scale(1.08); }
.video-caption { font: 400 clamp(1.6rem, 4vw, 2.4rem)/1 var(--display); letter-spacing: .06em; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
@media (max-width: 560px) { .video-play svg { width: 68px; height: 68px; padding: 14px; box-shadow: 0 0 0 8px rgba(200,52,43,.25); } }

/* ===== Contact ===== */
.contact { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.contact::after { /* faint baseball stitch arc */
  content: ""; position: absolute; width: 640px; height: 640px; right: -260px; top: -200px; border-radius: 50%;
  border: 3px dashed rgba(200,52,43,.28); pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 88px); position: relative; z-index: 1; }
.contact-info p { color: rgba(255,255,255,.75); font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; gap: .15rem; }
.contact-list span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f0c9a0; }
.contact-list a { text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.contact-list a:hover { color: var(--red); }
.contact-form {
  background: #fff; color: var(--ink); border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .4rem; font-size: .82rem; font-weight: 600; color: var(--navy); }
.contact-form small { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: .98rem; font-weight: 400; color: var(--ink);
  padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,52,43,.12);
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note.ok { color: #1f7a3f; font-weight: 600; }
.form-note.err { color: var(--red-dark); font-weight: 600; }
.form-note { margin: 0; font-size: .88rem; color: var(--muted); text-align: center; min-height: 1.2em; }

/* ===== Footer ===== */
.footer { background: #08111d; color: rgba(255,255,255,.55); font-size: .85rem; padding: 2rem 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer .brand-text { color: #fff; font-size: 1.25rem; }

/* ===== Hero entrance ===== */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-content > * { animation: rise .8s ease both; }
.hero-content > :nth-child(2) { animation-delay: .1s; }
.hero-content > :nth-child(3) { animation-delay: .2s; }
.hero-content > :nth-child(4) { animation-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .hero-content > * { animation: none; }
  html { scroll-behavior: auto; }
}
a:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: .5rem 16px 1.5rem; transform: translateY(-120%);
    transition: transform .3s; z-index: -1; box-shadow: 0 20px 30px rgba(0,0,0,.25);
  }
  .nav-links a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links .btn { margin-top: 1rem; }
  .nav.open { background: var(--navy); }
  .nav.open .nav-links { transform: none; }
  .nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-inset { right: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.2); }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-content { padding: 120px 0 72px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .brand-text { font-size: 1.2rem; }
}

/* ===== Phone hero: photo on top (whole throw in frame), headline below ===== */
@media (max-width: 820px) {
  .hero {
    flex-direction: column; align-items: stretch; min-height: 0;
    padding-top: calc(72px + env(safe-area-inset-top, 0px)); /* keep the nav off the ball */
  }
  .hero-photo { position: relative; inset: auto; width: 100%; aspect-ratio: 1; max-height: 68svh; }
  .hero-photo img { object-position: 50% 0; }
  .hero-photo::after { /* fade the bottom of the photo into the navy */
    content: ""; position: absolute; inset: auto 0 0; height: 35%;
    background: linear-gradient(rgba(14,26,43,0), var(--navy));
  }
  .hero-shade { display: none; }
  .hero-content { padding: 0 0 56px; margin-top: -48px; }
  .hero-sub { margin-top: 1rem; }
}
