@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-serif-regular-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lato-regular-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/lato-bold-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/caveat-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #696969;
  --faint: #969696;
  --line: rgba(10, 10, 10, 0.12);
  --line-strong: rgba(10, 10, 10, 0.24);
  --glass: rgba(250, 250, 250, 0.78);
  --glass-edge: rgba(255, 255, 255, 0.86);
  --accent-a: #1d6fff;
  --accent-b: #00a879;
  --accent-c: #ff6a3d;
  --success: #238636;
  --success-text: #145322;
  --success-bg: rgba(235, 251, 237, 0.9);
  --error: #b42318;
  --error-bg: rgba(255, 241, 240, 0.92);
  --font-ui: "Space Grotesk", "Avenir Next", sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-thoughts: "Caveat", "Segoe Print", cursive;
  --font-nav: "Lato", "Avenir Next", sans-serif;
  --shell: min(1120px, calc(100vw - 56px));
  --nav-height: 58px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --spring: cubic-bezier(0.2, 0.9, 0.2, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080808;
  --text: #f6f6f3;
  --muted: #a2a29e;
  --faint: #6f6f6b;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --glass: rgba(24, 24, 24, 0.76);
  --glass-edge: rgba(255, 255, 255, 0.13);
  --success: #56c568;
  --success-text: #b8f2c2;
  --success-bg: rgba(23, 67, 33, 0.9);
  --error: #ff8178;
  --error-bg: rgba(73, 25, 22, 0.92);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #080808;
    --text: #f6f6f3;
    --muted: #a2a29e;
    --faint: #6f6f6b;
    --line: rgba(255, 255, 255, 0.14);
    --line-strong: rgba(255, 255, 255, 0.28);
    --glass: rgba(24, 24, 24, 0.76);
    --glass-edge: rgba(255, 255, 255, 0.13);
    --success: #56c568;
    --success-text: #b8f2c2;
    --success-bg: rgba(23, 67, 33, 0.9);
    --error: #ff8178;
    --error-bg: rgba(73, 25, 22, 0.92);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 40px);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.65;
  transition: background-color 320ms ease, color 320ms ease;
}

::selection {
  background: color-mix(in srgb, var(--accent-b) 24%, transparent);
}

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

button,
input,
select {
  font: inherit;
}

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

button {
  color: inherit;
}

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

svg,
.lucide {
  display: block;
}

.shell {
  width: 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;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.8rem;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 0;
}

.glass-nav {
  position: relative;
  top: 16px;
  width: min(520px, calc(100vw - 28px));
  height: var(--nav-height);
  margin-inline: auto;
  padding: 0 8px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  border: 1px solid var(--glass-edge);
  border-radius: 21px;
  background: var(--glass);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  transform-origin: top center;
  transition: transform 240ms var(--ease-out), background-color 220ms ease, box-shadow 220ms ease;
}

:root[data-theme="dark"] .glass-nav {
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.36);
}

body.nav-compact .glass-nav {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

.brand,
.icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 13px;
}

.brand {
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-nav);
  font-size: 0.65rem;
  font-weight: 700;
  transform-origin: center;
  transition: transform 160ms var(--ease-out), border-radius 180ms var(--ease-in-out);
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover {
    border-radius: 50%;
    transform: scale(1.03);
  }
}

.brand:active {
  border-radius: 13px;
  transform: scale(0.95);
  transition-duration: 100ms;
}

.nav-links {
  width: 100%;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.2rem;
  font-family: var(--font-nav);
}

.nav-links a {
  position: relative;
  min-height: 44px;
  padding: 0.35rem 0;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  transition: color 180ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--text);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 260ms var(--spring);
}

.nav-links a.is-current::after {
  background: var(--accent-a);
}

.nav-links a.is-current {
  color: var(--text);
}

.nav-links a.is-current::after {
  transform: scaleX(1);
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover {
    color: var(--text);
  }

  .nav-links a:hover::after {
    transform: scaleX(1);
  }
}

.icon-button {
  position: relative;
  background: transparent;
  cursor: pointer;
  transition: background-color 180ms ease, transform 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .icon-button:hover {
    background: color-mix(in srgb, var(--text) 6%, transparent);
    transform: scale(1.03);
  }
}

.icon-button:active {
  transform: scale(0.96);
}

.icon-button .lucide {
  position: absolute;
  width: 17px;
  height: 17px;
  stroke-width: 1.65;
  transition: opacity 180ms ease, transform 220ms var(--ease-out);
}

.moon-icon {
  opacity: 0;
  transform: scale(0.65) rotate(-35deg);
}

:root[data-theme="dark"] .sun-icon {
  opacity: 0;
  transform: scale(0.65) rotate(35deg);
}

:root[data-theme="dark"] .moon-icon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .sun-icon {
    opacity: 0;
    transform: scale(0.65) rotate(35deg);
  }

  :root:not([data-theme]) .moon-icon {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.intro {
  min-height: min(760px, 86svh);
  padding-top: 130px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  grid-template-areas:
    "main art"
    "quote art"
    "kicker kicker";
  grid-template-rows: minmax(260px, 1fr) auto auto;
  column-gap: 2.25rem;
  row-gap: 1.25rem;
  align-items: center;
  position: relative;
}

.intro-main {
  z-index: 2;
  grid-area: main;
  max-width: 570px;
}

.intro h1,
.section-intro h2,
.about h2,
.contact h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
}

