/* ═══════════════════════════════════════════════════════
   MANTLEWAY · pilot.css
   Dedicated /pilot page. Loads AFTER main.css so it overrides
   where needed and extends where it doesn't.
   ═══════════════════════════════════════════════════════ */

.page-pilot main { position: relative; }

/* Shared section-head styling on this page */
.pilot-section-head {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding-top: 40px;
  border-top: 1px solid var(--rule-hi);
}
.pilot-section-head .section-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 24px;
}
.pilot-section-head .section-index .num {
  display: inline-block;
  color: var(--ember);
  font-size: 14px;
  margin-right: 10px;
}
.pilot-section-head .section-title {
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--bone);
  margin: 0;
  max-width: 900px;
}
.pilot-section-head .section-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--ember);
}
.pilot-section-head .section-sub {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--bone-soft);
  margin: 20px 0 0;
  max-width: 720px;
  font-weight: 400;
}

/* ═══════════════ PILOT HERO ═══════════════ */
.pilot-hero {
  padding: 120px 40px 100px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.pilot-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 300px;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(255, 87, 34, 0.08) 0%, transparent 100%);
  pointer-events: none;
}
.pilot-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.pilot-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  margin-bottom: 48px;
  transition: color 0.2s;
}
.pilot-crumb:hover { color: var(--ember); }
.pilot-crumb-arrow {
  font-size: 14px;
  transition: transform 0.25s;
}
.pilot-crumb:hover .pilot-crumb-arrow { transform: translateX(-3px); }

.pilot-hero-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.pilot-hero-tag::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--ember);
}

.pilot-hero-title {
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 300;
  color: var(--bone);
  margin: 0 0 36px;
}
.pilot-hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--ember);
}

.pilot-hero-lede {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--bone-soft);
  margin: 0 0 56px;
  max-width: 760px;
  font-weight: 400;
}

/* ─── Headline terms: four cells in a grid ─── */
.pilot-hero-terms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule-hi);
  border: 1px solid var(--rule-hi);
  margin-bottom: 56px;
}
.term-cell {
  background: var(--ink);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.term-cell-accent {
  background: rgba(255, 87, 34, 0.06);
}
.term-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}
.term-cell-accent .term-label { color: var(--molten); }
.term-value {
  font-family: var(--serif);
  color: var(--bone);
  line-height: 1;
}
.term-value strong {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--ember);
}
.term-cell-accent .term-value strong { color: var(--molten); }
.term-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
  line-height: 1.4;
  text-transform: uppercase;
}

.pilot-hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* ═══════════════ TIMELINE ═══════════════ */
.pilot-timeline {
  padding: 100px 40px;
  background: var(--obsidian);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
/* Vertical rail running down the left side of the marker column */
.timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 137px;
  width: 1px;
  background: var(--rule-hi);
}

.timeline-week {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  margin-bottom: 72px;
  position: relative;
}
.timeline-week:last-child { margin-bottom: 0; }

.week-marker {
  position: relative;
  padding-top: 4px;
}
.week-num {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.week-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--obsidian);
  border: 2px solid var(--ember);
  position: absolute;
  left: 131px;
  top: 4px;
  z-index: 2;
}
.week-dot-final {
  background: var(--ember);
  box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.15);
}

.week-body h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--bone);
  margin: 0 0 14px;
}

.week-lede {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--bone-soft);
  margin: 0 0 24px;
  max-width: 760px;
  font-weight: 400;
}

.week-activities {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.week-activities li {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
  color: var(--bone-soft);
  padding: 10px 0 10px 28px;
  position: relative;
  border-top: 1px dashed var(--rule);
  font-weight: 400;
}
.week-activities li:last-child { border-bottom: 1px dashed var(--rule); }
.week-activities li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 16px;
  height: 1px;
  background: var(--teal-bright);
}

.week-deliverable {
  margin-top: 24px;
  padding: 18px 22px;
  background: rgba(30, 77, 82, 0.15);
  border-left: 2px solid var(--teal-bright);
  font-family: var(--serif);
  font-size: 15px;
  color: var(--bone);
  line-height: 1.5;
  font-weight: 400;
}
.week-deliverable-tick {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 6px;
  font-weight: 500;
}

/* ═══════════════ WHAT YOU KEEP ═══════════════ */
/* Ownership manifest. Sits at the end of the 30-day timeline section. */
/* The single most psychologically heavy block on the page — converts the */
/* pilot from "a bet on Mantleway" to "a thing we own either way." */
.what-you-keep {
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 52px 48px 48px;
  background: linear-gradient(135deg, rgba(20, 53, 58, 0.22) 0%, rgba(13, 17, 20, 0.4) 100%);
  border: 1px solid var(--rule-hi);
  position: relative;
}
.what-you-keep::before {
  content: '';
  position: absolute;
  top: 0; left: 40px;
  width: 60px; height: 3px;
  background: var(--ember);
}

