/*
  Ajaypreet Singh — Bright portfolio
  Last updated: 2026-07-29

  01. Foundation
  02. Header
  03. Hero
  04. Shared section system
  05. About and interests
  06. Current role
  07. Experience
  08. Skills
  09. Training and education
  10. Résumé callout
  11. Contact and footer
  12. Résumé page
  13. Motion, responsive, and print
*/

/* 01. Foundation */

:root {
  --ink: #172238;
  --ink-soft: #586176;
  --paper: #fffaf3;
  --white: #ffffff;
  --blue: #3156d8;
  --blue-deep: #2444b8;
  --blue-pale: #e8efff;
  --sky: #dff4ff;
  --coral: #ff765c;
  --coral-pale: #ffe6df;
  --yellow: #ffd75b;
  --yellow-pale: #fff3bf;
  --mint: #99ddc2;
  --mint-pale: #e0f7ed;
  --lavender: #dcd5ff;
  --line: rgba(23, 34, 56, 0.13);
  --line-strong: rgba(23, 34, 56, 0.22);
  --shadow-sm: 0 12px 32px rgba(35, 50, 89, 0.09);
  --shadow-lg: 0 30px 90px rgba(35, 50, 89, 0.16);
  --sans: "Avenir Next", Avenir, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Avenir Next", Avenir, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-shell: min(1280px, calc(100vw - 96px));
  --header-height: 78px;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --ease: cubic-bezier(0.2, 0.72, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

p,
h1,
h2,
h3,
ul {
  margin: 0;
}

ul {
  padding: 0;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.page-shell {
  width: var(--page-shell);
  margin-inline: auto;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  transform: translateY(-150%);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  z-index: 220;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: var(--scroll-progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--coral), var(--yellow));
  transition: width 90ms linear;
}

/* 02. Header */

.site-header {
  position: fixed;
  z-index: 200;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding-inline: 48px;
  border-bottom: 1px solid transparent;
  background: rgba(255, 250, 243, 0.84);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition:
    height 240ms var(--ease),
    border-color 240ms ease,
    box-shadow 240ms ease,
    background-color 240ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  height: 68px;
  border-bottom-color: var(--line);
  background: rgba(255, 250, 243, 0.95);
  box-shadow: 0 9px 30px rgba(35, 50, 89, 0.05);
}

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

.brand-mark {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  box-shadow: 5px 5px 0 var(--yellow);
  transform: rotate(-2deg);
}

.brand-mark::after {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.brand-mark span {
  position: absolute;
  z-index: 1;
}

.brand-mark span:first-child {
  transform: translate(-5px, -2px);
}

.brand-mark span:last-child {
  transform: translate(6px, 5px);
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 650;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.76rem;
  font-weight: 760;
}

.primary-navigation > a:not(.nav-resume) {
  position: relative;
  color: var(--ink-soft);
  transition: color 180ms ease;
}

.primary-navigation > a:not(.nav-resume)::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  border-radius: 999px;
  background: var(--coral);
  content: "";
  transition: transform 220ms var(--ease);
}

.primary-navigation > a:hover,
.primary-navigation > a.is-active {
  color: var(--ink);
}

.primary-navigation > a:hover::after,
.primary-navigation > a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-resume {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(49, 86, 216, 0.2);
  transition:
    transform 180ms var(--ease),
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.nav-resume svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nav-resume:hover {
  transform: translateY(-2px);
  background: var(--blue-deep);
  box-shadow: 0 12px 24px rgba(49, 86, 216, 0.28);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  background: transparent;
  font-size: 0.74rem;
  font-weight: 780;
}

.menu-toggle svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

/* 03. Hero */

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + 78px) 0 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 16%, rgba(255, 215, 91, 0.28), transparent 22rem),
    radial-gradient(circle at 91% 9%, rgba(153, 221, 194, 0.3), transparent 24rem),
    var(--paper);
}

.hero-decor {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-decor-one {
  top: 20%;
  left: -84px;
  width: 168px;
  height: 168px;
  border: 30px solid var(--coral-pale);
}

.hero-decor-two {
  top: 110px;
  right: 37%;
  width: 40px;
  height: 40px;
  background: var(--yellow);
  box-shadow: 52px -25px 0 var(--mint);
  transform: rotate(12deg);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: clamp(46px, 6vw, 96px);
  align-items: center;
}

.hero-copy {
  padding: 18px 0 42px;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  padding: 8px 12px;
  border: 1px solid rgba(49, 86, 216, 0.18);
  border-radius: 999px;
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-size: 0.69rem;
  font-weight: 800;
}

.availability-pill > span {
  width: 8px;
  height: 8px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: #2ab77b;
  box-shadow: 0 0 0 2px rgba(42, 183, 123, 0.2);
}

.hero-kicker,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-kicker::before {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--coral);
  content: "";
}

.hero h1 {
  max-width: 700px;
  margin-top: 19px;
  font-family: var(--display);
  font-size: clamp(3.55rem, 5.8vw, 6.65rem);
  font-weight: 820;
  letter-spacing: -0.075em;
  line-height: 0.93;
}

.hero h1 span {
  position: relative;
  z-index: 1;
  display: inline-block;
  color: var(--blue);
}

.hero h1 span::after {
  position: absolute;
  z-index: -1;
  right: -10px;
  bottom: 2px;
  left: -7px;
  height: 22%;
  border-radius: 4px;
  background: var(--yellow);
  content: "";
  transform: rotate(-1deg);
}

.hero-summary {
  max-width: 590px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.7;
}

