:root {
  --bg: #0c0914;
  --text: #f3eefb;
  --muted: #aaa0bc;
  --lavender: #c8a5fc;
  --line: #d4baff22;
  --sans: "DM Sans", sans-serif;
  --mono: "Space Mono", monospace;
  --serif: "DM Serif Display", Georgia, serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  overflow-x: clip;
}
body:has(dialog[open]) {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.1;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 6px;
}
::selection {
  background: #9064be;
  color: #fff;
}
.wrap {
  width: min(1180px, calc(100% - 112px));
  margin-inline: auto;
}
.glass {
  background: linear-gradient(135deg, #a777ec1a, #1f16318f);
  border: 1px solid #dabeff2e;
  box-shadow:
    inset 0 1px 0 #ffffff0a,
    0 18px 70px #0003;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.ambient {
  position: absolute;
  inset: 0 0 auto;
  height: 1250px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 78% 30%, #3e21544f, transparent 46%),
    radial-gradient(ellipse at 7% 50%, #25143b45, transparent 43%);
}
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 50;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--lavender);
  transform: scaleX(0);
  transform-origin: left;
}
.eyebrow {
  font: 10px/1.8 var(--mono);
  letter-spacing: 1.6px;
  color: var(--lavender);
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c6a3f7;
  box-shadow: 0 0 12px #c5a1fa88;
  vertical-align: middle;
  margin-right: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -1px;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font: italic 27px var(--serif);
  border: 1px solid #d1a9ff36;
  border-radius: 11px;
  background: linear-gradient(145deg, #aa71e842, #8d59c210);
  box-shadow: inset 0 1px 1px #e8d4ff22;
}
.brand-dot {
  color: var(--lavender);
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  border-bottom: 1px solid var(--line);
}
.site-header nav {
  display: flex;
  gap: 36px;
  font-size: 13px;
  color: var(--muted);
}
.site-header nav a {
  transition: color 0.2s;
}
.site-header nav a:hover {
  color: var(--text);
}
.header-contact {
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 19px;
  background: #c9abff06;
}
.header-contact span {
  margin-left: 14px;
  color: var(--lavender);
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 730px;
  position: relative;
  padding: 70px 0 90px;
}
.hero-copy > .eyebrow {
  font-size: 9px;
  letter-spacing: 1.4px;
}
.intro {
  font-size: 18px;
  margin: 30px 0 18px;
  color: #e3daef;
}
.intro > span {
  color: var(--lavender);
  margin-left: 9px;
  font-size: 22px;
}
.hero h1 {
  font-size: clamp(62px, 6.1vw, 88px);
  letter-spacing: -5px;
  line-height: 1.04;
}
.hero h1 em,
h2 em {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--lavender);
  letter-spacing: -2px;
}
.hero-description {
  max-width: 405px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  margin-top: 26px;
}
.hero-actions {
  display: flex;
  gap: 27px;
  align-items: center;
  margin-top: 31px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 14px 23px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.button:hover {
  transform: translateY(-3px);
}
.primary {
  background: linear-gradient(115deg, #d5b6ff, #b78aef);
  color: #251333;
  box-shadow:
    0 4px 22px #a779e21f,
    inset 0 1px 0 #fff6;
}
.primary:hover {
  box-shadow: 0 7px 30px #b88bef38;
}
.quiet-link {
  font-size: 12px;
  color: #c2b8d2;
}
.quiet-link span {
  margin-left: 13px;
  color: var(--lavender);
}
.hero-footnote {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 43px;
  font-size: 11px;
  color: #cabed8;
  line-height: 1.7;
}
.hero-footnote small {
  font-size: 10px;
  color: #978aa9;
}
.tiny-star {
  font-size: 34px;
  color: var(--lavender);
}
.hero-visual {
  position: relative;
  max-width: 445px;
  width: 100%;
  justify-self: end;
  perspective: 1200px;
}
.portrait {
  padding: 10px;
  border-radius: 21px;
  position: relative;
  transform: rotate(3deg);
  box-shadow:
    0 24px 80px #0007,
    0 0 65px #9b52d115;
}
.portrait-top {
  height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6px 8px;
  color: #c8b2df;
  font: 8px var(--mono);
  letter-spacing: 1px;
}
.portrait-top > span:first-child {
  display: flex;
  gap: 4px;
}
.portrait-top i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bc8bf477;
}
.portrait-top i:first-child {
  background: #d2a7ff;
}
.portrait-top > span:last-child {
  font-size: 16px;
}
.portrait-images {
  position: relative;
  aspect-ratio: 1/0.99;
  overflow: hidden;
  border-radius: 12px;
  background: #160e23;
}
.portrait-images:after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #fff1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(0deg, #0d071b40, transparent 35%);
}
.portrait-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition:
    opacity 1.5s ease,
    transform 6s ease;
  transform: scale(1.04);
}
.portrait-images img.active {
  opacity: 1;
  transform: scale(1);
}
.portrait-bottom {
  padding: 15px 9px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.portrait-bottom strong {
  display: block;
  font-size: 17px;
}
.portrait-bottom div > span {
  font: 7px var(--mono);
  letter-spacing: 1.5px;
  color: #b8a2ce;
}
.portrait-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.photo-dot {
  border: 0;
  border-radius: 50%;
  background: #736482;
  width: 6px;
  height: 6px;
  padding: 0;
  position: relative;
}
.photo-dot:before {
  content: "";
  position: absolute;
  inset: -9px;
}
.photo-dot.selected {
  background: var(--lavender);
  box-shadow: 0 0 9px #d8aaff80;
}
.photo-pause {
  font-size: 13px;
  background: transparent;
  border: 0;
  padding: 3px 6px;
  color: var(--lavender);
  margin-left: 3px;
  min-width: 26px;
  min-height: 30px;
}
.floating-card {
  position: absolute;
  bottom: 49px;
  left: -50px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 13px;
  padding: 16px 19px;
  transform: rotate(-3deg);
  background: #24192cca;
}
.floating-card strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
.floating-card div > span {
  font: 7px var(--mono);
  color: #b6a2ca;
  letter-spacing: 1px;
}
.floating-card .status-dot {
  margin-left: 12px;
  margin-right: 0;
}
.code-mark {
  color: var(--lavender);
  font: 23px var(--mono);
}
.visual-coordinate {
  display: block;
  text-align: center;
  margin-top: 29px;
  font: 8px var(--mono);
  color: #9c86ad;
  letter-spacing: 2px;
}
.orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid #ae7beb20;
  border-radius: 50%;
  width: 530px;
  height: 530px;
  left: -60px;
  top: -23px;
  transform: rotate(-30deg) scaleY(0.73);
}
.orbit-two {
  transform: rotate(48deg) scaleY(0.75);
  border-style: dashed;
  border-color: #ae7beb14;
}
.orbit-star {
  position: absolute;
  font-size: 48px;
  color: var(--lavender);
  right: -23px;
  top: -38px;
  z-index: 2;
  text-shadow: 0 0 40px #a86dfc50;
  animation: star-drift 6s ease-in-out infinite;
}
.scroll-cue {
  position: absolute;
  left: 0;
  bottom: 27px;
  display: flex;
  align-items: center;
  gap: 17px;
  font: 8px var(--mono);
  letter-spacing: 1.5px;
  color: #9b87ad;
}
.scroll-cue > span:last-child {
  font-size: 19px;
  color: var(--lavender);
}
.skill-strip {
  border-block: 1px solid var(--line);
  background: #9e70d004;
}
.skill-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  font: 9px var(--mono);
  letter-spacing: 1.3px;
  color: #b4a6c5;
}
.skill-strip i {
  color: #bb8de9;
  font-style: normal;
  font-size: 18px;
}
.section {
  padding-top: 112px;
  scroll-margin-top: 25px;
}
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 31px;
}
.section-note {
  font: 8px var(--mono);
  letter-spacing: 1.2px;
  color: #9986a8;
}
h2 {
  font-size: clamp(36px, 4vw, 53px);
  letter-spacing: -2.2px;
  line-height: 1.16;
}
.section-description {
  color: var(--muted);
  font-size: 14px;
  margin-top: 17px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.13fr;
  gap: 85px;
}
.signature {
  font: italic 44px var(--serif);
  margin-top: 44px;
  color: #a48bb8;
  transform: rotate(-7deg);
  display: inline-block;
}
.signature > span {
  font-size: 27px;
  margin-left: 22px;
  color: var(--lavender);
}
.about-body > .large-copy {
  font-size: 21px;
  color: #e7dcee;
  line-height: 1.6;
  margin-bottom: 20px;
}
.about-body > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 15px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tags span {
  font: 9px/1.4 var(--mono);
  color: #c1a6df;
  padding: 7px 10px;
  border: 1px solid #b586e422;
  border-radius: 5px;
  background: #b17bdf07;
}
.about-body > .tags {
  margin-top: 24px;
}
.journey {
  padding: 29px 32px 0;
  border-radius: 16px;
  margin-top: 50px;
}
.journey-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}
.journey-heading h3 {
  font-size: 18px;
}
.journey-heading h3 span {
  color: var(--lavender);
  margin-left: 15px;
}
.journey-heading p {
  font-size: 11px;
  color: var(--muted);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 30px 0;
}
.timeline li {
  position: relative;
  padding-left: 18px;
  border-left: 1px solid #c8a5fc36;
}
.timeline li:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lavender);
  position: absolute;
  left: -3px;
  top: 7px;
  box-shadow: 0 0 12px #bd94f260;
}
.timeline li > span {
  font: 9px var(--mono);
  color: var(--lavender);
}
.timeline h4 {
  font-size: 14px;
  margin: 14px 0 10px;
}
.timeline p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.long-story {
  border-top: 1px solid var(--line);
}
.long-story summary {
  padding: 17px 0;
  cursor: pointer;
  font-size: 11px;
  color: #b8a8cd;
  list-style: none;
}
.long-story summary::-webkit-details-marker {
  display: none;
}
.long-story summary span {
  float: right;
  font-size: 17px;
  color: var(--lavender);
}
.long-story[open] summary span {
  transform: rotate(45deg);
}
.long-story > div {
  max-width: 760px;
  padding: 4px 0 25px;
}
.long-story h4 {
  font-size: 15px;
  margin: 15px 0 9px;
}
.long-story p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.small-link {
  font-size: 11px;
  color: #c5a9e5;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 35px;
}
.section-heading > p {
  font-size: 12px;
  color: var(--muted);
  max-width: 230px;
  margin-bottom: 7px;
  line-height: 1.7;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project {
  border-radius: 17px;
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.project:hover {
  border-color: #cf9cff65;
  transform: translateY(-5px);
}
.project-art {
  height: 240px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.project-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  transition: transform 0.7s;
}
.project:hover .project-art > img {
  transform: scale(1.04);
}
.lua-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #160c26bb, transparent 80%);
  pointer-events: none;
}
.project-number {
  position: absolute;
  left: 23px;
  top: 20px;
  z-index: 1;
  font: 8px var(--mono);
  letter-spacing: 1.5px;
  color: #d0b8ef;
}
.project-symbol {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font: italic 91px var(--serif);
  z-index: 1;
  letter-spacing: -4px;
  color: #efdefc;
  text-shadow: 0 4px 35px #0b051b;
}
.project-symbol > span {
  color: #c797f4;
}
.project-arrow {
  position: absolute;
  right: 21px;
  bottom: 20px;
  z-index: 2;
  border-radius: 50%;
  border: 1px solid #d9b6ff33;
  background: #cfb6ff0a;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  font-size: 17px;
  transition: background 0.3s;
}
.project:hover .project-arrow {
  background: #d8b7ff;
  color: #21102e;
}
.project-info {
  padding: 24px;
}
.project-info h3 {
  font-size: 23px;
  margin: 20px 0 12px;
  letter-spacing: -0.5px;
}
.project-info h3 > small {
  font-size: 12px;
  color: #ac95c4;
  font-weight: 400;
  margin-left: 8px;
  letter-spacing: 0;
}
.project-info > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  max-width: 350px;
  min-height: 45px;
}
.project-link {
  margin-top: 23px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #cdb0ed;
}
.python-art {
  background:
    radial-gradient(ellipse at 65% 80%, #51306d70, transparent 70%),
    linear-gradient(130deg, #1b1329, #120d1e);
}
.code-window {
  position: absolute;
  left: 12%;
  top: 58px;
  width: 76%;
  border: 1px solid #d7b9ff26;
  border-radius: 9px;
  background: #100b1ccc;
  transform: rotate(-5deg);
  box-shadow: 0 20px 50px #0003;
}
.code-window > span {
  display: block;
  border-bottom: 1px solid #c4a3f21c;
  padding: 9px 15px;
  color: #ad94c9;
  font: 8px var(--mono);
}
.code-window i {
  float: right;
  font-style: normal;
  font-size: 6px;
  color: #b78be4;
}
.code-window p {
  font: 11px/1.9 var(--mono);
  color: #aaa0b8;
  padding: 13px 20px 16px;
}
.code-window b {
  color: #c89df6;
  font-weight: 400;
}
.code-window em {
  color: #ece0fd;
  font-style: normal;
}
.private-note {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.private-note > span {
  font-size: 31px;
  color: #ac80d4;
}
.private-note p {
  font-size: 13px;
  color: #d4c2e4;
}
.private-note small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.private-note a {
  margin-left: auto;
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  gap: 16px;
}
.gallery-item {
  position: relative;
  padding: 0;
  border: 1px solid #d6aff522;
  border-radius: 13px;
  overflow: hidden;
  height: 300px;
  background: #20102d;
  text-align: left;
}
.gallery-item:nth-child(2) {
  margin-top: 24px;
}
.gallery-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition:
    transform 0.6s,
    filter 0.6s;
  filter: brightness(0.76);
}
.gallery-item:hover img {
  transform: scale(1.045);
  filter: brightness(0.98);
}
.gallery-item:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0c071ae6, transparent 70%);
  pointer-events: none;
}
.gallery-item > span {
  position: absolute;
  inset: auto 20px 20px;
  z-index: 1;
  font-size: 14px;
  line-height: 1.5;
}
.gallery-item small {
  display: block;
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: #c8a9e6;
  margin-bottom: 6px;
}
.gallery-item i {
  float: right;
  font-style: normal;
  color: #d3b3ff;
}
.gallery-note {
  margin-top: 22px;
  font-size: 10px;
  color: #a18eac;
  text-align: center;
}
.contact-section {
  padding-top: 110px;
}
.contact {
  border-radius: 23px;
  padding: 55px 60px 34px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 90% 50%, #6c398528, transparent 60%),
    linear-gradient(120deg, #9e68d315, #23153066);
}
.contact:before,
.contact:after {
  content: "";
  position: absolute;
  width: 470px;
  height: 470px;
  right: -135px;
  top: -130px;
  border: 1px solid #d0a1f618;
  border-radius: 50%;
  pointer-events: none;
}
.contact:after {
  width: 550px;
  height: 550px;
  right: -175px;
  top: -170px;
  border-color: #d0a1f610;
}
.contact h2 {
  font-size: clamp(41px, 5.2vw, 65px);
  margin-top: 23px;
  position: relative;
  max-width: 600px;
}
.contact h2 > span {
  position: absolute;
  left: calc(100% + 140px);
  top: 0;
  font: 150px var(--serif);
  color: #c4a1ed99;
}
.contact > p:not(.eyebrow, .copy-status) {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin: 20px 0 25px;
}
.contact-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  gap: 30px;
}
.contact-links > a,
.contact-links > button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  color: #e1d1ee;
  gap: 8px;
  min-height: 34px;
}
.contact-links span {
  font-size: 10px;
  color: #ae90ca;
}
.contact-links > a:hover span,
.contact-links > button:hover span {
  color: #e4c5ff;
}
.copy-status {
  height: 18px;
  color: var(--lavender);
  font-size: 10px;
  margin-top: 8px;
}
.site-footer {
  padding: 33px 0 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-footer .brand {
  font-size: 19px;
  gap: 0;
}
.site-footer > p {
  font-size: 10px;
  color: #a08bb0;
}
.music-player {
  position: fixed;
  z-index: 30;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 17px;
  background: #21172aeb;
  box-shadow: 0 8px 30px #0006;
  max-width: calc(100vw - 30px);
  overflow: hidden;
}
.music-player > button {
  display: grid;
  place-items: center;
  border: 1px solid #d4abff2d;
  background: #b987ed16;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.2s;
}
.music-player > button:hover {
  background: #b987ed35;
}
.music-player svg {
  width: 17px;
  height: 17px;
  fill: #d9bbff;
}
.pause-icon {
  display: none;
}
.is-playing .play-icon {
  display: none;
}
.is-playing .pause-icon {
  display: block;
}
.music-info {
  min-width: 112px;
}
.music-info strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}
.music-info > span {
  display: block;
  font: 6px/1.8 var(--mono);
  letter-spacing: 1.2px;
  color: #ae97c2;
  margin-top: 2px;
}
.music-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  margin: 0 8px;
}
.music-bars i {
  width: 2px;
  height: 4px;
  border-radius: 2px;
  background: #c89cf8;
}
.is-playing .music-bars i {
  animation: equalizer 1s ease-in-out infinite alternate;
}
.is-playing .music-bars i:nth-child(2) {
  animation-delay: -0.4s;
}
.is-playing .music-bars i:nth-child(3) {
  animation-delay: -0.7s;
}
.is-playing .music-bars i:nth-child(4) {
  animation-delay: -0.2s;
}
.volume-control {
  display: flex;
  align-items: center;
  gap: 6px;
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.volume-control svg {
  width: 13px;
  fill: none;
  stroke: #b99ad3;
  stroke-width: 1.5;
}
.volume-control input {
  width: 54px;
  height: 3px;
  accent-color: #c9a5f5;
  cursor: pointer;
}
.audio-line {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: #c4a0ea0b;
}
.audio-line i {
  display: block;
  height: 100%;
  background: #c5a4ed70;
  width: 0;
}
.lightbox {
  border: 1px solid #b388d549;
  padding: 18px;
  border-radius: 17px;
  background: #130c1f;
  max-width: min(900px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  color: var(--text);
  box-shadow: 0 15px 90px #0009;
}
.lightbox::backdrop {
  background: #09050de6;
  backdrop-filter: blur(12px);
}
.lightbox > img {
  max-height: calc(100dvh - 155px);
  max-width: 100%;
  width: auto;
  object-fit: contain;
  margin: auto;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  right: 26px;
  top: 25px;
  z-index: 2;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 1px solid #d4a6ff6b;
  background: #160b28da;
  font-size: 23px;
  line-height: 1;
}
.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
}
.lightbox-footer > button {
  background: #bb85ed12;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 13px;
}
.lightbox-footer p {
  font-size: 12px;
  color: var(--lavender);
  text-align: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: 10px;
  z-index: 100;
  padding: 10px 20px;
  background: #d4b3ff;
  color: #1c092e;
  border-radius: 7px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-ready .reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-ready .project.visible:hover {
  transform: translateY(-5px);
}
@keyframes star-drift {
  50% {
    transform: translateY(-8px) rotate(8deg);
  }
}
@keyframes equalizer {
  to {
    height: 18px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 72px);
  }
  .hero {
    gap: 40px;
    min-height: 650px;
  }
  .hero h1 {
    font-size: 69px;
    letter-spacing: -4px;
  }
  .hero-copy > .eyebrow {
    font-size: 8px;
    letter-spacing: 0.9px;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero-visual {
    max-width: 360px;
  }
  .floating-card {
    left: -25px;
    padding: 12px 14px;
  }
  .floating-card .status-dot {
    display: none;
  }
  .orbit {
    width: 440px;
    height: 440px;
    left: -45px;
  }
  .about-grid {
    gap: 45px;
  }
  .contact h2 > span {
    left: calc(100% + 55px);
    font-size: 115px;
  }
  .contact-links {
    gap: 18px;
  }
  .contact-links > a,
  .contact-links > button {
    flex-direction: column;
    align-items: start;
    gap: 3px;
  }
  .skill-strip .wrap {
    font-size: 8px;
    letter-spacing: 0.7px;
  }
  .section-heading > p {
    max-width: 200px;
  }
  .project-art {
    height: 215px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 82px;
  }
  .brand {
    font-size: 19px;
    gap: 8px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 23px;
  }
  .site-header nav {
    gap: 20px;
    font-size: 11px;
  }
  .header-contact {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 57px;
    padding-top: 48px;
    padding-bottom: 67px;
    min-height: 0;
  }
  .hero-copy {
    max-width: 500px;
  }
  .hero h1 {
    font-size: clamp(58px, 11.5vw, 85px);
    letter-spacing: -3.5px;
  }
  .intro {
    margin-top: 23px;
    font-size: 16px;
  }
  .hero-description {
    font-size: 14px;
    max-width: 390px;
    margin-top: 21px;
  }
  .hero-actions {
    margin-top: 25px;
    gap: 23px;
  }
  .hero-footnote {
    margin-top: 27px;
  }
  .hero-visual {
    max-width: 370px;
    justify-self: center;
    width: calc(100% - 26px);
  }
  .portrait {
    transform: rotate(2deg);
  }
  .floating-card {
    left: -12px;
    bottom: 42px;
  }
  .orbit {
    width: calc(100% + 55px);
    height: auto;
    aspect-ratio: 1;
    left: -27px;
  }
  .orbit-star {
    right: -11px;
    top: -25px;
    font-size: 37px;
  }
  .visual-coordinate {
    margin-top: 23px;
  }
  .scroll-cue {
    bottom: 12px;
  }
  .skill-strip .wrap {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 21px;
    padding-block: 17px;
    scrollbar-width: none;
    white-space: nowrap;
  }
  .skill-strip span {
    flex-shrink: 0;
  }
  .skill-strip i {
    font-size: 15px;
  }
  .section {
    padding-top: 74px;
  }
  .section-note {
    display: none;
  }
  .section-top {
    padding-bottom: 24px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  h2 {
    font-size: 41px;
    letter-spacing: -1.7px;
  }
  .signature {
    display: none;
  }
  .section-description {
    margin-top: 12px;
  }
  .about-body > .large-copy {
    font-size: 19px;
    max-width: 500px;
  }
  .journey {
    padding: 23px 22px 0;
    margin-top: 30px;
  }
  .journey-heading {
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
    padding-bottom: 20px;
  }
  .timeline {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 25px 0;
  }
  .timeline li {
    padding-left: 20px;
  }
  .timeline h4 {
    margin: 10px 0 7px;
    font-size: 15px;
  }
  .timeline p {
    font-size: 12px;
  }
  .section-heading {
    display: block;
    margin-bottom: 26px;
  }
  .section-heading > p {
    max-width: none;
    margin-top: 14px;
    font-size: 12px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .project-art {
    height: 230px;
  }
  .project-info {
    padding: 22px;
  }
  .project-info h3 {
    font-size: 24px;
  }
  .project-info > p {
    min-height: 0;
    max-width: none;
  }
  .private-note {
    gap: 12px;
    flex-wrap: wrap;
  }
  .private-note p {
    font-size: 12px;
    flex: 1;
  }
  .private-note small {
    font-size: 10px;
  }
  .private-note a {
    margin-left: 43px;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .gallery-item {
    height: 255px;
  }
  .gallery-item:nth-child(2) {
    margin-top: 0;
  }
  .gallery-item:last-child {
    grid-column: 1/-1;
    height: 225px;
  }
  .gallery-item > span {
    inset: auto 13px 17px;
    font-size: 12px;
  }
  .gallery-item small {
    font-size: 7px;
  }
  .gallery-note {
    font-size: 9px;
    margin-top: 17px;
  }
  .contact-section {
    padding-top: 72px;
  }
  .contact {
    padding: 30px 25px 20px;
    border-radius: 17px;
  }
  .contact > .eyebrow {
    font-size: 8px;
    letter-spacing: 0.8px;
  }
  .contact h2 {
    font-size: 44px;
    margin-top: 20px;
    letter-spacing: -2px;
  }
  .contact h2 > span {
    display: none;
  }
  .contact > p:not(.eyebrow, .copy-status) {
    font-size: 12px;
  }
  .contact-links {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 31px;
    padding-top: 20px;
  }
  .contact-links > a,
  .contact-links > button {
    flex-direction: row;
    align-items: center;
    font-size: 12px;
    min-height: 38px;
  }
  .contact-links span {
    font-size: 11px;
  }
  .site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-top: 25px;
    padding-bottom: 115px;
  }
  .site-footer > p {
    grid-column: 1/-1;
    grid-row: 2;
    font-size: 9px;
  }
  .site-footer > .small-link {
    font-size: 10px;
  }
  .music-player {
    bottom: 15px;
    gap: 10px;
    padding: 10px 13px;
  }
  .music-info {
    min-width: 104px;
  }
  .volume-control {
    padding-left: 9px;
  }
  .music-bars {
    margin: 0 2px;
  }
  .volume-control input {
    width: 43px;
  }
}
@media (max-width: 370px) {
  .wrap {
    width: calc(100% - 30px);
  }
  .site-header nav {
    gap: 14px;
  }
  .hero h1 {
    font-size: 56px;
  }
  .hero-copy > .eyebrow {
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .hero-actions {
    gap: 17px;
  }
  .button {
    padding: 13px 17px;
    gap: 21px;
  }
  .quiet-link {
    font-size: 11px;
  }
  .gallery-item {
    height: 220px;
  }
  .contact h2 {
    font-size: 38px;
  }
  .contact {
    padding-inline: 20px;
  }
  .music-info {
    min-width: 96px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .orbit {
    width: 100%;
    left: 0;
    transform: rotate(-30deg) scale(0.78) scaleY(0.73);
  }
  .orbit-two {
    transform: rotate(48deg) scale(0.78) scaleY(0.75);
  }
}
