/* ============================================================
   TLH BASEBALL — global styles
   Design system: clean white with a bold athletic blue accent.
   To change the accent color, edit --accent below (one place).
   (The variables are still named "navy-*" for historical reasons,
    but they now hold the light surface colors.)
   ============================================================ */

:root {
  --navy-950: #0e0f10;   /* page background  - near black     */
  --navy-900: #161719;   /* alternating section bg - dark grey */
  --navy-850: #1c1e20;   /* cards - charcoal                  */
  --navy-800: #25282b;   /* inputs / pills - steel grey       */
  --navy-700: #34383c;   /* subtle fills                      */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* ACCENT — muted military olive-grey (the "camo" note).
     Swap for a brighter green (#7d8c3f) or tan (#b6a37a) if you want. */
  --accent: #8a955f;
  --accent-hot: #a4b072;
  --accent-deep: #5f6a3a;

  --text: #f1f2ee;       /* off-white body text on dark       */
  --text-soft: #c2c5bd;
  --text-dim: #8b8f86;

  --maxw: 1180px;
  --radius: 14px;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--accent);
}
.lead { font-size: 1.15rem; color: var(--text-soft); }

/* ---------- Header ---------- */
.topbar {
  background: var(--navy-950);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-dim);
}
.topbar .wrap {
  display: flex; justify-content: flex-end; align-items: center;
  height: 38px; gap: 18px;
}
.topbar a { color: var(--text-soft); font-weight: 600; }
.topbar a:hover { color: var(--accent); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14, 15, 16, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand .brand-fallback {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; line-height: 1;
}
.brand .brand-fallback span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-soft);
  padding: 10px 14px;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav a.active { color: var(--accent); }

.nav-cta {
  margin-left: 10px;
  background: var(--accent);
  color: #fff !important;
  padding: 11px 18px !important;
  border-radius: 9px;
  box-shadow: 0 6px 20px rgba(138,149,95,0.30);
}
.nav-cta:hover { background: var(--accent-hot) !important; }

.hamburger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative;
}
.hamburger span {
  position: absolute; left: 9px; right: 9px; height: 2px;
  background: var(--text); transition: 0.25s; border-radius: 2px;
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--navy-900);
  border-bottom: 1px solid var(--line);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 16px 24px; border-top: 1px solid var(--line);
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.06em; font-weight: 600; color: var(--text-soft);
}
.mobile-nav a:hover { color: var(--accent); background: rgba(255,255,255,0.03); }
.mobile-nav .nav-cta { margin: 14px 24px; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.07em; font-weight: 600; font-size: 1rem;
  padding: 15px 30px; border-radius: 10px; cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 30px rgba(138,149,95,0.30);
}
.btn-primary:hover { background: var(--accent-hot); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(96px, 13vw, 180px) 0 clamp(80px, 10vw, 140px);
  background:
    /* dark overlay so headline stays readable — heavier on the left */
    linear-gradient(90deg, rgba(8,9,10,0.88) 0%, rgba(8,9,10,0.58) 38%, rgba(8,9,10,0.22) 100%),
    linear-gradient(180deg, rgba(8,9,10,0.32), rgba(14,15,16,0.72)),
    /* subtle olive wash for brand tone */
    radial-gradient(1200px 600px at 75% -10%, rgba(138,149,95,0.12), transparent 60%),
    /* the photo */
    url("/images/hero-bg.jpg");
  background-size: cover;
  background-position: 70% 32%;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 500px at 70% 0%, #000 30%, transparent 75%);
  opacity: 0.25;
}
.hero .wrap { position: relative; }
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  max-width: 16ch; margin: 18px 0 0;
}
.hero h1 .hl { color: var(--accent); }
.hero .sub {
  font-family: var(--font-display); text-transform: uppercase;
  font-weight: 500; letter-spacing: 0.02em;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--text-soft); margin-top: 22px; max-width: 30ch;
}
.hero .cta-row { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: clamp(52px, 7vw, 84px) 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 12px; }
.bg-alt { background: var(--navy-900); }
.divider { height: 1px; background: var(--line); border: 0; }

/* ---------- Stats band ---------- */
.stats {
  background:
    linear-gradient(120deg, rgba(138,149,95,0.12), transparent 55%),
    var(--navy-850);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats .grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.stats .stat { padding: 56px 18px; }
.stats .stat + .stat { border-left: 1px solid var(--line); }
.stats .num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; color: var(--accent);
}
.stats .label {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.9rem; color: var(--text-soft);
  margin-top: 12px;
}

/* ---------- Testimonials ---------- */
.tcard {
  background: var(--navy-850);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex; flex-direction: column; gap: 18px;
  height: 100%;
}
.tcard .quote { color: var(--text-soft); font-size: 0.98rem; }
.tcard .quote::before { content: "“"; color: var(--accent); font-size: 2.4rem;
  font-family: Georgia, serif; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.tcard .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.tcard .who img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  background: var(--navy-700); border: 2px solid var(--accent);
}
.tcard .who .name { font-family: var(--font-display); text-transform: uppercase;
  font-weight: 600; letter-spacing: 0.04em; font-size: 1.02rem; }
.tcard .who .title { color: var(--text-dim); font-size: 0.82rem; }

.tgrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