.wyk-head {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.wyk-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 16px;
  font-weight: 500;
}
.wyk-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--bone);
  margin: 0 0 16px;
  max-width: 800px;
}
.wyk-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--ember);
}
.wyk-sub {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  color: var(--bone-soft);
  margin: 0;
  max-width: 760px;
  font-weight: 400;
}

.wyk-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
}
.wyk-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 24px 24px 24px 20px;
  background: rgba(13, 17, 20, 0.5);
  border: 1px solid var(--rule);
  align-items: start;
  transition: border-color 0.25s;
}
.wyk-item:hover { border-color: var(--teal-bright); }
.wyk-item-accent {
  background: rgba(255, 87, 34, 0.08);
  border-color: rgba(255, 87, 34, 0.35);
}
.wyk-item-accent:hover { border-color: var(--ember); }

.wyk-idx {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--teal-bright);
  padding: 5px 10px;
  border: 1px solid var(--teal);
  background: rgba(20, 53, 58, 0.3);
  line-height: 1;
  align-self: start;
  white-space: nowrap;
}
.wyk-item-accent .wyk-idx {
  color: var(--ember);
  border-color: rgba(255, 87, 34, 0.4);
  background: rgba(255, 87, 34, 0.1);
}
.wyk-item h4 {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--bone);
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.wyk-item p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--bone-soft);
  margin: 0;
  font-weight: 400;
}

@media (max-width: 960px) {
  .what-you-keep {
    margin: 48px 0 0;
    padding: 36px 24px;
  }
  .wyk-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .wyk-item { padding: 20px; }
}

/* ═══════════════ SAMPLE DELIVERABLE DOC ═══════════════ */
.pilot-sample {
  padding: 100px 40px;
  background: var(--ink);
}

.sample-doc {
  max-width: 1100px;
  margin: 0 auto;
  background: #f4efe3;
  color: #1a1814;
  border: 1px solid var(--rule-hi);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.sample-header {
  padding: 32px 40px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  border-bottom: 2px solid #1a1814;
}
.sample-stamp {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #8a6d3b;
  margin-bottom: 10px;
}
.sample-title {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 500;
  color: #1a1814;
  letter-spacing: -0.02em;
  margin: 0;
}
.sample-header-right {
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
}
.sample-meta-label {
  display: block;
  color: #8a6d3b;
  margin-bottom: 4px;
}
.sample-meta-val {
  color: #1a1814;
  font-weight: 500;
}

.sample-redacted-band {
  background: repeating-linear-gradient(45deg, #c8451c 0px, #c8451c 10px, #1a1814 10px, #1a1814 20px);
  padding: 10px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #f4efe3;
  font-weight: 600;
  text-shadow: 0 0 4px rgba(0,0,0,0.8);
}

.sample-grid {
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
}
.sample-section-wide { grid-column: 1 / -1; }
.sample-section h4 {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: #1a1814;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #c7bda8;
}
.sample-section p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
  color: #302a20;
  margin: 0;
}

.sample-kv {
  display: grid;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.sample-kv > div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted #c7bda8;
  padding-bottom: 6px;
}
.sample-kv > div > span:first-child {
  color: #8a6d3b;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
}
.sample-kv > div > span:last-child { color: #1a1814; font-weight: 500; }

.sample-findings {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--serif);
}
.sample-findings li {
  padding: 12px 0;
  font-size: 15px;
  line-height: 1.5;
  color: #302a20;
  border-bottom: 1px dashed #c7bda8;
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.sample-findings li:last-child { border-bottom: 0; }
.finding-tick {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px 8px;
  white-space: nowrap;
  font-weight: 600;
  flex-shrink: 0;
}
.finding-green { background: #2d6b2d; color: #f4efe3; }
.finding-amber { background: #b8861a; color: #f4efe3; }
.finding-red { background: #8a2e12; color: #f4efe3; }

.sample-phases {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: phase;
}
.sample-phases li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px dotted #c7bda8;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
  color: #302a20;
}
.sample-phases li:last-child { border-bottom: 0; }
.phase-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8a2e12;
  font-weight: 600;
  padding-top: 2px;
}
.phase-desc { color: #1a1814; }

.sample-footer {
  padding: 20px 40px;
  border-top: 1px solid #c7bda8;
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6d3b;
}

.sample-caveat {
  max-width: 900px;
  margin: 32px auto 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
  color: var(--bone-dim);
  font-style: italic;
}

/* ═══════════════ FAQ ═══════════════ */
.pilot-faq {
  padding: 100px 40px;
  background: var(--obsidian);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.faq-list {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  border-top: 1px solid var(--rule);
  padding: 0;
  transition: background 0.25s;
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }

.faq-item summary {
  padding: 28px 20px 28px 0;
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: baseline;
  font-family: var(--serif);
  position: relative;
  transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 300;
  color: var(--slate);
  line-height: 1;
  padding-left: 16px;
  transition: transform 0.25s, color 0.25s;
}
.faq-item[open] summary::after {
  content: '−';
  color: var(--ember);
}
.faq-item:hover summary { color: var(--ember); }

.faq-q-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ember);
  padding: 4px 10px;
  border: 1px solid rgba(255, 122, 61, 0.3);
  line-height: 1;
}
.faq-q-text {
  font-size: 19px;
  line-height: 1.35;
  color: var(--bone);
  letter-spacing: -0.01em;
  font-weight: 400;
}

.faq-a {
  padding: 0 48px 32px 76px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--bone-soft);
  font-weight: 400;
  max-width: 820px;
}

/* ═══════════════ BOOK ═══════════════ */
.pilot-book {
  padding: 120px 40px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255, 87, 34, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 30%, rgba(30, 77, 82, 0.22) 0%, transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, #1a1208 60%, #2d1a0a 100%);
  position: relative;
  overflow: hidden;
}

.pilot-book-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.pilot-book-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.pilot-book-tag::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--ember);
}

