/* EDGE Leadership Solutions — edgeleadershipsolutions.net
   Transcribed 1:1 from design-handoff/ (design_system/tokens + pages/*.dc.html).
   Copy source of truth: design-handoff/copy/site-copy-v0.3.md — do not rewrite copy. */

/* ---------- Tokens (design_system/tokens/*.css) ---------- */
:root {
  --edge-red:        #D82A28;
  --edge-red-deep:   #A81F1D;
  --edge-red-wash:   #FBEAEA;
  --edge-ink:        #1F1D1B;
  --edge-graphite:   #4A4845;
  --edge-stone:      #8C8881;
  --edge-mist:       #D9D5D0;
  --edge-cloud:      #F4F2EF;
  --edge-white:      #FFFFFF;

  --font-display: 'Poppins', 'Montserrat', system-ui, Arial, sans-serif;
  --font-body:    'Lora', 'Source Serif 4', Georgia, serif;
  --font-mono:    'IBM Plex Mono', 'Courier Prime', ui-monospace, monospace;

  --shadow-sm: 0 1px 2px rgba(31,29,27,.06);
  --shadow-md: 0 1px 2px rgba(31,29,27,.05), 0 8px 24px rgba(31,29,27,.12);

  --ease: cubic-bezier(.2,.6,.2,1);
  --dur-fast: 120ms;
  --dur: 200ms;

  --content-max: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--edge-cloud);
  color: var(--edge-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--edge-red); }
a:hover { text-decoration: underline; }
h1, h2, h3, p { margin: 0; }

.container { max-width: var(--content-max); margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--edge-mist);
  position: relative;
  z-index: 10;
}
.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: block; flex-shrink: 0; }
.logo img { width: 126px; }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  padding-bottom: 3px;
  color: var(--edge-graphite);
  transition: color var(--dur-fast) var(--ease);
}
.main-nav a:hover { color: var(--edge-ink); text-decoration: none; }
.main-nav a.active { color: var(--edge-ink); box-shadow: inset 0 -2px var(--edge-red); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 1px solid var(--edge-mist);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--edge-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  text-align: center;
  border: 0;
  border-radius: 8px;
  padding: 15px 26px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease);
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--edge-red); color: var(--edge-white); }
.btn--primary:hover { background: var(--edge-red-deep); }
.btn--secondary { background: transparent; color: var(--edge-ink); border: 1.5px solid var(--edge-ink); padding: 13.5px 24.5px; }
.btn--secondary:hover { background: var(--edge-ink); color: var(--edge-white); }
.btn--tertiary { background: none; color: var(--edge-red); padding: 0; border-radius: 0; }
.btn--tertiary:hover { text-decoration: underline; }
.btn--sm { font-size: 13px; padding: 11px 18px; }
.btn--lg { font-size: 15px; padding: 17px 30px; }

/* ---------- Brand devices ---------- */
.rule { width: 48px; height: 4px; background: var(--edge-red); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--edge-ink);
}
.eyebrow .pipe { color: var(--edge-red); margin: 0 9px; }
.eyebrow--muted { color: var(--edge-stone); }

.pull {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: var(--edge-ink);
}
.pull--22 { font-size: 22px; }
.pull--26 { font-size: 26px; }
.pull--28 { font-size: 28px; }

.attrib {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--edge-stone);
  margin-top: 16px;
}

/* Red Edge — solid red bar bleeding one edge; square corners always */
.hero--edged { position: relative; overflow: hidden; }
.hero--edged::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 10px;
  background: var(--edge-red);
}

/* Ghost — cropped wordmark letterform (footer only) */
.ghost {
  position: absolute;
  top: -58px;
  right: -24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 240px;
  line-height: 1;
  letter-spacing: -.015em;
  color: rgba(255,255,255,.07);
  pointer-events: none;
  user-select: none;
}

.numeral {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: var(--edge-red);
}

/* ---------- Cards & callout ---------- */
.card {
  background: var(--edge-white);
  border: 1px solid var(--edge-mist);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.card--pad { padding: 28px 26px 26px; }

.callout {
  background: var(--edge-red-wash);
  border-left: 4px solid var(--edge-red);
  padding: 26px 28px;
}
.callout p {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--edge-graphite);
  margin: 14px 0 0;
}

/* ---------- Type scale ---------- */
.h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.015em;
  margin: 20px 0 0;
  text-wrap: pretty;
}
.h1 .red, .h2 .red { color: var(--edge-red); }
.h1--54 { font-size: clamp(36px, 4.5vw, 54px); line-height: 1.06; }
.h1--52 { font-size: clamp(35px, 4.35vw, 52px); line-height: 1.06; }
.h1--50 { font-size: clamp(34px, 4.2vw, 50px); line-height: 1.08; }
.h1--48 { font-size: clamp(33px, 4vw, 48px); line-height: 1.08; }

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.005em;
  margin: 18px 0 0;
  text-wrap: pretty;
}
.h2--36 { font-size: clamp(28px, 3vw, 36px); }
.h2--34 { font-size: clamp(27px, 2.85vw, 34px); }
.h2--32 { font-size: clamp(26px, 2.7vw, 32px); }

.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 14px 0 0;
  text-wrap: pretty;
}

.lead {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--edge-graphite);
  margin: 20px 0 0;
}
.body-copy {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--edge-graphite);
  margin: 18px 0 0;
}
.body-copy strong { color: var(--edge-ink); }
.card-copy {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--edge-graphite);
  margin: 10px 0 0;
}
.kicker { font-family: var(--font-mono); font-size: 12px; color: var(--edge-red); }
.mono-note {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--edge-stone);
  margin: 14px 0 0;
}