.hero-actions,
.resume-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 820;
  transition:
    transform 180ms var(--ease),
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(49, 86, 216, 0.23);
}

.button-primary:hover {
  background: var(--blue-deep);
  box-shadow: 0 16px 34px rgba(49, 86, 216, 0.3);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.65);
}

.button-secondary:hover {
  border-color: var(--coral);
  background: var(--white);
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 590px;
}

.hero-image-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 8px solid var(--white);
  border-radius: 48px 48px 48px 150px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0) rotate(1deg);
  transition: transform 260ms var(--ease);
}

.hero-image-frame::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(23, 34, 56, 0.08);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  transform: scale(1.035);
  transition: transform 700ms var(--ease);
}

.hero-visual:hover .hero-image-frame img {
  transform: scale(1.065);
}

.hero-note {
  position: absolute;
  z-index: 3;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.hero-note-role {
  right: -22px;
  bottom: 54px;
  display: grid;
  min-width: 220px;
  padding: 18px 22px;
  transform: rotate(-2deg);
  border-radius: 20px;
  background: var(--yellow);
}

.hero-note-role span,
.hero-note small {
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-note-role strong,
.hero-note strong {
  margin-top: 2px;
  font-size: 0.86rem;
}

.hero-note-focus {
  top: 42px;
  left: -30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  transform: rotate(-3deg);
  border-radius: 20px;
  background: var(--mint);
}

.hero-note-focus > span:last-child {
  display: grid;
}

.note-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1rem;
}

.quick-facts {
  position: relative;
  z-index: 3;
  display: grid;
  margin-top: 50px;
  border: 1px solid var(--line);
  border-radius: 24px;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.quick-facts a {
  display: grid;
  min-height: 94px;
  padding: 19px 22px;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: center;
  transition: background-color 180ms ease;
}

.quick-facts a + a {
  border-left: 1px solid var(--line);
}

.quick-facts a:hover {
  background: var(--white);
}

.quick-facts a:first-child:hover {
  border-radius: 23px 0 0 23px;
}

.quick-facts a:last-child:hover {
  border-radius: 0 23px 23px 0;
}

.fact-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-size: 0.66rem;
  font-weight: 850;
}

.quick-facts a:nth-child(2) .fact-number {
  background: var(--coral-pale);
  color: #963627;
}

.quick-facts a:nth-child(3) .fact-number {
  background: var(--yellow-pale);
  color: #5e4900;
}

.quick-facts a > span:nth-child(2) {
  display: grid;
}

.quick-facts small {
  color: var(--ink-soft);
  font-size: 0.65rem;
  font-weight: 650;
}

.quick-facts strong {
  margin-top: 2px;
  font-size: 0.81rem;
}

/* 04. Shared section system */

.section-space {
  position: relative;
  padding: clamp(100px, 11vw, 160px) 0;
}

.section-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.eyebrow span {
  display: grid;
  min-width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 0.61rem;
  letter-spacing: 0;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow-light span {
  background: var(--yellow);
  color: var(--ink);
}

.section-side-note {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

/* 05. About and interests */

.about {
  background:
    radial-gradient(circle at 90% 22%, rgba(220, 213, 255, 0.32), transparent 24rem),
    var(--white);
}

.about-grid {
  display: grid;
  padding: 70px 0 88px;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
  gap: clamp(60px, 9vw, 140px);
}

.about-heading h2,
.experience-heading h2,
.skills-heading h2,
.training-heading h2,
.contact-copy h2 {
  max-width: 880px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 5.1rem);
  font-weight: 810;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.highlight-coral {
  position: relative;
  z-index: 1;
  display: inline;
}

.highlight-coral::after {
  position: absolute;
  z-index: -1;
  right: -5px;
  bottom: 4px;
  left: -5px;
  height: 23%;
  border-radius: 4px;
  background: var(--coral);
  content: "";
  opacity: 0.72;
  transform: rotate(-1.2deg);
}

.about-heading > p {
  max-width: 650px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.about-principles {
  display: grid;
  align-self: center;
}

.about-principles article {
  display: grid;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: auto 1fr;
  gap: 18px;
}

.about-principles article:first-child {
  border-top: 1px solid var(--line);
}

.principle-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  font-size: 0.67rem;
  font-weight: 860;
}

.principle-blue {
  background: var(--blue-pale);
  color: var(--blue);
}

.principle-yellow {
  background: var(--yellow-pale);
  color: #705900;
}

.principle-mint {
  background: var(--mint-pale);
  color: #227c5a;
}

.about-principles h3 {
  font-size: 0.97rem;
  font-weight: 820;
}

.about-principles p {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.interest-card {
  display: grid;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.interest-media {
  min-height: 480px;
  overflow: hidden;
}

.interest-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.interest-card:hover .interest-media img {
  transform: scale(1.035);
}

.interest-copy {
  display: flex;
  padding: clamp(42px, 6vw, 78px);
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 215, 91, 0.34), transparent 15rem),
    var(--paper);
}

.interest-copy .eyebrow span {
  background: var(--coral);
}

.interest-copy h3 {
  max-width: 520px;
  margin-top: 26px;
  font-size: clamp(2.2rem, 3.7vw, 4.1rem);
  font-weight: 810;
  letter-spacing: -0.06em;
  line-height: 1;
}

.interest-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 25px;
  color: var(--ink-soft);
}

.interest-tags,
.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.interest-tags span,
.experience-tags span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 750;
}

/* 06. Current role */

.current-role-band {
  padding: 38px 0;
  background:
    linear-gradient(90deg, var(--yellow) 0 33%, var(--coral) 33% 66%, var(--mint) 66%);
}

.current-role-card {
  display: grid;
  min-height: 690px;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.82);
  border-radius: 42px;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.role-brand-panel {
  position: relative;
  display: flex;
  padding: clamp(44px, 5vw, 72px);
  flex-direction: column;
  gap: 34px;
  justify-content: flex-start;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 84%, rgba(255, 255, 255, 0.16), transparent 16rem),
    var(--blue);
  color: var(--white);
}

