/*
Theme Name:   Hybrid Roanoke
Theme URI:    https://www.hybridroanoke.com/
Description:  Single-page homepage theme for Hybrid — Brazilian Jiu Jitsu, Muay Thai and Judo in downtown Roanoke. Static, no JavaScript required.
Version:      1.1.0
Update URI:   false
Requires at least: 6.0
Requires PHP: 7.4
License:      GPL-2.0-or-later
Text Domain:  hybrid-roanoke
*/

:root {
  --accent: #FF5A1F;
  --ink: #0E0E0E;
  --paper: #F2F0EB;
  --text-soft: #C9C7C1;
  --text-muted: #A8A6A0;
  --text-faint: #8E8C87;
  --line: #262626;
  --panel: #161616;
  --panel-2: #1F1F1F;
  --placeholder: #1A1A1A;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--paper); }
a:hover { color: #fff; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p, ul { margin: 0; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--paper); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.display { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 0.95; }
.muted { color: var(--text-muted); }
.soft { color: var(--text-soft); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.text-link { font-weight: 600; font-size: 15px; padding: 10px 0; display: inline-block; }

/* Buttons */
.btn { text-decoration: none; display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; font-weight: 700; font-size: 16px; letter-spacing: 0.02em; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { color: var(--ink); filter: brightness(1.08); }
.btn-ghost { border: 1px solid #4A4A4A; font-weight: 600; }
.btn-ghost:hover { border-color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { color: #fff; }
.btn-outline-dark { border: 2px solid var(--ink); color: var(--ink); }
.btn-outline-dark:hover { color: var(--ink); background: rgba(14,14,14,0.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Placeholders / photos */
.photo { position: relative; background: var(--placeholder); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--empty { border: 1px dashed #3A3A3A; display: flex; align-items: flex-end; padding: 24px; }
.photo--empty span { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-1x1 { aspect-ratio: 1 / 1; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.brand-mark { font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: 0.06em; line-height: 1; }
.brand-sub { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 15px; font-weight: 500; }
.main-nav a { text-decoration: none; padding: 10px 0; }
.main-nav a.nav-cta { padding: 12px 20px; background: var(--accent); color: var(--ink); font-weight: 700; letter-spacing: 0.02em; }

/* Hero */
.hero { padding-top: 88px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(56px, 7.4vw, 108px); line-height: 0.92; letter-spacing: -0.01em; }
.hero-lede { max-width: 520px; font-size: 19px; color: var(--text-soft); }
.hero-badge { position: absolute; top: 24px; right: -12px; background: var(--paper); color: var(--ink); padding: 14px 18px; display: flex; flex-direction: column; line-height: 1.1; z-index: 1; }
.hero-badge strong { font-family: var(--font-display); font-weight: 800; font-size: 40px; }
.hero-badge span { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-media { position: relative; }
.hero-media .photo { height: 100%; }
@media (max-width: 520px) { .hero-badge { right: 12px; } }

/* Stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.stat { padding: 32px 24px 32px 0; display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; }
.stat span { font-size: 14px; color: var(--text-muted); }

/* Sections */
.section { padding-top: 112px; padding-bottom: 112px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head h2, .facility h2 { font-size: clamp(40px, 5vw, 64px); }
.section-head p { max-width: 420px; }

/* Disciplines */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.card { background: var(--panel); display: flex; flex-direction: column; }
.card .photo { background: var(--panel-2); }
.card .photo--empty { border: 0; padding: 16px; }
.card .photo--empty span { font-size: 12px; }
.card-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.card-num { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1; text-transform: uppercase; }
.card p { color: var(--text-soft); flex-grow: 1; }

/* Philosophy (light band) */
.band-light { background: var(--paper); color: var(--ink); }
.band-light a { color: var(--ink); }
.philosophy-head { display: flex; flex-direction: column; gap: 20px; max-width: 820px; margin-bottom: 56px; }
.philosophy-head h2 { font-size: clamp(48px, 6.4vw, 92px); line-height: 0.92; }
.philosophy-head p { font-size: 20px; color: #3D3B37; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px; border-top: 2px solid var(--ink); padding-top: 32px; margin-bottom: 40px; }
.pillar { display: flex; flex-direction: column; gap: 10px; }
.pillar h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; text-transform: uppercase; line-height: 1.1; }
.pillar p { color: #3D3B37; }
.band-light .text-link { font-weight: 700; }

/* Facility */
.facility { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.facility-copy { display: flex; flex-direction: column; gap: 28px; }
.checklist { padding: 0; list-style: none; display: flex; flex-direction: column; }
.checklist li { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist svg { flex: none; stroke: var(--accent); }

/* Instructors */
.role { font-size: 14px; font-weight: 600; color: var(--accent); }
.headshot { background: var(--panel-2); }
.headshot--initials { display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 64px; letter-spacing: 0.04em; color: #4A4A4A; }
.leads { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; align-items: start; margin-bottom: 24px; }
.lead { background: var(--panel); display: flex; flex-direction: column; }
.lead .headshot { aspect-ratio: 4 / 3; }
.lead .headshot img { object-position: center 25%; }
.lead-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.lead h3, .staff-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1; text-transform: uppercase; }
.highlights { list-style: none; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 500; }
.highlights li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--accent); margin: 0 10px 2px 0; }
.record { border-top: 1px solid var(--line); padding-top: 12px; font-size: 15px; }
.record summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.record summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.record h4 { margin: 16px 0 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.record ul { margin: 0; padding-left: 18px; color: var(--text-soft); display: flex; flex-direction: column; gap: 4px; }
.staff { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; }
.staff-card { background: var(--panel); display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; padding: 20px; align-items: start; }
.staff-card .headshot { width: 112px; }
.staff-card .headshot--initials { font-size: 36px; }
.staff-body { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.staff-card h3 { font-size: 24px; }
.teaches { font-size: 13px; color: var(--text-muted); }

/* Pricing / schedule */
.pricing { border-top: 1px solid var(--line); }
.pricing { background: var(--panel); border-top: 0; }
.pricing .wrap { padding-top: 96px; padding-bottom: 96px; }
.pricing .section-head h2 { font-size: clamp(40px, 5vw, 64px); }
.timetable { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); margin-bottom: 64px; }
.day { background: var(--ink); padding: 20px 16px 24px; display: flex; flex-direction: column; gap: 14px; }
.day h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; line-height: 1; }
.day ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.day li { display: flex; flex-direction: column; line-height: 1.3; }
.time { font-size: 13px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.class-name { font-size: 15px; font-weight: 500; }
.pricing-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; align-items: stretch; }
.pricing-intro { display: flex; flex-direction: column; gap: 16px; }
.pricing-intro h2 { font-size: clamp(36px, 4vw, 52px); }
.panel { background: var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.panel-label { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.price { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1; }
.price small { font-size: 20px; font-weight: 600; color: var(--text-muted); }
.schedule-text { color: var(--text-soft); white-space: pre-line; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px 56px; align-items: start; }
.faq-grid > h2 { font-size: clamp(40px, 5vw, 64px); }
.faq-list { grid-column: span 2; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .faq-list { grid-column: auto; } }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 19px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-display); font-size: 32px; font-weight: 600; line-height: 1; color: var(--accent); flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.faq-item p { padding: 0 0 24px; max-width: 680px; }

/* Visit / CTA */
.visit { background: var(--accent); color: var(--ink); }
.visit .wrap { padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: center; }
.visit-copy { display: flex; flex-direction: column; gap: 20px; }
.visit h2 { font-size: clamp(52px, 7vw, 100px); line-height: 0.9; }
.visit-copy p { font-size: 19px; max-width: 480px; }
.visit-card { background: var(--ink); color: var(--paper); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.visit-card .photo { background: var(--panel-2); }
.visit-card .photo--empty { border: 0; padding: 16px; }
.visit-card .photo--empty span { font-size: 12px; }
.visit-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.visit-address { display: flex; flex-direction: column; gap: 4px; }
.visit-address strong { font-weight: 600; font-size: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; color: var(--text-muted); }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: 0.06em; color: var(--paper); line-height: 1; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: flex-start; }
.footer-nav a { padding: 10px 0; }

/* Fallback for any non-front-page content */
.content { padding-top: 64px; padding-bottom: 96px; max-width: 760px; }
.content h1 { font-family: var(--font-display); font-weight: 800; font-size: 56px; text-transform: uppercase; line-height: 1; margin-bottom: 24px; }
.content p { margin-bottom: 1em; }
