@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/dm-serif-display-latin.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --cream: #f2ede3;
  --green: #2f463b;
  --walnut: #443227;
  --brass: #7b6541;
  --muted: #6c6356;
  --rule: #c9c0b1;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  font-family: var(--sans);
  color: var(--walnut);
  background: var(--cream);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 5px;
}
a:hover {
  text-decoration: underline;
}
button {
  font: inherit;
  color: inherit;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 6px;
}
button[hidden] {
  display: none;
}
::selection {
  background: #d8ddca;
  color: var(--green);
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1,
h2,
h3:not(.skill-groups h3),
.wordmark {
  font-family: var(--serif);
}
.page-shell {
  width: min(1320px, 88%);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: 10px;
  left: 6%;
  transform: translateY(-180%);
  background: var(--green);
  color: var(--cream);
  padding: 10px 20px;
  z-index: 10;
}
.skip-link:focus {
  transform: none;
}
.site-header {
  min-height: 100px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-size: 28px;
  letter-spacing: -0.035em;
  line-height: 1.2;
  white-space: nowrap;
}
.wordmark-dot {
  color: var(--brass);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 14px;
}
.site-header nav a {
  padding-block: 12px;
}
.site-header nav a span {
  margin-left: 6px;
}
.hero {
  display: grid;
  grid-template-columns: 1.16fr 1fr;
  position: relative;
  padding-top: 74px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding-bottom: 60px;
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--brass);
  line-height: 1.6;
}
.hero h1 {
  color: var(--green);
  font-size: clamp(62px, 7.3vw, 110px);
  line-height: 1.045;
  letter-spacing: -0.045em;
  margin-top: 22px;
  margin-right: -90px;
}
.heading-period {
  color: var(--green);
}
.hero-description {
  font-size: 19px;
  line-height: 1.6;
  margin-top: 27px;
  letter-spacing: -0.02em;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 13px 22px;
  min-height: 50px;
  border: 1px solid var(--green);
  font-size: 14px;
  border-radius: 1px;
  transition:
    background-color 0.18s,
    color 0.18s;
}
.button-primary {
  background: var(--green);
  color: #f8f5ef;
}
.button-primary:hover {
  background: #203c2d;
  text-decoration: none;
}
.text-link {
  font-size: 14px;
  border-bottom: 1px solid var(--walnut);
  padding-block: 7px;
  display: inline-flex;
  gap: 21px;
}
.text-link:hover {
  border-color: transparent;
  text-decoration: none;
}
.hero-art {
  position: relative;
  align-self: stretch;
  min-height: 458px;
  margin-top: -22px;
  margin-left: 0;
  margin-right: -35px;
}
.monogram-scene {
  position: absolute;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
}
.monogram-still {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: opacity 0.3s;
}
.monogram-scene canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.35s;
}
.monogram-scene.scene-ready canvas {
  opacity: 1;
}
.monogram-scene.scene-ready .monogram-still {
  opacity: 0;
}
.motion-toggle {
  position: absolute;
  right: 30px;
  bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #b6ad9d;
  background: #f2ede3e8;
  padding: 7px 12px;
  border-radius: 2px;
  font-size: 11px;
  cursor: pointer;
  z-index: 2;
  line-height: 1.5;
}
.motion-toggle:hover {
  background: #e5dfd2;
}
.motion-mark {
  font-size: 13px;
  line-height: 1;
}
.hero-footnote {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  padding-block: 28px 26px;
  margin-top: 12px;
  border-bottom: 1px solid var(--rule);
  letter-spacing: 0.02em;
}
.hero-footnote a span {
  margin-left: 12px;
}
.section-space {
  padding-block: 80px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 37px;
}
.section-index {
  margin-bottom: 14px;
}
h2 {
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--green);
}
.section-aside {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  padding-bottom: 4px;
}
.project {
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 28px;
}
.project-featured {
  grid-template-columns: 24px 1fr 0.7fr;
  align-items: center;
  padding-block: 36px;
}
.project-number {
  align-self: start;
  color: var(--brass);
  font-size: 11px;
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
}
.project-copy {
  max-width: 530px;
}
.project-category {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.project h3 {
  color: var(--green);
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.project h3 a:hover {
  text-decoration: none;
}
.project-arrow {
  font-family: var(--sans);
  font-size: 21px;
  display: inline-block;
  margin-left: 9px;
  vertical-align: middle;
  transition: transform 0.2s;
}
.project h3 a:hover .project-arrow {
  transform: translate(3px, -3px);
}
.project-copy > p:not(.project-category, .technologies) {
  font-size: 13px;
  line-height: 1.8;
  max-width: 50ch;
}
.technologies {
  font-size: 11px;
  margin-top: 16px;
  font-weight: 500;
  color: var(--green);
}
.technologies span {
  padding-inline: 6px;
  color: var(--brass);
}
.project-note {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 52ch;
}
.project-source {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  font-size: 11px;
  margin-top: 15px;
  border-bottom: 1px solid var(--rule);
}
.project-source:hover {
  border-color: var(--walnut);
  text-decoration: none;
}
.project-visual {
  position: relative;
  align-self: center;
  margin-left: 18px;
  padding: 12px 18px 10px;
  background: #e7dfd0;
  overflow: hidden;
}
.project-visual svg {
  width: 100%;
  height: auto;
  display: block;
}
.project-visual figcaption {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--walnut);
  border-top: 1px solid #c9bdab;
  padding-top: 7px;
}
.project-visual figcaption span {
  color: #655c4d;
}
.packet-guide {
  stroke: #c1b59e;
  stroke-width: 0.75;
  fill: none;
}
.packet {
  fill: #52634d;
}
.packet-anomaly {
  fill: #ad6449;
}
.packet-focus {
  fill: none;
  stroke: #ad6449;
  stroke-width: 1;
  stroke-dasharray: 3 3;
}
.court-study {
  background: #e2d5c1;
}
.court-field {
  fill: #a86749;
}
.court-lines {
  fill: none;
  stroke: #f1e5d0;
  stroke-width: 1.4;
  opacity: 0.8;
}
.court-path {
  fill: none;
  stroke: #e8c788;
  stroke-width: 2;
  stroke-dasharray: 5 6;
}
.court-player {
  fill: #2f463b;
  stroke: #e8dfc8;
  stroke-width: 2;
}
.more-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: 32px;
}
.project-small {
  grid-template-columns: 24px 1fr;
  border: 0;
  gap: 28px;
  padding-right: 36px;
}
.project-small + .project-small {
  border-left: 1px solid var(--rule);
  padding-right: 0;
  padding-left: 38px;
}
.project-small h3 {
  font-size: 30px;
}
.project-small .project-copy > p:not(.project-category, .technologies) {
  font-size: 12px;
  max-width: 43ch;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.about h2 {
  font-size: clamp(44px, 4.6vw, 68px);
}
.about-copy > p {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 18px;
}
.about-copy > p.about-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--green);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.skill-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.skill-groups h3 {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--green);
}
.skill-groups p {
  font-size: 11px;
  line-height: 1.9;
}
.experience-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-top: 42px;
}
.company-summary h3 {
  font-size: 31px;
  color: var(--green);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.company-summary p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
}
.timeline {
  list-style: none;
  padding: 0 0 0 23px;
  margin: 0;
  border-left: 1px solid var(--rule);
}
.timeline li {
  position: relative;
  padding-bottom: 25px;
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline li:before {
  content: "";
  position: absolute;
  left: -27px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 4px var(--cream);
}
.timeline li:first-child:before {
  background: var(--green);
}
.role-header {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
}
h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
}
.role-header span {
  font-size: 11px;
  white-space: nowrap;
  color: var(--muted);
}
.timeline p,
.internship > div > p {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 7px;
  max-width: 60ch;
  color: #675c4f;
}
.internship {
  padding-block: 30px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 36px;
}
.internship .company-summary p {
  font-size: 11px;
  line-height: 1.9;
}
.background-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 36px;
}
.background-notes h3 {
  font-size: 25px;
  letter-spacing: -0.02em;
  color: var(--green);
  margin-block: 10px 8px;
}
.background-notes > div > p:last-child {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
}
.contact {
  border-top: 1px solid var(--rule);
  position: relative;
  padding-bottom: 60px;
}
.contact-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
}
.contact h2 {
  font-size: clamp(42px, 5.2vw, 75px);
  max-width: 750px;
  line-height: 1.12;
}
.contact h2 .contact-period {
  color: var(--brass);
}
.contact-email {
  font-size: 14px;
  display: inline-flex;
  gap: 25px;
  align-items: center;
  border-bottom: 1px solid var(--walnut);
  padding-block: 10px;
  white-space: nowrap;
  margin-bottom: 7px;
}
.contact-email:hover {
  text-decoration: none;
  border-color: transparent;
}
.contact-links {
  display: flex;
  gap: 30px;
  margin-top: 32px;
  font-size: 12px;
}
.contact-links a {
  display: inline-flex;
  gap: 17px;
  padding-block: 8px;
}
.site-footer {
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-block: 25px 28px;
  font-size: 11px;
  color: var(--muted);
}
.site-footer a span {
  margin-left: 10px;
}
@media (min-width: 1600px) {
  .hero h1 {
    font-size: 115px;
  }
  .hero-art {
    min-height: 530px;
  }
}
@media (max-width: 1100px) {
  .page-shell {
    width: 88%;
  }
  .hero {
    padding-top: 62px;
  }
  .hero h1 {
    font-size: clamp(62px, 7.5vw, 86px);
  }
  .hero-art {
    min-height: 410px;
    margin-right: -35px;
  }
  .hero-description {
    font-size: 17px;
  }
  .hero-actions {
    gap: 23px;
  }
  .button {
    gap: 19px;
    padding-inline: 18px;
  }
  .hero-copy {
    padding-bottom: 42px;
  }
  .contact-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }
  .contact-email {
    font-size: 16px;
  }
  .about {
    gap: 45px;
  }
  .skill-groups {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .section-space {
    padding-block: 65px;
  }
  .project-visual {
    margin-left: 0;
    padding: 8px 12px;
  }
  .project-featured {
    grid-template-columns: 20px 1fr 0.65fr;
    gap: 20px;
  }
  .project h3 {
    font-size: 38px;
  }
}
@media (max-width: 760px) {
  .site-header {
    min-height: 84px;
    gap: 15px;
  }
  .wordmark {
    font-size: 23px;
  }
  .site-header nav {
    gap: 20px;
    font-size: 12px;
  }
  .site-header nav a span {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .hero h1 {
    font-size: clamp(60px, 10.5vw, 78px);
    margin-right: 0;
    letter-spacing: -0.05em;
    max-width: 620px;
  }
  .hero-description {
    font-size: 17px;
    margin-top: 22px;
  }
  .hero-actions {
    margin-top: 26px;
    gap: 28px;
  }
  .hero-art {
    height: 330px;
    min-height: 0;
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
    grid-row: 2;
    overflow: hidden;
  }
  .monogram-scene {
    inset: -18px 0 -12px;
  }
  .hero-footnote {
    margin-top: 0;
    font-size: 11px;
    padding-block: 12px 22px;
  }
  .hero-footnote a {
    display: none;
  }
  .section-heading {
    margin-bottom: 28px;
    align-items: flex-start;
  }
  .section-aside {
    display: none;
  }
  h2 {
    font-size: 38px;
  }
  .section-space {
    padding-block: 52px;
  }
  .project-featured {
    grid-template-columns: 19px 1fr;
    gap: 14px;
    padding-block: 28px;
  }
  .project-visual {
    grid-column: 2;
    max-width: 420px;
    width: 100%;
    margin-top: 9px;
  }
  .project-visual svg {
    max-height: 170px;
  }
  .project-copy {
    max-width: 100%;
  }
  .project h3 {
    font-size: 36px;
  }
  .project-copy > p:not(.project-category, .technologies) {
    font-size: 13px;
    max-width: 55ch;
  }
  .project-note {
    font-size: 11px;
  }
  .more-projects {
    grid-template-columns: 1fr;
    padding-block: 0;
  }
  .project-small {
    padding: 28px 0;
    gap: 14px;
    grid-template-columns: 19px 1fr;
  }
  .project-small + .project-small {
    padding: 28px 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
  .project-small h3 {
    font-size: 31px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about h2 {
    font-size: 49px;
  }
  .about-copy > p {
    font-size: 13px;
  }
  .about-copy > p.about-lead {
    font-size: 19px;
  }
  .skill-groups {
    grid-template-columns: 1fr 1fr;
  }
  .experience-layout {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }
  .timeline {
    margin-left: 4px;
  }
  .role-header {
    flex-direction: column;
    gap: 2px;
  }
  .timeline p {
    margin-top: 8px;
  }
  .background-notes {
    gap: 24px;
  }
  .background-notes h3 {
    font-size: 23px;
  }
  .contact h2 {
    font-size: 48px;
  }
  .contact-email {
    font-size: 14px;
    gap: 15px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .contact-main {
    gap: 22px;
  }
  .contact-links {
    margin-top: 24px;
  }
  .motion-toggle {
    bottom: 12px;
    right: 14px;
  }
  .eyebrow {
    font-size: 11px;
  }
  .site-footer {
    font-size: 11px;
  }
}
@media (max-width: 420px) {
  .page-shell {
    width: 88%;
  }
  .site-header {
    min-height: 78px;
    flex-wrap: wrap;
    gap: 6px;
    padding-block: 17px 12px;
  }
  .wordmark {
    font-size: 23px;
  }
  .site-header nav {
    gap: 24px;
    width: 100%;
    font-size: 11px;
  }
  .site-header nav a {
    padding-block: 3px;
  }
  .hero {
    padding-top: 37px;
  }
  .hero h1 {
    font-size: clamp(43px, 13.5vw, 58px);
    margin-top: 18px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-actions {
    gap: 22px;
  }
  .button {
    font-size: 12px;
    padding: 11px 17px;
    min-height: 46px;
  }
  .text-link {
    font-size: 12px;
    gap: 13px;
  }
  .hero-art {
    height: 275px;
  }
  .hero-footnote {
    padding-bottom: 20px;
  }
  .section-space {
    padding-block: 44px;
  }
  h2 {
    font-size: 34px;
  }
  .about h2 {
    font-size: 44px;
  }
  .skill-groups {
    grid-template-columns: 1fr;
  }
  .background-notes {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact h2 {
    font-size: 40px;
  }
  .site-footer {
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
  }
  .project-visual {
    grid-column: 1/-1;
  }
  .project-category {
    font-size: 11px;
  }
  .project-copy > p:not(.project-category, .technologies) {
    font-size: 12px;
  }
  .technologies {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .project h3 a:hover .project-arrow {
    transform: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .site-header nav a,
  .text-link,
  .project-source,
  .contact-links a,
  .site-footer a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* A quiet motion system: brief entrances and tactile interaction, never loops. */
:root {
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header nav a {
  position: relative;
  text-decoration: none;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease-soft);
}
.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
}
.button {
  transition:
    transform 450ms var(--ease-soft),
    box-shadow 450ms var(--ease-soft),
    background-color 300ms ease;
}
.button > span,
.text-link > span,
.contact-email > span,
.contact-links a > span[aria-hidden],
.site-footer a > span {
  display: inline-block;
  transition: transform 450ms var(--ease-soft);
}
.project-visual svg {
  transform-origin: center;
  transition: transform 850ms var(--ease-soft);
}
.court-path {
  transition: stroke-dashoffset 850ms var(--ease-soft);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 16px #2f463b12;
  }
  .button:active {
    transform: translateY(0);
    box-shadow: none;
  }
  .button:hover > span {
    transform: translate(2px, 2px);
  }
  .text-link:hover {
    border-color: var(--walnut);
  }
  .text-link:hover > span,
  .contact-email:hover > span,
  .contact-links a:hover > span[aria-hidden] {
    transform: translate(3px, -3px);
  }
  .site-footer a:hover > span {
    transform: translateY(-3px);
  }
  .project-featured:hover .project-visual svg,
  .project-featured:focus-within .project-visual svg {
    transform: translateY(-2px) scale(1.025);
  }
  .project-featured:hover .court-path {
    stroke-dashoffset: -22;
  }
}
.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  transition: none !important;
  animation: none !important;
}
.motion-paused {
  scroll-behavior: auto;
}
.motion-paused .button:hover,
.motion-paused .project-featured:hover .project-visual svg,
.motion-paused .project-featured:focus-within .project-visual svg,
.motion-paused .project h3 a:hover .project-arrow,
.motion-paused a:hover > span {
  transform: none;
}

/* The editorial header becomes a small, grounded navigation surface on scroll. */
.header-shell {
  height: 100px;
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-shell .site-header {
  background: var(--cream);
}
.header-monogram {
  width: 0;
  height: 40px;
  flex: 0 0 auto;
}
.wordmark {
  display: inline-flex;
  align-items: center;
}
.has-scroll-header {
  scroll-padding-top: 104px;
}
.has-scroll-header .header-shell {
  position: relative;
  z-index: auto;
}
.has-scroll-header .site-header {
  --header-progress: 0;
  --wordmark-size: 28px;
  --nav-gap: 38px;
  --compact-gap: 26px;
  position: fixed;
  z-index: 40;
  min-height: 0;
  padding: 0 calc(16px * var(--header-progress));
  border: 1px solid rgb(201 192 177 / calc(0.8 * var(--header-progress)));
  border-bottom-color: var(--rule);
  border-radius: calc(9px * var(--header-progress));
  background: rgb(242 237 227 / calc(0.97 * var(--header-progress)));
  box-shadow: 0 8px 28px rgb(68 50 39 / calc(0.07 * var(--header-progress)));
}
.has-scroll-header .wordmark {
  gap: calc(8px * var(--header-progress));
  font-size: calc(
    var(--wordmark-size) + (21px - var(--wordmark-size)) *
      var(--header-progress)
  );
}
.has-scroll-header .header-monogram {
  width: calc(40px * var(--header-progress));
}
.header-name {
  opacity: var(--brand-opacity, 1);
}
.has-scroll-header .site-header nav {
  gap: calc(
    var(--nav-gap) + (var(--compact-gap) - var(--nav-gap)) *
      var(--header-progress)
  );
}
.site-header nav a[aria-current="location"]::after {
  transform: scaleX(1);
}
.travelling-monogram {
  position: fixed;
  inset: auto;
  top: 0;
  left: 0;
  z-index: 42;
  transform-origin: 0 0;
}
.travelling-monogram.is-docking {
  will-change: transform;
}
.motion-toggle {
  z-index: 43;
}
.hero-controls-away {
  visibility: hidden;
}
.skip-link {
  position: fixed;
  z-index: 100;
}
@media (max-width: 500px) {
  .has-scroll-header .is-compact .surname {
    display: none;
  }
}
@media (max-width: 760px) {
  .header-shell {
    height: 84px;
  }
  .has-scroll-header .site-header {
    --wordmark-size: 23px;
    --nav-gap: 20px;
    --compact-gap: 20px;
  }
}
@media (max-width: 420px) {
  .header-shell {
    height: 104px;
  }
  .has-scroll-header .site-header {
    --nav-gap: 24px;
    --compact-gap: 14px;
    align-content: center;
    row-gap: 4px;
    padding-inline: calc(12px * var(--header-progress));
  }
  .has-scroll-header .site-header.is-compact {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .has-scroll-header .is-compact .wordmark {
    font-size: 21px;
  }
  .has-scroll-header .is-compact .surname {
    display: none;
  }
  .has-scroll-header .is-compact nav {
    width: auto;
  }
}

/* Each section has its own small gesture; everything rests when scrolling stops. */
.heading-line {
  display: block;
}
.court-route-mask {
  fill: none;
  stroke: white;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.court-ball {
  visibility: hidden;
  fill: #f2d59a;
  stroke: var(--green);
  stroke-width: 1.5;
}
.has-scroll-scenes .project-visual {
  transform: translate3d(0, var(--art-y, 0px), 0) rotate(var(--art-turn, 0deg));
}
.has-scroll-scenes .packet rect {
  transform: translateX(var(--packet-shift, 0px));
  opacity: var(--packet-opacity, 1);
}
.has-scroll-scenes .packet rect:nth-child(2n) {
  transform: translateX(calc(-1 * var(--packet-shift, 0px)));
}
.has-scroll-scenes .packet-focus {
  opacity: var(--focus-opacity, 1);
}
.has-scroll-scenes .court-route-mask {
  stroke-dashoffset: calc(1 - var(--route-progress, 1));
}
.has-scroll-scenes .court-ball {
  visibility: visible;
  transform: translate(var(--ball-x, 253px), var(--ball-y, 64px));
  opacity: var(--route-progress, 1);
}
.has-scroll-scenes .timeline {
  position: relative;
}
.has-scroll-scenes .timeline::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 10px;
  width: 1px;
  height: var(--timeline-length, 0px);
  background: var(--green);
  transform-origin: top;
  transform: scaleY(var(--timeline-progress, 0));
}
.has-scroll-scenes .timeline li::before {
  background: color-mix(
    in srgb,
    var(--green) calc(var(--milestone-progress, 1) * 100%),
    var(--rule)
  );
  transform: scale(calc(0.8 + var(--milestone-progress, 1) * 0.2));
}
.has-scroll-scenes .skill-groups,
.has-scroll-scenes .contact {
  position: relative;
  border-top-color: transparent;
}
.has-scroll-scenes .skill-groups::before,
.has-scroll-scenes .contact::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--rule);
  transform-origin: left;
  transform: scaleX(var(--rule-progress, 1));
}
