:root {
  --bg: #050505;
  --bg-soft: #101010;
  --panel: rgba(12, 12, 12, 0.9);
  --paper: #ececea;
  --paper-strong: #f4f4f1;
  --ink: #111111;
  --ink-soft: #3f3f3b;
  --muted: #8f8f88;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.22);
  --accent: #bf1414;
  --accent-soft: rgba(191, 20, 20, 0.14);
  --accent-line: rgba(191, 20, 20, 0.55);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
  --body-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  --display-font: "Times New Roman", "Noto Serif SC", "SimSun", Georgia, serif;
  --mono-font: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  --container: min(1700px, calc(100% - 96px));
  --mx: 50%;
  --my: 28%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--paper-strong);
  font-family: var(--body-font);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(191, 20, 20, 0.13), transparent 24%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 36%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 17vw),
    linear-gradient(180deg, #0a0a0a 0%, #050505 56%, #080808 100%);
  opacity: 1;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: var(--paper-strong);
  color: var(--bg);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--paper-strong);
  color: var(--bg);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.page-shell {
  position: relative;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  left: 50%;
  top: 24px;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  width: var(--container);
  transform: translateX(-50%);
  align-items: center;
  transition:
    top 220ms ease,
    width 220ms ease,
    padding 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-floating {
  top: 16px;
  width: min(1500px, calc(100% - 64px));
  padding: 12px;
  background: rgba(18, 18, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(120%);
}

.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 14px;
  padding: 15px 22px 14px;
  background: var(--accent);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.42);
}

.brand__mark {
  font-family: var(--display-font);
  font-size: 36px;
  line-height: 0.92;
}

.brand__copy {
  color: rgba(244, 244, 241, 0.82);
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.28);
  backdrop-filter: blur(18px);
}

.nav a {
  padding: 11px 15px;
  color: rgba(244, 244, 241, 0.82);
  font-size: 14px;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--paper-strong);
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sound-toggle,
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--paper-strong);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.sound-toggle {
  cursor: pointer;
  font: inherit;
}

.sound-toggle__icon {
  display: inline-grid;
  place-items: center;
  width: 16px;
  font-size: 18px;
  line-height: 1;
  opacity: 0.58;
}

.sound-toggle__label {
  font-size: 13px;
  line-height: 1;
}

.sound-toggle.is-playing .sound-toggle__icon {
  opacity: 1;
  animation: sound-pulse 1.4s ease-in-out infinite;
}

.sound-toggle:hover,
.sound-toggle:focus-visible,
.contact-button:hover,
.contact-button:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.44);
}

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: clip;
  color: var(--paper-strong);
  background: #090909;
}

.hero__fallback,
.hero__media,
.hero__grid,
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__fallback,
.hero__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__fallback {
  z-index: 0;
  display: none;
}

.hero__media {
  z-index: 1;
  filter: grayscale(0.22) contrast(1.04) saturate(0.72) brightness(0.84);
  transform: scale(1.06);
  animation: hero-zoom 20s ease-in-out infinite alternate;
}

.hero__grid {
  z-index: 2;
  opacity: 0.86;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 17vw),
    repeating-linear-gradient(70deg, transparent 0 86px, rgba(255, 255, 255, 0.03) 86px 88px, transparent 88px 182px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.52) 62%, rgba(0, 0, 0, 0.76));
  animation: grid-drift 28s linear infinite;
}

.hero__glow {
  z-index: 2;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.14), transparent 24%),
    radial-gradient(circle at 52% 48%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.36), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.36));
  mix-blend-mode: screen;
}

.hero__content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.76fr);
  grid-template-rows: auto 1fr auto;
  gap: 34px 64px;
  min-height: 100dvh;
  padding: 132px 0 56px;
}

.hero__topline {
  display: contents;
}

.hero__note {
  width: min(520px, 100%);
}