/* ---------- Bands & sections ---------- */
.band--white { background: var(--edge-white); border-top: 1px solid var(--edge-mist); border-bottom: 1px solid var(--edge-mist); }
.band--white-top { background: var(--edge-white); border-top: 1px solid var(--edge-mist); }
.band--ink { background: var(--edge-ink); color: var(--edge-cloud); }

.cta-band {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 64px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band .h2 { margin: 0; }

/* ---------- Grids ---------- */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.split-11-9 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.prodigy-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.numbered-row { display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: start; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.quote-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

/* ---------- Home specifics ---------- */
.photo-frame {
  position: relative;
  height: 440px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 12px;
  background: var(--edge-red);
}
.hero-ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -.02em;
  color: var(--edge-ink);
  line-height: 1.1;
}
.stat-caption {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--edge-stone);
  margin-top: 8px;
  max-width: 30ch;
}
.partners-block { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--edge-mist); }
.partners-list {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  line-height: 2;
  color: var(--edge-graphite);
  margin: 14px 0 0;
  max-width: 78ch;
}
.home-quote { margin-top: 56px; max-width: 760px; }

.card-head { display: flex; align-items: center; justify-content: space-between; }
.card-num { font-family: var(--font-mono); font-size: 12px; color: var(--edge-red); }
.card-link { margin-top: 16px; }

/* ---------- EDGE|Project specifics ---------- */
.proof-icons { display: flex; gap: 44px; margin-top: 36px; flex-wrap: wrap; }
.proof-icon { display: flex; align-items: center; gap: 12px; }
.proof-icon img { width: 40px; height: 40px; }
.proof-icon span { font-family: var(--font-display); font-weight: 600; font-size: 13px; }

.tier-card { padding: 0; overflow: hidden; }
.tier-scroll { overflow-x: auto; }
.tier-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.tier-table th {
  background: var(--edge-cloud);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--edge-graphite);
  text-align: left;
  padding: 14px 22px;
  border-bottom: 1px solid var(--edge-mist);
}
.tier-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--edge-mist);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--edge-graphite);
  vertical-align: top;
}
.tier-table td:first-child { font-family: var(--font-display); font-weight: 600; color: var(--edge-ink); }
.tier-table tr:last-child td { border-bottom: 0; }
.tier-table tr.hot td { background: var(--edge-red-wash); }

/* ---------- About specifics ---------- */
.bio-card { padding: 32px 30px; }
.bio-head { display: flex; gap: 22px; align-items: center; }
.bio-head img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.bio-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0; }
.bio-cred {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--edge-red);
  margin-top: 6px;
}
.bio-copy {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--edge-graphite);
  margin: 20px 0 0;
}

/* ---------- Contact specifics ---------- */
.meta-block {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 6px 20px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .04em;
}
.meta-block .k { color: var(--edge-stone); }
.meta-block a { color: var(--edge-ink); text-decoration: none; }
.meta-block a:hover { text-decoration: underline; }

.form-card {
  position: relative;
  background: var(--edge-white);
  border: 1px solid var(--edge-mist);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.form-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 8px;
  background: var(--edge-red);
  z-index: 1;
}
.form-body { padding: 40px 38px 36px; display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field {
  display: grid;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: var(--edge-ink);
}
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1px solid var(--edge-mist);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--edge-ink);
  background: var(--edge-white);
  outline: none;
  width: 100%;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--edge-red);
  box-shadow: 0 0 0 3px rgba(216,42,40,.15);
}
.form-error {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--edge-red-deep);
  margin: 0;
}
.form-success { padding: 56px 44px; }
.form-success h2 { font-family: var(--font-display); font-weight: 700; font-size: 28px; margin: 18px 0 0; }
.form-success p { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--edge-graphite); margin: 14px 0 0; }
.hidden { display: none !important; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--edge-ink);
  color: var(--edge-cloud);
  position: relative;
  overflow: hidden;
}
.footer-main {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 56px 32px 44px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
}
.footer-main img { width: 146px; }
.footer-tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 15px;
  color: var(--edge-stone);
  margin: 18px 0 0;
  max-width: 32ch;
}
.footer-contact {
  display: grid;
  grid-template-columns: auto auto;
  gap: 6px 20px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .04em;
}
.footer-contact .k { color: var(--edge-stone); }
.footer-contact a, .footer-contact .v { color: var(--edge-cloud); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); position: relative; }
.footer-legal-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 16px 32px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--edge-stone);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split-11-9, .prodigy-grid, .cards-3, .bio-grid, .contact-grid, .quote-row {
    grid-template-columns: 1fr;
  }
  .hero-grid { gap: 36px; }
  .split-11-9, .prodigy-grid { gap: 40px; }
  .contact-grid { gap: 44px; }
  .photo-frame { height: 320px; }
  .quote-row > div:last-child { justify-content: flex-start !important; }
}

@media (max-width: 800px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--edge-white);
    border-bottom: 1px solid var(--edge-mist);
    padding: 12px 32px 20px;
    box-shadow: var(--shadow-md);
  }
  .site-header.nav-open .main-nav a { padding: 10px 0 7px; font-size: 15px; }
}

@media (max-width: 560px) {
  .container, .header-inner, .cta-band, .footer-main { padding-left: 20px; padding-right: 20px; }
  .footer-legal-inner { padding: 16px 20px; }
  .header-cta { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .form-body { padding: 32px 24px 28px; }
  .form-success { padding: 44px 24px; }
  .proof-icons { gap: 24px; }
}
