:root {
  --bg: #081f39;
  --bg-soft: #0d2b4a;
  --surface: rgba(255, 255, 255, 0.12);
  --surface-strong: rgba(255, 255, 255, 0.18);
  --text: #eef4fb;
  --muted: #c6d1dc;
  --line: rgba(255, 255, 255, 0.2);
  --accent: #c28a52;
  --accent-strong: #dda066;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --bg-start: #0a2746;
  --bg-glow: rgba(194, 138, 82, 0.28);
  --bg-soft-glow: rgba(255, 255, 255, 0.07);
  --header-bg: rgba(8, 25, 47, 0.76);
  --dot-opacity: 0.18;
  --secondary-bg: rgba(255, 255, 255, 0.1);
  --primary-text: #0a2038;
}

:root[data-theme="light"] {
  --bg: #edf1f4;
  --bg-soft: #ffffff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --text: #14293d;
  --muted: #556879;
  --line: rgba(20, 41, 61, 0.12);
  --accent: #b67943;
  --accent-strong: #c9894d;
  --shadow: 0 22px 70px rgba(17, 24, 39, 0.07);
  --bg-start: #fbfcfd;
  --bg-glow: rgba(194, 138, 82, 0.18);
  --bg-soft-glow: rgba(255, 255, 255, 0.92);
  --header-bg: rgba(251, 252, 253, 0.82);
  --dot-opacity: 0.05;
  --secondary-bg: rgba(20, 41, 61, 0.045);
  --primary-text: #fffaf4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 16px/1.5 "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 85% 75%, var(--bg-glow), transparent 22%),
    radial-gradient(circle at 50% 40%, var(--bg-soft-glow), transparent 42%),
    linear-gradient(180deg, var(--bg-start) 0%, var(--bg) 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: var(--dot-opacity);
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.12) 0.5px, transparent 0.5px);
  background-size: 5px 5px;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

.nav-bar,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-bar {
  min-height: 92px;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 1rem;
}

.brand-mark {
  width: 116px;
  height: 116px;
  border-radius: 16px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 4.5rem 0 3.5rem;
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(4rem, 15vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  color: var(--accent);
  text-shadow: 0 0 24px rgba(194, 138, 82, 0.14);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
}

.lead,
.card p,
.metric p,
.contact-list,
.contact-list span {
  color: var(--muted);
}

.lead {
  max-width: 58ch;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.lead.narrow {
  max-width: 68ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-text);
}

.button.secondary {
  background: var(--secondary-bg);
}

.button.accent {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--secondary-bg);
  color: var(--text);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

:root[data-theme="light"] .page-shell::before {
  background-image:
    radial-gradient(rgba(20, 41, 61, 0.08) 0.5px, transparent 0.5px);
}

:root[data-theme="light"] .site-header {
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.04);
}

:root[data-theme="light"] .site-nav a:hover,
:root[data-theme="light"] .theme-toggle:hover,
:root[data-theme="light"] .button.secondary:hover {
  border-color: rgba(20, 41, 61, 0.18);
  background: rgba(20, 41, 61, 0.07);
}

:root[data-theme="light"] .theme-toggle,
:root[data-theme="light"] .button.secondary {
  color: var(--text);
}

.hero-panel,
.card,
.contact-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel {
  border-radius: 28px;
  overflow: hidden;
}

.hero-panel-content {
  padding: 1.5rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.metric {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.11);
}

:root[data-theme="light"] .hero-panel,
:root[data-theme="light"] .card,
:root[data-theme="light"] .contact-panel,
:root[data-theme="light"] .archive-item,
:root[data-theme="light"] .profile-image-wrap,
:root[data-theme="light"] .cv-hero-image-wrap {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 250, 0.96));
  border-color: rgba(20, 41, 61, 0.1);
}

:root[data-theme="light"] .metric,
:root[data-theme="light"] .pill {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(20, 41, 61, 0.1);
}

:root[data-theme="light"] .section-intro-panel {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 251, 0.82) 72%);
}

:root[data-theme="light"] .section-spotlight-block::before {
  background:
    radial-gradient(circle at right top, rgba(194, 138, 82, 0.15), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 248, 250, 0.7));
}

.divider {
  height: 1px;
  background: var(--line);
}

