:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --surface: #ffffff;
  --ink: #1d2328;
  --muted: #5d6771;
  --line: #d9ded9;
  --teal: #147d73;
  --teal-dark: #0e5a53;
  --amber: #c47a1c;
  --coral: #b65445;
  --coral-soft: #fae7e2;
  --mint: #e4f4ef;
  --gold-soft: #fbefd8;
  --header: rgba(255, 255, 255, 0.9);
  --grid-primary: rgba(20, 125, 115, 0.08);
  --grid-secondary: rgba(196, 122, 28, 0.08);
  --hero-start: #193f3b;
  --hero-mid: #147d73;
  --hero-end: #c47a1c;
  --brand-start: #0e5a53;
  --brand-end: #147d73;
  --footer-start: rgba(20, 125, 115, 0.94);
  --footer-end: rgba(25, 63, 59, 0.98);
  --theme-index: 0;
  --shadow: 0 20px 60px rgba(29, 35, 40, 0.09);
}

[data-theme="ocean"] {
  --paper: #eef5f7;
  --surface: #ffffff;
  --ink: #1b2830;
  --muted: #5a6870;
  --line: #d4e2e8;
  --teal: #1f7ea4;
  --teal-dark: #15516b;
  --amber: #b9792e;
  --coral: #aa5d4b;
  --coral-soft: #f7e7e1;
  --mint: #e5f4f8;
  --gold-soft: #fbefd8;
  --header: rgba(255, 255, 255, 0.92);
  --grid-primary: rgba(31, 126, 164, 0.1);
  --grid-secondary: rgba(185, 121, 46, 0.08);
  --hero-start: #16364a;
  --hero-mid: #1f7ea4;
  --hero-end: #b9792e;
  --brand-start: #15516b;
  --brand-end: #1f7ea4;
  --footer-start: rgba(31, 126, 164, 0.96);
  --footer-end: rgba(22, 54, 74, 0.98);
}

[data-theme="graphite"] {
  --paper: #f3f1ec;
  --surface: #ffffff;
  --ink: #22272b;
  --muted: #60666b;
  --line: #dad8d0;
  --teal: #66746f;
  --teal-dark: #333d3a;
  --amber: #b1813b;
  --coral: #9b5b4d;
  --coral-soft: #f4e6e1;
  --mint: #ebecea;
  --gold-soft: #f7ecd6;
  --header: rgba(255, 255, 255, 0.92);
  --grid-primary: rgba(51, 61, 58, 0.08);
  --grid-secondary: rgba(177, 129, 59, 0.09);
  --hero-start: #22272b;
  --hero-mid: #66746f;
  --hero-end: #b1813b;
  --brand-start: #22272b;
  --brand-end: #66746f;
  --footer-start: rgba(51, 61, 58, 0.96);
  --footer-end: rgba(34, 39, 43, 0.98);
}

[data-theme="sunrise"] {
  --paper: #fbf3ed;
  --surface: #ffffff;
  --ink: #2b2623;
  --muted: #6c625c;
  --line: #ead8cb;
  --teal: #8b6f47;
  --teal-dark: #5c4a32;
  --amber: #d06a2c;
  --coral: #b65445;
  --coral-soft: #fae7e2;
  --mint: #f4eee3;
  --gold-soft: #fff0d9;
  --header: rgba(255, 255, 255, 0.92);
  --grid-primary: rgba(139, 111, 71, 0.08);
  --grid-secondary: rgba(208, 106, 44, 0.1);
  --hero-start: #4a342c;
  --hero-mid: #8b6f47;
  --hero-end: #d06a2c;
  --brand-start: #5c4a32;
  --brand-end: #d06a2c;
  --footer-start: rgba(92, 74, 50, 0.96);
  --footer-end: rgba(74, 52, 44, 0.98);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, var(--grid-primary) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, var(--grid-secondary) 0 1px, transparent 1px 100%),
    var(--paper);
  background-size: 44px 44px;
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

button {
  font: inherit;
}

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

.site-frame {
  --frame-width: min(1220px, calc(100% - clamp(28px, 6vw, 96px)));
  width: var(--frame-width);
  margin: 0 auto clamp(28px, 4vw, 44px);
  padding-top: 114px;
}

.site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 1000;
  width: var(--frame-width);
  margin-bottom: 0;
  transform: translateX(-50%);
}

.topbar {
  position: relative;
  display: grid;
  place-items: center;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 84px;
  padding: 12px 16px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.36) 0 1px, transparent 1px 100%),
    linear-gradient(135deg, #f7fdff 0%, #dff3ff 44%, #ecfff9 100%);
  background-size: 34px 34px, 34px 34px, auto;
  border: 2px solid #111;
  border-left: 8px solid var(--teal-dark);
  border-right: 8px solid var(--teal);
  border-radius: 12px;
  box-shadow:
    0 18px 42px rgba(8, 31, 77, 0.16),
    0 0 0 4px rgba(20, 125, 115, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 28%, rgba(255, 255, 255, 0.62) 43%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 52%);
}

.topbar::after {
  content: "";
  position: absolute;
  inset: auto 18px 12px;
  height: 4px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--teal-dark), var(--teal), var(--amber));
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(20, 125, 115, 0.24);
}

.portfolio-title {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 5px 22px 9px;
  color: var(--teal-dark);
  background: linear-gradient(90deg, #073c38, var(--teal-dark), #081f4d);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(1.55rem, 4vw, 2.45rem);
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 10px 24px rgba(8, 31, 77, 0.12);
}

.portfolio-title::before,
.portfolio-title::after {
  content: "";
  flex: 0 0 auto;
  width: clamp(26px, 5vw, 62px);
  height: 3px;
  margin: 0 14px;
  background: linear-gradient(90deg, transparent, var(--teal));
  border-radius: 999px;
  box-shadow: 0 7px 15px rgba(20, 125, 115, 0.18);
}

.portfolio-title::after {
  background: linear-gradient(90deg, var(--amber), transparent);
}

.brand-group {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  border-radius: 8px;
  font-weight: 900;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong,
.brand-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 16px;
  width: 100%;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.nav-links a,
.icon-button,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.1;
}

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

.nav-links a:first-child {
  color: var(--teal-dark);
  background: var(--mint);
}

.nav-links a:hover {
  color: var(--teal-dark);
  background: var(--mint);
}

.theme-switcher {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(62px, 1fr));
  flex: 0 1 340px;
  min-width: 272px;
  padding: 3px;
  background: #edf3ef;
  border: 1px solid #dbe4de;
  border-radius: 8px;
  box-shadow: inset 0 1px 2px rgba(29, 35, 40, 0.06);
}

.theme-slider {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc((100% - 6px) / 4);
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(29, 35, 40, 0.16);
  transform: translateX(calc(var(--theme-index) * 100%));
  transition: transform 180ms ease, background 180ms ease;
}

