/* ============================================================
   BRIAN WAUGH — v3 · Dark Editorial · "Manly Professional"
   Rolling Stone × Ridge × Filson workshop.
   Charcoal + burnt orange + brass. Barlow Condensed display.
   Print-friendly, mobile-first, no rounded pills.
   ============================================================ */

:root {
  /* ============ PALETTE ============ */
  /* Rich near-blacks (warmer than pure #000) */
  --ink:          #14110d;  /* main bg — warm charcoal */
  --ink-raise:   #1c1913;   /* raised sections (alt slice) */
  --ink-lift:    #26221a;   /* cards, deeper contrast */
  --ink-line:    #3a3428;   /* dividers */

  /* Warm off-white text on dark */
  --paper:        #ede2c9;  /* primary text */
  --paper-dim:    #b5aa93;  /* body text */
  --paper-mute:   #7a7060;  /* meta / captions */

  /* Burnt orange — deeper than terra */
  --burnt:        #c85a2c;  /* primary accent */
  --burnt-deep:   #9c4520;  /* hover / darker */
  --burnt-glow:   #e88248;  /* highlights / washes */

  /* Brass — subtle metallic detail */
  --brass:        #b8892f;
  --brass-soft:   #d4a854;

  /* Steel blue — the trust voice. Credentials, testimonials, verifiable facts. */
  --steel:        #4a6b8c;
  --steel-deep:   #2a4a68;
  --steel-glow:   #6d90b0;
  --steel-tint:   rgba(74, 107, 140, 0.14);

  --line:         rgba(237, 226, 201, 0.10);
  --line-strong:  rgba(237, 226, 201, 0.22);

  --shadow-orange: 0 8px 40px rgba(200, 90, 44, 0.18);
  --shadow-deep:   0 24px 80px rgba(0, 0, 0, 0.55);

  --ff-display:   'Barlow Condensed', 'Oswald', 'Impact', sans-serif;
  --ff-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-mono:      'JetBrains Mono', 'IBM Plex Mono', 'Menlo', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--ink);
  color: var(--paper-dim);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Subtle grain overlay across the entire page for texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.09, 0 0 0 0 0.07, 0 0 0 0 0.05, 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
body > * { position: relative; z-index: 2; }

img { max-width: 100%; display: block; }
a { color: var(--burnt-glow); text-underline-offset: 3px; text-decoration: none; }
a:hover { color: var(--brass-soft); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 40px; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--paper);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1;
}
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--paper); font-weight: 700; }
em { color: var(--burnt); font-style: normal; }

/* ============ STICKY TOP NAV ============ */

.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 17, 13, 0.88);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--ink-line);
}
.topnav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topnav-brand {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--paper);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.topnav-brand::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--burnt);
  transform: rotate(45deg);
}
.topnav-links {
  display: flex;
  gap: 2px;
  align-items: center;
}
.topnav-links a {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--paper-mute);
  padding: 10px 14px;
  text-decoration: none;
  transition: color 0.15s;
  border-bottom: 2px solid transparent;
}
.topnav-links a:hover { color: var(--paper); }
.topnav-links a.active { color: var(--burnt); border-bottom-color: var(--burnt); }
.topnav-cta {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: var(--burnt);
  color: var(--ink);
  padding: 12px 20px;
  text-decoration: none;
  transition: all 0.15s;
  border: 2px solid var(--burnt);
}
.topnav-cta:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.topnav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.topnav-toggle span { display: block; width: 24px; height: 2px; background: var(--paper); margin: 6px 0; transition: transform 0.2s; }

/* ============ HERO ============ */

.hero {
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* Vertical burnt-orange bar bottom-left */
  content: '';
  position: absolute;
  bottom: 60px; left: 40px;
  width: 4px; height: 90px;
  background: var(--burnt);
}

.hero-eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--burnt);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-eyebrow::before {
  content: '';
  width: 44px;
  height: 2px;
  background: var(--burnt);
}