.role-brand-panel::before,
.role-brand-panel::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.role-brand-panel::before {
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border: 36px solid rgba(255, 255, 255, 0.1);
}

.role-brand-panel::after {
  right: 34px;
  bottom: 18%;
  width: 34px;
  height: 34px;
  background: var(--yellow);
  box-shadow: 42px 26px 0 var(--coral);
}

.role-brand-media {
  position: relative;
  z-index: 1;
  min-height: 330px;
  margin: 4px 0 0;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  box-shadow: 0 22px 56px rgba(15, 31, 97, 0.28);
}

.role-brand-media img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.role-brand-lockup {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.regal-logo {
  width: min(100%, 265px);
  height: auto;
}

.role-brand-lockup p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 720;
}

.role-copy {
  display: flex;
  padding: clamp(48px, 6vw, 86px);
  flex-direction: column;
  justify-content: center;
}

.role-company {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.role-copy h2 {
  margin-top: 13px;
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  font-weight: 820;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.role-summary {
  max-width: 720px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.tenure-counter {
  display: grid;
  margin-top: 30px;
  padding: 20px 22px;
  border: 1px solid rgba(49, 86, 216, 0.16);
  border-radius: 22px;
  grid-template-columns: minmax(150px, 0.74fr) minmax(260px, 1.26fr);
  gap: 20px;
  align-items: center;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 215, 91, 0.36), transparent 9rem),
    var(--blue-pale);
}

.tenure-label {
  display: flex;
  align-items: center;
  gap: 11px;
}

.tenure-label > span:last-child {
  display: grid;
}

.tenure-label small,
.tenure-values small {
  color: var(--ink-soft);
  font-size: 0.61rem;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tenure-label strong {
  margin-top: 2px;
  color: var(--blue-deep);
  font-size: 0.8rem;
}

.tenure-live-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: #35a975;
  box-shadow: 0 0 0 3px rgba(53, 169, 117, 0.2);
  animation: tenure-pulse 2.2s ease-in-out infinite;
}

.tenure-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tenure-values > span {
  display: grid;
  min-height: 62px;
  padding: 8px 10px;
  border-left: 1px solid rgba(49, 86, 216, 0.16);
  place-content: center;
  text-align: center;
}

.tenure-values strong {
  color: var(--ink);
  font-size: 1.42rem;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  line-height: 1;
}

.tenure-values small {
  margin-top: 7px;
  font-size: 0.55rem;
}

@keyframes tenure-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px rgba(53, 169, 117, 0.2);
  }
  50% {
    transform: scale(0.82);
    box-shadow: 0 0 0 7px rgba(53, 169, 117, 0.08);
  }
}

.role-points {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.role-points article {
  padding-top: 20px;
  border-top: 3px solid var(--line);
}

.role-points article:nth-child(1) {
  border-color: var(--blue);
}

.role-points article:nth-child(2) {
  border-color: var(--coral);
}

.role-points article:nth-child(3) {
  border-color: var(--mint);
}

.role-points article > span {
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 800;
}

.role-points h3 {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 820;
}

.role-points p {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.role-detail-strip {
  position: relative;
  min-height: 150px;
  margin-top: 34px;
  overflow: hidden;
  border-radius: 22px;
}

.role-detail-strip::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 26, 55, 0.78), rgba(15, 26, 55, 0.08) 72%);
  content: "";
}

.role-detail-strip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.role-detail-strip figcaption {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 330px;
  padding: 36px;
  color: var(--white);
  font-size: 0.79rem;
  font-weight: 700;
}

.role-detail-strip figcaption span {
  margin-bottom: 5px;
  color: var(--yellow);
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* 07. Experience */

.experience {
  background:
    radial-gradient(circle at 0 40%, rgba(153, 221, 194, 0.23), transparent 26rem),
    var(--paper);
}

.experience-heading {
  display: grid;
  padding: 64px 0 78px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: end;
}

.experience-heading p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.experience-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(44px, 7vw, 104px);
  align-items: start;
}

.experience-index {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 2px;
}

.experience-index > p {
  margin-bottom: 17px;
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.experience-index a {
  position: relative;
  display: grid;
  padding: 10px 12px 10px 26px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 0.73rem;
  font-weight: 740;
  transition:
    color 200ms ease,
    background-color 200ms ease,
    transform 200ms var(--ease);
}

.experience-index a::before {
  position: absolute;
  top: 50%;
  left: 7px;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--line-strong);
  box-shadow: 0 0 0 1px var(--line-strong);
  content: "";
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.experience-index a + a::after {
  position: absolute;
  bottom: calc(50% + 6px);
  left: 10px;
  width: 1px;
  height: 28px;
  background: var(--line);
  content: "";
}

.experience-index a span {
  color: var(--ink-soft);
  font-size: 0.6rem;
  font-weight: 650;
}

.experience-index a:hover,
.experience-index a.is-active {
  transform: translateX(3px);
  background: var(--white);
  color: var(--ink);
}

.experience-index a.is-active::before {
  background: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-pale);
}