.intro h1 {
  max-width: 11ch;
  font-size: 3.5rem;
  line-height: 1.02;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, var(--accent-a) 4%, var(--accent-b) 48%, var(--accent-c) 88%);
  background-size: 210% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  font-style: italic;
  animation: gradient-flow 8s ease-in-out infinite;
}

.role-line {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.role-mask {
  height: 1.55em;
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.role-mask span {
  width: 8ch;
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b), var(--accent-c));
  background-clip: text;
  -webkit-background-clip: text;
  font-weight: 600;
}

.intro-copy {
  max-width: 560px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.intro-art {
  position: relative;
  grid-area: art;
  min-height: 510px;
  align-self: stretch;
  margin-right: calc((100vw - var(--shell)) / -2);
}

.intro-visual {
  --parallax-y: 0px;
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 0, #000 76%, transparent 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 76%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  transform: translate3d(0, var(--parallax-y), 0);
  transform-origin: center;
  transition: transform 120ms linear;
  will-change: transform;
}

.intro-visual img {
  position: absolute;
  top: 0;
  left: -78px;
  width: min(880px, 78vw);
  max-width: none;
  filter: grayscale(1) contrast(0.96);
  opacity: 0.9;
}

:root[data-theme="dark"] .intro-visual img {
  filter: grayscale(1) invert(1) contrast(0.92);
  opacity: 0.78;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .intro-visual img {
    filter: grayscale(1) invert(1) contrast(0.92);
    opacity: 0.78;
  }
}

.thought-note {
  position: absolute;
  top: 270px;
  left: -8px;
  z-index: 2;
  width: 220px;
  color: color-mix(in srgb, var(--text) 58%, transparent);
  font-family: var(--font-thoughts);
  transform: rotate(-1.8deg);
}

.thought-note p,
.thought-note ul {
  margin: 0;
}

.thought-note p {
  font-size: 1.1rem;
  line-height: 1.1;
}

.thought-note ul {
  padding: 0;
  list-style: none;
  font-size: 1.28rem;
  line-height: 1.22;
}

.thought-note img {
  width: 190px;
  margin-top: 0.42rem;
  opacity: 0.88;
}

.margin-note {
  color: var(--muted);
  font-family: var(--font-display);
  font-style: italic;
}

.margin-note p {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.35;
}

.margin-note a {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--faint);
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-style: normal;
}

.margin-note a:hover {
  color: var(--text);
}

.intro-note {
  z-index: 2;
  grid-area: quote;
  max-width: 260px;
  margin-left: 1.8rem;
  align-self: end;
  transform: rotate(-1.4deg);
}

.note-rule {
  width: 88px;
  height: 2px;
  margin-top: 0.9rem;
  display: block;
  background: var(--accent-a);
  transform: rotate(-1deg);
}

.journey-kicker {
  --journey-kicker-x: 0px;
  --journey-kicker-y: 0px;
  position: relative;
  z-index: 2;
  width: max-content;
  margin: 0;
  grid-area: kicker;
  justify-self: start;
  color: var(--faint);
  font-size: 0.67rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(var(--journey-kicker-x), var(--journey-kicker-y)) rotate(90deg);
  transform-origin: center;
}

.journey-section {
  border-top: 1px solid var(--line);
  padding-top: 100px;
}

.section-intro {
  min-height: 150px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  align-items: center;
  gap: 2.4rem;
}

.work-intro-copy {
  grid-column: 1;
}

