/* ============================================================
   JON STEFFENS — Novak Leadership Institute Portfolio
   Design system: "Editorial"
   Anthracite + Mizzou gold · Montserrat / Hind
   ============================================================ */

:root {
  /* Type */
  --f-head: 'Montserrat', sans-serif;
  --f-body: 'Hind', sans-serif;

  /* Ink & paper */
  --ink: #1d1d1b;
  --ink-2: #16161a;
  --paper: #ffffff;
  --paper-alt: #f6f5f1;

  /* Text */
  --text: #26261f;
  --text-muted: #6c6b62;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.66);

  /* Accent */
  --gold: #f1b82d;
  --gold-deep: #b98a14;
  --gold-soft: rgba(241, 184, 45, 0.14);

  /* Lines */
  --line: #e7e5dd;
  --line-dark: rgba(255, 255, 255, 0.14);

  /* Metrics */
  --container: 1180px;
  --container-narrow: 760px;
  --radius: 10px;
  --shadow: 0 18px 50px -28px rgba(20, 20, 16, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.72;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

::selection { background: var(--gold); color: var(--ink); }

/* ---------- Utilities ---------- */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.narrow { max-width: var(--container-narrow); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
}
.eyebrow--on-dark { color: var(--gold); }
.eyebrow--center { justify-content: center; }

.skip-link {
  position: absolute;
  top: -200%;
  left: 16px;
  z-index: 2000;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--f-head);
  font-weight: 700;
  border-radius: 4px;
}
.skip-link:focus { top: 16px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 22px 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav--solid {
  background: rgba(22, 22, 20, 0.94);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav__row {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.16em;
  color: var(--on-dark);
}
.nav__brand b { color: var(--gold); }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav__link {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark);
  opacity: 0.82;
}
.nav__link:hover { opacity: 1; color: var(--gold); }
.nav__social {
  display: flex;
  align-items: center;
  color: var(--on-dark);
  opacity: 0.82;
}
.nav__social:hover { opacity: 1; color: var(--gold); }
.nav__icon { width: 19px; height: 19px; }

/* ============================================================
   HERO — full-bleed campus photo
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(13,13,11,0.94) 2%, rgba(13,13,11,0.5) 34%, rgba(13,13,11,0.22) 60%, rgba(13,13,11,0.5) 100%),
    linear-gradient(to right, rgba(13,13,11,0.72) 0%, rgba(13,13,11,0.18) 52%, transparent 78%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px 96px;
}
.hero__title {
  font-weight: 800;
  font-size: clamp(44px, 6.6vw, 84px);
  letter-spacing: -0.025em;
  margin: 22px 0 22px;
  max-width: 15ch;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}
.hero__title .lead { color: var(--gold); }
.hero__sub {
  font-size: 21px;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.88);
  max-width: 33em;
  margin-bottom: 36px;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.55);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__scrolltag {
  position: absolute;
  right: 40px;
  bottom: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  writing-mode: vertical-rl;
}
.hero__scrolltag::after {
  content: "";
  width: 2px;
  height: 46px;
  background: linear-gradient(var(--gold), transparent);
}
@media (max-width: 900px) { .hero__scrolltag { display: none; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 15px 30px;
  border-radius: 30px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn--gold {
  background: var(--gold);
  color: var(--ink);
}
.btn--gold:hover { background: #ffd35c; transform: translateY(-2px); }
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--on-dark);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--dark {
  background: var(--ink);
  color: var(--on-dark);
}
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ============================================================
   PROOF BAND (metrics)
   ============================================================ */
.proof {
  background: var(--ink-2);
  color: var(--on-dark);
  border-top: 3px solid var(--gold);
  padding: 56px 0;
}
.proof__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.proof__item { text-align: center; }
.proof__num {
  display: block;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.02em;
  color: var(--gold);
}
.proof__label {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--on-dark-muted);
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: 116px 0; }
.section--alt { background: var(--paper-alt); }
.section--dark { background: var(--ink); color: var(--on-dark); }

.section__head { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.section__head--center { text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__title {
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  margin-top: 18px;
  color: var(--text);
}
.section--dark .section__title { color: var(--on-dark); }
.section__lede {
  margin-top: 20px;
  font-size: 19px;
  color: var(--text-muted);
  max-width: 40em;
}
.section__head--center .section__lede { margin-left: auto; margin-right: auto; }

/* ============================================================
   ABOUT + TIMELINE
   ============================================================ */
.about__body {
  max-width: var(--container-narrow);
  margin: 28px auto 0;
  padding: 0 40px;
}
.about__body p { margin-bottom: 18px; }
.about__body p:last-child { margin-bottom: 0; }
.about__body em { font-style: italic; color: var(--text); }

/* About split — portrait + intro */
.about__grid {
  max-width: var(--container);
  margin: 40px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}
.about__portrait {
  position: relative;
}
.about__portrait img {
  width: 100%;
  border-radius: var(--radius);
  filter: grayscale(1) contrast(1.03);
  display: block;
}
.about__portrait::after {
  content: "";
  position: absolute;
  right: -14px;
  top: -14px;
  width: 58%;
  height: 58%;
  border-right: 2px solid var(--gold);
  border-top: 2px solid var(--gold);
  border-radius: 0 var(--radius) 0 0;
  pointer-events: none;
}
.about__caption {
  margin-top: 16px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.about__caption b { color: var(--text); font-weight: 700; }
.about__intro p { margin-bottom: 18px; font-size: 18.5px; }
.about__intro p:last-child { margin-bottom: 0; }
.about__intro em { font-style: italic; }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__portrait { max-width: 320px; }
}

.timeline {
  max-width: var(--container);
  margin: 72px auto 0;
  padding: 0 40px;
}
.timeline__track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.timeline__track::before {
  content: "";
  position: absolute;
  top: 7px; left: 8%; right: 8%;
  height: 2px;
  background: var(--line);
}
.tl {
  position: relative;
  padding-top: 30px;
}
.tl::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--gold);
}
.tl__year {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.tl__title {
  font-size: 18px;
  font-weight: 700;
  margin: 8px 0 6px;
  color: var(--text);
}
.tl__desc { font-size: 15px; line-height: 1.55; color: var(--text-muted); }

/* ============================================================
   PILLARS (What I Build)
   ============================================================ */
.pillars {
  max-width: var(--container);
  margin: 56px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 38px 32px 34px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pillar__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.pillar__icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: var(--gold-soft);
  color: var(--gold-deep);
}
.pillar__icon svg { width: 24px; height: 24px; }
.pillar__k {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  line-height: 1.25;
}
.pillar__title {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--text);
}
.pillar__text { font-size: 15.5px; line-height: 1.7; color: var(--text-muted); }

/* ============================================================
   WORK GRID
   ============================================================ */
.work {
  max-width: var(--container);
  margin: 56px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.wcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  min-height: 230px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.wcard::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}
.wcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.wcard:hover::before { transform: scaleY(1); }
.wcard__tag {
  align-self: flex-start;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 5px 10px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.wcard__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--text);
  margin-bottom: 10px;
}
.wcard__out {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.wcard__more {
  margin-top: auto;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.wcard:hover .wcard__more .arr { transform: translateX(4px); }
.wcard__more .arr { transition: transform 0.25s var(--ease); }

/* ============================================================
   VOICES (testimonials)
   ============================================================ */
.voices {
  max-width: var(--container);
  margin: 56px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.quote {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px 32px;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 8px; left: 26px;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 72px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
}
.quote__text {
  position: relative;
  font-size: 19px;
  line-height: 1.62;
  color: var(--text);
  margin-bottom: 18px;
  padding-top: 18px;
}
.quote__cite {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}
.quote__cite::before {
  content: "";
  display: inline-block;
  width: 22px; height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
}

/* ============================================================
   INDUSTRY BAND (compact, dark)
   ============================================================ */
.industry { padding: 86px 0; }
.industry__grid {
  max-width: var(--container);
  margin: 40px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.icol {
  padding: 4px 30px;
  border-left: 1px solid var(--line-dark);
}
.icol:first-child { border-left: none; padding-left: 0; }
.icol__name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--on-dark);
  margin-bottom: 10px;
}
.icol__name span { color: var(--gold); }
.icol__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--on-dark-muted);
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding: 120px 0;
  overflow: hidden;
}
.cta__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: brightness(0.5) contrast(1.02) saturate(0.95);
}
.cta__img + .cta::before { display: none; }
.cta--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(13,13,11,0.82), rgba(13,13,11,0.5) 50%, rgba(13,13,11,0.86)),
    radial-gradient(900px 500px at 50% 120%, rgba(241, 184, 45, 0.18), transparent 60%);
  pointer-events: none;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 500px at 50% 120%, rgba(241, 184, 45, 0.16), transparent 60%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}