.hero-name {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(4rem, 15vw, 11rem);
  line-height: 0.86;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-name em {
  color: var(--burnt);
  font-style: normal;
}

.hero-tag {
  font-family: var(--ff-mono);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--ink-line);
}

.hero-manifesto {
  max-width: 900px;
  margin-top: 8px;
}
.hero-manifesto h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  color: var(--paper);
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.hero-manifesto h2 em {
  color: var(--burnt);
  font-style: normal;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--paper-dim);
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-line);
}
.hero-meta a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--burnt); }
.hero-meta a:hover { color: var(--burnt); }
.hero-meta .meta-label {
  color: var(--burnt);
  font-weight: 700;
  margin-right: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ============ AVAILABILITY PILL (trust signal — top of hero) ============ */

.avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  background: var(--steel-tint);
  border: 1.5px solid var(--steel);
  color: var(--paper);
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6cbb6c;
  box-shadow: 0 0 8px #6cbb6c;
  animation: avail-pulse 2s ease-in-out infinite;
}
@keyframes avail-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.25); }
}

/* ============ SECONDARY CTA (Download PDF) ============ */

.hero-cta-bar .cta-secondary {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: transparent;
  color: var(--steel-glow);
  padding: 18px 26px;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
  border: 2px solid var(--steel);
}
.hero-cta-bar .cta-secondary:hover {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--paper);
}
.hero-cta-bar .cta-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ SECTION HEADERS — chunky condensed numerals ============ */

section.slice { padding: 120px 0; position: relative; }
section.slice.alt { background: var(--ink-raise); }

.slice-head {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 72px;
  padding-bottom: 32px;
  border-bottom: 3px solid var(--burnt);
}
.slice-num {
  font-family: var(--ff-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.82;
  color: var(--burnt);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.slice-title { padding-bottom: 4px; }
.slice-title .slice-kicker {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper-mute);
  margin-bottom: 12px;
  display: block;
}
.slice-title h2 {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-transform: uppercase;
}

/* ============ PITCH GRID — brutalist bordered cards ============ */

.pitch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 72px;
}
.pitch-card {
  padding: 36px 28px 32px;
  position: relative;
  background: var(--ink-lift);
  border: 2px solid var(--ink-line);
  transition: all 0.2s;
}
.pitch-card:hover {
  border-color: var(--burnt);
  transform: translateY(-3px);
  box-shadow: var(--shadow-orange);
}
.pitch-card::before {
  content: attr(data-num);
  display: block;
  font-family: var(--ff-display);
  font-weight: 900;
  font-style: italic;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--burnt);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.pitch-card h4 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.pitch-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--paper-dim);
}

/* Bottom "start a conversation" bar */
.hero-cta-bar {
  margin-top: 72px;
  padding: 40px 44px;
  background: var(--ink-lift);
  border: 2px solid var(--burnt);
  border-left-width: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hero-cta-bar p {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0;
  max-width: 540px;
  letter-spacing: -0.005em;
}
.hero-cta-bar p em { color: var(--burnt); font-style: normal; }
.hero-cta-bar a {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: var(--burnt);
  color: var(--ink);
  padding: 18px 30px;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
  border: 2px solid var(--burnt);
}
.hero-cta-bar a:hover { background: var(--paper); border-color: var(--paper); }

/* ============ SUMMARY ============ */

.summary-lead {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  color: var(--paper);
  max-width: 900px;
  margin-bottom: 32px;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.summary-lead em, .summary-lead strong {
  color: var(--burnt);
  font-style: normal;
  font-weight: 900;
}
.summary-supp {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--paper-dim);
  max-width: 720px;
  margin-bottom: 40px;
}

.credentials-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 32px;
  border: 2px solid var(--ink-line);
}
.credential {
  padding: 24px 26px;
  background: var(--ink-lift);
  border-right: 2px solid var(--ink-line);
  transition: all 0.15s;
  position: relative;
}
.credential:last-child { border-right: none; }
/* Split hover: primary credential gets burnt (action), academic degrees get steel (trust). */
.credential[data-kind="cred"]:hover { background: var(--burnt); }
.credential[data-kind="cred"]:hover .cred-label { color: rgba(20, 17, 13, 0.7); }
.credential[data-kind="cred"]:hover .cred-value { color: var(--ink); }
.credential[data-kind="degree"]:hover { background: var(--steel); border-color: var(--steel); }
.credential[data-kind="degree"]:hover .cred-label { color: rgba(237, 226, 201, 0.75); }
.credential[data-kind="degree"]:hover .cred-value { color: var(--paper); }
/* Fallback for un-tagged credentials */
.credential:hover { background: var(--burnt); }
.credential:hover .cred-label, .credential:hover .cred-value { color: var(--ink); }
.credential:hover .cred-label { color: rgba(20, 17, 13, 0.7); }
.cred-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--burnt);
  margin-bottom: 8px;
  transition: color 0.15s;
}
.cred-value {
  display: block;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--paper);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  transition: color 0.15s;
}

