/* The About page shares the home page's Europa type, surfaces, and black gutters. */
.journeyIntro,
.careerMap,
.projectSection,
.experienceSection,
.nextChapter {
  --trail-ink: #161616;
  --trail-muted: #535353;
  --trail-line: #b5432b;
}
.darkTheme .journeyIntro,
.darkTheme .careerMap,
.darkTheme .projectSection,
.darkTheme .experienceSection,
.darkTheme .nextChapter {
  --trail-ink: #fff;
  --trail-muted: #c8cacc;
  --trail-line: #e9755e;
}
#topNav .siteName a {
  color: inherit;
  background: none;
  text-decoration: none;
}
.lightTheme #topNav ul > li > a[aria-current="page"],
.darkTheme #topNav ul > li > a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 8px;
}
.eyebrow {
  font-family: "turkey-bold", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  line-height: 1.6;
  text-transform: uppercase;
}
.containerInner.journeyIntro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 64px clamp(24px, 5vw, 80px);
}
.journeyIntro h1 {
  font-family: "turkey-bold", sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 5.6rem);
  letter-spacing: -0.045em;
  line-height: 1.06;
  margin: 22px 0 28px;
}
.journeyIntro h1 em {
  font-family: "turkey-italic", sans-serif;
  font-weight: normal;
  color: var(--trail-line);
}
.introCopy {
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  line-height: 1.6;
}
.chapterNav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 32px;
}
.chapterNav a {
  color: inherit;
  font-size: 0.95rem;
  text-underline-offset: 6px;
  padding: 8px 0;
}
.chapterNav a:first-child {
  font-family: "turkey-bold", sans-serif;
}
.introDrawing {
  max-width: 430px;
  width: 100%;
  justify-self: center;
}
.introDrawing svg {
  width: 100%;
  display: block;
}
.introDrawing p {
  text-align: right;
  font:
    1.45rem "turkey-italic",
    sans-serif;
  transform: rotate(-8deg);
  margin-right: 25px;
}
.containerInner.careerMap {
  padding: 64px clamp(24px, 5vw, 80px) 48px;
}
.mapHeading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 24px;
}
.mapHeading h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  margin: 14px 0;
  line-height: 1.15;
}
.mapHeading > p:last-child {
  font-size: 1rem;
  color: var(--trail-muted);
}
.trailCanvas {
  --trail-axis: 50%;
  --trail-sway: 44px;
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
}
/* A continuous, readable fallback before JS runs and when it is disabled. */
.trailCanvas::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0 auto 0 var(--trail-axis);
  border-left: 3px dotted #c79f94;
  opacity: 0.5;
}
.trailCanvas.is-ready::before {
  display: none;
}
.careerTrail {
  padding: 0;
  margin: 0 auto;
  max-width: 1240px;
  list-style: none;
}
.trailStop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px minmax(0, 1fr);
  align-items: center;
  min-height: max(450px, var(--trail-room, 0px));
}
.trailCopy {
  grid-column: 1;
  grid-row: 1;
  padding: 42px 0;
  position: relative;
  z-index: 1;
}
.trailCopy .eyebrow {
  color: var(--trail-line);
  margin-bottom: 14px;
}
.trailCopy h3 {
  font:
    2.5rem/1.12 "turkey-bold",
    sans-serif;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
}
.trailCopy > p:not(.eyebrow):not(.trailSource) {
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 470px;
}
.trailCopy cite {
  font-style: normal;
}
.trailSource {
  font-size: 0.8rem;
  line-height: 1.65;
  margin-top: 10px;
}
.trailSource a {
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.trailPin {
  grid-column: 2;
  grid-row: 1;
  z-index: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--trail-ink);
  border-radius: 50%;
  background: var(--trail-ink);
  color: var(--trail-surface);
  font:
    0.95rem "turkey-bold",
    sans-serif;
}
.trailIllustration {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  place-items: center;
}
.trailArt {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 280 / 240;
  transform: rotate(3deg);
}
.trailStop:nth-child(even) .trailArt {
  transform: rotate(-3deg);
}
.trailStop:nth-child(even) .trailCopy {
  grid-column: 3;
}
.trailStop:nth-child(even) .trailIllustration {
  grid-column: 1;
}
.trailRoute {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.trailRoute path {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1 11;
}
.trailRoute-base {
  stroke: #c79f94;
  opacity: 0.45;
}
.trailRoute-progress {
  stroke: var(--trail-line);
}
.trailRoute-head {
  fill: var(--trail-line);
}
.trailCanvas.is-ready .trailPin {
  background: var(--trail-surface);
  border-color: var(--trail-ink);
  color: var(--trail-ink);
  transition:
    background-color 180ms linear,
    border-color 180ms linear,
    color 180ms linear,
    box-shadow 180ms linear;
}
.trailCanvas.is-ready .trailStop.is-reached .trailPin {
  background: var(--trail-ink);
  color: var(--trail-surface);
  border-color: var(--trail-ink);
}
.trailCanvas.is-ready .trailStop.is-current .trailPin {
  box-shadow:
    0 0 0 5px var(--trail-surface),
    0 0 0 7px var(--trail-ink);
}
.trailCanvas {
  --trail-surface: #fff;
}
.darkTheme .trailCanvas {
  --trail-surface: #131516;
}
.timelineLegend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
  padding: 0;
  margin: 24px 0 14px;
  font-size: 0.9rem;
}
.timelineLegend li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.careerMap [data-type="education"] {
  --marker-color: #a9c6f0;
}
.careerMap [data-type="job"] {
  --marker-color: #e9755e;
}
.careerMap [data-type="project"] {
  --marker-color: #b6d4b2;
}
.workMarker {
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  border: 1.5px solid #161616;
  border-radius: 50%;
  background: var(--marker-color);
  color: #161616;
  vertical-align: middle;
  flex-shrink: 0;
}
.workMarker svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.workStops {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.workStop summary {
  cursor: pointer;
  padding: 12px;
}
.workStops.is-positioned {
  position: absolute;
  inset: 0;
  margin: 0;
  pointer-events: none;
}
.workStops.is-positioned > li {
  position: absolute;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.workStops.is-positioned > li:has([open]),
.workStops.is-positioned > li:focus-within {
  z-index: 5;
}
.workStops.is-positioned summary {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  list-style: none;
  pointer-events: auto;
}
.workStops.is-positioned summary::-webkit-details-marker {
  display: none;
}
.workStops.is-positioned .workMarker {
  box-shadow: 0 0 0 4px var(--trail-surface);
}
.workStops.is-positioned .is-reached .workMarker {
  box-shadow:
    0 0 0 3px var(--trail-surface),
    0 0 0 4px var(--trail-line);
}
.workStops.is-positioned summary:hover .workMarker,
.workStops.is-positioned summary:focus-visible .workMarker,
.workStops.is-positioned [open] .workMarker {
  box-shadow:
    0 0 0 4px var(--trail-surface),
    0 0 0 6px var(--trail-line);
}
.workStops.is-positioned .workStop-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.workCard {
  box-sizing: border-box;
  position: relative;
  padding: 24px;
  background: var(--trail-surface);
  color: var(--trail-ink);
  border: 2px solid var(--trail-ink);
  border-radius: 6px;
  box-shadow: 6px 6px 0 var(--marker-color);
  text-align: left;
}
.workStops.is-positioned .workCard {
  position: absolute;
  left: var(--work-card-offset);
  top: 42px;
  width: var(--work-card-width);
  pointer-events: auto;
}
.workCard h3 {
  font:
    1.35rem/1.2 "turkey-bold",
    sans-serif;
  margin: 0 25px 10px 0;
}
.workCard p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 14px;
}
.workCard .workDates {
  font-size: 0.85rem;
  color: var(--trail-muted);
}
.workCard .workType {
  font:
    0.7rem/1.4 "turkey-bold",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--trail-line);
  margin-right: 24px;
}
.workCard a {
  color: inherit;
  font-size: 0.85rem;
  text-underline-offset: 4px;
}
.workCard h3 a {
  font: inherit;
  text-decoration-thickness: 1px;
}
/* Inline links in card copy match the surrounding sentence. */
.workCard p a {
  font-size: inherit;
}
.workCard h3 a:hover {
  text-decoration-thickness: 2px;
}
.workClose {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: 1.75rem/1 sans-serif;
  cursor: pointer;
}
.workClose:hover {
  background: var(--marker-color);
  color: #161616;
}
.trailEnd {
  text-align: center;
  font:
    1.6rem "turkey-italic",
    sans-serif;
  padding-top: 26px;
}
.trailEnd span {
  color: var(--trail-line);
}
.containerInner.projectSection {
  background: #a9c6f0;
  color: #161616;
  padding: 64px clamp(24px, 5vw, 80px);
}
.darkTheme .containerInner.projectSection {
  background: #245173;
  color: #fff;
}
.sectionHeading {
  max-width: 720px;
  margin-bottom: 36px;
}
.sectionHeading h2 {
  margin: 14px 0 20px;
  font-size: clamp(2rem, 3.7vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.sectionHeading > p:last-child {
  font-size: 1.1rem;
  line-height: 1.65;
}
.projectTimeline {
  padding: 0;
  margin: 0;
  list-style: none;
}
.projectTimeline > li {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) 2fr;
  gap: 24px;
  border-top: 1px solid currentColor;
  padding: 24px 0;
}
.projectDate {
  font-size: 1.15rem;
  font-family: "turkey-bold", sans-serif;
}
.projectDate span {
  display: block;
  font:
    0.8rem/1.5 "turkey-regular",
    sans-serif;
  margin-top: 6px;
}
.projectTimeline h3,
.projectGrid h3 {
  font:
    1.4rem/1.3 "turkey-bold",
    sans-serif;
  margin: 0 0 8px;
}
.projectTimeline h3 a,
.projectGrid h3 a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.projectTimeline p {
  font-size: 1rem;
  line-height: 1.5;
}
.projectTimeline .trailSource {
  font-size: 0.8rem;
}
.projectSection p > a {
  background: none;
  color: inherit;
}
.moreProjects {
  border-top: 2px solid currentColor;
  margin-top: 24px;
  padding-top: 24px;
}
.moreProjects summary {
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px 0;
}
.moreProjects summary span {
  font-size: 0.85rem;
  margin-left: 12px;
}
.moreProjects > p {
  font-size: 1rem;
  margin-top: 18px;
  max-width: 650px;
}
.projectGrid {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.projectGrid li {
  border-top: 1px solid currentColor;
  padding-top: 16px;
}
.projectGrid p {
  font-size: 0.95rem;
  line-height: 1.5;
}
.undated {
  display: block;
  font-size: 0.75rem;
  margin-top: 12px;
}
.containerInner.experienceSection {
  padding: 64px clamp(24px, 5vw, 80px);
}
.roleTable {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  line-height: 1.5;
}
.roleTable caption {
  text-align: left;
  font-size: 0.8rem;
  margin-bottom: 12px;
  color: var(--trail-muted);
}
.roleTable th,
.roleTable td {
  padding: 18px 18px 18px 0;
  border-bottom: 1px solid var(--trail-muted);
  vertical-align: top;
}
.roleTable td:first-child {
  width: 25%;
}
.roleTable th {
  font-family: "turkey-bold", sans-serif;
  font-weight: normal;
}
.roleTable a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.roleTable thead {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sourceNote {
  font-size: 0.85rem;
  margin-top: 24px;
  line-height: 1.7;
}
.learningNote {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 2px solid currentColor;
  max-width: 800px;
}
.learningNote h3 {
  font:
    1.5rem "turkey-bold",
    sans-serif;
  margin: 0 0 12px;
}
.learningNote p {
  font-size: 1rem;
  line-height: 1.7;
}
.containerInner.nextChapter {
  background: #e9755e;
  color: #161616;
  text-align: center;
  padding: 64px 24px;
}
.nextChapter h2 {
  margin: 16px 0;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
}
.nextChapter p:not(.eyebrow) {
  font-size: 1.1rem;
}
.nextChapter > a {
  display: inline-block;
  color: #161616;
  font-size: 1.3rem;
  margin-top: 22px;
  padding: 10px 0;
  text-underline-offset: 6px;
}
.darkTheme .nextChapter :focus-visible,
.darkTheme .trailPin:focus-visible {
  outline-color: #161616;
}
@media (min-width: 1600px) {
  .journeyIntro > div:first-child {
    justify-self: center;
  }
  .sectionHeading,
  .projectTimeline,
  .moreProjects,
  .roleTableWrap,
  .sourceNote,
  .learningNote {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 1000px) {
  .trailStop {
    grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr);
  }
  .trailCanvas {
    --trail-sway: 24px;
  }
  .trailCopy h3 {
    font-size: 2rem;
  }
  .projectGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .containerInner.journeyIntro {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 24px;
  }
  .introDrawing {
    max-width: 260px;
  }
  .introDrawing p {
    font-size: 1.1rem;
  }
  .journeyIntro h1 {
    font-size: clamp(2.5rem, 9vw, 3.6rem);
  }
  .chapterNav {
    gap: 8px 18px;
  }
  .chapterNav a {
    font-size: 0.85rem;
  }
  .containerInner.careerMap {
    padding: 40px 20px;
  }
  .mapHeading {
    text-align: left;
    margin-bottom: 32px;
  }
  .timelineLegend {
    justify-content: flex-start;
    gap: 10px 18px;
  }
  .trailStop {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: var(--trail-room, 0px);
    column-gap: 16px;
    align-items: start;
    padding: 0 0 32px;
  }
  .trailStop .trailCopy,
  .trailStop:nth-child(even) .trailCopy {
    grid-column: 2;
    grid-row: 2;
    padding: 0 0 20px;
  }
  .trailStop .trailIllustration,
  .trailStop:nth-child(even) .trailIllustration {
    grid-column: 2;
    grid-row: 1;
    justify-items: start;
  }
  .trailArt {
    width: 170px;
  }
  .trailPin {
    grid-column: 1;
    grid-row: 1;
    margin-top: 54px;
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
  }
  .trailCanvas {
    --trail-axis: 19px;
    --trail-sway: 11px;
  }
  .trailCopy h3 {
    font-size: 2rem;
  }
  .trailCopy > p:not(.eyebrow):not(.trailSource) {
    font-size: 1rem;
  }
  .trailEnd {
    font-size: 1.2rem;
  }
  .projectTimeline > li {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .projectDate {
    font-size: 1rem;
  }
  .projectDate span {
    display: inline;
    margin-left: 10px;
  }
  .projectGrid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .moreProjects summary {
    font-size: 1.2rem;
  }
  .roleTable {
    font-size: 0.85rem;
  }
  .roleTable th,
  .roleTable td {
    padding: 14px 10px 14px 0;
  }
  .roleTable th:last-child,
  .roleTable td:last-child {
    padding-right: 0;
  }
}
@media (forced-colors: active) {
  .trailRoute-base {
    stroke: GrayText;
  }
  .trailRoute-progress {
    stroke: Highlight;
  }
  .trailRoute-head {
    fill: Highlight;
  }
  .trailCanvas.is-ready .trailStop.is-current .trailPin {
    outline: 2px solid Highlight;
    outline-offset: 4px;
  }
  .trailPin {
    border-color: CanvasText;
  }
}
@media (max-width: 700px) {
  .lightTheme .containerMiddle,
  .darkTheme .containerMiddle {
    padding: 8px 16px;
  }
  .lightTheme .containerTop,
  .darkTheme .containerTop {
    padding: 16px 16px 8px;
  }
  .lightTheme .containerBottom,
  .darkTheme .containerBottom {
    padding: 8px 16px 16px;
  }
  .containerInner.experienceSection {
    padding: 40px 20px;
  }
  .roleTable,
  .roleTable tbody {
    display: block;
  }
  .roleTable thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .roleTable tr {
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 1px solid var(--trail-muted);
    padding: 18px 0;
    gap: 6px;
  }
  .roleTable th,
  .roleTable td {
    display: block;
    padding: 0;
    border: 0;
    font-size: 1rem;
  }
  .roleTable td:first-child {
    width: auto;
    font-size: 0.8rem;
    color: var(--trail-muted);
  }
  .roleTable th {
    font-size: 1.2rem;
  }
}
