/* =========================================================
   Riley Reese — Portfolio
   Palette: Navy #003366 · Charcoal #4F4F4F · Gold #B8860B
   ========================================================= */

:root {
  --navy: #003366;
  --navy-deep: #002347;
  --charcoal: #4F4F4F;
  --gold: #B8860B;
  --gold-soft: #c9a23a;
  --cream: #faf7f0;
  --paper: #ffffff;
  --line: #e6e1d6;
  --ink: #2a2a2a;
  --muted: #6f6f6f;

  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --serif-alt: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1120px;
  --radius: 4px;
  --shadow-sm: 0 2px 10px rgba(0, 51, 102, 0.06);
  --shadow-md: 0 14px 40px rgba(0, 51, 102, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn--gold { background: var(--gold); color: #fff; box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: #a4760a; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; transform: translateY(-2px); }

/* =========================================================
   Multi-page: solid nav on inner pages + active link state
   ========================================================= */
body.inner .nav { background: rgba(255, 255, 255, 0.96); box-shadow: var(--shadow-sm); padding: 14px 0; backdrop-filter: blur(8px); }
body.inner .nav__name { color: var(--navy); }
body.inner .nav__links a { color: var(--charcoal); }
body.inner .nav__links a:hover { color: var(--navy); }
body.inner .nav__toggle span { background: var(--navy); }
.nav__links a.is-active:not(.nav__cta) { color: var(--gold) !important; }
.nav__links a.is-active:not(.nav__cta)::after { width: 100%; }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 22px 0;
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav.scrolled { background: rgba(255, 255, 255, 0.96); box-shadow: var(--shadow-sm); padding: 14px 0; backdrop-filter: blur(8px); }

.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__monogram {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  border-radius: 3px;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  transition: color 0.4s var(--ease);
}
.nav.scrolled .nav__name { color: var(--navy); }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  position: relative;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s var(--ease);
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav.scrolled .nav__links a { color: var(--charcoal); }
.nav.scrolled .nav__links a:hover { color: var(--navy); }

.nav__cta {
  padding: 9px 20px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold) !important;
  font-weight: 600 !important;
  transition: background 0.3s var(--ease), color 0.3s var(--ease) !important;
}
.nav__cta:hover { background: var(--gold); color: #fff !important; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: #fff; transition: all 0.3s var(--ease); }
.nav.scrolled .nav__toggle span { background: var(--navy); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 75% -10%, rgba(184, 134, 11, 0.22), transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #013a76 100%);
}
.hero__bg::after {
  /* subtle dotted texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 80%);
}
.hero__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 120px 28px 80px; width: 100%;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}
.hero__copy { min-width: 0; }
.hero__photo { margin: 0; justify-self: end; }
.hero__photo img {
  width: 100%; max-width: 340px; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 30px; padding-top: 108px; }
  .hero__photo { justify-self: start; }
  .hero__photo img { max-width: 200px; }
}

.hero__eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); }

.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}
.hero__lede {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 300;
  line-height: 1.6;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 38px;
}
.hero__lede strong { color: #fff; font-weight: 500; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 60px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 640px;
}
.hero__facts li { display: flex; flex-direction: column; gap: 4px; }
.hero__fact-num { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: #fff; line-height: 1; }
.hero__fact-label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }

.hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* =========================================================
   Sections — shared
   ========================================================= */
.section { padding: 110px 0; }
.section--alt { background: var(--paper); }

.section__head { margin-bottom: 56px; }
.section__head--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

.section__kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section__kicker--light { color: var(--gold-soft); }

.section__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  position: relative;
}
.section__head:not(.section__head--center) .section__title::after {
  content: "";
  display: block;
  width: 60px; height: 3px;
  background: var(--gold);
  margin-top: 18px;
}
.section__title--light { color: #fff; }

/* =========================================================
   About
   ========================================================= */
.about__lead { max-width: 820px; margin-bottom: 64px; }
.about__lead p { font-size: 1.1rem; color: var(--charcoal); margin-bottom: 20px; }
.about__lead p:first-child {
  font-family: var(--serif-alt);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--navy);
}

.pillars { 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: 36px 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar__icon { font-size: 2rem; display: block; margin-bottom: 18px; }
.pillar h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.pillar p { font-size: 0.98rem; color: var(--muted); }

/* =========================================================
   Education
   ========================================================= */
.edu {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.section--alt .edu { background: var(--cream); }
.edu__main { padding: 46px 44px; }
.edu__header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.edu__main h3 { font-family: var(--serif); font-size: 1.85rem; font-weight: 600; color: var(--navy); }
.edu__loc { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.edu__sub { font-size: 1.05rem; color: var(--charcoal); font-weight: 500; margin-top: 4px; }
.edu__degree { color: var(--muted); margin-top: 10px; font-size: 1rem; }
.edu__date { color: var(--gold); font-weight: 600; font-size: 0.9rem; margin-top: 4px; letter-spacing: 0.03em; }

.edu__honors { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.edu__honors h4, .edu__focus h4 {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy); font-weight: 700; margin-bottom: 14px;
}
.edu__honors li { color: var(--charcoal); margin-bottom: 8px; padding-left: 20px; position: relative; }
.edu__honors li::before { content: "\2014"; position: absolute; left: 0; color: var(--gold); }

.edu__side { background: var(--navy); color: #fff; padding: 46px 40px; display: flex; flex-direction: column; gap: 34px; }
.edu__stat { text-align: left; }
.edu__stat-num { font-family: var(--serif); font-size: 3.6rem; font-weight: 700; line-height: 1; color: #fff; display: block; }
.edu__stat-label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); margin-top: 8px; display: block; }
.edu__focus h4 { color: var(--gold-soft); }
.edu__focus li { color: rgba(255, 255, 255, 0.85); padding-left: 20px; position: relative; margin-bottom: 9px; font-size: 0.95rem; }
.edu__focus li::before { content: "\203A"; position: absolute; left: 0; color: var(--gold-soft); font-weight: 700; }

/* =========================================================
   Experience timeline
   ========================================================= */
.timeline { position: relative; padding-left: 8px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px;
  width: 2px; background: linear-gradient(var(--gold), var(--line));
}
.tl { position: relative; display: flex; gap: 34px; padding-bottom: 48px; }
.tl:last-child { padding-bottom: 0; }
.tl__marker {
  position: relative; z-index: 1; flex: 0 0 auto;
  width: 16px; height: 16px; margin-top: 6px;
  border-radius: 50%; background: var(--paper);
  border: 3px solid var(--gold);
}
.tl__content {
  flex: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.section:not(.section--alt) .tl__content { background: var(--paper); }
.tl__content:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.tl__top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.tl__top h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--navy); }
.tl__date { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; color: var(--gold); white-space: nowrap; }
.tl__org { color: var(--charcoal); font-weight: 500; margin: 6px 0 16px; font-size: 0.98rem; }
.tl__points li { position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--muted); font-size: 0.97rem; }
.tl__points li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.tl__points li:last-child { margin-bottom: 0; }

/* =========================================================
   Leadership card
   ========================================================= */
.lead-card {
  display: flex;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-width: 880px;
}
.lead-card__bar { flex: 0 0 8px; background: linear-gradient(var(--gold), var(--navy)); }
.lead-card__body { padding: 38px 42px; }
.lead-card__top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.lead-card__top h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--navy); }
.lead-card__date { font-size: 0.82rem; font-weight: 600; color: var(--gold); letter-spacing: 0.05em; }
.lead-card__org { color: var(--charcoal); font-weight: 500; margin: 6px 0 18px; }
.lead-card__points li { position: relative; padding-left: 22px; margin-bottom: 11px; color: var(--muted); }
.lead-card__points li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }

/* =========================================================
   Skills / Activities / Interests
   ========================================================= */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.86rem;
  font-weight: 500;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.tags li:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.list li { position: relative; padding-left: 22px; margin-bottom: 12px; color: var(--charcoal); }
.list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 1.5px; background: var(--gold); }

