@font-face {
  font-family: "Inter";
  src: url("/music/gravity-doesnt-let-go/assets/fonts/inter-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #f7f9fd;
  --muted: rgba(241, 246, 255, 0.72);
  --line: rgba(235, 243, 255, 0.38);
  --deep-blue: #020d23;
  --accent: #62b9ff;
  --page-pad: clamp(1.25rem, 5.15vw, 5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: var(--deep-blue);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--deep-blue);
  color: var(--paper);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img,
canvas {
  display: block;
  max-width: 100%;
}

.sky {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background-color: #06265d;
  animation: settle-sky 1500ms var(--ease-out) both;
}

.sky-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: url("/img/bg.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.cloud-canvas {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  pointer-events: none;
  transform: translateZ(0);
  animation: reveal-clouds 1800ms 900ms ease-out both;
}

.sky::before,
.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sky::before {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 8, 35, 0.22) 0%, transparent 32%, rgba(0, 19, 49, 0.08) 52%, rgba(0, 11, 33, 0.74) 83%, #020b20 100%),
    linear-gradient(90deg, rgba(1, 10, 32, 0.08), transparent 30%, transparent 70%, rgba(1, 10, 32, 0.08));
}

.sky::after {
  z-index: 3;
  background-image: linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 100% 4px;
  opacity: 0.22;
}

.guardian-star {
  position: absolute;
  z-index: 6;
  top: clamp(8.6rem, 19vh, 10.75rem);
  right: clamp(1.4rem, 5.2vw, 5rem);
  display: grid;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: #f4dfb8;
  isolation: isolate;
  place-items: center;
  text-decoration: none;
  animation: enter-guardian-star 1200ms 520ms var(--ease-out) both;
}

.guardian-star::before {
  position: absolute;
  z-index: -1;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 240, 206, 0.34) 0 7%, rgba(124, 178, 176, 0.16) 28%, rgba(101, 153, 154, 0.06) 48%, transparent 72%);
  content: "";
  filter: blur(0.12rem);
  animation: guardian-star-breathe 5.8s ease-in-out infinite;
}

.guardian-star__light {
  position: relative;
  display: block;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #fff8e8;
  box-shadow:
    0 0 0.18rem rgba(255, 255, 255, 0.96),
    0 0 0.62rem rgba(244, 223, 184, 0.88),
    0 0 1.15rem rgba(101, 153, 154, 0.55);
  transition: box-shadow 320ms ease;
  animation: guardian-star-twinkle 6.4s ease-in-out infinite;
}

.guardian-star__light::before,
.guardian-star__light::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 240, 206, 0.96), transparent);
  content: "";
  transform: translate(-50%, -50%);
}

.guardian-star__light::before {
  width: 1.65rem;
  height: 1px;
}

.guardian-star__light::after {
  width: 1.2rem;
  height: 1px;
  transform: translate(-50%, -50%) rotate(90deg);
}

