/* Kingsland Fitness Academy — Train With Me
   Dark theme, gold accents. Fully self-contained: no external fonts,
   no external stylesheets, no embeds.
   Single-column layout: everything funnels straight down the middle. */

* { box-sizing: border-box; }

:root {
  --bg: #0b0b09;
  --bg-2: #141412;
  --card: #1a1a17;
  --card-2: #23231e;
  --line: #33332b;
  --ink: #f5f1e6;
  --muted: #b9b4a5;
  --muted-2: #8f8a7c;
  --gold: #d9ad31;
  --gold-bright: #f1ca58;
  --gold-ink: #241c05;
  --shadow: 0 18px 48px rgba(0, 0, 0, .45);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(720px, calc(100% - 40px)); margin-inline: auto; }

/* Brand watermark: sits behind all content, faint and fixed. */
.brand-watermark {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(130vw, 1100px) auto;
  opacity: .28;
  filter: brightness(1.5);
}
main, footer { position: relative; z-index: 1; }

h1, h2, h3 {
  margin-top: 0;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  line-height: .98;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: 18px; }
h3 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 12px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section { padding: 96px 0; }
.section-lede { color: var(--muted); font-size: 1.05rem; max-width: 680px; }

/* Buttons */
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 800;
  text-decoration: none;
  transition: background .18s ease;
}
.btn:hover, .btn:focus-visible { background: var(--gold-bright); }
.btn-large { width: 100%; min-height: 72px; font-size: 1.4rem; }

.text-link { color: var(--gold); font-weight: 800; text-underline-offset: 4px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 11, 9, .94);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 14px;
}
.brand {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--gold); }
.main-nav { display: flex; gap: 20px; margin-left: auto; }
.main-nav a { color: var(--muted); font-weight: 600; text-decoration: none; font-size: .95rem; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--gold); }

/* Hero — blurred video backdrop, sharp video centered, brand larger than headline */
.hero { background: #000; }
.hero-content { padding-block: 56px 72px; text-align: center; }
.hero-media {
  position: relative;
  height: min(560px, 72svh);
  margin: 0 auto 24px;
  overflow: hidden;
}
.hero-video-blur {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  filter: blur(24px) brightness(.55);
}
.hero-video {
  position: relative;
  z-index: 1;
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #000;
}
.hero-content .eyebrow {
  font-size: clamp(1.7rem, 5vw, 2.9rem);
  letter-spacing: .06em;
  line-height: 1.15;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 4.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.04em;
}
.hero-sub { margin: 0 auto 30px; max-width: 560px; color: #ddd7c8; font-size: clamp(1rem, 1.8vw, 1.25rem); }
.sound-toggle {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 auto 36px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font: 700 .9rem/1 "Segoe UI", Arial, sans-serif;
  cursor: pointer;
}
.sound-toggle:hover, .sound-toggle:focus-visible { border-color: var(--gold); color: var(--gold); }

/* Bio */
.bio-card {
  padding: 44px 48px;
  background: var(--card);
  border: 1px solid var(--gold);
  border-top-width: 4px;
  box-shadow: var(--shadow);
}
.bio-text { font-size: 1.08rem; color: #ddd7c8; }
.bio-text:last-child { margin-bottom: 0; }

/* How it works */
.how { border-top: 1px solid var(--line); }
.steps {
  counter-reset: step;
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.steps li {
  display: grid;
  gap: 6px;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  color: var(--gold);
  font-weight: 800;
  font-size: 1.6rem;
}
.steps strong { font-size: 1.1rem; }
.steps span { color: var(--muted); }

/* Plans */
.plans { background: var(--bg-2); border-block: 1px solid var(--line); }
.plan-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
.plan {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.plan.featured { border-color: var(--gold); }
.plan-tag {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.plan-desc { color: var(--muted); margin-top: 0; }
.plan ul { margin: 8px 0 26px; padding: 0; list-style: none; display: grid; gap: 10px; color: #ddd7c8; font-size: .94rem; }
.plan li { display: grid; grid-template-columns: 14px 1fr; gap: 9px; }
.plan li::before { content: ""; width: 8px; height: 8px; margin-top: 7px; background: var(--gold); }
.plans-cta { margin-top: 36px; }

/* Extras */
.extras { border-top: 1px solid var(--line); }
.extras-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
.extra-card { padding: 30px; background: var(--card); border: 1px solid var(--line); }
.extra-card h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
.extra-card p { color: var(--muted); }

/* Schedule */
.schedule-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
.schedule-card { padding: 34px; background: var(--card); border: 1px solid var(--line); }
.schedule-card.dark { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.schedule-card p { color: var(--muted); }
.schedule-card.dark p { color: #3d3206; }
.schedule-card.dark .text-link { color: var(--gold-ink); }
.meta { margin: 26px 0 0; display: grid; gap: 18px; }
.meta div { display: grid; gap: 2px; }
.meta dt { font-weight: 800; color: var(--gold); }
.meta dd { margin: 0; color: #ddd7c8; }

/* Closer */
.closer { padding: 110px 0; background: var(--gold); color: var(--gold-ink); }
.closer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.closer blockquote { margin: 0; font: italic 800 clamp(2.8rem, 7vw, 6rem)/.95 "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif; letter-spacing: -.03em; text-transform: uppercase; }
.closer-copy { max-width: 560px; }
.closer-copy p { font-weight: 650; }
.closer-copy .text-link { color: var(--gold-ink); }

/* Footer */
.footer { padding: 44px 0 calc(44px + env(safe-area-inset-bottom)); background: #080807; color: var(--muted); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.footer p { margin: 0 0 6px; font-size: .9rem; }
.footer-brand { color: var(--ink); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.footer-phone { color: var(--gold); font-weight: 700; text-decoration: none; }
.footer-note { font-size: .8rem; color: var(--muted-2); }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid #45463c;
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}
.social a:hover, .social a:focus-visible { border-color: var(--gold); }

/* Responsive */
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { margin-left: 0; order: 3; width: 100%; }
}

@media (max-width: 700px) {
  .wrap { width: min(100% - 28px, 720px); }
  .section { padding: 72px 0; }
  .hero-content { padding-block: 40px 56px; }
  .bio-card { padding: 30px 24px; }
  .schedule-card { padding: 28px 24px; }
  .closer { padding: 78px 0; }
}

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