/* =========================================================
   Contact
   ========================================================= */
.section--contact { background: var(--navy-deep); position: relative; isolation: isolate; }
.section--contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(900px 500px at 80% 0%, rgba(184, 134, 11, 0.18), transparent 60%);
}
.contact__intro { color: rgba(255, 255, 255, 0.82); font-size: 1.08rem; font-weight: 300; margin-top: 18px; }

.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 56px auto 0;
}
.contact__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
a.contact__item:hover { background: rgba(184, 134, 11, 0.12); border-color: var(--gold); transform: translateY(-3px); }
.contact__label { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.contact__value { font-family: var(--serif); font-size: 1.2rem; color: #fff; font-weight: 500; }
.contact__item--static { cursor: default; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: #001b38; color: rgba(255, 255, 255, 0.6); padding: 36px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer__brand { font-family: var(--serif); font-size: 1.15rem; color: #fff; font-weight: 600; }
.footer__note { font-size: 0.86rem; }
.footer__copy { font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); }

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 920px) {
  .pillars, .grid3 { grid-template-columns: 1fr; }
  .edu { grid-template-columns: 1fr; }
  .edu__main { padding: 38px 32px; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    background: var(--navy-deep);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.3);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { color: #fff !important; font-size: 1.05rem; }
  .nav.scrolled .nav__links a { color: #fff !important; }
  .nav__toggle { display: flex; z-index: 110; }
  .nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #fff; }
  .nav__toggle.active span:nth-child(2) { opacity: 0; }
  .nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #fff; }

  .section { padding: 78px 0; }
  .hero__facts { gap: 32px; }
  .hero__fact-num { font-size: 1.8rem; }
  .tl { gap: 22px; }
  .tl__content { padding: 22px 24px; }
  .lead-card { flex-direction: row; }
  .lead-card__body { padding: 30px 26px; }
  .contact__grid { grid-template-columns: 1fr; }
  .edu__side { padding: 36px 32px; }
}

@media (max-width: 460px) {
  .container, .nav__inner, .hero__inner { padding-left: 20px; padding-right: 20px; }
  .nav__name { display: none; }
  .hero__actions .btn { flex: 1; }
}

/* =========================================================
   PERSONA PORTFOLIO — added components
   ========================================================= */

.btn--navy { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--navy:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__intro { max-width: 760px; font-size: 1.1rem; color: var(--charcoal); margin-bottom: 44px; }
.section__intro strong { color: var(--navy); }

/* ---------- Biography ---------- */
.bio { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.bio__photo { margin: 0; }
.bio__photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.bio__placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 1px solid rgba(184, 134, 11, 0.45);
  display: grid; place-content: center; gap: 14px; text-align: center;
  box-shadow: var(--shadow-md);
}
.bio__placeholder-mono { font-family: var(--serif); font-size: 3.4rem; font-weight: 700; color: var(--gold); letter-spacing: 0.04em; }
.bio__placeholder-note { font-size: 0.78rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); padding: 0 20px; }
.bio__photo figcaption { text-align: center; margin-top: 14px; font-size: 0.85rem; color: var(--muted); letter-spacing: 0.04em; }

.bio__lead { font-family: var(--serif-alt); font-size: 1.5rem; font-weight: 500; line-height: 1.45; color: var(--navy); margin-bottom: 20px; }
.bio__text p { margin-bottom: 18px; color: var(--charcoal); }
.bio__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.bio__chips li {
  background: var(--cream); border: 1px solid var(--line); color: var(--navy);
  padding: 8px 16px; border-radius: 30px; font-size: 0.85rem; font-weight: 500;
}

/* ---------- Resume ---------- */
.resume { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 46px 48px; }
.resume__header { padding-bottom: 22px; border-bottom: 2px solid var(--navy); margin-bottom: 8px; }
.resume__header h3 { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--navy); }
.resume__contact { font-size: 0.95rem; color: var(--muted); margin-top: 6px; }
.resume__contact a { color: var(--gold); font-weight: 500; }
.resume__contact a:hover { text-decoration: underline; }
.resume__block { margin-top: 28px; }
.resume__h { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.resume__row { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; margin-bottom: 22px; }
.resume__row:last-child { margin-bottom: 0; }
.resume__row-main strong { display: block; color: var(--navy); font-size: 1.05rem; font-weight: 600; }
.resume__row-main > span { display: block; color: var(--charcoal); font-size: 0.97rem; margin-top: 2px; }
.resume__row-main .resume__muted { color: var(--muted); font-size: 0.9rem; }
.resume__row-main ul { margin-top: 8px; }
.resume__row-main li { position: relative; padding-left: 20px; margin-bottom: 7px; color: var(--muted); font-size: 0.95rem; }
.resume__row-main li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.resume__row-meta { text-align: right; display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.resume__row-meta span:first-child { color: var(--charcoal); font-weight: 500; font-size: 0.92rem; }
.resume__row-meta span:last-child { color: var(--gold); font-weight: 600; font-size: 0.82rem; }
.resume__row--plain .resume__row-main p { color: var(--charcoal); margin-bottom: 8px; }
.resume__row--plain strong { display: inline; color: var(--navy); }

/* ---------- Video ---------- */
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; text-align: center;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.video__play {
  justify-self: center; width: 76px; height: 76px; border-radius: 50%;
  background: var(--gold); color: #fff; display: grid; place-content: center;
  font-size: 1.6rem; padding-left: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.video__placeholder-title { font-family: var(--serif); font-size: 1.4rem; color: #fff; }
.video__placeholder-note { font-size: 0.82rem; color: rgba(255,255,255,0.6); padding: 0 24px; }

/* ---------- Callout ---------- */
.callout {
  background: rgba(184, 134, 11, 0.08); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 22px; margin-bottom: 44px;
  font-size: 0.92rem; color: var(--charcoal);
}
.callout code { background: rgba(0,51,102,0.08); padding: 1px 7px; border-radius: 3px; font-size: 0.85em; color: var(--navy); }
.callout abbr { text-decoration: none; border-bottom: 1px dotted var(--muted); cursor: help; }

/* ---------- Analysis intro / conclusion ---------- */
.analysis__intro, .analysis__conclusion { max-width: 880px; margin: 0 auto 48px; text-align: center; }
.analysis__conclusion { margin-top: 56px; margin-bottom: 0; }
.analysis__intro h3, .analysis__conclusion h3 {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--navy); margin-bottom: 16px;
  display: inline-block;
}
.analysis__intro h3::after, .analysis__conclusion h3::after { content: ""; display: block; width: 50px; height: 3px; background: var(--gold); margin: 12px auto 0; }
.analysis__intro p { font-size: 1.08rem; color: var(--charcoal); }
.analysis__intro p strong:first-child { color: var(--navy); }
.analysis__conclusion p { font-size: 1.05rem; color: var(--charcoal); }

/* ---------- Chart cards ---------- */
.chart-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 30px 32px; margin: 0 auto 8px; max-width: 760px; }
.chart-card__cap { text-align: center; margin-bottom: 18px; }
.chart-card__cap h4 { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); font-weight: 600; }
.chart-card__cap p { font-size: 0.92rem; color: var(--muted); margin-top: 6px; }
.chart-card--inset { box-shadow: none; padding: 18px 18px 10px; background: var(--cream); max-width: none; }
.chart { width: 100%; }
.chart-svg { width: 100%; height: auto; display: block; font-family: var(--sans); }
.chart-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 14px; }
.legend__item { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--charcoal); }
.legend__swatch { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }

/* ---------- Word map: what people call me ---------- */
.wordmap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 30px 32px; margin: 0 auto 8px; max-width: 760px; }
.wordmap__cloud { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 18px; margin-top: 8px; line-height: 1.15; }
.wm { font-family: var(--serif); font-weight: 600; color: var(--navy); }
.wm--self { color: var(--gold); }
.wm--navy { color: var(--navy); }
.wordmap__legend { text-align: center; margin-top: 16px; font-size: 0.82rem; color: var(--muted); }
.wordmap__legend .wm--self { font-weight: 600; }
.wordmap__legend .wm--navy { font-weight: 600; }