.section-label {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-intro h2,
.about h2,
.contact h2 {
  font-size: 3.05rem;
  line-height: 1.02;
}

.section-intro.section-intro--thought h2 {
  max-width: 510px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.04;
}

.work-intro-copy .work-intro-label {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.work-intro-copy .work-intro-caption {
  margin: 0.35rem 0 0;
  color: var(--faint);
  font-size: 0.8rem;
  line-height: 1.45;
}

.work-thought {
  max-width: 360px;
  margin: 0;
  grid-column: 3;
  justify-self: start;
  color: color-mix(in srgb, var(--text) 64%, transparent);
  font-family: var(--font-thoughts);
  font-size: 1.55rem;
  line-height: 1.18;
  transform: rotate(-1deg);
}

.journey-track {
  position: relative;
  margin-top: 70px;
  padding-block: 30px;
}

.journey-path {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  shape-rendering: geometricPrecision;
}

.journey-path path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.journey-path__base {
  stroke: url(#journey-gradient);
  stroke-width: 1.55;
  stroke-dasharray: 7 11;
  opacity: 0.24;
}

.journey-path__progress {
  stroke: url(#journey-gradient);
  stroke-width: 2.35;
  opacity: 1;
  will-change: stroke-dashoffset;
}

.journey-stop {
  position: relative;
  z-index: 1;
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  align-items: center;
  column-gap: 2.4rem;
}

.journey-stop.reveal,
.journey-stop.reveal.is-visible {
  transform: none;
}

.journey-stop.reveal.is-visible {
  transition: opacity 700ms ease, filter 700ms ease;
}

.journey-stop--media-left .journey-media {
  grid-column: 1;
}

.journey-stop--media-left .journey-copy {
  grid-column: 3;
}

.journey-stop--media-right .journey-copy {
  grid-column: 1;
}

.journey-stop--media-right .journey-media {
  grid-column: 3;
}

.journey-marker {
  --marker-shift: 0px;
  --marker-scale: 1;
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
  grid-column: 2;
  grid-row: 1;
  border: 1px solid color-mix(in srgb, var(--accent-b) 48%, var(--line));
  border-radius: 50%;
  background: var(--bg);
  box-shadow: none;
  color: var(--accent-b);
  font-size: 0.7rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  isolation: isolate;
  line-height: 1;
  transform: translateX(var(--marker-shift)) scale(var(--marker-scale));
  transform-origin: 50% 50%;
  transition: color 300ms ease, border-color 300ms ease, background-color 300ms ease, transform 520ms var(--spring);
}

.journey-stop:nth-of-type(3n + 1) .journey-marker {
  --marker-shift: 20px;
}

.journey-stop:nth-of-type(3n + 2) .journey-marker {
  --marker-shift: -18px;
}

.journey-marker.is-passed {
  --marker-scale: 1.035;
  border-color: var(--accent-b);
  background: var(--bg);
  color: var(--text);
}

.journey-copy {
  max-width: 430px;
}

.journey-title-line {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.journey-title-line h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.04;
}

.journey-title-link,
.project-title-link,
.project-card-title-link {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.22em;
}

.journey-title-link span,
.project-title-link > span,
.project-card-title-link span {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, currentColor 42%, transparent);
  text-underline-offset: 0.18em;
  transition: text-decoration-color 180ms ease;
}

.journey-title-link .lucide,
.project-title-link .lucide,
.project-card-title-link .lucide {
  width: 0.48em;
  height: 0.48em;
  margin-top: 0.08em;
  flex: 0 0 auto;
  stroke-width: 1.55;
  transition: color 160ms ease, transform 180ms var(--ease-out);
}

.journey-title-link:hover span,
.project-title-link:hover > span,
.project-card-title-link:hover span {
  text-decoration-color: var(--accent-a);
}

.journey-title-link:hover .lucide,
.project-title-link:hover .lucide,
.project-card-title-link:hover .lucide {
  color: var(--accent-a);
  transform: translate(2px, -2px);
}

.journey-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 8px;
}

.journey-meta {
  margin: 0.75rem 0 0;
  color: var(--faint);
  font-size: 0.72rem;
}

.journey-meta span {
  margin-left: 0.55rem;
  color: var(--accent-b);
}

.journey-copy > p:not(.journey-meta, .personal-note) {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.personal-note {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-thoughts);
  font-size: 1.25rem;
  font-style: normal;
  line-height: 1.25;
  transform: rotate(-0.7deg);
}

.journey-media {
  --parallax-y: 0px;
  width: 100%;
  min-width: 0;
  margin: 0;
  display: grid;
  place-items: center;
  transform: translate3d(0, var(--parallax-y), 0);
  transition: transform 120ms linear;
  will-change: transform;
}

.journey-media img {
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.09));
}

[data-theme="dark"] .tech-icon--adaptive {
  filter: invert(1) drop-shadow(0 16px 24px rgba(0, 0, 0, 0.16));
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .tech-icon--adaptive {
    filter: invert(1) drop-shadow(0 16px 24px rgba(0, 0, 0, 0.16));
  }
}

.journey-media--wide {
  min-height: 290px;
  mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 86%, transparent 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 86%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
}

.journey-media--wide img {
  width: min(100%, 390px);
  max-height: 300px;
  object-fit: contain;
}

.journey-media--tikkun img {
  width: min(100%, 430px);
  aspect-ratio: 16 / 9;
  max-height: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  object-fit: cover;
  transform: rotate(-0.45deg);
}

.journey-media--site img {
  width: min(100%, 430px);
  aspect-ratio: 16 / 10;
  max-height: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  object-fit: cover;
  object-position: top center;
  transform: rotate(0.35deg);
}

.journey-media--icon img {
  width: 138px;
  height: 138px;
  object-fit: contain;
  border-radius: 30px;
}

.journey-media--luma img {
  width: 158px;
  height: 158px;
}

.journey-reflections {
  margin-top: 52px;
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1fr) minmax(200px, 0.9fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.journey-reflections .personal-note:last-child {
  grid-column: 3;
  margin-top: 1.8rem;
  transform: rotate(0.8deg);
}

.context-quote {
  max-width: 300px;
  margin: clamp(3.5rem, 7vw, 5.5rem) auto 0;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  transform: rotate(0.6deg);
}

.context-quote p {
  font-size: 1.03rem;
}

.project-browser-row {
  position: relative;
  min-height: 118px;
  margin-top: 40px;
  margin-bottom: 120px;
}

.closing-note {
  position: absolute;
  top: 25px;
  right: auto;
  left: calc(50% + 240px);
  width: min(280px, calc(50% - 240px));
  max-width: 280px;
  margin: 0;
  padding-left: 0;
  transform: rotate(-0.5deg);
}

.closing-note .note-rule {
  margin-left: 0;
}

.project-browser {
  width: 100%;
  margin: 0;
  padding-top: 32px;
  display: block;
  pointer-events: none;
}

.project-browser-summary {
  width: min(400px, 100%);
  min-height: 54px;
  margin: 0 auto;
  padding: 0 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: var(--glass);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  list-style: none;
  cursor: pointer;
  pointer-events: auto;
  font-size: 0.88rem;
  transition: border-color 180ms ease, transform 180ms var(--ease-out), box-shadow 220ms ease;
}

.project-browser-summary::-webkit-details-marker,
.project-row summary::-webkit-details-marker {
  display: none;
}

.project-browser-summary::marker,
.project-row summary::marker {
  content: "";
}

.project-browser-summary:hover {
  border-color: color-mix(in srgb, var(--accent-a) 40%, var(--line-strong));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.project-browser[open] > .project-browser-summary,
.project-browser[open] > .project-browser-summary:hover {
  border-color: var(--accent-a);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-a) 22%, transparent), 0 16px 40px rgba(0, 0, 0, 0.08);
}