.hero__note span,
.hero__eyebrow,
.hero__directory span,
.section-label p,
.section-label span,
.eyebrow,
.project-group__heading p,
.project-group__heading > span,
.project-card__kicker,
.project-modal__kicker,
.timeline-item time,
.contact-panel small,
.strength-card__label,
.hobby-card__label {
  font-family: var(--mono-font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__note--left {
  align-self: start;
  margin-top: 12vh;
}

.hero__note--left span {
  display: block;
  color: rgba(244, 244, 241, 0.74);
  font-size: 12px;
  line-height: 1.35;
}

.hero__note--left strong {
  display: block;
  margin-top: 8px;
  color: var(--paper-strong);
  font-size: 31px;
  line-height: 1.02;
  font-weight: 600;
}

.hero__note--right {
  justify-self: end;
  align-self: start;
  width: min(530px, 100%);
  margin-top: 10vh;
}

.hero__note--right p {
  margin: 0 0 18px;
  color: rgba(244, 244, 241, 0.76);
  font-size: 15px;
  line-height: 1.95;
}

.hero__note--right span {
  display: block;
  color: rgba(244, 244, 241, 0.82);
  font-size: 12px;
  line-height: 1.4;
}

.hero__directory {
  position: absolute;
  right: max(48px, calc(50vw - 850px));
  top: 92px;
  display: grid;
  grid-template-columns: repeat(3, minmax(132px, auto));
  gap: 58px;
  color: var(--paper-strong);
}

.hero__directory div {
  display: grid;
  gap: 8px;
}

.hero__directory span {
  color: rgba(244, 244, 241, 0.56);
  font-size: 11px;
  line-height: 1;
}

.hero__directory a {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.05;
}

.hero__title-block {
  align-self: end;
  justify-self: center;
  max-width: 940px;
  grid-column: 1 / -1;
  text-align: center;
}

.hero__title-block h1 {
  margin: 18px 0 0;
  font-family: var(--display-font);
  font-size: clamp(58px, 5.7vw, 108px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero__title-block h1[data-split-title] {
  overflow: hidden;
}

.hero-title-char {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 0.76em, 0) rotateX(16deg);
  transform-origin: 50% 100%;
  will-change: transform, opacity, filter;
}

.is-ready .hero-title-char {
  animation: hero-title-char-in 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(220ms + var(--char-delay, 0ms));
}

.hero__title-block p {
  margin: 24px 0 0;
  color: rgba(244, 244, 241, 0.82);
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: 0.08em;
}

.hero__bottom {
  display: grid;
  grid-template-columns: minmax(320px, 640px) auto;
  align-items: end;
  gap: 34px;
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 24px;
}

.hero__bottom-copy {
  margin: 0;
  color: rgba(244, 244, 241, 0.78);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__cta {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 280px;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
}

.section {
  padding: 96px 0;
}

.section--light {
  background: var(--paper);
  color: var(--ink);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--ink);
}

.section-label span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 17, 17, 0.28);
  font-size: 13px;
}

.section-label p {
  margin: 0;
  color: rgba(17, 17, 17, 0.62);
  font-size: 12px;
}

.section:not(.section--light) .section-label {
  color: var(--paper-strong);
}

.section:not(.section--light) .section-label span {
  border-color: rgba(255, 255, 255, 0.26);
}

.section:not(.section--light) .section-label p {
  color: rgba(244, 244, 241, 0.62);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.section-manifesto {
  max-width: 980px;
}

.section-manifesto h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(38px, 4.4vw, 78px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-manifesto p {
  margin: 18px 0 0;
  max-width: 68ch;
  color: rgba(17, 17, 17, 0.68);
  font-size: 15px;
  line-height: 1.85;
}

.section:not(.section--light) .section-manifesto p {
  color: rgba(244, 244, 241, 0.7);
}

.profile-grid {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-columns: minmax(160px, 0.25fr) minmax(520px, 0.88fr) minmax(420px, 0.64fr);
  gap: 28px 56px;
  align-items: start;
}

.profile-grid > .section-label {
  grid-column: 1;
}

.profile-copy {
  grid-column: 2;
  max-width: 680px;
}

.profile-name {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
}

.profile-copy .eyebrow {
  margin: 0 0 14px;
  color: rgba(17, 17, 17, 0.58);
  font-size: 12px;
}

.profile-copy h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(32px, 2.2vw, 43px);
  font-weight: 500;
  line-height: 1.16;
}

.profile-copy h2 span {
  display: block;
}

.profile-summary {
  margin: 22px 0 0;
  max-width: 70ch;
  color: rgba(17, 17, 17, 0.74);
  font-size: 14px;
  line-height: 1.8;
}

.portrait-wrap {
  position: relative;
  grid-column: 3;
  grid-row: 1 / span 3;
  min-height: 720px;
  overflow: hidden;
  background: var(--ink);
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.72) contrast(1.03) saturate(0.66);
  transition: transform 520ms ease, filter 520ms ease;
}

.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.34)), linear-gradient(90deg, rgba(0, 0, 0, 0.16), transparent 42%);
  pointer-events: none;
}