/* ---------- CER blocks ---------- */
.cer { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 34px 38px; margin-top: 28px; box-shadow: var(--shadow-sm); }
.cer__tag { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.cer__claim { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 600; color: var(--navy); line-height: 1.2; margin-bottom: 26px; }
.cer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.cer__label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal); font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.cer__label span { background: var(--gold); color: #fff; padding: 3px 10px; border-radius: 3px; font-size: 0.68rem; letter-spacing: 0.08em; }
.cer__source { font-size: 0.78rem; color: var(--muted); font-style: italic; margin-top: 8px; text-align: center; }
.cer__reasoning p { color: var(--charcoal); margin-bottom: 14px; }
.cer__reasoning p:last-child { margin-bottom: 0; }
.cer__reasoning strong { color: var(--navy); }

/* ---------- Takeaways ---------- */
.takeaways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; text-align: left; }
.takeaway { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.takeaway__num { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; color: var(--gold); display: block; margin-bottom: 8px; }
.takeaway p { font-size: 0.95rem; color: var(--charcoal); }
.takeaway strong { color: var(--navy); }

/* ---------- Portfolio / work (horizontal bands) ---------- */
.work-grid { display: flex; flex-direction: column; gap: 22px; }
.work {
  background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 28px 34px;
  display: grid; grid-template-columns: 248px 1fr; gap: 40px; align-items: start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.work:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.work__head { display: flex; flex-direction: column; align-items: flex-start; }
.work__top { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.work__top h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--navy); line-height: 1.25; }
.work__badge { background: var(--gold); color: #fff; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; }
.work__type { font-size: 0.85rem; color: var(--muted); margin: 12px 0 14px; }
.work__cer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; }
.work__pair { padding-left: 16px; border-left: 2px solid var(--line); }
.work__cer dt { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.work__cer dd { margin: 6px 0 0; font-size: 0.92rem; color: var(--charcoal); }
.work__link { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.work__link:not(.work__link--muted):hover { text-decoration: underline; }
.work__link--muted { color: var(--muted); cursor: not-allowed; }
.work__note { font-size: 0.8rem; color: var(--muted); font-style: italic; }

/* ---------- Embedded Tableau dashboard ---------- */
.tableau-embed { margin: 48px 0 0; }
.tableau-embed__cap { text-align: center; margin-bottom: 18px; }
.tableau-embed__cap h3 { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); font-weight: 600; }
.tableau-embed__cap p { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }
.tableau-frame {
  width: 100%;
  display: flex; justify-content: center; align-items: flex-start;
  overflow-x: auto; padding: 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); background: #fff;
}
.tableau-frame tableau-viz { margin: 0 auto; }
.tableau-frame iframe { display: block; margin: 0 auto; border: 0; max-width: 100%; }
.tableau-embed__link { display: inline-block; margin-top: 16px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.tableau-embed__link:hover { text-decoration: underline; }

/* ---------- Tableau visualization gallery ---------- */
.tableau-gallery { margin: 48px 0 0; }
.viz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 22px; }
.viz-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.viz-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.viz-card img { width: 100%; aspect-ratio: 680 / 419; object-fit: cover; display: block; background: #fff; border-bottom: 1px solid var(--line); }
.viz-card__body { padding: 16px 18px 18px; }
.viz-card__title { display: block; font-family: var(--serif); font-size: 1.08rem; font-weight: 600; color: var(--navy); line-height: 1.25; }
.viz-card__meta { display: block; margin-top: 8px; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.viz-card--featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset, var(--shadow-sm); }
.viz-card__badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--gold); color: #fff; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; box-shadow: 0 2px 8px rgba(0,0,0,0.28); }
@media (max-width: 760px) { .viz-grid { grid-template-columns: 1fr; } }

/* ---------- Contact layout + form ---------- */
.contact__layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; max-width: 920px; margin: 52px auto 0; align-items: start; }
.contact__links { display: flex; flex-direction: column; gap: 16px; }
.contact__form { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 32px 32px 28px; }
.contact__form h3 { font-family: var(--serif); font-size: 1.4rem; color: #fff; font-weight: 600; margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius); padding: 12px 14px; color: #fff; font-family: var(--sans); font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.1); }
.field textarea { resize: vertical; }
.contact__form .btn { margin-top: 4px; }
.contact__form-note { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 14px; }
.contact__form-note.error { color: #ffb4a8; }

/* ---------- Responsive (persona components) ---------- */
@media (max-width: 920px) {
  .bio { grid-template-columns: 1fr; gap: 32px; }
  .bio__photo { max-width: 300px; }
  .cer__grid { grid-template-columns: 1fr; gap: 24px; }
  .takeaways { grid-template-columns: 1fr; }
  .work { grid-template-columns: 1fr; gap: 22px; }
  .work__cer { grid-template-columns: 1fr; gap: 16px; }
  .contact__layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .resume { padding: 32px 26px; }
  .resume__row { grid-template-columns: 1fr; }
  .resume__row-meta { text-align: left; flex-direction: row; gap: 12px; }
  .cer { padding: 26px 24px; }
  .section__head--row { align-items: flex-start; }
}
