:root {
  --ink: #0b1d2b;
  --navy: #071a2b;
  --navy-2: #0c2a3d;
  --teal: #19c3ad;
  --teal-dark: #087f78;
  --mint: #baf4e8;
  --sky: #8fd7ee;
  --paper: #f5f8f8;
  --white: #ffffff;
  --muted: #60727e;
  --line: #dce6e7;
  --shadow: 0 24px 80px rgba(5, 24, 37, 0.16);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main { display: flex; flex-direction: column; }
.hero { order: 1; }
.trust-strip { order: 2; }
.projects { order: 3; }
.expertise { order: 4; }
.about { order: 5; }
.experience { order: 6; }
.certifications { order: 7; }
.contact { order: 8; }

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { width: 100%; height: 100%; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 16px; background: var(--white); color: var(--ink); transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--white);
  transition: background .25s ease, box-shadow .25s ease, color .25s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 8px 30px rgba(5, 24, 37, .08); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 760; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--teal); color: var(--navy); font-size: 13px; font-weight: 900; letter-spacing: -.04em; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 650; }
.site-nav a { position: relative; opacity: .82; transition: opacity .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { opacity: 1; }
.site-nav a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--teal); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.nav-contact { padding: 10px 18px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; }
.scrolled .nav-contact { border-color: var(--line); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; min-height: 800px; overflow: hidden; color: var(--white); background: radial-gradient(circle at 82% 14%, rgba(25,195,173,.20), transparent 30%), linear-gradient(135deg, #061522 0%, #09273a 100%); }
.hero-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(to right, transparent 0%, black 60%, black 100%); }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; left: -210px; bottom: -150px; border: 1px solid rgba(143,215,238,.2); border-radius: 50%; box-shadow: 0 0 0 70px rgba(143,215,238,.03), 0 0 0 140px rgba(143,215,238,.025); }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 68px; padding-top: 132px; padding-bottom: 76px; min-height: 850px; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--mint); font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .15em; }
.eyebrow span { width: 34px; height: 1px; background: var(--teal); }
.hero h1 { max-width: 700px; margin: 26px 0 24px; font-size: clamp(50px, 5.5vw, 76px); line-height: 1.04; letter-spacing: -.052em; }
.hero h1 em { display: block; color: var(--teal); font-family: inherit; font-style: normal; font-weight: 760; }
.hero-lead { max-width: 660px; margin: 0; color: #bfd0d9; font-size: 18px; line-height: 1.72; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.hero-proof span { display: inline-flex; align-items: center; min-height: 31px; padding: 6px 10px; border: 1px solid rgba(143,215,238,.22); border-radius: 999px; color: #c9dae2; background: rgba(255,255,255,.035); font-size: 10px; font-weight: 700; letter-spacing: .035em; }
.hero-actions, .contact-actions, .project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.hero-actions { margin-top: 27px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 12px; font-size: 14px; font-weight: 780; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal); color: var(--navy); }
.button-primary:hover { background: #40d4bf; }
.button-secondary { border: 1px solid rgba(255,255,255,.26); color: var(--white); }
.button-secondary:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.05); }
.hero-contact-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 12px; }
.hero-contact-link { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; color: var(--teal); font-size: 13px; font-weight: 650; }
.hero-contact-link:hover { color: var(--mint); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 27px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.16); color: #92a9b5; font-size: 12px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span + span { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.24); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(25,195,173,.12); }