.portrait-wrap:hover img {
  transform: scale(1.03);
  filter: grayscale(0.62) contrast(1.06) saturate(0.7);
}

.portrait-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  color: var(--paper-strong);
}

.portrait-caption span {
  display: block;
  margin-bottom: 12px;
  color: rgba(244, 244, 241, 0.68);
  font-size: 12px;
  line-height: 1.35;
}

.portrait-caption p {
  margin: 0;
  max-width: 18ch;
  font-family: var(--display-font);
  font-size: 20px;
  line-height: 1.22;
}

.contact-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid rgba(17, 17, 17, 0.13);
  border-bottom: 1px solid rgba(17, 17, 17, 0.13);
}

.contact-lines a,
.contact-lines span {
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}

.contact-lines a + a,
.contact-lines span {
  padding-left: 20px;
  border-left: 1px solid rgba(17, 17, 17, 0.13);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  grid-column: 2 / span 2;
}

.stat-card {
  padding: 18px 0 0;
  border-top: 1px solid rgba(17, 17, 17, 0.16);
}

.stat-card strong {
  display: block;
  font-family: var(--display-font);
  font-size: clamp(42px, 3.6vw, 76px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: rgba(17, 17, 17, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.timeline {
  grid-column: 2 / span 2;
  margin-top: 8px;
  border-top: 1px solid rgba(17, 17, 17, 0.14);
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.timeline-item time {
  color: rgba(17, 17, 17, 0.48);
  font-size: 12px;
  line-height: 1.5;
}

.timeline-item h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

.timeline-item span {
  display: block;
  margin-top: 8px;
  color: rgba(17, 17, 17, 0.54);
  font-size: 13px;
  line-height: 1.55;
}

.timeline-item p {
  margin: 12px 0 0;
  max-width: 72ch;
  color: rgba(17, 17, 17, 0.74);
  font-size: 14px;
  line-height: 1.8;
}

.project-groups {
  display: grid;
  gap: 92px;
  margin-top: 38px;
}

.project-group__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.project-group__heading p {
  margin: 0;
  color: rgba(244, 244, 241, 0.48);
  font-size: 10px;
  line-height: 1.4;
}

.project-group__heading h3 {
  margin: 10px 0 0;
  font-family: var(--display-font);
  font-size: clamp(32px, 3.2vw, 54px);
  font-weight: 500;
  line-height: 1.02;
}

.project-group__heading > span {
  color: rgba(244, 244, 241, 0.54);
  font-size: 10px;
  line-height: 1.4;
  white-space: nowrap;
}

.project-stack {
  display: grid;
  gap: 20px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.project-card {
  margin: 0;
}

.project-card__button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.project-card__shell {
  display: flex;
  align-items: stretch;
  min-height: 360px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent 35%);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.project-card--reverse .project-card__shell {
  flex-direction: row-reverse;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.02), transparent 35%);
}

.project-card__button:hover .project-card__shell,
.project-card__button:focus-visible .project-card__shell {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
}

.project-card__media {
  position: relative;
  flex: 1.08;
  min-width: 0;
  overflow: hidden;
  background: #111;
}

.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.38));
  pointer-events: none;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease, filter 650ms ease;
  filter: grayscale(0.15) contrast(1.03) saturate(0.86);
}

.project-card__button:hover .project-card__media img,
.project-card__button:focus-visible .project-card__media img {
  transform: scale(1.03);
  filter: grayscale(0) contrast(1.05) saturate(0.96);
}

.project-card__copy {
  flex: 0.92;
  min-width: 0;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 22%);
}

