/* ============================================================
   PATH2POCKET FOUNDATION — core stylesheet
   Visual language: aerospace / technical blueprint
   Ownable asset: the yellow pitch lines
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --void:        #07090B;
  --bg:          #0B0E11;
  --surface:     #12161B;
  --surface-2:   #171C22;
  --line:        #212a33;
  --line-bright: #2f3a45;

  --ink:         #EEF2F5;
  --ink-2:       #B4BFC9;
  --ink-3:       #7E8B97;

  --pitch:       #FFC72C;
  --pitch-deep:  #E0A800;
  --pitch-glow:  rgba(255, 199, 44, .14);

  --font-display: "Barlow Condensed", "Oswald", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 48px);
  --radius: 3px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 600; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- 4. Type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pitch);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--pitch);
  flex: none;
}
.eyebrow--plain { color: var(--ink-3); }
.eyebrow--plain::before { background: var(--line-bright); }

h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7.4vw, 88px);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  line-height: .96;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.3vw, 26px);
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.muted { color: var(--ink-3); }
.measure { max-width: 68ch; }
.accent { color: var(--pitch); }
.mono { font-family: var(--font-mono); }

/* ---------- 5. Pitch lines (brand motif) ---------- */
.pitch-rule {
  display: flex; gap: 5px; align-items: flex-end;
  height: 15px; margin-bottom: 26px;
}
.pitch-rule i { display: block; width: 3px; background: var(--pitch); border-radius: 1px; }
.pitch-rule i:nth-child(1) { height: 5px;  opacity: .35; }
.pitch-rule i:nth-child(2) { height: 8px;  opacity: .5; }
.pitch-rule i:nth-child(3) { height: 11px; opacity: .7; }
.pitch-rule i:nth-child(4) { height: 15px; opacity: 1; }
.pitch-rule i:nth-child(5) { height: 11px; opacity: .7; }
.pitch-rule i:nth-child(6) { height: 8px;  opacity: .5; }
.pitch-rule i:nth-child(7) { height: 5px;  opacity: .35; }
.pitch-rule--center { justify-content: center; }

/* blueprint grid backdrop */
.blueprint::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 78%);
  pointer-events: none;
}

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 17, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 88px;
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; flex: none; }
.brand-lockup { height: 56px; width: auto; flex: none; }
.brand-tag {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-3);
  padding-left: 14px; border-left: 1px solid var(--line-bright);
  align-self: center;
}
.brand--footer { display: block; margin-bottom: 22px; }
.brand-stacked { width: 172px; height: auto; }
@media (max-width: 460px) {
  .brand-lockup { height: 42px; }
  .brand-tag { display: none; }
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none;
  padding: 6px 0; position: relative; transition: color .18s ease;
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--pitch); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--pitch);
}

