:root {
  --bg: #f5f3ee;
  --ink: #0b0b0b;
  --muted: #62615c;
  --line: rgba(11, 11, 11, 0.14);
  --paper: #ffffff;
  --accent: #d7ff4f;
  --steel: #cbd2d8;
  --night: #15162c;
  --cream: #fff5df;
  --logo-red: rgb(193, 0, 0);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 32%, rgba(255, 245, 223, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 52% 17%, rgba(255, 245, 223, 0.24) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 72%, rgba(255, 245, 223, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 27% 84%, rgba(255, 245, 223, 0.14) 0 2px, transparent 3px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--night);
  background-attachment: fixed;
  background-size: auto, auto, auto, auto, 3px 3px, 4px 4px, auto;
  color: var(--cream);
  font-family: "Noto Serif SC", Georgia, serif;
  overflow-x: hidden;
}

body.intro-playing {
  overflow: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

body::before {
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 245, 223, 0.34) 0 1px, transparent 2px),
    radial-gradient(circle at 21% 75%, rgba(255, 245, 223, 0.28) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 38%, rgba(255, 245, 223, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle at 63% 84%, rgba(255, 245, 223, 0.3) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 28%, rgba(255, 245, 223, 0.24) 0 1px, transparent 2px),
    linear-gradient(116deg, transparent 0 42%, rgba(255, 245, 223, 0.055) 42.2% 42.5%, transparent 42.7% 100%),
    linear-gradient(68deg, transparent 0 64%, rgba(255, 245, 223, 0.04) 64.2% 64.4%, transparent 64.6% 100%);
  opacity: 0.86;
  animation: starDrift 18s ease-in-out infinite alternate;
}

body::after {
  background:
    linear-gradient(rgba(255, 245, 223, 0.02) 1px, transparent 1px),
    radial-gradient(ellipse at center, transparent 0 55%, rgba(0, 0, 0, 0.18) 100%);
  background-size: 100% 5px, auto;
  mix-blend-mode: screen;
  opacity: 0.42;
  animation: fieldPulse 8s ease-in-out infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: #000000;
  overflow: hidden;
  animation:
    introBackdrop 3100ms ease forwards,
    introExit 900ms ease 3s forwards;
}

.intro-noise {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 4px 4px, 6px 6px;
  opacity: 0;
  animation: introNoise 2400ms steps(5) forwards;
}

.blade-mark {
  position: relative;
  width: clamp(190px, 26vw, 380px);
  aspect-ratio: 1.42 / 1;
  color: var(--logo-red);
  filter: drop-shadow(0 0 28px rgba(193, 0, 0, 0.6));
  animation: markIgnite 2800ms cubic-bezier(0.18, 0.9, 0.2, 1) forwards;
}

.blade-logo {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.logo-piece {
  fill: currentColor;
  shape-rendering: geometricPrecision;
  transform-box: fill-box;
  transform-origin: center;
}

.mark-left {
  animation: markLeftSlice 2600ms cubic-bezier(0.2, 0.85, 0.18, 1) forwards;
}

.mark-right {
  animation: markRightSlice 2600ms cubic-bezier(0.2, 0.85, 0.18, 1) forwards;
}

.mark-cut {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 165%;
  height: 10px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), #ffffff 46%, var(--logo-red) 54%, transparent);
  box-shadow:
    0 0 28px rgba(193, 0, 0, 0.95),
    0 0 50px rgba(255, 255, 255, 0.42);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(48deg) scaleX(0);
  animation: diagonalCut 2600ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

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

.intro-loader::before {
  background: linear-gradient(132deg, transparent 43%, rgba(193, 0, 0, 0.38) 49%, rgba(255, 255, 255, 0.28) 50%, transparent 57%);
  opacity: 0;
  transform: translateX(-22%);
  animation: screenSlash 2600ms ease forwards;
}

.intro-loader::after {
  background:
    linear-gradient(180deg, transparent, rgba(193, 0, 0, 0.25), transparent),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  opacity: 0;
  animation: finalFlash 2600ms ease forwards;
}

.cursor-dot {
  position: fixed;
  z-index: 40;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px 26px;
  border-bottom: 1px solid rgba(255, 245, 223, 0.08);
  background: rgba(21, 22, 44, 0.28);
  color: var(--cream);
  backdrop-filter: blur(18px);
  transition: background 500ms ease, color 500ms ease, border-color 500ms ease, transform 500ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(255, 245, 223, 0.08);
  background: rgba(21, 22, 44, 0.58);
  color: var(--cream);
}

.brand {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--cream);
  color: var(--night);
  font-family: inherit;
  font-weight: 700;
  border-radius: 50%;
  transition: transform 400ms ease, box-shadow 400ms ease;
}

.brand:hover {
  box-shadow: 0 0 26px rgba(255, 245, 223, 0.28);
  transform: rotate(-8deg) scale(1.06);
}

.site-header.is-scrolled .brand {
  background: var(--cream);
  color: var(--night);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 54px);
  font-size: 14px;
  font-weight: 800;
  text-transform: lowercase;
}