.project-card__kicker {
  margin: 0;
  color: rgba(244, 244, 241, 0.54);
  font-size: 11px;
  line-height: 1.6;
}

.project-card h4 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(30px, 2.5vw, 48px);
  font-weight: 500;
  line-height: 1.04;
}

.project-card p {
  margin: 14px 0 0;
  max-width: 54ch;
  color: rgba(244, 244, 241, 0.74);
  font-size: 15px;
  line-height: 1.8;
}

.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.project-card__footer span {
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-card__cta {
  color: var(--paper-strong);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.strength-card {
  padding: 22px 22px 24px;
  border-top: 1px solid rgba(17, 17, 17, 0.14);
  border-bottom: 1px solid rgba(17, 17, 17, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 78%);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.strength-card:hover,
.strength-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(17, 17, 17, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 78%);
}

.strength-card__label {
  display: inline-block;
  color: rgba(17, 17, 17, 0.46);
  font-size: 11px;
  line-height: 1.4;
}

.strength-card h3 {
  margin: 10px 0 0;
  font-size: 22px;
  line-height: 1.25;
}

.strength-card p {
  margin: 12px 0 0;
  color: rgba(17, 17, 17, 0.72);
  font-size: 14px;
  line-height: 1.85;
}

.contact-section {
  position: relative;
  overflow: clip;
  color: var(--paper-strong);
  background: #121212;
}

.contact-section__bg,
.contact-section__overlay {
  position: absolute;
  inset: 0;
}

.contact-section__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.42) brightness(0.6) contrast(1.02);
  animation: clouds-drift 24s ease-in-out infinite alternate;
}

.contact-section__overlay {
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.7) 68%, rgba(0, 0, 0, 0.84));
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.7fr);
  gap: 36px;
  align-items: end;
}

.contact-copy {
  max-width: 940px;
}

.contact-copy .section-label {
  color: var(--paper-strong);
}

.contact-copy .section-label p,
.contact-copy .section-label span {
  color: rgba(244, 244, 241, 0.7);
  border-color: rgba(255, 255, 255, 0.22);
}

.contact-lead {
  margin: 28px 0 0;
  max-width: 56ch;
  color: rgba(244, 244, 241, 0.8);
  font-size: 18px;
  line-height: 1.82;
}

.contact-panel {
  display: grid;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 12, 12, 0.44);
  backdrop-filter: blur(16px);
}

.contact-panel__intro {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-panel__intro span {
  font-size: 20px;
}

.contact-panel__intro p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-panel a,
.contact-panel span {
  display: grid;
  gap: 8px;
  padding: 18px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-panel a:hover,
.contact-panel a:focus-visible {
  background: rgba(255, 255, 255, 0.05);
}

.contact-panel small {
  color: rgba(244, 244, 241, 0.58);
  font-size: 11px;
  line-height: 1.2;
}

.contact-panel strong {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}

.hobby-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.hobby-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 78%);
  transition: transform 220ms ease, border-color 220ms ease;
}

.hobby-card:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 17, 17, 0.24);
}

.hobby-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #111;
}

.hobby-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.16) contrast(1.02) saturate(0.85);
  transition: transform 650ms ease, filter 650ms ease;
}

.hobby-card:hover .hobby-card__media img {
  transform: scale(1.03);
  filter: grayscale(0) contrast(1.04) saturate(0.94);
}

.hobby-card__copy {
  padding: 18px 18px 22px;
}

.hobby-card__label {
  display: inline-block;
  color: rgba(17, 17, 17, 0.5);
  font-size: 11px;
  line-height: 1.4;
}

.hobby-card h3 {
  margin: 10px 0 0;
  font-size: 22px;
  line-height: 1.18;
}

.hobby-card p {
  margin: 12px 0 0;
  color: rgba(17, 17, 17, 0.72);
  font-size: 14px;
  line-height: 1.82;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.project-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(8px);
}

.project-modal__panel {
  position: relative;
  width: min(1500px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  margin: 20px auto;
  overflow: hidden auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 10, 0.94);
  box-shadow: var(--shadow);
  transform: translateY(18px) scale(0.985);
  transition: transform 220ms ease;
}

