/* Wooten Fitness — brand: black, white, red */
:root {
  --black: #000;
  --ink: #0b0b0c;
  --panel: #151517;
  --line: #2a2a2e;
  --white: #fff;
  --text: #d9d9de;
  --muted: #9a9aa3;
  --red: #e4231f;
  --red-dark: #b81a17;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--white); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.4rem, 7vw, 3.75rem); font-style: italic; font-weight: 800; }
h3 { font-size: 1.6rem; font-weight: 700; letter-spacing: 0.02em; }
p { margin: 0 0 1em; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  color: var(--red);
  font-family: var(--display);
  font-weight: 700; font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 44px; height: 3px; background: var(--red); }

.section { padding: 72px 0; }
.section-alt { background: var(--ink); border-block: 1px solid var(--line); }
.section-lead { max-width: 60ch; color: var(--muted); margin-bottom: 28px; }
.fine-print { font-size: 0.85rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 13px 26px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 2px solid var(--white); outline-offset: 2px;
}
.btn-outline { background: transparent; border-color: var(--white); }
.btn-outline:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.btn-small { padding: 8px 16px; font-size: 1rem; }
.btn[disabled], .btn.is-unavailable {
  background: transparent; border-color: var(--line); color: var(--muted);
  cursor: not-allowed; pointer-events: none; transform: none;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; margin: 0; }
.brand-name { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.7rem; color: var(--white); text-transform: uppercase; line-height: 1; }
.brand-sub { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 0.95rem; color: var(--red); text-transform: uppercase; letter-spacing: 0.3em; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a:not(.btn) {
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--text);
}
.site-nav a:not(.btn):hover { color: var(--red); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(228, 35, 31, 0.16), transparent 60%),
    var(--black);
  padding: 24px 0 64px;
  text-align: center;
}
.hero-logo { width: min(720px, 100%); margin: 0 auto; }
.hero-lead { font-size: 1.2rem; max-width: 46ch; margin: 0 auto 28px; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* About */
.about-grid { display: grid; gap: 36px; align-items: start; }
.about-tagline {
  font-family: var(--display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); line-height: 1.25;
}
.about-motto {
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.7rem;
  text-transform: uppercase; color: var(--white); line-height: 1.1;
  border-left: 4px solid var(--red); padding-left: 14px; margin: 1.2em 0;
}
@media (min-width: 800px) { .about-grid { grid-template-columns: 5fr 7fr; gap: 56px; } }
.about-photo {
  aspect-ratio: 3 / 4; width: 100%; max-width: 460px; margin-inline: auto;
  background: repeating-linear-gradient(135deg, #151517 0 14px, #1b1b1e 14px 28px);
  border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--muted); font-family: var(--display); letter-spacing: 0.2em; text-transform: uppercase;
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.cred-list { list-style: none; padding: 0; margin: 20px 0 0; }
.cred-list li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; }
.cred-list li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 14px; height: 3px; background: var(--red); }

/* Cards */
.card-grid { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 800px) { .card-grid.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .card-grid.two { grid-template-columns: repeat(2, 1fr); } }

.panel, .price-card, .quote-card, .download-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.price-card li { padding: 9px 0; border-top: 1px solid var(--line); }
.price { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 3rem; color: var(--white); line-height: 1; margin-bottom: 18px; }
.price span { font-size: 1rem; font-style: normal; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; margin-left: 6px; text-transform: uppercase; }
.badge {
  position: absolute; top: -13px; left: 24px; margin: 0;
  background: var(--red); color: var(--white);
  font-family: var(--display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 3px;
}

/* Results */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.stat { border-top: 3px solid var(--red); padding-top: 14px; }
.stat strong { display: block; font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(2rem, 7vw, 3.5rem); color: var(--white); line-height: 1; }
.stat span { color: var(--muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; }
.quote-card { margin: 0; position: relative; }
.quote-card blockquote { margin: 0 0 16px; font-size: 1.05rem; }
.quote-card figcaption { color: var(--muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; }
.sample-tag {
  display: inline-block; margin-bottom: 12px;
  border: 1px dashed var(--muted); color: var(--muted);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 2px 8px; border-radius: 3px;
}

/* Forms */
.field { display: block; margin-bottom: 18px; flex: 1; min-width: 0; }
.field > span { display: block; font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.field-row { display: flex; gap: 16px; }
@media (max-width: 560px) { .field-row { flex-direction: column; gap: 0; } }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  background: var(--black); color: var(--white);
  border: 1px solid #3a3a40; border-radius: var(--radius);
  padding: 12px 14px;
  font: inherit; font-size: 16px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 2px rgba(228, 35, 31, 0.35); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
::placeholder { color: #6d6d76; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; font-size: 0.95rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--red); flex: none; }
.check.invalid span { color: #ff8a87; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-error {
  background: rgba(228, 35, 31, 0.12); border: 1px solid var(--red); border-radius: var(--radius);
  color: #ffd1cf; padding: 12px 14px; font-size: 0.95rem;
}

/* Calculator */
.calc-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 860px) { .calc-grid { grid-template-columns: 1fr 1fr; } }
.calc-result { border-top: 4px solid var(--red); }
.calc-label { color: var(--muted); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.85rem; margin-bottom: 4px; }
.calc-calories { font-size: 1.1rem; color: var(--muted); }
.calc-calories strong { font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(3.5rem, 12vw, 5rem); color: var(--white); line-height: 1; margin-right: 6px; }
.macro-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 22px; }
.macro-tile { background: var(--black); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px; text-align: center; }
.macro-tile strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.8rem; color: var(--white); line-height: 1.1; }
.macro-tile span { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; }
.calc-result.is-empty .calc-calories strong, .calc-result.is-empty .macro-tile strong { color: #4a4a52; }

/* Downloads */
.download-feature {
  display: grid; gap: 28px; align-items: center; margin-top: 28px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
@media (min-width: 720px) { .download-feature { grid-template-columns: 300px 1fr; padding: 28px; gap: 40px; } }
.download-feature img { border-radius: var(--radius); width: 100%; }
.download-card { display: flex; flex-direction: column; }
.download-card p { color: var(--muted); flex: 1; }

/* Questionnaire */
.progress { height: 6px; background: var(--black); border-radius: 3px; overflow: hidden; }
.progress-bar { height: 100%; width: 16.6%; background: var(--red); transition: width 0.25s; }
.step-count { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 10px 0 18px; }
fieldset.step { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.step legend {
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: 2rem;
  color: var(--white); text-transform: uppercase; padding: 0; margin-bottom: 18px;
}
.form-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; }
.form-nav #btn-back { margin-right: auto; }
.form-success { border-top: 4px solid var(--red); text-align: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.tagline { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; margin: 6px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--text); text-decoration: none; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.9rem; }
.footer-links a:hover { color: var(--red); }

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