.nav-links a,
.site-footer a {
  position: relative;
}

.nav-links a::after,
.site-footer a::after {
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
  content: "";
}

.nav-links a:hover::after,
.site-footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: lowercase;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(215, 255, 79, 0.7);
  animation: pulse 1.8s infinite;
}

.section-band {
  position: relative;
  padding: clamp(76px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.hero {
  min-height: 100svh;
  padding: clamp(88px, 8vw, 116px) clamp(20px, 5vw, 92px) clamp(46px, 5vw, 78px);
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
}

.hero-grid {
  width: 100%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(1180px, 92vw);
  margin-bottom: clamp(38px, 10vh, 104px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: clamp(12px, 1.4vw, 22px);
  font-family: inherit;
  font-size: clamp(58px, 7.2vw, 118px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 0;
  max-width: none;
}

.hero-intro {
  margin: 0 0 clamp(12px, 1.5vw, 24px);
  font-family: inherit;
  font-size: clamp(20px, 1.8vw, 30px);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.hero-statement {
  margin-bottom: clamp(14px, 1.8vw, 28px);
  font-family: inherit;
  font-size: clamp(26px, 2.6vw, 42px);
  font-weight: 800;
  line-height: 1.06;
}

.hero-text {
  max-width: 980px;
  color: rgba(255, 245, 223, 0.92);
  font-size: clamp(16px, 1.15vw, 20px);
  font-weight: 600;
  line-height: 1.68;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--cream);
  color: var(--night);
}

.button-light {
  background: transparent;
  color: var(--cream);
}

.stars span {
  position: absolute;
  width: var(--size, 5px);
  height: var(--size, 5px);
  left: var(--x);
  top: var(--y);
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 16px rgba(255, 245, 223, 0.45);
  opacity: var(--alpha, 0.9);
  pointer-events: none;
  animation: twinkle 4.5s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.stars span:nth-child(1) { --x: 4%; --y: 63%; --size: 5px; --delay: 0.1s; }
.stars span:nth-child(2) { --x: 12%; --y: 36%; --size: 8px; --delay: 1.2s; }
.stars span:nth-child(3) { --x: 28%; --y: 88%; --size: 7px; --delay: 0.7s; }
.stars span:nth-child(4) { --x: 41%; --y: 22%; --size: 3px; --alpha: 0.75; --delay: 1.8s; }
.stars span:nth-child(5) { --x: 54%; --y: 77%; --size: 5px; --delay: 2.4s; }
.stars span:nth-child(6) { --x: 67%; --y: 18%; --size: 8px; --delay: 0.5s; }
.stars span:nth-child(7) { --x: 83%; --y: 49%; --size: 5px; --delay: 1.4s; }
.stars span:nth-child(8) { --x: 92%; --y: 66%; --size: 8px; --delay: 2.1s; }
.stars span:nth-child(9) { --x: 36%; --y: 43%; --size: 4px; --alpha: 0.82; --delay: 0.2s; }
.stars span:nth-child(10) { --x: 76%; --y: 86%; --size: 6px; --delay: 2.8s; }
.stars span:nth-child(11) { --x: 98%; --y: 24%; --size: 3px; --alpha: 0.75; --delay: 1.1s; }
.stars span:nth-child(12) { --x: 18%; --y: 79%; --size: 4px; --alpha: 0.78; --delay: 1.9s; }

.about,
.cool {
  background: transparent;
}

.about-keijay {
  width: min(1500px, 100%);
  margin: 0 auto;
}

.about-title {
  margin-bottom: clamp(24px, 4vw, 56px);
  color: var(--cream);
  font-size: clamp(40px, 5.2vw, 78px);
  line-height: 1;
  letter-spacing: 0;
}

.about-copy p {
  max-width: 1180px;
  margin: 0 auto;
  color: #30302c;
  font-size: clamp(17px, 1.35vw, 23px);
  font-weight: 600;
  line-height: 1.75;
}

.about-gallery {
  position: relative;
  min-height: clamp(620px, 72vw, 980px);
  margin-top: clamp(58px, 8vw, 120px);
}

.photo-placeholder {
  position: absolute;
  width: min(34vw, 460px);
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 245, 223, 0.32);
  border-radius: 16px;
  background: rgba(255, 245, 223, 0.12);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  color: rgba(255, 245, 223, 0.82);
  font-size: clamp(44px, 6vw, 86px);
  font-weight: 900;
  transform: translate3d(0, 0, 0);
  transition: border-color 450ms ease, box-shadow 450ms ease, transform 450ms ease;
  animation: photoFloat 7s ease-in-out infinite;
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
  transition: filter 500ms ease, transform 700ms ease;
}

.photo-placeholder:hover {
  border-color: rgba(255, 245, 223, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34), 0 0 30px rgba(255, 245, 223, 0.12);
  animation-play-state: paused;
  transform: translate3d(0, -10px, 0) rotate(0.2deg);
}

.photo-placeholder:hover img {
  filter: saturate(1.08) contrast(1.06);
  transform: scale(1.035);
}

.photo-a1 {
  top: 0;
  left: 24%;
}

.photo-a2 {
  top: 30%;
  left: 38%;
  animation-delay: -2.4s;
}

.photo-a3 {
  top: 58%;
  left: 52%;
  animation-delay: -4.6s;
}

.work {
  background: transparent;
}

.project-list {
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px solid var(--ink);
}

.project-card {
  display: grid;
  grid-template-columns: 76px minmax(210px, 0.62fr) minmax(260px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--ink);
  color: inherit;
  overflow: hidden;
  position: relative;
}

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 245, 223, 0.08), transparent);
  opacity: 0;
  transform: translateX(-70%);
  transition: opacity 300ms ease, transform 700ms ease;
  content: "";
}

.project-card:hover::after {
  opacity: 1;
  transform: translateX(70%);
}

.project-index {
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
}

.project-card h3 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.06;
  text-transform: uppercase;
}

