/* =============================================================
   OPERATOR-GRADE COACHING — Design System
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Bebas+Neue&family=Inter:wght@400;500;600;700;900&display=swap');

:root {
  /* Core palette — industrial work-truck */
  --ink:        #0d0f12;          /* near-black, the dominant */
  --ink-2:      #16191f;          /* card surfaces */
  --ink-3:      #1f242c;          /* borders, dividers */
  --steel:      #2a313b;
  --concrete:   #8a929e;          /* secondary text */
  --bone:       #e8e6e1;          /* primary text on dark */
  --paper:      #f4f1eb;          /* off-white sections */
  --paper-2:    #ebe6dc;
  --rule:       #d4cdbf;          /* dividers on paper */

  /* Single accent — work-truck orange */
  --hi:         #ff6a00;
  --hi-dim:     #c95400;

  /* Type */
  --display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --body:    'Inter', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --max:    1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--bone);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

/* =============================================================
   NAV
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 15, 18, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-3);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--bone);
}
.brand-mark {
  width: 32px; height: 32px;
  background: var(--hi);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-weight: 700; font-size: 13px;
  color: var(--ink);
  transform: skewX(-8deg);
}
.brand-mark span { transform: skewX(8deg); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.nav-links a {
  color: var(--concrete);
  transition: color 0.15s;
  padding: 8px 0;
  position: relative;
}
.nav-links a:hover { color: var(--bone); }
.nav-links a.active { color: var(--bone); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--hi);
}

.nav-cta {
  padding: 10px 20px;
  background: var(--hi);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.15s;
}
.nav-cta:hover { background: #ff7d1f; }

.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: block;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--bone);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--ink-3);
    padding: 8px 14px;
  }
  .nav.open .nav-links,
  .nav.open .nav-cta {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ink-2);
    flex-direction: column;
    padding: 24px var(--gutter);
    gap: 18px;
    border-bottom: 1px solid var(--ink-3);
  }
  .nav.open .nav-cta { text-align: center; justify-content: center; }
}

/* =============================================================
   PRIMITIVES
   ============================================================= */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.15s;
  cursor: pointer;
}
.btn-primary {
  background: var(--hi);
  color: var(--ink);
}
.btn-primary:hover { background: #ff7d1f; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--ink-3);
}
.btn-ghost:hover { border-color: var(--bone); }
.btn-arrow::after {
  content: '→';
  font-family: var(--mono);
  font-weight: 700;
  transition: transform 0.15s;
}
.btn:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(4px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--hi);
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--hi);
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.005em; line-height: 1.02; }
.h-display {
  font-family: var(--display);
  font-size: clamp(56px, 10vw, 152px);
  line-height: 0.92;
  letter-spacing: -0.005em;
}
.h-section {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.95;
}
.h-card {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.02;
}

.lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--concrete);
  max-width: 60ch;
}

/* Section paddings */
section { padding: clamp(72px, 10vw, 140px) 0; }

/* Paper sections (light) */
.paper {
  background: var(--paper);
  color: var(--ink);
}
.paper .lead { color: #4a525d; }
.paper .eyebrow { color: var(--hi-dim); }
.paper .eyebrow::before { background: var(--hi-dim); }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  padding-top: clamp(80px, 10vw, 120px);
  padding-bottom: clamp(80px, 10vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 106, 0, 0.08), transparent 50%),
    repeating-linear-gradient(135deg, transparent 0, transparent 24px, rgba(255,255,255,0.012) 24px, rgba(255,255,255,0.012) 25px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 64px;
  align-items: end;
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero h1 .accent { color: var(--hi); }
.hero h1 .strike { display: inline-block; position: relative; }
.hero h1 .strike::after {
  content: ''; position: absolute;
  left: -4px; right: -4px;
  top: 48%;
  height: 6px;
  background: var(--hi);
  transform: rotate(-2deg);
}
.hero-meta {
  display: grid;
  gap: 24px;
  padding-top: 12px;
}
.hero-stat {
  border-left: 2px solid var(--hi);
  padding-left: 16px;
}
.hero-stat .n {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
  color: var(--bone);
}
.hero-stat .l {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--concrete);
  margin-top: 6px;
}

