/* ==============================================
   PM PORTFOLIO — DARK GOLD DESIGN SYSTEM
   ============================================== */

/* ==============================================
   1. DESIGN TOKENS
   ============================================== */
:root {
  /* Dark palette */
  --color-bg:           #0a0908;
  --color-surface:      #0d0d0b;
  --color-surface-alt:  #111009;
  --color-border:       rgba(200,169,110,0.15);
  --color-text:         #f0ebe1;
  --color-text-muted:   rgba(240,235,225,0.50);
  --color-text-faint:   rgba(240,235,225,0.28);
  --color-accent:       #c8a96e;
  --color-accent-subtle: rgba(200,169,110,0.06);  /* bg tints */
  --color-accent-border: rgba(200,169,110,0.18);  /* borders */
  --color-accent-dim:    rgba(200,169,110,0.35);  /* section-rule gradient */
  --color-text-strong:   rgba(240,235,225,0.80);  /* strong emphasis */
  --color-text-dim:      rgba(240,235,225,0.60);  /* nav links, ghost UI */
  --color-white:        #ffffff;

  /* Typography — Plus Jakarta Sans only */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container-max:  800px;
  --container-wide: 1100px;
  --header-height:  60px;

  /* Borders */
  --radius-sm:  3px;
  --radius-md:  6px;
  --radius-lg:  10px;

  /* Transitions */
  --transition-fast:  150ms ease;
  --transition-base:  250ms ease;
}


/* ==============================================
   2. RESET & BASE
   ============================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 2rem);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}


/* ==============================================
   3. LAYOUT UTILITIES
   ============================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding-block: 2rem;
}

/* Gold gradient rule between sections */
.section-rule {
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-dim) 60%, transparent 100%);
}

/* Section kicker — gold rail + uppercase label */
.section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}

.section-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 1.1rem;
  background: var(--color-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Italic callout beneath section kicker */
.section-callout {
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(200,169,110,0.72);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 56ch;
}


/* ==============================================
   4. BUTTONS
   ============================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast);
  text-decoration: none !important;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--color-accent);
  color: #0a0908;
  font-weight: 700;
}

.btn--primary:hover {
  background: #d4b87c;
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-dim);
  border: 1px solid rgba(200,169,110,0.3);
}

.btn--ghost:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: var(--color-accent-subtle);
  text-decoration: none;
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid rgba(200,169,110,0.5);
}

.btn--outline:hover {
  background: var(--color-accent-subtle);
}


/* ==============================================
   5. HEADER / NAV
   ============================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(10,9,8,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--color-accent);
  transition: box-shadow var(--transition-base);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.header-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-inline: 1.5rem;
}

/* Two-tier logo: name + role tagline */
.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  padding-right: 1.25rem;
  border-right: 1px solid var(--color-accent-border);
  text-decoration: none !important;
  flex-shrink: 0;
  gap: 0.22rem;
}

.logo-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.logo-role {
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(240,235,225,0.65);
  text-decoration: none;
  transition: color var(--transition-fast);
  padding-block: 0.25rem;
  position: relative;
  letter-spacing: 0.01em;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: rgba(240,235,225,0.75);
  text-decoration: none;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

/* Contact CTA in nav */
.site-nav .nav-cta {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(200,169,110,0.45);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.site-nav .nav-cta::after {
  display: none;
}

.site-nav .nav-cta:hover {
  background: rgba(200,169,110,0.08);
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ==============================================
   6. HERO / ABOUT
   ============================================== */
.section--hero {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  background: var(--color-surface);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 3.5rem;
  align-items: start;
}

/* Gold uppercase eyebrow */
.hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: 0.9rem;
}

/* Site's loudest statement */
.hero-headline {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  max-width: 22ch;
}

.hero-bio {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}

.hero-bio p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-weight: 300;
  max-width: 62ch;
}

.hero-bio p strong {
  color: var(--color-text-strong);
  font-weight: 500;
}

/* "Open to" role tags */
.open-to {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(200,169,110,0.1);
}

.open-to-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  white-space: nowrap;
  margin-right: 0.15rem;
}

.open-to-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.open-to-tag {
  font-size: 0.73rem;
  font-weight: 400;
  padding: 0.22rem 0.65rem;
  background: transparent;
  border: 1px solid rgba(200,169,110,0.28);
  border-radius: 100px;
  color: var(--color-text-dim);
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Right sidebar: facts panel */
.hero-meta {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.hero-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  object-fit: cover;
  margin-bottom: 1rem;
  border: 1.5px solid rgba(200,169,110,0.45);
}

.hero-facts {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.4rem;
  background: rgba(200,169,110,0.04);
  border: 1px solid rgba(200,169,110,0.12);
  border-radius: var(--radius-lg);
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.fact-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}

.fact-value {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(240,235,225,0.65);
  line-height: 1.5;
}


/* ==============================================
   7. EXPERIENCE / TIMELINE
   ============================================== */
.section--experience {
  background: var(--color-surface-alt);
}

.timeline {
  position: relative;
  margin-bottom: 2.5rem;
}

/* Company group — wraps multiple roles at one employer */
.timeline-company-group {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--color-accent-border);
}