.project-modal.is-open .project-modal__panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: sticky;
  top: 0;
  z-index: 4;
  margin: 18px 18px 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.project-modal__layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  padding: 18px 18px 24px;
}

.project-modal__copy {
  position: sticky;
  top: 84px;
  align-self: start;
  padding: 12px 8px 0 12px;
}

.project-modal__kicker {
  margin: 0;
  color: rgba(244, 244, 241, 0.52);
  font-size: 11px;
  line-height: 1.5;
}

.project-modal__copy h2 {
  margin: 16px 0 0;
  font-family: var(--display-font);
  font-size: clamp(34px, 3.8vw, 68px);
  font-weight: 500;
  line-height: 1.03;
}

.project-modal__detail {
  margin: 18px 0 0;
  max-width: 58ch;
  color: rgba(244, 244, 241, 0.76);
  font-size: 15px;
  line-height: 1.9;
}

.project-modal__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 26px 0 0;
}

.project-modal__meta div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.project-modal__meta dt {
  color: rgba(244, 244, 241, 0.5);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-modal__meta dd {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.project-modal__gallery {
  columns: 2 320px;
  column-gap: 18px;
}

.project-modal__frame {
  break-inside: avoid;
  margin: 0 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111;
}

.project-modal__frame img,
.project-modal__frame video {
  width: 100%;
}

.project-modal__frame video {
  background: #111;
}

.project-modal__frame figcaption {
  padding: 12px 14px 14px;
  color: rgba(244, 244, 241, 0.62);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition:
    opacity 700ms ease,
    transform 700ms ease,
    filter 700ms ease;
  transition-delay: var(--delay, 0ms);
}

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

.is-ready .hero__note--left,
.is-ready .hero__note--right,
.is-ready .hero__title-block,
.is-ready .hero__bottom {
  animation: hero-rise 900ms ease forwards;
}

.is-ready .hero__note--right {
  animation-delay: 80ms;
}

.is-ready .hero__title-block {
  animation-delay: 160ms;
}

.is-ready .hero__bottom {
  animation-delay: 240ms;
}

body.is-modal-open {
  overflow: hidden;
}

main > section {
  scroll-margin-top: 118px;
}

body.has-panel-transitions main > section {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

body.has-panel-transitions main > section > .container,
body.has-panel-transitions .hero__content,
body.has-panel-transitions .contact-grid {
  position: relative;
  z-index: 2;
}

body.has-panel-transitions main > section::before,
body.has-panel-transitions main > section::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 12;
  pointer-events: none;
  opacity: 1;
  transition:
    opacity 920ms ease,
    transform 1040ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.has-panel-transitions main > section::before {
  background:
    radial-gradient(circle at 42% 48%, rgba(255, 255, 255, 0.22), transparent 19%),
    linear-gradient(105deg, rgba(5, 5, 5, 0.96) 0 34%, rgba(244, 244, 241, 0.26) 46%, rgba(5, 5, 5, 0.92) 59% 100%);
  transform: translate3d(0, 0, 0) skewX(-8deg) scaleX(1.08);
  transform-origin: left center;
}

body.has-panel-transitions main > section::after {
  background:
    repeating-linear-gradient(104deg, transparent 0 8vw, rgba(255, 255, 255, 0.1) 8vw calc(8vw + 1px), transparent calc(8vw + 1px) 14vw),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 18vw);
  mix-blend-mode: screen;
  transform: translate3d(-14%, 0, 0) skewX(-8deg);
}

body.has-panel-transitions .section--light::before {
  background:
    radial-gradient(circle at 50% 45%, rgba(191, 20, 20, 0.12), transparent 22%),
    linear-gradient(105deg, rgba(236, 236, 234, 0.98) 0 36%, rgba(255, 255, 255, 0.58) 46%, rgba(236, 236, 234, 0.96) 60% 100%);
}

body.has-panel-transitions .section--light::after {
  background:
    repeating-linear-gradient(104deg, transparent 0 8vw, rgba(17, 17, 17, 0.08) 8vw calc(8vw + 1px), transparent calc(8vw + 1px) 14vw),
    repeating-linear-gradient(90deg, rgba(17, 17, 17, 0.035) 0 1px, transparent 1px 18vw);
  mix-blend-mode: multiply;
}

body.has-panel-transitions .contact-section::before {
  background:
    radial-gradient(circle at 52% 38%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(105deg, rgba(7, 7, 7, 0.96) 0 34%, rgba(191, 20, 20, 0.18) 45%, rgba(7, 7, 7, 0.92) 60% 100%);
}

body.has-panel-transitions main > section.is-panel-visible::before {
  opacity: 0;
  transform: translate3d(112%, 0, 0) skewX(-8deg) scaleX(1.08);
}

body.has-panel-transitions main > section.is-panel-visible::after {
  opacity: 0;
  transform: translate3d(20%, 0, 0) skewX(-8deg);
}

body.has-panel-transitions main > section:nth-of-type(even)::before {
  transform-origin: right center;
}

body.has-panel-transitions main > section:nth-of-type(even).is-panel-visible::before {
  transform: translate3d(-112%, 0, 0) skewX(-8deg) scaleX(1.08);
}

body.has-panel-transitions main > section:nth-of-type(even).is-panel-visible::after {
  transform: translate3d(-20%, 0, 0) skewX(-8deg);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-title-char-in {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(0, 0.76em, 0) rotateX(16deg);
  }
  55% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) rotateX(0deg);
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 12vw 0, -18vw 0, 0 0;
  }
}

@keyframes clouds-drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.05) translate3d(-1.2%, -1.2%, 0);
  }
}