.cta__title {
  font-weight: 800;
  font-size: clamp(34px, 5vw, 54px);
  margin: 22px 0 22px;
}
.cta__text {
  font-size: 19px;
  line-height: 1.7;
  color: var(--on-dark-muted);
  margin-bottom: 38px;
}
.cta__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.cta__email {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--on-dark);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
}
.cta__email:hover { color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink-2);
  color: var(--on-dark-muted);
  border-top: 3px solid var(--gold);
  padding: 70px 0 0;
}
.footer__top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px 52px;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.1fr 1.2fr;
  gap: 48px;
}
.footer__brand-name {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.06em;
  color: var(--on-dark);
}
.footer__brand-name b { color: var(--gold); }
.footer__tagline {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
  max-width: 34ch;
}
.footer__loc {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.footer__loc svg { width: 15px; height: 15px; color: var(--gold); }
.footer__col-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer__list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__list a { font-size: 15px; color: var(--on-dark-muted); }
.footer__list a:hover { color: var(--gold); }
.footer__socials { display: flex; gap: 12px; margin-top: 20px; }
.footer__icon {
  width: 40px; height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--on-dark);
}
.footer__icon:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.footer__icon svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid var(--line-dark); }
.footer__row {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.footer__row a:hover { color: var(--gold); }
.footer__links { display: flex; gap: 22px; }
@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__row { flex-direction: column; gap: 14px; text-align: center; }
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.pf-hero {
  background: var(--ink);
  color: var(--on-dark);
  padding: 168px 0 64px;
  position: relative;
  overflow: hidden;
}
.pf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 500px at 85% 10%, rgba(241, 184, 45, 0.10), transparent 60%);
}
.pf-hero__inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.pf-hero__title { font-weight: 800; font-size: clamp(36px, 5vw, 58px); margin: 22px 0 20px; }
.pf-hero__lede { font-size: 20px; color: var(--on-dark-muted); max-width: 38em; }