/* ============ EXPERTISE (Artifacts) ============ */

.expertise-intro {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--paper-dim);
  max-width: 720px;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.expertise-intro em { color: var(--burnt); font-style: normal; }

.artifact-list { display: grid; gap: 32px; }
.artifact {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 44px 0;
  border-top: 1px solid var(--ink-line);
  align-items: start;
}
.artifact:first-child { border-top: none; padding-top: 0; }
.artifact-num {
  font-family: var(--ff-display);
  font-weight: 900;
  font-style: italic;
  font-size: 5rem;
  line-height: 0.85;
  color: var(--burnt);
  letter-spacing: -0.03em;
  position: sticky;
  top: 100px;
}
.artifact-num::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--burnt);
  margin-top: 16px;
}
.artifact h3 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.artifact p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--paper-dim);
  margin-bottom: 22px;
  max-width: 660px;
}
.artifact-evidence {
  padding: 18px 22px;
  background: var(--ink);
  border-left: 3px solid var(--burnt);
  margin-bottom: 18px;
  max-width: 660px;
}
.artifact-evidence .evidence-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 6px;
}
.artifact-evidence .evidence-body {
  font-family: var(--ff-body);
  font-size: 13.5px;
  color: var(--paper);
  font-weight: 500;
  line-height: 1.55;
}
.artifact-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.artifact-tags span {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--paper-mute);
  padding: 6px 12px;
  transition: all 0.15s;
}
.artifact-tags span:hover { border-color: var(--burnt); color: var(--burnt); }

/* ============ SKILLS — brutalist chip grid ============ */

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 980px;
}
.skill {
  padding: 12px 18px;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--paper);
  background: transparent;
  border: 1.5px solid var(--paper-mute);
  transition: all 0.15s;
  cursor: default;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.skill:hover {
  background: var(--burnt);
  border-color: var(--burnt);
  color: var(--ink);
}
.skill.hot {
  background: var(--burnt);
  color: var(--ink);
  border-color: var(--burnt);
  font-weight: 700;
}
.skill.hot:hover { background: var(--burnt-deep); border-color: var(--burnt-deep); color: var(--paper); }
.skill.forest {
  background: transparent;
  color: var(--brass);
  border-color: var(--brass);
  font-weight: 700;
}
.skill.forest:hover { background: var(--brass); color: var(--ink); }

/* ============ EXPERIENCE — heavy timeline ============ */

