/* =================================================================
   styles.css — Shared Design System
   Jane Doe Professional Profile
   Palette: Dark Slate Blue (#1E2B4A) + Copper (#B5622A)
   Pages:   [data-page="index"] · [data-page="resume"]
================================================================= */

/* ── 1. DESIGN TOKENS ───────────────────────────────────────── */
:root {
  --navy: #1E2B4A;
  --navy-mid: #2C3E6B;
  --navy-light: #3D5488;
  --copper: #B5622A;
  --copper-light: #CF844A;
  --slate: #48536A;
  --slate-light: #7A8499;
  /* Aliases: resume.html uses --gold/--gold-light */
  --gold: var(--copper);
  --gold-light: var(--copper-light);
  /* Resume surface (light theme) */
  --bg: #F0F2F7;
  --border: #D2D8E8;
  --card: #FAFBFE;
  /* Index dark mode defaults */
  --page-bg: #0B1220;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-md: rgba(30, 43, 74, 0.55);
  --glass-bd: rgba(255, 255, 255, 0.11);
  --text: #E4EAF5;
  --text-muted: #8A9AB8;
}

/* ── 2. INDEX LIGHT MODE ────────────────────────────────────── */
html[data-theme="light"] {
  --page-bg: #EEF1F8;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-md: rgba(220, 226, 240, 0.80);
  --glass-bd: rgba(30, 43, 74, 0.13);
  --text: #1A2035;
  --text-muted: #48536A;
}

html[data-theme="light"] body {
  color: var(--text);
}

html[data-theme="light"] .nav-name {
  color: var(--navy);
}

html[data-theme="light"] .nav-link {
  color: var(--text-muted);
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.active {
  color: var(--navy);
  background: rgba(30, 43, 74, 0.08);
}

html[data-theme="light"] .hero-name {
  color: var(--navy);
}

html[data-theme="light"] .hero-title span {
  color: rgba(26, 32, 53, 0.6);
}

html[data-theme="light"] .hero-tagline {
  color: rgba(26, 32, 53, 0.65);
  border-left-color: rgba(181, 98, 42, 0.5);
}

html[data-theme="light"] .btn-outline {
  background: rgba(30, 43, 74, 0.07);
  color: var(--navy);
  border-color: rgba(30, 43, 74, 0.18);
}

html[data-theme="light"] .btn-outline:hover {
  background: rgba(30, 43, 74, 0.12);
}

html[data-theme="light"] .social-link {
  background: rgba(30, 43, 74, 0.07);
  border-color: rgba(30, 43, 74, 0.15);
  color: var(--text-muted);
}

html[data-theme="light"] .section-title {
  color: var(--navy);
}

html[data-theme="light"] .stat-card:hover {
  box-shadow: 0 12px 40px rgba(30, 43, 74, 0.12);
}

html[data-theme="light"] #stat-4 {
  background: linear-gradient(135deg, rgba(181, 98, 42, 0.08) 0%, rgba(181, 98, 42, 0.01) 100%);
  border-color: rgba(181, 98, 42, 0.3);
  box-shadow: 0 0 25px rgba(181, 98, 42, 0.2), inset 0 0 15px rgba(181, 98, 42, 0.05);
}

html[data-theme="light"] #stat-4:hover {
  box-shadow: 0 12px 40px rgba(181, 98, 42, 0.3), inset 0 0 15px rgba(181, 98, 42, 0.08);
  border-color: rgba(181, 98, 42, 0.45);
}

html[data-theme="light"] .spot-title,
html[data-theme="light"] .value-name {
  color: var(--navy);
}

html[data-theme="light"] .spotlight-featured {
  background: linear-gradient(135deg, rgba(181, 98, 42, .10) 0%, rgba(30, 43, 74, .12) 100%);
  border-color: rgba(181, 98, 42, 0.25);
}

html[data-theme="light"] .spotlight-quote {
  color: rgba(26, 32, 53, 0.82);
}

html[data-theme="light"] .contact-card {
  background: linear-gradient(135deg, rgba(30, 43, 74, 0.08) 0%, rgba(44, 62, 107, 0.12) 100%);
  border-color: rgba(30, 43, 74, 0.15);
}

html[data-theme="light"] .contact-title {
  color: var(--navy);
}