/* Sticky anchor nav */
.pf-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(22, 22, 20, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.pf-nav__row {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pf-nav__row::-webkit-scrollbar { display: none; }
.pf-nav__pill {
  flex: 0 0 auto;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--on-dark-muted);
  padding: 16px 16px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.pf-nav__pill:hover { color: var(--on-dark); }
.pf-nav__pill.is-active { color: var(--gold); border-bottom-color: var(--gold); }

/* Case study */
.cs {
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}
.cs--alt { background: var(--paper-alt); }
.cs__inner { max-width: 940px; margin: 0 auto; padding: 0 40px; }
.cs__index {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
}
.cs__title {
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 40px);
  margin: 14px 0 8px;
  color: var(--text);
}
.cs__role {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 34px;
}
.cs__block { max-width: 680px; }
.cs__block + .cs__block { margin-top: 22px; }
.cs__lead {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 6px;
}
.cs__block p { font-size: 17px; line-height: 1.75; color: var(--text); }

/* Stat callouts */
.cs__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 40px 0 28px;
}
.statbox {
  flex: 1;
  min-width: 170px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 22px 24px;
}
.cs--alt .statbox { background: #fff; }
.statbox__num {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.statbox__label {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Proves line */
.cs__proves {
  display: flex;
  gap: 16px;
  padding: 22px 26px;
  background: var(--gold-soft);
  border-radius: 8px;
  margin-top: 8px;
}
.cs__proves svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--gold-deep); margin-top: 2px; }
.cs__proves p { font-size: 16px; line-height: 1.6; color: var(--text); font-style: italic; }
.cs__proves b { font-style: normal; font-family: var(--f-head); font-weight: 700; }

/* EDGE banner exhibit */
.edge-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 10px;
  padding: 22px 28px;
  margin: 34px 0;
}
.edge-banner__badge {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--gold);
  padding: 8px 12px;
  border-radius: 4px;
  white-space: nowrap;
}
.edge-banner__text { font-family: var(--f-head); font-weight: 600; font-size: 17px; }
.edge-banner__text span { color: var(--gold); }