/* Home carousel */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 14px; scrollbar-width: thin;
}
.carousel-track .tcard {
  scroll-snap-align: start; flex: 0 0 min(420px, 85%);
}
.carousel-nav { display: flex; gap: 10px; margin-top: 22px; }
.carousel-nav button {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: var(--navy-800); border: 1px solid var(--line-strong);
  color: var(--text); font-size: 1.2rem; transition: 0.18s;
}
.carousel-nav button:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Bio ---------- */
.bio-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start;
}
.bio-photo {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong);
  background: var(--navy-800); position: sticky; top: 110px;
}
.bio-photo img { width: 100%; height: auto; }
.bio-body p { color: var(--text-soft); font-size: 1.08rem; margin-bottom: 20px; }
.bio-body .kicker { color: var(--accent); }

/* ---------- Showcase / gallery ---------- */
.video-wrap {
  position: relative; width: 100%; aspect-ratio: 16/9;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong);
  background: #000;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.gallery button {
  border: 0; padding: 0; cursor: pointer; background: var(--navy-800);
  border-radius: 12px; overflow: hidden; aspect-ratio: 3/4;
  border: 1px solid var(--line); transition: 0.2s;
}
.gallery button:hover { border-color: var(--accent); transform: translateY(-3px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(3,5,12,0.92); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 28px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox .lb-btn {
  position: absolute; background: rgba(255,255,255,0.08);
  border: 1px solid var(--line-strong); color: #fff; cursor: pointer;
  width: 54px; height: 54px; border-radius: 50%; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center; transition: 0.18s;
}
.lightbox .lb-btn:hover { background: var(--accent); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- Facility ---------- */
.facility-photo { border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-strong); margin-top: 44px; }
.feature-pills { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.feature-pills span {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.92rem; font-weight: 600;
  padding: 11px 18px; border-radius: 999px;
  background: var(--navy-800); border: 1px solid var(--line-strong);
}
.feature-pills span::before { content: "›"; color: var(--accent); margin-right: 8px; font-weight: 700; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block; font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.85rem; color: var(--text-soft);
  margin-bottom: 8px;
}
.form-field label .req { color: var(--accent); }
.form-field input, .form-field textarea {
  width: 100%; background: var(--navy-850); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 14px 16px; color: var(--text);
  font-family: var(--font-body); font-size: 1rem; transition: border 0.18s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-note { font-size: 0.85rem; color: var(--text-dim); margin-top: 6px; }
.contact-info .info-block { margin-bottom: 26px; }
.contact-info .info-block .k {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); font-size: 0.85rem; margin-bottom: 4px;
}
.contact-info .info-block a { font-size: 1.15rem; font-weight: 600; }
.contact-info .info-block a:hover { color: var(--accent); }

.placeholder-warn {
  background: rgba(138,149,95,0.10); border: 1px solid var(--accent-deep);
  border-radius: 10px; padding: 14px 16px; font-size: 0.88rem;
  color: var(--text-soft); margin-bottom: 26px;
}
.placeholder-warn code { color: var(--accent-hot); font-weight: 700; }

/* ---------- Contact cards (big tappable email/phone) ---------- */
.contact-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 860px; margin: 0 auto;
}
.contact-card {
  display: block; text-align: center;
  background: var(--navy-850); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 46px 28px;
  transition: transform 0.18s, border-color 0.18s, background 0.18s;
}
.contact-card:hover {
  transform: translateY(-4px); border-color: var(--accent);
  background: var(--navy-800);
}
.contact-card .cc-k {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.82rem; color: var(--accent);
  margin-bottom: 14px;
}
.contact-card .cc-v {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem); color: var(--text);
  word-break: break-word;
}
.contact-card .cc-cta {
  margin-top: 16px; color: var(--text-dim); font-size: 0.92rem; font-weight: 600;
}
@media (max-width: 620px) {
  .contact-cards { grid-template-columns: 1fr; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: clamp(48px, 6vw, 80px) 0 clamp(36px, 4vw, 56px);
  background:
    radial-gradient(900px 400px at 80% -20%, rgba(138,149,95,0.12), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero p { margin-top: 14px; max-width: 60ch; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950); border-top: 1px solid var(--line);
  padding: 54px 0 36px;
}
.site-footer .cols {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px;
  margin-bottom: 36px;
}
.site-footer .fbrand { display: flex; align-items: center; gap: 12px; }
.site-footer .fbrand img { height: 48px; }
.site-footer .fcontact a { display: block; color: var(--text-soft); font-weight: 600; }
.site-footer .fcontact a:hover { color: var(--accent); }
.site-footer .fcontact .k {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.78rem; color: var(--text-dim); margin-bottom: 4px;
}
.site-footer .fcontact > div { margin-bottom: 16px; }
.site-footer .copyright {
  border-top: 1px solid var(--line); padding-top: 24px;
  color: var(--text-dim); font-size: 0.85rem;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.7s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: block; }
  .bio-grid { grid-template-columns: 1fr; gap: 32px; }
  .bio-photo { position: static; max-width: 420px; }
  .tgrid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 620px) {
  .stats .grid { grid-template-columns: 1fr; }
  .stats .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stats .stat { padding: 38px 18px; }
  .topbar .wrap { justify-content: center; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .tgrid { grid-template-columns: repeat(2, 1fr); }
}