/* mobile nav (CSS-only) */
.nav-toggle { display: none; }
.nav-label {
  display: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink);
  border: 1px solid var(--line-bright); padding: 9px 14px; border-radius: var(--radius);
}
@media (max-width: 900px) {
  .nav-label { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 20px;
  }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .nav .btn { margin-top: 16px; text-align: center; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .site-header .wrap { position: relative; flex-wrap: wrap; }
}

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 14px 24px; border-radius: var(--radius);
  text-decoration: none; border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  cursor: pointer;
}
.btn-primary { background: var(--pitch); color: #0B0E11; font-weight: 600; }
.btn-primary:hover { background: #FFD65C; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-bright); color: var(--ink); }
.btn-ghost:hover { border-color: var(--pitch); color: var(--pitch); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(72px, 12vw, 150px) 0 clamp(64px, 9vw, 118px);
  background:
    radial-gradient(1100px 520px at 12% -10%, var(--pitch-glow), transparent 62%),
    linear-gradient(180deg, var(--void), var(--bg) 72%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero h1 { max-width: 17ch; text-wrap: balance; }
.hero .lead { margin-top: 26px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: clamp(48px, 7vw, 78px);
  border-top: 1px solid var(--line);
}
.hero-stats div {
  flex: 1 1 190px; padding: 26px 26px 26px 0;
  border-right: 1px solid var(--line);
}
.hero-stats div:last-child { border-right: 0; }
@media (max-width: 620px) {
  .hero-stats div { border-right: 0; border-bottom: 1px solid var(--line); flex-basis: 100%; }
}
.stat-num {
  font-family: var(--font-display); font-size: clamp(32px, 4.6vw, 46px);
  color: var(--pitch); line-height: 1;
}
.stat-label {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 10px;
}

/* page header for interior pages */
.page-head {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px);
  background: linear-gradient(180deg, var(--void), var(--bg));
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

/* ---------- 9. Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  position: relative;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-bright); }
.card--program { padding-top: 30px; border-top: 2px solid var(--pitch); }
.card h3 { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.card .idx {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em;
  color: var(--ink-3); display: block; margin-bottom: 16px;
}

.spec-list li {
  display: flex; gap: 14px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  color: var(--ink-2); font-size: 16px;
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list li::before {
  content: ""; flex: none; width: 8px; height: 8px;
  background: var(--pitch); transform: rotate(45deg); translate: 0 -1px;
}
.spec-list strong { color: var(--ink); font-weight: 600; }

/* numbered / definition rows */
.row-list { border-top: 1px solid var(--line); }
.row-item {
  display: grid; grid-template-columns: 72px 1fr; gap: clamp(16px, 3vw, 40px);
  padding: clamp(24px, 3.4vw, 36px) 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.row-item .num {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em;
  color: var(--pitch); padding-top: 6px;
}
.row-item h3 { margin-bottom: 10px; }
.row-item p { color: var(--ink-2); margin-bottom: 0; }
@media (max-width: 620px) { .row-item { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- 9b. Mission statement + fact table ---------- */
.statement {
  font-family: var(--font-display);
  font-size: clamp(25px, 3.2vw, 38px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--ink);
  border-left: 3px solid var(--pitch);
  padding-left: clamp(20px, 3vw, 34px);
  margin: 0;
  max-width: 34ch;
}
.statement--wide { max-width: 46ch; }

.facts { border-top: 1px solid var(--line); margin: 0; }
.facts > div {
  display: grid; grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(12px, 2vw, 28px);
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.facts dt {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-3); padding-top: 5px;
}
.facts dd { margin: 0; color: var(--ink); font-size: 16px; }
@media (max-width: 620px) {
  .facts > div { grid-template-columns: 1fr; gap: 6px; }
}

/* proof / milestone tiles */
.proof { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.proof > div { background: var(--surface); padding: clamp(22px, 3vw, 30px); }
.proof .when {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--pitch); margin-bottom: 12px;
}
.proof h3 { margin-bottom: 10px; }
.proof p { color: var(--ink-2); margin: 0; font-size: 15.5px; }
@media (min-width: 760px) { .proof { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 9c. Event cards ---------- */
.events { display: grid; gap: clamp(24px, 3vw, 34px); }

.event {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--pitch);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px);
  align-items: start;
}
.event--past { border-top-color: var(--line-bright); opacity: .92; }
@media (max-width: 700px) { .event { grid-template-columns: 1fr; } }

.event-flyer {
  width: 100%; height: auto; border-radius: 2px;
  border: 1px solid var(--line-bright);
}
.event-when {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--pitch); margin-bottom: 12px;
}
.event--past .event-when { color: var(--ink-3); }
.event h3 { margin-bottom: 12px; }
.event p { color: var(--ink-2); font-size: 15.5px; }

/* ticket / price rows */
.tickets { border-top: 1px solid var(--line); margin-top: 18px; }
.tickets div {
  display: flex; gap: 16px; justify-content: space-between; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.tickets .what { color: var(--ink); }
.tickets .what small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 3px; }
.tickets .cost {
  font-family: var(--font-mono); color: var(--pitch); white-space: nowrap; font-size: 14px;
}

/* brand / pro name chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  border: 1px solid var(--line-bright); color: var(--ink-2);
  padding: 5px 11px; border-radius: 100px;
}

/* ---------- 10. Callout / CTA band ---------- */
.band {
  background:
    radial-gradient(760px 320px at 78% 0%, var(--pitch-glow), transparent 66%),
    var(--surface-2);
  border-block: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.band-inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.band h2 { max-width: 18ch; }

.note {
  border-left: 2px solid var(--pitch);
  background: rgba(255, 199, 44, .05);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-2); font-size: 15.5px;
}
.note strong { color: var(--ink); }

/* placeholder flag — remove once real content is in */
.todo {
  display: inline-block;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  background: rgba(255, 199, 44, .13);
  border: 1px dashed var(--pitch-deep);
  color: var(--pitch);
  padding: 1px 8px; border-radius: 2px;
}

/* ---------- 11. Forms ---------- */
.form { display: grid; gap: 18px; max-width: 560px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3);
}
.field input, .field select, .field textarea {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-bright); border-radius: var(--radius);
  padding: 13px 15px; font: inherit; font-size: 16px; width: 100%;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--pitch); box-shadow: 0 0 0 3px var(--pitch-glow);
}

/* ---------- 12. Footer ---------- */
.site-footer {
  background: var(--void);
  border-top: 1px solid var(--line);
  padding: clamp(52px, 7vw, 76px) 0 32px;
  font-size: 15px;
}
.footer-grid {
  display: grid; gap: clamp(28px, 4vw, 48px);
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; font-weight: 400;
}
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--ink-2); text-decoration: none; transition: color .18s ease; }
.footer-grid a:hover { color: var(--pitch); }
.footer-bottom {
  margin-top: clamp(38px, 5vw, 56px); padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  color: var(--ink-3); text-transform: uppercase;
}

/* ---------- 13. A11y ---------- */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, label:focus-visible {
  outline: 2px solid var(--pitch);
  outline-offset: 3px;
}
.skip {
  position: absolute; left: -9999px;
  background: var(--pitch); color: #000; padding: 12px 18px; z-index: 100;
  font-family: var(--font-mono); font-size: 12px; text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
