/* ============================================================
   L.T. ATHLETICS
   Palette: jersey red on ink black over warm white.
   Type: Anton (display) / Barlow (body) / Barlow Condensed (labels)
   ============================================================ */

:root {
  --ink: #111113;
  --ink-soft: #1c1c1f;
  --paper: #fafaf7;
  --card: #ffffff;
  --red: #c8102e;
  --red-dark: #8e0c20;
  --gray: #66666c;
  --line: #e4e2dc;
  --line-dark: #2a2a2e;
  --radius: 10px;
  --wrap: 1120px;
}

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

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

body {
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ---------- Type ---------- */

h1, h2, h3, .display {
  font-family: 'Anton', 'Barlow Condensed', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 1.05;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: 0.5em; }
h3 { font-size: 1.08rem; letter-spacing: 0.03em; }

.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--red);
  display: block;
  margin-bottom: 0.7em;
}

.lede { font-size: 1.02rem; color: var(--gray); max-width: 68ch; }

/* ---------- Header ---------- */

.site-header {
  background: var(--card);
  border-bottom: 3px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand-word {
  font-family: 'Anton', sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.brand-word .dot { color: var(--red); }

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 3px solid transparent;
}
.nav-links a:hover { text-decoration: none; border-bottom-color: var(--line); }
.nav-links a.active { border-bottom-color: var(--red); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 7px 11px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 3px solid var(--ink);
    flex-direction: column;
    gap: 0;
    padding: 8px 22px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a.active { border-bottom-color: var(--red); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.55;
}
.hero-inner {
  position: relative;
  padding: clamp(64px, 11vw, 118px) 0 clamp(52px, 8vw, 90px);
}
.hero .eyebrow { color: #ff5a70; }
.hero h1 { max-width: 14ch; text-shadow: 0 2px 18px rgba(0,0,0,0.55); }
.hero h1 .red { color: var(--red); -webkit-text-stroke: 1px rgba(255,255,255,0.25); }
.hero p {
  margin-top: 1em;
  font-size: 1.04rem;
  max-width: 56ch;
  color: #e8e8e6;
  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}
.hero-ctas { margin-top: 1.5em; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.93rem;
  padding: 11px 21px;
  border-radius: 7px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn.disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ---------- Sections ---------- */

.section { padding: clamp(40px, 6.5vw, 68px) 0; }
.section-dark { background: var(--ink); color: #f0f0ee; }
.section-dark h2 { color: #fff; }
.section-dark .lede { color: #b9b9bd; }
.section-tight { padding: clamp(30px, 4.5vw, 46px) 0; }

.divider-hash {
  height: 14px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--red) 0, var(--red) 26px,
    transparent 26px, transparent 52px
  );
  background-size: 52px 4px;
  background-repeat: repeat-x;
  background-position: center;
}

/* ---------- Cards / grids ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 880px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.tile:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(17,17,19,0.14);
}
.tile img { height: 175px; width: 100%; object-fit: cover; }
.tile-body { padding: 16px 18px 20px; }
.tile-body h3 { margin-bottom: 0.4em; }
.tile-body p { color: var(--gray); font-size: 0.92rem; }
.tile-more {
  margin-top: 0.9em;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  font-size: 0.92rem;
}

/* ---------- Session board (signature) ---------- */

.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 940px) { .board { grid-template-columns: 1fr; } }

.session {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 6px solid var(--ink);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.session.session-def { border-top-color: var(--red); }

.session-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 18px 0;
}
.session-day {
  font-family: 'Anton', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}
.session-time {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray);
  letter-spacing: 0.05em;
}
.session-body { padding: 6px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.session-body h3 { margin: 4px 0 8px; }
.session-meta {
  list-style: none;
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.session-meta li { padding: 3px 0; }
.session-meta strong { color: var(--ink); }

.spots {
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 9px 13px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
  background: var(--paper);
}
.spots-num {
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 1.2em;
}
.spots-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--gray);
}
.spots-loading .spots-num { color: var(--line); }
.spots-low { border-color: var(--red); }
.spots-low .spots-num { color: var(--red); }
.spots-full { border-color: var(--red-dark); background: #fdf2f4; }
.spots-full .spots-num { color: var(--red-dark); }

.session .btn { align-self: flex-start; margin-top: auto; }

.price-tag {
  font-family: 'Anton', sans-serif;
  font-size: 1.15rem;
  color: var(--ink);
}
.price-tag small {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  color: var(--gray);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Notice strips ---------- */

.strip {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: var(--radius);
  padding: 15px 19px;
  margin-top: 20px;
}
.strip h3 { margin-bottom: 0.35em; }
.strip p { color: var(--gray); }
.strip strong { color: var(--ink); }

.cash-banner {
  background: var(--red);
  color: #fff;
  border-radius: var(--radius);
  padding: 13px 20px;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 0.98rem;
  margin-top: 20px;
}
.cash-banner a { color: #fff; text-decoration: underline; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 18px;
}
.step h3 { color: #fff; margin: 0.2em 0 0.45em; }
.step p { color: #b9b9bd; font-size: 0.9rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: 'Anton', sans-serif;
  color: var(--red);
  font-size: 1.25rem;
}

/* ---------- Program selector ---------- */

.program-selector { margin-top: 10px; }
.bubble-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 18px; }
.bubble-row-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  color: var(--gray);
}
.bubble {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  padding: 10px 19px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.12s ease;
}
.bubble:hover { background: var(--paper); }
.bubble.picked { background: var(--ink); color: #fff; border-color: var(--ink); }
.bubble.picked::before { content: "\2713\00a0"; color: var(--red); }

#program-hint { color: var(--gray); margin-bottom: 18px; min-height: 1.5em; }

/* ---------- Sample week ---------- */

.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 26px;
}
@media (max-width: 1000px) { .week { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .week { grid-template-columns: repeat(2, 1fr); } }
.day {
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 11px 11px 13px;
  min-height: 138px;
}
.day-name {
  font-family: 'Anton', sans-serif;
  font-size: 0.95rem;
  color: var(--red);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.day-focus {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  color: #fff;
  margin-bottom: 8px;
}
.day ul { list-style: none; }
.day li {
  font-size: 0.78rem;
  color: #b9b9bd;
  padding: 2px 0;
  border-bottom: 1px dashed var(--line-dark);
}
.day li:last-child { border-bottom: 0; }
.day li.redacted {
  color: #55555c;
  letter-spacing: 0.12em;
}
.week-note {
  margin-top: 16px;
  font-size: 0.95rem;
  color: #b9b9bd;
}
.week-note strong { color: #fff; }

/* ---------- Pricing ---------- */

.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
@media (max-width: 820px) { .price-cards { grid-template-columns: 1fr; } }
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.price-card.featured { border: 2px solid var(--red); }
.price-card .amount {
  font-family: 'Anton', sans-serif;
  font-size: 1.7rem;
  margin: 0.15em 0 0.1em;
}
.price-card .amount small {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  color: var(--gray);
  letter-spacing: 0.05em;
}
.price-card ul { list-style: none; margin-top: 14px; }
.price-card li {
  padding: 5px 0 5px 22px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  position: relative;
}
.price-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}
.price-card li:last-child { border-bottom: 0; }

/* ---------- Gallery ---------- */

.gallery {
  columns: 3;
  column-gap: 14px;
}
@media (max-width: 900px) { .gallery { columns: 2; } }
@media (max-width: 560px) { .gallery { columns: 1; } }
.gallery img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
}

/* ---------- About ---------- */

.about-photo {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%;
  object-fit: cover;
}
.facts { list-style: none; margin-top: 20px; }
.facts li {
  padding: 8px 0 8px 24px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 12px;
  height: 4px;
  background: var(--red);
}

/* ---------- Contact reveal ---------- */

.contact-reveal { margin-top: 10px; }
.contact-name {
  font-family: 'Anton', sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 3px solid var(--red);
  color: inherit;
  cursor: pointer;
  padding: 2px 0;
}
.contact-details { display: none; margin-top: 12px; }
.contact-details.open { display: block; }
.contact-details a { display: inline-block; margin-right: 18px; font-weight: 600; }
.section-dark .contact-details a { color: #ff8fa0; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #b9b9bd;
  border-top: 6px solid var(--red);
  padding: 32px 0 26px;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.6em;
}
.site-footer a { color: #ff8fa0; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 3px 0; }
.footer-brand {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  color: #fff;
  text-transform: uppercase;
}
.footer-brand .dot { color: var(--red); }
.footer-note { margin-top: 26px; color: #7a7a80; font-size: 0.85rem; }

/* Quiet build credit */
.footer-credit {
  margin-top: 6px;
  color: #55555c;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}
.footer-credit a {
  color: #6e6e75;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-credit a:hover { color: #ff8fa0; border-bottom-color: rgba(255,143,160,0.5); }

/* ---------- Click-to-reveal blocks ---------- */

.reveal-block { display: none; margin-top: 6px; }
.reveal-block.open { display: block; }


/* ---------- Dynamic pricing panel (programs) ---------- */

.pricing-panel {
  display: none;
  background: var(--card);
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0 0 18px;
  max-width: 560px;
}
.pricing-panel.open { display: block; }
.pricing-panel h3 { margin-bottom: 6px; }
.pricing-panel .pp-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.pricing-panel .pp-line:last-of-type { border-bottom: 0; }
.pricing-panel .pp-line strong {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  white-space: nowrap;
}
.pricing-panel .pp-note { color: var(--gray); font-size: 0.85rem; margin-top: 8px; }


/* Contact details grid (stays hidden until the button is clicked) */
.contact-details {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-details.open { display: grid; }
.contact-item {
  font-size: 0.9rem;
  line-height: 1.5;
}
.contact-item strong { 
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.contact-item a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}
.contact-item a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .contact-details { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE OPTIMIZATION
   Everything below is inside max-width media queries.
   Desktop (821px and up) is completely untouched.
   ============================================================ */

@media (max-width: 820px) {

  /* Stop iOS inflating text on rotate; softer tap flash */
  html { -webkit-text-size-adjust: 100%; }
  body { -webkit-tap-highlight-color: rgba(200, 16, 46, 0.12); }

  /* --- Tap targets: 44px minimum (Apple/Google guideline) --- */

  .nav-toggle {
    min-height: 44px;
    min-width: 44px;
    padding: 10px 15px;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0;
  }

  .btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .bubble {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .contact-name {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0;
  }

  /* Build credit link stays tappable without shouting */
  .footer-credit a { display: inline-block; padding: 8px 2px; }

  /* Footer link lists get real thumb room */
  .footer-grid ul li { margin-bottom: 2px; }
  .footer-grid ul li a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  /* Standalone contact links (phone/email) are tappable rows */
  .contact-item a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }

  /* Phone numbers should never wrap mid-number */
  .contact-item a[href^="tel"] { white-space: nowrap; }

  /* Inline links sitting in banners are real CTAs, give them thumb room */
  .cash-banner a,
  .gallery-more a {
    display: inline-block;
    padding: 12px 4px;
  }

  /* --- Buttons go full width so they're easy to hit one-handed --- */

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .session-body .btn { width: 100%; }

  /* --- Hero: stop the image eating the whole first screen --- */

  .hero-inner { padding: 52px 0 44px; }
  .hero h1 { max-width: 100%; }
  .hero p { font-size: 1rem; }

  /* --- Tighten vertical rhythm so less scrolling overall --- */

  .section { padding: 34px 0; }
  .section-tight { padding: 26px 0; }
  .grid-2 { gap: 22px; }

  /* Images in two-column blocks stop being full-height slabs */
  .grid-2 > img,
  .grid-2 img.about-photo {
    max-width: 300px;
    justify-self: center;
  }
}

/* ---------- Phones proper ---------- */

@media (max-width: 640px) {

  /* Gallery stays 2-up. One column made it a 14-screen scroll. */
  .gallery { columns: 2; column-gap: 10px; }
  .gallery img { margin-bottom: 10px; }

  /* Session cards: tighter but still legible */
  .session-head { padding: 13px 15px 0; }
  .session-body { padding: 6px 15px 15px; }
  .session-day { font-size: 1.45rem; }
  .spots { padding: 8px 12px; }
  .spots-num { font-size: 1.6rem; }

  /* Sample week: 2-up already, just tighten the cells */
  .day { padding: 10px; min-height: 0; }

  .price-card { padding: 17px; }
  .pricing-panel { padding: 15px 16px; }
  .pricing-panel .pp-line { font-size: 0.9rem; }

  .step { padding: 15px; }
  .strip { padding: 14px 16px; }
  .cash-banner { font-size: 0.88rem; padding: 12px 15px; letter-spacing: 0.06em; }
}

/* ---------- Small phones (SE, mini) ---------- */

@media (max-width: 400px) {
  .gallery { columns: 2; column-gap: 8px; }
  .gallery img { margin-bottom: 8px; }
  .cash-banner { font-size: 0.8rem; letter-spacing: 0.04em; }
  .btn { font-size: 0.88rem; padding: 11px 16px; }
}