@keyframes sound-pulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.68;
  }
  50% {
    transform: translateY(-2px);
    opacity: 1;
  }
}

@media (max-width: 1320px) {
  :root {
    --container: min(1700px, calc(100% - 48px));
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .hero__content {
    grid-template-columns: 1fr 0.86fr;
  }

  .hero__directory {
    display: none;
  }

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

  .profile-grid > .section-label,
  .profile-copy,
  .stats-grid,
  .timeline {
    grid-column: 1;
  }

  .portrait-wrap {
    grid-area: 1 / 2 / span 4 / 3;
  }
}

@media (max-width: 940px) {
  :root {
    --container: min(100% - 32px, 1700px);
  }

  main > section {
    scroll-margin-top: 186px;
  }

  .site-header,
  .site-header.is-floating {
    width: calc(100% - 32px);
    padding: 14px;
    gap: 12px;
    grid-template-columns: 1fr auto;
  }

  .site-header.is-floating {
    top: 12px;
  }

  .brand {
    gap: 10px;
    padding: 12px 15px;
  }

  .brand__mark {
    font-size: 30px;
  }

  .brand__copy {
    font-size: 8px;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .sound-toggle,
  .contact-button {
    padding: 12px 14px;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 18px;
    padding: 140px 0 28px;
  }

  .hero__note--left,
  .hero__note--right {
    margin-top: 0;
    width: 100%;
    justify-self: start;
  }

  .hero__note--right p {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero__note--right {
    display: none;
  }

  .hero__note--left strong {
    font-size: 24px;
  }

  .hero__title-block {
    text-align: left;
    width: 100%;
    max-width: 100%;
  }

  .hero__title-block h1 {
    max-width: 100%;
    font-size: clamp(31px, 9.2vw, 45px);
    line-height: 1.08;
  }

  .hero__title-block p {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.03em;
  }

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

  .hero__cta {
    width: 100%;
    min-width: 0;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .profile-grid > .section-label,
  .profile-copy,
  .portrait-wrap,
  .stats-grid,
  .timeline {
    grid-column: auto;
    grid-row: auto;
  }

  .portrait-wrap,
  .portrait-wrap img {
    min-height: 520px;
  }

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

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-card__shell {
    flex-direction: column;
    min-height: 0;
  }

  .project-card--reverse .project-card__shell {
    flex-direction: column;
  }

  .project-groups {
    gap: 68px;
    margin-top: 30px;
  }

  .project-group__heading {
    align-items: start;
    gap: 18px;
  }

  .project-card__media {
    aspect-ratio: 16 / 11;
  }

  .project-card__copy {
    padding: 22px 20px 20px;
  }

  .strength-grid,
  .hobby-grid {
    grid-template-columns: 1fr;
  }

  .project-modal__panel {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    margin: 10px auto;
  }

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

  .project-modal__copy {
    position: static;
    padding-inline: 0;
  }

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

@media (max-width: 640px) {
  :root {
    --container: min(100% - 24px, 1700px);
  }

  html {
    scroll-padding-top: 132px;
  }

  main > section {
    scroll-margin-top: 132px;
  }

  .site-header,
  .site-header.is-floating {
    top: 12px;
    width: calc(100% - 24px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px;
    background: rgba(18, 18, 18, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(20px) saturate(120%);
  }

  .brand {
    min-width: 0;
    gap: 8px;
    padding: 10px 12px 9px;
    align-items: center;
  }

  .brand__mark {
    font-size: 27px;
  }

  .brand__copy {
    font-size: 7px;
    line-height: 1.08;
    letter-spacing: 0.12em;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    gap: 6px;
  }

  .sound-toggle,
  .contact-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }

  .sound-toggle__label,
  .contact-button span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .sound-toggle__icon,
  .contact-button span:first-child {
    font-size: 16px;
    line-height: 1;
  }

  .nav {
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    gap: 0;
    padding: 4px;
    overflow: visible;
  }

  .nav a {
    min-width: 0;
    padding: 10px 3px;
    overflow: hidden;
    color: rgba(244, 244, 241, 0.84);
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    text-overflow: clip;
    white-space: nowrap;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__media {
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100svh;
    min-height: 100%;
    object-position: 50% center;
    filter: grayscale(0.28) contrast(1.08) saturate(0.68) brightness(0.78);
    opacity: 0;
    transition: opacity 320ms ease;
  }

  .hero__fallback {
    display: block;
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100svh;
    min-height: 100%;
    object-position: 50% center;
    filter: grayscale(0.28) contrast(1.08) saturate(0.68) brightness(0.78);
    transform: scale(1.06);
    transition: opacity 320ms ease;
  }

  body.is-hero-video-playing .hero .hero__media {
    opacity: 1;
  }

  body.is-hero-video-playing .hero .hero__fallback {
    opacity: 0;
  }

  .hero__grid {
    opacity: 0.72;
    background:
      repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 26vw),
      linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.5) 54%, rgba(0, 0, 0, 0.82));
  }

  .hero__glow {
    opacity: 0.7;
  }

  .hero__content {
    min-height: 100vh;
    min-height: 100svh;
    gap: 14px;
    padding: 130px 0 48px;
  }

  .hero__note span,
  .hero__eyebrow {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .hero__note--left strong {
    font-size: clamp(22px, 6vw, 25px);
    line-height: 1.08;
  }

  .hero__title-block h1 {
    margin-top: 12px;
    font-size: clamp(32px, 9.8vw, 40px);
    line-height: 1.06;
    text-wrap: balance;
  }

  .hero__title-block p {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.48;
    letter-spacing: 0.02em;
  }

  .hero__bottom {
    gap: 12px;
    padding-top: 16px;
  }

  .hero__bottom-copy {
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: 0.07em;
  }

  .hero__cta {
    min-height: 50px;
    padding: 14px 16px;
    font-size: 14px;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading,
  .contact-grid {
    gap: 18px;
  }

  .section-label {
    gap: 10px;
  }

  .section-label span {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

  .section-label p,
  .eyebrow,
  .project-group__heading p,
  .project-group__heading > span,
  .project-card__kicker,
  .timeline-item time,
  .contact-panel small,
  .strength-card__label,
  .hobby-card__label {
    font-size: 10px;
    letter-spacing: 0.13em;
  }

  .section-manifesto h2 {
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.14;
  }

  .section-manifesto p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.75;
  }

  .profile-grid {
    gap: 22px;
  }

  .profile-name {
    font-size: 22px;
  }

  .profile-copy .eyebrow {
    line-height: 1.5;
  }

  .profile-copy h2 {
    font-size: clamp(20px, 5.8vw, 26px);
    line-height: 1.22;
  }

  .profile-summary {
    margin-top: 18px;
    font-size: 13.5px;
    line-height: 1.78;
  }

  .contact-lines {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .contact-lines a,
  .contact-lines span {
    min-height: 44px;
    font-size: 13px;
  }

  .contact-lines a + a,
  .contact-lines span {
    padding-left: 0;
    border-top: 1px solid rgba(17, 17, 17, 0.13);
    border-left: 0;
  }

  .portrait-wrap {
    min-height: 0;
    max-height: 420px;
    aspect-ratio: 3 / 4;
  }

  .portrait-wrap img {
    height: 100%;
    min-height: 0;
    object-position: center 16%;
  }

  .portrait-caption {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .portrait-caption p {
    max-width: 16ch;
    font-size: 18px;
  }

  .stats-grid {
    gap: 12px;
  }

  .stat-card {
    padding-top: 14px;
  }

  .stat-card strong {
    font-size: clamp(36px, 12vw, 52px);
  }

  .stat-card span {
    font-size: 12px;
  }

  .timeline {
    margin-top: 0;
  }

  .timeline-item {
    gap: 8px;
    padding: 20px 0;
  }

  .timeline-item h3 {
    font-size: 18px;
  }

  .timeline-item span,
  .timeline-item p {
    font-size: 13px;
    line-height: 1.7;
  }

  .project-groups {
    gap: 50px;
    margin-top: 24px;
  }

  .project-group__heading {
    display: grid;
    align-items: start;
    gap: 8px;
    padding-top: 16px;
  }

  .project-group__heading h3 {
    margin-top: 6px;
    font-size: clamp(28px, 8.8vw, 38px);
    line-height: 1.06;
  }

  .project-group__heading > span {
    justify-self: start;
    white-space: normal;
  }

  .project-stack {
    gap: 18px;
  }

  .project-card__media {
    flex: none;
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .project-card__copy {
    gap: 16px;
    padding: 18px 16px;
  }

  .project-card h4 {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.08;
  }

  .project-card p {
    margin-top: 12px;
    font-size: 13.5px;
    line-height: 1.75;
  }

  .project-card__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
  }

  .project-card__footer span {
    font-size: 10.5px;
    letter-spacing: 0.12em;
  }

  .strength-grid,
  .hobby-grid {
    gap: 14px;
    margin-top: 22px;
  }

  .strength-card {
    padding: 18px 16px 20px;
  }

  .strength-card h3,
  .hobby-card h3 {
    font-size: 20px;
  }

  .strength-card p,
  .hobby-card p {
    font-size: 13.5px;
    line-height: 1.75;
  }

  .hobby-card__media {
    aspect-ratio: 16 / 11;
  }

  .hobby-card__copy {
    padding: 16px 16px 18px;
  }

  .contact-lead {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.75;
  }

  .contact-panel__intro {
    align-items: flex-start;
    padding: 16px;
  }

  .contact-panel__intro p {
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: 0.06em;
  }

  .contact-panel a,
  .contact-panel span {
    padding: 16px;
  }

  .contact-panel strong {
    overflow-wrap: anywhere;
    font-size: 16px;
  }

  .project-modal__panel {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border: 0;
  }

  .modal-close {
    top: 10px;
    width: 42px;
    height: 42px;
    margin: 10px 10px 0 auto;
  }

  .project-modal__layout {
    gap: 20px;
    padding: 10px 12px 20px;
  }

  .project-modal__copy {
    padding: 0;
  }

  .project-modal__copy h2 {
    margin-top: 14px;
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.08;
  }

  .project-modal__detail {
    margin-top: 14px;
    font-size: 13.5px;
    line-height: 1.78;
  }

  .project-modal__meta {
    gap: 10px;
    margin-top: 20px;
  }

  .project-modal__gallery {
    columns: 1;
    column-gap: 0;
  }

  .project-modal__frame {
    margin-bottom: 14px;
  }

  .project-modal__frame figcaption {
    padding: 10px 12px 12px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 430px) {
  .nav a {
    font-size: 9.5px;
    padding-right: 2px;
    padding-left: 2px;
  }

  .hero__title-block h1 {
    font-size: clamp(31px, 9.5vw, 38px);
  }
}

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

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

  .hero__media,
  .hero__fallback,
  .hero__grid,
  .contact-section__bg {
    animation: none !important;
  }

  .sound-toggle__icon {
    animation: none !important;
  }

  .hero-title-char {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