.hero-visual { position: relative; min-height: 620px; display: grid; place-items: center; }
.visual-glow { position: absolute; width: 470px; height: 470px; border-radius: 50%; background: rgba(25,195,173,.12); filter: blur(85px); }
.profile-panel { position: relative; z-index: 2; width: min(100%,570px); padding: 30px; border: 1px solid rgba(255,255,255,.24); border-radius: 25px; background: linear-gradient(145deg,rgba(10,43,59,.9),rgba(5,26,40,.86)); box-shadow: 0 34px 90px rgba(0,0,0,.28); backdrop-filter: blur(18px); }
.panel-top { color: var(--teal); font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .1em; }
.profile-identity { display: grid; grid-template-columns: 126px minmax(0,1fr); gap: 24px; align-items: center; margin: 28px 0 26px; }
.profile-headshot { width: 126px; height: 126px; object-fit: cover; object-position: center; border: 2px solid rgba(255,255,255,.34); border-radius: 50%; background: rgba(255,255,255,.08); box-shadow: 0 14px 32px rgba(0,0,0,.28); }
.profile-identity-copy h2 { margin: 0; font-size: 29px; line-height: 1.15; letter-spacing: -.035em; }
.profile-identity-copy > p { margin: 8px 0 15px; color: var(--teal); font-size: 15px; }
.profile-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.profile-chips span { padding: 5px 11px; border: 1px solid rgba(255,255,255,.23); border-radius: 999px; color: #c5d6de; font-size: 10px; line-height: 1.2; }
.panel-divider { height: 1px; margin: 0 0 28px; background: rgba(255,255,255,.25); }
.profile-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.profile-metric { min-height: 125px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 13px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; text-align: center; background: rgba(3,20,31,.2); }
.metric-icon { width: 33px; height: 33px; margin-bottom: 9px; fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.profile-metric strong { color: var(--white); font-size: 28px; line-height: 1.05; letter-spacing: -.04em; }
.profile-metric .metric-wide { font-size: 15px; letter-spacing: -.02em; }
.profile-metric .metric-submission { font-size: 12px; white-space: nowrap; }
.profile-metric > span { margin-top: 5px; color: #b4c6cf; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.profile-metrics + .panel-divider { margin-top: 28px; }
.traceability-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 8px; align-items: center; }
.traceability-flow > i { color: var(--teal); font-size: 22px; font-style: normal; }
.workflow-step { min-width: 0; min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 11px 6px; border: 1px solid rgba(255,255,255,.22); border-radius: 11px; text-align: center; background: rgba(3,20,31,.2); }
.workflow-step svg { width: 34px; height: 34px; margin-bottom: 10px; fill: none; stroke: #8fd7ee; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.workflow-step strong { font-size: 13px; }
.workflow-step span { margin-top: 4px; color: #9db0ba; font-size: 10px; }
.profile-stack { display: flex; align-items: center; gap: 17px; margin-top: 27px; color: var(--teal); font-size: 10px; font-weight: 680; text-transform: uppercase; letter-spacing: .15em; white-space: nowrap; }
.profile-stack i { flex: 1; height: 1px; background: rgba(255,255,255,.24); }

.trust-strip { position: relative; z-index: 3; border-bottom: 1px solid var(--line); background: var(--white); }
.trust-items { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #6b7e88; font-size: 11px; font-weight: 790; text-transform: uppercase; letter-spacing: .11em; }
.trust-items a { transition: color .2s ease; }
.trust-items a:hover { color: var(--teal-dark); }
.trust-items i { width: 4px; height: 4px; border-radius: 50%; background: var(--teal); }

.section { padding: 126px 0; }
.section-number { display: block; margin-bottom: 20px; color: var(--teal-dark); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.kicker { margin: 0 0 12px; color: var(--teal-dark); font-size: 12px; font-weight: 820; text-transform: uppercase; letter-spacing: .16em; }
.section h2 { margin: 0; max-width: 710px; font-size: clamp(38px, 4.5vw, 58px); line-height: 1.08; letter-spacing: -.045em; }
.split-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.about { background: var(--paper); }
.about-copy { padding-top: 46px; }
.about-copy > p { max-width: 690px; color: var(--muted); }
.about-copy .large-copy { margin-top: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1.5; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.about-facts span, .education-row span { display: block; margin-bottom: 7px; color: #82939b; font-size: 10px; font-weight: 780; text-transform: uppercase; letter-spacing: .12em; }
.about-facts strong { font-size: 13px; }

.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 80px; margin-bottom: 58px; }
.section-title-row > p { max-width: 400px; margin: 0 0 8px; color: var(--muted); }
.expertise-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.expertise-card { position: relative; min-height: 385px; padding: 42px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s ease, transform .25s ease; }
.expertise-card:hover { z-index: 2; background: var(--paper); transform: translateY(-4px); }
.card-index { position: absolute; top: 28px; right: 32px; color: #a8b6bc; font-size: 11px; font-weight: 750; }
.card-icon { width: 50px; height: 50px; padding: 12px; border-radius: 14px; background: #e4f7f3; color: var(--teal-dark); }
.card-icon svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.expertise-card h3 { margin: 27px 0 12px; font-size: 24px; letter-spacing: -.025em; }
.expertise-card p { max-width: 470px; margin: 0; color: var(--muted); }
.expertise-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 0; padding: 0; list-style: none; }
.expertise-card li { padding: 7px 10px; border-radius: 999px; background: #edf3f3; color: #5d727a; font-size: 10px; font-weight: 720; }

.experience { color: var(--white); background: var(--navy); }
.experience .section-number, .experience .kicker { color: var(--teal); }
.experience .section-title-row > p { color: #90a6b2; }
.experience .section-title-row > div { flex: 1; }
.experience .section-title-row h2 { max-width: 790px; }
.experience-list { border-top: 1px solid rgba(255,255,255,.13); }
.experience-entry { position: relative; display: grid; grid-template-columns: 140px minmax(0,1fr) 260px; gap: 32px; align-items: start; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.experience-entry.current::before { content: ""; position: absolute; left: -16px; top: 0; bottom: 0; width: 2px; background: var(--teal); }
.experience-years { padding-top: 1px; color: var(--teal); font-size: 12px; font-weight: 760; letter-spacing: .05em; }
.experience-role { min-width: 0; }
.experience-role h3 { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -.025em; }
.experience-company { margin: 5px 0 0; color: #99adb7; font-size: 13px; }
.experience-impact { max-width: 660px; margin: 18px 0 0; color: #9fb1ba; font-size: 14px; line-height: 1.7; }
.experience-impact strong { color: #edf5f7; font-weight: 700; }
.experience-subroles { display: grid; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.13); }
.experience-subroles div { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 12px; align-items: baseline; }
.experience-subroles span { color: #6f8793; font-size: 10px; font-weight: 760; letter-spacing: .04em; }
.experience-subroles strong { color: #aebfc7; font-size: 12px; font-weight: 650; }
.experience-summary { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 12px; min-width: 0; padding-top: 3px; }
.experience-metric { display: flex; align-items: baseline; gap: 7px; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.13); }
.experience-metric strong { color: var(--white); font-size: 18px; line-height: 1; }
.experience-entry.current .experience-metric strong { color: var(--teal); }
.experience-metric span { color: #6f8793; font-size: 11px; }
.experience-keywords { color: #91a7b2; font-size: 11px; line-height: 1.75; text-align: right; }
.experience-entry.current .experience-keywords { color: #9edfd5; }
.experience-keywords span:not(:last-child)::after { content: " · "; color: #526b78; }
.experience-companies { max-width: 660px; margin: 14px 0 0; }
.experience-companies p { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; margin: 0; padding: 4px 0; color: #99adb7; font-size: 13px; }
.experience-companies time { color: #6f8793; font-size: 11px; white-space: nowrap; }
.education-row { display: grid; grid-template-columns: .8fr 1.35fr .6fr; gap: 20px; margin-top: 50px; }
.education-row div { padding: 22px; border-radius: 15px; background: rgba(255,255,255,.055); }
.education-row span { color: #6f8a97; }
.education-row strong { font-size: 13px; }

.certifications { background: var(--white); }
.certifications .section-title-row { align-items: end; }
.credentials-intro { max-width: 400px; }
.credentials-intro p { margin: 0 0 15px; color: var(--muted); }
.credentials-link { display: inline-flex; align-items: center; gap: 7px; color: var(--teal-dark); font-size: 12px; font-weight: 800; }
.credentials-link:hover { color: var(--navy); }
.certification-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.certification-card { min-width: 0; padding: 25px 18px 24px; border: 1px solid var(--line); border-radius: 18px; text-align: center; background: linear-gradient(180deg,#fff 0%,#f8fbfb 100%); box-shadow: 0 12px 34px rgba(5,24,37,.055); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.certification-card:hover { transform: translateY(-4px); border-color: #b8d9d5; box-shadow: 0 20px 42px rgba(5,24,37,.09); }
.badge-frame { height: 158px; display: grid; place-items: center; margin-bottom: 22px; }
.badge-frame img { width: min(100%,150px); height: 150px; object-fit: contain; }
.badge-frame-small img { width: 112px; height: 112px; image-rendering: auto; }
.certification-card > p { margin: 0 0 7px; color: var(--teal-dark); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .13em; }
.certification-card h3 { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.42; letter-spacing: -.015em; }

.projects { background: var(--paper); }
.featured-project { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 590px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.project-preview { display: grid; place-items: center; min-height: 590px; padding: 48px; background: radial-gradient(circle at 30% 20%, rgba(25,195,173,.26), transparent 30%), linear-gradient(145deg, #082234, #0a3445); }
.preview-window { width: 100%; max-width: 590px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 17px; background: #f8fbfb; box-shadow: 0 35px 60px rgba(0,0,0,.3); transform: perspective(1100px) rotateY(4deg) rotateX(2deg); }
.window-bar { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 13px; background: #e7eeee; color: #7d8b91; font-size: 8px; }
.window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #aab8bd; }
.window-bar span { margin-left: 9px; }
.preview-content { display: grid; grid-template-columns: 45px 1fr; min-height: 350px; }
.mini-sidebar { padding: 20px 12px; background: #102d3e; }
.mini-sidebar span { display: block; height: 4px; margin-bottom: 12px; border-radius: 8px; background: rgba(255,255,255,.18); }
.mini-sidebar .active { background: var(--teal); }
.mini-report { padding: 35px 34px; color: var(--ink); }
.mini-report > p { margin: 0; color: var(--teal-dark); font-size: 7px; font-weight: 900; letter-spacing: .14em; }
.mini-report h3 { margin: 8px 0 24px; font-size: 17px; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mini-kpis i { display: block; height: 48px; border-radius: 6px; background: #e8f1f1; }
.mini-chart { display: grid; gap: 10px; margin-top: 25px; }
.mini-chart span { display: block; width: var(--w); height: 10px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), #82d8ce); }
.mini-table { margin-top: 25px; }
.mini-table i { display: block; height: 9px; border-top: 1px solid #dce6e7; }
.project-copy { display: flex; flex-direction: column; justify-content: center; padding: 58px; }
.project-label { color: var(--teal-dark); font-size: 10px; font-weight: 820; text-transform: uppercase; letter-spacing: .14em; }
.project-copy h3 { margin: 15px 0 17px; font-size: 36px; line-height: 1.1; letter-spacing: -.04em; }
.project-copy > p { margin: 0; color: var(--muted); }
.project-points { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 15px; margin: 28px 0; color: #526873; font-size: 11px; font-weight: 680; }
.project-points span::before { content: "✓"; margin-right: 7px; color: var(--teal-dark); font-weight: 900; }
.project-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-results div { padding-right: 8px; }
.project-results strong { display: block; color: var(--ink); font-size: 22px; line-height: 1.1; }
.project-results span { display: block; margin-top: 5px; color: #82939b; font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.tech-stack { display: flex; flex-wrap: wrap; gap: 7px; }
.tech-stack span { padding: 6px 9px; border-radius: 6px; background: #edf4f3; color: #587078; font-size: 9px; font-weight: 780; text-transform: uppercase; letter-spacing: .06em; }
.project-actions { margin-top: 35px; }
.text-link { padding: 12px 2px; color: var(--ink); font-size: 13px; font-weight: 780; }
.text-link span { color: var(--teal-dark); }
.secondary-projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 18px 50px rgba(5, 24, 37, .09); }
.project-card-visual { position: relative; min-height: 280px; display: grid; place-items: center; overflow: hidden; padding: 34px; }
.project-card-copy { padding: 36px; }
.project-card-copy h3 { margin: 12px 0 14px; font-size: 27px; line-height: 1.15; letter-spacing: -.035em; }
.project-card-copy > p { min-height: 104px; margin: 0; color: var(--muted); }
.compact-points { margin: 24px 0; }
.button-dark { color: var(--white); background: var(--navy); }
.button-dark:hover { background: var(--navy-2); }
.visual-caption { position: absolute; left: 24px; bottom: 18px; color: rgba(255,255,255,.72); font-size: 9px; font-weight: 780; text-transform: uppercase; letter-spacing: .12em; }
.portfolio-visual { background: radial-gradient(circle at 20% 10%, rgba(25,195,173,.27), transparent 34%), linear-gradient(140deg, #09263a, #0d4350); }
.portfolio-sheet { width: min(88%, 360px); overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; background: #f7fafa; box-shadow: 0 22px 45px rgba(0,0,0,.28); transform: rotate(-2deg); }
.portfolio-sheet-top { display: flex; gap: 5px; padding: 10px 12px; background: #e6eeee; }
.portfolio-sheet-top span { width: 6px; height: 6px; border-radius: 50%; background: #9fb1b7; }
.portfolio-sheet-body { padding: 25px; }
.sheet-title { display: block; width: 63%; height: 9px; border-radius: 9px; background: #12364a; }
.sheet-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.sheet-columns b { height: 58px; border-radius: 7px; background: #dcebea; }
.sheet-lines { display: grid; gap: 8px; }
.sheet-lines i { height: 5px; border-radius: 5px; background: #d2dddd; }
.sheet-lines i:nth-child(2) { width: 82%; }
.sheet-lines i:nth-child(3) { width: 91%; }
.sheet-lines i:nth-child(4) { width: 69%; }
.cdisc-visual { align-content: center; background: radial-gradient(circle at 85% 15%, rgba(143,215,238,.22), transparent 30%), linear-gradient(140deg, #0c2434, #122f47); }
.cdisc-flow { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--white); }
.cdisc-flow > div { min-width: 112px; padding: 16px 12px; border: 1px solid rgba(255,255,255,.17); border-radius: 11px; background: rgba(255,255,255,.07); text-align: center; }
.cdisc-flow span { display: block; color: var(--teal); font-size: 9px; font-weight: 850; letter-spacing: .11em; }
.cdisc-flow b { display: block; margin-top: 4px; font-size: 11px; }
.cdisc-flow > i { color: var(--teal); font-style: normal; }
.code-lines { width: 76%; display: grid; gap: 7px; margin-top: 24px; }
.code-lines span { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.13); }
.code-lines span:nth-child(2) { width: 73%; }
.code-lines span:nth-child(3) { width: 88%; }
.code-lines span:nth-child(4) { width: 61%; }
.platform-card { grid-column: 1 / -1; display: grid; grid-template-columns: .92fr 1.08fr; }
.platform-card .project-card-copy { display: flex; flex-direction: column; justify-content: center; }
.platform-app-visual { min-height: 390px; background: radial-gradient(circle at 15% 15%, rgba(25,195,173,.25), transparent 30%), linear-gradient(140deg, #071f35, #0b3c4e); }
.platform-app-window { width: min(96%, 620px); overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: #f6f9f9; box-shadow: 0 25px 55px rgba(0,0,0,.28); transform: perspective(1000px) rotateY(-3deg); }
.platform-app-bar { height: 39px; display: flex; align-items: center; gap: 13px; padding: 0 14px; color: #d9e8ec; background: #0a293d; font-size: 8px; }
.platform-app-bar b { color: var(--teal); }
.platform-app-bar span { flex: 1; }
.platform-app-bar i { padding: 3px 7px; border-radius: 999px; color: var(--mint); background: rgba(25,195,173,.18); font-style: normal; }
.platform-app-body { display: grid; grid-template-columns: 45px 1fr; min-height: 250px; }
.platform-app-body aside { padding: 18px 10px; background: #0d3548; }
.platform-app-body aside span { display: block; height: 5px; margin-bottom: 14px; border-radius: 5px; background: rgba(255,255,255,.2); }
.platform-app-body > div { padding: 30px; }
.platform-app-body p { margin: 0 0 18px; color: var(--teal-dark); font-size: 8px; font-weight: 850; letter-spacing: .12em; }
.platform-app-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.platform-app-kpis i { height: 48px; border-radius: 7px; background: #e5eeee; }
.platform-app-chart { height: 90px; display: flex; align-items: end; justify-content: space-between; margin-top: 18px; padding: 18px; border-radius: 9px; background: #edf4f3; }
.platform-app-chart span { width: 68%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--teal), #8ad9ce); }
.platform-app-chart b { color: var(--teal-dark); font-size: 20px; }

/* Project detail pages */
.project-detail-page { background: var(--white); }
.project-detail-page main { display: flex; flex-direction: column; }
.case-hero { position: relative; overflow: hidden; min-height: 700px; color: var(--white); background: linear-gradient(135deg, #061522, #0b3448); }
.case-hero.oncology-case { background: radial-gradient(circle at 80% 20%, rgba(25,195,173,.23), transparent 32%), linear-gradient(135deg, #061522, #0b3448); }
.case-hero.science-case { background: radial-gradient(circle at 18% 85%, rgba(143,215,238,.18), transparent 30%), linear-gradient(135deg, #071a2b, #12384a); }
.case-hero.cdisc-case { background: radial-gradient(circle at 82% 18%, rgba(186,244,232,.16), transparent 30%), linear-gradient(135deg, #071a2b, #164151); }
.case-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.17) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(135deg, transparent 10%, black 75%); }
.case-hero-inner { position: relative; z-index: 2; padding-top: 142px; padding-bottom: 72px; }
.case-back { display: inline-flex; margin-bottom: 55px; color: #9fb8c3; font-size: 12px; font-weight: 730; }
.case-back:hover { color: var(--white); }
.case-hero h1 { max-width: 980px; margin: 22px 0 24px; font-size: clamp(48px, 6.4vw, 82px); line-height: 1.01; letter-spacing: -.055em; }
.case-lead { max-width: 790px; margin: 0; color: #bfd1da; font-size: 20px; line-height: 1.68; }
.case-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.case-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 960px; margin-top: 60px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.06); backdrop-filter: blur(10px); }
.case-meta div { padding: 20px 22px; border-right: 1px solid rgba(255,255,255,.12); }
.case-meta div:last-child { border-right: 0; }
.case-meta span { display: block; margin-bottom: 5px; color: #7f9ba8; font-size: 9px; font-weight: 820; text-transform: uppercase; letter-spacing: .13em; }
.case-meta strong { font-size: 13px; }
.case-section { padding: 112px 0; }
.case-section-tint { background: var(--paper); }
.case-layout { display: grid; grid-template-columns: 210px 1fr; gap: 90px; align-items: start; }
.case-sidebar { position: sticky; top: 120px; display: grid; align-content: start; padding-top: 4px; }
.case-sidebar p { margin: 0 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--teal-dark); font-size: 10px; font-weight: 840; text-transform: uppercase; letter-spacing: .14em; }
.case-sidebar strong { margin-top: 17px; color: var(--ink); font-size: 28px; line-height: 1; }
.case-sidebar span { margin-top: 5px; color: var(--muted); font-size: 11px; }
.case-content { max-width: 850px; }
.case-content h2 { max-width: 820px; margin: 0 0 25px; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -.045em; }
.case-intro { max-width: 760px; margin: 0; color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 23px; line-height: 1.55; }
.case-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 50px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.case-feature-grid article { min-height: 250px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-feature-grid article > span, .pillar-grid article > span, .notebook-list article > span { color: var(--teal-dark); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.case-feature-grid h3 { margin: 40px 0 10px; font-size: 20px; letter-spacing: -.02em; }
.case-feature-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.quality-notes { display: grid; gap: 14px; margin-top: 42px; }
.quality-notes > div { padding: 23px 25px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.quality-notes strong { display: block; margin-bottom: 6px; font-size: 15px; }
.quality-notes p { margin: 0; color: var(--muted); font-size: 13px; }
.case-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.case-tools span { padding: 8px 11px; border-radius: 999px; color: var(--teal-dark); background: #e3f4f0; font-size: 10px; font-weight: 790; text-transform: uppercase; letter-spacing: .06em; }
.case-next { padding: 80px 0; border-top: 1px solid var(--line); background: var(--white); }
.case-next-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.case-next h2 { max-width: 720px; margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.04em; }
.case-inline-action { margin-top: 34px; }
.pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.pillar-grid article { padding: 32px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.pillar-grid h3 { margin: 10px 0 22px; font-size: 22px; }
.pillar-grid ul { margin: 0; padding: 0; list-style: none; }
.pillar-grid li { position: relative; padding: 9px 0 9px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.pillar-grid li:last-child { border-bottom: 0; }
.pillar-grid li::before { content: ""; position: absolute; left: 0; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.workflow-strip { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 12px; align-items: center; margin: 48px 0; }
.workflow-strip div { min-height: 100px; display: grid; align-content: center; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); text-align: center; }
.workflow-strip span { color: var(--teal-dark); font-size: 10px; font-weight: 850; }
.workflow-strip strong { margin-top: 4px; font-size: 12px; }
.workflow-strip i { color: var(--teal-dark); font-style: normal; }
.notebook-list { border-top: 1px solid var(--line); }
.notebook-list article { display: grid; grid-template-columns: 105px 1fr 1.25fr; gap: 26px; align-items: start; padding: 27px 0; border-bottom: 1px solid var(--line); }
.notebook-list h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.notebook-list p { margin: 0; color: var(--muted); font-size: 12px; }
.notebook-hub-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 48px; }
.notebook-hub-heading h2 { margin: 0; font-size: clamp(36px, 4vw, 54px); line-height: 1.08; letter-spacing: -.045em; }
.notebook-hub-heading > p { max-width: 430px; margin: 0; color: var(--muted); }
.notebook-hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.notebook-card { min-height: 390px; display: flex; flex-direction: column; padding: 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notebook-card > span { color: var(--teal-dark); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .13em; }
.notebook-card h3 { margin: 34px 0 14px; font-size: 25px; line-height: 1.18; letter-spacing: -.03em; }
.notebook-card p { margin: 0; color: var(--muted); }
.notebook-card > div { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: auto; padding-top: 30px; }
.notebook-source { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 55px; padding: 38px; border-radius: 18px; color: var(--white); background: var(--navy); }
.notebook-source h2 { margin: 0; font-size: 30px; }

.contact { position: relative; overflow: hidden; padding: 110px 0; text-align: center; color: var(--white); background: linear-gradient(135deg, #0b8279, #075260); }
.contact::before, .contact::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.contact::before { width: 500px; height: 500px; left: -290px; top: -230px; }
.contact::after { width: 360px; height: 360px; right: -170px; bottom: -250px; }
.contact-inner { position: relative; z-index: 2; }
.contact .kicker { color: var(--mint); }
.contact h2 { max-width: 860px; margin: 14px auto 22px; font-size: clamp(38px, 5vw, 62px); line-height: 1.06; letter-spacing: -.045em; }
.contact p:not(.kicker) { max-width: 630px; margin: 0 auto; color: #c6ebe6; }
.contact-actions { justify-content: center; margin-top: 34px; }
.button-light { background: var(--white); color: var(--teal-dark); }
.button-outline-light { border: 1px solid rgba(255,255,255,.38); color: var(--white); }
.button-outline-light:hover { background: rgba(255,255,255,.08); }

.site-footer { padding: 34px 0; color: #71838b; background: #06131d; }
.footer-row { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 30px; align-items: center; }
.footer-brand { color: var(--white); }
.footer-row p { margin: 0; font-size: 11px; }
.footer-row p:last-child { text-align: right; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

a:focus-visible, button:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }

@media (max-width: 980px) {
  .container { width: min(100% - 36px, var(--container)); }
  .site-header { background: rgba(7,26,43,.94); backdrop-filter: blur(14px); }
  .site-header.scrolled { color: var(--ink); background: rgba(255,255,255,.96); }
  .menu-toggle { display: block; color: inherit; }
  .site-nav { position: fixed; inset: 78px 18px auto 18px; display: grid; gap: 0; padding: 14px; border-radius: 16px; color: var(--ink); background: var(--white); box-shadow: var(--shadow); transform: translateY(-18px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 14px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-contact { border: 0; border-radius: 0; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-layout { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 620px; }
  .profile-panel { max-width: 660px; }
  .trust-items { flex-wrap: wrap; justify-content: center; padding: 22px 0; }
  .trust-items i { display: none; }
  .section { padding: 95px 0; }
  .split-layout { grid-template-columns: 1fr; gap: 20px; }
  .about-copy { padding-top: 10px; }
  .section-title-row { display: block; }
  .section-title-row > p { margin-top: 20px; }
  .featured-project { grid-template-columns: 1fr; }
  .secondary-projects { grid-template-columns: 1fr; }
  .project-card { display: grid; grid-template-columns: .9fr 1.1fr; }
  .platform-card { grid-template-columns: 1fr; }
  .project-preview { min-height: 500px; }
  .experience-entry { grid-template-columns: 120px minmax(0,1fr); gap: 24px; }
  .experience-summary { grid-column: 2; align-items: flex-start; padding-top: 0; }
  .experience-keywords { max-width: 620px; text-align: left; }
  .certification-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer-row { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-self: center; }
  .footer-row p:last-child { text-align: center; }
  .case-layout { grid-template-columns: 1fr; gap: 38px; }
  .case-sidebar { position: static; grid-template-columns: repeat(3, auto); align-items: end; gap: 10px 28px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
  .case-sidebar p { grid-column: 1 / -1; margin-bottom: 0; }
  .case-sidebar strong { margin-top: 0; }
  .case-meta { max-width: none; }
  .project-card-copy > p { min-height: 0; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .nav-wrap { min-height: 72px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 35px; height: 35px; }
  .site-nav { inset: 70px 14px auto; }
  .hero, .hero-layout { min-height: auto; }
  .hero-layout { gap: 32px; padding-top: 112px; padding-bottom: 58px; }
  .hero h1 { margin: 22px 0 20px; font-size: clamp(40px, 12.5vw, 58px); line-height: 1.02; }
  .hero-lead { font-size: 16px; }
  .hero-proof { gap: 7px; margin-top: 19px; }
  .hero-proof span { min-height: 29px; padding: 5px 9px; font-size: 9px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .button { width: 100%; }
  .hero-contact-links { justify-content: space-between; gap: 4px 15px; margin-top: 10px; }
  .hero-contact-link { min-height: 42px; font-size: 12px; }
  .hero-meta { display: grid; gap: 10px; }
  .hero-meta span + span { padding-left: 0; border-left: 0; }
  .hero-visual { min-height: 0; }
  .visual-glow { width: 310px; height: 310px; }
  .profile-panel { padding: 20px; border-radius: 20px; }
  .profile-identity { grid-template-columns: 84px minmax(0,1fr); gap: 15px; margin: 22px 0; }
  .profile-headshot { width: 84px; height: 84px; }
  .profile-identity-copy h2 { font-size: 22px; }
  .profile-identity-copy > p { margin: 5px 0 10px; font-size: 13px; }
  .profile-chips { gap: 5px; }
  .profile-chips span { padding: 4px 8px; font-size: 9px; }
  .panel-divider { margin-bottom: 20px; }
  .profile-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .profile-metric { min-height: 112px; }
  .profile-metrics + .panel-divider { margin-top: 20px; }
  .traceability-flow { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .traceability-flow > i { display: none; }
  .workflow-step { min-height: 110px; }
  .profile-stack { gap: 10px; margin-top: 20px; font-size: 8px; letter-spacing: .1em; white-space: normal; text-align: center; }
  .trust-strip { overflow: hidden; }
  .trust-items { width: 100%; min-height: 66px; justify-content: flex-start; flex-wrap: nowrap; gap: 0; padding: 0 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; font-size: 9px; }
  .trust-items::-webkit-scrollbar { display: none; }
  .trust-items a { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; scroll-snap-align: start; }
  .section { padding: 76px 0; }
  .section h2 { font-size: 38px; }
  .about-copy .large-copy { font-size: 23px; }
  .about-facts { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: auto; padding: 32px 26px; }
  .experience .section-title-row h2 { font-size: 34px; }
  .experience-entry { grid-template-columns: 1fr; gap: 10px; padding: 30px 0; }
  .experience-entry.current { padding-left: 16px; }
  .experience-entry.current::before { left: 0; }
  .experience-years, .experience-role, .experience-summary { grid-column: 1; }
  .experience-years { font-size: 11px; }
  .experience-role h3 { font-size: 20px; }
  .experience-impact { font-size: 13px; }
  .experience-summary { align-items: flex-start; margin-top: 8px; }
  .experience-keywords { text-align: left; }
  .experience-companies p { gap: 12px; font-size: 12px; }
  .experience-companies time { font-size: 10px; }
  .education-row { grid-template-columns: 1fr; }
  .certification-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .certification-card { padding: 22px 14px; }
  .badge-frame { height: 132px; margin-bottom: 17px; }
  .badge-frame img { width: 125px; height: 125px; }
  .badge-frame-small img { width: 98px; height: 98px; }
  .project-preview { min-height: 350px; padding: 22px; }
  .preview-content { min-height: 260px; }
  .mini-report { padding: 27px 18px; }
  .project-copy { padding: 34px 25px; }
  .project-copy h3 { font-size: 31px; }
  .project-points { grid-template-columns: 1fr; }
  .project-results { gap: 5px; }
  .project-results strong { font-size: 19px; }
  .project-results span { font-size: 8px; }
  .project-actions .button { width: 100%; }
  .project-card { display: block; }
  .project-card-visual { min-height: 240px; padding: 25px; }
  .project-card-copy { padding: 30px 25px; }
  .project-card-copy > p { min-height: 0; }
  .cdisc-flow { gap: 5px; }
  .cdisc-flow > div { min-width: 88px; padding: 13px 7px; }
  .cdisc-flow b { font-size: 9px; }
  .platform-app-visual { min-height: 300px; }
  .notebook-hub-heading { display: block; }
  .notebook-hub-heading > p { margin-top: 18px; }
  .notebook-hub-grid { grid-template-columns: 1fr; }
  .notebook-card { min-height: 360px; padding: 30px 25px; }
  .notebook-source { display: block; padding: 30px 25px; }
  .notebook-source .button { width: 100%; margin-top: 25px; }
  .contact { padding: 82px 0; }
  .contact h2 { font-size: 39px; }
  .contact-actions .button { width: 100%; }
  .case-hero { min-height: auto; }
  .case-hero-inner { padding-top: 112px; padding-bottom: 54px; }
  .case-back { margin-bottom: 38px; }
  .case-hero h1 { font-size: 43px; }
  .case-lead { font-size: 16px; }
  .case-actions .button { width: 100%; }
  .case-meta { grid-template-columns: 1fr; margin-top: 38px; }
  .case-meta div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .case-meta div:last-child { border-bottom: 0; }
  .case-section { padding: 72px 0; }
  .case-sidebar { grid-template-columns: 1fr 1fr; }
  .case-content h2 { font-size: 37px; }
  .case-intro { font-size: 20px; }
  .case-feature-grid, .pillar-grid { grid-template-columns: 1fr; }
  .case-feature-grid article { min-height: 220px; }
  .workflow-strip { grid-template-columns: 1fr; }
  .workflow-strip i { transform: rotate(90deg); text-align: center; }
  .notebook-list article { grid-template-columns: 1fr; gap: 8px; }
  .case-next-inner { display: block; }
  .case-next .button { width: 100%; margin-top: 28px; }
}

@media (max-width: 460px) {
  .container { width: min(100% - 22px, var(--container)); }
  .eyebrow { font-size: 10px; letter-spacing: .12em; }
  .hero h1 { font-size: clamp(37px, 12vw, 48px); }
  .hero-lead { font-size: 15px; line-height: 1.65; }
  .hero-proof { display: grid; grid-template-columns: 1fr; }
  .hero-proof span { justify-content: center; }
  .hero-contact-links { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-contact-link { justify-content: center; }
  .hero-meta { margin-top: 20px; padding-top: 20px; font-size: 11px; }
  .profile-panel { padding: 16px; border-radius: 18px; }
  .profile-identity { grid-template-columns: 68px minmax(0,1fr); gap: 12px; margin: 19px 0; text-align: left; }
  .profile-headshot { width: 68px; height: 68px; margin: 0; }
  .profile-identity-copy h2 { font-size: 19px; }
  .profile-identity-copy > p { margin: 4px 0 8px; font-size: 11px; }
  .profile-chips { justify-content: flex-start; gap: 4px; }
  .profile-chips span { padding: 3px 6px; font-size: 7.7px; }
  .profile-metrics { gap: 7px; }
  .profile-metric { min-height: 96px; padding: 9px 5px; }
  .metric-icon { width: 27px; height: 27px; margin-bottom: 7px; }
  .profile-metric strong { font-size: 23px; }
  .profile-metric .metric-wide { font-size: 13px; }
  .profile-metric .metric-submission { font-size: 10px; }
  .profile-metric > span { font-size: 8px; }
  .traceability-flow { gap: 7px; }
  .workflow-step { min-height: 96px; padding: 8px 4px; }
  .workflow-step svg { width: 28px; height: 28px; margin-bottom: 7px; }
  .workflow-step strong { font-size: 12px; }
  .workflow-step span { font-size: 8px; }
  .profile-stack { margin-top: 16px; font-size: 7px; }
  .experience-subroles div { grid-template-columns: 1fr; gap: 1px; }
  .experience-companies p { grid-template-columns: 1fr; gap: 1px; }
  .experience-companies time { white-space: normal; }
  .certification-grid { grid-template-columns: 1fr; }
  .certification-card { display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center; text-align: left; }
  .badge-frame { grid-row: 1 / span 2; height: 112px; margin: 0; }
  .badge-frame img { width: 108px; height: 108px; }
  .badge-frame-small img { width: 88px; height: 88px; }
  .certification-card > p { align-self: end; }
  .certification-card h3 { align-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
