:root {
  --paper: #f6f4ec;
  --ink: #22251f;
  --blue: #2647dd;
  --muted: #66695f;
  --rule: #d7d8cc;
  --tint: #edeef2;
  --mono: "Courier New", monospace;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 6px;
}
::selection {
  background: #dce2ff;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.03;
}
h1 {
  font-size: clamp(70px, 7.6vw, 108px);
}
h2 {
  font-size: clamp(38px, 4.3vw, 58px);
}
h3 {
  font-weight: 500;
  line-height: 1.2;
}
em {
  font-family: var(--serif);
  font-weight: 400;
}
h1 em {
  color: var(--blue);
}
.wrap {
  width: min(1180px, calc(100% - 96px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  border-bottom: 1px solid var(--rule);
  gap: 24px;
}
.wordmark {
  font-size: 37px;
  font-weight: bold;
  letter-spacing: -4px;
  line-height: 1;
}
.logo-dot {
  color: var(--blue);
}
nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
}
nav a {
  padding: 10px 0;
}
.resume-link {
  border: 1px solid var(--ink);
  padding: 8px 17px;
  font-size: 13px;
  display: flex;
  gap: 25px;
}
.hero {
  padding-top: 83px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}
.eyebrow {
  font: 11px/1.6 var(--mono);
  letter-spacing: 0.06em;
}
.hero .eyebrow {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.status-dot {
  height: 7px;
  width: 7px;
  background: var(--blue);
  border-radius: 50%;
  display: inline-block;
}
.divider {
  color: #9b9f94;
  margin: 0 5px;
}
.intro {
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: -0.025em;
  margin: 28px 0 16px;
}
.hero-description {
  max-width: 440px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  gap: 35px;
  align-items: center;
  background: var(--blue);
  color: white;
  padding: 14px 20px;
  font-size: 13px;
}
.button:hover {
  background: #1934b1;
  text-decoration: none;
}
.text-link {
  font-size: 13px;
  display: flex;
  gap: 17px;
}
.signal-art {
  align-self: center;
  margin-left: 35px;
  margin-top: 4px;
}
.art-label,
.art-caption {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: 0.05em;
}
.art-label {
  border-top: 1px solid var(--rule);
  padding-top: 13px;
}
.signal-art svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 18px;
}
.signal-art svg text {
  fill: var(--muted);
  font: 9px var(--mono);
  letter-spacing: 0.06em;
}
.circuit {
  stroke: var(--blue);
  stroke-width: 2;
}
.signal-pulse {
  animation: pulse 3s ease-in-out infinite;
  transform-origin: 421px 337px;
}
.art-caption {
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding-top: 5px;
  font-size: 9px;
  letter-spacing: 0;
}
.tiny-cross {
  font-size: 25px;
  color: var(--blue);
}
@keyframes pulse {
  50% {
    opacity: 0.35;
    transform: scale(0.7);
  }
}
.hero-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  margin-top: 39px;
  padding: 22px 0;
  font: 10px var(--mono);
  letter-spacing: 0.04em;
  color: var(--muted);
}
.hero-bottom > span:first-child {
  color: var(--ink);
}
.hero-bottom > span:first-child span {
  color: var(--blue);
  margin-left: 12px;
}
.section {
  padding-block: 95px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 58px;
}
.section-heading .eyebrow {
  color: var(--blue);
  margin-bottom: 20px;
}
.section-heading > p {
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 4px;
}
.timeline {
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}
.job {
  display: grid;
  grid-template-columns: 33% 1fr;
  gap: 35px;
  padding: 0 0 42px 36px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--rule);
}
.job:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
.job-meta {
  position: relative;
}
.timeline-dot {
  position: absolute;
  left: -35px;
  top: 7px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--blue);
  background: var(--paper);
  border-radius: 50%;
}
.job:first-child .timeline-dot {
  background: var(--blue);
  box-shadow: 0 0 0 5px var(--paper);
}
.date {
  font: 11px/1.8 var(--mono);
  color: var(--muted);
}
.job-meta h3 {
  font-size: 29px;
  letter-spacing: -0.035em;
  margin-top: 13px;
}
.location {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.role {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 13px;
}
.job-content > p:not(.role, .tags) {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 15px;
}
.metrics {
  display: flex;
  gap: 52px;
  margin: 24px 0;
}
.metrics strong {
  display: block;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.045em;
  color: var(--blue);
  line-height: 1.2;
}
.metrics span {
  font-size: 11px;
  color: var(--muted);
}
ul {
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
  margin: 20px 0;
}
li {
  padding-left: 5px;
  margin: 7px 0;
}
li::marker {
  color: var(--blue);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 23px;
}
.tags span {
  font: 10px var(--mono);
  padding: 6px 9px;
  border: 1px solid var(--rule);
  border-radius: 3px;
}
.projects {
  background: #eeeee6;
  border-block: 1px solid var(--rule);
}
.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-bottom: 60px;
  margin-bottom: 60px;
  border-bottom: 1px solid #d0d2c7;
}
.project:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
.project-story > .eyebrow {
  color: var(--muted);
  font-size: 10px;
}
.project h3 {
  font-size: 38px;
  letter-spacing: -0.05em;
  margin: 19px 0 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.project-symbol {
  font-size: 28px;
  color: var(--blue);
}
.project-subtitle {
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  margin-bottom: 21px;
}
.project-story > p:not(.eyebrow, .project-subtitle, .tags, .project-date) {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}
.project-date {
  font: 10px var(--mono);
  margin-top: 26px;
  color: var(--muted);
}
.system {
  background: var(--paper);
  padding: 24px 26px;
  align-self: start;
  border: 1px solid var(--rule);
  border-radius: 3px;
}
.system-header {
  display: flex;
  justify-content: space-between;
  font: 9px var(--mono);
  color: var(--muted);
  padding-bottom: 25px;
  gap: 10px;
}
.stages {
  position: relative;
}
.stages:before {
  content: "";
  width: 1px;
  background: #b9c2ee;
  position: absolute;
  left: 17px;
  top: 25px;
  bottom: 30px;
}
.stages details {
  position: relative;
  margin-bottom: 10px;
}
.stages summary {
  display: flex;
  gap: 15px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  min-height: 64px;
  padding: 10px 9px 10px 0;
  font-size: 14px;
}
.stages summary::-webkit-details-marker {
  display: none;
}
.stage-number {
  border: 1px solid #bec5e4;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--paper);
  font: 10px var(--mono);
  color: var(--blue);
  flex-shrink: 0;
}
.stage-caption {
  display: block;
  font: 8px var(--mono);
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: 5px;
}
.expand {
  margin-left: auto;
  font-size: 20px;
  color: var(--blue);
}
details[open] .expand {
  transform: rotate(45deg);
}
details[open] .stage-number {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}
.stages details > p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  padding: 0 12px 15px 50px;
}
.map-note {
  font: 8px/1.8 var(--mono);
  color: var(--muted);
  margin-top: 23px;
  padding-top: 17px;
  border-top: 1px solid var(--rule);
  letter-spacing: 0.035em;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 110px;
}
.education-mark {
  display: flex;
  justify-content: space-between;
  font-family: var(--serif);
  font-size: 47px;
  line-height: 1;
  margin-bottom: 28px;
}
.education-mark span {
  color: var(--blue);
  font-family: Arial;
  font-size: 32px;
}
.education h3 {
  font-size: 25px;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.education > p {
  font-size: 14px;
}
.education .date {
  font-size: 10px;
  margin-top: 9px;
}
.education .honours {
  border-left: 2px solid var(--blue);
  padding-left: 14px;
  margin: 25px 0;
  font-size: 13px;
}
.education > p:last-child {
  color: var(--muted);
  max-width: 335px;
  font-size: 13px;
}
.skill-groups > div {
  position: relative;
  border-top: 1px solid var(--rule);
  padding: 22px 0 24px 40px;
}
.skill-index {
  position: absolute;
  left: 0;
  top: 22px;
  font: 11px var(--mono);
  color: var(--blue);
}
.skill-groups h3 {
  font-size: 16px;
  margin-bottom: 12px;
}
.skill-groups p {
  font-size: 13px;
}
.skill-groups .muted {
  font-size: 12px;
  margin-top: 6px;
  color: var(--muted);
}
.contact {
  background: var(--blue);
  color: var(--paper);
  padding: 75px 0 55px;
}
.contact > .wrap > .eyebrow {
  color: #d6dcff;
  margin-bottom: 24px;
}
.contact h2 {
  font-size: clamp(45px, 5.5vw, 73px);
}
.contact-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
}
.email {
  font-size: 21px;
  letter-spacing: -0.03em;
  border-bottom: 1px solid #9baaf9;
  padding-bottom: 9px;
  overflow-wrap: anywhere;
}
.email span {
  margin-left: 40px;
}
.contact-bottom p {
  font-size: 12px;
  color: #e1e5ff;
}
.contact-links {
  display: flex;
  gap: 30px;
  margin-top: 34px;
  font-size: 12px;
}
.contact a:focus-visible {
  outline-color: white;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 29px;
  font: 9px/1.7 var(--mono);
  color: var(--muted);
}
.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  background: var(--paper);
  padding: 10px;
  z-index: 5;
  transform: translateY(-150%);
}
.skip:focus {
  transform: translateY(0);
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 110px;
    padding-bottom: 20px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    grid-template-columns: 1.25fr 1fr;
  }
  .hero .eyebrow {
    font-size: 9px;
    flex-wrap: wrap;
  }
  .signal-art {
    margin-left: 0;
  }
  .intro {
    font-size: 18px;
  }
  .hero-description {
    font-size: 13px;
  }
  .project {
    gap: 35px;
  }
  .about-grid {
    gap: 50px;
  }
  .system {
    padding: 18px;
  }
  .system-header {
    font-size: 8px;
  }
  .section-heading > p {
    max-width: 235px;
  }
  .hero-bottom {
    font-size: 8px;
  }
  .email {
    font-size: 18px;
  }
  .email span {
    margin-left: 10px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: auto;
    min-height: 100px;
    flex-wrap: wrap;
    padding: 19px 0 14px;
    gap: 15px;
  }
  .wordmark {
    font-size: 33px;
  }
  .resume-link {
    margin-left: auto;
    font-size: 12px;
    padding: 5px 12px;
  }
  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 15px;
    font-size: 12px;
  }
  nav a {
    padding: 4px 0;
  }
  .hero {
    display: block;
    padding-top: 47px;
  }
  .hero .eyebrow {
    font-size: 9px;
    gap: 5px;
    margin-bottom: 22px;
  }
  .divider {
    margin-inline: 3px;
  }
  h1 {
    font-size: clamp(65px, 12vw, 85px);
  }
  .intro {
    font-size: 19px;
    margin-top: 22px;
  }
  .hero-description {
    font-size: 13px;
    max-width: 440px;
  }
  .hero-actions {
    gap: 24px;
    margin-top: 25px;
  }
  .button {
    gap: 22px;
    font-size: 12px;
  }
  .text-link {
    font-size: 12px;
    gap: 10px;
  }
  .signal-art {
    margin: 42px auto 0;
    max-width: 430px;
  }
  .signal-art svg {
    max-height: 280px;
  }
  .hero-bottom {
    margin-top: 24px;
    gap: 20px;
    font-size: 8px;
  }
  .hero-bottom > span:nth-child(2) {
    display: none;
  }
  .section {
    padding-block: 62px;
  }
  .section-heading {
    display: block;
    margin-bottom: 35px;
  }
  .section-heading .eyebrow {
    margin-bottom: 17px;
  }
  .section-heading > p {
    margin-top: 20px;
    max-width: none;
    font-size: 12px;
  }
  h2 {
    font-size: 39px;
  }
  .job {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 29px;
    margin-bottom: 30px;
    padding-bottom: 30px;
  }
  .timeline-dot {
    left: -28px;
  }
  .job-meta h3 {
    font-size: 26px;
    margin-top: 7px;
  }
  .location {
    margin-top: 4px;
  }
  .date {
    font-size: 10px;
  }
  .role {
    font-size: 16px;
  }
  .metrics {
    gap: 30px;
  }
  .metrics strong {
    font-size: 34px;
  }
  .metrics span {
    font-size: 10px;
    display: block;
    max-width: 130px;
  }
  .job-content > p:not(.role, .tags) {
    font-size: 13px;
  }
  .project {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 40px;
    margin-bottom: 40px;
  }
  .project h3 {
    font-size: 34px;
  }
  .project-story > p:not(.eyebrow, .project-subtitle, .tags, .project-date) {
    font-size: 13px;
  }
  .system {
    padding: 22px;
  }
  .system-header {
    font-size: 9px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .education-mark {
    margin-bottom: 18px;
  }
  .education > p:last-child {
    max-width: none;
  }
  .contact {
    padding: 55px 0 40px;
  }
  .contact h2 {
    font-size: 45px;
  }
  .contact-bottom {
    display: block;
    margin-top: 30px;
  }
  .email {
    display: inline-block;
    font-size: 17px;
  }
  .email span {
    margin-left: 5px;
  }
  .contact-bottom p {
    margin-top: 20px;
  }
  .contact-links {
    gap: 23px;
    flex-wrap: wrap;
    font-size: 11px;
  }
  footer {
    flex-wrap: wrap;
    font-size: 8px;
    gap: 15px;
  }
  footer > span:nth-child(2) {
    order: 3;
    flex-basis: 100%;
  }
  .desktop-break {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  nav,
  .hero-actions,
  .signal-art,
  .hero-bottom,
  .contact-links,
  footer {
    display: none;
  }
  .wrap {
    width: 100%;
  }
  .section {
    padding: 25px 0;
  }
  .project,
  .job {
    break-inside: avoid;
  }
  .contact {
    background: white;
    color: black;
  }
  .stages details > p {
    display: block;
  }
  .hero {
    display: block;
  }
}
