:root {
  color-scheme: light;
  --ink: #172d35;
  --ink-soft: #496069;
  --deep: #122a35;
  --deep-soft: #1c3b46;
  --teal: #b7e0d6;
  --teal-strong: #75c4ae;
  --paper: #f7f7f3;
  --white: #fff;
  --line: #dce5e1;
  --muted: #78878a;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Aptos, Arial, sans-serif;
  --display: "Segoe UI", Aptos, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: absolute;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--deep);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 clamp(1.25rem, 6vw, 6rem);
  background: var(--paper);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--deep);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid #bed3cd;
  border-radius: 50%;
  color: #2f7668;
  font-size: 0.66rem;
  letter-spacing: 0.025em;
}
.wordmark-dot { color: #53a18c; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.6rem);
}
.site-nav a,
.site-footer > a:last-child {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}
.site-nav a:hover,
.site-footer > a:last-child:hover { color: #398675; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 50px;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: #d6efe7;
  color: var(--deep);
  font: 700 0.8rem var(--sans);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
  cursor: pointer;
  touch-action: manipulation;
}
.button:hover { transform: translateY(-2px); background: #e6f5f0; }
.button-small { min-height: 39px; padding: 0.55rem 0.9rem; font-size: 0.72rem; }
.button-outline { border-color: #cbd9d5; background: transparent; }
.button-outline:hover { background: #e8efeb; }
.button-light { background: #d9eee7; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.85fr);
  align-items: center;
  min-height: 620px;
  overflow: hidden;
  padding: 4.8rem clamp(1.5rem, 10.5vw, 10rem) 6.7rem;
  background:
    radial-gradient(ellipse at 82% 50%, rgba(107, 169, 150, 0.13), transparent 31%),
    linear-gradient(118deg, #102630 0%, #163640 58%, #1c4149 100%);
  color: var(--white);
}
.hero::before {
  position: absolute;
  top: -55%;
  right: 12%;
  width: 65%;
  height: 140%;
  border: 1px solid rgba(205, 235, 222, 0.07);
  border-radius: 50%;
  content: "";
  transform: rotate(-24deg);
}
.hero-copy { position: relative; z-index: 1; max-width: 635px; }
.eyebrow {
  margin: 0 0 1.1rem;
  color: #538f81;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero .eyebrow { color: #a4d8c8; }
.eyebrow-line {
  display: inline-block;
  width: 26px;
  height: 1px;
  margin: 0 0.65rem 0.2rem 0;
  background: currentColor;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.1rem, 6.2vw, 5.85rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.99;
}
.hero h1 span,
.section-heading h2 span,
.closing-cta h2 span {
  color: #add8ca;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.065em;
}
.hero-role {
  margin: 1.35rem 0 0;
  color: #c5d5d4;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero-role span { margin: 0 0.38rem; color: #83b9aa; }
.hero-summary {
  max-width: 475px;
  margin: 1.2rem 0 0;
  color: #c2d0d0;
  font-size: 0.9rem;
  line-height: 1.85;
}
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #deebe8;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}
.text-link span { margin-left: 0.3rem; color: #a9d8ca; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-proof {
  display: flex;
  gap: clamp(1.2rem, 3.2vw, 3rem);
  margin-top: 3.45rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(222, 239, 234, 0.2);
}
.hero-proof div { display: grid; gap: 0.06rem; }
.hero-proof strong {
  color: #d4eee5;
  font-family: var(--display);
  font-size: 1.24rem;
  letter-spacing: -0.04em;
}
.hero-proof span { color: #aebfbe; font-size: 0.65rem; }

.hero-portrait-wrap {
  position: relative;
  display: grid;
  width: min(100%, 410px);
  aspect-ratio: 1;
  justify-self: end;
  place-items: center;
}
.portrait-frame {
  position: relative;
  z-index: 1;
  width: 73%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  background: #e6eee9;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.26);
}
.portrait-frame img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.portrait-orbit { position: absolute; border: 1px solid rgba(189, 226, 211, 0.23); border-radius: 50%; }
.portrait-orbit-one { inset: 5%; }
.portrait-orbit-two { inset: 0; border-color: rgba(189, 226, 211, 0.1); }
.portrait-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 14%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(225, 238, 230, 0.17);
  background: #193841;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.2);
  color: #e4efea;
  font-size: 0.68rem;
  font-weight: 600;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #8bd1b8; }
.hero-sparkle { position: absolute; top: 16%; right: 11%; color: #b5dfd1; font-size: 1.4rem; }
.scroll-cue {
  position: absolute;
  bottom: 1.7rem;
  left: clamp(1.5rem, 10.5vw, 10rem);
  color: #9fb3b2;
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}
.scroll-cue span { margin-right: 0.65rem; color: #b8e3d5; }

.section { padding: clamp(4.5rem, 9vw, 8rem) clamp(1.5rem, 10.5vw, 10rem); }
.section-heading h2,
.closing-cta h2,
.references-band h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1.1;
}
.section-heading h2 span { color: #428b79; }
.profile-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 8vw, 8rem); }
.profile-content { max-width: 640px; padding-top: 0.2rem; color: var(--ink-soft); font-size: 0.86rem; }
.profile-content > p { margin: 0 0 1rem; }
.profile-content .profile-lead { color: var(--ink); font-size: 1.13rem; line-height: 1.7; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-top: 2rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
.contact-card:last-child { grid-column: 1 / -1; }
.contact-card:hover { border-color: #9fcabd; }
.contact-icon {
  display: grid;
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: #e2f0eb;
  color: #397c6d;
  font-size: 0.85rem;
}
.contact-card small,
.contact-card strong { display: block; }
.contact-card small { margin-bottom: 0.12rem; color: var(--muted); font-size: 0.62rem; }
.contact-card strong { overflow-wrap: anywhere; color: var(--ink); font-size: 0.72rem; font-weight: 600; }

.experience-section { background: #eff3ef; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.section-aside { max-width: 300px; margin: 0 0 0.3rem; color: var(--ink-soft); font-size: 0.8rem; }
.timeline { display: grid; gap: 1rem; margin-top: 3.2rem; }
.experience-card {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  gap: 2rem;
  padding: 1.7rem 2rem;
  border: 1px solid #dfe7e2;
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.experience-card:hover { transform: translateY(-2px); border-color: #b5d4ca; box-shadow: 0 10px 24px rgba(30, 66, 59, 0.06); }
.experience-featured { border-left: 3px solid #5b9c89; }
.experience-date { display: flex; flex-wrap: wrap; align-content: start; gap: 0.35rem; padding-top: 0.34rem; color: #53766e; font-size: 0.64rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.07em; }
.date-dash { color: #9caeaa; }
.experience-title-row { display: flex; justify-content: space-between; gap: 1rem; }
.experience-title-row h3 { margin: 0; font-family: var(--display); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.35; }
.company { margin: 0.24rem 0 0; color: #558778; font-size: 0.67rem; font-weight: 700; letter-spacing: 0.1em; }
.company-link { display: inline-flex; align-items: center; gap: 0.35rem; text-decoration: none; }
.company-link span { font-size: 0.8rem; }
.company-link:hover { color: #2f6d5f; text-decoration: underline; text-underline-offset: 3px; }
.company-link:focus-visible { outline: 2px solid #397c6d; outline-offset: 3px; }
.experience-index { color: #bdcbc6; font-family: var(--serif); font-size: 1.2rem; font-style: italic; }
.experience-card ul { display: grid; gap: 0.32rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.experience-card li { position: relative; padding-left: 1rem; color: var(--ink-soft); font-size: 0.79rem; }
.experience-card li::before { position: absolute; top: 0.69em; left: 0; width: 4px; height: 4px; border-radius: 50%; background: #79b9a5; content: ""; }
.manager { margin: 1rem 0 0; color: #677b7b; font-size: 0.67rem; }
.manager span { margin-right: 0.55rem; color: #8a9b97; font-size: 0.59rem; letter-spacing: 0.05em; text-transform: uppercase; }

.education-section { background: var(--paper); }
.education-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.8rem; }
.education-card { position: relative; min-height: 250px; padding: 1.55rem; border: 1px solid var(--line); background: #fff; }
.education-primary { border-color: #19414a; background: var(--deep); color: #fff; }
.education-year { color: #609482; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; }
.education-primary .education-year { color: #add9ca; }
.education-symbol { position: absolute; top: 1.28rem; right: 1.45rem; color: #82b8a7; font-size: 1.1rem; }
.education-school { max-width: 90%; margin: 2.3rem 0 0.7rem; color: #71817e; font-size: 0.69rem; line-height: 1.6; }
.education-primary .education-school { color: #b1c6c2; }
.education-card h3 { margin: 0; font-family: var(--display); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1.4; }
.education-card > p:last-child { margin: 0.55rem 0 0; color: #73827f; font-size: 0.73rem; }
.education-primary > p:last-child { color: #bed4ce; }

.skills-section { background: #eaf0ec; }
.skills-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); margin-top: 3rem; }
.skill-panel h3,
.training-panel h3 { margin: 0 0 1.2rem; font-family: var(--display); font-size: 0.92rem; font-weight: 700; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.skill-tags span { padding: 0.55rem 0.8rem; border: 1px solid #cfddd6; background: rgba(255, 255, 255, 0.62); color: #36534e; font-size: 0.69rem; font-weight: 600; }
.training-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; padding: 0; list-style: none; }
.training-list li { display: flex; gap: 0.75rem; min-height: 67px; padding: 0.8rem 0.7rem 0.8rem 0; border-top: 1px solid #d3dfd8; }
.training-list li > span { padding-top: 0.08rem; color: #6a9c8c; font-family: var(--serif); font-size: 0.85rem; font-style: italic; }
.training-list strong,
.training-list small { display: block; }
.training-list strong { color: #2d4545; font-size: 0.72rem; font-weight: 600; line-height: 1.4; }
.training-list small { margin-top: 0.2rem; color: #788986; font-size: 0.62rem; }

.references-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 8vw, 8rem);
  padding: 4rem clamp(1.5rem, 10.5vw, 10rem);
  background: #dcebe4;
}
.references-band .eyebrow { color: #477d70; }
.references-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.reference-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-content: center; }
.reference-list article { display: flex; align-items: center; gap: 0.8rem; }
.reference-initials { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border: 1px solid #bdd5ca; border-radius: 50%; color: #3b7567; font-size: 0.65rem; font-weight: 700; }
.reference-list h3 { margin: 0; font-size: 0.75rem; font-weight: 700; }
.reference-list article p { margin: 0.12rem 0 0; color: #667d76; font-size: 0.64rem; }
.reference-note { grid-column: 1 / -1; margin: 0.35rem 0 0; color: #657b74; font-size: 0.65rem; }

.closing-cta {
  padding: 5rem 1.5rem;
  background: var(--deep);
  color: #fff;
  text-align: center;
}
.closing-cta .eyebrow { color: #a3d3c3; }
.closing-cta h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
.closing-actions { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.closing-phone { color: #d2e3dc; font-size: 0.77rem; text-decoration: none; }
.closing-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem clamp(1.25rem, 6vw, 6rem); }
.footer-wordmark { font-size: 0.82rem; }
.footer-wordmark .wordmark-mark { width: 30px; height: 30px; }
.site-footer p { margin: 0; color: #7b8a87; font-size: 0.66rem; }
.site-footer > a:last-child { font-size: 0.68rem; }

@media (max-width: 900px) {
  html { scroll-padding-top: 9rem; }
  .site-header { flex-wrap: wrap; gap: 0.8rem; padding-top: 1rem; padding-bottom: 1rem; }
  .site-nav { order: 3; width: 100%; justify-content: center; gap: clamp(0.8rem, 4vw, 2rem); }
  .hero { grid-template-columns: 1.2fr 0.8fr; padding-right: 7vw; padding-left: 7vw; }
  .hero h1 { font-size: clamp(3rem, 7vw, 4.8rem); }
  .scroll-cue { left: 7vw; }
  .section,
  .references-band { padding-right: 7vw; padding-left: 7vw; }
  .profile-section { gap: 3rem; }
  .experience-card { grid-template-columns: 135px minmax(0, 1fr); gap: 1.4rem; padding: 1.45rem; }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 12rem; }
  .site-header { padding: 0.9rem 1.1rem; }
  .site-nav { justify-content: flex-start; overflow-x: auto; padding: 0.2rem 0 0.35rem; }
  .site-nav a { flex: 0 0 auto; font-size: 0.7rem; }
  .print-button { min-height: 35px; padding: 0.45rem 0.65rem; font-size: 0.65rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 4rem 1.4rem 5.5rem; }
  .hero-copy { order: 2; }
  .hero-portrait-wrap { order: 1; width: min(70vw, 300px); justify-self: center; margin: 0 auto 2.3rem; }
  .hero h1 { font-size: clamp(3.1rem, 13vw, 4.5rem); }
  .hero-summary { font-size: 0.84rem; }
  .hero-proof { gap: 1.25rem; justify-content: space-between; margin-top: 2.5rem; }
  .hero-proof span { max-width: 95px; font-size: 0.6rem; }
  .hero-actions { flex-wrap: wrap; gap: 1rem; }
  .motion-toggle { flex-basis: 100%; }
  .scroll-cue { bottom: 1.2rem; left: 1.4rem; font-size: 0.58rem; }
  .section { padding: 4.2rem 1.35rem; }
  .profile-section,
  .skills-layout,
  .references-band { grid-template-columns: 1fr; gap: 2rem; }
  .profile-content .profile-lead { font-size: 1.03rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card:last-child { grid-column: auto; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 1.1rem; }
  .section-aside { max-width: 390px; }
  .timeline { margin-top: 2rem; }
  .experience-card { grid-template-columns: 1fr; gap: 0.7rem; padding: 1.2rem; }
  .experience-date { gap: 0.3rem; }
  .experience-title-row h3 { font-size: 1.05rem; }
  .education-grid { grid-template-columns: 1fr; margin-top: 2rem; }
  .education-card { min-height: 215px; }
  .training-list { grid-template-columns: 1fr; }
  .references-band { padding: 3.5rem 1.35rem; }
  .reference-list { grid-template-columns: 1fr; }
  .reference-note { grid-column: auto; }
  .closing-cta { padding: 4rem 1.2rem; }
  .closing-actions { flex-direction: column; gap: 1rem; }
  .site-footer { flex-wrap: wrap; justify-content: center; padding: 1.2rem; text-align: center; }
  .site-footer p { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.scroll-progress {
  z-index: 10;
}
.scroll-progress span {
  background: linear-gradient(90deg, #72c4ac, #d5efdf 55%, #8fd7c2);
  box-shadow: 0 0 12px rgba(117, 196, 174, 0.6);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}
.site-header {
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(220, 229, 225, 0.72);
  background: rgba(247, 247, 243, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 220ms ease, background 220ms ease;
}
body.is-scrolled .site-header {
  background: rgba(247, 247, 243, 0.97);
  box-shadow: 0 8px 26px rgba(18, 42, 53, 0.07);
}
.wordmark-mark { transition: color 220ms ease, background 220ms ease, transform 220ms ease; }
.wordmark:hover .wordmark-mark { transform: rotate(-12deg); background: #e4f2ec; color: #1d5b4f; }
.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  background: #5da38e;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current="location"]::after { transform: scaleX(1); }
.site-nav a[aria-current="location"] { color: #347864; }
:where(a, button):focus-visible { outline: 2px solid #68a992; outline-offset: 4px; }
:where(a, button) {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(57, 123, 104, 0.16);
}
.button { position: relative; overflow: hidden; }
.button:not(.button-outline)::after {
  position: absolute;
  top: -70%;
  bottom: -70%;
  left: -45%;
  width: 24%;
  background: rgba(255, 255, 255, 0.55);
  content: "";
  filter: blur(8px);
  transform: translateX(-220%) rotate(18deg);
  animation: button-sheen 10s ease-in-out infinite;
}
.hero { isolation: isolate; }
.hero::before { z-index: 0; animation: hero-drift 32s ease-in-out infinite alternate; }
.hero::after {
  position: absolute;
  z-index: 0;
  top: 12%;
  right: 13%;
  width: min(45vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(97, 171, 146, 0.18), rgba(44, 115, 101, 0.06) 43%, transparent 72%);
  content: "";
  filter: blur(10px);
  animation: ambient-drift 17s ease-in-out infinite alternate;
}
.hero-copy,
.hero-portrait-wrap,
.scroll-cue { z-index: 1; }
.hero-actions { flex-wrap: wrap; }
.hero-actions .button,
.motion-toggle { flex-shrink: 0; }
.motion-toggle { white-space: nowrap; }
.hero-portrait-wrap { animation: portrait-float 7s ease-in-out infinite; }
.portrait-orbit-one { animation: orbit-turn 28s linear infinite; }
.portrait-orbit-two { animation: orbit-turn 38s linear infinite reverse; }
.portrait-caption { animation: caption-float 6s ease-in-out infinite; }
.status-dot { position: relative; }
.status-dot::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #8bd1b8;
  content: "";
  animation: status-pulse 2.8s ease-out infinite;
}
.hero-sparkle { animation: sparkle-turn 8s ease-in-out infinite; }
.scroll-cue span { display: inline-block; animation: cue-bob 1.9s ease-in-out infinite; }
.education-card::after { animation: education-orbit 22s ease-in-out infinite alternate; }
.education-card:nth-child(2)::after { animation-delay: -7s; }
.education-card:nth-child(3)::after { animation-delay: -14s; }
.skill-tags span { animation: tag-drift 7s ease-in-out infinite; }
.skill-tags span:nth-child(3n + 2) { animation-delay: -2.3s; }
.skill-tags span:nth-child(3n) { animation-delay: -4.6s; }
.contact-card { transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.contact-card:hover { transform: translateY(-3px); border-color: #9fcabd; box-shadow: 0 10px 24px rgba(30, 66, 59, 0.07); }
.experience-card { position: relative; overflow: hidden; }
.experience-card::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(transparent, #69aa95, transparent);
  content: "";
  opacity: 0;
  transform: scaleY(0.35);
  transition: opacity 220ms ease, transform 220ms ease;
}
.experience-card:hover::after { opacity: 1; transform: scaleY(1); }
.education-card {
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.education-card:hover { transform: translateY(-5px); border-color: #bdd9cd; box-shadow: 0 18px 34px rgba(30, 66, 59, 0.09); }
.education-card::after {
  position: absolute;
  right: -40px;
  bottom: -65px;
  width: 145px;
  height: 145px;
  border: 1px solid rgba(104, 169, 147, 0.16);
  border-radius: 50%;
  content: "";
  transition: transform 500ms ease;
}
.education-card:hover::after { transform: scale(1.35); }
.skill-tags span { transition: border-color 180ms ease, background 180ms ease; }
.skill-tags span:hover { border-color: #92beae; background: #fff; animation-play-state: paused; }
.closing-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(118deg, #122a35, #173942 52%, #122a35);
  isolation: isolate;
}
.closing-cta::before {
  position: absolute;
  z-index: -1;
  top: -190%;
  left: 50%;
  width: min(90vw, 820px);
  aspect-ratio: 1;
  border: 1px solid rgba(183, 224, 214, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(183, 224, 214, 0.025), 0 0 0 86px rgba(183, 224, 214, 0.02);
  content: "";
  transform: translateX(-50%);
  animation: cta-orbit 26s ease-in-out infinite alternate;
}
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms cubic-bezier(0.2, 0.65, 0.3, 1), transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1);
}
.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.motion-ready .reveal[data-reveal-delay="1"] { transition-delay: 90ms; }
.motion-ready .reveal[data-reveal-delay="2"] { transition-delay: 170ms; }
.motion-ready .reveal[data-reveal-delay="3"] { transition-delay: 250ms; }
html.is-motion-paused { scroll-behavior: auto; }
html.is-motion-paused *,
html.is-motion-paused *::before,
html.is-motion-paused *::after {
  animation-play-state: paused !important;
}
.motion-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.35rem;
  border: 0;
  background: transparent;
  color: #deebe8;
  font: 600 0.8125rem var(--sans);
  text-decoration: underline;
  text-decoration-color: rgba(222, 235, 232, 0.45);
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color 160ms ease;
}
.motion-toggle:hover { color: #b7e0d6; }
.motion-toggle span { color: #a9d8ca; }

@keyframes hero-drift {
  from { transform: translate3d(-1.5%, -1%, 0) rotate(-24deg); }
  to { transform: translate3d(2%, 1.5%, 0) rotate(-20deg); }
}
@keyframes ambient-drift {
  from { transform: translate3d(-4%, 0, 0) scale(0.92); opacity: 0.65; }
  to { transform: translate3d(5%, 4%, 0) scale(1.08); opacity: 1; }
}
@keyframes portrait-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -9px, 0); }
}
@keyframes caption-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -5px, 0); }
}
@keyframes orbit-turn { to { transform: rotate(1turn); } }
@keyframes sparkle-turn {
  0%, 100% { transform: rotate(0) scale(0.92); opacity: 0.8; }
  50% { transform: rotate(28deg) scale(1.13); opacity: 1; }
}
@keyframes status-pulse {
  0% { opacity: 0.55; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(2.8); }
}
@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@keyframes button-sheen {
  0%, 72%, 100% { transform: translateX(-220%) rotate(18deg); }
  88% { transform: translateX(620%) rotate(18deg); }
}
@keyframes cta-orbit {
  from { transform: translateX(-50%) rotate(-7deg) scale(0.94); }
  to { transform: translateX(-50%) rotate(7deg) scale(1.04); }
}
@keyframes education-orbit {
  from { transform: translate3d(0, 0, 0) scale(0.92); opacity: 0.55; }
  to { transform: translate3d(-12px, -10px, 0) scale(1.16); opacity: 1; }
}
@keyframes tag-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@media (max-width: 650px) {
  .hero::after { top: 0; right: 8%; width: 80vw; }
  .site-header { scroll-margin-top: 0; }
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 4rem 7vw 5.5rem;
  }
  .hero-copy { order: 2; }
  .hero-portrait-wrap {
    order: 1;
    width: min(42vw, 320px);
    justify-self: center;
    margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
  }
  .scroll-cue { left: 7vw; }
}

.site-header,
.site-footer {
  padding-inline: max(clamp(1.25rem, 6vw, 6rem), calc((100vw - 80rem) / 2));
}
.section,
.references-band {
  padding-inline: max(clamp(1.25rem, 6vw, 6rem), calc((100vw - 80rem) / 2));
}
.hero {
  padding-right: max(clamp(1.5rem, 7vw, 7rem), calc((100vw - 88rem) / 2));
  padding-left: max(clamp(1.5rem, 7vw, 7rem), calc((100vw - 88rem) / 2));
}
body { font-size: 1rem; }
.site-nav a,
.site-footer > a:last-child { font-size: 0.875rem; }
.wordmark { font-size: 1rem; }
.eyebrow { color: #397b68; font-size: 0.75rem; letter-spacing: 0.12em; }
.hero .eyebrow { color: #b7e0d6; }
.hero h1 {
  font-size: clamp(3.25rem, 6.8vw, 6rem);
  letter-spacing: -0.06em;
  line-height: 1.04;
  text-wrap: balance;
}
.hero h1 span,
.closing-cta h2 span { color: #b7e0d6; }
.section-heading h2 span { color: #397b68; }
.hero-role { font-size: 1rem; line-height: 1.55; }
.hero-summary { max-width: 42rem; color: #d1dfdd; font-size: 1rem; line-height: 1.75; }
.hero-proof { gap: clamp(1rem, 3vw, 2.5rem); }
.hero-proof strong { font-size: 1.4rem; }
.hero-proof span { color: #d1dfdd; font-size: 0.8125rem; }
.portrait-caption { font-size: 0.8125rem; }
.scroll-cue { color: #c1d1cf; font-size: 0.75rem; }
.button { font-size: 0.9rem; }
.button-small { min-height: 44px; padding: 0.6rem 1rem; font-size: 0.8rem; }
.text-link { font-size: 0.875rem; }
.motion-toggle { font-size: 0.8125rem; }
.section-heading h2,
.closing-cta h2,
.references-band h2 {
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  line-height: 1.14;
  text-wrap: balance;
}
.profile-content { color: #40545b; font-size: 1rem; line-height: 1.75; }
.profile-content .profile-lead { font-size: 1.2rem; line-height: 1.65; }
.contact-card { gap: 1rem; padding: 1rem; }
.contact-card small { color: #53656a; font-size: 0.75rem; }
.contact-card strong { font-size: 0.875rem; line-height: 1.5; }
.contact-icon { flex-basis: 36px; width: 36px; height: 36px; font-size: 1rem; }
.section-aside { max-width: 34rem; color: #40545b; font-size: 0.9375rem; line-height: 1.7; }
.timeline { gap: 1.125rem; margin-top: clamp(2rem, 4vw, 3rem); }
.experience-card { gap: clamp(1.25rem, 3vw, 2.25rem); padding: clamp(1.125rem, 2.5vw, 1.75rem); }
.experience-date { color: #42675e; font-size: 0.8125rem; font-variant-numeric: tabular-nums; letter-spacing: 0.045em; }
.experience-title-row h3 { font-size: 1.25rem; line-height: 1.4; }
.company { color: #397b68; font-size: 0.8rem; line-height: 1.5; letter-spacing: 0.075em; }
.experience-card ul { gap: 0.45rem; margin-top: 1.125rem; }
.experience-card li { color: #40545b; font-size: 0.9375rem; line-height: 1.6; }
.manager { margin-top: 1.125rem; color: #53656a; font-size: 0.8125rem; line-height: 1.6; }
.manager span { color: #53656a; font-size: 0.75rem; }
.experience-index { color: #536b64; font-size: 1.35rem; }
.education-grid { gap: 1.125rem; margin-top: clamp(2rem, 4vw, 3rem); }
.education-card { min-height: 270px; padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.education-year { color: #397b68; font-size: 0.75rem; letter-spacing: 0.075em; }
.education-primary .education-year { color: #b7e0d6; }
.education-symbol { color: #397b68; }
.education-school { margin-top: 2rem; color: #53656a; font-size: 0.8125rem; line-height: 1.65; }
.education-primary .education-school { color: #d1dfdd; }
.education-card h3 { font-size: 1.125rem; line-height: 1.5; }
.education-card > p:last-child { color: #53656a; font-size: 0.875rem; line-height: 1.6; }
.education-primary > p:last-child { color: #d1dfdd; }
.skill-panel h3,
.training-panel h3 { font-size: 1rem; }
.skills-layout { gap: clamp(2rem, 5vw, 4rem); margin-top: 2.5rem; }
.skill-tags { gap: 0.625rem; }
.skill-tags span { padding: 0.625rem 0.875rem; color: #294f47; font-size: 0.8125rem; }
.training-list li { min-height: 74px; gap: 0.875rem; padding: 0.9rem 0.75rem 0.9rem 0; }
.training-list li > span { color: #397b68; font-size: 1rem; }
.training-list strong { color: #293f40; font-size: 0.875rem; line-height: 1.5; }
.training-list small { color: #53656a; font-size: 0.75rem; line-height: 1.5; }
.references-band { gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(3rem, 6vw, 4rem); }
.references-band .eyebrow { color: #397b68; }
.references-band h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
.reference-list { gap: 1.25rem; }
.reference-initials { color: #2f6657; font-size: 0.75rem; }
.reference-list h3 { font-size: 0.875rem; line-height: 1.5; }
.reference-list article p,
.reference-note { color: #405b53; font-size: 0.75rem; line-height: 1.6; }
.closing-cta { padding: clamp(3.5rem, 7vw, 5.5rem) 1.5rem; }
.closing-phone { color: #e0ece8; font-size: 0.875rem; }
.site-footer p { color: #53656a; font-size: 0.75rem; }
.experience-note {
  margin: 1.25rem 0 0;
  color: #53656a;
  font-size: 0.8125rem;
  line-height: 1.6;
}
.reference-list { grid-template-columns: 1fr; }
.reference-note {
  margin: 0;
  color: #405b53;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.site-header { border-bottom: 2px solid #c8d9d1; }
.button-outline { border-width: 2px; }
.hero { border-bottom: 4px solid #75c4ae; }
.portrait-frame {
  border: 8px solid #e6eee9;
  outline: 1px solid rgba(183, 224, 214, 0.65);
  outline-offset: 7px;
  box-shadow: 0 0 0 16px rgba(183, 224, 214, 0.08), 0 24px 70px rgba(0, 0, 0, 0.32);
}
.portrait-orbit-one { border-width: 2px; border-color: rgba(189, 226, 211, 0.32); }
.contact-card {
  border: 1px solid #bdcfc7;
  border-left: 4px solid #6b9f8c;
  box-shadow: 0 3px 12px rgba(30, 66, 59, 0.035);
}
.contact-card:hover {
  border-color: #6b9f8c;
  border-left-color: #397b68;
  box-shadow: 0 12px 26px rgba(30, 66, 59, 0.12);
}
.experience-card {
  border: 1px solid #c7d7cf;
  border-left: 4px solid #9dbfb1;
  box-shadow: 0 4px 14px rgba(30, 66, 59, 0.045);
}
.experience-card::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(#5e9d88, #5e9d88) left 8px top 8px / 18px 2px no-repeat,
    linear-gradient(#5e9d88, #5e9d88) left 8px top 8px / 2px 18px no-repeat,
    linear-gradient(#5e9d88, #5e9d88) right 8px top 8px / 18px 2px no-repeat,
    linear-gradient(#5e9d88, #5e9d88) right 8px top 8px / 2px 18px no-repeat,
    linear-gradient(#5e9d88, #5e9d88) left 8px bottom 8px / 18px 2px no-repeat,
    linear-gradient(#5e9d88, #5e9d88) left 8px bottom 8px / 2px 18px no-repeat,
    linear-gradient(#5e9d88, #5e9d88) right 8px bottom 8px / 18px 2px no-repeat,
    linear-gradient(#5e9d88, #5e9d88) right 8px bottom 8px / 2px 18px no-repeat;
  content: "";
  opacity: 0.58;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.experience-card:hover::before { opacity: 1; }
.experience-featured { border-left: 5px solid #397b68; }
.experience-card > * { position: relative; z-index: 2; }
.experience-card::after { z-index: 3; }
.education-card {
  border: 1px solid #b9cec4;
  box-shadow: 0 5px 16px rgba(30, 66, 59, 0.06);
}
.education-primary {
  border: 2px solid #75c4ae;
  box-shadow: inset 0 0 0 5px rgba(183, 224, 214, 0.1), 0 8px 22px rgba(18, 42, 53, 0.15);
}
.education-card:hover { box-shadow: 0 18px 34px rgba(30, 66, 59, 0.14); }
.skill-tags span {
  border: 1px solid #afc8bd;
  box-shadow: inset 0 -2px 0 rgba(68, 122, 102, 0.12), 0 2px 5px rgba(30, 66, 59, 0.04);
}
.skill-tags span:hover { box-shadow: inset 0 -3px 0 #75a991, 0 6px 14px rgba(30, 66, 59, 0.1); }
.training-list li { border-top: 2px solid #c2d3cb; }
.references-band { border-block: 3px solid #b8d2c5; }
.closing-cta { border-top: 4px solid #75c4ae; }

.button { border-radius: 10px; }
.button-outline { border-radius: 10px; }
.portrait-caption { border-radius: 999px; }
.contact-card {
  border-radius: 14px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.experience-card {
  border-radius: 16px;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.experience-featured { border-left-width: 5px; }
.education-card {
  border-radius: 18px;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.education-primary { border-radius: 18px; }
.skill-tags span { border-radius: 999px; }
.training-list { gap: 0.55rem; margin-top: 0.75rem; }
.training-list li {
  min-height: 70px;
  padding: 0.75rem 0.85rem;
  border: 1px solid #c2d3cb;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.54);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.training-list li:hover {
  transform: translateX(3px);
  border-color: #83aa98;
  background: rgba(255, 255, 255, 0.9);
}
.reference-note {
  padding: 1rem 1.15rem;
  border: 1px solid #b8d2c5;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.34);
}

@media (max-width: 900px) {
  .section,
  .references-band { padding-block: clamp(3.25rem, 7vw, 5rem); }
  .profile-section { grid-template-columns: 1fr; gap: 1.75rem; }
  .profile-content { max-width: 48rem; }
  .section-heading-row { align-items: flex-start; }
  .section-aside { max-width: 28rem; }
  .experience-card { grid-template-columns: 140px minmax(0, 1fr); }
  .education-card { min-height: 280px; }
}

@media (max-width: 650px) {
  .section,
  .references-band { padding: 3.25rem 1.25rem; }
  .site-nav {
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
    overflow: visible;
  }
  .hero { padding: 3.25rem 1.25rem 5rem; }
  .hero-portrait-wrap { width: min(62vw, 280px); margin-bottom: 1.75rem; }
  .hero h1 { font-size: clamp(2.75rem, 12vw, 3.6rem); }
  .hero-role { font-size: 0.9375rem; }
  .hero-summary { font-size: 0.9375rem; }
  .hero-proof { gap: 0.8rem; margin-top: 2rem; }
  .hero-proof strong { font-size: 1.25rem; }
  .hero-proof span { max-width: 7.5rem; font-size: 0.75rem; line-height: 1.45; }
  .hero-actions { gap: 0.75rem 1rem; }
  .hero-actions .button { white-space: normal; }
  .button { min-height: 48px; }
  .button-small { min-height: 44px; }
  .section-heading h2,
  .closing-cta h2 { font-size: clamp(2rem, 8.5vw, 2.7rem); }
  .profile-content .profile-lead { font-size: 1.1rem; }
  .contact-card { padding: 0.875rem; }
  .experience-card { grid-template-columns: 1fr; gap: 0.625rem; padding: 1rem; }
  .experience-date { font-size: 0.75rem; }
  .experience-title-row h3 { font-size: 1.125rem; }
  .experience-card li { font-size: 0.875rem; }
  .manager { font-size: 0.75rem; }
  .education-grid { grid-template-columns: 1fr; }
  .education-card { min-height: 0; padding: 1.25rem; }
  .education-school { margin-top: 1.5rem; }
  .skills-layout { grid-template-columns: 1fr; gap: 2rem; }
  .training-list { grid-template-columns: 1fr; }
  .training-list li { min-height: 66px; }
  .references-band { gap: 1.75rem; }
  .reference-list { grid-template-columns: 1fr; gap: 1rem; }
  .reference-note { grid-column: auto; }
}

@media print {
  @page { margin: 14mm 13mm; size: A4; }
  html { scroll-behavior: auto; }
  body { background: #fff; color: #152b33; font-size: 9pt; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .site-header, .skip-link, .scroll-cue, .hero-actions, .closing-cta, .site-footer { display: none !important; }
  .hero { min-height: 0; grid-template-columns: 1.35fr 0.65fr; padding: 1.2rem 1.5rem; }
  .hero h1 { font-size: 34pt; }
  .hero-summary { font-size: 8pt; }
  .hero-proof { margin-top: 1.2rem; }
  .hero-portrait-wrap { width: 210px; }
  .portrait-caption, .portrait-orbit, .hero-sparkle { display: none; }
  .section { padding: 1.4rem 1.5rem; }
  .section-heading h2 { font-size: 23pt; }
  .section-heading h2 span { color: #347864; }
  .profile-section { gap: 1.3rem; }
  .profile-content { font-size: 8pt; }
  .contact-grid { gap: 0.3rem; margin-top: 0.7rem; }
  .contact-card { padding: 0.45rem; }
  .experience-section { background: #eff3ef !important; }
  .timeline { gap: 0.45rem; margin-top: 1rem; }
  .experience-card { grid-template-columns: 110px minmax(0, 1fr); gap: 0.8rem; padding: 0.7rem; break-inside: avoid; }
  .experience-card:hover { transform: none; box-shadow: none; }
  .experience-title-row h3 { font-size: 10pt; }
  .experience-card li { font-size: 7.5pt; }
  .manager { margin-top: 0.4rem; }
  .education-grid { gap: 0.45rem; margin-top: 1rem; }
  .education-card { min-height: 0; padding: 0.75rem; break-inside: avoid; }
  .education-school { margin-top: 1rem; }
  .education-card h3 { font-size: 9pt; }
  .skills-layout { gap: 1.3rem; margin-top: 1rem; }
  .training-list li { min-height: 0; padding: 0.35rem 0.25rem 0.35rem 0; break-inside: avoid; }
  .references-band { gap: 1.3rem; padding: 1.3rem 1.5rem; }
  .references-band h2 { font-size: 19pt; }
  .reference-list { gap: 0.5rem; }
  a { color: inherit; text-decoration: none; }
  .scroll-progress { display: none !important; }
  .motion-toggle { display: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready .reveal { opacity: 1 !important; transform: none !important; }
  .experience-card:hover, .education-card:hover, .contact-card:hover { transform: none; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-toggle { display: none; }
  .motion-ready .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