html[data-theme="light"] .contact-link-pill {
  background: rgba(30, 43, 74, 0.06);
  border-color: rgba(30, 43, 74, 0.15);
  color: var(--navy);
}

html[data-theme="light"] .orb-1 {
  background: #B5C4E0;
}

html[data-theme="light"] .orb-2 {
  background: #CF844A;
  opacity: .1;
}

html[data-theme="light"] .orb-3 {
  background: #8FA3CC;
  opacity: .15;
}

html[data-theme="light"] .orb-4 {
  background: #B5622A;
  opacity: .08;
}

html[data-theme="light"] .dot-grid {
  background-image: radial-gradient(rgba(30, 43, 74, .13) 1px, transparent 1px);
}

html[data-theme="light"] footer {
  color: rgba(26, 32, 53, 0.35);
  border-top-color: rgba(30, 43, 74, 0.1);
}

html[data-theme="light"] .headshot-inner {
  border-color: var(--page-bg);
}

html[data-theme="light"] .float-badge {
  background: rgba(30, 43, 74, 0.90);
  border-color: rgba(61, 84, 136, 0.45);
}

html[data-theme="light"] #site-nav {
  background: rgba(238, 241, 248, 0.75);
  border-bottom-color: rgba(30, 43, 74, 0.12);
}

html[data-theme="light"] #site-nav.scrolled {
  background: rgba(238, 241, 248, 0.95);
  box-shadow: 0 4px 30px rgba(30, 43, 74, 0.12);
}

/* ── 3. BASE RESET ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* ── 4. PAGE BODY DEFAULTS ──────────────────────────────────── */
[data-page="index"] body {
  background: var(--page-bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

[data-page="resume"] body {
  background: var(--bg);
  padding-top: 64px;
  font-family: 'Inter', sans-serif;
  color: #1A2035;
}

/* ── 5. NAV — shared structure ──────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  transition: background .3s, box-shadow .3s, border-color .25s;
}

[data-page="index"] #site-nav {
  height: 68px;
  padding: 0 2rem;
  gap: 1.5rem;
  background: rgba(11, 18, 32, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

[data-page="index"] #site-nav.scrolled {
  background: rgba(11, 18, 32, 0.88);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}

[data-page="resume"] #site-nav {
  height: 64px;
  padding: 0 1.5rem;
  gap: 1rem;
  background: rgba(240, 242, 247, 0.75);
  border-bottom: 1px solid rgba(210, 216, 232, 0.55);
}

[data-page="resume"] #site-nav.scrolled {
  background: rgba(240, 242, 247, 0.94);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(30, 43, 74, .12);
}

.nav-name {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}

[data-page="index"] .nav-name {
  color: #fff;
}

[data-page="resume"] .nav-name {
  color: var(--navy);
}

.nav-name span {
  color: var(--copper-light);
}

.nav-links {
  display: flex;
  gap: .2rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: .82rem;
  font-weight: 500;
  padding: .38rem .75rem;
  border-radius: 6px;
  text-decoration: none;
  transition: color .15s, background .15s;
}

[data-page="index"] .nav-link {
  color: var(--text-muted);
}

[data-page="index"] .nav-link:hover,
[data-page="index"] .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

[data-page="resume"] .nav-link {
  color: var(--slate);
}

[data-page="resume"] .nav-link:hover,
[data-page="resume"] .nav-link.active {
  color: var(--navy);
  background: rgba(30, 43, 74, .07);
}

/* ── 6. BUTTONS ─────────────────────────────────────────────── */
.pdf-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--navy);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: .45rem 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, transform .15s;
}

.pdf-btn:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--copper);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  padding: .45rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}

.nav-cta:hover {
  background: var(--copper-light);
  transform: translateY(-1px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--copper);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: .65rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(181, 98, 42, .35);
}

.btn-primary:hover {
  background: var(--copper-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(181, 98, 42, .45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .85);
  font-size: .85rem;
  font-weight: 500;
  padding: .65rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .15);
  transition: background .2s, transform .15s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
}

/* ── 7. THEME TOGGLE ────────────────────────────────────────── */
#theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .13);
  color: var(--text-muted);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

#theme-toggle:hover {
  background: rgba(181, 98, 42, .2);
  color: var(--copper-light);
  border-color: rgba(181, 98, 42, .3);
}