.timeline {
  position: relative;
  padding-left: 72px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--ink-line);
}
.job {
  position: relative;
  padding-bottom: 56px;
}
.job:last-child { padding-bottom: 0; }
.job::before {
  content: '';
  position: absolute;
  left: -57px;
  top: 8px;
  width: 22px;
  height: 22px;
  background: var(--ink);
  border: 4px solid var(--burnt);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px var(--ink);
}
.job-years {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--burnt);
  background: transparent;
  padding: 6px 14px;
  border: 2px solid var(--burnt);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.job-title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: var(--paper);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.job-org {
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--brass);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.job ul { list-style: none; padding: 0; margin: 0; }
.job li {
  padding: 10px 0 10px 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper-dim);
  position: relative;
}
.job li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--burnt);
  font-weight: 700;
  font-size: 16px;
}

/* ============ RECOMMENDATIONS / TESTIMONIALS ============ */

.recs-intro {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--paper-dim);
  max-width: 720px;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.recs-intro em { color: var(--steel-glow); font-style: normal; }

.rec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.rec {
  padding: 36px 32px 32px;
  background: var(--ink-lift);
  border: 2px solid var(--ink-line);
  border-left-width: 6px;
  border-left-color: var(--steel);
  position: relative;
  transition: all 0.2s;
}
.rec:hover {
  border-color: var(--steel);
  border-left-color: var(--steel-glow);
  transform: translateY(-3px);
}
.rec::before {
  content: '\201C';
  position: absolute;
  top: -18px;
  left: 20px;
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--steel);
  background: var(--ink-raise);
  padding: 0 8px;
  font-weight: 700;
}
section.slice.alt .rec::before { background: var(--ink-raise); }
section.slice:not(.alt) .rec::before { background: var(--ink); }
.rec-body {
  font-family: var(--ff-body);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--paper);
  margin-bottom: 22px;
  font-style: italic;
}
.rec-attr {
  padding-top: 18px;
  border-top: 1px solid var(--ink-line);
}
.rec-name {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}
.rec-role {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--steel-glow);
  text-transform: uppercase;
}
.rec-placeholder {
  padding: 20px 24px;
  border: 1.5px dashed var(--steel);
  background: rgba(74, 107, 140, 0.06);
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--steel-glow);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 24px;
}

/* Cert badge: add a steel-blue "issued" line for verifiability */
.cert-issued {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--steel-glow);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(74, 107, 140, 0.28);
  position: relative;
  z-index: 2;
}
.cert-issued strong { color: var(--paper); font-weight: 600; }

/* Job years get a subtle steel accent (trust the timeline) */
.job-years {
  border-left: 3px solid var(--steel);
  padding-left: 12px;
  border-color: var(--burnt); /* keep the box burnt for now */
}

/* LinkedIn slot in hero meta */
.hero-meta .meta-linkedin a {
  border-bottom-color: var(--steel);
}
.hero-meta .meta-linkedin a:hover { color: var(--steel-glow); }

/* ============ EDUCATION ============ */

.ed-list {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink-line);
}
.ed-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 28px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--ink-line);
  transition: all 0.15s;
}
.ed-row:hover {
  background: var(--ink-raise);
  padding-left: 20px;
  padding-right: 20px;
}
.ed-row:hover .ed-school { color: var(--burnt); }
.ed-year {
  font-family: var(--ff-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--burnt);
}
.ed-school {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--paper);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  transition: color 0.15s;
}
.ed-degree {
  font-family: var(--ff-body);
  font-size: 14.5px;
  color: var(--paper-dim);
  margin-top: 6px;
}
.ed-location {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--paper-mute);
  text-align: right;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ============ CERTIFICATIONS — brass plaque ============ */

.cert-badge {
  max-width: 620px;
  padding: 48px;
  background: linear-gradient(135deg, #1e1a12 0%, #2a2418 100%);
  border: 2px solid var(--brass);
  position: relative;
  overflow: hidden;
}
.cert-badge::before {
  /* Corner brass ornament */
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, var(--burnt) 0%, transparent 70%);
  opacity: 0.35;
}
.cert-badge::after {
  /* Inner brass border ornament */
  content: '';
  position: absolute;
  top: 16px; left: 16px; right: 16px; bottom: 16px;
  border: 1px solid rgba(184, 137, 47, 0.35);
  pointer-events: none;
}
.cert-verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1.5px solid var(--brass);
  padding: 6px 12px;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}