.project-card p {
  margin-bottom: 0;
  color: #30302c;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.58;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 190px;
}

.tags span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1320px;
  margin: 0 auto;
}

.note {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 245, 223, 0.055);
  position: relative;
  overflow: hidden;
  transition: transform 360ms ease, border-color 360ms ease, background 360ms ease;
}

.note:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
}

.note::before {
  position: absolute;
  inset: -1px;
  background: linear-gradient(140deg, rgba(255, 245, 223, 0.16), transparent 38%, rgba(255, 245, 223, 0.08));
  opacity: 0;
  transition: opacity 360ms ease;
  content: "";
}

.note:hover::before {
  opacity: 1;
}

.note > * {
  position: relative;
  z-index: 1;
}

.note span {
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.note h3 {
  margin: 54px 0 16px;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.08;
}

.note p {
  color: var(--muted);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.58;
}

.detail-main {
  background: transparent;
}

.detail-hero {
  min-height: 74svh;
  padding-top: clamp(112px, 13vw, 160px);
  background: transparent;
  color: var(--cream);
}

.detail-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.detail-hero h1 {
  max-width: 9ch;
  margin-bottom: 26px;
}

.detail-lede {
  max-width: 760px;
  color: rgba(255, 245, 223, 0.9);
  font-size: clamp(19px, 2.1vw, 30px);
  line-height: 1.38;
}

.detail-body {
  padding-top: clamp(72px, 10vw, 120px);
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 7vw, 88px);
  align-items: start;
}