.pilot-book-title {
  font-family: var(--serif);
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 300;
  color: var(--bone);
  margin: 0 0 32px;
  max-width: 900px;
}
.pilot-book-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--ember);
}

.pilot-book-lede {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--bone-soft);
  margin: 0 0 56px;
  max-width: 640px;
  font-weight: 400;
}

/* Two routes: primary / secondary */
.pilot-book-routes {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-bottom: 56px;
}
.book-route {
  padding: 36px 32px 32px;
  background: rgba(13, 17, 20, 0.6);
  border: 1px solid var(--rule-hi);
  text-decoration: none;
  color: var(--bone);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.25s;
  position: relative;
}
.book-route:hover {
  border-color: var(--teal-bright);
  background: rgba(13, 17, 20, 0.8);
  transform: translateY(-2px);
}
.book-route-primary {
  background: rgba(255, 87, 34, 0.12);
  border-color: var(--molten);
}
.book-route-primary:hover {
  background: rgba(255, 87, 34, 0.2);
  border-color: var(--ember);
}

.route-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}
.book-route-primary .route-label { color: var(--ember); }

.route-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  color: var(--bone);
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 4px 0 8px;
}
.book-route-primary .route-title { font-size: 26px; }

.route-desc {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.5;
  color: var(--bone-soft);
  margin-bottom: 14px;
  flex: 1;
}

.route-arrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  transition: color 0.25s;
}
.book-route:hover .route-arrow { color: var(--ember); }
.book-route-primary .route-arrow { color: var(--ember); }

.pilot-book-assurance {
  padding: 28px 32px;
  background: rgba(255, 87, 34, 0.05);
  border: 1px solid rgba(255, 87, 34, 0.2);
  max-width: 900px;
}
.assurance-tick {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--molten);
  margin-bottom: 10px;
}
.pilot-book-assurance p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  color: var(--bone);
  margin: 0;
  font-weight: 400;
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 960px) {
  .pilot-hero { padding: 80px 20px 60px; }
  .pilot-hero-terms {
    grid-template-columns: 1fr 1fr;
  }

  .pilot-timeline { padding: 72px 20px; }
  .pilot-section-head { margin-bottom: 40px; padding-top: 32px; }
  .timeline::before { left: 6px; }
  .timeline-week {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }
  .week-dot { left: 0; }
  .week-marker { padding-left: 28px; padding-top: 0; }
  .week-num { margin-bottom: 0; }

  .pilot-sample { padding: 72px 20px; }
  .sample-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 24px 16px;
  }
  .sample-header-right { text-align: left; }
  .sample-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  .sample-phases li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .pilot-faq { padding: 72px 20px; }
  .faq-item summary {
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 20px 0;
  }
  .faq-item summary::after { grid-column: 1 / -1; justify-self: end; margin-top: -8px; }
  .faq-q-text { font-size: 17px; }
  .faq-a { padding: 0 0 24px 0; font-size: 15px; }

  .pilot-book { padding: 72px 20px; }
  .pilot-book-routes {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .book-route-primary .route-title { font-size: 22px; }
}