/* MoCAT bar chart exhibit */
.bars { margin: 34px 0; max-width: 620px; }
.bar { margin-bottom: 16px; }
.bar__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.bar__name { font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--text); }
.bar__val { font-family: var(--f-head); font-weight: 800; font-size: 15px; color: var(--gold-deep); }
.bar__track { height: 10px; background: var(--line); border-radius: 6px; overflow: hidden; }
.cs--alt .bar__track { background: #e6e3da; }
.bar__fill { height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); border-radius: 6px; }
.bars__scale { font-size: 12px; color: var(--text-muted); text-align: right; }

/* Flow / progression diagram */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin: 34px 0;
}
.flow__step {
  flex: 1 1 0;
  min-width: 150px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  padding: 18px 18px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* connecting chevron between steps */
.flow__step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -9px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  background: transparent;
  z-index: 2;
}
.flow__step:last-child::after { display: none; }
.cs--alt .flow__step { background: #fff; }
.flow__n {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  color: var(--ink);
  background: var(--gold);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.flow__label {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.28;
  color: var(--text);
  margin-top: 0;
  text-wrap: balance;
}

/* Framework chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0; }
.chip {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 18px;
}
.cs--alt .chip { background: #fff; }
.chip span { color: var(--gold-deep); margin-right: 7px; font-weight: 800; }

/* Case nav prev/next */
.cs-end { padding: 60px 40px 90px; max-width: 940px; margin: 0 auto; text-align: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .proof__grid { grid-template-columns: repeat(4, 1fr); gap: 34px 20px; }
  .work { grid-template-columns: repeat(2, 1fr); }
  .industry__grid { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .icol:nth-child(3) { padding-left: 0; border-left: none; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap, .nav__row, .proof__grid, .section__head, .pillars, .work, .voices,
  .industry__grid, .timeline, .about__body, .about__grid, .cs__inner, .pf-hero__inner,
  .pf-nav__row, .footer__row { padding-left: 24px; padding-right: 24px; }
  .hero__inner { padding: 132px 24px 80px; }
  .nav__menu { gap: 18px; }
  .nav__link { display: none; }
  .nav__link--keep { display: inline; }
  .section { padding: 78px 0; }
  .proof__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .pillars { grid-template-columns: 1fr; }
  .work { grid-template-columns: 1fr; }
  .voices { grid-template-columns: 1fr; }
  .industry__grid { grid-template-columns: 1fr; gap: 26px; }
  .icol { border-left: none; padding: 0; border-top: 1px solid var(--line-dark); padding-top: 22px; }
  .icol:first-child { border-top: none; padding-top: 0; }
  .timeline__track { grid-template-columns: 1fr; gap: 0; }
  .timeline__track::before {
    top: 6px; bottom: 6px; left: 7px; right: auto;
    width: 2px; height: auto;
  }
  .tl { padding-top: 0; padding-left: 34px; padding-bottom: 30px; }
  .tl:last-child { padding-bottom: 0; }
  .tl::before { top: 4px; }
  .cs__stats { flex-direction: column; }
  .flow__step { min-width: 100%; }
  .flow__step::after { display: none; }
}

/* ============================================================
   HYBRID OVERRIDES — Gameday hero + slab headers on a clean body
   ============================================================ */
:root { --paper-gold: #f1b82d; }

/* Nav: solid dark from the start (sits over the gold hero) */
.nav { background: rgba(22, 22, 20, 0.96); backdrop-filter: blur(10px); padding: 15px 0; box-shadow: 0 1px 0 var(--line-dark); }
.nav--solid { padding: 13px 0; }

/* ---------- GOLD POSTER HERO ---------- */
.hhero {
  position: relative;
  background: var(--paper-gold);
  color: var(--ink);
  overflow: hidden;
  padding: 132px 0 64px;
}
.hhero::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.10; mix-blend-mode: multiply;
}
.hhero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: var(--ink);
}
.hhero__inner {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto; padding: 24px 40px 0;
  text-align: center;
}
.hhero__kicker {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink);
}
.hhero__kicker::before, .hhero__kicker::after { content: ""; width: 52px; height: 3px; background: var(--ink); }
.hhero__display {
  font-family: 'Alfa Slab One', serif; font-weight: 400;
  line-height: 0.9; letter-spacing: 0.005em; text-transform: uppercase;
  color: var(--ink); margin: 24px 0 0; position: relative;
}
.hhero__display::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6 0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
  mix-blend-mode: screen; opacity: 0.18;
}
.hhero__l1 { display: block; font-size: clamp(56px, 11.5vw, 150px); }
.hhero__l2 { display: block; font-size: clamp(40px, 7.6vw, 104px); }
.hhero .tape {
  display: inline-block; position: relative;
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: clamp(15px, 2vw, 26px); letter-spacing: 0.05em;
  color: var(--ink); background: #fff;
  padding: 7px 18px; transform: rotate(-4deg);
  box-shadow: 2px 3px 0 rgba(26, 20, 16, 0.18);
  vertical-align: middle; margin-left: 8px;
}
.hhero .tape::before, .hhero .tape::after {
  content: ""; position: absolute; top: 50%; width: 24px; height: 70%;
  background: rgba(255, 255, 255, 0.5);
  border-left: 1px dashed rgba(26, 20, 16, 0.25); border-right: 1px dashed rgba(26, 20, 16, 0.25);
}
.hhero .tape::before { left: -15px; transform: translateY(-50%) rotate(3deg); }
.hhero .tape::after { right: -15px; transform: translateY(-50%) rotate(-2deg); }
.hhero__sub {
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: clamp(18px, 2.3vw, 30px);
  letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); margin: 30px 0 4px;
}
.hhero__note {
  font-family: 'Oswald', sans-serif; font-weight: 500; font-style: italic;
  font-size: clamp(13px, 1.5vw, 18px); letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(26, 20, 16, 0.78); margin-bottom: 30px;
}
.hhero__cta { display: flex; gap: 16px; justify-content: center; }
.btn--outline-dark { border-color: rgba(26, 20, 16, 0.42); color: var(--ink); background: transparent; }
.btn--outline-dark:hover { background: var(--ink); color: var(--paper-gold); border-color: var(--ink); }