.theme-option {
  position: relative;
  z-index: 1;
  min-height: 34px;
  padding: 6px 8px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.theme-option.active {
  color: #fff;
}

.theme-option:focus-visible {
  outline: 3px solid rgba(20, 125, 115, 0.28);
  outline-offset: 2px;
}

.icon-button {
  color: #fff;
  background: var(--teal-dark);
  border: 0;
  cursor: pointer;
}

.icon-button:hover {
  background: var(--teal);
}

.resume-shell {
  width: 100%;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(29, 35, 40, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.loading-state,
.noscript-message {
  padding: 72px 28px;
  text-align: center;
}

.error-state h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "about photo"
    "actions photo";
  align-items: start;
  row-gap: 12px;
  column-gap: 28px;
  overflow: hidden;
  min-height: 0;
  padding: 8px 18px 16px 28px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(6, 33, 31, 0.16), transparent 45%),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.22), transparent 25%),
    linear-gradient(135deg, var(--hero-start) 0%, var(--hero-mid) 52%, var(--hero-end) 100%);
}

.hero-about {
  position: relative;
  z-index: 1;
  grid-area: about;
  justify-self: center;
  align-self: start;
  max-width: none;
  padding: 14px 18px;
  background:
    linear-gradient(135deg, rgba(248, 253, 255, 0.96), rgba(231, 246, 250, 0.94));
  border: 1px solid rgba(189, 221, 232, 0.9);
  border-left: 5px solid #0e5a99;
  border-radius: 8px;
  box-shadow:
    0 16px 36px rgba(8, 31, 77, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset;
  backdrop-filter: blur(8px);
}

.hero-about h2 {
  display: none;
  text-align: center;
  margin-bottom: 10px;
  color: #081f4d;
  font-size: clamp(1.14rem, 2.3vw, 1.52rem);
  font-weight: 950;
  line-height: 1.1;
}

.hero-about p {
  margin-bottom: 0;
  color: #173653;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.55;
}

.hero-about p + p {
  margin-top: 8px;
}

.hero-about strong {
  color: #081f4d;
  font-weight: 950;
}

.hero-menu {
  position: relative;
  z-index: 1;
  grid-area: actions;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
  padding: 12px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)),
    rgba(8, 31, 77, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 14px;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.hero-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 38%);
  opacity: 0.9;
}

.hero-menu-link {
  --menu-accent: #0e5a99;
  --menu-soft: #e7f3ff;
  --menu-border: var(--menu-accent);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 76px;
  padding: 10px 25px 10px 10px;
  color: #081f4d;
  background:
    radial-gradient(circle at 18% 14%, color-mix(in srgb, var(--menu-accent) 18%, transparent), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, var(--menu-soft) 92%);
  border: 2px solid color-mix(in srgb, var(--menu-border) 68%, #ffffff);
  border-left: 8px solid var(--menu-accent);
  border-radius: 11px;
  box-shadow:
    0 16px 30px rgba(8, 31, 77, 0.17),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.15;
  text-align: left;
  overflow: hidden;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease, background 170ms ease;
}

.hero-menu-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--menu-accent) 11%, transparent), transparent 36%),
    radial-gradient(circle at 94% 0%, color-mix(in srgb, var(--menu-accent) 16%, transparent), transparent 32%);
  opacity: 0.75;
  pointer-events: none;
  transition: opacity 170ms ease;
}

.hero-menu-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 13px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--menu-accent);
  border-right: 2px solid var(--menu-accent);
  opacity: 0.72;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 170ms ease, opacity 170ms ease;
}

.hero-menu-link:hover,
.hero-menu-link:focus-visible {
  transform: translateY(-3px);
  border-color: var(--menu-accent);
  box-shadow:
    0 20px 38px rgba(8, 31, 77, 0.24),
    0 0 0 4px color-mix(in srgb, var(--menu-accent) 19%, transparent),
    inset 0 0 0 1px rgba(255, 255, 255, 0.78);
}

.hero-menu-link:hover::before,
.hero-menu-link:focus-visible::before {
  opacity: 1;
}

.hero-menu-link:hover::after,
.hero-menu-link:focus-visible::after {
  opacity: 1;
  transform: translate(3px, -50%) rotate(45deg);
}

.hero-menu-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  min-width: 0;
}

.hero-menu-label,
.hero-menu-detail {
  display: block;
  overflow-wrap: anywhere;
}

.hero-menu-label {
  color: #071f4e;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.hero-menu-link--contact .hero-menu-label {
  font-size: clamp(0.62rem, 0.78vw, 0.7rem);
  white-space: nowrap;
  overflow-wrap: normal;
}

.hero-menu-link--contact .hero-menu-icon {
  width: 31px;
  height: 31px;
  border-radius: 9px;
}

.hero-menu-detail {
  width: fit-content;
  min-height: 20px;
  padding: 3px 7px;
  color: color-mix(in srgb, var(--menu-accent) 76%, #081f4d);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid color-mix(in srgb, var(--menu-accent) 20%, #ffffff);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 900;
  white-space: nowrap;
}

.hero-menu-icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--menu-accent) 88%, #ffffff), var(--menu-accent));
  border: 1px solid color-mix(in srgb, var(--menu-accent) 62%, #ffffff);
  border-radius: 10px;
  box-shadow:
    0 12px 22px color-mix(in srgb, var(--menu-accent) 32%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero-menu-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-menu-link--linkedin {
  --menu-accent: #0a66c2;
  --menu-soft: #edf5ff;
}

.hero-menu-link--email {
  --menu-accent: #0f8f83;
  --menu-soft: #e9fbf8;
}

.hero-menu-link--contact {
  --menu-accent: #b65445;
  --menu-soft: #fff2ef;
  gap: 7px;
  padding-right: 18px;
}

.hero-menu-link--contact::after {
  right: 8px;
  width: 6px;
  height: 6px;
}

.hero-menu-link--location {
  --menu-accent: #c47a1c;
  --menu-soft: #fff6e7;
}

.hero-menu-link--download {
  --menu-accent: #2f6f3e;
  --menu-soft: #effaf2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -90px -150px auto;
  width: 360px;
  aspect-ratio: 1;
  border: 44px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.hero-content {
  position: relative;
  z-index: 1;
  grid-area: photo;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.hero-status span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #fbefd8;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: clamp(3.2rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.28rem, 2.4vw, 1.65rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 5px;
  font-size: 1rem;
  line-height: 1.28;
}

.title {
  margin-bottom: 22px;
  color: #fef6e7;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 700;
}

.summary {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.primary-action {
  color: var(--teal-dark);
  background: #fff;
}

.secondary-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.profile-panel {
  justify-self: end;
  width: auto;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  backdrop-filter: none;
}

.profile-photo {
  display: block;
  width: min(190px, 22vw);
  aspect-ratio: 1;
  margin: 0 auto;
  object-fit: cover;
  border: 6px solid var(--gold-soft);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.profile-nameplate {
  display: grid;
  gap: 2px;
  margin: -2px 0 14px;
  text-align: center;
}

.profile-nameplate strong {
  font-size: 1.08rem;
}

.profile-nameplate span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-stack {
  display: grid;
  gap: 9px;
  font-size: 0.9rem;
}

.contact-stack a,
.contact-stack span {
  display: block;
  padding: 8px 10px;
  background: #f5f8f7;
  border: 1px solid #e2e7e4;
  border-radius: 6px;
  overflow-wrap: anywhere;
}

.impact-strip {
  position: relative;
  z-index: 1;
  grid-area: metrics;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 0;
}

.impact-strip div {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 78px;
  padding: 10px 12px;
  background:
    linear-gradient(145deg, rgba(245, 250, 255, 0.96), rgba(218, 235, 246, 0.9));
  border: 1px solid rgba(220, 236, 248, 0.82);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.58) inset,
    0 12px 26px rgba(8, 31, 77, 0.14);
}

.impact-strip div:nth-child(2) {
  background: linear-gradient(145deg, rgba(238, 250, 255, 0.96), rgba(206, 235, 246, 0.9));
}

.impact-strip div:nth-child(3) {
  background: linear-gradient(145deg, rgba(240, 250, 246, 0.96), rgba(213, 237, 228, 0.9));
}

.impact-strip div:nth-child(4) {
  background: linear-gradient(145deg, rgba(255, 250, 238, 0.96), rgba(240, 224, 184, 0.9));
}

.impact-strip div:nth-child(5) {
  background: linear-gradient(145deg, rgba(244, 251, 255, 0.96), rgba(216, 238, 246, 0.9));
}

.impact-strip div:nth-child(6) {
  background: linear-gradient(145deg, rgba(239, 248, 255, 0.96), rgba(210, 231, 246, 0.9));
}

.impact-strip div:nth-child(7) {
  background: linear-gradient(145deg, rgba(242, 251, 245, 0.96), rgba(216, 236, 219, 0.9));
}

.impact-strip div:nth-child(8) {
  background: linear-gradient(145deg, rgba(255, 249, 236, 0.96), rgba(239, 221, 177, 0.9));
}

.impact-strip strong {
  display: inline-block;
  min-width: 0;
  padding: 0;
  color: #081f4d;
  border: 0;
  background: transparent;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 8px rgba(8, 31, 77, 0.12);
}

.impact-strip span {
  display: block;
  margin-top: 5px;
  color: #173653;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

@keyframes metricPulse {
  0%,
  100% {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.14);
  }

  50% {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.24);
  }
}

@keyframes numberGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }

  50% {
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.45);
  }
}

