/* ============================================================
   deppfitnesscoaching — Design tokens
   Simple, single-accent system: near-black base, one bold blue
   for every action and highlight, white for everything else.
   One color to look for, everywhere it matters.
   ============================================================ */
:root {
  --bg: #0e0f12;
  --bg-elevated: #17181d;
  --bg-elevated-2: #1e2026;
  --fg: #f7f7f7;
  --fg-muted: #9a9ca3;
  --fg-faint: #6b6d74;

  --accent: #3b67e8;
  --accent-hover: #5b82f0;
  --accent-ink: #ffffff;

  --border: rgba(247, 247, 247, 0.1);
  --border-strong: rgba(247, 247, 247, 0.18);

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --wrap: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  z-index: 1000;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

/* ============================================================
   Type helpers
   ============================================================ */
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
}

.accent-text { color: var(--accent); }

.section-lede {
  max-width: 56ch;
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: 3rem;
}

.placeholder-note {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg-faint);
  border-top: 1px dashed var(--border-strong);
  padding-top: 1rem;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--fg);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline {
  border-color: var(--border-strong);
  color: var(--fg);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.btn-block { width: 100%; margin-top: 0.5rem; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(14, 15, 18, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  text-transform: none;
}
.logo-dot { color: var(--accent); }
.logo-sm { font-size: 1.1rem; }

.main-nav {
  display: flex;
  gap: 2rem;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.2s var(--ease);
}
.main-nav a:hover { color: var(--fg); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--fg);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 76px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  display: none;
}
.hero-fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.95) contrast(1.05);
}

/* Below this width there isn't enough horizontal room to split the photo
   from the text without them colliding — fall back to a single full-bleed
   cropped image. Above it, show the whole uncropped photo (cinematic,
   letterboxed) with a blurred ambient copy filling the rest of the frame. */
@media (min-width: 1300px) {
  .hero-bg {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: blur(40px) saturate(0.8) brightness(0.55);
    transform: scale(1.15);
  }
  .hero-fg {
    object-fit: contain;
    object-position: right bottom;
  }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,15,18,0.55) 0%, rgba(14,15,18,0.35) 30%, rgba(14,15,18,0.92) 88%, var(--bg) 100%),
    linear-gradient(90deg, rgba(14,15,18,0.85) 0%, rgba(14,15,18,0.15) 55%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-bottom: 5rem;
  padding-top: 4rem;
}
.hero-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.95;
  max-width: 16ch;
  margin-bottom: 1.5rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.scroll-cue {
  position: absolute;
  right: 1.75rem;
  bottom: 1.75rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
}
.scroll-cue span {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
  position: relative;
  overflow: hidden;
}
.scroll-cue span::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: var(--accent);
  animation: scrollDrip 2.2s ease-in-out infinite;
}
@keyframes scrollDrip {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue { display: none; }
}

/* ============================================================
   Sections (shared)
   ============================================================ */
.section {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}
.section-dark {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   Programs / Cards
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.card-tag {
  position: absolute;
  top: -0.75rem;
  left: 2rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.card-icon {
  width: 48px;
  height: 48px;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.card > p {
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
}
.card-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--fg-muted);
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}
.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

/* ============================================================
   Transformations (client before/after)
   ============================================================ */
.transformation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.transformation-card {
  margin: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
}
.transformation-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   Process ("How It Works")
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.process-step {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-strong);
}
.process-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}
.process-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.process-step p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  margin: 0;
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.testimonial p {
  font-size: 1.02rem;
  margin-bottom: 1.25rem;
}
.testimonial footer {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.price-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  text-align: left;
}
.price-featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(59,103,232,0.12), var(--bg-elevated) 60%);
}
.price-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.price {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.price span:first-child { font-size: 1.4rem; vertical-align: top; color: var(--fg-muted); }
.price-period { font-size: 1rem; color: var(--fg-muted); font-weight: 400; }
.price-card .card-list { margin-top: 1.25rem; margin-bottom: 1.75rem; }
.price-sub {
  margin-top: -1rem;
  margin-bottom: 1.75rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-faint);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
}