.detail-meta {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-meta span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
}

.detail-copy p {
  color: #30302c;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.72;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.detail-actions .button-dark {
  background: var(--ink);
  color: var(--bg);
}

.detail-actions .button-light {
  color: var(--ink);
}

.contact {
  min-height: 70svh;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--cream);
  text-align: center;
}

.contact-inner {
  width: min(840px, 100%);
}

.contact .eyebrow {
  color: var(--steel);
}

.contact-link {
  display: inline-block;
  margin-top: 18px;
  border-bottom: 2px solid currentColor;
  font-size: clamp(22px, 3.6vw, 46px);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  background: rgba(21, 22, 44, 0.88);
  color: var(--cream);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  color: rgba(255, 245, 223, 0.62);
}

.about,
.cool,
.work,
.detail-main,
.detail-hero,
.contact {
  background: transparent;
}

.about h2,
.contact h2,
.project-card h3,
.note h3 {
  color: var(--cream);
}

.about-copy p,
.project-card p,
.note p,
.detail-copy p {
  color: rgba(255, 245, 223, 0.78);
}

.stats div,
.project-list,
.project-card,
.detail-meta {
  border-color: rgba(255, 245, 223, 0.7);
}

.stats span,
.project-index,
.detail-meta span {
  color: rgba(255, 245, 223, 0.58);
}

.tags span {
  border-color: rgba(255, 245, 223, 0.2);
  background: rgba(255, 245, 223, 0.08);
  color: var(--cream);
}

.note {
  border-color: rgba(255, 245, 223, 0.16);
  background: rgba(255, 245, 223, 0.055);
}

.note:hover {
  border-color: rgba(255, 245, 223, 0.72);
}

.contact {
  color: var(--cream);
}

.contact .eyebrow,
.detail-lede {
  color: rgba(255, 245, 223, 0.9);
}

.contact-link {
  color: var(--cream);
}

.detail-actions .button-dark {
  background: var(--cream);
  color: var(--night);
}

.detail-actions .button-light {
  color: var(--cream);
}

.site-footer {
  background: rgba(21, 22, 44, 0.88);
  color: var(--cream);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  filter: blur(8px);
  transition: opacity 900ms ease, transform 900ms ease, filter 900ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.slow-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(8px);
  transition: opacity 1100ms ease, transform 1100ms ease, filter 1100ms ease;
}

.slow-word.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgba(215, 255, 79, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(215, 255, 79, 0);
  }
}

@keyframes starDrift {
  0% {
    opacity: 0.72;
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 0.95;
    transform: translate3d(-18px, 14px, 0);
  }
}

@keyframes fieldPulse {
  0%,
  100% {
    opacity: 0.32;
  }
  50% {
    opacity: 0.52;
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: calc(var(--alpha, 0.9) * 0.48);
    transform: scale(0.82);
  }
  50% {
    opacity: var(--alpha, 0.9);
    transform: scale(1.18);
  }
}

@keyframes photoFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.2deg);
  }
  50% {
    transform: translate3d(0, -12px, 0) rotate(0.35deg);
  }
}

@keyframes introNoise {
  0% {
    opacity: 0;
  }
  22%,
  78% {
    opacity: 0.28;
  }
  100% {
    opacity: 0;
  }
}