.section {
  padding: 4rem 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 1.25rem 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.section-note-wide {
  max-width: 44ch;
}

.section-intro-block {
  padding-top: 3.2rem;
}

.section-intro-panel {
  max-width: 62rem;
  padding: 1.6rem 1.75rem 1.7rem;
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 68%);
  border-radius: 0 26px 26px 0;
}

.section-flow-block .cards,
.section-editorial-block .assignment-strip,
.section-editorial-block .article-showcase {
  margin-top: 1.4rem;
}

.section-spotlight-block {
  position: relative;
}

.section-spotlight-block::before {
  content: none;
}

.section-values-block .values {
  margin-top: 2rem;
}

.section-profile-block {
  padding-top: 4.75rem;
}

.section-contact-block {
  padding-top: 4.5rem;
}

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

.market-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1rem;
  align-items: stretch;
}

.article-feature-link {
  display: block;
}

.article-feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 1.8rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.11)),
    radial-gradient(circle at right top, rgba(194, 138, 82, 0.16), transparent 34%);
}

:root[data-theme="light"] .article-feature {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 245, 240, 0.94)),
    radial-gradient(circle at right top, rgba(194, 138, 82, 0.22), transparent 34%);
  border-color: rgba(182, 121, 67, 0.22);
}

.article-feature h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.article-feature > p {
  max-width: 58ch;
}

.article-feature-body {
  margin-top: 1rem;
}

.article-read-more {
  display: inline-flex;
  margin-top: 1.4rem;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-stack {
  display: grid;
  gap: 0.8rem;
}

.article-mini {
  display: block;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

:root[data-theme="light"] .article-mini {
  border-top-color: rgba(20, 41, 61, 0.1);
}

.article-mini:first-child {
  border-top: 0;
  padding-top: 0.2rem;
}

.article-mini h3 {
  margin-bottom: 0.45rem;
  font-size: 1.18rem;
  line-height: 1.1;
}

.article-mini p {
  margin-bottom: 0;
  color: var(--muted);
}

.assignment-card {
  position: relative;
  min-height: 100%;
  padding: 1.25rem 1.35rem 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

:root[data-theme="light"] .assignment-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 249, 0.95));
  border-color: rgba(20, 41, 61, 0.1);
}

.assignment-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem;
}

.assignment-link {
  display: flex;
  flex: 1 1 280px;
  min-width: 0;
}

.assignment-link-wide {
  flex-basis: 420px;
}

.assignment-card-home {
  width: 100%;
  min-height: 300px;
}

.assignment-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.assignment-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assignment-index {
  margin: 0;
  color: var(--accent);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.assignment-card h3 {
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.assignment-card-featured h3 {
  font-size: 1.65rem;
  max-width: 16ch;
}

.assignment-card p:last-child {
  margin-bottom: 0;
}

.assignment-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.assignment-tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.assignment-tab:hover {
  transform: translateY(-1px);
  color: var(--text);
}

:root[data-theme="light"] .assignment-tab {
  background: rgba(255, 255, 255, 0.72);
}

:root[data-theme="light"] .assignment-tab:hover {
  background: rgba(20, 41, 61, 0.07);
}

.assignment-panels {
  position: relative;
}

.assignment-panel {
  display: none;
  margin-top: 0;
}

.assignment-panel-default {
  display: block;
}

.assignment-panel:target {
  display: block;
}

.assignment-panels:has(.assignment-panel:target) .assignment-panel-default:not(:target) {
  display: none;
}

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

.news-card-link {
  display: block;
}

.article-list-item {
  display: block;
}

.service-card-link {
  display: block;
}

.news-card {
  height: 100%;
}

.service-card {
  height: 100%;
}

.news-meta,
.archive-meta {
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card {
  padding: 1.4rem;
  border-radius: 20px;
}

.values {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.pill {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.11);
}

:root[data-theme="light"] h1 {
  text-shadow: none;
}

:root[data-theme="light"] .footer-inner {
  color: var(--muted);
}

:root[data-theme="light"] .footer-brand {
  color: var(--accent);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: 28px;
}

.job-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
  position: relative;
  z-index: 1;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at right top, rgba(194, 138, 82, 0.12), transparent 32%);
  box-shadow: var(--shadow);
}

.job-panel-copy,
.job-panel-facts {
  display: grid;
  gap: 1rem;
}

.job-panel-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-content: start;
}

.job-metric {
  min-height: 100%;
}

.job-metric h3 {
  font-size: 0.96rem;
  margin-bottom: 0.4rem;
}