.experience-cards {
  display: grid;
  gap: 30px;
}

.experience-scene {
  position: relative;
  min-height: 285px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
}

.experience-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.experience-scene:hover img {
  transform: scale(1.025);
}

.experience-scene::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 27, 52, 0.82), transparent 72%);
  content: "";
}

.experience-scene figcaption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 50px 28px 24px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 680;
}

.experience-scene figcaption span {
  margin-bottom: 3px;
  color: var(--yellow);
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.experience-scene-right figcaption {
  text-align: right;
}

.experience-card {
  display: grid;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  grid-template-columns: 250px minmax(0, 1fr);
  background: var(--white);
  box-shadow: 0 16px 50px rgba(35, 50, 89, 0.07);
  scroll-margin-top: 112px;
  transition:
    transform 300ms var(--ease),
    box-shadow 300ms ease,
    border-color 300ms ease;
}

.experience-card.is-current {
  transform: translateY(-2px);
  border-color: rgba(49, 86, 216, 0.27);
  box-shadow: 0 22px 70px rgba(35, 50, 89, 0.12);
}

.experience-logo {
  position: relative;
  display: grid;
  min-height: 100%;
  padding: 38px;
  place-items: center;
  overflow: hidden;
}

.experience-logo::before {
  position: absolute;
  top: -45px;
  right: -45px;
  width: 110px;
  height: 110px;
  border: 20px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  content: "";
}

.experience-logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 180px;
  max-height: 120px;
  object-fit: contain;
}

.logo-regal {
  background: var(--blue);
}

.logo-regal img {
  max-width: 180px;
}

.logo-allied {
  background: var(--sky);
}

.logo-allied img {
  max-width: 195px;
}

.logo-montessori {
  background: var(--mint-pale);
}

.logo-montessori img {
  max-width: 190px;
}

.logo-g4s {
  background: var(--coral-pale);
}

.logo-g4s img {
  max-width: 128px;
}

.logo-newegg {
  background: var(--yellow-pale);
}

.logo-newegg img {
  max-width: 150px;
}

.experience-main {
  display: flex;
  padding: clamp(38px, 5vw, 66px);
  flex-direction: column;
  justify-content: center;
}

.experience-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 720;
}

.experience-main .experience-company {
  color: var(--blue);
  font-size: 0.69rem;
  font-weight: 830;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-main h3 {
  margin-top: 8px;
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.experience-main ul {
  display: grid;
  margin-top: 27px;
  gap: 10px;
  list-style: none;
}

.experience-main li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.experience-main li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.experience-tags {
  margin-top: 26px;
}

.experience-blue {
  --card-accent: var(--blue);
}

.experience-sky {
  --card-accent: #12647f;
}

.experience-mint {
  --card-accent: #1a684b;
}

.experience-coral {
  --card-accent: #ad3b29;
}

.experience-yellow {
  --card-accent: #725700;
}

.experience-card .experience-main .experience-company {
  color: var(--card-accent);
}

.experience-card .experience-main li::before {
  background: var(--card-accent);
}

/* 08. Skills */

.skills {
  background:
    radial-gradient(circle at 96% 8%, rgba(255, 118, 92, 0.17), transparent 24rem),
    var(--white);
}

.skills-heading {
  padding: 64px 0 70px;
}

.skills-heading h2 {
  max-width: 780px;
}

.skills-media {
  display: grid;
  margin-bottom: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.skills-media figure {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.skills-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.skills-media figure:hover img {
  transform: scale(1.025);
}

.skills-media figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 27, 53, 0.76), transparent 66%);
  content: "";
}

.skills-media figcaption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 52px 24px 22px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}

.skills-media figcaption span {
  color: var(--yellow);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

.skill-card {
  position: relative;
  min-height: 390px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(23, 34, 56, 0.1);
  border-radius: 28px;
  transition:
    transform 260ms var(--ease),
    box-shadow 260ms ease;
}

.skill-card:hover {
  transform: translateY(-8px) rotate(-0.4deg);
  box-shadow: var(--shadow-sm);
}

.skill-card::after {
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 130px;
  height: 130px;
  border: 24px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  content: "";
}

.skill-card-blue {
  background: var(--blue);
  color: var(--white);
}

.skill-card-coral {
  background: var(--coral);
}

.skill-card-yellow {
  background: var(--yellow);
}

.skill-card-mint {
  background: var(--mint);
}

.skill-number {
  color: currentColor;
  font-size: 0.68rem;
  font-weight: 800;
  opacity: 0.7;
}

.skill-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-top: 50px;
  place-items: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
}

.skill-card-blue .skill-icon {
  background: rgba(255, 255, 255, 0.16);
}

.skill-icon svg {
  width: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.skill-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 35px;
  font-size: 1.35rem;
  font-weight: 830;
  letter-spacing: -0.035em;
}

.skill-card p {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  color: currentColor;
  font-size: 0.82rem;
  opacity: 1;
}

/* 09. Training and education */

.training {
  background: var(--paper);
}

.training-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.68fr) minmax(0, 1.32fr);
  gap: 38px clamp(45px, 7vw, 100px);
  align-items: start;
}

.training-heading {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.55fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
}

.training-heading .eyebrow {
  grid-column: 1 / -1;
}

.training-heading h2 {
  margin-top: 22px;
  font-size: clamp(2.7rem, 4.7vw, 4.8rem);
}