.project-browser-summary:active {
  transform: scale(0.985);
}

.browser-summary-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.browser-summary-main .lucide,
.browser-chevron {
  width: 18px;
  height: 18px;
  stroke-width: 1.55;
}

.browser-chevron {
  transition: transform 220ms var(--ease-out);
}

.project-browser[open] .browser-chevron {
  transform: rotate(180deg);
}

.project-browser-panel {
  width: min(1060px, 100%);
  margin-top: 50px;
  margin-inline: auto;
  padding-top: 0;
  pointer-events: auto;
  animation: panel-reveal 240ms var(--ease-out) both;
}

.directory-intro {
  padding-bottom: 2.3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 3rem;
}

.directory-intro .section-label {
  margin-bottom: 0.45rem;
}

.directory-intro h3 {
  max-width: 16ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 400;
  line-height: 1.05;
}

.directory-intro > p {
  max-width: 360px;
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.browser-toolbar {
  min-height: 58px;
  padding: 0.42rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--glass) 88%, transparent);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.045);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.search-control,
.category-control {
  min-height: 44px;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  color: var(--muted);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.search-control:focus-within,
.category-control:focus-within {
  border-color: color-mix(in srgb, var(--accent-a) 58%, transparent);
  background: var(--bg);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-a) 10%, transparent);
}

.search-control {
  width: min(260px, 36vw);
  gap: 0.7rem;
}

.search-control .lucide,
.category-control .lucide {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  stroke-width: 1.6;
}

.search-control input,
.category-control select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.8rem;
}

.search-control input::placeholder {
  color: var(--faint);
}

.category-control {
  position: relative;
  width: 150px;
}

.category-control select {
  padding-right: 1.4rem;
  appearance: none;
  cursor: pointer;
}

.category-control .lucide {
  position: absolute;
  right: 0.7rem;
  pointer-events: none;
}

.browser-count {
  margin: 0 0 0 auto;
  color: var(--faint);
  font-size: 0.7rem;
  white-space: nowrap;
}

.view-switcher {
  min-height: 44px;
  padding: 3px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: color-mix(in srgb, var(--text) 3%, transparent);
}

.view-switcher button {
  min-height: 36px;
  padding: 0 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-nav);
  font-size: 0.67rem;
  cursor: pointer;
  transform-origin: center;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 220ms ease, transform 140ms var(--ease-out);
  will-change: transform;
}

.view-switcher button:hover {
  background: color-mix(in srgb, var(--bg) 58%, transparent);
}

.view-switcher button:active {
  transform: scale(0.96);
}

.view-switcher button[aria-pressed="true"] {
  background: var(--bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  color: var(--text);
}

.view-switcher .lucide {
  width: 14px;
  height: 14px;
  stroke-width: 1.6;
}

.project-browser-layout {
  margin-top: 2.35rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 3.25rem;
}

.project-browser[data-view="gallery"] .project-browser-layout {
  grid-template-columns: minmax(0, 1fr);
}

.project-browser[data-view="gallery"] .project-preview,
.project-browser.is-empty .project-browser-layout {
  display: none;
}

.project-group {
  position: relative;
  margin-top: 3.35rem;
  padding-left: 0;
}

.project-group:first-child {
  margin-top: 0;
}

.project-group[hidden],
.project-row[hidden],
.project-gallery-group[hidden],
.project-card[hidden] {
  display: none;
}

.project-group > h3 {
  margin: 0 0 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--faint);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-group > h3::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.project-row {
  position: relative;
  scroll-margin-top: calc(var(--nav-height) + 30px);
}

.project-row::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 51px;
  height: 1px;
  content: "";
  background: var(--line);
  transition: background-color 180ms ease;
}

.project-row[open]::after,
.project-row.is-previewed::after {
  background: var(--line-strong);
}

.project-row summary {
  min-height: 62px;
  padding: 0 0.55rem;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 96px 18px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.95rem;
  row-gap: 0.18rem;
  border-radius: 12px;
  list-style: none;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms var(--spring);
}

.project-row summary:hover,
.project-row[open] summary {
  background: color-mix(in srgb, var(--text) 3.5%, transparent);
}

.project-row summary:active {
  transform: scale(0.994);
}

.project-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  grid-column: 1;
  grid-row: 1 / 3;
}

.project-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-icon--wide {
  overflow: hidden;
  border-radius: 7px;
}

.project-icon--wide img {
  object-fit: cover;
}

.project-title {
  position: relative;
  width: fit-content;
  max-width: 100%;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.25;
}

.project-title::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--accent-a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease-out);
}

.project-title--linked::after {
  display: none;
}