.capability-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(232, 247, 255, 0.95), rgba(245, 252, 250, 0.98));
  border-top: 1px solid rgba(20, 125, 115, 0.22);
  border-bottom: 1px solid rgba(20, 125, 115, 0.24);
}

.capability-panel article {
  --card-accent: var(--teal);
  position: relative;
  min-height: 194px;
  padding: 20px 20px 20px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 253, 252, 0.96));
  border: 1px solid rgba(20, 125, 115, 0.2);
  border-left: 5px solid var(--card-accent);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(14, 90, 83, 0.08);
}

.capability-panel article:nth-child(2) {
  --card-accent: var(--amber);
}

.capability-panel article:nth-child(3) {
  --card-accent: var(--coral);
}

.capability-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  margin-bottom: 12px;
}

.capability-panel span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 42px;
  min-height: 28px;
  margin-bottom: 0;
  color: #fff;
  background: var(--card-accent);
  border: 1px solid rgba(17, 17, 17, 0.8);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(14, 90, 83, 0.16);
}

.capability-panel h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.capability-panel ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.capability-panel li {
  position: relative;
  padding-left: 18px;
  color: #42505a;
  font-size: 0.88rem;
  line-height: 1.45;
}

.capability-panel li::before {
  content: "";
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--card-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(20, 125, 115, 0.1);
}

.capability-panel strong {
  color: var(--teal-dark);
  font-weight: 900;
}

.journey-map-section {
  position: relative;
  padding: 14px 28px 12px;
  background:
    linear-gradient(135deg, rgba(232, 247, 255, 0.98) 0%, rgba(246, 252, 255, 0.98) 46%, rgba(226, 247, 242, 0.98) 100%);
  border-top: 1px solid rgba(20, 125, 115, 0.2);
  border-bottom: 1px solid rgba(20, 125, 115, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.journey-map-heading {
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  text-align: center;
}

.journey-map-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin: 0;
  padding: 6px 16px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 125, 115, 0.22);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(14, 90, 83, 0.1);
}

.journey-total {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  text-align: right;
  margin-bottom: 0;
}

.journey-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(132px, 1fr));
  gap: 12px;
  padding-top: 2px;
}

.journey-map::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 8%;
  right: 8%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-dark), var(--teal), var(--amber));
  border: 1px solid #111;
  border-radius: 999px;
}

.journey-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  min-height: 164px;
  padding: 0 8px 4px;
  text-align: center;
}

.journey-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  min-height: 32px;
  padding: 5px 10px;
  color: #fff;
  background: var(--teal-dark);
  border: 2px solid #111;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.journey-logo {
  width: 58px;
  height: 58px;
  margin-top: 2px;
  border: 2px solid #111;
}

.journey-company {
  max-width: 150px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1.2;
}

.journey-period {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
}

.journey-step.current .journey-year {
  background: var(--amber);
}

.journey-step.current .journey-company::after {
  content: "Current";
  display: table;
  margin: 7px auto 0;
  padding: 4px 8px;
  color: #7a4315;
  background: var(--gold-soft);
  border: 1px solid #edd5aa;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.resume-grid {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 0;
}

.sidebar {
  padding: 34px 28px;
  background:
    radial-gradient(circle at 15% 6%, rgba(20, 125, 115, 0.1), transparent 24%),
    linear-gradient(180deg, #f7fbfb 0%, #f2f8f5 52%, #fbf7ef 100%);
  border-right: 2px solid #111;
}

.main-content {
  padding: 34px 34px 44px;
}

.section + .section {
  margin-top: 34px;
}

.section-heading {
  margin-bottom: 18px;
}

.experience-heading {
  text-align: center;
}

.experience-heading h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 360px);
  padding: 10px 22px;
  color: #081f4d;
  background: linear-gradient(135deg, #ffffff, #e8f6f8);
  border: 2px solid #111;
  border-left: 7px solid var(--teal);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(14, 90, 83, 0.12);
}

.section-heading h2,
.section h2 {
  margin-bottom: 0;
}

#awards {
  padding: clamp(18px, 2.6vw, 26px);
  background:
    radial-gradient(circle at 92% 4%, rgba(196, 122, 28, 0.16), transparent 30%),
    linear-gradient(135deg, #eefcff 0%, #ffffff 48%, #fff4e4 100%);
  border: 2px solid #111;
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(14, 90, 83, 0.1);
}