/* ---------- SLAB SECTION TITLES (the interwoven Gameday type) ---------- */
.section__title,
.pf-hero__title {
  font-family: 'Alfa Slab One', serif;
  font-weight: 400;
  letter-spacing: 0.002em;
  line-height: 1.04;
}
.section__title { font-size: clamp(28px, 3.5vw, 44px); }
.cta__title { font-family: 'Alfa Slab One', serif; font-weight: 400; line-height: 1.0; letter-spacing: 0.004em; }

/* ---------- GOLD CREDO BAND (the one bold divider) ---------- */
.credo {
  position: relative;
  background: var(--paper-gold);
  color: var(--ink);
  padding: 78px 0;
  overflow: hidden;
  border-top: 5px solid var(--ink);
  border-bottom: 5px solid var(--ink);
}
.credo::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.10; mix-blend-mode: multiply;
}
.credo__inner { position: relative; z-index: 2; max-width: 980px; margin: 0 auto; padding: 0 40px; text-align: center; }
.credo__eyebrow {
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: 0.26em; text-transform: uppercase; color: rgba(26, 20, 16, 0.72);
}
.credo__line {
  font-family: 'Alfa Slab One', serif; font-weight: 400;
  font-size: clamp(30px, 4.6vw, 58px); line-height: 1.05; letter-spacing: 0.004em;
  text-transform: uppercase; color: var(--ink); margin-top: 16px;
}
.credo__line em { font-style: normal; -webkit-text-stroke: 2px var(--ink); color: transparent; }