.timeline-company-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.company-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.company-meta {
  font-size: 0.78rem;
  color: rgba(200,169,110,0.5);
  font-weight: 400;
}

/* Individual roles */
.timeline-item {
  position: relative;
  padding-left: 1.5rem;
  padding-bottom: 1.75rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -5px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 2px solid var(--color-surface-alt);
  z-index: 1;
}

/* Standalone earlier-career item */
.timeline > .timeline-item {
  padding-left: 1.5rem;
  border-left: 1px solid var(--color-accent-border);
  margin-left: 0;
}

.timeline > .timeline-item .timeline-marker {
  left: -5px;
}

.timeline-marker--small {
  width: 7px;
  height: 7px;
  left: -4px;
  background: rgba(200,169,110,0.3);
  border-color: var(--color-surface-alt);
}

.timeline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.job-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

.job-meta {
  font-size: 0.75rem;
  color: rgba(200,169,110,0.55);
  margin-top: 0.18rem;
  font-weight: 500;
}

.job-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  background: rgba(200,169,110,0.07);
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: var(--radius-sm);
  color: rgba(200,169,110,0.7);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.job-description {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 0.85rem;
  max-width: 62ch;
  line-height: 1.7;
  font-weight: 300;
}

.job-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.job-bullets li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.65;
  font-weight: 300;
}

.job-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.75rem;
  line-height: 1.65;
}

.job-bullets strong {
  color: var(--color-text-strong);
  font-weight: 500;
}

.earlier-career {
  font-size: 0.85rem;
  color: var(--color-text-faint);
  line-height: 1.75;
  padding-top: 0.5rem;
  max-width: 62ch;
  font-weight: 300;
}

/* Education */
.education {
  margin-bottom: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(200,169,110,0.1);
}

.education-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 1.1rem;
}

.education-items {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.education-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.education-school {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
}

.education-degree {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 300;
}

.resume-download {
  margin-top: 1rem;
}


/* ==============================================
   8. PROJECTS / CASE STUDIES
   ============================================== */
.section--projects {
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

/* SVG node network — absolute, right edge, decorative */
.network-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 100%;
  opacity: 0.10;
  pointer-events: none;
}

.case-studies {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.case-study {
  border-bottom: 1px solid rgba(200,169,110,0.1);
  padding-bottom: 2.25rem;
  margin-bottom: 2.25rem;
}

.case-study:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.case-summary {
  padding: 0;
}

.case-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.case-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  background: rgba(200,169,110,0.08);
  border: 1px solid rgba(200,169,110,0.22);
  border-radius: 100px;
  color: var(--color-accent);
}

.case-year {
  font-size: 0.72rem;
  color: rgba(200,169,110,0.70);
  font-weight: 500;
}

.case-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.case-hook {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 60ch;
  margin-bottom: 1.1rem;
  font-weight: 300;
}

/* Outlined segmented stat block */
.case-stats {
  display: flex;
  width: fit-content;
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: rgba(200,169,110,0.04);
  flex-wrap: wrap;
}

.stat {
  padding: 0.55rem 1rem;
  border-right: 1px solid rgba(200,169,110,0.2);
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.stat:last-child {
  border-right: none;
}

.stat-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--color-text-muted);
  white-space: nowrap;
  display: block;
}

/* Expand toggle */
.case-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(200,169,110,0.65);
  padding: 0.3rem 0;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  font-family: var(--font-sans);
}

.case-toggle:hover {
  color: var(--color-accent);
}

.toggle-icon {
  display: inline-block;
  transition: transform var(--transition-fast);
  font-style: normal;
  color: var(--color-accent);
}

.case-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

/* Expanded narrative */
.case-detail {
  display: none;
  border-top: 1px solid rgba(200,169,110,0.1);
  padding-top: 1.75rem;
  margin-top: 1rem;
  background: transparent;
}

.case-detail.is-open {
  display: block;
}

.case-narrative {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.narrative-block {
  max-width: 64ch;
}

.narrative-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.55rem;
}

.narrative-block p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-weight: 300;
}

.narrative-block p + p {
  margin-top: 0.75rem;
}

.outcome-list {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.outcome-list li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.65;
  font-weight: 300;
}

.outcome-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.75rem;
  line-height: 1.65;
}