#awards .section-heading {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.sidebar .section h2 {
  display: block;
  margin-bottom: 12px;
  padding: 10px 12px;
  color: #081f4d;
  background: linear-gradient(135deg, #ffffff, #e8f6f8);
  border: 1px solid #cde6e8;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(14, 90, 83, 0.08);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.sidebar-panel {
  --panel-accent: var(--teal);
  --panel-soft: #eefaf6;
  position: relative;
  padding: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 4%, color-mix(in srgb, var(--panel-accent) 14%, transparent), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), var(--panel-soft));
  border: 2px solid #111;
  border-left: 7px solid var(--panel-accent);
  border-radius: 12px;
  box-shadow:
    0 18px 36px rgba(29, 35, 40, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.sidebar-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--panel-accent) 10%, transparent) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--panel-accent) 8%, transparent) 0 1px, transparent 1px 100%);
  background-size: 28px 28px;
  opacity: 0.7;
}

.sidebar-panel > * {
  position: relative;
  z-index: 1;
}

.sidebar-panel:hover {
  box-shadow:
    0 22px 42px rgba(29, 35, 40, 0.13),
    0 0 0 4px color-mix(in srgb, var(--panel-accent) 10%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.sidebar .sidebar-panel h2 {
  color: #071f4e;
  background:
    linear-gradient(135deg, #ffffff 0%, color-mix(in srgb, var(--panel-accent) 11%, #ffffff) 100%);
  border-color: color-mix(in srgb, var(--panel-accent) 36%, #ffffff);
  border-left-color: var(--panel-accent);
  box-shadow:
    0 12px 24px color-mix(in srgb, var(--panel-accent) 13%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.sidebar-panel--expertise {
  --panel-accent: #147d73;
  --panel-soft: #ecfbf8;
}

.sidebar-panel--soft-skills {
  --panel-accent: #c47a1c;
  --panel-soft: #fff7e8;
}

.sidebar-panel--languages {
  --panel-accent: #0a66c2;
  --panel-soft: #eef6ff;
}

.sidebar-panel--education {
  --panel-accent: #7a4bb3;
  --panel-soft: #f5efff;
}

.sidebar-panel--interests {
  --panel-accent: #b65445;
  --panel-soft: #fff0ed;
}

.skill-cloud,
.mini-tags,
.interest-row,
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-cloud {
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(236, 249, 246, 0.86));
  border: 1px solid #b9ded7;
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 10px 24px rgba(14, 90, 83, 0.06);
}

.skill-cloud span,
.mini-tags span,
.interest-row span,
.meta-line span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 6px;
  font-size: 0.84rem;
  line-height: 1.25;
}

.skill-cloud span {
  color: #075766;
  background: linear-gradient(135deg, #ffffff, #e7f8f5);
  border: 1px solid #bce2dc;
  box-shadow: 0 8px 17px rgba(14, 90, 83, 0.08);
  font-weight: 800;
}

.skill-cloud span:nth-child(3n + 2) {
  background: linear-gradient(135deg, #ffffff, #eaf4ff);
  border-color: #bed9ef;
  color: #0b4e7a;
}

.skill-cloud span:nth-child(3n) {
  background: linear-gradient(135deg, #ffffff, #fff4df);
  border-color: #efd7ad;
  color: #7a4315;
}

.mini-tags span,
.interest-row span {
  color: color-mix(in srgb, var(--panel-accent) 76%, #081f4d);
  background:
    radial-gradient(circle at 90% 8%, color-mix(in srgb, var(--panel-accent) 15%, transparent), transparent 36%),
    linear-gradient(135deg, #ffffff, var(--panel-soft));
  border: 1px solid color-mix(in srgb, var(--panel-accent) 34%, #ffffff);
  box-shadow: 0 9px 18px color-mix(in srgb, var(--panel-accent) 10%, transparent);
  font-weight: 850;
}

.online-training-section {
  --panel-accent: #0b6c9b;
  --panel-soft: #eaf8ff;
  padding: clamp(18px, 2.6vw, 26px);
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(11, 108, 155, 0.16), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(196, 122, 28, 0.13), transparent 32%),
    linear-gradient(135deg, #f3fcff 0%, #ffffff 48%, #eef8f5 100%);
  border: 2px solid #111;
  border-radius: 10px;
  box-shadow:
    0 18px 42px rgba(14, 90, 83, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.online-training-section .section-heading {
  display: flex;
  justify-content: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.online-training-section h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  color: #081f4d;
  background: linear-gradient(135deg, #ffffff, #e8f6f8);
  border: 2px solid #111;
  border-left: 7px solid var(--panel-accent);
  border-radius: 10px;
  box-shadow: 0 13px 26px rgba(11, 108, 155, 0.12);
  text-align: center;
}

.training-video-card {
  display: block;
  min-height: 328px;
  color: #081f4d;
  perspective: 1300px;
}

.training-video-inner {
  position: relative;
  display: block;
  min-height: 328px;
  animation: training-card-flip 9s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.training-video-card:hover .training-video-inner,
.training-video-card:focus-visible .training-video-inner,
.training-video-card.is-flipped .training-video-inner,
.training-video-card.is-playing .training-video-inner {
  animation-play-state: paused;
  transform: rotateY(180deg);
}

.training-video-card:focus-visible {
  outline: 0;
}

.training-video-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  border: 2px solid #111;
  border-radius: 14px;
  box-shadow:
    0 16px 34px rgba(8, 31, 77, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.training-video-face-front {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 86, 210, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), #eef7ff);
  border-left: 7px solid #0056d2;
}

.training-video-face-back {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
  background: #edf3fb;
  border-color: #79a7ff;
  transform: rotateY(180deg);
}

.training-video-card:hover .training-video-face,
.training-video-card:focus-visible .training-video-face {
  box-shadow:
    0 24px 44px rgba(0, 86, 210, 0.16),
    0 0 0 4px rgba(0, 86, 210, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.training-video-play {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #fff;
  background: linear-gradient(135deg, #0056d2, #0b6c9b);
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(0, 86, 210, 0.22);
}

.training-video-play svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.training-video-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.training-provider {
  color: #0056d2;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.training-video-copy strong {
  color: #071f4e;
  font-size: clamp(1.05rem, 2.2vw, 1.32rem);
  line-height: 1.25;
}

.training-video-copy span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.training-video-action {
  justify-self: end;
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border: 2px solid #111;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(14, 90, 83, 0.18);
  font-size: 0.84rem;
  font-weight: 950;
  white-space: nowrap;
}

.training-video-face-back .training-video-action {
  display: none;
}

.training-video-preview {
  position: relative;
  display: block;
  height: 248px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(237, 243, 251, 0.96) 0 10%, transparent 10% 90%, rgba(237, 243, 251, 0.96) 90% 100%),
    radial-gradient(circle at 24% 35%, rgba(83, 129, 98, 0.32), transparent 8%),
    radial-gradient(circle at 70% 32%, rgba(255, 174, 88, 0.24), transparent 14%),
    linear-gradient(135deg, #dce8f2 0%, #eef5fa 38%, #d1e3e6 100%);
  border: 2px solid #84adff;
  border-radius: 12px;
  box-shadow:
    inset 0 -74px 0 rgba(17, 24, 39, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.training-video-player {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #edf3fb;
  z-index: 1;
}

.training-video-player::-webkit-media-controls-panel {
  background: rgba(17, 24, 39, 0.36);
}

.training-preview-brand {
  position: absolute;
  top: 11px;
  right: 16px;
  z-index: 3;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(8, 31, 77, 0.24);
}

.training-preview-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  gap: 13px;
  align-items: center;
  min-height: 64px;
  padding: 12px 16px;
  color: #fff;
  background: rgba(17, 24, 39, 0.34);
  font-weight: 950;
}

.training-preview-controls::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 3px;
  background:
    linear-gradient(90deg, #2684ff 0 5%, rgba(255, 255, 255, 0.78) 5% 100%);
  border-radius: 999px;
}

.training-preview-play {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.training-preview-play svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.training-preview-time,
.training-preview-speed,
.training-preview-action {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.38);
}

.training-preview-speed {
  justify-self: end;
}

.training-preview-action {
  padding: 6px 10px;
  color: #081f4d;
  background: rgba(255, 255, 255, 0.88);
  border: 0;
  border-radius: 7px;
  text-shadow: none;
  cursor: pointer;
}

.training-preview-play:hover,
.training-preview-play:focus-visible,
.training-preview-action:hover,
.training-preview-action:focus-visible {
  transform: translateY(-1px);
  outline: 0;
}

.training-video-card.is-playing .training-preview-play,
.training-video-card.is-playing .training-preview-action {
  opacity: 0;
  pointer-events: none;
}

.training-video-card.is-playing .training-preview-controls {
  opacity: 0;
  pointer-events: none;
}

.training-preview-title {
  display: block;
  padding: 0 6px;
  color: #071f4e;
  font-size: 0.95rem;
  font-weight: 950;
  text-align: center;
}

@keyframes training-card-flip {
  0%,
  34% {
    transform: rotateY(0deg);
  }

  45%,
  78% {
    transform: rotateY(180deg);
  }

  89%,
  100% {
    transform: rotateY(360deg);
  }
}

.cert-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.certification-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sidebar .certification-title h2 {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.cert-download {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(135deg, #0a66c2, var(--teal-dark));
  border: 1px solid rgba(8, 31, 77, 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(8, 31, 77, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.cert-download svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cert-download:hover,
.cert-download:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(8, 31, 77, 0.24);
}

.cert-list li {
  --cert-accent: var(--teal);
  --cert-soft: #f3fbf8;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 12px 13px 12px 44px;
  overflow: hidden;
  color: #0b2135;
  background:
    radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--cert-accent) 13%, transparent), transparent 32%),
    linear-gradient(135deg, #ffffff, var(--cert-soft));
  border: 1px solid color-mix(in srgb, var(--cert-accent) 42%, #ffffff);
  border-left: 5px solid var(--cert-accent);
  border-radius: 10px;
  box-shadow:
    0 12px 24px rgba(29, 35, 40, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.cert-list li:hover {
  transform: translateY(-2px);
  border-color: var(--cert-accent);
  box-shadow:
    0 17px 30px rgba(29, 35, 40, 0.1),
    0 0 0 3px color-mix(in srgb, var(--cert-accent) 14%, transparent);
}

.cert-list li.cert-istqb {
  --cert-accent: #0a66c2;
  --cert-soft: #e8f3ff;
  border-color: #bdd9f2;
}

.cert-list li.cert-ai {
  --cert-accent: #7a4bb3;
  --cert-soft: #f1eafd;
  border-color: #d5c5ef;
}

.cert-list li.cert-agile {
  --cert-accent: #0f8f83;
  --cert-soft: #e4f8f5;
  border-color: #bde4de;
}

.cert-list li.cert-cloud {
  --cert-accent: #2f6fbb;
  --cert-soft: #eaf4ff;
  border-color: #c4ddf5;
}

.cert-list li.cert-automation {
  --cert-accent: #c47a1c;
  --cert-soft: #fff3df;
  border-color: #edd3a8;
}

.cert-list li.cert-process {
  --cert-accent: #b65445;
  --cert-soft: #fae9e6;
  border-color: #efc9c2;
}

.cert-list li.cert-istqb,
.cert-list li.cert-ai,
.cert-list li.cert-agile,
.cert-list li.cert-cloud,
.cert-list li.cert-automation,
.cert-list li.cert-process {
  border-left-color: var(--cert-accent);
}

.cert-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 16px;
  height: 16px;
  background:
    radial-gradient(circle at 50% 50%, var(--cert-accent) 0 34%, transparent 36%),
    color-mix(in srgb, var(--cert-accent) 16%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--cert-accent) 48%, #ffffff);
  border-radius: 50%;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--cert-accent) 19%, transparent);
  transform: translateY(-50%);
}

.cert-list li::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--cert-accent);
}

.cert-list li span {
  position: relative;
  z-index: 1;
}

.language-list {
  display: grid;
  gap: 14px;
}

.language-list div,
.education-list article {
  position: relative;
  padding: 15px 15px 15px 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 5%, color-mix(in srgb, var(--panel-accent) 13%, transparent), transparent 34%),
    linear-gradient(135deg, #ffffff, var(--panel-soft));
  border: 1px solid color-mix(in srgb, var(--panel-accent) 32%, #ffffff);
  border-left: 5px solid var(--panel-accent);
  border-radius: 10px;
  box-shadow: 0 11px 23px rgba(29, 35, 40, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.language-list div:hover,
.education-list article:hover {
  transform: translateY(-2px);
  border-color: var(--panel-accent);
  box-shadow:
    0 17px 30px rgba(29, 35, 40, 0.1),
    0 0 0 3px color-mix(in srgb, var(--panel-accent) 11%, transparent);
}

.language-list strong,
.language-list span {
  display: block;
}

.language-list strong,
.education-list h3 {
  color: #081f4d;
  font-weight: 900;
}

.language-list span,
.private-info p,
.education-list p {
  color: var(--muted);
  font-size: 0.9rem;
}

.private-info p {
  margin-bottom: 10px;
}

.private-info p:last-child {
  margin-bottom: 0;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
}

.timeline-item + .timeline-item {
  margin-top: 18px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: -20px;
  left: 11px;
  width: 2px;
  background: #d2ded8;
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  margin-top: 22px;
  background: #fff;
  border: 6px solid var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(20, 125, 115, 0.12);
}

.current .timeline-marker {
  border-color: var(--amber);
  box-shadow: 0 0 0 5px rgba(196, 122, 28, 0.18);
}

.experience-card,
.award-grid article {
  padding: 22px;
  background: #fff;
  border: 1px solid #e3e8e4;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(29, 35, 40, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.experience-card {
  border: 2px solid #111;
}

.experience-card:hover,
.education-list article:hover {
  transform: translateY(-2px);
  border-color: #cbd9d3;
  box-shadow: 0 18px 40px rgba(29, 35, 40, 0.09);
}

.experience-card:hover {
  border-color: #111;
}

.compact-card {
  padding-bottom: 18px;
}

.role-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.company-lockup {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 14px;
}

.company-logo-link {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  color: inherit;
  border-radius: 8px;
}

.company-logo-link:focus-visible {
  outline: 3px solid rgba(20, 125, 115, 0.35);
  outline-offset: 4px;
}

.company-logo {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(29, 35, 40, 0.14);
  overflow: hidden;
}

.company-logo::before {
  content: "";
  position: absolute;
  right: -13px;
  bottom: -13px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.company-logo::after {
  content: "";
  position: absolute;
  inset: 8px auto auto 8px;
  width: 11px;
  height: 11px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}

.company-logo span {
  position: relative;
  z-index: 1;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0;
}

.company-network {
  position: absolute;
  right: -7px;
  bottom: -7px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  background: #0a66c2;
  border: 2px solid #fff;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(10, 102, 194, 0.22);
}

.company-logo-link:hover .company-logo {
  transform: translateY(-1px) scale(1.03);
}

.company-logo--persistent {
  width: 92px;
  height: 78px;
  padding: 6px 7px 5px;
  color: #ff5a00;
  background: #fff;
  border-color: #f0ece7;
}

.company-logo--persistent::before,
.company-logo--persistent::after {
  display: none;
}

.persistent-wordmark {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  color: #ff5a00;
  filter: drop-shadow(0 3px 5px rgba(255, 90, 0, 0.14));
}

.persistent-wordmark text {
  fill: #5b5d60;
}

.journey-logo.company-logo--persistent {
  width: 64px;
  height: 52px;
  padding: 4px 5px 3px;
}

.company-logo--globant {
  width: 116px;
  height: 54px;
  padding: 7px 9px;
  color: #030303;
  background: #fff;
  border-color: #dfe6e8;
}

.company-logo--globant::before,
.company-logo--globant::after {
  display: none;
}

.globant-wordmark {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.globant-arrow {
  fill: #bed72e;
}

.journey-logo.company-logo--globant {
  width: 78px;
  height: 44px;
  padding: 5px 6px;
}

.company-logo--sagitec {
  width: 124px;
  height: 50px;
  padding: 7px 8px;
  background: #fff;
  border-color: #e4e7ea;
}

.company-logo--fluidonomics {
  width: 98px;
  height: 82px;
  padding: 7px;
  background: #fff;
  border-color: #dfe8f5;
}

.company-logo--prognosticsoft {
  width: 76px;
  height: 76px;
  padding: 5px;
  background: #fff;
  border-color: #dfe6ee;
}

.company-logo--sagitec::before,
.company-logo--sagitec::after,
.company-logo--fluidonomics::before,
.company-logo--fluidonomics::after,
.company-logo--prognosticsoft::before,
.company-logo--prognosticsoft::after {
  display: none;
}

.sagitec-wordmark,
.fluidonomics-wordmark,
.prognosticsoft-mark {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.journey-logo.company-logo--sagitec {
  width: 78px;
  height: 40px;
  padding: 5px 6px;
}

.journey-logo.company-logo--fluidonomics {
  width: 66px;
  height: 58px;
  padding: 4px;
}

.journey-logo.company-logo--prognosticsoft {
  width: 58px;
  height: 58px;
  padding: 4px;
}

.company-logo--digital-pixel {
  width: 106px;
  height: 78px;
  padding: 6px 7px;
  background: #fff;
  border-color: #e2e3e5;
}

.company-logo--digital-pixel::before,
.company-logo--digital-pixel::after {
  display: none;
}

.digital-pixel-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.digital-pixel-grid rect {
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 1.2;
}

.journey-logo.company-logo--digital-pixel {
  width: 66px;
  height: 54px;
  padding: 4px 5px;
}

.company-copy {
  min-width: 0;
}

.role-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.role-head p strong {
  display: block;
  color: var(--ink);
  font-weight: 800;
}

.role-head p span {
  display: block;
  color: var(--muted);
}

.role-head > span {
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 7px 10px;
  color: #7a4315;
  background: var(--gold-soft);
  border: 1px solid #edd5aa;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.timeline-item.current .role-head > span {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-color: #0b4f49;
  box-shadow: 0 8px 18px rgba(14, 90, 83, 0.22);
}

.meta-line {
  margin-bottom: 14px;
}

.meta-line span {
  color: var(--teal-dark);
  background: #eef8f5;
  border: 1px solid #cde5de;
  font-size: 0.8rem;
  font-weight: 700;
}

.experience-card ul {
  display: grid;
  gap: 8px;
  padding-left: 19px;
  margin: 0;
  color: #364149;
}

.experience-card li::marker {
  color: var(--teal);
}

.achievement-block {
  margin-top: 16px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #eefaf6, #fff8eb);
  border: 2px solid #111;
  border-left: 6px solid var(--teal);
  border-radius: 8px;
}

.achievement-block h4 {
  margin-bottom: 10px;
  color: #064a44;
  font-size: 0.98rem;
  font-weight: 900;
}

.achievement-list {
  gap: 7px;
}

.achievement-list li {
  color: #18323b;
  font-weight: 700;
}

.achievement-list li::marker {
  color: var(--amber);
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.award-grid article {
  position: relative;
  min-height: 184px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  perspective: 1000px;
}

.award-card:hover,
.award-card:focus-visible {
  transform: none;
  border-color: transparent;
  box-shadow: none;
  outline: 0;
}

.award-card-inner {
  position: relative;
  width: 100%;
  min-height: 184px;
  transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.award-card:hover .award-card-inner,
.award-card:focus-visible .award-card-inner {
  transform: rotateY(180deg);
}

.award-face {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 44px 22px 22px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #eefafa 100%);
  border: 2px solid #111;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(29, 35, 40, 0.08);
  backface-visibility: hidden;
}

.award-face-front {
  background:
    radial-gradient(circle at 86% 14%, rgba(20, 125, 115, 0.16), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #eefafa 100%);
}

.award-card:nth-child(1) .award-face-front {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 90, 0, 0.2), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #fff2e7 100%);
  border-color: #ff6a00;
}

.award-card:nth-child(1) .award-face-back {
  background: linear-gradient(135deg, #9d3f00 0%, #ff6a00 100%);
}

.award-card:nth-child(2n) .award-face-front {
  background:
    radial-gradient(circle at 88% 12%, rgba(15, 104, 184, 0.16), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #eef6ff 100%);
}

.award-card:nth-child(3n) .award-face-front {
  background:
    radial-gradient(circle at 88% 12%, rgba(196, 122, 28, 0.18), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #fff6e8 100%);
}

.award-face::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 22px;
  width: 34px;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  border-radius: 999px;
}

.award-face-back {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  transform: rotateY(180deg);
}

.award-face-back::before {
  background: linear-gradient(90deg, #fff, var(--gold-soft));
}

.award-grid span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.award-face-back span,
.award-face-back p {
  color: rgba(255, 255, 255, 0.86);
}

.award-face-back h3 {
  color: #fff;
}

.award-grid p,
.education-list p {
  margin-bottom: 0;
}

.bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.education-list {
  display: grid;
  gap: 12px;
}

.site-footer {
  margin-top: 16px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--footer-start), var(--footer-end)),
    var(--teal-dark);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.footer-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  justify-items: center;
  padding: 18px 28px;
  text-align: center;
}

.footer-cta .eyebrow {
  color: var(--gold-soft);
}

.footer-cta h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(1.08rem, 2.2vw, 1.55rem);
  line-height: 1.18;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.secondary-action.dark {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(170px, 0.62fr) minmax(320px, 1.6fr) minmax(220px, 0.78fr);
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  color: #fff;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.24), rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.24));
  font-size: 0.94rem;
}

.footer-bottom > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 100%;
  padding: 7px 16px;
  color: #fff8df;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 248, 223, 0.42);
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.footer-bottom > .footer-credit {
  background:
    radial-gradient(circle at 9% 50%, rgba(251, 239, 216, 0.28), transparent 30%),
    linear-gradient(135deg, rgba(8, 31, 77, 0.36), rgba(20, 125, 115, 0.48) 48%, rgba(196, 122, 28, 0.36));
  border: 1px solid rgba(251, 239, 216, 0.72);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.footer-credit a {
  color: #ffffff;
  text-decoration-color: rgba(251, 239, 216, 0.95);
}

.footer-bottom > .footer-stat {
  justify-self: start;
  padding: 8px 0;
  color: #ffe7b0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.34),
    0 0 18px rgba(251, 239, 216, 0.18);
}

.footer-bottom > .footer-visit {
  display: grid;
  gap: 3px;
  justify-items: start;
  line-height: 1.15;
}

.footer-ats-score {
  color: #9df7ff;
  font-size: 0.92em;
  font-weight: 500;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.36),
    0 0 18px rgba(201, 255, 247, 0.3);
}

.footer-score-flip {
  display: inline-block;
  color: #ffffff;
  font-weight: 800;
  animation: footer-score-flip 3.8s ease-in-out infinite, footer-score-color 3.8s ease-in-out infinite;
  transform-style: preserve-3d;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.36),
    0 0 18px rgba(255, 255, 255, 0.42);
}

@keyframes footer-score-flip {
  0%,
  42% {
    transform: rotateX(0deg);
  }

  54%,
  72% {
    transform: rotateX(180deg);
  }

  84%,
  100% {
    transform: rotateX(360deg);
  }
}

@keyframes footer-score-color {
  0%,
  100% {
    color: #ffffff;
  }

  25% {
    color: #ffd166;
  }

  50% {
    color: #7df9ff;
  }

  75% {
    color: #7cffb2;
  }
}

.footer-credit {
  justify-self: center;
}

.footer-bottom > .footer-updated {
  justify-self: end;
  color: #ffffff;
  text-align: right;
}

.footer-bottom a {
  color: #ffffff;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-github-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  text-decoration: none;
}

.footer-github-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-github-link:hover,
.footer-github-link:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

@media (max-width: 1120px) {
  .topbar {
    display: grid;
    gap: 0;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .theme-switcher {
    grid-column: 1 / -1;
    width: min(100%, 460px);
    min-width: 0;
  }
}

@media (max-width: 960px) {
  .hero {
    column-gap: 16px;
    padding: 16px 16px 16px 22px;
  }

  .hero-about {
    padding: 14px 15px;
  }

  .hero-about p {
    font-size: 0.8rem;
  }

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

  .hero-content,
  .resume-grid,
  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    justify-self: end;
  }

  .profile-photo {
    width: min(160px, 24vw);
  }

  .impact-strip,
  .award-grid,
  .capability-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .impact-strip div {
    min-height: 82px;
    padding: 9px 8px;
  }

  .impact-strip strong {
    font-size: clamp(1.35rem, 3.8vw, 2rem);
  }

  .impact-strip span {
    font-size: 0.68rem;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 2px solid #111;
  }

  .journey-map-section {
    overflow-x: auto;
  }

  .journey-map {
    min-width: 880px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-stat,
  .footer-credit,
  .footer-updated {
    justify-self: center;
  }
}

@media (max-width: 680px) {
  body {
    background-size: 34px 34px;
  }

  .site-header {
    position: fixed;
    top: 8px;
    width: var(--frame-width);
    margin-bottom: 0;
  }

  .site-frame {
    --frame-width: calc(100% - 24px);
    width: calc(100% - 24px);
    margin: 0 auto 20px;
    padding-top: 96px;
  }

  .topbar {
    display: grid;
    gap: 0;
    margin-bottom: 0;
    min-height: 70px;
    padding: 10px 12px;
    border-radius: 8px;
    border-left-width: 5px;
    border-right-width: 5px;
  }

  .topbar::after {
    inset: auto 12px 9px;
  }

  .portfolio-title {
    padding-inline: 8px;
    font-size: clamp(1.25rem, 8vw, 1.75rem);
  }

  .portfolio-title::before,
  .portfolio-title::after {
    width: 18px;
    margin: 0 8px;
  }

  .brand {
    width: 38px;
    height: 38px;
  }

  .brand-copy small {
    white-space: normal;
  }

  .nav-actions {
    display: grid;
    width: 100%;
    gap: 10px;
  }

  .theme-switcher {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nav-links {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    padding-bottom: 4px;
  }

  .nav-links a {
    flex: 1 1 calc(33.333% - 6px);
    background: #f4f7f5;
  }

  .icon-button {
    width: 100%;
  }

  .resume-shell {
    width: 100%;
    margin: 0;
    border: 1px solid rgba(29, 35, 40, 0.08);
    border-radius: 8px;
  }

  .hero,
  .sidebar,
  .main-content {
    padding: 24px 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "about"
      "actions";
    row-gap: 14px;
    min-height: 0;
    padding: 18px 16px 16px;
  }

  .hero-content {
    justify-content: center;
  }

  .hero-about {
    text-align: center;
  }

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

  .profile-panel {
    justify-self: center;
  }

  .profile-photo {
    width: min(125px, 42vw);
  }

  h1 {
    font-size: 3.1rem;
  }

  .impact-strip,
  .award-grid,
  .capability-panel {
    grid-template-columns: 1fr;
  }

  .training-video-card {
    min-height: 430px;
  }

  .training-video-inner {
    min-height: 430px;
  }

  .training-video-face-front {
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: start;
  }

  .training-video-action {
    justify-self: start;
  }

  .training-video-preview {
    height: 316px;
  }

  .training-preview-controls {
    grid-template-columns: auto auto 1fr;
    row-gap: 6px;
    font-size: 0.82rem;
  }

  .training-preview-action {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .journey-map-section {
    padding: 16px 18px 14px;
  }

  .journey-map-heading {
    display: grid;
    gap: 4px;
  }

  .role-head {
    display: grid;
  }

  .company-lockup {
    gap: 12px;
  }

  .company-logo {
    width: 48px;
    height: 48px;
  }

  .role-head > span {
    white-space: normal;
  }

  .timeline-item {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
  }

  .timeline-marker {
    width: 18px;
    height: 18px;
    border-width: 5px;
  }

  .timeline-item::before {
    left: 8px;
  }

  .experience-card,
  .award-grid article {
    padding: 18px;
  }

  .footer-cta {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 18px;
  }

  .footer-actions {
    justify-content: stretch;
  }

  .footer-actions a {
    width: 100%;
  }

  .footer-bottom {
    display: grid;
    padding: 10px 18px;
  }
}

@page {
  size: A4 portrait;
  margin: 10mm;
}

@media print {
  *,
  *::before,
  *::after {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  html {
    scroll-padding-top: 0;
  }

  body {
    color: var(--ink);
    background:
      linear-gradient(90deg, var(--grid-primary) 0 1px, transparent 1px 100%),
      linear-gradient(0deg, var(--grid-secondary) 0 1px, transparent 1px 100%),
      var(--paper);
    background-size: 44px 44px;
  }

  .site-frame {
    --frame-width: 100%;
    width: 100%;
    margin: 0;
    padding-top: 0;
  }

  .site-header {
    position: static;
    width: 100%;
    margin-bottom: 10px;
    transform: none;
    break-after: avoid;
  }

  .topbar {
    display: grid;
    min-height: 58px;
    padding: 8px 12px;
    box-shadow: 0 8px 22px rgba(14, 90, 83, 0.1);
  }

  .portfolio-title {
    font-size: 1.55rem;
  }

  .resume-shell {
    width: 100%;
    margin: 0;
    overflow: visible;
    border: 2px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
  }

  .hero {
    min-height: 0;
    padding: 14px 18px;
    gap: 10px;
    break-inside: avoid;
  }

  .hero-about {
    padding: 12px 14px;
  }

  .hero-about p {
    font-size: 0.76rem;
    line-height: 1.38;
  }

  .profile-photo {
    width: 118px;
    border-width: 4px;
  }

  .hero-menu {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 7px;
  }

  .hero-menu-link {
    min-height: 48px;
    padding: 6px 15px 6px 6px;
    border-left-width: 6px;
    font-size: 0.62rem;
  }

  .hero-menu-icon {
    width: 23px;
    height: 23px;
    border-radius: 8px;
  }

  .hero-menu-label {
    font-size: 0.62rem;
  }

  .hero-menu-detail {
    font-size: 0.52rem;
  }

  .impact-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .impact-strip div {
    min-height: 58px;
    padding: 6px 7px;
  }

  .impact-strip strong {
    font-size: 1.45rem;
  }

  .impact-strip span {
    margin-top: 3px;
    font-size: 0.58rem;
    line-height: 1.2;
  }

  .capability-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    break-inside: avoid;
  }

  .capability-panel article {
    min-height: 0;
    padding: 10px 10px 10px 12px;
    border-left-width: 4px;
  }

  .capability-head {
    gap: 6px;
    min-height: 24px;
    margin-bottom: 6px;
  }

  .capability-panel span {
    min-width: 30px;
    min-height: 22px;
    padding: 3px 7px;
    font-size: 0.62rem;
  }

  .capability-panel h2 {
    font-size: 0.74rem;
    line-height: 1.15;
  }

  .capability-panel ul {
    gap: 4px;
  }

  .capability-panel li {
    padding-left: 12px;
    font-size: 0.64rem;
    line-height: 1.32;
  }

  .capability-panel li::before {
    top: 0.58em;
    width: 5px;
    height: 5px;
    box-shadow: 0 0 0 3px rgba(20, 125, 115, 0.08);
  }

  .resume-grid {
    grid-template-columns: 34% 66%;
    align-items: start;
  }

  .sidebar,
  .main-content {
    padding: 14px;
  }

  .section + .section {
    margin-top: 16px;
  }

  .section-heading,
  .role-head,
  .journey-map-heading,
  .certification-title,
  .footer-cta,
  .footer-bottom {
    break-after: avoid;
  }

  #awards,
  .online-training-section,
  .site-footer {
    break-inside: avoid;
  }

  .journey-map-section {
    padding: 9px 12px 8px;
    break-inside: avoid;
  }

  .journey-map-heading {
    margin-bottom: 7px;
  }

  .journey-map-heading .eyebrow {
    min-height: 24px;
    padding: 4px 10px;
    font-size: 0.62rem;
  }

  .journey-map {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    min-width: 0;
    padding-top: 0;
  }

  .journey-map::before {
    top: 34px;
    left: 6%;
    right: 6%;
    height: 3px;
  }

  .journey-step {
    gap: 4px;
    min-height: 102px;
    padding: 0 2px 2px;
  }

  .journey-year {
    min-width: 48px;
    min-height: 24px;
    padding: 3px 7px;
    border-width: 1px;
    font-size: 0.64rem;
  }

  .journey-logo {
    width: 34px;
    height: 34px;
    border-width: 1px;
  }

  .journey-company {
    max-width: 100%;
    font-size: 0.58rem;
    line-height: 1.12;
  }

  .journey-period {
    font-size: 0.53rem;
    line-height: 1.12;
  }

  .journey-step.current .journey-company::after {
    margin-top: 3px;
    padding: 2px 5px;
    font-size: 0.46rem;
  }

  .experience-card,
  .award-grid article,
  .cert-list li,
  .language-list div,
  .education-list article,
  .achievement-block {
    box-shadow: 0 8px 22px rgba(29, 35, 40, 0.08);
  }

  .experience-card li,
  .achievement-list li {
    break-inside: avoid;
  }

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

  .award-grid article,
  .award-card-inner {
    min-height: 0;
    perspective: none;
    transform-style: flat;
  }

  .award-card-inner,
  .award-card:hover .award-card-inner,
  .award-card:focus-visible .award-card-inner {
    transform: none;
  }

  .award-face {
    position: relative;
    inset: auto;
    min-height: 132px;
    backface-visibility: visible;
  }

  .award-face-back {
    margin-top: 8px;
    transform: none;
  }

  .training-video-card,
  .training-video-inner {
    min-height: 0;
  }

  .training-video-inner,
  .training-video-card:hover .training-video-inner,
  .training-video-card:focus-visible .training-video-inner,
  .training-video-card.is-flipped .training-video-inner,
  .training-video-card.is-playing .training-video-inner {
    animation: none;
    transform: none;
  }

  .training-video-face {
    position: relative;
    inset: auto;
    backface-visibility: visible;
  }

  .training-video-face-back {
    margin-top: 8px;
    transform: none;
  }

  .training-video-player,
  .training-preview-controls {
    display: none;
  }

  .training-video-preview {
    height: 72px;
    background:
      linear-gradient(135deg, #edf3fb 0%, #dff3ff 100%);
    box-shadow: none;
  }

  .site-footer {
    display: block;
    margin-top: 12px;
  }

  .footer-cta {
    padding: 18px 22px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    padding: 10px 18px;
  }

  .footer-stat,
  .footer-credit,
  .footer-updated {
    justify-self: center;
  }
}
