/* ═══════════════════════════════════════════
   VASTGAP.COM — Stylesheet
   Diagnostic layer between JackFAltrades and the Academy
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700;1,900&family=Barlow+Condensed:wght@400;500;600;700;800&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;1,8..60,300;1,8..60,400&display=swap');

:root {
  --ink:         #0F0F0D;
  --ink-mid:     #1C1C19;
  --ink-panel:   #232320;
  --ink-light:   #5A5A52;
  --amber:       #C8860A;
  --amber-warm:  #E09A12;
  --amber-dim:   #96640A;
  --rule:        rgba(255,255,255,0.07);
  --white:       #FFFFFF;
  --off:         #F5F3EE;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 56px;
  background: rgba(15,15,13,0.96);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  backdrop-filter: blur(8px);
}

.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}
.nav-logo em { color: var(--amber); font-style: normal; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  padding: 6px 12px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--amber); }

.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--amber);
  text-decoration: none;
  padding: 8px 18px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--amber-warm); }

.page-wrap { padding-top: 56px; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: 'VAST GAP';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 140px;
  font-weight: 800;
  letter-spacing: -4px;
  color: rgba(255,255,255,0.025);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-kicker::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--amber);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--amber-warm); }

.hero-deck {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── DIAGNOSIS PANEL (right side of hero) ── */
.hero-panel {
  background: var(--ink-panel);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--amber);
  padding: 40px 36px;
}

.panel-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber-dim);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.panel-question {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 28px;
}

.diag-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.diag-item:last-child { border-bottom: none; }

.diag-check {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.diag-check.yes { background: var(--amber); border-color: var(--amber); }
.diag-check.yes::after { content: '✓'; font-size: 11px; color: var(--ink); font-weight: 700; }

.diag-text {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.diag-text strong { color: rgba(255,255,255,0.85); display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2px; }

/* ── SECTION COMMON ── */
section { padding: 96px 48px; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber-dim);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::after { content: ''; flex: 1; max-width: 60px; height: 1px; background: var(--amber-dim); }

.section-h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
}
.section-h2 em { font-style: italic; color: var(--amber-warm); }

.section-deck {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  max-width: 580px;
  margin-bottom: 48px;
}

/* ── DEF BLOCKS ── */
.def-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  margin-bottom: 64px;
}

.def-block {
  background: var(--ink-mid);
  padding: 48px 44px;
}

.def-acronym {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 72px;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.def-expanded {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 24px;
}

.def-rule { height: 1px; background: var(--rule); margin-bottom: 20px; }

.def-body {
  font-size: 15px;
  color: rgba(255,255,255,0.58);
  line-height: 1.82;
}
.def-body em { font-style: italic; color: rgba(255,255,255,0.78); }

/* ── TOOLS SECTION ── */
.tools-section { background: var(--ink-mid); }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  margin-bottom: 48px;
}

.tool-card {
  background: var(--ink-panel);
  padding: 36px 32px;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.tool-card:hover { background: rgba(200,134,10,0.04); }
.tool-card:hover::before { transform: scaleX(1); }

.tool-icon {
  font-size: 28px;
  margin-bottom: 20px;
  display: block;
}

.tool-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.tool-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.68;
  margin-bottom: 20px;
}

.tool-link-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ── BRIDGE CTA SECTION ── */
.bridge-section {
  background: var(--ink);
  border-top: 1px solid var(--rule);
}

.bridge-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.bridge-inner .section-h2 { margin-bottom: 16px; }
.bridge-inner .section-deck { margin: 0 auto 40px; text-align: center; }

.bridge-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: var(--ink);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--amber-warm); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

/* ── FOOTER ── */
footer {
  background: var(--ink-mid);
  border-top: 1px solid var(--rule);
  padding: 48px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
}

.footer-brand .footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  margin-bottom: 10px;
}
.footer-brand .footer-logo em { color: var(--amber); font-style: normal; }
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--amber); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255,255,255,0.18);
  font-style: italic;
}
.footer-bottom div { display: flex; gap: 20px; }
.footer-bottom a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  text-decoration: none;
  font-style: normal;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--amber-dim); }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 12px;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  top: 56px;
  left: 0; right: 0;
  background: rgba(15,15,13,0.98);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  z-index: 190;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 14px 28px;
  border-bottom: 1px solid var(--rule);
  transition: color 0.15s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--amber); }
.mobile-menu-cta {
  color: var(--amber) !important;
  margin-top: 4px;
}
.menu-overlay {
  display: none;
  position: fixed;
  inset: 56px 0 0 0;
  background: rgba(0,0,0,0.5);
  z-index: 180;
}
.menu-overlay.open { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .desktop-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 40px 24px; min-height: auto; padding-top: 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  section { padding: 64px 24px; }
  .def-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .bridge-actions { flex-direction: column; align-items: center; }
  footer { padding: 36px 24px; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-links { align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