.training-heading > p:last-child {
  max-width: 520px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.training-visuals {
  position: sticky;
  top: 105px;
  display: grid;
  gap: 16px;
}

.training-visuals figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--blue-pale);
  box-shadow: var(--shadow-sm);
}

.training-visuals img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.training-visual-main {
  min-height: 390px;
}

.training-visual-main img {
  position: absolute;
  inset: 0;
}

.training-visual-main::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 31, 62, 0.8), transparent 68%);
  content: "";
}

.training-visual-main figcaption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 70px 25px 24px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 760;
}

.training-visual-detail {
  min-height: 170px;
}

.credentials-panel {
  min-width: 0;
}

.credential-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.credential-filters button {
  display: inline-flex;
  min-height: 39px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 790;
  transition:
    transform 180ms var(--ease),
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.credential-filters button:hover {
  transform: translateY(-2px);
  border-color: rgba(49, 86, 216, 0.3);
}

.credential-filters button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.credential-filters button span {
  display: grid;
  min-width: 20px;
  min-height: 20px;
  padding: 2px 5px;
  border-radius: 999px;
  place-items: center;
  background: rgba(49, 86, 216, 0.1);
  font-size: 0.56rem;
}

.credential-filters button.is-active span {
  background: rgba(0, 0, 0, 0.18);
}

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

.credential-card {
  display: flex;
  min-height: 192px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 23px;
  flex-direction: column;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(35, 50, 89, 0.055);
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.credential-card:hover {
  transform: translateY(-4px);
  border-color: rgba(49, 86, 216, 0.24);
  box-shadow: var(--shadow-sm);
}

.credential-meta {
  display: flex;
  min-height: 28px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.credential-status {
  display: inline-flex;
  min-height: 24px;
  padding: 5px 8px;
  border-radius: 999px;
  align-items: center;
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.status-current {
  background: var(--mint-pale);
  color: #1c694d;
}

.status-completed {
  background: var(--blue-pale);
  color: var(--blue-deep);
}

.status-former {
  background: var(--yellow-pale);
  color: #745800;
}

.credential-meta time {
  color: var(--ink-soft);
  font-size: 0.59rem;
  font-weight: 720;
}

.credential-card h3 {
  margin-top: auto;
  padding-top: 26px;
  font-size: 1rem;
  font-weight: 820;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.credential-card > p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.credential-featured {
  position: relative;
  grid-column: 1 / -1;
  min-height: 235px;
  overflow: hidden;
  border-color: var(--blue);
  background:
    radial-gradient(circle at 92% 5%, rgba(255, 215, 91, 0.94), transparent 10rem),
    var(--blue);
  color: var(--white);
  box-shadow: 0 20px 52px rgba(49, 86, 216, 0.2);
}

.credential-featured::after {
  position: absolute;
  right: 28px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  border: 24px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.credential-featured:hover {
  border-color: var(--blue);
  box-shadow: 0 24px 64px rgba(49, 86, 216, 0.28);
}

.credential-featured .credential-meta time,
.credential-featured > p {
  color: rgba(255, 255, 255, 0.76);
}

.credential-featured .status-former {
  background: var(--yellow);
  color: var(--ink);
}

.credential-feature-label {
  margin-top: 30px;
  color: var(--yellow);
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.education-card {
  display: grid;
  min-height: 160px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at 92% 16%, rgba(255, 255, 255, 0.55), transparent 12rem),
    var(--lavender);
}

.education-mark {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 22px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 880;
  box-shadow: 7px 7px 0 var(--yellow);
}

.education-card > div:nth-child(2) > p:first-child {
  color: var(--blue-deep);
  font-size: 0.64rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.education-card h3 {
  margin-top: 8px;
  font-size: 1.1rem;
  font-weight: 820;
}

.education-card > div:nth-child(2) > p:last-child,
.education-card > span {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.77rem;
}

.education-card > span {
  margin: 0;
  font-weight: 750;
}

/* 10. Résumé callout */

.resume-section {
  padding-top: 50px;
  background: var(--paper);
}

.resume-card {
  position: relative;
  display: grid;
  min-height: 560px;
  overflow: hidden;
  border-radius: 48px;
  grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.12), transparent 18rem),
    var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.resume-card::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 330px;
  height: 330px;
  border: 62px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.resume-preview {
  position: relative;
  min-height: 560px;
  background:
    linear-gradient(rgba(23, 34, 56, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 34, 56, 0.04) 1px, transparent 1px),
    var(--yellow);
  background-size: 26px 26px;
}

.resume-sheet {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 280px;
  height: 380px;
  padding: 34px;
  flex-direction: column;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 26px 55px rgba(23, 34, 56, 0.2);
}

.resume-sheet-back {
  transform: translate(-42%, -48%) rotate(8deg);
  background: var(--coral);
}

.resume-sheet-front {
  transform: translate(-55%, -52%) rotate(-4deg);
}

.resume-avatar {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 15px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 900;
}

.resume-line {
  display: block;
  height: 7px;
  margin-top: 15px;
  border-radius: 999px;
  background: #dfe5f0;
}

.resume-line-long {
  width: 100%;
}

.resume-line-mid {
  width: 72%;
}

.resume-line-short {
  width: 48%;
}

.resume-rule {
  display: block;
  width: 100%;
  height: 2px;
  margin: 25px 0 5px;
  background: var(--yellow);
}

.resume-copy {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 650px;
  padding: clamp(54px, 7vw, 100px);
  flex-direction: column;
  justify-content: center;
}

.resume-copy h2 {
  margin-top: 30px;
  font-size: clamp(3rem, 5.3vw, 5.8rem);
  font-weight: 820;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.resume-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
}

.button-white {
  background: var(--white);
  color: var(--blue-deep);
  box-shadow: 0 12px 28px rgba(23, 34, 56, 0.18);
}

.button-white:hover {
  background: var(--yellow);
}

.button-ghost-light {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.button-ghost-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* 11. Contact and footer */

.contact {
  overflow: hidden;
  background: var(--white);
}

.contact-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.contact-shape-one {
  top: 80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border: 42px solid var(--mint-pale);
}

.contact-shape-two {
  bottom: -36px;
  left: -36px;
  width: 110px;
  height: 110px;
  background: var(--coral-pale);
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 380px;
  padding: clamp(42px, 6vw, 80px);
  overflow: hidden;
  border: 1px solid rgba(49, 86, 216, 0.18);
  border-radius: 42px;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  background:
    radial-gradient(circle at 94% 12%, rgba(255, 215, 91, 0.72), transparent 14rem),
    radial-gradient(circle at 4% 100%, rgba(153, 221, 194, 0.68), transparent 15rem),
    var(--blue-pale);
  box-shadow: var(--shadow-lg);
}

.contact-copy h2 {
  margin-top: 38px;
  max-width: 780px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 550px;
  margin-top: 26px;
  color: var(--ink-soft);
}

.linkedin-card {
  display: grid;
  min-height: 88px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  background: var(--blue-pale);
  transition:
    transform 200ms var(--ease),
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.linkedin-card:hover {
  transform: translateY(-3px);
  border-color: rgba(49, 86, 216, 0.28);
  box-shadow: var(--shadow-sm);
}

.linkedin-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: #0a66c2;
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
}

.linkedin-card > span:nth-child(2) {
  display: grid;
}

.linkedin-card small {
  color: var(--ink-soft);
  font-size: 0.65rem;
}

.linkedin-card strong {
  margin-top: 2px;
  font-size: 0.82rem;
}

.linkedin-card-large {
  width: 100%;
  min-height: 124px;
  padding: 22px;
  border-color: rgba(49, 86, 216, 0.25);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.linkedin-card-large .linkedin-icon {
  width: 62px;
  height: 62px;
  border-radius: 19px;
  font-size: 1.22rem;
}

.linkedin-card-large small {
  font-size: 0.65rem;
}

.linkedin-card-large strong {
  font-size: 1rem;
}

.linkedin-card-large > span:last-child {
  display: grid;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  place-items: center;
  background: var(--yellow);
  font-size: 1rem;
}

.site-footer {
  padding: 50px 48px 30px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-top,
.footer-bottom {
  display: flex;
  width: var(--page-shell);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.73rem;
  font-weight: 800;
}

.back-to-top span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  transition: transform 180ms var(--ease);
}

.back-to-top:hover span {
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.68rem;
}

/* 12. Résumé page */

.resume-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 215, 91, 0.3), transparent 22rem),
    radial-gradient(circle at 93% 18%, rgba(153, 221, 194, 0.25), transparent 24rem),
    var(--paper);
}

.resume-page .site-header {
  position: sticky;
}

.resume-page-main {
  padding: 64px 0 100px;
}

.resume-document {
  width: min(980px, calc(100vw - 48px));
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.resume-hero {
  position: relative;
  display: grid;
  min-height: 330px;
  padding: 58px;
  overflow: hidden;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: end;
  background: var(--blue);
  color: var(--white);
}

.resume-hero::before {
  position: absolute;
  top: -80px;
  right: -50px;
  width: 240px;
  height: 240px;
  border: 46px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.resume-hero::after {
  position: absolute;
  right: 34%;
  bottom: 42px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--yellow);
  box-shadow: 42px -20px 0 var(--coral), 65px 28px 0 var(--mint);
  content: "";
  transform: rotate(8deg);
}

.resume-hero-copy {
  position: relative;
  z-index: 1;
}

.resume-hero-copy > p:first-child {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resume-hero h1 {
  margin-top: 16px;
  font-size: clamp(3.2rem, 7vw, 6.3rem);
  font-weight: 830;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.resume-hero-copy > p:last-child {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.94rem;
}

.resume-contact-list {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 180px;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 720;
  text-align: right;
}

.resume-contact-list a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.38);
  text-underline-offset: 4px;
}

.resume-body {
  display: grid;
  padding: 56px;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: 58px;
}

.resume-column {
  display: grid;
  align-content: start;
  gap: 48px;
}

.resume-block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 2px solid var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.resume-block-title span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.resume-profile {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.resume-role-list {
  display: grid;
  margin-top: 26px;
  gap: 31px;
}

.resume-role {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
}

.resume-role-date {
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 740;
}

.resume-role-company {
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 830;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.resume-role h3 {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 820;
}

.resume-role ul {
  display: grid;
  margin-top: 11px;
  gap: 6px;
  list-style: none;
}

.resume-role li {
  position: relative;
  padding-left: 14px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.resume-role li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.resume-side-list {
  display: grid;
  margin-top: 20px;
  gap: 10px;
}

.resume-side-list span {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-size: 0.7rem;
  font-weight: 730;
}

.resume-training-list,
.resume-education {
  display: grid;
  margin-top: 20px;
  gap: 17px;
}

.resume-training-list article {
  padding-left: 13px;
  border-left: 3px solid var(--yellow);
}

.resume-training-list article:nth-child(even) {
  border-color: var(--mint);
}

.resume-training-list h3,
.resume-education h3 {
  font-size: 0.76rem;
  font-weight: 800;
}

.resume-training-list p,
.resume-education p {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.66rem;
}

.resume-interest {
  margin-top: 20px;
  padding: 18px;
  border-radius: 16px;
  background: var(--yellow-pale);
}

.resume-interest h3 {
  font-size: 0.79rem;
}

.resume-interest p {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.resume-tools {
  display: flex;
  width: min(980px, calc(100vw - 48px));
  margin: 0 auto 22px;
  justify-content: space-between;
  gap: 16px;
}

.resume-tools .button {
  min-height: 46px;
}

/* 13. Motion, responsive, and print */

.hero-enter {
  opacity: 0;
  transform: translateY(22px);
  animation: hero-in 720ms var(--ease) forwards;
}

.hero-enter-1 {
  animation-delay: 80ms;
}

.hero-enter-2 {
  animation-delay: 160ms;
}

.hero-enter-3 {
  animation-delay: 260ms;
}

.hero-enter-4 {
  animation-delay: 360ms;
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 680ms var(--ease),
    transform 680ms var(--ease);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  :root {
    --page-shell: min(100% - 64px, 1120px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(450px, 1.1fr);
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 6.4vw, 5.7rem);
  }

  .hero-visual {
    min-height: 540px;
  }

  .role-points {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .role-points article {
    display: grid;
    padding-top: 14px;
    grid-template-columns: 34px 150px 1fr;
    gap: 12px;
    align-items: baseline;
  }

  .role-points h3,
  .role-points p {
    margin-top: 0;
  }

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

  .skill-card {
    min-height: 330px;
  }

  .skill-icon {
    margin-top: 35px;
  }
}

@media (max-width: 960px) {
  :root {
    --page-shell: calc(100vw - 48px);
  }

  .site-header {
    padding-inline: 24px;
  }

  .primary-navigation {
    gap: 20px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 55px);
  }

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

  .hero-copy {
    max-width: 760px;
    padding-bottom: 0;
  }

  .hero-visual {
    min-height: 600px;
  }

  .quick-facts {
    margin-top: 42px;
  }

  .about-grid,
  .experience-heading,
  .training-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 55px;
  }

  .about-principles {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .about-principles article,
  .about-principles article:first-child {
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: 18px;
    grid-template-columns: 1fr;
    background: var(--paper);
  }

  .interest-card {
    grid-template-columns: 1fr;
  }

  .interest-media {
    min-height: 420px;
  }

  .current-role-card {
    grid-template-columns: 1fr;
  }

  .role-brand-panel {
    min-height: 640px;
  }

  .role-brand-media {
    min-height: 390px;
  }

  .role-brand-media img {
    min-height: 390px;
  }

  .experience-heading {
    gap: 24px;
  }

  .experience-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .experience-index {
    position: sticky;
    z-index: 10;
    top: 67px;
    display: flex;
    margin-inline: -24px;
    padding: 12px 24px;
    overflow-x: auto;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 250, 243, 0.95);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    scrollbar-width: none;
  }

  .experience-index::-webkit-scrollbar {
    display: none;
  }

  .experience-index > p {
    display: none;
  }

  .experience-index a {
    flex: 0 0 auto;
    padding: 8px 13px;
    border: 1px solid transparent;
  }

  .experience-index a::before,
  .experience-index a::after,
  .experience-index a + a::after {
    display: none;
  }

  .experience-index a.is-active {
    border-color: rgba(49, 86, 216, 0.18);
    background: var(--blue-pale);
    color: var(--blue-deep);
  }

  .training-layout {
    gap: 50px;
  }

  .training-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .training-heading .eyebrow {
    grid-column: auto;
  }

  .training-visuals {
    position: static;
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  }

  .training-visual-main,
  .training-visual-detail {
    min-height: 310px;
  }

  .education-card {
    grid-column: auto;
  }

  .resume-card {
    grid-template-columns: 0.78fr 1.22fr;
  }

  .resume-sheet {
    width: 230px;
    height: 325px;
  }

  .contact-layout {
    gap: 60px;
  }

  .resume-body {
    grid-template-columns: 1fr;
  }

  .resume-column {
    gap: 40px;
  }
}

@media (max-width: 780px) {
  :root {
    --page-shell: calc(100vw - 36px);
    --header-height: 70px;
  }

  .site-header {
    padding-inline: 18px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-navigation {
    position: fixed;
    z-index: 190;
    top: 68px;
    right: 12px;
    left: 12px;
    display: grid;
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 24px;
    background: var(--paper);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      max-height 320ms var(--ease),
      padding 320ms var(--ease),
      border-color 200ms ease,
      opacity 200ms ease,
      transform 320ms var(--ease);
  }

  .primary-navigation.is-open {
    max-height: 520px;
    padding: 22px 20px;
    border-color: var(--line);
    gap: 0;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-navigation > a:not(.nav-resume) {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .primary-navigation > a:not(.nav-resume)::after {
    display: none;
  }

  .nav-resume {
    margin-top: 16px;
    justify-content: center;
  }

  .hero {
    padding-top: calc(var(--header-height) + 48px);
  }

  .hero h1 {
    font-size: clamp(3.25rem, 13vw, 5.4rem);
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-image-frame {
    border-radius: 36px 36px 36px 105px;
  }

  .hero-note-role {
    right: -6px;
    bottom: 25px;
  }

  .hero-note-focus {
    top: 25px;
    left: -6px;
  }

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

  .quick-facts a {
    min-height: 84px;
  }

  .quick-facts a + a {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .quick-facts a:first-child:hover {
    border-radius: 23px 23px 0 0;
  }

  .quick-facts a:last-child:hover {
    border-radius: 0 0 23px 23px;
  }

  .section-space {
    padding: 90px 0;
  }

  .section-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .about-grid {
    padding: 55px 0 70px;
  }

  .about-heading h2,
  .experience-heading h2,
  .skills-heading h2,
  .training-heading h2,
  .contact-copy h2 {
    font-size: clamp(2.55rem, 10vw, 4.5rem);
  }

  .about-principles {
    grid-template-columns: 1fr;
  }

  .interest-media {
    min-height: 340px;
  }

  .role-copy {
    padding: 44px 28px 48px;
  }

  .tenure-counter {
    grid-template-columns: 1fr;
  }

  .tenure-label {
    justify-content: center;
  }

  .role-points article {
    grid-template-columns: 30px 1fr;
  }

  .role-points p {
    grid-column: 2;
  }

  .experience-heading {
    padding: 52px 0;
  }

  .experience-index {
    margin-inline: -18px;
    padding-inline: 18px;
  }

  .experience-card {
    grid-template-columns: 1fr;
  }

  .experience-logo {
    min-height: 190px;
  }

  .experience-logo img {
    max-height: 95px;
  }

  .experience-main {
    padding: 34px 28px 40px;
  }

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

  .skills-media {
    grid-template-columns: 1fr;
  }

  .skills-media figure {
    min-height: 260px;
  }

  .skill-card {
    min-height: 300px;
  }

  .credential-filters {
    margin-right: -18px;
    padding-right: 18px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .credential-filters::-webkit-scrollbar {
    display: none;
  }

  .credential-filters button {
    flex: 0 0 auto;
  }

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

  .credential-featured {
    grid-column: auto;
  }

  .education-card {
    grid-template-columns: auto 1fr;
  }

  .education-card > span {
    grid-column: 2;
  }

  .resume-section {
    padding-top: 30px;
  }

  .resume-card {
    grid-template-columns: 1fr;
  }

  .resume-preview {
    min-height: 430px;
  }

  .resume-copy {
    padding: 52px 30px 62px;
  }

  .site-footer {
    padding-inline: 18px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .resume-hero {
    padding: 44px 32px;
    grid-template-columns: 1fr;
    gap: 35px;
    align-items: start;
  }

  .resume-contact-list {
    text-align: left;
  }

  .resume-body {
    padding: 38px 30px;
  }

  .resume-role {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 520px) {
  .brand-copy small {
    display: none;
  }

  .hero-decor-two {
    display: none;
  }

  .hero-copy {
    padding-top: 0;
  }

  .availability-pill {
    margin-bottom: 24px;
  }

  .hero-summary {
    margin-top: 24px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 410px;
  }

  .hero-note-role {
    min-width: 180px;
    padding: 13px 16px;
    border-width: 4px;
  }

  .hero-note-focus {
    padding: 10px 13px;
    border-width: 4px;
  }

  .note-icon {
    width: 30px;
    height: 30px;
  }

  .hero-note strong,
  .hero-note-role strong {
    font-size: 0.74rem;
  }

  .interest-copy {
    padding: 38px 26px 44px;
  }

  .current-role-band {
    padding: 18px 0;
  }

  .current-role-card {
    border-width: 5px;
    border-radius: 30px;
  }

  .role-brand-panel {
    min-height: auto;
    padding: 36px 28px;
  }

  .role-brand-media,
  .role-brand-media img {
    min-height: 300px;
  }

  .regal-logo {
    width: 210px;
  }

  .tenure-counter {
    padding: 18px 14px;
  }

  .tenure-values {
    gap: 3px;
  }

  .tenure-values > span {
    padding-inline: 6px;
  }

  .experience-card {
    border-radius: 27px;
  }

  .training-visuals {
    grid-template-columns: 1fr;
  }

  .training-visual-main {
    min-height: 310px;
  }

  .training-visual-detail {
    min-height: 190px;
  }

  .credential-card {
    min-height: 175px;
    padding: 20px;
  }

  .education-card {
    padding: 24px 20px;
  }

  .education-mark {
    width: 58px;
    height: 58px;
  }

  .resume-card {
    border-radius: 30px;
  }

  .resume-sheet {
    width: 210px;
    height: 300px;
  }

  .resume-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-layout {
    padding: 34px 24px;
    border-radius: 30px;
  }

  .linkedin-card-large {
    min-height: 104px;
    padding: 17px;
  }

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

  .resume-tools {
    flex-direction: column;
  }

  .resume-tools .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-enter,
  .js-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  @page {
    size: letter;
    margin: 0;
  }

  body {
    background: var(--white);
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .resume-page .site-header,
  .resume-tools,
  .scroll-progress {
    display: none !important;
  }

  .resume-page-main {
    padding: 0;
  }

  .resume-document {
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .resume-hero {
    min-height: 2.35in;
    padding: 0.42in 0.5in;
  }

  .resume-hero h1 {
    font-size: 48pt;
  }

  .resume-body {
    padding: 0.38in 0.5in;
    grid-template-columns: 1.55fr 0.65fr;
    gap: 0.38in;
  }

  .resume-column {
    gap: 0.27in;
  }

  .resume-role-list {
    gap: 0.18in;
  }

  .resume-role {
    grid-template-columns: 0.95in 1fr;
  }

  .resume-role,
  .resume-training-list article,
  .resume-education,
  .resume-interest {
    break-inside: avoid;
  }
}