html[data-theme="light"] #theme-toggle {
  background: rgba(30, 43, 74, 0.07);
  border-color: rgba(30, 43, 74, 0.15);
  color: var(--text-muted);
}

html[data-theme="light"] #theme-toggle:hover {
  background: rgba(181, 98, 42, .15);
  color: var(--copper);
  border-color: rgba(181, 98, 42, .3);
}

/* ════════════════════════════════════════════════════════════════
   INDEX PAGE
════════════════════════════════════════════════════════════════ */

/* ── 8. AMBIENT BACKGROUND ──────────────────────────────────── */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .28;
}

.orb-1 {
  width: 700px;
  height: 700px;
  background: #1E2B4A;
  top: -200px;
  left: -200px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: #B5622A;
  top: -100px;
  right: -100px;
  opacity: .15;
}

.orb-3 {
  width: 600px;
  height: 600px;
  background: #2C3E6B;
  bottom: 20%;
  left: 30%;
  opacity: .2;
}

.orb-4 {
  width: 400px;
  height: 400px;
  background: #CF844A;
  bottom: -100px;
  right: 20%;
  opacity: .12;
}

.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(100, 120, 180, .18) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ── 9. GLASS CARDS ─────────────────────────────────────────── */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--glass-bd);
  border-radius: 1.25rem;
}

.glass-card-md {
  background: var(--glass-md);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 1.25rem;
}

/* ── 10. SECTION SHELLS ─────────────────────────────────────── */
[data-page="index"] section {
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: .55rem;
}

.section-title {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  line-height: 1.2;
  position: relative;
  padding-bottom: .6rem;
  margin-bottom: 1.75rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
  border-radius: 2px;
}

/* ── 11. HERO (index) ───────────────────────────────────────── */
[data-page="index"] #hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0 4rem;
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: 1.25rem;
}

.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--copper-light);
  border-radius: 2px;
}

.hero-name {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5rem);
  color: #fff;
  line-height: .95;
  letter-spacing: -.03em;
  margin-bottom: .75rem;
}

.hero-name em {
  font-style: italic;
  color: var(--copper-light);
}

.hero-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .03em;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: rgba(255, 255, 255, .65);
}

.hero-tagline {
  font-size: .95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .6);
  max-width: 500px;
  margin-bottom: 2rem;
  border-left: 2px solid rgba(181, 98, 42, .5);
  padding-left: 1rem;
}

.hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-socials {
  display: flex;
  gap: .5rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--text-muted);
  text-decoration: none;
  transition: background .2s, color .2s, transform .15s;
}

.social-link:hover {
  background: rgba(181, 98, 42, .2);
  color: var(--copper-light);
  transform: translateY(-2px);
}

/* ── 12. HEADSHOT ───────────────────────────────────────────── */
.headshot-wrap {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.headshot-ring {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(145deg, var(--copper) 0%, var(--navy-mid) 50%, var(--copper-light) 100%);
  position: relative;
}

.headshot-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--page-bg);
  position: relative;
}

.headshot-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.headshot-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(181, 98, 42, .2) 0%, transparent 70%);
  pointer-events: none;
}

.float-badge {
  position: absolute;
  background: var(--glass-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: .875rem;
  padding: .55rem .9rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  animation: float 4s ease-in-out infinite;
}

.float-badge-1 {
  top: 10px;
  right: -60px;
  animation-delay: 0s;
}

.float-badge-2 {
  bottom: 30px;
  left: -70px;
  animation-delay: 2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.badge-icon {
  font-size: 1.1rem;
}

.badge-text {
  font-size: .72rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.badge-sub {
  font-size: .65rem;
  color: var(--copper-light);
  font-weight: 500;
}

/* ── 13. STATS ──────────────────────────────────────────────── */
#stats {
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

#stat-4 {
  background: linear-gradient(135deg, rgba(181, 98, 42, 0.1) 0%, rgba(181, 98, 42, 0.02) 100%);
  border-color: rgba(181, 98, 42, 0.35);
  box-shadow: 0 0 25px rgba(207, 132, 74, 0.25), inset 0 0 15px rgba(181, 98, 42, 0.1);
}

#stat-4:hover {
  box-shadow: 0 12px 40px rgba(207, 132, 74, 0.4), inset 0 0 15px rgba(181, 98, 42, 0.15);
  border-color: rgba(181, 98, 42, 0.5);
}

.stat-number {
  font-family: 'Lora', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--copper-light);
  line-height: 1;
  margin-bottom: .35rem;
}