@keyframes introBackdrop {
  0%,
  50% {
    background:
      radial-gradient(circle at 50% 50%, rgba(193, 0, 0, 0.16), transparent 34%),
      #000000;
  }
  62% {
    background:
      radial-gradient(circle at 50% 50%, rgba(255, 245, 223, 0.08), transparent 38%),
      var(--night);
  }
  84% {
    background:
      radial-gradient(circle at 50% 50%, rgba(21, 22, 44, 0.12), transparent 42%),
      var(--cream);
  }
  100% {
    background:
      radial-gradient(circle at 50% 50%, rgba(21, 22, 44, 0.08), transparent 42%),
      var(--cream);
  }
}

@keyframes markIgnite {
  0% {
    color: var(--logo-red);
    opacity: 0;
    transform: scale(0.86);
    filter: drop-shadow(0 0 0 rgba(193, 0, 0, 0));
  }
  18% {
    opacity: 1;
    transform: scale(1.02);
  }
  38% {
    transform: scale(1);
  }
  58% {
    color: var(--logo-red);
    filter: drop-shadow(0 0 36px rgba(193, 0, 0, 0.82));
  }
  66% {
    color: var(--night);
    filter: drop-shadow(0 0 26px rgba(21, 22, 44, 0.4));
  }
  100% {
    color: var(--night);
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes diagonalCut {
  0%,
  38% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(48deg) scaleX(0);
  }
  48% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(48deg) scaleX(1);
  }
  60% {
    opacity: 0.85;
    transform: translate(-50%, -50%) rotate(48deg) scaleX(1.1);
  }
  76%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(48deg) scaleX(0);
  }
}

@keyframes markLeftSlice {
  0%,
  46% {
    transform: translate(0, 0) skew(0deg);
  }
  58% {
    transform: translate(-12px, 10px) skew(-1.5deg);
  }
  72% {
    transform: translate(-8px, 7px) skew(-1deg);
  }
  100% {
    transform: translate(-8px, 7px) skew(-1deg);
  }
}

@keyframes markRightSlice {
  0%,
  46% {
    transform: translate(0, 0) skew(0deg);
  }
  58% {
    transform: translate(12px, -10px) skew(-1.5deg);
  }
  72% {
    transform: translate(8px, -7px) skew(-1deg);
  }
  100% {
    transform: translate(8px, -7px) skew(-1deg);
  }
}

@keyframes screenSlash {
  0%,
  38% {
    opacity: 0;
    transform: translateX(-32%);
  }
  49% {
    opacity: 1;
    transform: translateX(0);
  }
  62% {
    opacity: 0;
    transform: translateX(20%);
  }
  100% {
    opacity: 0;
    transform: translateX(20%);
  }
}

@keyframes finalFlash {
  0%,
  62% {
    opacity: 0;
  }
  70% {
    opacity: 0.38;
  }
  82%,
  100% {
    opacity: 0;
  }
}

@keyframes introExit {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    padding-top: 148px;
  }

  .hero-grid,
  .notes-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .about-gallery {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .photo-placeholder {
    position: static;
    width: min(100%, 520px);
    margin-inline: auto;
  }

  h1 {
    font-size: clamp(46px, 13vw, 84px);
    max-width: 10ch;
  }

  .project-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tags {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .cursor-dot {
    display: none;
  }

  .status-pill {
    min-height: 34px;
    padding-inline: 11px;
  }

  .section-band {
    padding-inline: 16px;
  }

  .hero {
    align-items: end;
    padding-top: 124px;
    padding-bottom: 48px;
  }

  .hero-copy {
    margin-bottom: 0;
  }

  .hero-intro {
    font-size: clamp(19px, 5.8vw, 30px);
  }

  .hero-statement {
    font-size: clamp(24px, 7.2vw, 40px);
  }

  .hero-text {
    font-size: clamp(15px, 4.2vw, 19px);
    line-height: 1.65;
  }

  .button {
    width: 100%;
  }

  .about-title {
    font-size: clamp(36px, 12vw, 60px);
  }

  .about-copy p {
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.72;
  }

  .note {
    min-height: 230px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-loader {
    display: none;
  }

  body.intro-playing {
    overflow: auto;
  }

  body::before,
  body::after,
  .stars span,
  .photo-placeholder {
    animation: none !important;
  }

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