/* ===== Fonts (self-hosted, no external requests) ===== */
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62.5% 125%;
  font-style: normal;
  font-display: swap;
}

/* ===== Theme ===== */
:root {
  --bg: #0d0d0f;
  --surface: #17171b;
  --surface-2: #1f1f25;
  --border: #2a2a31;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #c8b880;
  --accent-hover: #dccca0;
  --accent-ink: #0d0d0f;
  --max-width: 1120px;
  --pad: 1.25rem;
  --font: "Archivo", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gold-2: #a89068;
  --gold-3: #786850;
}

/* ===== Reset / base ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 5rem 0; }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  font-weight: 800;
  font-stretch: 125%;
}
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
}
/* Signature "speed mark" (echoes the logo's stacked gold stripes) lives only
   on the coaching cards, where it replaced the numbered markers. */
.eyebrow + .section-title { margin-top: 0.5rem; margin-bottom: 2.5rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--ghost:hover { border-color: var(--text); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 13, 15, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { height: 40px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a { text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.site-nav a:hover { color: var(--text); }
.site-nav .nav-cta { color: var(--accent-ink); }
.nav-toggle { display: none; }

/* ===== Mobile nav ===== */
@media (max-width: 800px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 26px; height: 2px; background: var(--text); }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 0.5rem var(--pad) 1.25rem;
    display: none;
  }
  .site-nav a { padding: 0.75rem 0; width: 100%; }
  body.nav-open .site-nav { display: flex; }
}

/* ===== Hero ===== */
.hero { position: relative; min-height: calc(100vh - 68px); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,13,15,0.92) 0%, rgba(13,13,15,0.75) 45%, rgba(13,13,15,0.45) 100%),
    linear-gradient(0deg, rgba(13,13,15,0.9) 0%, rgba(13,13,15,0) 55%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 4rem; padding-bottom: 4rem; }
.hero-title {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  line-height: 0.94; text-transform: uppercase; letter-spacing: 0.005em;
  font-weight: 900; font-stretch: 125%; margin: 0.75rem 0 1rem;
}
.hero-sub { max-width: 40ch; color: var(--muted); font-size: 1.15rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* ===== Metrics ===== */
.metrics { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.metrics-grid { display: grid; grid-template-columns: repeat(2, 1fr); text-align: center; padding: 2.5rem 0; gap: 1.5rem; max-width: 640px; margin: 0 auto; }
.metric { display: flex; flex-direction: column; gap: 0.35rem; }
.metric-num { font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 900; font-stretch: 125%; color: var(--accent); }
.metric-label { color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }
@media (max-width: 640px) { .metrics-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ===== Coaching / Process ===== */
.section--alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 2rem 1.75rem; }
.section--alt .card { background: var(--bg); }
.card-mark {
  display: block;
  width: 42px;
  height: 18px;
  margin-bottom: 0.25rem;
  background:
    linear-gradient(var(--accent) 0 0) left top / 42px 4px no-repeat,
    linear-gradient(var(--gold-2) 0 0) left 7px / 30px 4px no-repeat,
    linear-gradient(var(--gold-3) 0 0) left 14px / 19px 4px no-repeat;
}
.card h3 { margin: 0.75rem 0 0.5rem; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.25rem; }
.card p { color: var(--muted); }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 900; font-size: 1.2rem;
}
.step h3 { margin: 0.85rem 0 0.4rem; text-transform: uppercase; font-size: 1.1rem; }
.step p { color: var(--muted); }

@media (max-width: 900px) { .card-grid, .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .card-grid, .steps { grid-template-columns: 1fr; } }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: center; }
.about-photo img { width: 100%; border: 1px solid var(--border); border-radius: 4px; }
.about-body p { color: var(--muted); margin-top: 1rem; }
.about-body .section-title { margin: 0.5rem 0 0.5rem; }

/* ===== Education ===== */
.philosophy { max-width: 65ch; }
.philosophy p { color: var(--muted); font-size: 1.1rem; }
.philosophy p + p { margin-top: 1rem; }

.credentials { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.cred {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.section--alt .cred { background: var(--bg); }
.cred summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.cred summary::-webkit-details-marker { display: none; }
.cred summary:hover { color: var(--accent-hover); }
.cred-title { font-size: 1.15rem; }

/* Plus/minus affordance drawn from two bars; the vertical bar hides on open. */
.cred-icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}
.cred-icon::before,
.cred-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 1px;
}
.cred-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.cred-icon::after {
  top: 0; left: 7px; width: 2px; height: 16px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.cred[open] .cred-icon::after { transform: scaleY(0); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .cred-icon::after { transition: none; } }

/* Smoothly expand/collapse where supported; older browsers snap open (still works). */
:root { interpolate-size: allow-keywords; }
.cred::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.28s ease, content-visibility 0.28s allow-discrete;
}
.cred[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { .cred::details-content { transition: none; } }

.cred-body { padding: 0 1.5rem 1.5rem; }
.cred-block + .cred-block { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--border); }
.cred-name { text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.05rem; }
.cred-sub { color: var(--accent); font-weight: 600; margin-top: 0.15rem; }
.cred-sub em { color: var(--muted); font-weight: 400; }
.cred-list { list-style: none; padding: 0; margin: 0.85rem 0 0; }
.cred-list li { position: relative; padding-left: 1.25rem; color: var(--muted); }
.cred-list li + li { margin-top: 0.5rem; }
.cred-list li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 6px; height: 6px; border-radius: 1px; background: var(--accent);
}
.cred-list--cols { columns: 2; column-gap: 2rem; }
.cred-list--cols li { break-inside: avoid; }
@media (max-width: 560px) { .cred-list--cols { columns: 1; } }

.cv-download { margin-top: 1.75rem; }

/* ===== Results / Quotes ===== */
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.quote { background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 4px; padding: 1.75rem; margin: 0; }
.quote p { font-size: 1.05rem; }
.quote p + p { margin-top: 1rem; }
.quote cite { display: block; margin-top: 1rem; color: var(--muted); font-style: normal; font-size: 0.9rem; }

@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } .quote-grid { grid-template-columns: 1fr; } }

/* ===== Gallery ===== */
.gallery-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.gallery-grid figure { flex: 0 1 calc((100% - 2rem) / 3); min-width: 0; margin: 0; position: relative; border-radius: 4px; overflow: hidden; border: 1px solid var(--border); }
.gallery-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.3s ease; }
.gallery-grid img.focus-top { object-position: center 28%; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.85rem 1rem; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  color: var(--text);
}
@media (prefers-reduced-motion: reduce) { .gallery-grid figure:hover img { transform: none; } }
@media (max-width: 800px) { .gallery-grid figure { flex-basis: calc((100% - 1rem) / 2); } }
@media (max-width: 480px) { .gallery-grid figure { flex-basis: 100%; } }

/* ===== Contact ===== */
.contact { text-align: center; }
.contact-inner { max-width: 640px; margin: 0 auto; }
.contact .section-title { margin: 0.5rem 0 1rem; }
.contact-sub { color: var(--muted); margin-bottom: 2rem; font-size: 1.1rem; }
.contact-note { margin-top: 1.25rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; }
.contact-links { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.contact-links a { color: var(--muted); }
.contact-links a:hover { color: var(--accent); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 2.5rem 0; }
.footer-logo { height: 34px; width: auto; display: block; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a { color: var(--muted); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.06em; }
.footer-nav a:hover { color: var(--text); }
.footer-meta { color: var(--muted); font-size: 0.85rem; width: 100%; }