.hero-ctas {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* =============================================================
   TICKER / STRIP
   ============================================================= */
.strip {
  background: var(--ink-2);
  border-top: 1px solid var(--ink-3);
  border-bottom: 1px solid var(--ink-3);
  padding: 24px 0;
  overflow: hidden;
}
.strip-inner {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 28px;
  color: var(--concrete);
  animation: scroll 40s linear infinite;
}
.strip-inner span { display: inline-flex; align-items: center; gap: 56px; }
.strip-inner span::after {
  content: '◆';
  color: var(--hi);
  font-size: 14px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================================
   CARDS / GRIDS
   ============================================================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 880px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--hi); }
.card .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--hi);
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 12px; color: var(--bone); }
.card p { color: var(--concrete); }

.paper .card {
  background: #fff;
  border: 1px solid var(--rule);
}
.paper .card h3 { color: var(--ink); }
.paper .card p { color: #4a525d; }

/* =============================================================
   PHASE / WEEK LIST
   ============================================================= */
.phase-block { margin-bottom: 64px; }
.phase-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}
.phase-header .phase-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hi-dim);
}
.phase-header h2 { font-size: clamp(36px, 5vw, 56px); }

.week-list { display: grid; gap: 0; }
.week-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.week-row:last-child { border-bottom: none; }
.week-row .w-num {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  color: var(--ink);
}
.week-row .w-num .label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--concrete);
  margin-bottom: 4px;
  font-weight: 500;
}
.week-row h3 {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 8px;
  color: var(--ink);
}
.week-row p { color: #4a525d; max-width: 65ch; }
.week-row .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hi-dim);
  border: 1px solid var(--hi-dim);
  padding: 6px 10px;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .week-row { grid-template-columns: 1fr; gap: 8px; }
  .week-row .w-num { font-size: 44px; }
  .week-row .tag { justify-self: start; }
}

/* =============================================================
   PULL QUOTE / CALLOUT
   ============================================================= */
.callout {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(48px, 7vw, 96px) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.callout::before, .callout::after {
  content: '"';
  position: absolute;
  font-family: var(--display);
  font-size: 280px;
  line-height: 1;
  color: var(--hi);
  opacity: 0.18;
}
.callout::before { top: -40px; left: 4%; }
.callout::after { bottom: -120px; right: 4%; transform: scaleX(-1); }
.callout-text {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.05;
  max-width: 24ch;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.callout-text .accent { color: var(--hi); }
.callout-attr {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete);
}

/* =============================================================
   FAQ
   ============================================================= */
.faq-item {
  border-bottom: 1px solid var(--ink-3);
  padding: 28px 0;
}
.paper .faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  color: var(--bone);
  letter-spacing: 0.005em;
}
.paper .faq-q { color: var(--ink); }
.faq-q .plus {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--hi);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--concrete);
}
.paper .faq-a { color: #4a525d; }
.faq-item.open .faq-a {
  max-height: 500px;
  padding-top: 16px;
}

/* =============================================================
   CTA BLOCK
   ============================================================= */
.cta-block {
  background: var(--hi);
  color: var(--ink);
  padding: clamp(56px, 8vw, 120px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0, transparent 60px,
    rgba(0,0,0,0.04) 60px, rgba(0,0,0,0.04) 61px
  );
}
.cta-block-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) {
  .cta-block-inner { grid-template-columns: 1fr; }
}
.cta-block h2 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.96;
  max-width: 18ch;
}
.cta-block .btn-primary {
  background: var(--ink);
  color: var(--hi);
  padding: 20px 36px;
  font-size: 14px;
}
.cta-block .btn-primary:hover { background: #1a1d22; }

/* =============================================================
   FOOTER
   ============================================================= */
footer {
  background: var(--ink);
  border-top: 1px solid var(--ink-3);
  padding: 64px 0 32px;
  color: var(--concrete);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--ink-3);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-grid h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone);
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { transition: color 0.15s; }
.footer-grid a:hover { color: var(--bone); }
.footer-bottom {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.footer-brand-line {
  max-width: 38ch;
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  text-transform: none;
  letter-spacing: 0;
  color: var(--concrete);
  margin-top: 14px;
}

/* =============================================================
   PAGE HEADER (for sub-pages)
   ============================================================= */
.page-header {
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--ink-3);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 50%, rgba(255, 106, 0, 0.07), transparent 50%);
  pointer-events: none;
}
.page-header .container { position: relative; }
.page-header h1 {
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.94;
  margin-top: 18px;
  max-width: 14ch;
}
.page-header h1 .accent { color: var(--hi); }
.page-header .lead { margin-top: 32px; }

