:root {
  --night: #09080c;
  --night-2: #111016;
  --paper: #f4efe5;
  --paper-2: #ebe3d4;
  --ink: #f6f2ea;
  --ink-dark: #18161a;
  --muted: #a7a1ad;
  --acid: #caff5a;
  --coral: #ff785e;
  --line: rgb(255 255 255 / 12%);
  --line-dark: rgb(24 22 26 / 13%);
  --sans: "Space Grotesk", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --shell: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--night);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: background .6s ease, color .6s ease;
}

body.is-day {
  --header-bg: rgb(244 239 229 / 86%);
  --header-line: rgb(24 22 26 / 10%);
  --header-ink: #18161a;
  background: var(--paper);
  color: var(--ink-dark);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

::selection {
  background: var(--acid);
  color: #10110d;
}

.shell {
  width: min(calc(100% - 3rem), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: .75rem;
  left: .75rem;
  padding: .8rem 1rem;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--acid);
  color: #111;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease;
}

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

.ambient {
  position: fixed;
  z-index: -2;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(110px);
  opacity: .13;
}

.ambient--one {
  top: -12rem;
  left: -12rem;
  background: #7e58ff;
}

.ambient--two {
  right: -16rem;
  top: 28rem;
  background: #ff5f88;
}

.mode-wipe {
  --wipe-color: var(--paper);
  position: fixed;
  z-index: 95;
  top: 31px;
  right: auto;
  left: calc(50% - 17px);
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--wipe-color);
  opacity: 0;
  pointer-events: none;
  transform: scale(.1);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 16%);
}

.mode-wipe span {
  position: absolute;
  inset: 7px;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 50%;
}

body.wipe-to-day .mode-wipe {
  --wipe-color: #f4efe5;
  box-shadow:
    0 0 0 7px rgb(255 120 94 / 14%),
    0 0 55px rgb(255 120 94 / 35%);
}

body.wipe-to-night .mode-wipe {
  --wipe-color: #09080c;
  box-shadow:
    0 0 0 7px rgb(202 255 90 / 10%),
    0 0 55px rgb(202 255 90 / 24%);
}

body.is-wiping .mode-wipe {
  animation: mode-wipe 1s var(--ease) both;
}

@keyframes mode-wipe {
  0% {
    opacity: 0;
    transform: scale(.1);
  }

  12% {
    opacity: 1;
  }

  65% {
    opacity: 1;
    transform: scale(145);
  }

  100% {
    opacity: 0;
    transform: scale(145);
  }
}

.floating-mode-control {
  position: fixed;
  z-index: 100;
  top: max(1rem, env(safe-area-inset-top));
  left: 50%;
  padding: 5px;
  transform: translateX(-50%);
  border: 1px solid rgb(202 255 90 / 32%);
  border-radius: 999px;
  background: rgb(9 8 12 / 88%);
  color: #f6f2ea;
  box-shadow:
    0 14px 38px rgb(0 0 0 / 28%),
    0 0 30px rgb(202 255 90 / 8%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    color .45s ease,
    background .45s ease,
    border-color .45s ease,
    box-shadow .45s ease;
}

body.is-day .floating-mode-control {
  border-color: rgb(255 120 94 / 34%);
  background: rgb(244 239 229 / 92%);
  color: #18161a;
  box-shadow:
    0 14px 38px rgb(58 40 29 / 14%),
    0 0 30px rgb(255 120 94 / 10%);
}

.site-header {
  --header-bg: rgb(9 8 12 / 72%);
  --header-line: rgb(255 255 255 / 9%);
  --header-ink: #f6f2ea;
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid var(--header-line);
  background: var(--header-bg);
  color: var(--header-ink);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    background .5s ease,
    color .5s ease,
    border-color .5s ease;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  font-weight: 700;
  letter-spacing: -.04em;
  text-decoration: none;
}

.identity-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 11px;
  font-size: .68rem;
  letter-spacing: -.05em;
  transform: rotate(-4deg);
  transition: transform .3s var(--ease), background .3s ease, color .3s ease;
}

.identity:hover .identity-mark,
.identity:focus-visible .identity-mark {
  transform: rotate(4deg) scale(1.04);
  background: var(--acid);
  color: #111;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: .82rem;
}

.nav-links a {
  position: relative;
  color: color-mix(in srgb, currentColor 72%, transparent);
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -.4rem;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform .25s var(--ease);
}

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

.mode-switch {
  position: relative;
  width: 252px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 5%, transparent);
  isolation: isolate;
}

.mode-switch-thumb {
  position: absolute;
  z-index: 0;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 5px 16px rgb(202 255 90 / 14%);
  transition:
    transform .55s var(--ease),
    background .35s ease,
    box-shadow .35s ease;
}

body.is-day .mode-switch-thumb {
  transform: translateX(100%);
  background: var(--coral);
  box-shadow: 0 5px 16px rgb(255 120 94 / 18%);
}

.mode-option {
  position: relative;
  z-index: 1;
  min-height: 40px;
  padding: 0 .58rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: color-mix(in srgb, currentColor 62%, transparent);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  cursor: pointer;
  transition: color .35s ease;
}

.mode-option i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.mode-option.is-active {
  color: #12130f;
}

body.is-day .mode-option.is-active {
  color: #28120e;
}