.project-row:hover .project-title::after,
.project-row.is-previewed .project-title::after,
.project-row[open] .project-title::after {
  transform: scaleX(1);
}

.project-type,
.project-status {
  color: var(--faint);
  font-size: 0.68rem;
  line-height: 1.25;
}

.project-type {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.project-status {
  grid-column: 3;
  grid-row: 1 / 3;
  justify-self: end;
  color: var(--muted);
  text-align: right;
}

.project-status::before {
  width: 4px;
  height: 4px;
  margin-right: 0.38rem;
  display: inline-block;
  border-radius: 50%;
  background: var(--faint);
  content: "";
  vertical-align: middle;
  transition: background-color 180ms ease;
}

.project-row[open] .project-status::before,
.project-row.is-previewed .project-status::before {
  background: var(--accent-b);
}

.project-row[data-status="live"] .project-status::before,
.project-card[data-status="live"] .project-card-status::before,
.project-row[data-status="ongoing"] .project-status::before,
.project-card[data-status="ongoing"] .project-card-status::before {
  background: var(--accent-b);
}

.project-row[data-status="in-progress"] .project-status::before,
.project-card[data-status="in-progress"] .project-card-status::before {
  background: var(--accent-a);
}

.project-row[data-status="prototype"] .project-status::before,
.project-card[data-status="prototype"] .project-card-status::before {
  background: #8b5cf6;
}

.row-chevron {
  width: 17px;
  height: 17px;
  grid-column: 4;
  grid-row: 1 / 3;
  stroke-width: 1.5;
  color: var(--faint);
  transition: transform 220ms var(--ease-out);
}

.project-row[open] .row-chevron {
  transform: rotate(180deg);
}

.project-detail {
  margin-left: 51px;
  padding: 0.3rem 1.2rem 1.4rem 0;
}

.project-row[open] .project-detail {
  animation: detail-reveal 200ms var(--ease-out) both;
}

.project-detail > p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.project-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 0.85rem;
  color: var(--faint);
  font-size: 0.68rem;
}

.project-actions button {
  min-height: 40px;
  padding: 0 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--text) 3%, transparent);
  color: var(--text);
  font-family: var(--font-nav);
  font-size: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 220ms ease, transform 140ms var(--ease-out);
}

.project-actions a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: var(--text);
  font-family: var(--font-nav);
  font-size: inherit;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 0.24em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.project-actions button:hover {
  border-color: color-mix(in srgb, var(--text) 26%, transparent);
  background: color-mix(in srgb, var(--text) 6%, transparent);
  transform: translateY(-1px);
}

.project-actions a:hover {
  color: var(--accent-a);
  text-decoration-color: currentColor;
}

.project-actions button:active {
  transform: scale(0.97);
}

.project-actions > span {
  flex: 1 1 210px;
}

.project-actions .lucide {
  width: 12px;
  height: 12px;
  stroke-width: 1.7;
}

.mobile-row-preview {
  display: none;
}

.project-gallery {
  min-width: 0;
  grid-column: 1 / -1;
}

.project-gallery-group {
  margin-top: 4.75rem;
}

.project-gallery-group:first-child {
  margin-top: 0;
}

.project-gallery-group > h3 {
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--faint);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-gallery-group > h3::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.5rem 1.7rem;
}

.project-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.project-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0 0 1rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--text) 3.5%, transparent);
  transition: background-color 180ms ease, transform 220ms var(--ease-out);
}

a.project-card-media {
  color: inherit;
  cursor: pointer;
}

a.project-card-media:focus-visible {
  outline-offset: 3px;
}

.project-card-media img {
  object-fit: contain;
  filter: none;
  transition: transform 220ms var(--ease-out);
}

.project-card-media img.is-wide {
  width: 100%;
  height: 100%;
}

.project-card-media img.is-icon {
  width: min(43%, 112px);
  max-height: 60%;
}

.project-card-media img.is-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

@media (hover: hover) and (pointer: fine) {
  a.project-card-media:hover {
    background: color-mix(in srgb, var(--text) 5.5%, transparent);
    transform: translateY(-2px);
  }

  a.project-card-media:hover img {
    transform: scale(1.015);
  }
}

.project-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--faint);
  font-size: 0.65rem;
}

.project-card-status {
  color: var(--muted);
  white-space: nowrap;
}

.project-card-status::before {
  width: 4px;
  height: 4px;
  margin-right: 0.4rem;
  display: inline-block;
  border-radius: 50%;
  background: var(--faint);
  content: "";
  vertical-align: middle;
}

.project-card h4 {
  margin: 0.42rem 0 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.08;
}

.project-card-description {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.project-card-stack {
  margin: 0.75rem 0 0;
  color: var(--faint);
  font-size: 0.63rem;
  line-height: 1.45;
}

.project-card-actions {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.project-card-actions a,
.project-card-actions button {
  min-height: 40px;
  padding: 0 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--text) 3%, transparent);
  color: var(--text);
  font-family: var(--font-nav);
  font-size: 0.66rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 220ms ease, transform 140ms var(--ease-out);
}

.project-card-actions a {
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-underline-offset: 0.22em;
}

.project-card-actions button:hover {
  border-color: color-mix(in srgb, var(--text) 26%, transparent);
  background: color-mix(in srgb, var(--text) 6%, transparent);
  transform: translateY(-1px);
}

.project-card-actions a:hover {
  color: var(--accent-a);
}