@media (max-width: 760px) {
  .hhero { padding-top: 104px; }
  .hhero__inner { padding-left: 24px; padding-right: 24px; }
  .hhero__kicker::before, .hhero__kicker::after { width: 22px; }
  .credo__inner { padding-left: 24px; padding-right: 24px; }
}

/* ---------- HERO VARIANT: photo background ---------- */
.hhero--photo { background: var(--ink); color: var(--on-dark); }
.hhero--photo .hhero__img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 36%;
  filter: grayscale(0.18) brightness(0.66) contrast(1.03);
}
.hhero--photo::before {
  background-image: none;
  background: linear-gradient(to bottom, rgba(13,13,11,0.34) 0%, rgba(13,13,11,0.42) 45%, rgba(13,13,11,0.66) 100%);
  opacity: 1; mix-blend-mode: normal; z-index: 1;
}
.hhero--photo::after { background: var(--gold); }
.hhero--photo .hhero__kicker { color: var(--gold); }
.hhero--photo .hhero__kicker::before,
.hhero--photo .hhero__kicker::after { background: var(--gold); }
.hhero--photo .hhero__display { color: #fff; text-shadow: 0 2px 36px rgba(0,0,0,0.5); }
.hhero--photo .hhero__display::after { display: none; }
.hhero--photo .hhero__sub { color: #fff; }
.hhero--photo .hhero__note { color: #fff; }

/* ============================================================
   HYBRID PORTFOLIO — toned-down Gameday
   ============================================================ */
/* Elevated dark slab header band */
.pf-hero { padding: 150px 0 50px; }
.pf-hero__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pf-hero__count {
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 7px 13px; white-space: nowrap;
}
.pf-hero__title { margin: 18px 0 0; max-width: 18ch; }
.pf-hero__rule { height: 3px; background: var(--gold); margin: 26px 0 22px; }
.pf-hero__bottom { display: grid; grid-template-columns: 1fr auto; gap: 44px; align-items: end; }
.pf-hero__lede { margin: 0; }
.pf-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.pf-hero__tags span {
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--on-dark-muted);
  border: 1px solid var(--line-dark); padding: 7px 13px; white-space: nowrap;
}

/* Slab case-study titles + index */
.cs__title { font-family: 'Alfa Slab One', serif; font-weight: 400; letter-spacing: 0.003em; line-height: 1.08; }
.cs__index { font-family: 'Oswald', sans-serif; font-weight: 700; }

/* Gold/cream section rhythm (light, readable) */
.cs--gold { background: #fbf1d6; }
.cs--gold .statbox { background: #fff; }
.cs--gold .bar__track { background: #ece2c4; }
.cs--gold .chip { background: #fff; }
.cs--gold .flow__step { background: #fff; }
.cs--gold .cs__proves { background: #fff; border: 1px solid #ece2c4; }

@media (max-width: 680px) {
  .pf-hero__bottom { grid-template-columns: 1fr; gap: 22px; }
  .pf-hero__tags { justify-content: flex-start; }
}


/* ---------- Live-site secondary CTA ---------- */
.wcard__actions { margin-top: auto; display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.wcard__actions .wcard__more { margin-top: 0; }
.wcard__live {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink); background: var(--gold);
  padding: 7px 13px; border-radius: 30px; transition: background 0.25s var(--ease);
}
.wcard__live:hover { background: #ffd35c; }
.wcard__live .ext, .cs__live .ext { font-size: 1.1em; line-height: 0; }
.cs__live {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink); background: var(--gold);
  padding: 12px 22px; border-radius: 30px; margin: -14px 0 32px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.cs__live:hover { background: #ffd35c; transform: translateY(-2px); }
