:root {
  --bg: #080a12;
  --bg-2: #0d1020;
  --panel: #121625;
  --panel-2: #171b2c;
  --text: #f6f7fb;
  --muted: #a8adbd;
  --faint: #73798e;
  --line: rgba(255, 255, 255, 0.1);
  --purple: #9b5cff;
  --violet: #713cff;
  --blue: #3b82ff;
  --cyan: #4cc9ff;
  --radius: 15px;
  --shell: 1180px;
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.35);
  --focus-ring: 0 0 0 3px rgba(76, 201, 255, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background:
    radial-gradient(circle at 62% 8%, rgba(91, 52, 255, 0.13), transparent 27%),
    radial-gradient(circle at 18% 56%, rgba(0, 103, 255, 0.08), transparent 25%),
    linear-gradient(180deg, #080a12 0%, #090b14 100%);
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 10px;
}

.shell {
  width: min(calc(100% - 42px), var(--shell));
  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: fixed;
  left: 1rem;
  top: 1rem;
  transform: translateY(-180%);
  background: #fff;
  color: #000;
  padding: 0.7rem 1rem;
  z-index: 999;
  border-radius: 8px;
}

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

.page-glow {
  position: fixed;
  width: 45vw;
  height: 45vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.08;
  pointer-events: none;
  z-index: -2;
}

.page-glow-one {
  top: 22vh;
  left: -25vw;
  background: #2b6fff;
}

.page-glow-two {
  top: 60vh;
  right: -25vw;
  background: #8d42ff;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 10, 18, 0.73);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  gap: 0.48rem;
  align-items: center;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.brand-name {
  font-size: 1.03rem;
}

.brand-code {
  color: var(--purple);
  font-size: 0.86rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
  color: #eceef7;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -13px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  transition: 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: #fff;
  margin: 6px 0;
}

.hero {
  position: relative;
  min-height: 690px;
  padding-top: 118px;
  padding-bottom: 70px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 2rem;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 100vw;
  height: 70px;
  transform: translateX(-50%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(180deg, rgba(20, 23, 38, 0.45), rgba(11, 13, 22, 0.9));
  z-index: -1;
}

.micro-badge {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.045);
  padding: 0.42rem 0.62rem;
  border-radius: 7px;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #e9eaf1;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(3.4rem, 6.3vw, 6.25rem);
  line-height: 0.92;
  margin: 0.1rem 0 0.7rem;
  letter-spacing: -0.065em;
  font-weight: 900;
}

.hero-role {
  margin: 0 0 1.4rem;
  font-size: 1rem;
  color: #eff0f6;
  font-weight: 600;
}

.hero-role i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8e93a2;
  display: inline-block;
  margin: 0.1rem 0.45rem;
}

.hero-role span {
  color: #a669ff;
}

.hero-lede {
  max-width: 590px;
  color: #b8bdcb;
  font-size: 1.03rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.1rem;
}

.resume-link {
  display: inline-flex;
  gap: 0.35rem;
  margin-top: 0.9rem;
  color: #b7bcc9;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.resume-link:hover {
  color: #c29cff;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0 1.45rem;
  border-radius: 11px;
  text-decoration: none;
  font-size: 0.81rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: 0.22s ease;
}

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

.button.primary {
  border-color: transparent;
  background: linear-gradient(100deg, #9a3cff 0%, #6e52ff 45%, #3288ff 100%);
  box-shadow: 0 12px 30px rgba(104, 65, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button.ghost {
  background: rgba(13, 16, 28, 0.65);
}

.button.ghost:hover {
  border-color: rgba(155, 92, 255, 0.75);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}

.social-icons a {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #e5e7ee;
  font-size: 0.74rem;
  font-weight: 800;
  opacity: 0.88;
  transition: 0.2s ease;
}

.social-icons a:hover {
  opacity: 1;
  color: #9c63ff;
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  min-height: 515px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.portrait-aura {
  position: absolute;
  width: 72%;
  height: 72%;
  left: 17%;
  top: 13%;
  background: radial-gradient(circle, #5f2fff 0%, rgba(89, 36, 235, 0.7) 22%, rgba(55, 36, 180, 0.25) 50%, transparent 70%);
  filter: blur(9px);
}

.portrait-cutout {
  position: relative;
  width: min(510px, 85%);
  aspect-ratio: 1 / 1;
  border-radius: 48% 48% 24% 24%;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}

.portrait-cutout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  filter: saturate(0.85) contrast(1.03);
}

.scribble {
  --scribble-rotation: -4deg;
  position: absolute;
  font-family: "Patrick Hand", "Comic Sans MS", "Segoe Print", cursive;
  color: #8e68ff;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  transform: rotate(var(--scribble-rotation));
  text-shadow: 0 0 24px rgba(112, 73, 255, 0.4);
}

.hero-visual .scribble {
  animation: scribble-wobble var(--scribble-duration, 7.5s) ease-in-out infinite;
  animation-delay: var(--scribble-delay, 0s);
  will-change: transform;
}

@keyframes scribble-wobble {
  0%,
  100% {
    transform: translate(0, 0) rotate(var(--scribble-rotation));
  }

  35% {
    transform: translate(2px, -3px) rotate(calc(var(--scribble-rotation) + 1deg));
  }

  70% {
    transform: translate(-2px, 2px) rotate(calc(var(--scribble-rotation) - 0.8deg));
  }
}

.note-coffee {
  left: 2%;
  top: 16%;
}

.note-dog {
  right: 6%;
  top: 5%;
  --scribble-rotation: 5deg;
  --scribble-delay: -2.1s;
  --scribble-duration: 8.6s;
}

.note-builder {
  right: 0;
  top: 43%;
  --scribble-rotation: 3deg;
  --scribble-delay: -4.7s;
  --scribble-duration: 7.9s;
}

.note-crazy {
  left: 1%;
  bottom: 18%;
  --scribble-rotation: -7deg;
  --scribble-delay: -6.3s;
  --scribble-duration: 9.1s;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 25px;
  height: 35px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
}

.scroll-cue span {
  width: 10px;
  height: 10px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
  animation: bob 1.6s infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(-3px) rotate(45deg);
    opacity: 0.5;
  }

  50% {
    transform: translateY(5px) rotate(45deg);
    opacity: 1;
  }
}

.section {
  padding: 64px 0;
  position: relative;
}

.section-kicker {
  color: #9d6bff;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.compact-title {
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  margin: 0;
  letter-spacing: -0.035em;
}

.work-section {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 17, 29, 0.85), rgba(10, 12, 21, 0.96));
}

.service-grid {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem;
}

.service-icon,
.project-icon,
.now-icon {
  color: #8d5cff;
  font-size: 1.65rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 0.92rem;
  margin: 0 0 0.8rem;
}

.service-card p {
  color: #aeb4c2;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.7;
}

.featured-work {
  background:
    radial-gradient(circle at 80% 32%, rgba(110, 45, 205, 0.32), transparent 34%),
    radial-gradient(circle at 12% 50%, rgba(36, 108, 209, 0.23), transparent 35%),
    linear-gradient(110deg, #0b1a32 0%, #12102b 55%, #200d35 100%);
  border-bottom: 1px solid var(--line);
}

.section-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.small-link {
  color: #a572ff;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.small-link:hover {
  color: #c29cff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.1rem;
}

.project-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(150deg, rgba(26, 30, 45, 0.84), rgba(18, 21, 33, 0.76));
  border-radius: var(--radius);
  padding: 1.55rem;
  min-height: 235px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: 0.25s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(146, 99, 255, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.project-card h3 {
  margin: 0 0 0.9rem;
  font-size: 1.04rem;
}

.project-card p {
  color: #aeb5c4;
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.tag-list {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.tag-list span {
  font-size: 0.61rem;
  color: #c7cad4;
  padding: 0.33rem 0.48rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.favorites {
  background: #090b13;
}

.mosaic {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 1.35fr;
  grid-template-rows: 190px 190px;
  gap: 0.6rem;
}

.mosaic-card {
  position: relative;
  min-height: 0;
  padding: 0;
  appearance: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #131624;
}

.music-card {
  grid-row: 1 / 3;
}

.photo-card {
  grid-column: 3;
  grid-row: 1;
}

.making-card {
  grid-column: 3;
  grid-row: 2;
}

.mosaic-card img,
.mosaic-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-card img {
  filter: saturate(0.75) contrast(1.08) brightness(0.65);
}

.mosaic-placeholder {
  background-size: cover;
  background-position: center;
}

.music-placeholder {
  background: radial-gradient(circle at 30% 30%, rgba(188, 50, 255, 0.42), transparent 25%), linear-gradient(145deg, #0d0e17, #321044 45%, #0d2e48 100%);
}

.photo-placeholder {
  background: linear-gradient(160deg, rgba(240, 152, 67, 0.24), transparent 35%), radial-gradient(circle at 68% 30%, #b06936 0%, #543239 19%, #182337 48%, #09101d 78%);
}

.gaming-placeholder {
  background:
    radial-gradient(circle at 58% 54%, rgba(0, 205, 255, 0.25), transparent 16%),
    radial-gradient(circle at 40% 62%, rgba(184, 0, 255, 0.31), transparent 22%),
    linear-gradient(140deg, #111526, #0b0d18);
}

.making-placeholder {
  background: radial-gradient(circle at 72% 37%, rgba(255, 151, 62, 0.27), transparent 18%), linear-gradient(135deg, #25180f, #121621 45%, #0b1018);
}

.mosaic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 6, 10, 0.96) 0%, rgba(4, 6, 10, 0.1) 68%);
}

.mosaic-overlay {
  position: absolute;
  z-index: 2;
  left: 1.15rem;
  right: 1rem;
  bottom: 1rem;
}

.mosaic-icon {
  font-size: 1.4rem;
}

.mosaic-overlay h3 {
  margin: 0.15rem 0 0.25rem;
  font-size: 1rem;
}

.mosaic-overlay p {
  margin: 0;
  color: #d2d5df;
  font-size: 0.82rem;
  max-width: 220px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 10, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1080px);
  max-height: calc(100vh - 2.5rem);
  outline: none;
}

.lightbox-image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 5.4rem);
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #090b13;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
  position: absolute;
  z-index: 1;
  top: 0.7rem;
  right: 0.7rem;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  padding: 0;
  color: #fff;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  background: rgba(4, 6, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.lightbox-title {
  margin: 0.7rem 0 0;
  color: #e8eaf0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

body.lightbox-open {
  overflow: hidden;
}

.music-section {
  background: radial-gradient(circle at 45% 50%, rgba(135, 43, 255, 0.25), transparent 28%), linear-gradient(105deg, #101030, #1d0d33 50%, #100c23 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.music-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.55fr 0.75fr;
  gap: 3rem;
  align-items: center;
}

.music-copy h2,
.story-copy h2,
.contact-copy h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  margin: 0.2rem 0 0.5rem;
  letter-spacing: -0.04em;
}

.music-lede {
  color: #b8bdca;
  max-width: 440px;
}

.music-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.album-art {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
}

.album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-label {
  color: #a36cff;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.release-card h3 {
  margin: 0.35rem 0 0.1rem;
  font-size: 1.1rem;
}

.release-year {
  color: #7f8596;
  font-size: 0.7rem;
}

.track-list {
  list-style: none;
  margin: 1.4rem 0 1rem;
  padding: 0;
  counter-reset: tracks;
}

.track-list li {
  counter-increment: tracks;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  color: #c6cad5;
  font-size: 0.76rem;
  padding: 0.38rem 0;
}

.track-list li span:first-child::before {
  content: "0" counter(tracks) "  ";
  color: #7d8290;
}

.story-section {
  background: #0b0d16;
}

.story-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 5rem;
}

.story-copy p {
  color: #b5bac8;
  max-width: 650px;
  font-size: 0.9rem;
}

.story-image {
  margin: 0;
}

.story-image img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  border-radius: 14px;
  filter: saturate(0.72) contrast(1.04) brightness(0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-image figcaption {
  font-size: 0.63rem;
  color: #656b7b;
  margin-top: 0.4rem;
}

.now-section {
  padding-top: 40px;
  background: #0a0c14;
}

.updated {
  margin: 0;
  color: #73798a;
  font-size: 0.72rem;
}

.now-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.now-card {
  padding: 1.3rem;
  min-height: 132px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, #151927, #111522);
}

.now-card .now-icon {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.now-card h3 {
  font-size: 0.9rem;
  margin: 0 0 0.4rem;
}

.now-card p {
  color: #9fa5b4;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.contact-section {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #090b13;
}

.contact-layout {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  align-items: center;
  gap: 2rem;
}

.contact-copy h2 {
  font-size: 1.85rem;
  margin: 0.15rem 0 0.1rem;
}

.contact-copy p {
  margin: 0;
  color: #989eae;
  font-size: 0.82rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: center;
  color: #fff;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
}

.contact-email span {
  color: #9865ff;
}

.cookie-note {
  position: relative;
  justify-self: end;
  color: #926cff;
  transform: rotate(3deg);
}

.cookie {
  display: inline-grid;
  width: 48px;
  height: 48px;
  border: 2px dashed #8859ff;
  border-radius: 50%;
  place-items: center;
  margin-right: 0.5rem;
  font-size: 0.55rem;
}

.site-footer {
  padding: 12px 0 18px;
  background: #06070b;
  color: #656b77;
  font-size: 0.62rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-row b {
  color: #8658ff;
}

.footer-row span span {
  color: #9f55ff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.72s ease, transform 0.72s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 110px;
    min-height: auto;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .note-coffee {
    left: 5%;
  }

  .service-grid,
  .now-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .music-layout {
    grid-template-columns: 1fr 0.7fr;
  }

  .release-card {
    grid-column: 1 / -1;
  }

  .story-layout {
    gap: 2.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-note {
    display: none;
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 230px 180px 180px;
  }

  .music-card {
    grid-row: 1 / 3;
  }

  .photo-card {
    grid-column: 2;
    grid-row: 1;
  }

  .gaming-card {
    grid-column: 2;
    grid-row: 2;
  }

  .making-card {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
    background: rgba(15, 18, 29, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 0.9rem;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
  }

  .hero-role {
    line-height: 1.7;
  }

  .hero-visual {
    min-height: 390px;
    margin-top: 1rem;
  }

  .portrait-cutout {
    width: 85%;
  }

  .scribble {
    font-size: 0.82rem;
  }

  .note-builder {
    right: 0;
  }

  .service-grid,
  .project-grid,
  .now-grid {
    grid-template-columns: 1fr;
  }

  .section-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }

  .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 300px repeat(4, 170px);
  }

  .music-card,
  .dog-card,
  .photo-card,
  .gaming-card,
  .making-card {
    grid-column: 1;
    grid-row: auto;
  }

  .music-layout {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

  .album-art {
    width: min(270px, 80vw);
    justify-self: center;
  }

  .release-card {
    grid-column: auto;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-image {
    order: -1;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-email {
    justify-self: start;
  }

  .footer-row {
    flex-direction: column;
    text-align: center;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-visual .scribble {
    animation: none;
  }
}