.mode-option:focus-visible {
  outline-offset: 2px;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 7rem;
  padding-bottom: 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: .15;
  background-image:
    linear-gradient(rgb(255 255 255 / 8%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 8%) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
}

.hero-copy {
  width: min(100%, 1100px);
}

.hero-copy--day {
  display: none;
}

body.is-day .hero-copy--night {
  display: none;
}

body.is-day .hero-copy--day {
  display: block;
}

body.is-day .ambient--one {
  background: #ff8a65;
  opacity: .12;
}

body.is-day .ambient--two {
  background: #ffe36d;
  opacity: .11;
}

body.is-day .hero::before {
  opacity: .18;
  background-image:
    linear-gradient(rgb(24 22 26 / 10%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(24 22 26 / 10%) 1px, transparent 1px);
}

body:not(.is-day) .day-job {
  display: none;
}

body.is-day .after-hours,
body.is-day .shared-muscle,
body.is-day .prompt-archive {
  display: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .72rem;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow span {
  padding: .42rem .62rem;
  border: 1px solid rgb(202 255 90 / 35%);
  border-radius: 999px;
  color: var(--acid);
  letter-spacing: .09em;
}

.hero h1 {
  max-width: 11ch;
  margin-top: 1.3rem;
  font-size: clamp(5rem, 10vw, 10rem);
  line-height: .84;
  letter-spacing: -.085em;
}

.hero h1 em {
  color: var(--acid);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.06em;
}

.hero-lead {
  max-width: 42rem;
  margin-top: 2rem;
  color: #bcb6c1;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.55;
}

.hero-lead strong {
  color: #fff;
}

body.is-day .hero-lead {
  color: #625a56;
}

body.is-day .hero h1 em {
  color: #b6402c;
}

body.is-day .hero-note {
  color: #8a8079;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.button {
  min-height: 54px;
  padding: .8rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform .25s var(--ease),
    background .25s ease,
    border-color .25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

.button--primary {
  border-color: var(--acid);
  background: var(--acid);
  color: #12130f;
}

.button--quiet:hover,
.button--quiet:focus-visible {
  border-color: rgb(255 255 255 / 35%);
  background: rgb(255 255 255 / 6%);
}

.button--day {
  border-color: var(--coral);
  background: var(--coral);
  color: #28120e;
}

.button--day-quiet {
  border-color: rgb(24 22 26 / 16%);
  color: var(--ink-dark);
}

.button--day-quiet:hover,
.button--day-quiet:focus-visible {
  border-color: rgb(24 22 26 / 36%);
  background: rgb(24 22 26 / 5%);
}

.hero-note {
  max-width: 29rem;
  margin-top: 1.35rem;
  color: #77717c;
  font-size: .78rem;
  line-height: 1.5;
}

.project-orbit {
  position: relative;
  min-height: min(70vh, 650px);
  isolation: isolate;
}

.orbit-rings,
.orbit-rings::before,
.orbit-rings::after {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 50%;
  content: "";
}

.orbit-rings {
  inset: 8% 8%;
  animation: orbit-turn 30s linear infinite;
}

.orbit-rings::before {
  inset: 13%;
  border-style: dashed;
  opacity: .75;
}

.orbit-rings::after {
  inset: 29%;
  border-color: rgb(202 255 90 / 22%);
}

@keyframes orbit-turn {
  to { transform: rotate(360deg); }
}

.orbit-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 145px;
  height: 145px;
  display: grid;
  place-content: center;
  justify-items: center;
  transform: translate(-50%, -50%) rotate(-4deg);
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 38% 62% 55% 45% / 45% 42% 58% 55%;
  background:
    radial-gradient(circle at 35% 25%, rgb(202 255 90 / 22%), transparent 35%),
    #191820;
  box-shadow: 0 30px 80px rgb(0 0 0 / 35%);
}

.orbit-core span {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -.09em;
}

.orbit-core small {
  margin-top: .2rem;
  color: var(--acid);
  font-size: .55rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.orbit-app {
  --orbit-x: 0;
  --orbit-y: 0;
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: .55rem;
  transform: translate(calc(-50% + var(--orbit-x)), calc(-50% + var(--orbit-y)));
  color: #d9d4dd;
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .35s var(--ease), color .25s ease;
}

.orbit-app img {
  width: 88px;
  height: 88px;
  padding: 7px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 25px;
  background: #17161c;
  object-fit: cover;
  box-shadow: 0 22px 55px rgb(0 0 0 / 38%);
}

.orbit-app:hover,
.orbit-app:focus-visible {
  color: #fff;
  outline: none;
  transform: translate(calc(-50% + var(--orbit-x)), calc(-50% + var(--orbit-y) - 8px)) rotate(3deg);
}

.orbit-app--boxlore {
  --orbit-x: -12rem;
  --orbit-y: -10rem;
}

.orbit-app--f1 {
  --orbit-x: 12.2rem;
  --orbit-y: -7.5rem;
}

.orbit-app--avatar {
  --orbit-x: -10.5rem;
  --orbit-y: 10.7rem;
}

.orbit-app--dred {
  --orbit-x: 12rem;
  --orbit-y: 11rem;
}

.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: #716b76;
  font-size: .66rem;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.scroll-cue i::after {
  position: absolute;
  top: 10px;
  left: 15px;
  width: 3px;
  height: 7px;
  border-radius: 2px;
  content: "";
  background: var(--acid);
  animation: scroll-dot 1.5s ease-in-out infinite;
}

@keyframes scroll-dot {
  50% { transform: translateY(7px); opacity: .25; }
}

.after-hours {
  position: relative;
  padding: clamp(6rem, 10vw, 10rem) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 12%, rgb(105 77 255 / 9%), transparent 30rem),
    var(--night);
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr .55fr;
  gap: 3rem;
  align-items: end;
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
}

.section-intro h2,
.muscle-heading h2,
.day-intro h2,
.prompt-intro h2 {
  font-size: clamp(3rem, 6.5vw, 6.6rem);
  line-height: .91;
  letter-spacing: -.075em;
}

.section-intro > p:last-child {
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.project-stack {
  margin-top: clamp(4rem, 8vw, 7rem);
  display: grid;
  gap: 1.5rem;
}

.project {
  --project-bg: #eee;
  --project-fg: #17151a;
  --project-muted: rgb(23 21 26 / 68%);
  position: relative;
  min-height: 720px;
  padding: clamp(1.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(390px, 1.12fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 44px;
  background: var(--project-bg);
  color: var(--project-fg);
  isolation: isolate;
}

.project::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: .35;
  background-image:
    linear-gradient(rgb(0 0 0 / 6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(0 0 0 / 6%) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(120deg, #000, transparent 70%);
}

.project--boxlore {
  --project-bg: #e9e7fb;
  --project-fg: #17132d;
  --project-muted: #615c76;
}

.project--f1 {
  --project-bg: #08080b;
  --project-fg: #fff;
  --project-muted: #a4a0aa;
  border-color: rgb(255 22 143 / 28%);
}

.project--f1::before {
  background-image:
    linear-gradient(rgb(255 22 143 / 10%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 22 143 / 10%) 1px, transparent 1px);
}

.project--avatar {
  --project-bg: #f7f3ff;
  --project-fg: #2a2532;
  --project-muted: #6d6578;
}

.project--dred {
  --project-bg: #1a102d;
  --project-fg: #fff;
  --project-muted: #b8abc9;
  border-color: rgb(139 96 255 / 30%);
}

.project-number {
  color: var(--project-muted);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .13em;
}

.prompt-label {
  margin-top: 2.5rem;
  color: var(--project-muted);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project blockquote {
  max-width: 18ch;
  margin-top: .7rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

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

.answer-lockup img {
  width: 62px;
  height: 62px;
  padding: 4px;
  border: 1px solid rgb(127 117 150 / 20%);
  border-radius: 17px;
  background: rgb(255 255 255 / 75%);
  object-fit: cover;
}

.answer-lockup span {
  display: block;
  color: var(--project-muted);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.answer-lockup h3 {
  margin-top: .1rem;
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.project-description {
  max-width: 34rem;
  margin-top: 1.35rem;
  color: var(--project-muted);
  font-size: .96rem;
  line-height: 1.6;
}

.project-tags {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
}

.project-tags li {
  padding: .45rem .62rem;
  border: 1px solid color-mix(in srgb, var(--project-fg) 15%, transparent);
  border-radius: 999px;
  color: var(--project-muted);
  font-size: .63rem;
  font-weight: 600;
}

.project-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.project-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--project-fg);
  font-size: .8rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .35rem;
}

.project-link--muted {
  color: var(--project-muted);
  font-weight: 500;
}

.project-link:hover,
.project-link:focus-visible {
  text-decoration-thickness: 2px;
  outline: none;
}

.project-stage {
  position: relative;
  min-height: 590px;
}

.phone-frame {
  position: absolute;
  overflow: hidden;
  padding: 6px;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 34px;
  background: linear-gradient(145deg, #3a3a43, #0c0c10 40%, #26262d);
  box-shadow:
    0 32px 70px rgb(0 0 0 / 30%),
    inset 0 1px 0 rgb(255 255 255 / 25%);
}

.phone-frame::before {
  position: absolute;
  z-index: 3;
  top: 11px;
  left: 50%;
  width: 28%;
  height: 5px;
  content: "";
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050506;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  border-radius: 27px;
  background: #000;
  object-fit: contain;
}

.phone-stage {
  perspective: 1200px;
}

.phone-stage::before {
  position: absolute;
  inset: 8% 0 0 12%;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgb(93 89 220 / 33%), transparent 65%);
  filter: blur(8px);
}

.phone-stage .phone-frame {
  width: min(45%, 250px);
  aspect-ratio: 344 / 730;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: 0 30px 70px rgb(48 42 98 / 22%);
}

.phone-stage .phone-frame::before {
  display: none;
}

.phone-stage .phone-frame img {
  border-radius: 0;
  background: transparent;
}

.phone-frame--back {
  top: 7%;
  left: 5%;
  transform: rotateY(12deg) rotateZ(-5deg);
  filter: saturate(.8) brightness(.88);
}

.phone-frame--front {
  z-index: 2;
  right: 7%;
  bottom: 0;
  transform: rotateY(-8deg) rotateZ(3deg);
  border-color: rgb(91 86 216 / 55%);
}

.stage-sticker {
  position: absolute;
  z-index: 4;
  padding: .7rem .85rem;
  border: 2px solid #17132d;
  border-radius: 8px;
  color: #17132d;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .08em;
  box-shadow: 3px 3px 0 #17132d;
}

.stage-sticker--violet {
  top: 4%;
  right: 0;
  background: #928df5;
  transform: rotate(7deg);
}

.stage-sticker--cream {
  bottom: 5%;
  left: 0;
  background: #fff8df;
  transform: rotate(-6deg);
}

.race-stage {
  overflow: hidden;
  border: 1px solid rgb(255 22 143 / 18%);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 20%, rgb(255 22 143 / 17%), transparent 35%),
    #050507;
}

.race-grid {
  position: absolute;
  inset: 0;
  opacity: .33;
  background-image:
    linear-gradient(rgb(255 22 143 / 18%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 22 143 / 18%) 1px, transparent 1px);
  background-size: 44px 44px;
}

.race-phone {
  width: min(42%, 248px);
  aspect-ratio: 1200 / 2470;
  bottom: 2%;
}

.race-phone--left {
  z-index: 1;
  left: 10%;
  transform: rotateY(12deg) rotateZ(-3deg);
  filter: brightness(.65);
}

.race-phone--right {
  z-index: 2;
  right: 10%;
  transform: rotateY(-10deg) rotateZ(3deg);
  border-color: rgb(255 22 143 / 55%);
}

.race-light {
  position: absolute;
  z-index: 4;
  top: 1.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff168f;
  box-shadow: 0 0 18px #ff168f;
}

.race-light--one { right: 4.5rem; }
.race-light--two { right: 2.8rem; animation: pulse-light 1.3s ease-in-out infinite .2s; }
.race-light--three { right: 1.1rem; animation: pulse-light 1.3s ease-in-out infinite .4s; }

@keyframes pulse-light {
  50% { opacity: .2; }
}

.race-label {
  position: absolute;
  z-index: 4;
  top: 1.1rem;
  left: 1.1rem;
  color: #ff4caf;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.avatar-stage {
  min-height: 560px;
  perspective: 1200px;
}

.avatar-stage::before {
  position: absolute;
  inset: 8% 3% 12%;
  border: 2px dashed rgb(101 73 232 / 25%);
  border-radius: 45% 55% 38% 62% / 55% 40% 60% 45%;
  content: "";
  animation: shape-wobble 10s ease-in-out infinite alternate;
}

@keyframes shape-wobble {
  to { border-radius: 58% 42% 62% 38% / 44% 58% 42% 56%; transform: rotate(4deg); }
}

.avatar-card {
  position: absolute;
  width: min(42%, 230px);
  padding: .65rem;
  border: 2px solid #29232d;
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 8px 9px 0 #29232d;
}

.avatar-card img {
  width: 100%;
  aspect-ratio: 176 / 208;
  border-radius: 16px;
}

.avatar-card--one {
  z-index: 1;
  top: 15%;
  left: 3%;
  transform: rotate(-10deg);
}

.avatar-card--two {
  z-index: 3;
  top: 5%;
  left: 31%;
  transform: rotate(2deg) translateY(-4px);
}

.avatar-card--three {
  z-index: 2;
  top: 17%;
  right: 2%;
  transform: rotate(11deg);
}

.export-cloud {
  position: absolute;
  z-index: 5;
  right: 5%;
  bottom: 4%;
  left: 5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}

.export-cloud span {
  padding: .58rem .72rem;
  border: 1.5px solid #29232d;
  border-radius: 999px;
  background: #ffe36d;
  color: #29232d;
  font-size: .58rem;
  font-weight: 800;
  box-shadow: 2px 2px 0 #29232d;
}

.export-cloud span:nth-child(2n) {
  background: #c9f36b;
  transform: rotate(2deg);
}

.export-cloud span:nth-child(3n) {
  background: #f0dfff;
  transform: rotate(-2deg);
}

.dred-stage {
  min-height: 550px;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.dred-stage::before {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  content: "";
  background: #7743e8;
  filter: blur(70px);
  opacity: .25;
}

.dred-card {
  position: relative;
  z-index: 2;
  width: min(86%, 500px);
  aspect-ratio: 1.58;
  padding: clamp(1.35rem, 3vw, 2.3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgb(255 255 255 / 20%), transparent 28%),
    linear-gradient(135deg, #8d65f5, #5a2dc9 65%, #351879);
  box-shadow:
    0 36px 80px rgb(0 0 0 / 38%),
    inset 0 1px 0 rgb(255 255 255 / 30%);
  transform: rotateX(8deg) rotateY(-7deg) rotateZ(2deg);
}

.dred-card::after {
  position: absolute;
  right: 1.8rem;
  bottom: 1.55rem;
  width: 48px;
  height: 48px;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 50%;
  content: "";
  background: rgb(255 255 255 / 10%);
  box-shadow: 22px 0 0 rgb(255 255 255 / 8%);
}

.dred-card-top,
.dred-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dred-card-top img {
  width: 44px;
  height: 44px;
  padding: 4px;
  border-radius: 12px;
  background: rgb(255 255 255 / 14%);
}

.dred-card-top span,
.dred-card-bottom span {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .13em;
}

.dred-card strong {
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  letter-spacing: .08em;
}

.vault-note {
  position: absolute;
  z-index: 4;
  padding: .8rem .9rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 14px;
  background: rgb(17 10 30 / 82%);
  box-shadow: 0 18px 42px rgb(0 0 0 / 28%);
  backdrop-filter: blur(12px);
}

.vault-note > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgb(139 96 255 / 18%);
  color: #b89cff;
}

.vault-note b,
.vault-note small {
  display: block;
}

.vault-note b {
  font-size: .67rem;
}

.vault-note small {
  margin-top: .12rem;
  color: #9e91b2;
  font-size: .58rem;
}

.vault-note--one {
  top: 8%;
  right: 0;
}

.vault-note--two {
  bottom: 7%;
  left: 0;
}

.vault-lock {
  position: absolute;
  z-index: 4;
  top: 7%;
  left: 6%;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 50%;
  background: #24143d;
}

.vault-lock i {
  position: absolute;
  top: 13px;
  width: 27px;
  height: 25px;
  border: 3px solid #9d78f4;
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
}

.vault-lock span {
  margin-top: 17px;
  color: #c7afff;
  font-size: .62rem;
  font-weight: 700;
}

.shared-muscle {
  padding: clamp(7rem, 12vw, 12rem) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 90%, rgb(202 255 90 / 8%), transparent 28rem),
    var(--night-2);
}

.muscle-heading {
  max-width: 900px;
}

.muscle-heading h2 {
  max-width: 12ch;
  margin-top: 1.2rem;
}

.muscle-grid {
  margin-top: clamp(3rem, 6vw, 5.5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.muscle-card {
  min-height: 330px;
  padding: clamp(1.35rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
}

.muscle-card:last-child {
  border-right: 0;
}

.muscle-card > span {
  color: var(--acid);
  font-size: .62rem;
  font-weight: 700;
}

.muscle-card h3 {
  max-width: 12ch;
  margin-top: 5rem;
  font-size: clamp(1.35rem, 2.6vw, 2.25rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.muscle-card p {
  max-width: 24rem;
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.day-job {
  position: relative;
  padding: clamp(7rem, 12vw, 12rem) 0;
  overflow: hidden;
  border-radius: 54px 54px 0 0;
  background: var(--paper);
  color: var(--ink-dark);
}

.day-sun {
  position: absolute;
  top: -12rem;
  right: -8rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgb(255 120 94 / 24%);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgb(255 120 94 / 3%),
    0 0 0 10rem rgb(255 120 94 / 2%);
}

.day-layout {
  position: relative;
  z-index: 2;
}

.eyebrow--day {
  color: #6e655f;
}

.eyebrow--day span {
  border-color: rgb(202 74 48 / 28%);
  color: #b6402c;
}

.day-intro {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 3rem;
  align-items: end;
}

.day-intro .eyebrow {
  grid-column: 1 / -1;
}

.day-intro h2 {
  max-width: 13ch;
}

.day-intro h2 em {
  color: #b6402c;
  font-family: var(--serif);
  font-weight: 400;
}

.day-intro > p:last-child {
  max-width: 34rem;
  color: #6c645f;
  font-size: 1.05rem;
  line-height: 1.65;
}

.career-list {
  margin-top: clamp(4rem, 7vw, 6.5rem);
  border-top: 1px solid var(--line-dark);
}

.career-card {
  padding: 1.35rem 0;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  transition: padding .3s var(--ease), background .3s ease;
}

.career-card:hover {
  padding-inline: 1.1rem;
  background: rgb(255 255 255 / 38%);
}

.career-logo {
  width: 88px;
  height: 88px;
  min-height: 0;
  padding: .85rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  background: #fff;
  box-sizing: border-box;
}

.career-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.career-copy > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #817873;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.career-org {
  margin: .45rem 0 0;
  color: #3f3834;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.career-copy h3 {
  margin-top: .4rem;
  font-size: clamp(1.25rem, 2.6vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.career-copy p:not(.career-org) {
  max-width: 44rem;
  margin-top: .65rem;
  color: #6c645f;
  line-height: 1.55;
}

.prompt-archive {
  padding: clamp(6rem, 10vw, 9rem) 0;
  background:
    radial-gradient(circle at 88% 0, rgb(126 88 255 / 17%), transparent 25rem),
    #130f19;
}

.prompt-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.prompt-intro h2 {
  margin-top: 1rem;
}

.prompt-intro > p:last-child {
  max-width: 29rem;
  margin-top: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.prompt-machine {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgb(255 255 255 / 3%);
  box-shadow: 0 34px 90px rgb(0 0 0 / 28%);
}

.prompt-options {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.prompt-chip {
  padding: .72rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #a9a2b0;
  font-size: .72rem;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.prompt-chip:hover,
.prompt-chip:focus-visible,
.prompt-chip.is-active {
  border-color: rgb(202 255 90 / 46%);
  background: rgb(202 255 90 / 8%);
  color: #fff;
  outline: none;
}

.prompt-answer {
  min-height: 190px;
  margin-top: 1rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 21px;
  background: var(--acid);
  color: #11120e;
}

.prompt-answer span {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.prompt-answer p {
  max-width: 19ch;
  margin-top: 2rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.prompt-answer.is-changing p {
  animation: answer-in .35s var(--ease);
}

@keyframes answer-in {
  from { opacity: 0; transform: translateY(8px); }
}

.footer {
  padding: clamp(5rem, 9vw, 8rem) 0 2rem;
  border-top: 1px solid var(--line);
  background: #08070a;
  color: var(--ink);
  transition:
    background .6s ease,
    color .6s ease,
    border-color .6s ease;
}

body.is-day .footer {
  border-color: var(--line-dark);
  background: var(--paper-2);
  color: var(--ink-dark);
}

body.is-day .footer .eyebrow {
  color: #6e655f;
}

body.is-day .footer .eyebrow span {
  border-color: rgb(202 74 48 / 28%);
  color: #b6402c;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
}

.footer h2 {
  max-width: 12ch;
  margin-top: 1.2rem;
  font-size: clamp(2.7rem, 6vw, 6rem);
  line-height: .9;
  letter-spacing: -.07em;
}

.email-link {
  margin-top: 1.5rem;
  display: inline-block;
  color: var(--acid);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.5vw, 2rem);
  text-underline-offset: .35rem;
}

body.is-day .email-link {
  color: #b6402c;
}

.footer-links {
  display: grid;
  gap: .8rem;
  text-align: right;
}

.footer-links a {
  font-size: .82rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--acid);
  outline: none;
}

body.is-day .footer-links a:hover,
body.is-day .footer-links a:focus-visible {
  color: #b6402c;
}

.footer-small {
  grid-column: 1 / -1;
  margin-top: 3rem;
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: #716b75;
  font-size: .7rem;
  line-height: 1.5;
}

body.is-day .footer-small {
  border-color: var(--line-dark);
  color: #786e68;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .75s ease,
    transform .75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 9.5rem;
  }

  .hero-copy {
    max-width: 48rem;
  }

  .hero h1 {
    max-width: 8.5ch;
  }

  .project-orbit {
    min-height: 600px;
  }

  .scroll-cue {
    display: none;
  }

  .section-intro,
  .day-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-intro .eyebrow,
  .day-intro .eyebrow {
    grid-column: auto;
  }

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

  .project-copy {
    max-width: 46rem;
  }

  .project-stage {
    min-height: 630px;
  }

  .phone-stage,
  .race-stage,
  .avatar-stage,
  .dred-stage {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .muscle-grid {
    grid-template-columns: 1fr;
  }

  .muscle-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .muscle-card:last-child {
    border-bottom: 0;
  }

  .muscle-card h3 {
    margin-top: 2.5rem;
  }

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

@media (max-width: 700px) {
  html {
    scroll-padding-top: calc(72px + env(safe-area-inset-top));
  }

  .shell {
    width: min(calc(100% - 2rem), var(--shell));
  }

  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .nav {
    min-height: 66px;
    gap: .75rem;
  }

  .identity-name {
    font-size: .85rem;
  }

  .identity-mark {
    width: 35px;
    height: 35px;
  }

  .nav-links {
    display: none;
  }

  .mode-switch {
    width: 228px;
  }

  .mode-option {
    padding-inline: .35rem;
    font-size: .56rem;
  }

  .hero {
    min-height: auto;
    padding-top: calc(7.5rem + env(safe-area-inset-top));
    padding-bottom: 3.5rem;
    gap: 2.5rem;
  }

  .hero::before {
    inset: 66px 0 0;
    width: auto;
    background-size: 46px 46px;
  }

  .eyebrow {
    gap: .5rem;
    font-size: .57rem;
    letter-spacing: .09em;
  }

  .eyebrow span {
    padding: .35rem .5rem;
  }

  .hero h1 {
    max-width: 100%;
    margin-top: 1rem;
    padding-right: .06em;
    font-size: clamp(3.25rem, 17vw, 5.3rem);
    line-height: .88;
  }

  .hero-lead {
    margin-top: 1.4rem;
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-note {
    font-size: .72rem;
  }

  .project-orbit {
    min-height: 430px;
    margin-inline: -.5rem;
  }

  .orbit-rings {
    inset: 11% 4%;
  }

  .orbit-core {
    width: 105px;
    height: 105px;
    border-radius: 34px;
  }

  .orbit-core span {
    font-size: 1.75rem;
  }

  .orbit-app img {
    width: 64px;
    height: 64px;
    padding: 5px;
    border-radius: 19px;
  }

  .orbit-app {
    gap: .35rem;
    font-size: .51rem;
  }

  .orbit-app--boxlore {
    --orbit-x: -7.5rem;
    --orbit-y: -6.6rem;
  }

  .orbit-app--f1 {
    --orbit-x: 7.6rem;
    --orbit-y: -5.4rem;
  }

  .orbit-app--avatar {
    --orbit-x: -7.2rem;
    --orbit-y: 7rem;
  }

  .orbit-app--dred {
    --orbit-x: 7.5rem;
    --orbit-y: 6.9rem;
  }

  .after-hours,
  .shared-muscle,
  .day-job,
  .prompt-archive {
    padding-block: 5.25rem;
  }

  .section-intro h2,
  .muscle-heading h2,
  .day-intro h2,
  .prompt-intro h2 {
    font-size: clamp(2.8rem, 13.5vw, 4.6rem);
    line-height: .94;
  }

  .section-intro > p:last-child,
  .day-intro > p:last-child {
    font-size: .96rem;
  }

  .project-stack {
    margin-top: 3rem;
    gap: 1rem;
  }

  .project {
    min-height: 0;
    padding: 1.25rem;
    gap: 2.5rem;
    border-radius: 28px;
  }

  .prompt-label {
    margin-top: 1.8rem;
  }

  .project blockquote {
    font-size: clamp(1.55rem, 7.5vw, 2.2rem);
  }

  .answer-lockup {
    margin-top: 1.5rem;
  }

  .answer-lockup img {
    width: 54px;
    height: 54px;
    border-radius: 15px;
  }

  .answer-lockup h3 {
    font-size: 1.55rem;
  }

  .project-description {
    font-size: .9rem;
  }

  .project-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-stage {
    min-height: 490px;
  }

  .phone-stage .phone-frame {
    width: min(49%, 205px);
  }

  .phone-frame {
    padding: 4px;
    border-radius: 26px;
  }

  .phone-frame img {
    border-radius: 21px;
  }

  .phone-frame::before {
    top: 8px;
    height: 4px;
  }

  .phone-frame--back {
    top: 4%;
    left: 1%;
  }

  .phone-frame--front {
    right: 1%;
    bottom: 1%;
  }

  .stage-sticker {
    padding: .55rem .65rem;
    font-size: .5rem;
  }

  .race-stage {
    min-height: 500px;
  }

  .race-phone {
    width: min(48%, 205px);
  }

  .race-phone--left {
    left: 4%;
  }

  .race-phone--right {
    right: 4%;
  }

  .avatar-stage {
    min-height: 430px;
  }

  .avatar-card {
    width: min(45%, 170px);
    padding: .45rem;
    border-radius: 18px;
    box-shadow: 5px 6px 0 #29232d;
  }

  .avatar-card--one {
    left: -2%;
  }

  .avatar-card--two {
    left: 28%;
  }

  .avatar-card--three {
    right: -2%;
  }

  .export-cloud {
    right: 0;
    bottom: 0;
    left: 0;
  }

  .export-cloud span {
    padding: .45rem .55rem;
    font-size: .5rem;
  }

  .dred-stage {
    min-height: 440px;
  }

  .dred-card {
    width: 94%;
    padding: 1.25rem;
    border-radius: 22px;
  }

  .dred-card-top img {
    width: 36px;
    height: 36px;
  }

  .dred-card strong {
    font-size: 1rem;
  }

  .dred-card::after {
    width: 36px;
    height: 36px;
  }

  .vault-note {
    padding: .62rem .7rem;
  }

  .vault-note--one {
    top: 2%;
  }

  .vault-note--two {
    bottom: 2%;
  }

  .vault-lock {
    top: 1%;
    left: 0;
    width: 58px;
    height: 58px;
  }

  .vault-lock i {
    top: 10px;
    width: 22px;
    height: 20px;
  }

  .muscle-grid {
    margin-top: 2.75rem;
  }

  .muscle-card {
    padding: 1.3rem 0;
  }

  .muscle-card h3 {
    margin-top: 2rem;
  }

  .muscle-card p {
    font-size: .9rem;
  }

  .day-job {
    border-radius: 32px 32px 0 0;
  }

  .career-list {
    margin-top: 3rem;
  }

  .career-card {
    padding: 1.25rem 0;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .career-card:hover {
    padding-inline: 0;
    background: transparent;
  }

  .career-logo {
    width: 72px;
    height: 72px;
    min-height: 0;
    padding: .7rem;
  }

  .career-copy > div {
    align-items: flex-start;
  }

  .career-org {
    font-size: .72rem;
  }

  .career-copy h3 {
    font-size: 1.3rem;
  }

  .career-copy p:not(.career-org) {
    font-size: .9rem;
  }

  .prompt-machine {
    padding: .75rem;
    border-radius: 22px;
  }

  .prompt-options {
    display: grid;
  }

  .prompt-chip {
    width: 100%;
  }

  .prompt-answer {
    min-height: 165px;
    padding: 1.2rem;
  }

  .footer {
    padding-top: 5rem;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer h2 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .email-link {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .footer-links {
    text-align: left;
  }

  .footer-small {
    margin-top: 1rem;
    flex-direction: column;
    gap: .75rem;
  }
}

@media (max-width: 380px) {
  .identity-name {
    display: none;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .project-orbit {
    min-height: 390px;
  }

  .orbit-app--boxlore {
    --orbit-x: -6.5rem;
  }

  .orbit-app--f1 {
    --orbit-x: 6.6rem;
  }

  .orbit-app--avatar {
    --orbit-x: -6.3rem;
  }

  .orbit-app--dred {
    --orbit-x: 6.5rem;
  }

  .project-stage {
    min-height: 430px;
  }

  .race-stage {
    min-height: 450px;
  }

  .avatar-stage,
  .dred-stage {
    min-height: 400px;
  }

  .vault-note small {
    display: none;
  }
}

@media (max-width: 700px) {
  .floating-mode-control {
    top: max(.65rem, env(safe-area-inset-top));
    width: min(calc(100% - 1.5rem), 340px);
    padding: 4px;
  }

  .mode-switch {
    width: 100%;
  }

  .mode-option {
    min-height: 44px;
    font-size: .61rem;
  }

  .hero {
    min-height: 100svh;
    padding-top: calc(6.75rem + env(safe-area-inset-top));
    padding-bottom: max(2.75rem, env(safe-area-inset-bottom));
    align-content: center;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3.15rem, 15vw, 4.3rem);
    line-height: .9;
    letter-spacing: -.075em;
  }

  body.is-day .hero h1 {
    font-size: clamp(2.95rem, 13.8vw, 4rem);
    line-height: .92;
  }

  .hero-lead {
    max-width: 34rem;
    margin-top: 1.35rem;
    font-size: .98rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 1.6rem;
    gap: .6rem;
  }

  .hero-actions .button {
    min-height: 50px;
  }

  .hero-note {
    max-width: 25rem;
    margin-top: 1.1rem;
  }

  .after-hours,
  .shared-muscle,
  .day-job {
    padding-block: 4.5rem;
  }

  .section-intro,
  .day-intro {
    gap: 1.2rem;
  }

  .section-intro h2,
  .muscle-heading h2,
  .day-intro h2 {
    font-size: clamp(2.75rem, 12.5vw, 4.2rem);
  }

  .section-intro > p:last-child,
  .day-intro > p:last-child {
    line-height: 1.6;
  }

  .project-stack {
    gap: 1.25rem;
  }

  .project {
    padding: 1.15rem;
    gap: 2rem;
    border-radius: 30px;
    box-shadow: 0 22px 55px rgb(0 0 0 / 13%);
  }

  .project-copy {
    padding: .25rem .15rem 0;
  }

  .project blockquote {
    max-width: 19ch;
    font-size: clamp(1.55rem, 7vw, 2.05rem);
    line-height: 1.08;
  }

  .project-description {
    font-size: .88rem;
    line-height: 1.58;
  }

  .project-tags {
    gap: .4rem;
  }

  .project-tags li {
    padding: .42rem .58rem;
    font-size: .59rem;
  }

  .project-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
  }

  .project-link {
    min-height: 46px;
    padding: .7rem .6rem;
    justify-content: center;
    border: 1px solid color-mix(in srgb, var(--project-fg) 18%, transparent);
    border-radius: 999px;
    font-size: .7rem;
    text-align: center;
    text-decoration: none;
  }

  .project-link:first-child {
    background: color-mix(in srgb, var(--project-fg) 8%, transparent);
  }

  .project-stage {
    min-height: clamp(360px, 110vw, 420px);
    margin-top: .25rem;
  }

  .phone-stage {
    min-height: clamp(360px, 110vw, 420px);
  }

  .race-stage {
    min-height: clamp(390px, 112vw, 440px);
    border-radius: 22px;
  }

  .race-phone {
    width: min(47%, 185px);
  }

  .avatar-stage {
    min-height: clamp(320px, 95vw, 370px);
  }

  .dred-stage {
    min-height: clamp(310px, 90vw, 360px);
  }

  .vault-note {
    padding: .6rem .65rem;
  }

  .vault-note small {
    display: none;
  }

  .muscle-grid {
    gap: .7rem;
    border: 0;
  }

  .muscle-card,
  .muscle-card:last-child {
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgb(255 255 255 / 2.5%);
  }

  .muscle-card h3 {
    margin-top: 2.4rem;
  }

  .day-job {
    border-radius: 28px 28px 0 0;
  }

  .career-list {
    display: grid;
    gap: .75rem;
    border: 0;
  }

  .career-card {
    padding: .85rem;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 1rem;
    border: 1px solid var(--line-dark);
    border-radius: 20px;
    background: rgb(255 255 255 / 34%);
  }

  .career-card:hover {
    padding: .85rem;
    background: rgb(255 255 255 / 34%);
  }

  .career-logo {
    width: 72px;
    height: 72px;
    min-height: 0;
    padding: .55rem;
    border-radius: 15px;
  }

  .career-logo img {
    max-width: 100%;
    max-height: 100%;
  }

  .career-copy > div {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: .3rem .65rem;
    font-size: .56rem;
  }

  .career-org {
    margin-top: .35rem;
    font-size: .68rem;
  }

  .career-copy h3 {
    margin-top: .3rem;
    font-size: 1.12rem;
    line-height: 1.12;
  }

  .career-copy p:not(.career-org) {
    margin-top: .5rem;
    font-size: .82rem;
    line-height: 1.5;
  }

  .footer {
    padding-top: 4.5rem;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }

  .footer h2 {
    font-size: clamp(2.9rem, 13vw, 4.25rem);
  }

  .footer-layout {
    gap: 2rem;
  }

  .footer-links {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
  }

  .footer-links a {
    min-height: 48px;
    padding: .7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 14px;
  }

  body.is-day .footer-links a {
    border-color: var(--line-dark);
  }

  .footer-links a:last-child {
    grid-column: 1 / -1;
  }

  .footer-small {
    padding-top: 1.1rem;
    font-size: .65rem;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 3.05rem;
  }

  body.is-day .hero h1 {
    font-size: 2.8rem;
  }

  .project-actions {
    grid-template-columns: 1fr;
  }

  .career-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: .8rem;
  }

  .career-logo {
    width: 64px;
    height: 64px;
    min-height: 0;
    padding: .4rem;
  }

  .career-logo img {
    max-width: 100%;
    max-height: 100%;
  }
}

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

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

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

.depart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 30%, rgb(202 255 90 / 10%), transparent 28rem),
    rgb(9 8 12 / 92%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #f6f2ea;
}

.depart-overlay[hidden] {
  display: none !important;
}

.depart-panel {
  width: min(100%, 34rem);
  text-align: center;
}

.depart-kicker {
  margin: 0;
  color: #caff5a;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.depart-prompt {
  margin: 1.1rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.55rem, 5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.depart-prompt em {
  display: inline;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #caff5a;
}

.depart-loader {
  margin: 2rem auto 0;
  width: fit-content;
  display: flex;
  gap: .45rem;
}

.depart-loader span {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: #caff5a;
  animation: depart-pulse 1s ease-in-out infinite;
}

.depart-loader span:nth-child(2) {
  animation-delay: .15s;
}

.depart-loader span:nth-child(3) {
  animation-delay: .3s;
}

@keyframes depart-pulse {
  0%,
  80%,
  100% {
    opacity: .28;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .depart-loader span {
    animation: none;
    opacity: .7;
  }
}