/* =============================================================
   DIAGNOSTIC / METRICS
   ============================================================= */
.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.metric-row > div {
  background: var(--paper);
  padding: 28px 24px;
}
.metric-row .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hi-dim);
  margin-bottom: 10px;
}
.metric-row .value {
  font-family: var(--display);
  font-size: 36px;
  line-height: 1;
  color: var(--ink);
}
.metric-row .sub {
  font-size: 13px;
  color: #4a525d;
  margin-top: 8px;
}
@media (max-width: 880px) {
  .metric-row { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   ABOUT / SPLIT
   ============================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split-art {
  position: relative;
  aspect-ratio: 4/5;
  background:
    linear-gradient(135deg, var(--ink-2) 0%, var(--ink) 100%);
  border: 1px solid var(--ink-3);
  overflow: hidden;
}
.split-art::before {
  content: 'CC';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: clamp(180px, 24vw, 320px);
  color: var(--hi);
  opacity: 0.15;
  letter-spacing: -0.04em;
}
.split-art .badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  border-top: 1px solid var(--ink-3);
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.split-art .badge .v { color: var(--hi); }

.prose p { margin-bottom: 20px; color: #4a525d; line-height: 1.65; }
.paper .prose p { color: #4a525d; }
.prose p.lede {
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 28px;
}

/* =============================================================
   FORM (book a call)
   ============================================================= */
.form-wrap {
  max-width: 620px;
  margin: 0 auto;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  padding: clamp(28px, 5vw, 56px);
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--hi);
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--ink-3);
  color: var(--bone);
  font-family: var(--body);
  font-size: 16px;
  padding: 14px 16px;
  transition: border-color 0.15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--hi);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row .hint {
  font-size: 13px;
  color: var(--concrete);
  margin-top: 6px;
}
.form-row.required label::after {
  content: ' *';
  color: var(--hi);
}
.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row.two > div { margin: 0; }
@media (max-width: 600px) { .form-row.two { grid-template-columns: 1fr; } }

.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--hi);
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background 0.15s;
  cursor: pointer;
}
.form-submit:hover { background: #ff7d1f; }

.form-success {
  display: none;
  padding: 24px;
  background: rgba(255,106,0,0.08);
  border: 1px solid var(--hi);
  color: var(--bone);
  text-align: center;
  margin-top: 20px;
}
.form-success.show { display: block; }

/* =============================================================
   MISC
   ============================================================= */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ink-3);
}
.paper .divider::before,
.paper .divider::after { background: var(--rule); }
.divider span {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--concrete);
}

.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  color: var(--concrete);
  font-size: 16px;
  line-height: 1.5;
}
.paper .checklist li { color: #4a525d; }
.checklist li::before {
  content: '→';
  font-family: var(--mono);
  color: var(--hi);
  font-weight: 700;
  margin-top: 2px;
}

/* fade-in on scroll-ish */
[data-anim] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-anim].in { opacity: 1; transform: translateY(0); }