.guardian-star__caption {
  position: absolute;
  top: 50%;
  right: calc(100% + 0.3rem);
  display: grid;
  min-width: max-content;
  gap: 0.16rem;
  padding: 0.5rem 0.68rem 0.52rem;
  border: 1px solid rgba(244, 223, 184, 0.2);
  border-radius: 0.42rem;
  background: rgba(2, 13, 35, 0.56);
  box-shadow: 0 0.7rem 2rem rgba(0, 8, 27, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(0.45rem, -50%);
  transition:
    opacity 220ms ease,
    transform 320ms var(--ease-out);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.guardian-star__caption span {
  color: rgba(244, 223, 184, 0.72);
  font-size: 0.54rem;
  font-weight: 690;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.guardian-star__caption strong {
  color: rgba(255, 250, 239, 0.94);
  font-size: 0.72rem;
  font-weight: 520;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.guardian-star:hover .guardian-star__light,
.guardian-star:focus-visible .guardian-star__light {
  box-shadow:
    0 0 0.22rem rgba(255, 255, 255, 1),
    0 0 0.82rem rgba(244, 223, 184, 0.96),
    0 0 1.5rem rgba(101, 153, 154, 0.7),
    0 0 2.2rem rgba(207, 135, 124, 0.18);
}

.guardian-star:hover .guardian-star__caption,
.guardian-star:focus-visible .guardian-star__caption {
  opacity: 1;
  transform: translate(0, -50%);
}

.guardian-star.guardian-star:focus-visible {
  border-radius: 50%;
  outline-color: #f4dfb8;
  outline-offset: 2px;
}

.smoke-canvas {
  position: fixed;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: reveal-smoke 1200ms 720ms ease-out both;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  background: var(--paper);
  color: var(--deep-blue);
  font-size: 0.85rem;
  font-weight: 750;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 7.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-inline: var(--page-pad);
  animation: enter-header 800ms 80ms var(--ease-out) both;
}

.identity {
  display: flex;
  align-items: baseline;
  gap: 1.45rem;
}

.wordmark {
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  font-weight: 530;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.location {
  color: var(--muted);
  font-size: clamp(0.72rem, 0.9vw, 0.88rem);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 3.2rem);
}

.primary-nav a {
  position: relative;
  color: rgba(248, 250, 255, 0.88);
  font-size: clamp(0.72rem, 0.9vw, 0.88rem);
  text-decoration: none;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 360ms var(--ease-out);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.home-main {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100vh - 4.75rem);
  min-height: calc(100svh - 4.75rem);
  flex-direction: column;
  padding: clamp(8rem, 15vh, 10rem) var(--page-pad) clamp(1.35rem, 3vh, 2.25rem);
}

.profile {
  display: flex;
  width: min(100%, 92rem);
  align-items: center;
  gap: clamp(2rem, 4vw, 3.25rem);
  margin: 0 auto;
  scroll-margin-top: 7rem;
}

.portrait {
  position: relative;
  width: clamp(9.5rem, 12vw, 11.3rem);
  min-width: clamp(9.5rem, 12vw, 11.3rem);
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(236, 245, 255, 0.48);
  border-radius: 50%;
  background: #163653;
  box-shadow: 0 1.4rem 4.5rem rgba(0, 9, 29, 0.3);
  animation: enter-profile 900ms 180ms var(--ease-out) both;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 9, 25, 0.42);
  border-radius: inherit;
  pointer-events: none;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.profile-copy {
  text-shadow: 0 0.18rem 1.5rem rgba(0, 16, 48, 0.22);
  animation: enter-profile 900ms 260ms var(--ease-out) both;
}

.profile h1 {
  margin: 0;
  font-size: clamp(2rem, 3.45vw, 3.15rem);
  font-weight: 430;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.specialties {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.28vw, 1.22rem);
  font-weight: 360;
  line-height: 1.55;
}

.experience-lines {
  display: grid;
  width: min(100%, 31rem);
  margin: 1.25rem 0 0;
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  line-height: 1.25;
  text-shadow: none;
}

.experience-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: 1rem;
  padding: 0.52rem 0;
  border-top: 1px solid rgba(239, 246, 255, 0.28);
  animation: enter-detail 620ms var(--ease-out) both;
}

.experience-row:nth-child(1) {
  animation-delay: 480ms;
}

.experience-row:nth-child(2) {
  animation-delay: 570ms;
}

.experience-row:last-child {
  border-bottom: 1px solid rgba(239, 246, 255, 0.28);
}

.experience-row dt {
  color: rgba(235, 243, 255, 0.62);
  font-size: 0.58rem;
  font-weight: 680;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.experience-row--current dt {
  color: #c4e7ff;
}

.experience-row dd {
  display: grid;
  min-width: 0;
  margin: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1.5rem;
}

.experience-row strong {
  font-weight: 590;
}

.experience-period {
  color: rgba(241, 246, 255, 0.74);
  font-size: 0.8em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.manifesto {
  width: min(100%, 92rem);
  margin: auto auto 0;
}

.manifesto h2 {
  max-width: 19ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.45rem, 4vw, 4rem);
  font-weight: 410;
  letter-spacing: -0.052em;
  line-height: 0.99;
  text-wrap: balance;
  animation: enter-detail 720ms 520ms var(--ease-out) both;
}

.manifesto h2 span {
  display: block;
  color: rgba(247, 250, 255, 0.95);
}

.manifesto p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.72rem;
  margin: 1.15rem 0 0;
  color: rgba(244, 248, 255, 0.9);
  font-size: clamp(0.68rem, 0.82vw, 0.82rem);
  font-weight: 640;
  letter-spacing: 0.075em;
  line-height: 1.4;
  text-transform: uppercase;
  animation: enter-detail 650ms 640ms var(--ease-out) both;
}

.manifesto p span {
  color: rgba(196, 231, 255, 0.72);
}

@media (min-width: 1181px) {
  .manifesto h2 {
    color: #041a38;
  }

  .manifesto h2 span {
    color: rgba(4, 26, 56, 0.9);
  }

  .manifesto p {
    color: rgba(5, 31, 64, 0.82);
  }

  .manifesto p span {
    color: rgba(8, 51, 91, 0.64);
  }
}

.lower-content {
  width: min(100%, 92rem);
  margin: auto auto 0;
}

.selected-projects {
  display: grid;
  width: 100%;
  grid-template-columns: clamp(8.5rem, 13vw, 12rem) minmax(0, 48rem);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 3.25rem);
  margin: 0 0 clamp(2rem, 3.5vh, 2.75rem);
}

.selected-projects h2 {
  margin: 0.72rem 0 0;
  color: rgba(235, 243, 255, 0.64);
  font-size: 0.6rem;
  font-weight: 680;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
  animation: enter-detail 620ms 680ms var(--ease-out) both;
}

.project-list {
  border-bottom: 0;
}

.project-link {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(6.5rem, 0.62fr) minmax(10rem, 1.5fr) 10rem 1rem;
  align-items: baseline;
  gap: clamp(0.8rem, 1.5vw, 1.5rem);
  padding: 0.66rem 0;
  border-top: 1px solid rgba(239, 246, 255, 0.28);
  text-decoration: none;
  animation: enter-detail 620ms var(--ease-out) both;
}

.project-link:nth-child(1) {
  animation-delay: 750ms;
}

.project-link:nth-child(2) {
  animation-delay: 840ms;
}

.project-link:last-child {
  border-bottom: 1px solid rgba(239, 246, 255, 0.28);
}

.project-link strong {
  font-size: clamp(0.82rem, 0.95vw, 0.94rem);
  font-weight: 590;
  letter-spacing: -0.015em;
}

.project-description {
  min-width: 0;
  overflow: hidden;
  color: rgba(241, 246, 255, 0.72);
  font-size: clamp(0.72rem, 0.82vw, 0.82rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-status {
  color: rgba(235, 243, 255, 0.56);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-status--live {
  color: #c4e7ff;
}

.project-arrow {
  color: rgba(241, 246, 255, 0.66);
  font-size: 0.78rem;
  transition:
    color 180ms ease,
    transform 360ms var(--ease-out);
}

.project-link:hover strong,
.project-link:focus-visible strong,
.project-link:hover .project-arrow,
.project-link:focus-visible .project-arrow {
  color: #fff;
}

.project-link:hover .project-arrow,
.project-link:focus-visible .project-arrow {
  transform: translate(0.18rem, -0.18rem);
}

.networks {
  width: 100%;
  margin: 0;
  scroll-margin-top: 7rem;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
  animation: enter-detail 650ms 900ms var(--ease-out) both;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(0.9rem, 1.08vw, 1.06rem);
  font-weight: 450;
  letter-spacing: -0.01em;
  text-shadow: 0 0.12rem 0.8rem rgba(0, 7, 25, 0.76);
}

.section-heading span {
  height: 1px;
  flex: 1;
  background: var(--line);
  transform-origin: left;
  animation: grow-line 900ms 1040ms var(--ease-out) both;
}

.network-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  list-style: none;
}

.network-list li {
  animation: enter-network 650ms var(--network-delay, 980ms) var(--ease-out) both;
}

.network-list li:nth-child(1) { --network-delay: 980ms; }
.network-list li:nth-child(2) { --network-delay: 1020ms; }
.network-list li:nth-child(3) { --network-delay: 1060ms; }
.network-list li:nth-child(4) { --network-delay: 1100ms; }
.network-list li:nth-child(5) { --network-delay: 1140ms; }
.network-list li:nth-child(6) { --network-delay: 1180ms; }
.network-list li:nth-child(7) { --network-delay: 1220ms; }
.network-list li:nth-child(8) { --network-delay: 1260ms; }
.network-list li:nth-child(9) { --network-delay: 1300ms; }
.network-list li:nth-child(10) { --network-delay: 1340ms; }
.network-list li:nth-child(11) { --network-delay: 1380ms; }
.network-list li:nth-child(12) { --network-delay: 1420ms; }

.network-link {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  gap: 0.7rem;
  color: rgba(246, 249, 255, 0.9);
  text-align: center;
  text-decoration: none;
}

.network-icon {
  display: grid;
  width: clamp(2.7rem, 3.7vw, 3.45rem);
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(239, 246, 255, 0.44);
  border-radius: 50%;
  background: rgba(3, 15, 39, 0.5);
  box-shadow: 0 0.8rem 2.1rem rgba(0, 7, 22, 0.14);
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    transform 440ms var(--ease-out),
    box-shadow 440ms var(--ease-out);
}

.network-icon .fa {
  color: #fff;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
}

.network-brand-icon {
  width: clamp(1rem, 1.45vw, 1.35rem);
  height: auto;
  filter: grayscale(1) brightness(0) invert(1);
}

.network-icon--music,
.network-icon--email,
.network-icon--x {
  color: #fff;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
}

.network-icon--music {
  background: rgba(3, 15, 39, 0.5);
}

.network-icon--email,
.network-icon--x {
  background: rgba(3, 15, 39, 0.66);
}

.network-icon--x {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 520;
}

.network-label {
  max-width: 7.2rem;
  color: rgba(246, 249, 255, 0.86);
  font-size: clamp(0.64rem, 0.72vw, 0.74rem);
  line-height: 1.25;
  text-shadow: 0 0.12rem 0.7rem rgba(0, 6, 22, 0.92);
  transition: color 180ms ease;
}

.network-link:hover .network-icon,
.network-link:focus-visible .network-icon {
  border-color: rgba(255, 255, 255, 0.92);
  background-color: rgba(15, 47, 86, 0.7);
  box-shadow: 0 1.2rem 2.8rem rgba(0, 8, 29, 0.28);
  transform: translateY(-0.38rem) scale(1.04);
}

.network-link:hover .network-label,
.network-link:focus-visible .network-label {
  color: #fff;
}

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-inline: var(--page-pad);
  border-top: 1px solid rgba(235, 243, 255, 0.25);
  color: rgba(238, 244, 255, 0.62);
  font-size: clamp(0.62rem, 0.78vw, 0.74rem);
  animation: enter-detail 650ms 1450ms var(--ease-out) both;
}

.site-footer p {
  margin: 0;
}

.site-footer p span {
  color: rgba(238, 244, 255, 0.82);
}

.site-footer .fa-heart {
  color: #f19c9d;
}

.site-footer a {
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: #fff;
}

a:focus-visible {
  border-radius: 0.2rem;
  outline: 2px solid #fff;
  outline-offset: 5px;
}

@keyframes enter-header {
  from { opacity: 0; transform: translateY(-0.75rem); }
  to { opacity: 1; transform: none; }
}

@keyframes settle-sky {
  from {
    opacity: 0.48;
    filter: saturate(0.78) brightness(0.78);
  }
  to {
    opacity: 1;
    filter: none;
  }
}

@keyframes reveal-clouds {
  from { opacity: 0; }
  to { opacity: 0.72; }
}

@keyframes reveal-clouds-mobile {
  from { opacity: 0; }
  to { opacity: 0.62; }
}

@keyframes reveal-smoke {
  from { opacity: 0; }
  to { opacity: 0.9; }
}

@keyframes enter-guardian-star {
  from { opacity: 0; transform: translateY(0.65rem) scale(0.82); }
  to { opacity: 1; transform: none; }
}

@keyframes guardian-star-breathe {
  0%, 100% { opacity: 0.58; transform: scale(0.82); }
  38% { opacity: 0.92; transform: scale(1.08); }
  46% { opacity: 0.68; transform: scale(0.96); }
  72% { opacity: 0.82; transform: scale(1.02); }
}

@keyframes guardian-star-twinkle {
  0%, 100% { opacity: 0.78; transform: scale(0.86) rotate(-3deg); }
  18% { opacity: 0.96; transform: scale(1.04) rotate(0deg); }
  24% { opacity: 0.8; transform: scale(0.9) rotate(2deg); }
  55% { opacity: 1; transform: scale(1.16) rotate(-1deg); }
  63% { opacity: 0.72; transform: scale(0.84) rotate(1deg); }
  78% { opacity: 0.93; transform: scale(1.02) rotate(0deg); }
}

@keyframes enter-profile {
  from { opacity: 0; transform: translateY(1.3rem); }
  to { opacity: 1; transform: none; }
}

@keyframes enter-detail {
  from { opacity: 0; transform: translateY(0.65rem); }
  to { opacity: 1; transform: none; }
}

@keyframes enter-networks {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: none; }
}

@keyframes enter-network {
  from { opacity: 0; transform: translateY(0.8rem) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes grow-line {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 1180px) {
  .network-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.35rem 0.4rem;
  }

  .home-main {
    min-height: auto;
    padding-bottom: 2.4rem;
  }

  .profile {
    margin-bottom: 0;
  }

  .manifesto {
    margin-top: clamp(2.2rem, 5vh, 3.25rem);
  }

  .lower-content {
    margin-top: clamp(2rem, 4.5vh, 3.5rem);
  }

  .selected-projects {
    margin-bottom: clamp(3rem, 7vh, 4.5rem);
  }
}

@media (min-width: 2200px) {
  .profile,
  .manifesto,
  .lower-content {
    width: min(100%, 110rem);
  }

  .portrait {
    width: 13rem;
    min-width: 13rem;
  }

  .profile h1 {
    font-size: 3.55rem;
  }

  .specialties {
    font-size: 1.32rem;
  }

  .experience-lines {
    font-size: 1.02rem;
  }

  .selected-projects {
    grid-template-columns: 13rem minmax(0, 54rem);
  }

  .network-icon {
    width: 4rem;
  }

  .network-label {
    font-size: 0.82rem;
  }
}

@media (max-width: 720px) {
  .sky-image {
    background-position: 44% center;
  }

  .cloud-canvas {
    opacity: 0.62;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 56%,
      rgba(0, 0, 0, 0.3) 67%,
      #000 80%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 56%,
      rgba(0, 0, 0, 0.3) 67%,
      #000 80%
    );
    animation-name: reveal-clouds-mobile;
  }

  .sky::before {
    background:
      linear-gradient(
        180deg,
        rgba(0, 8, 35, 0.24) 0%,
        rgba(0, 15, 44, 0.18) 24%,
        rgba(0, 14, 42, 0.66) 48%,
        rgba(0, 11, 33, 0.8) 78%,
        #020b20 100%
      ),
      linear-gradient(90deg, rgba(1, 10, 32, 0.12), transparent 70%);
  }

  .guardian-star {
    top: 8.45rem;
    right: 1.15rem;
  }

  .guardian-star__caption {
    display: none;
  }

  .site-header {
    position: fixed;
    min-height: 5.25rem;
    align-items: center;
    padding-top: 0;
    transition:
      background-color 260ms ease,
      border-color 260ms ease,
      box-shadow 260ms ease;
  }

  .site-header.is-stuck {
    border-bottom: 1px solid rgba(232, 243, 255, 0.18);
    background: rgba(2, 15, 40, 0.68);
    box-shadow: 0 0.7rem 2.2rem rgba(0, 7, 25, 0.16);
    -webkit-backdrop-filter: blur(18px) saturate(1.16);
    backdrop-filter: blur(18px) saturate(1.16);
  }

  .identity {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .primary-nav {
    gap: 1.2rem;
  }

  .primary-nav a:first-child {
    display: none;
  }

  .home-main {
    padding-top: 7rem;
  }

  .profile {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
  }

  .experience-lines {
    width: min(100%, 27rem);
  }

  .portrait {
    width: 8.4rem;
    min-width: 8.4rem;
  }

  .profile h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .profile-copy {
    text-shadow: 0 0.18rem 1.5rem rgba(0, 7, 25, 0.8);
  }

  .specialties {
    color: rgba(245, 248, 255, 0.9);
  }

  .manifesto h2 {
    max-width: 18ch;
    font-size: clamp(1.7rem, 7vw, 2.2rem);
    line-height: 1.04;
  }

  .manifesto p {
    gap: 0.28rem 0.55rem;
    margin-top: 0.85rem;
    font-size: 0.61rem;
    letter-spacing: 0.055em;
  }

  .selected-projects {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .selected-projects h2 {
    margin: 0;
  }

  .project-link {
    grid-template-columns: minmax(5.5rem, 0.7fr) minmax(0, 1.35fr) auto;
    gap: 0.75rem;
  }

  .project-description {
    white-space: normal;
  }

  .project-status {
    display: none;
  }

  .network-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem 0.4rem;
  }

  .network-icon {
    width: 3.25rem;
  }

  .network-label {
    font-size: 0.65rem;
  }

  .site-footer {
    min-height: 6.5rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.55rem;
  }
}

@media (max-width: 430px) {
  :root {
    --page-pad: 1rem;
  }

  .primary-nav a:nth-child(2) {
    display: none;
  }

  .network-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-height: 720px) and (min-width: 1181px) {
  .site-header {
    min-height: 5.75rem;
  }

  .home-main {
    padding-top: 5.75rem;
  }

  .profile {
    margin-block: 1rem 2rem;
  }

  .portrait {
    width: 8.5rem;
    min-width: 8.5rem;
  }

  .section-heading {
    margin-bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-delay: 0ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .smoke-canvas {
    display: none;
  }

  .cloud-canvas {
    display: none;
  }

  .guardian-star,
  .guardian-star::before,
  .guardian-star__light {
    animation: none !important;
  }

  .guardian-star {
    opacity: 1;
  }

  .guardian-star::before {
    opacity: 0.72;
    transform: none;
  }

  .guardian-star__light {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-data: reduce) {
  .cloud-canvas {
    display: none;
  }
}
