:root {
  --bg: #ffffff;
  --fg: #0f172a;
  --muted: #475569;
  --border: #e5e7eb;
  --accent: #1d4ed8;
  --tint: #f8fafc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
.container { max-width: 900px; padding: 40px 24px 64px; margin: 0 auto; }
header {
  display: flex;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}
.headshot {
  width: 110px;
  height: 110px;
  flex: 0 0 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
h1 { margin: 0; font-size: 2rem; line-height: 1.2; }
.subtitle { color: var(--muted); margin-top: 5px; }
.location { color: var(--muted); font-size: .92rem; margin-top: 6px; }
nav { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 16px 0 0; font-size: .92rem; }
section { margin-top: 42px; }
h2 { font-size: 1.4rem; border-bottom: 1px solid var(--border); padding-bottom: 6px; margin-bottom: 16px; }
h3 { margin: 0 0 2px; font-size: 1.07rem; line-height: 1.45; }
h4 { font-size: 1rem; margin: 16px 0 3px; }
p { margin: 12px 0; }
.meta { color: var(--muted); font-size: .91rem; }
.job { margin-top: 24px; }
.job:first-of-type { margin-top: 12px; }
ul { padding-left: 21px; margin-top: 9px; }
li { margin-bottom: 5px; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.contact { margin-top: 9px; font-size: .91rem; }
.contact a { margin-right: 14px; }
.skills { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 22px; }
.skills h3 { font-size: 1rem; margin-bottom: 6px; }
.skills p { margin: 0; color: #334155; }
.note { padding: 12px 15px; border-left: 3px solid var(--accent); background: var(--tint); color: var(--muted); font-size: .92rem; }
footer { margin-top: 48px; border-top: 1px solid var(--border); padding-top: 16px; color: var(--muted); font-size: .88rem; }
.backlink { margin: 25px 0 0; }
@media(max-width: 650px) {
  .container { padding: 22px 18px 50px; }
  header { align-items: flex-start; gap: 15px; }
  .headshot { width: 76px; height: 76px; flex-basis: 76px; }
  h1 { font-size: 1.55rem; }
  .skills { grid-template-columns: 1fr; }
  nav { gap: 7px 14px; }
}
@media print {
  :root { --accent: #0f172a; }
  .container { max-width: none; padding: 0; margin: 0; }
  body { font-size: 10.5pt; }
  nav, .backlink, .contact { display: none; }
  section { margin-top: 20px; }
  h2 { margin-bottom: 8px; }
  .job, li { break-inside: avoid; }
  a { color: inherit; }
}

/* Interactive career chapters.
   Progressive enhancement: links still lead to full resume details without JavaScript. */
.timeline-experience {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1220px, calc(100vw - 40px));
  margin-top: 50px;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid #e3ebf7;
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(45, 120, 219, .12), transparent 35%),
    radial-gradient(circle at 98% 100%, rgba(17, 175, 159, .09), transparent 36%),
    #fff;
  box-shadow: 0 30px 90px rgba(22, 47, 89, .07);
}
.timeline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}
.timeline-heading h2 {
  margin: 0;
  padding: 0;
  border: 0;
  max-width: 660px;
  font-size: clamp(1.7rem, 3.6vw, 2.65rem);
  letter-spacing: -.035em;
  line-height: 1.16;
}
.timeline-kicker {
  margin: 0 0 9px;
  color: #1666b0;
  font-size: .73rem;
  letter-spacing: .18em;
  font-weight: 800;
}
.timeline-intro {
  margin: 12px 0 0;
  color: #4a617b;
  max-width: 70ch;
  font-size: .97rem;
  line-height: 1.65;
}
.timeline-controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
}
.timeline-controls[hidden] { display: none !important; }
.timeline-position {
  min-width: 65px;
  text-align: center;
  color: #465c76;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .8rem;
  font-weight: 600;
}
.timeline-arrow {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  padding: 0 0 5px;
  border-radius: 50%;
  border: 1px solid #b9cbe5;
  background: #fff;
  color: #164b9d;
  font: 400 2rem/1 Georgia, serif;
  cursor: pointer;
}
.timeline-arrow:not(:disabled):hover,
.timeline-arrow:not(:disabled):focus-visible {
  border-color: #2563eb;
  background: #e8f2ff;
}
.timeline-arrow:disabled { opacity: .36; cursor: not-allowed; }
.timeline-arrow:focus-visible,
.timeline-card:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
.timeline-help {
  margin: 0 0 5px;
  font-size: .76rem;
  color: #6b7c92;
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 16px;
  padding: 17px 12px 22px;
  margin: 0 -12px;
  scrollbar-width: thin;
  scrollbar-color: #9eb9df #f0f5fc;
  -webkit-overflow-scrolling: touch;
}
.timeline-track::-webkit-scrollbar { height: 9px; }
.timeline-track::-webkit-scrollbar-track { background: #f0f5fc; border-radius: 7px; }
.timeline-track::-webkit-scrollbar-thumb { background: #9eb9df; border-radius: 7px; }
.timeline-card {
  --panel1: #eff5ff;
  --panel2: #dceafa;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 169px;
  min-width: 0;
  min-height: 292px;
  overflow: hidden;
  padding: 20px 16px;
  border-radius: 9px;
  border: 1px solid #d0ddf1;
  background: linear-gradient(145deg, var(--panel1), var(--panel2));
  color: #1c385e;
  text-decoration: none;
  scroll-snap-align: center;
  box-shadow: 0 5px 13px rgba(27, 53, 92, .05);
  transition:
    flex-basis .4s cubic-bezier(.2, .7, .2, 1),
    background-color .3s ease,
    transform .3s ease,
    box-shadow .3s ease;
}
.timeline-card[style*="--card-hue:1"] { --panel1: #effbf6; --panel2: #d6f1e8; border-color: #c9e8dc; }
.timeline-card[style*="--card-hue:2"] { --panel1: #fff6ed; --panel2: #f8e4d2; border-color: #eedcc9; }
.timeline-card[style*="--card-hue:3"] { --panel1: #f8f2ff; --panel2: #e9dff8; border-color: #e3d7f0; }
.timeline-card[style*="--card-hue:4"] { --panel1: #fff0f0; --panel2: #f9dfe2; border-color: #efd6da; }
.timeline-card:not(.is-active):hover {
  transform: translateY(-4px);
  box-shadow: 0 11px 26px rgba(27, 53, 92, .14);
  text-decoration: none;
}
.timeline-card.is-active {
  flex-basis: 300px;
  color: white;
  border-color: #164893;
  background:
    radial-gradient(circle at 100% 10%, rgba(73, 210, 190, .36), transparent 45%),
    linear-gradient(140deg, #255fd0, #113d90);
  box-shadow: 0 15px 30px rgba(22, 67, 137, .24);
}
.timeline-card:after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -68px;
  width: 180px;
  height: 180px;
  border: 1px solid currentColor;
  opacity: .12;
  border-radius: 50%;
  pointer-events: none;
}
.timeline-card-category {
  display: block;
  font-size: .66rem;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .14em;
  opacity: .82;
}
.timeline-card-year {
  display: block;
  margin-top: 28px;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1;
  font-weight: 760;
  letter-spacing: -.065em;
}
.timeline-card-title {
  display: block;
  margin-top: auto;
  font-size: .94rem;
  line-height: 1.4;
  font-weight: 730;
}
.timeline-card-teaser {
  display: none;
  margin-top: 11px;
  font-size: .84rem;
  line-height: 1.5;
  opacity: .9;
}
.timeline-card.is-active .timeline-card-teaser { display: block; }
.timeline-card-cue {
  display: block;
  margin-top: 16px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .72;
}
.timeline-card.is-active .timeline-card-cue { opacity: 1; }
.timeline-feature {
  margin-top: 14px;
  border: 1px solid #d5e5f8;
  border-radius: 10px;
  background: linear-gradient(120deg, #f8fbff, #edf6ff 65%, #effbf8);
  overflow: hidden;
}
.timeline-feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 25px;
  padding: 28px 32px;
}
.timeline-feature-panel[hidden] { display: none !important; }
.timeline-feature-eyebrow {
  color: #1c69b9;
  font-size: .72rem;
  line-height: 1.6;
  letter-spacing: .12em;
  font-weight: 800;
  text-transform: uppercase;
}
.timeline-feature-eyebrow span { margin-inline: 5px; color: #9bb2d3; }
.timeline-feature-panel h3 {
  margin-top: 9px;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -.025em;
}
.timeline-feature-panel p { max-width: 68ch; margin: 10px 0; }
.timeline-feature-location { color: #44627f; font-weight: 620; font-size: .91rem; }
.timeline-feature-link { display: inline-block; margin-top: 9px; font-weight: 700; }
.timeline-feature-number {
  color: rgba(31, 89, 169, .10);
  font-size: clamp(4.5rem, 9vw, 8rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.09em;
  user-select: none;
}
.timeline-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 17px;
  color: #60738a;
  font-size: .87rem;
}
.timeline-footer a { font-weight: 700; }
.job[id] { scroll-margin-top: 20px; }
@media (max-width: 770px) {
  .timeline-experience { width: min(100%, calc(100vw - 24px)); padding: 22px 16px; }
  .timeline-heading { align-items: flex-start; flex-direction: column; }
  .timeline-controls { align-self: flex-end; padding-bottom: 0; }
  .timeline-card { flex-basis: 145px; min-height: 283px; }
  .timeline-card.is-active { flex-basis: min(74vw, 290px); }
  .timeline-feature-panel { grid-template-columns: 1fr; padding: 23px 19px; }
  .timeline-feature-number { display: none; }
  .timeline-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .timeline-card { transition: none; }
}
@media print {
  .timeline-experience { display: none !important; }
}


/* Photo-first editorial presentation: images are optional and provided by the site owner.
   Fallbacks use intentional abstract gradients rather than broken stock images. */
.timeline-experience {
  width: min(1420px, calc(100vw - 28px));
  margin-top: 44px;
  padding: clamp(24px, 4.8vw, 58px);
  border: 0;
  border-radius: 0;
  background: #f6f8f8;
  box-shadow: 0 20px 55px rgba(24, 42, 60, .08);
}
.timeline-heading { padding-bottom: 20px; }
.timeline-kicker { color: #007e84; }
.timeline-heading h2 {
  max-width: 780px;
  font-weight: 760;
  font-size: clamp(2.1rem, 4.6vw, 4.1rem);
  line-height: 1.12;
  letter-spacing: -.052em;
}
.timeline-intro { font-size: 1.03rem; max-width: 67ch; }
.timeline-help { font-size: .83rem; }
.timeline-track {
  gap: 8px;
  margin: 4px -8px 0;
  padding: 14px 8px 25px;
  scroll-padding-inline: 14px;
}
.timeline-card {
  isolation: isolate;
  flex: 0 0 186px;
  min-height: 358px;
  padding: 22px 18px 20px;
  border-radius: 2px;
  border: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% -10%, rgba(255,255,255,.64) 0, transparent 52%),
    radial-gradient(ellipse at 0% 110%, rgba(6,105,119,.17) 0, transparent 58%),
    linear-gradient(150deg, var(--panel1), var(--panel2));
  box-shadow: 0 10px 30px rgba(13,32,48,.09);
  transition: flex-basis .5s cubic-bezier(.22,.68,.25,1),
    transform .3s ease, box-shadow .3s ease;
}
.timeline-card:after {
  width: 230px;
  height: 230px;
  border-width: 2px;
  border-radius: 50%;
  right: -92px;
  bottom: -100px;
  opacity: .09;
}
.timeline-card.is-active {
  flex-basis: 345px;
  background:
    radial-gradient(circle at 84% 13%, rgba(15,187,181,.65), transparent 49%),
    linear-gradient(143deg,#163f62,#0b2539 90%);
  box-shadow: 0 18px 42px rgba(16,58,75,.24);
  border: 0;
}
.timeline-card-category,
.timeline-card-year,
.timeline-card-title,
.timeline-card-teaser,
.timeline-card-cue { position: relative; z-index: 2; }
.timeline-card-category { font-size: .64rem; letter-spacing: .13em; font-weight: 800; }
.timeline-card-year {
  margin-top: 37px;
  font-size: clamp(3.25rem, 6vw, 4.4rem);
  font-weight: 780;
}
.timeline-card-title { font-size: 1.04rem; line-height: 1.36; }
.timeline-card-teaser { font-size: .87rem; line-height: 1.5; }
.timeline-card-cue { font-size: .7rem; letter-spacing: .09em; }
.timeline-card-photo {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: transform .85s ease, opacity .5s ease;
}
.timeline-card.has-photo { color: #fff; background: #183c55; }
.timeline-card.has-photo:before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(3,25,38,.37) 0%,
      rgba(3,25,38,.18) 28%,
      rgba(3,25,38,.72) 76%,
      rgba(3,25,38,.88) 100%);
  pointer-events: none;
}
.timeline-card.has-photo:after { content: none; }
.timeline-card.has-photo .timeline-card-photo { opacity: 1; }
.timeline-card.has-photo:hover .timeline-card-photo,
.timeline-card.has-photo.is-active .timeline-card-photo { transform: scale(1); }
.timeline-card.has-photo .timeline-card-category,
.timeline-card.has-photo .timeline-card-cue { opacity: .9; }
.timeline-card.has-photo:focus-visible { outline-color: #007f93; }
.timeline-feature {
  margin-top: 20px;
  border: 0;
  border-radius: 1px;
  background: #fff;
  box-shadow: 0 19px 52px rgba(24,42,60,.10);
}
.timeline-feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  padding: 0;
  min-height: 440px;
  align-items: stretch;
  column-gap: 0;
}
.timeline-feature-visual {
  position: relative;
  display: flex;
  isolation: isolate;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
  padding: clamp(24px,3vw,42px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 8%, rgba(255,255,255,.24), transparent 36%),
    radial-gradient(circle at 95% 100%, rgba(27,193,179,.55), transparent 45%),
    linear-gradient(130deg, #1b5475, #0b2335);
  background-size: cover;
  background-position: center;
}
.timeline-feature-visual:before {
  content:"";
  position:absolute;
  z-index: -1;
  inset:0;
  background:
    repeating-linear-gradient(122deg, rgba(255,255,255,.035) 0 1px, transparent 1px 42px);
}
.timeline-feature-visual:after {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(180deg,
    rgba(4,18,29,.23) 0%, rgba(4,18,29,.04) 25%,
    rgba(4,18,29,.18) 44%, rgba(4,18,29,.83) 100%);
}
.timeline-feature-visual-top {
  letter-spacing: .24em;
  font-weight: 800;
  font-size: .67rem;
  text-transform: uppercase;
  color: rgba(255,255,255,.91);
}
.timeline-feature-visual-bottom { display: flex; flex-direction: column; align-items: flex-start; }
.timeline-feature-visual-year {
  font-size: clamp(5rem,9vw,9rem);
  font-weight: 800;
  letter-spacing: -.095em;
  line-height: .95;
  text-shadow: 0 5px 30px rgba(0,0,0,.14);
}
.timeline-feature-visual-tag {
  margin-top: 19px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .13em;
}
.timeline-feature-visual-range {
  margin-top: 4px;
  font-size: .82rem;
  color: rgba(255,255,255,.85);
}
.timeline-feature-visual:before,
.timeline-feature-visual:after { z-index: 0; pointer-events: none; }
.timeline-feature-visual > * { position: relative; z-index: 1; }
.timeline-feature-photo-credit { position: absolute !important; z-index: 2 !important; }
.timeline-feature-photo-credit {
  position: absolute;
  right: 18px;
  top: 26px;
  font-size: .66rem;
  text-align: right;
  max-width: 60%;
  color: rgba(255,255,255,.88);
}
.timeline-feature-copy {
  padding: clamp(28px,3.8vw,55px);
  align-self: center;
}
.timeline-feature-panel h3 {
  font-size: clamp(1.6rem,2.9vw,2.65rem);
  line-height:1.18;
  margin-top: 12px;
  letter-spacing: -.04em;
}
.timeline-feature-eyebrow { color: #007e84; letter-spacing: .11em; }
.timeline-feature-copy p { line-height: 1.7; }
.timeline-feature-location { color:#486177; font-size:.9rem; }
.timeline-feature-link {
  margin-top: 20px;
  padding-bottom: 4px;
  border-bottom: 2px solid #009fa3;
  color: #0f5a65;
}
.timeline-feature-link:hover { text-decoration: none; color:#006270; }
.timeline-footer { margin-top: 21px; }
@media(max-width: 850px) {
  .timeline-experience { width:calc(100vw - 20px); padding: 24px 17px; }
  .timeline-card { flex-basis: 155px; min-height: 320px; }
  .timeline-card.is-active { flex-basis: min(75vw,300px); }
  .timeline-feature-panel { grid-template-columns: 1fr; }
  .timeline-feature-visual { min-height: 320px; padding: 27px; }
  .timeline-feature-visual-year { font-size: clamp(5.5rem,19vw,8rem); }
  .timeline-feature-copy { padding: 28px 24px 34px; }
}
@media(max-width: 500px) {
  .timeline-heading h2 { font-size: 2rem; }
  .timeline-card { flex-basis: 140px; min-height: 300px; }
  .timeline-card.is-active { flex-basis: min(75vw,272px); }
  .timeline-feature-visual { min-height: 260px; }
  .timeline-card-year { font-size: 3.15rem; }
}
@media(prefers-reduced-motion:reduce) {
  .timeline-card, .timeline-card-photo { transition:none; }
}
@media print {
  .timeline-experience { display:none !important; }
}