.project-card-actions button:active {
  transform: scale(0.97);
}

.project-card-actions .lucide {
  width: 12px;
  height: 12px;
  stroke-width: 1.65;
}

.empty-state {
  margin: 3rem 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.empty-state p {
  margin: 0 0 0.8rem;
}

.empty-state button {
  min-height: 40px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--text) 3%, transparent);
  cursor: pointer;
  font-size: 0.75rem;
}

.project-preview {
  position: sticky;
  top: 105px;
  padding-left: 0;
  align-self: start;
}

.preview-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: color-mix(in srgb, var(--text) 3%, transparent);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.055);
}

.preview-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 160ms ease, transform 220ms var(--ease-out);
}

.preview-visual img:not(.tech-icon--adaptive) {
  filter: none;
}

.preview-visual img.is-wide {
  object-fit: contain;
}

.preview-visual img:not(.is-wide):not(.is-cover) {
  width: min(44%, 112px);
  height: min(60%, 120px);
}

.preview-visual img.is-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.project-preview.is-changing img {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
}

.project-preview p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.about {
  padding-block: 130px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 8rem;
  border-top: 1px solid var(--line);
}

.about-visual,
.about-copy {
  width: 100%;
  min-width: 0;
}

.about h2 {
  max-width: 9ch;
}

.context-strip {
  width: 100%;
  max-width: 100%;
  margin-top: 3rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
}

.context-strip-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: context-drift 30s linear infinite;
}

.context-strip img {
  width: 168px;
  height: 112px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: none;
}

.about-copy {
  padding-top: 1.8rem;
}

.about-copy > p {
  margin: 0 0 1.3rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.stack-heading {
  margin-top: 2.3rem !important;
  color: var(--muted);
  font-size: 0.7rem !important;
}

.stack-list {
  margin-top: 1.2rem;
  padding-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.73rem;
}

.stack-column {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.stack-list span {
  min-height: 31px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
}

.stack-list img {
  width: 19px;
  height: 19px;
  justify-self: center;
  object-fit: contain;
}

.computer-heading {
  margin-top: 1.8rem !important;
}

.spoken-languages {
  margin-top: 0.85rem;
  padding: 0.35rem 0 1.15rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  border-top: 1px solid var(--line);
}

.spoken-languages span {
  min-width: 0;
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.spoken-languages strong {
  font-size: 0.75rem;
  font-weight: 500;
}

.spoken-languages small {
  color: var(--faint);
  font-size: 0.62rem;
}

.contact {
  padding-block: 145px 155px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact h2 {
  margin-inline: auto;
}

.contact h2 em {
  color: transparent;
  background: linear-gradient(100deg, #1e90ff 2%, #87ceeb 34%, #4169e1 68%, #237cff 98%);
  background-size: 260% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  font-style: italic;
  font-weight: inherit;
  animation: gradient-flow 6.5s ease-in-out infinite;
}

.contact > p:not(.section-label) {
  max-width: 520px;
  margin: 1.2rem auto 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.contact-actions {
  margin-top: 2.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
}

.contact-link {
  min-height: 44px;
  padding-bottom: 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1px solid var(--line-strong);
  font-size: 1.24rem;
  transition: border-color 180ms ease;
}

.contact-link .lucide {
  width: 16px;
  height: 16px;
  stroke-width: 1.55;
}

.contact-link:hover {
  border-color: var(--text);
}

.copy-button {
  min-height: 44px;
  padding: 0 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: color-mix(in srgb, var(--text) 3%, transparent);
  color: var(--muted);
  font-size: 0.72rem;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out);
}

.copy-button:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--text) 28%, transparent);
  background: color-mix(in srgb, var(--text) 6%, transparent);
  transform: translateY(-1px);
}

.copy-button:active {
  transform: scale(0.97);
}

.copy-button .lucide {
  width: 14px;
  height: 14px;
  stroke-width: 1.65;
}

.site-footer {
  min-height: 100px;
  padding-block: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
}

.site-footer p {
  margin: 0;
}

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

.site-footer a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.site-footer a:hover {
  color: var(--text);
}

.site-footer .lucide {
  width: 12px;
  height: 12px;
}

.notice-region {
  position: fixed;
  z-index: 60;
  pointer-events: none;
}

.notice-region--bottom {
  right: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  transform: translateX(50%);
}

.notice {
  width: min(350px, calc(100vw - 28px));
  min-height: 58px;
  padding: 0.72rem 0.78rem;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--glass-edge);
  border-radius: 16px;
  background: var(--glass);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.13);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  filter: blur(8px);
  opacity: 0;
  pointer-events: auto;
  transform: translate3d(0, calc(100% + 38px), 0) scale(0.96);
  transform-origin: bottom center;
  will-change: transform, opacity, filter;
  transition: opacity 160ms ease, filter 180ms ease, transform 280ms var(--ease-out);
}