.outcome-list strong {
  color: var(--color-text-strong);
  font-weight: 500;
}

.case-toggle--close {
  color: var(--color-text-faint);
  font-size: 0.82rem;
  font-weight: 400;
}

.case-toggle--close:hover {
  color: var(--color-text-muted);
}


/* ==============================================
   9. PHILOSOPHY / HOW I WORK
   ============================================== */
.section--philosophy {
  background: var(--color-surface-alt);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
}

.philosophy-block {
  border-top: 1px solid rgba(200,169,110,0.15);
  padding-top: 1.4rem;
}

.philosophy-heading {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.philosophy-block p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-weight: 300;
}

.philosophy-block p + p {
  margin-top: 0.65rem;
}


/* ==============================================
   10. SKILLS
   ============================================== */
.section--skills {
  background: var(--color-surface);
}

.skills-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.skills-group-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 1.1rem;
}

/* PM Skills — chip grid */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skills-list li {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.28rem 0.75rem;
  background: rgba(200,169,110,0.06);
  border: 1px solid var(--color-accent-border);
  border-radius: 100px;
  color: var(--color-accent);
  line-height: 1.5;
}

/* Technical Fluency — override to list layout */
.skills-list--tools {
  flex-direction: column;
  gap: 0.6rem;
}

.skills-list--tools li {
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--color-text-muted);
  padding: 0;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.65;
}

.tool-name {
  font-weight: 600;
  color: var(--color-text);
}

.skills-note {
  font-size: 0.82rem;
  color: var(--color-text-faint);
  font-style: italic;
  margin-bottom: 1.1rem;
  line-height: 1.6;
}

.skills-callout {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid rgba(200,169,110,0.4);
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(200,169,110,0.65);
  line-height: 1.6;
  font-weight: 300;
}


/* ==============================================
   11. CONTACT
   ============================================== */
.section--contact {
  background: var(--color-surface-alt);
}

.contact-inner {
  max-width: 52ch;
}

.contact-description {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-weight: 300;
}

.contact-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(240,235,225,0.7);
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast),
              background var(--transition-fast);
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--color-accent-border);
  border-radius: var(--radius-md);
  background: rgba(200,169,110,0.04);
  width: fit-content;
}

.contact-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: rgba(200,169,110,0.08);
  text-decoration: none;
}

.contact-link svg {
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.contact-link:hover svg {
  opacity: 1;
}


/* ==============================================
   12. FOOTER
   ============================================== */
.site-footer {
  padding-block: 2rem;
  border-top: 1px solid rgba(200,169,110,0.12);
  background: var(--color-bg);
}

.footer-inner {
  max-width: var(--container-wide);
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(240,235,225,0.55);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
}

.footer-links a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.footer-divider {
  color: var(--color-text-faint);
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--color-text-faint);
  width: 100%;
}


/* ==============================================
   13. RESPONSIVE — TABLET
   ============================================== */
@media (max-width: 900px) {
  :root {
    --container-max: 100%;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-meta {
    position: static;
  }

  .hero-headline {
    max-width: none;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .skills-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}


/* ==============================================
   14. RESPONSIVE — MOBILE
   ============================================== */
@media (max-width: 640px) {
  .section {
    padding-block: 3.5rem;
  }

  .section--hero {
    padding-top: calc(var(--header-height) + 2.5rem);
    padding-bottom: 3.5rem;
  }

  .hero-headline {
    font-size: 1.7rem;
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr;
  }

  .open-to {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-company-group {
    padding-left: 1.1rem;
  }

  .timeline-item {
    padding-left: 1.1rem;
  }

  .timeline-header {
    flex-direction: column;
    gap: 0.4rem;
  }

  .case-stats {
    flex-wrap: wrap;
  }

  /* Reduce network SVG opacity on mobile */
  .network-bg {
    opacity: 0.06;
    width: 75%;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(13,13,11,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200,169,110,0.15);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 0;
    transform: translateY(-110%);
    transition: transform var(--transition-base);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.85rem 1.5rem;
    border-radius: 0;
    font-size: 0.95rem;
    color: var(--color-text-dim);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    background: rgba(200,169,110,0.06);
    color: var(--color-accent);
  }

  .site-nav .nav-cta {
    margin: 0.5rem 1.5rem;
    text-align: center;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-link {
    width: 100%;
  }
}


/* ==============================================
   15. PRINT
   ============================================== */
@media print {
  .site-header,
  .hero-actions,
  .case-toggle,
  .resume-download,
  .site-footer,
  .network-bg {
    display: none !important;
  }

  .case-detail {
    display: block !important;
  }

  .section {
    padding-block: 2rem;
    break-inside: avoid;
    background: transparent !important;
  }

  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
  }

  .section-rule { display: none; }
}