.stat-label {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ── 14. CAREER SPOTLIGHT ───────────────────────────────────── */
#spotlight {
  padding: 5rem 0;
}

.spotlight-featured {
  padding: 2rem 2.25rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(181, 98, 42, .18) 0%, rgba(44, 62, 107, .5) 100%);
  border: 1px solid rgba(181, 98, 42, .3);
  border-radius: 1.25rem;
  position: relative;
  overflow: hidden;
}



.spotlight-quote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .85);
  margin-bottom: .75rem;
}

.spotlight-attribution {
  font-size: .78rem;
  color: var(--copper-light);
  font-weight: 600;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.spot-card {
  padding: 1.5rem;
  transition: transform .25s, border-color .25s;
}

.spot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(181, 98, 42, .4);
}

.spot-stat {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--copper-light);
  margin-bottom: .3rem;
  line-height: 1;
}

.spot-title {
  font-size: .88rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .35rem;
}

.spot-body {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── 15. VALUES ─────────────────────────────────────────────── */
#values {
  padding: 5rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.value-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(181, 98, 42, .3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}

.value-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(181, 98, 42, .15);
  border: 1px solid rgba(181, 98, 42, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-name {
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
}

.value-body {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* ── 16. CONTACT CTA ────────────────────────────────────────── */
#contact {
  padding: 5rem 0 6rem;
}

.contact-card {
  padding: 3rem 2.5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(30, 43, 74, 0.7) 0%, rgba(44, 62, 107, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(181, 98, 42, .1);
  filter: blur(60px);
  pointer-events: none;
}

.contact-title {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .6rem;
}

.contact-sub {
  font-size: .92rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.5rem;
}

.contact-link-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 9999px;
  padding: .5rem 1.1rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}

.contact-link-pill:hover {
  background: rgba(181, 98, 42, .2);
  color: var(--copper-light);
  border-color: rgba(181, 98, 42, .4);
  transform: translateY(-2px);
}

/* ── 17. INDEX FOOTER ───────────────────────────────────────── */
[data-page="index"] footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.25rem 1rem 2rem;
  color: rgba(255, 255, 255, .25);
  font-size: .72rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

/* ── 18. SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

/* ════════════════════════════════════════════════════════════════
   RESUME PAGE
════════════════════════════════════════════════════════════════ */

/* ── 19. RESUME HERO ────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #151F38 0%, #1E2B4A 45%, #2C3E6B 100%);
  position: relative;
  overflow: hidden;
  padding: 3.25rem 0 2.75rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 90% -8%, rgba(181, 98, 42, .32) 0%, transparent 48%), radial-gradient(ellipse at -5% 110%, rgba(21, 31, 56, .65) 0%, transparent 45%), url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.018'%3E%3Cpath d='M0 0h80v80H0z'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, .12);
  margin: 1.6rem 0 1.4rem;
}

.c-link {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  font-size: .83rem;
  transition: color .2s;
}

.c-link:hover {
  color: var(--gold-light);
}

.c-link svg {
  flex-shrink: 0;
}

/* ── 20. RESUME CARDS ───────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  transition: box-shadow .22s;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(30, 43, 74, .10);
}

/* ── 21. SECTION TITLE (resume) ─────────────────────────────── */
.stitle {
  font-family: 'Lora', serif;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  padding-bottom: .55rem;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.stitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2rem;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

/* ── 22. SKILLS CARD ────────────────────────────────────────── */
.skills-card {
  background: linear-gradient(135deg, #151F38 0%, #243560 100%);
  border: 1px solid #2C3E6B;
  border-radius: 1rem;
  padding: 1.75rem 2rem;
}

.skills-card .stitle {
  color: #fff;
}

.skills-card .stitle::after {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.skills-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2.5rem;
}

.skill-group-label {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: .6rem;
}

.pill-w {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .9);
  border-radius: 9999px;
  padding: .27rem .75rem;
  font-size: .78rem;
  font-weight: 500;
  display: inline-block;
  transition: background .15s, transform .15s;
}

.pill-w:hover {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-1px);
}

.cert-row {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.cert-tick {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── 23. TIMELINE ───────────────────────────────────────────── */
.tl {
  position: relative;
}

.tl-line {
  position: absolute;
  left: 128px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #C4CADE 90%, transparent);
  pointer-events: none;
}

.tl-entry {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  position: relative;
}

.tl-date {
  width: 118px;
  flex-shrink: 0;
  text-align: right;
  padding-right: 1.25rem;
  padding-top: .3rem;
}

.tl-date-main {
  font-size: .77rem;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.3;
}

.tl-date-sub {
  font-size: .67rem;
  color: #9AA0B8;
}

.tl-dot-col {
  width: 20px;
  flex-shrink: 0;
  position: relative;
  margin-right: 1.1rem;
}

.tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--navy);
  border: 2.5px solid var(--bg);
  box-shadow: 0 0 0 2px #C4CADE;
  position: absolute;
  top: 6px;
  left: 4px;
  z-index: 1;
}

.tl-dot.gold {
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(181, 98, 42, .38);
}

.tl-box {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: .875rem;
  padding: 1rem 1.35rem;
  transition: box-shadow .2s;
}

.tl-box:hover {
  box-shadow: 0 6px 22px rgba(30, 43, 74, .10);
}

.tl-role {
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
}

.tl-org {
  font-size: .82rem;
  font-weight: 500;
  color: var(--navy-light);
  margin-top: .12rem;
}

.tl-badge {
  font-size: .7rem;
  font-weight: 600;
  padding: .2rem .65rem;
  border-radius: 9999px;
  background: rgba(30, 43, 74, .07);
  color: var(--navy);
  white-space: nowrap;
}

.tl-bullets {
  margin-top: .7rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.tl-li {
  display: flex;
  gap: .6rem;
  font-size: .84rem;
  color: #253050;
  line-height: 1.5;
}

.tl-dot2 {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: .52rem;
}

/* ── 24. COLLAPSIBLE ────────────────────────────────────────── */
.tl-details {
  margin-top: .55rem;
}

.tl-summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy-light);
  cursor: pointer;
  padding: .2rem 0;
  user-select: none;
  transition: color .15s;
}

.tl-summary::-webkit-details-marker {
  display: none;
}

.tl-summary:hover {
  color: var(--navy);
}

.tl-summary .sum-arrow {
  font-size: .7rem;
  transition: transform .25s;
  display: inline-block;
}

details[open]>.tl-summary .sum-arrow {
  transform: rotate(90deg);
}

details[open]>.tl-summary .sum-show {
  display: none;
}

details[open]>.tl-summary .sum-hide {
  display: inline;
}

.tl-summary .sum-hide {
  display: none;
}

/* ── 25. RESPONSIVE ─────────────────────────────────────────── */
@media(max-width:840px) {
  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hero-tagline {
    border-left: none;
    border-top: 2px solid rgba(181, 98, 42, .5);
    padding-left: 0;
    padding-top: .75rem;
  }

  .hero-actions,
  .hero-socials {
    justify-content: center;
  }

  .headshot-ring {
    width: 240px;
    height: 240px;
  }

  .float-badge-1 {
    right: -20px;
  }

  .float-badge-2 {
    left: -20px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .spotlight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media(max-width:700px) {
  .skills-inner {
    grid-template-columns: 1fr;
  }

  #sk-certs {
    grid-column: span 1 !important;
  }

  .tl-line {
    left: 72px;
  }

  .tl-date {
    width: 62px;
    padding-right: .75rem;
  }
}

@media(max-width:500px) {
  .spotlight-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── 26. PRINT (resume) ─────────────────────────────────────── */
@media print {
  #site-nav {
    display: none;
  }

  body {
    padding-top: 0;
    background: #fff;
  }

  .hero,
  .skills-card {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .tl-box,
  .card {
    box-shadow: none !important;
    transform: none !important;
  }

  /* Force all collapsible sections open */
  details.tl-details {
    display: block !important;
    overflow: visible !important;
  }

  details.tl-details > *:not(summary) {
    display: block !important;
  }

  details.tl-details .tl-bullets {
    display: flex !important;
  }

  /* Hide the toggle controls */
  .tl-summary {
    display: none !important;
  }
}