.notice.is-visible {
  filter: blur(0);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.notice[data-tone="success"] {
  border-color: var(--glass-edge);
  background: var(--glass);
  color: var(--text);
}

.notice[data-tone="success"] > .lucide {
  color: var(--accent-b);
}

.notice[data-tone="error"] {
  border-color: color-mix(in srgb, var(--error) 30%, transparent);
  background: var(--error-bg);
  color: var(--error);
}

.notice > .lucide {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.notice p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.35;
}

.notice-dismiss {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.notice-dismiss:hover {
  background: color-mix(in srgb, currentColor 8%, transparent);
}

.notice-dismiss .lucide {
  width: 14px;
  height: 14px;
}

.reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(20px);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition: opacity 700ms ease, filter 700ms ease, transform 800ms var(--spring);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-nav,
  .project-browser-summary,
  .browser-toolbar,
  .notice {
    background-color: var(--bg);
  }
}

@keyframes gradient-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes context-drift {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 0.5rem)); }
}

@keyframes panel-reveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes detail-reveal {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-height: 700px) and (min-width: 701px) {
  .intro {
    min-height: 520px;
    padding-top: 96px;
    padding-bottom: 44px;
    grid-template-rows: minmax(225px, 1fr) auto auto;
  }

  .intro-art {
    min-height: 370px;
  }

  .intro-visual img {
    top: -22px;
    width: min(720px, 70vw);
  }

  .thought-note {
    top: 205px;
    left: 0;
  }

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

@media (max-width: 1023px) {
  .project-browser-row {
    min-height: 0;
    margin-top: 40px;
    display: block;
  }

  .closing-note {
    position: static;
    width: min(530px, 100%);
    margin-left: auto;
  }

  .project-browser {
    margin-top: 70px;
    padding-top: 0;
    display: block;
    pointer-events: auto;
  }

  .project-browser-summary {
    width: min(400px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 920px) {
  :root {
    --shell: min(100% - 40px, 760px);
  }

  .intro {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    column-gap: 1.75rem;
  }

  .intro-art {
    min-height: 470px;
  }

  .intro-visual img {
    left: -55px;
    width: min(760px, 84vw);
  }

  .thought-note {
    top: 250px;
    left: -2px;
  }

  .intro h1 {
    font-size: 3.2rem;
  }

  .section-intro h2,
  .about h2,
  .contact h2 {
    font-size: 2.8rem;
  }

  .journey-stop {
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    column-gap: 1.5rem;
  }

  .section-intro {
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    gap: 1.5rem;
  }

  .journey-title-line h3 {
    font-size: 2.1rem;
  }

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

  .project-preview {
    display: none;
  }

  .project-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about {
    gap: 4rem;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: calc(100% - 28px);
    --nav-height: 58px;
  }

  .glass-nav {
    top: 10px;
    width: calc(100vw - 20px);
    padding-inline: 7px;
    grid-template-columns: 42px 1fr 42px;
    border-radius: 19px;
  }

  .brand,
  .icon-button {
    width: 40px;
    height: 40px;
  }

  .nav-links {
    gap: 1.45rem;
  }

  .nav-links a {
    font-size: 0.72rem;
  }

  .intro {
    min-height: 780px;
    padding-top: 110px;
    padding-bottom: 42px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "art"
      "quote"
      "kicker";
    grid-template-rows: auto 300px auto auto;
    gap: 1.2rem;
    align-content: start;
  }

  .intro-art {
    width: calc(100% + 14px);
    min-height: 300px;
    margin: 0 -14px 0 0;
  }

  .intro-visual img {
    top: -20px;
    left: -58px;
    width: 610px;
  }

  .intro-visual {
    --parallax-y: 0px !important;
    transform: none !important;
    transition: none;
    will-change: auto;
  }

  .thought-note {
    top: 164px;
    left: 8px;
    width: 178px;
  }

  .thought-note p {
    font-size: 1rem;
  }

  .thought-note ul {
    font-size: 1.1rem;
  }

  .thought-note img {
    width: 154px;
    margin-top: 0.28rem;
  }

  .intro h1 {
    max-width: 10ch;
    font-size: 2.7rem;
  }

  .intro-copy {
    font-size: 0.9rem;
  }

  .intro-note {
    max-width: 240px;
    margin-left: 1.1rem;
  }

  .margin-note p {
    font-size: 1rem;
  }

  .journey-kicker {
    align-self: end;
  }

  .journey-section {
    padding-top: 76px;
  }

  .section-intro {
    min-height: 190px;
    padding-block: 0.5rem;
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 1.4rem;
  }

  .work-intro-copy,
  .work-thought {
    grid-column: 1;
  }

  .section-intro--thought .work-intro-copy {
    margin-left: 54px;
  }

  .section-intro h2,
  .about h2,
  .contact h2 {
    font-size: 2.4rem;
  }

  .work-thought {
    max-width: 260px;
    margin: 0 10px 0 auto;
    font-size: 1.35rem;
  }

  .journey-track {
    margin-top: 45px;
    padding-block: 0;
    padding-left: 54px;
  }

  .journey-stop {
    min-height: auto;
    padding: 54px 0 74px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .journey-stop--media-left .journey-media,
  .journey-stop--media-left .journey-copy,
  .journey-stop--media-right .journey-media,
  .journey-stop--media-right .journey-copy {
    grid-column: 1;
  }

  .journey-stop--media-left .journey-media {
    grid-row: 1;
  }

  .journey-stop--media-left .journey-copy {
    grid-row: 2;
  }

  .journey-stop--media-right .journey-copy {
    grid-row: 1;
  }

  .journey-stop--media-right .journey-media {
    grid-row: 2;
  }

  .journey-marker,
  .journey-stop:nth-of-type(3n + 1) .journey-marker,
  .journey-stop:nth-of-type(3n + 2) .journey-marker {
    --marker-shift: 0px;
    position: absolute;
    top: 58px;
    left: -54px;
    width: 36px;
    height: 36px;
    grid-column: auto;
    grid-row: auto;
    transform: scale(var(--marker-scale));
    font-size: 0.63rem;
  }

  .journey-title-line h3 {
    font-size: 2rem;
  }

  .journey-copy > p:not(.journey-meta, .personal-note) {
    font-size: 0.86rem;
  }

  .journey-media {
    justify-content: start;
    --parallax-y: 0px !important;
    transform: none !important;
    transition: none;
    will-change: auto;
  }

  .journey-stop.reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .journey-media--wide {
    min-height: 180px;
  }

  .journey-media--wide img {
    width: min(100%, 330px);
    max-height: 220px;
  }

  .journey-media--icon img,
  .journey-media--luma img {
    width: 110px;
    height: 110px;
    border-radius: 24px;
  }

  .journey-reflections {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .journey-reflections .personal-note {
    max-width: 260px;
    margin-left: 1rem;
  }

  .journey-reflections .personal-note:last-child {
    grid-column: auto;
    margin-top: 0;
    margin-right: 0.5rem;
    margin-left: auto;
  }

  .context-quote {
    max-width: 270px;
    margin: 3rem 0 0 1rem;
  }

  .closing-note {
    max-width: none;
    margin: 20px auto 0;
    padding: 0 14px 0 68px;
  }

  .closing-note .note-rule {
    margin-left: 0;
  }

  .project-browser-row {
    margin-top: 20px;
    margin-bottom: 80px;
  }

  .project-browser {
    margin-top: 70px;
    margin-bottom: 0;
  }

  .project-browser-summary {
    min-height: 56px;
    border-radius: 16px;
  }

  .project-browser-panel {
    margin-top: 38px;
  }

  .directory-intro {
    padding-bottom: 1.8rem;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .directory-intro h3 {
    font-size: 1.9rem;
  }

  .directory-intro > p {
    max-width: 330px;
  }

  .browser-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 0.5rem 1rem;
  }

  .search-control {
    width: 100%;
  }

  .category-control {
    width: 140px;
  }

  .browser-count {
    grid-column: 1;
    align-self: center;
    margin: 0;
  }

  .view-switcher {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }

  .project-gallery-group {
    margin-top: 3.8rem;
  }

  .project-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.2rem 1rem;
  }

  .project-card-media {
    aspect-ratio: 16 / 10;
  }

  .project-card h4 {
    font-size: 1.65rem;
  }

  .project-group {
    margin-top: 3.4rem;
    padding-left: 0;
  }

  .project-row summary {
    min-height: 66px;
    padding-inline: 0.35rem;
    grid-template-columns: 30px minmax(0, 1fr) auto 16px;
    column-gap: 0.65rem;
  }

  .project-row::after {
    left: 45px;
  }

  .project-status {
    max-width: none;
    font-size: 0.62rem;
    white-space: nowrap;
  }

  .project-detail,
  .project-row[open] .project-detail {
    margin-left: 45px;
    padding-right: 0.2rem;
    padding-left: 0;
  }

  .project-actions button,
  .project-card-actions button {
    min-height: 44px;
  }

  .mobile-row-preview {
    width: min(280px, 100%);
    max-height: 180px;
    margin-bottom: 1rem;
    display: block;
    object-fit: contain;
  }

  .mobile-row-preview.is-wide {
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line);
    border-radius: 10px;
    object-fit: cover;
  }

  .mobile-row-preview.is-cover {
    width: min(280px, 100%);
    height: 175px;
    max-height: 175px;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--line);
    border-radius: 10px;
    object-fit: cover;
  }

  .mobile-row-preview:not(.is-wide):not(.is-cover) {
    width: 96px;
    height: 96px;
  }

  .about {
    padding-block: 88px;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-copy {
    padding-top: 0;
  }

  .context-strip {
    margin-top: 2.2rem;
  }

  .context-strip img {
    width: 150px;
    height: 100px;
  }

  .contact {
    padding-block: 90px 100px;
  }

  .contact-actions {
    flex-direction: column;
    gap: 0.8rem;
  }

  .contact-link {
    font-size: 1.05rem;
  }

  .notice-region--bottom {
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .site-footer {
    gap: 1.5rem;
  }

  .site-footer nav {
    gap: 0.85rem;
  }
}

@media (max-width: 380px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.68rem;
  }

  .intro h1 {
    font-size: 2.5rem;
  }

  .browser-toolbar {
    grid-template-columns: 1fr;
  }

  .category-control {
    width: 100%;
  }

  .browser-count {
    grid-column: 1;
  }

  .view-switcher {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .project-row summary {
    grid-template-columns: 26px minmax(0, 1fr) auto 15px;
    column-gap: 0.55rem;
  }

  .project-title {
    font-size: 0.88rem;
  }

  .spoken-languages {
    gap: 0.7rem;
  }

  .site-footer {
    align-items: flex-start;
  }

  .site-footer nav {
    align-items: flex-end;
    flex-direction: column;
  }
}

@media (max-width: 479px) {
  .project-gallery-grid {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .journey-media {
    --parallax-y: 0px !important;
  }

  .intro-visual {
    --parallax-y: 0px !important;
    transform: none !important;
  }
}
