:root {
  --navy: #07152e;
  --navy-2: #0a2044;
  --blue: #135ee8;
  --cold: #8bc7ff;
  --pale: #eaf3ff;
  --muted: #92a8c8;
  --line: rgba(174, 212, 255, 0.22);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
  background: var(--navy);
}
body {
  margin: 0;
  color: var(--pale);
  font-family: var(--sans);
  overflow: hidden;
}
button,
a {
  font: inherit;
  color: inherit;
}
.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--pale);
  color: var(--navy);
  text-decoration: none;
}
.skip-link:focus {
  transform: translateY(0);
}
.noise {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}
.experience {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 186px 1fr;
  grid-template-rows: 64px 1fr 42px;
  background: var(--navy);
}
.system-bar {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 186px 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0 22px;
}
.wordmark {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.09em;
  text-decoration: none;
}
.wordmark span,
.wordmark i {
  color: var(--cold);
}
.wordmark i {
  font-style: normal;
}
.system-title,
.sound-button,
.system-footer,
.scene-kicker,
.project-information > p,
.project-information > div {
  font: 500 0.64rem/1.2 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.system-title {
  color: var(--muted);
  margin: 0;
}
.sound-button {
  background: none;
  border: 0;
  color: var(--pale);
  cursor: pointer;
  padding: 9px 0;
}
.sound-button span {
  color: var(--cold);
}
.scene-nav {
  border-right: 1px solid var(--line);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.scene-link {
  border: 0;
  background: transparent;
  display: flex;
  gap: 12px;
  width: 100%;
  padding: 10px;
  text-align: left;
  color: var(--muted);
  cursor: pointer;
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.scene-link span,
.project-tab span {
  font: 500 0.62rem var(--mono);
  color: var(--cold);
}
.scene-link:hover,
.scene-link:focus-visible,
.scene-link.is-active {
  background: var(--blue);
  color: white;
}
.scene-link:active {
  transform: scale(0.98);
}
.scene-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.scene {
  height: 100%;
  position: absolute;
  inset: 0;
  padding: clamp(28px, 5vw, 80px);
  overflow: auto;
  opacity: 0;
  transform: translate3d(4%, 0, 0);
  pointer-events: none;
  transition:
    opacity 0.42s var(--ease),
    transform 0.52s var(--ease);
}
.scene.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.scene[hidden] {
  display: none;
}
.scene-kicker {
  margin: 0 0 22px;
  color: var(--cold);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  letter-spacing: -0.08em;
  line-height: 0.88;
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 800;
}
h1 strong {
  color: var(--blue);
  font-weight: 800;
}
.home-scene {
  display: grid;
  grid-template-columns: minmax(370px, 1.2fr) minmax(250px, 0.55fr);
  grid-template-rows: 1fr auto;
  gap: 20px 8vw;
  align-items: center;
  background: linear-gradient(115deg, var(--navy) 55%, var(--navy-2));
}
.home-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
}
.home-intro {
  max-width: 40ch;
  margin: 28px 0;
  color: var(--muted);
  font-size: 1rem;
}
.home-actions {
  display: flex;
  gap: 22px;
  align-items: center;
}
.action-button {
  border: 0;
  background: var(--blue);
  color: white;
  padding: 14px 17px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 0.25s var(--ease),
    background 0.25s;
}
.action-button:hover {
  background: #2473ff;
  transform: translateY(-3px);
}
.action-button:active {
  transform: scale(0.98);
}
.action-button b {
  font-size: 1.2rem;
  margin-left: 16px;
}
.quiet-action {
  border: 0;
  border-bottom: 1px solid var(--pale);
  padding: 6px 0;
  background: transparent;
  cursor: pointer;
}
.portrait-panel {
  align-self: center;
  max-width: 390px;
  margin: 0;
  justify-self: end;
  position: relative;
  z-index: 1;
}
.portrait-frame {
  aspect-ratio: 0.82;
  overflow: hidden;
  background: var(--blue);
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.14) sepia(0.1);
  mix-blend-mode: screen;
  opacity: 0.85;
}
.portrait-panel figcaption {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  font: 500 0.65rem var(--mono);
  text-transform: uppercase;
}
.portrait-panel figcaption span {
  color: var(--muted);
}
.home-geometry span {
  position: absolute;
  display: block;
  background: var(--blue);
  transform: skewX(-24deg);
  opacity: 0.85;
}
.home-geometry span:nth-child(1) {
  width: 34vw;
  height: 12px;
  left: -9vw;
  top: 22%;
}
.home-geometry span:nth-child(2) {
  width: 18vw;
  height: 42vh;
  right: 15%;
  bottom: -24vh;
  background: var(--cold);
  opacity: 0.11;
}
.home-geometry span:nth-child(3) {
  width: 4vw;
  height: 140%;
  right: 43%;
  top: -30%;
  background: var(--blue);
  opacity: 0.23;
}
.interaction-hint {
  grid-column: 1/-1;
  margin: 0;
  font: 500 0.62rem var(--mono);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.profile-scene {
  background: var(--navy-2);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
  align-content: center;
}
.profile-content {
  align-self: center;
}
.profile-lead {
  max-width: 46ch;
  font-size: 1.1rem;
  line-height: 1.65;
  color: #c7dcf4;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.principles article {
  border-top: 2px solid var(--blue);
  padding-top: 12px;
}
.principles span {
  font: 500 0.62rem var(--mono);
  color: var(--cold);
}
.principles h3 {
  font-size: 1.06rem;
  margin: 22px 0 8px;
  letter-spacing: -0.04em;
}
.principles p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.skill-orbit {
  grid-column: 1/-1;
  margin-top: 7vh;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.skill-orbit span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  font: 500 0.68rem var(--mono);
  transition:
    transform 0.2s var(--ease),
    background 0.2s;
}
.skill-orbit span:hover {
  background: var(--blue);
  transform: translateY(-4px);
}
.projects-scene {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(450px, 1.45fr);
  background: var(--navy-2);
}
.project-index {
  padding: clamp(28px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
}
.project-index h2 {
  font-size: clamp(3.2rem, 5vw, 6rem);
  margin: 0;
}
.project-tabs {
  margin-top: 50px;
}
.project-tab {
  display: flex;
  gap: 11px;
  align-items: baseline;
  width: 100%;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  color: var(--muted);
  cursor: pointer;
  transition:
    color 0.2s var(--ease),
    padding 0.25s var(--ease);
}
.project-tab:hover,
.project-tab.is-active {
  color: var(--pale);
  padding-left: 9px;
}
.project-tab.is-active span {
  color: var(--blue);
}
.project-screen {
  position: relative;
  min-width: 0;
}
.project-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: #0d2751;
  animation: project-in 0.42s var(--ease);
}
.project-panel[hidden] {
  display: none;
}
.project-panel > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top left;
}
.project-information {
  padding: clamp(24px, 3.4vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.project-information > p:first-child {
  color: var(--cold);
  margin-bottom: clamp(32px, 8vh, 85px);
}
.project-information h3 {
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin-bottom: 16px;
}
.project-information > p:not(:first-child) {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #c8d9ee;
}
.project-information > div {
  color: var(--muted);
  margin-top: auto;
  padding-top: 24px;
}
.project-information a {
  margin-top: 20px;
  background: var(--pale);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 11px 13px;
  text-decoration: none;
  transition:
    transform 0.2s var(--ease),
    background 0.2s;
}
.project-information a:hover {
  background: var(--cold);
  transform: translateY(-3px);
}
.contact-scene {
  background: var(--blue);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-content: center;
}
.contact-title h2 {
  font-size: clamp(3.3rem, 6vw, 7rem);
}
.contact-title > p:not(.scene-kicker) {
  max-width: 34ch;
  margin-top: 28px;
  color: #dcecff;
}
.contact-title .scene-kicker {
  color: var(--navy);
}
.contact-list {
  align-self: center;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.contact-list a {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition:
    padding 0.2s var(--ease),
    background 0.2s;
}
.contact-list a:hover {
  padding-inline: 10px;
  background: rgba(255, 255, 255, 0.12);
}
.contact-list span {
  font-weight: 800;
  letter-spacing: -0.04em;
}
.contact-list small {
  font: 400 0.64rem var(--mono);
  color: #dcecff;
}
.contact-list b {
  font-size: 1.25rem;
}
.contact-signoff {
  grid-column: 1/-1;
  font: 500 0.64rem var(--mono);
  margin: 4vh 0 0;
  color: #dcecff;
}
.system-footer {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  color: var(--muted);
}
.system-footer i {
  font-style: normal;
}
@keyframes project-in {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
:focus-visible {
  outline: 2px solid var(--cold);
  outline-offset: 4px;
}
@media (max-width: 760px) {
  body {
    overflow: auto;
  }
  .experience {
    display: block;
    min-height: 100dvh;
  }
  .system-bar {
    height: 56px;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
  }
  .system-title {
    display: none;
  }
  .scene-nav {
    position: sticky;
    top: 0;
    z-index: 5;
    height: 48px;
    display: flex;
    flex-direction: row;
    overflow: auto;
    padding: 0 8px;
    background: var(--navy);
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }
  .scene-link {
    flex: 0 0 auto;
    width: auto;
    padding: 13px 9px;
    font-size: 0.78rem;
  }
  .scene-link span {
    display: none;
  }
  .scene-stage {
    overflow: visible;
    min-height: calc(100dvh - 146px);
  }
  .scene {
    position: relative;
    inset: auto;
    min-height: calc(100dvh - 146px);
    height: auto;
    padding: 32px 18px;
    transform: translate3d(0, 10px, 0);
  }
  .home-scene {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }
  .home-copy {
    order: 1;
  }
  .home-copy h1 {
    font-size: clamp(3.25rem, 16vw, 5.3rem);
  }
  .portrait-panel {
    order: 0;
    width: min(65vw, 300px);
    align-self: flex-end;
    margin-bottom: -24px;
  }
  .interaction-hint {
    order: 2;
    margin-top: 35px;
  }
  .home-geometry span:nth-child(3) {
    right: 12%;
    height: 65%;
    top: -5%;
  }
  .profile-scene {
    display: block;
  }
  .profile-heading h2 {
    font-size: clamp(3.3rem, 15vw, 5.4rem);
  }
  .profile-content {
    margin-top: 42px;
  }
  .principles {
    grid-template-columns: 1fr;
    margin-top: 38px;
    gap: 25px;
  }
  .principles article {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 0 8px;
  }
  .principles h3 {
    margin: 0;
  }
  .principles p {
    grid-column: 2;
    margin-top: 7px;
  }
  .skill-orbit {
    margin-top: 55px;
  }
  .projects-scene {
    display: block;
    padding: 0;
  }
  .project-index {
    padding: 32px 18px 0;
    border: 0;
  }
  .project-index h2 {
    font-size: 3.7rem;
  }
  .project-tabs {
    display: flex;
    overflow: auto;
    gap: 18px;
    margin: 30px -18px 0;
    padding: 0 18px;
  }
  .project-tab {
    flex: 0 0 auto;
    width: auto;
    border-bottom: 2px solid transparent;
    padding: 12px 0;
  }
  .project-tab.is-active {
    border-color: var(--blue);
  }
  .project-screen {
    height: auto;
    min-height: 620px;
  }
  .project-panel {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(230px, 45vw) 1fr;
  }
  .project-information {
    padding: 28px 18px;
  }
  .project-information > p:first-child {
    margin-bottom: 30px;
  }
  .project-information > div {
    margin-top: 18px;
  }
  .contact-scene {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 44px;
  }
  .contact-title h2 {
    font-size: clamp(3.3rem, 15vw, 5.5rem);
  }
  .contact-list a {
    grid-template-columns: 1fr auto;
  }
  .contact-list small {
    display: none;
  }
  .system-footer {
    height: 42px;
    padding: 0 16px;
    font-size: 0.56rem;
  }
  .system-footer span:nth-child(2) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .scene {
    transition: none;
  }
  .project-panel {
    animation: none;
  }
}