.cert-verified::before {
  content: '✦';
  color: var(--brass);
}
.cert-name {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--paper);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  position: relative;
  z-index: 2;
}
.cert-issuer {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--brass-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  position: relative;
  z-index: 2;
}

/* ============ FOOTER ============ */

.footer {
  padding: 80px 0 50px;
  border-top: 1px solid var(--ink-line);
  text-align: center;
  background: var(--ink);
}
.footer-line {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.footer-line em { color: var(--burnt); font-style: normal; }
.footer-contact {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--paper-dim);
  margin-bottom: 32px;
  letter-spacing: 0.08em;
}
.footer-contact a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--burnt); }
.footer-contact a:hover { color: var(--burnt); }
.footer-sig {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--paper-mute);
  text-transform: uppercase;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 900px) {
  .pitch-grid { grid-template-columns: 1fr; }
  .artifact { grid-template-columns: 1fr; gap: 20px; }
  .artifact-num { position: static; font-size: 4rem; }
  .artifact-num::after { display: none; }
  .slice-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .slice-num { font-size: 4.5rem; }
  .credentials-strip { grid-template-columns: 1fr; }
  .credential { border-right: none; border-bottom: 2px solid var(--ink-line); }
  .credential:last-child { border-bottom: none; }
  .rec-grid { grid-template-columns: 1fr; }
  .hero-cta-bar .cta-group { flex-direction: column; width: 100%; }
  .hero-cta-bar .cta-group a { width: 100%; text-align: center; }
}

@media (max-width: 720px) {
  .wrap, .wrap-narrow { padding: 0 24px; }
  .topnav-inner { padding: 12px 24px; }
  .topnav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    padding: 20px 24px;
    background: var(--ink-raise);
    border-bottom: 1px solid var(--ink-line);
    gap: 0;
  }
  .topnav-links.show { display: flex; }
  .topnav-links a {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--ink-line);
    border-right: none;
  }
  .topnav-cta { display: none; }
  .topnav-toggle { display: block; }
  .hero { padding: 70px 0 80px; }
  .hero::after { display: none; }
  .hero-meta { flex-direction: column; gap: 12px; }
  section.slice { padding: 70px 0; }
  .hero-cta-bar { flex-direction: column; align-items: flex-start; padding: 28px; }
  .ed-row { grid-template-columns: 1fr; gap: 6px; }
  .ed-location { text-align: left; }
  .timeline { padding-left: 50px; }
  .timeline::before { left: 10px; }
  .job::before { left: -46px; width: 18px; height: 18px; }
  .cert-badge { padding: 32px; }
  .cert-name { font-size: 1.8rem; }
}

/* ============ PRINT ============ */

@media print {
  body { background: white; color: black; font-size: 11pt; }
  body::before { display: none; }
  .topnav, .topnav-toggle, .hero-cta-bar, .footer { display: none; }
  section.slice { padding: 20pt 0; page-break-inside: avoid; background: white; }
  .hero { padding: 20pt 0; }
  .hero-name, .hero-name em { color: black; font-size: 32pt; }
  .hero-manifesto h2 { color: black; }
  .hero-manifesto h2 em, .summary-lead em, em { color: black; }
  .pitch-card { border: 1px solid #333; background: white; }
  .pitch-card h4, .pitch-card p { color: black; }
  .cert-badge { background: white; color: black; border: 1px solid #333; }
  .cert-badge::before, .cert-badge::after { display: none; }
  .cert-name, .cert-issuer { color: black; }
  .job::before, .artifact-num, .slice-num { color: #666; }
  .paper, .paper-dim { color: black; }
  a { color: black; text-decoration: underline; }
  h1, h2, h3, h4 { color: black; }
}