:root[data-theme="light"] .job-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 239, 0.92)),
    radial-gradient(circle at right top, rgba(194, 138, 82, 0.18), transparent 32%);
  border-color: rgba(182, 121, 67, 0.16);
}

.profile-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.profile-image-wrap,
.cv-hero-image-wrap {
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-facts {
  display: grid;
  gap: 0.9rem;
}

.profile-name {
  margin: -0.35rem 0 1rem;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.site-footer {
  padding: 2rem 0 2.5rem;
}

.archive-hero {
  padding-bottom: 2.5rem;
}

.archive-title {
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--accent);
}

.cv-hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  gap: 1.5rem;
  align-items: center;
}

.cv-hero-copy .lead {
  margin-bottom: 0;
}

.cv-print-meta {
  display: none;
}

.archive-list {
  display: grid;
  gap: 1rem;
}

.cv-values {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cv-key-grid,
.cv-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cv-timeline {
  display: grid;
  gap: 1.5rem;
}

.cv-employer {
  display: grid;
  gap: 0.85rem;
}

.cv-employer > h3 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.cv-employer-meta {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cv-role-list {
  display: grid;
  gap: 0.85rem;
}

.cv-role {
  padding-left: 1.1rem;
  border-left: 2px solid var(--line);
}

.cv-role h4 {
  margin-bottom: 0.45rem;
  font-size: 1.02rem;
  color: var(--text);
}

.cv-role p {
  margin-bottom: 0;
  color: var(--muted);
}

.cv-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

.archive-item {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.article-teaser {
  height: 100%;
}

.article-hero {
  padding-bottom: 1.5rem;
}

.article-meta {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-body {
  display: grid;
  gap: 1rem;
}

.article-body p {
  max-width: 70ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.case-sections {
  display: grid;
  gap: 1rem;
}

.case-sections h4 {
  margin: 0 0 0.45rem;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.case-sections p {
  margin: 0;
  color: var(--muted);
}

.article-back {
  display: inline-flex;
  margin-top: 1rem;
}

.source-link {
  display: inline-flex;
  margin-top: 0.8rem;
  color: var(--accent);
  font-weight: 700;
}

.footer-inner {
  min-height: 68px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.22em;
}

@media (max-width: 980px) {
  .hero,
  .profile-panel,
  .cv-hero-layout,
  .contact-panel,
  .job-panel,
  .cards,
  .values {
    grid-template-columns: 1fr;
  }

  .article-showcase {
    grid-template-columns: 1fr;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-nav {
    gap: 0.8rem 1rem;
    font-size: 0.82rem;
  }

  .nav-actions {
    gap: 0.75rem;
  }

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

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

  .assignment-strip {
    flex-direction: column;
  }

  .assignment-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .cv-key-grid,
  .cv-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-bar,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 0.55rem 0.8rem;
    font-size: 0.72rem;
  }

  .theme-toggle {
    width: auto;
    min-height: 36px;
    padding: 0.55rem 0.8rem;
    font-size: 0.68rem;
  }

  .section-intro-panel {
    padding: 1.35rem 1.25rem 1.45rem;
  }

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

  .hero {
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(3.2rem, 25vw, 6rem);
  }

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

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

@page {
  margin: 14mm 12mm;
}

@media print {
  :root {
    --text: #111827;
    --muted: #374151;
    --line: rgba(17, 24, 39, 0.18);
    --accent: #8b5e34;
  }

  .cv-page,
  .cv-page * {
    text-shadow: none !important;
    box-shadow: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  body.cv-page {
    min-height: auto;
    color: var(--text);
    font: 9pt/1.35 "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
    background: #ffffff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .cv-page .page-shell {
    overflow: visible;
    background: #ffffff !important;
  }

  .cv-page .page-shell::before,
  .cv-page .site-header,
  .cv-page .site-footer,
  .cv-page .divider,
  .cv-page .cta-row {
    display: none !important;
  }

  .cv-page main,
  .cv-page section,
  .cv-page article,
  .cv-page div,
  .cv-page p,
  .cv-page h1,
  .cv-page h2,
  .cv-page h3,
  .cv-page h4,
  .cv-page li {
    color: inherit;
  }

  .cv-page .container {
    width: 100%;
    margin: 0;
  }

  .cv-page .section {
    padding: 0 0 7mm;
  }

  .cv-page .archive-hero {
    padding-bottom: 6mm;
  }

  .cv-page .archive-title {
    margin-bottom: 3mm;
    font-size: 21pt;
    color: var(--text) !important;
  }

  .cv-page h2,
  .cv-page h3,
  .cv-page h4 {
    color: var(--text) !important;
  }

  .cv-page h2 {
    font-size: 16pt;
  }

  .cv-page h3 {
    font-size: 11.5pt;
  }

  .cv-page h4 {
    font-size: 9.5pt;
  }

  .cv-page .section-label,
  .cv-page .archive-meta,
  .cv-page .cv-employer-meta {
    color: var(--accent) !important;
  }

  .cv-page .lead,
  .cv-page .archive-item p,
  .cv-page .cv-role p,
  .cv-page .cv-list {
    color: var(--muted) !important;
  }

  .cv-page .cv-hero-layout {
    grid-template-columns: minmax(0, 1fr) 44mm;
    gap: 8mm;
    align-items: start;
  }

  .cv-page .cv-print-meta {
    display: block;
    margin: 4mm 0 0;
    color: var(--muted) !important;
    font-size: 8.25pt;
  }

  .cv-page .cv-hero-image-wrap,
  .cv-page .archive-item,
  .cv-page .metric,
  .cv-page .pill {
    border: 1px solid var(--line) !important;
    background: #ffffff !important;
  }

  .cv-page .cv-hero-image-wrap {
    border-radius: 10px;
  }

  .cv-page .profile-image {
    max-height: 58mm;
    object-fit: cover;
  }

  .cv-page .archive-list {
    gap: 4mm;
  }

  .cv-page .archive-item {
    padding: 4mm;
    border-radius: 10px;
    break-inside: avoid-page;
  }

  .cv-page .cv-key-grid,
  .cv-page .cv-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3mm;
  }

  .cv-page .cv-values {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3mm;
  }

  .cv-page .metric,
  .cv-page .pill {
    padding: 2.4mm 3mm;
    border-radius: 999px;
  }

  .cv-page .cv-key-grid .metric {
    padding: 3.2mm 4mm;
    border-radius: 12px;
  }

  .cv-page .cv-key-grid .metric h3 {
    margin-bottom: 1mm;
    font-size: 8.8pt;
    line-height: 1.2;
  }

  .cv-page .cv-key-grid .metric p {
    font-size: 8.1pt;
    line-height: 1.3;
  }

  .cv-page .metric h3,
  .cv-page .cv-employer > h3,
  .cv-page .cv-role h4 {
    color: var(--text) !important;
  }

  .cv-page .cv-timeline,
  .cv-page .cv-role-list {
    gap: 4mm;
  }

  .cv-page .cv-experience .cv-timeline {
    gap: 3mm;
  }

  .cv-page .cv-experience .cv-employer {
    display: grid;
    grid-template-columns: 34mm minmax(0, 1fr);
    gap: 1.5mm 4mm;
    align-items: start;
  }

  .cv-page .cv-experience .cv-employer > h3 {
    grid-column: 1;
    margin: 0;
    font-size: 10.5pt;
  }

  .cv-page .cv-experience .cv-employer-meta {
    grid-column: 1;
    margin: 0;
    font-size: 7.5pt;
    line-height: 1.3;
  }

  .cv-page .cv-experience .cv-role-list {
    grid-column: 2;
    grid-row: 1 / span 2;
    gap: 2.5mm;
  }

  .cv-page .cv-experience .cv-role {
    padding-left: 2.5mm;
  }

  .cv-page .cv-experience .cv-role h4 {
    margin-bottom: 1mm;
    font-size: 8.8pt;
    line-height: 1.25;
  }

  .cv-page .cv-experience .cv-role p {
    font-size: 8.2pt;
    line-height: 1.3;
  }

  .cv-page .cv-experience .cv-role .archive-meta {
    margin-bottom: 0.8mm;
    font-size: 7pt;
    letter-spacing: 0.06em;
  }

  .cv-page .cv-employer,
  .cv-page .cv-role,
  .cv-page .values,
  .cv-page .cv-key-grid,
  .cv-page .cv-columns {
    break-inside: avoid-page;
  }

  .cv-page .cv-role {
    padding-left: 3mm;
    border-left: 1.5px solid var(--line) !important;
  }

  .cv-page a {
    color: inherit !important;
    text-decoration: none;
  }
}
