@font-face {
  font-family: Archivo;
  src: url("assets/archivo-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Archivo;
  src: url("assets/archivo-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
:root {
  --navy: #0a1628;
  --gold: #d4a656;
  --white: #f4f5f3;
  --muted: #b8c2cd;
  --ink: #17221f;
  --line: #344050;
  color-scheme: dark;
  font-family: Archivo, Arial, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 24px;
  scrollbar-color: #d4a656 #0a1628;
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  line-height: 1.55;
}
a {
  color: inherit;
  text-underline-offset: 6px;
}
a,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 6px;
}
a:active,
summary:active {
  opacity: 0.75;
}
::selection {
  color: var(--navy);
  background: var(--gold);
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.shell {
  width: calc(100% - 112px);
  max-width: 1680px;
  margin-inline: auto;
}
.skip {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 14px;
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-180%);
}
.skip:focus {
  transform: none;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
}
.signature {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
}
.header nav {
  display: flex;
  gap: 36px;
}
.header nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: 14px;
}
.header nav a:hover {
  text-decoration: underline;
}
.location {
  font-size: 14px;
  color: var(--muted);
}
.hero {
  position: relative;
  padding-top: 36px;
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  font-size: 16px;
}
.hero-top > p:first-child {
  color: var(--gold);
}
.hero-top > p:last-child {
  font-size: 14px;
  color: var(--muted);
  padding-right: 5vw;
}
h1 {
  color: var(--gold);
  font-size: clamp(100px, 17vw, 290px);
  font-weight: 800;
  line-height: 0.81;
  letter-spacing: -0.04em;
  margin-top: 48px;
  margin-bottom: 40px;
}
.first-name {
  display: block;
}
.last-name {
  display: block;
  padding-left: 16.5%;
  margin-top: 8px;
}
.period {
  color: var(--white);
}
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 8px 48px;
  gap: 24px;
}
.hero-foot p {
  font-size: 16px;
  color: var(--muted);
}
.work-link {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 52px;
  text-decoration: none;
}
.work-link svg {
  transform: rotate(90deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-link:hover svg {
  transform: rotate(135deg);
}
.project-index {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px 28px;
  border-top: 1px solid var(--line);
}
.project-index a {
  font-size: 16px;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.project-index a:hover {
  color: var(--gold);
}
.work {
  background: var(--white);
  color: var(--ink);
  padding-block: 96px 120px;
  color-scheme: light;
}
details {
  margin-top: 20px;
  border-top: 1px solid #c7cfca;
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  font-size: 14px;
}
summary::-webkit-details-marker {
  display: none;
}
summary svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
details[open] > summary svg {
  transform: rotate(45deg);
}
summary:hover {
  color: #51674a;
}
.project-notes {
  padding-block: 8px 20px;
}
.project-notes p {
  font-size: 15px;
  line-height: 1.65;
  color: #53605b;
}
.project-notes .contribution {
  color: var(--ink);
  margin-bottom: 24px;
}
.decision-grid {
  display: grid;
  gap: 24px;
}
.decision-grid h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}
.stack {
  margin-top: 24px;
  font-size: 13px !important;
}
.about {
  padding-block: 120px;
}
.about-heading {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 64px;
  align-items: end;
}
.about h2 {
  font-size: clamp(42px, 5.2vw, 80px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.about h2 span {
  color: var(--gold);
}
.about-heading > p {
  font-size: 20px;
  max-width: 35ch;
  color: var(--muted);
}
.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  margin-top: 72px;
}
.biography {
  max-width: 65ch;
  color: var(--muted);
}
.biography p + p {
  margin-top: 24px;
}
.languages {
  font-size: 14px;
}
.experience h3,
.more-code h3 {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 24px;
}
.experience > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
.experience > div > span:last-child {
  font-size: 14px;
  color: var(--muted);
  text-align: right;
}
.experience > p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}
.more-code {
  margin-top: 88px;
  max-width: 800px;
  margin-left: auto;
}
.more-code > a {
  display: grid;
  grid-template-columns: 1fr auto 24px;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.more-code > a > span:first-child {
  font-size: 22px;
}
.more-code > a > span:nth-child(2) {
  font-size: 14px;
  color: var(--muted);
}
.more-code > a:hover {
  color: var(--gold);
}
.more-code > p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}
.contact {
  background: var(--gold);
  color: var(--navy);
  padding-block: 56px 0;
  color-scheme: light;
}
.contact-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  font-size: 16px;
}
.contact-top a {
  min-height: 44px;
}
.contact-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-decoration: none;
  padding-block: 50px 64px;
}
.contact-title h2 {
  font-size: clamp(80px, 13vw, 220px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.contact-title svg {
  width: 10vw;
  height: 10vw;
  max-width: 150px;
  max-height: 150px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-title:hover svg {
  transform: translate(8px, -8px);
}
footer {
  border-top: 1px solid #8b6e3b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 24px;
  font-size: 14px;
}
footer > div {
  display: flex;
  gap: 32px;
}
footer a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
@keyframes signature-arrive {
  from {
    clip-path: inset(0 0 15% 0);
    transform: translateY(14px);
  }
  to {
    clip-path: inset(0);
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  h1 {
    animation: signature-arrive 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}
@media (min-width: 1900px) {
  h1 {
    font-size: 290px;
  }
}
@media (max-width: 1100px) {
  .shell {
    width: calc(100% - 64px);
  }
  .header .location {
    display: none;
  }
  .hero-top > p:last-child {
    padding-right: 0;
  }
  .about-heading {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-heading > p {
    max-width: 50ch;
  }
  .about-body {
    gap: 56px;
  }
}
@media (max-width: 700px) {
  .shell {
    width: calc(100% - 40px);
  }
  .header {
    min-height: 88px;
    gap: 16px;
  }
  .header nav {
    gap: 20px;
  }
  .header nav a {
    font-size: 13px;
  }
  .hero {
    padding-top: 24px;
  }
  .hero-top {
    gap: 24px;
  }
  .hero-top > p {
    font-size: 14px;
  }
  .hero-top > p:last-child {
    font-size: 12px;
  }
  h1 {
    font-size: 19.5vw;
    line-height: 0.87;
    margin-top: 48px;
    margin-bottom: 40px;
  }
  .last-name {
    padding-left: 0;
    margin-top: 16px;
    letter-spacing: -0.04em;
  }
  .first-name {
    font-size: 1.48em;
  }
  .hero-foot {
    flex-direction: column-reverse;
    align-items: start;
    padding-bottom: 32px;
    gap: 24px;
  }
  .hero-foot p {
    font-size: 15px;
    max-width: 34ch;
  }
  .work-link {
    font-size: 14px;
    gap: 24px;
  }
  .project-index {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 24px;
    padding-block: 16px 24px;
  }
  .project-index a {
    font-size: 14px;
  }
  .work {
    padding-block: 64px;
  }
  .about {
    padding-block: 64px;
  }
  .about h2 {
    font-size: 42px;
  }
  .about-heading > p {
    font-size: 18px;
  }
  .about-body {
    grid-template-columns: 1fr;
    margin-top: 40px;
    gap: 44px;
  }
  .experience > div {
    gap: 18px;
  }
  .experience > div > span:first-child {
    font-size: 15px;
  }
  .experience > div > span:last-child {
    font-size: 12px;
  }
  .more-code {
    margin-top: 52px;
  }
  .more-code > a {
    gap: 16px;
    grid-template-columns: 1fr 20px;
    padding-block: 16px;
  }
  .more-code > a > span:first-child {
    font-size: 20px;
  }
  .more-code > a > span:nth-child(2) {
    grid-row: 2;
    font-size: 13px;
  }
  .more-code > a > svg {
    grid-column: 2;
    grid-row: 1/3;
    width: 20px;
  }
  .contact {
    padding-top: 36px;
  }
  .contact-top {
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
  }
  .contact-title {
    padding-block: 24px 40px;
    gap: 16px;
  }
  .contact-title h2 {
    font-size: 17vw;
  }
  .contact-title svg {
    width: 12vw;
    height: 12vw;
  }
  footer {
    flex-direction: column;
    align-items: start;
    gap: 12px;
    font-size: 13px;
  }
  footer > div {
    gap: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-title:hover svg {
    transform: none;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
