/* Color and font settings for the whole site */
:root {
  --bg-color: #120b09;
  --bg-glow: rgba(128, 53, 34, 0.2);
  --panel-color: rgba(24, 15, 12, 0.9);
  --panel-strong: rgba(32, 20, 16, 0.96);
  --border-color: rgba(242, 221, 196, 0.11);
  --text-color: #f1e4d3;
  --muted-text: #c3a993;
  --accent-color: #a5533d;
  --accent-strong: #cb805b;
  --shadow-color: rgba(0, 0, 0, 0.42);
  --button-fill: linear-gradient(180deg, rgba(255, 242, 228, 0.06), rgba(255, 242, 228, 0.025));
  --button-fill-strong: linear-gradient(180deg, rgba(255, 242, 228, 0.1), rgba(255, 242, 228, 0.04));
  --button-border: rgba(165, 83, 61, 0.26);
  --focus-ring: rgba(203, 128, 91, 0.28);
  --hover-border: rgba(203, 128, 91, 0.45);
  --nav-active-text: #1b0d09;
  --nav-active-fill: linear-gradient(180deg, #d7a47b 0%, #a5533d 100%);
  --nav-active-shadow: rgba(165, 83, 61, 0.24);
  --body-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-font: "Unbounded", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ui-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --label-font: "Geist Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --wide-content-width: min(calc(100vw - clamp(1.5rem, 6vw, 7rem)), 1320px);
  --chrome-edge-space: clamp(1.1rem, 2.6vw, 1.75rem);
  --chrome-mobile-edge-space: 0.85rem;
  --chrome-bar-block-space: 1rem;
  --chrome-text-size: 0.76rem;
  --label-size: 0.88rem;
  --hero-label-size: clamp(0.92rem, 1.95vw, 1.06rem);
  --archive-label-size: clamp(0.84rem, 1.7vw, 1.18rem);
  --contact-focus-size: clamp(0.96rem, 1.9vw, 1.28rem);
  --home-section-gap: clamp(3rem, 7vw, 5rem);
}

/* Basic page reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--body-font);
  color: var(--text-color);
  background:
    radial-gradient(circle at top, var(--bg-glow), transparent 35%),
    radial-gradient(circle at 85% 20%, rgba(77, 46, 26, 0.16), transparent 30%),
    linear-gradient(180deg, #160d0a 0%, var(--bg-color) 100%);
  background-attachment: fixed;
}

body * {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

[data-selectable-email] {
  user-select: text;
  -webkit-user-select: text;
  -webkit-touch-callout: default;
}

[data-selectable-email]::selection {
  color: var(--bg-color);
  background: var(--text-color);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 240, 221, 0.07) 0.7px, transparent 0.7px);
  background-size: 9px 9px;
  opacity: 0.12;
}

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: none !important;
  }

  .custom-cursor {
    --cursor-x: -100px;
    --cursor-y: -100px;
    --cursor-scale: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 244, 232, 0.96);
    mix-blend-mode: difference;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate3d(var(--cursor-x), var(--cursor-y), 0) translate(-50%, -50%) scale(var(--cursor-scale));
    transition: opacity 0.18s ease;
    will-change: transform, opacity;
  }

  .custom-cursor.is-visible {
    opacity: 0.92;
  }
}

button,
input,
textarea {
  font: inherit;
}

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

button {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--button-border);
  background: var(--button-fill);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.reveal-on-scroll {
  --reveal-delay: 0ms;
  --reveal-offset: 1.35rem;

  opacity: 0;
  transform: translate3d(0, var(--reveal-offset), 0);
  transition:
    opacity 0.78s ease,
    transform 0.78s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.page-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

/* Header and navigation */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.site-label {
  margin-bottom: 0.5rem;
  color: var(--accent-color);
  font-family: var(--label-font);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-title {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background-color: rgba(20, 13, 10, 0.76);
  backdrop-filter: blur(10px);
}

.nav-button {
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: var(--muted-text);
  background: var(--button-fill);
  font-family: var(--ui-font);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-button:hover,
.nav-button:focus-visible {
  color: var(--text-color);
  border-color: var(--hover-border);
  background: var(--button-fill-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 28px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.nav-button.is-active {
  color: var(--nav-active-text);
  border-color: transparent;
  background: var(--nav-active-fill);
  box-shadow: 0 14px 28px var(--nav-active-shadow);
}

/* Main content card */
.content-area {
  min-height: 560px;
  padding: 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(29, 18, 14, 0.95), rgba(18, 11, 9, 0.92));
  box-shadow: 0 24px 60px var(--shadow-color);
}

.site-footer {
  align-self: stretch;
  width: 100vw;
  max-width: none;
  margin-top: auto;
  margin-left: calc(50% - 50vw);
  padding: var(--chrome-bar-block-space) var(--chrome-edge-space) max(var(--chrome-bar-block-space), env(safe-area-inset-bottom));
  border-top: 1px solid rgba(241, 228, 211, 0.08);
  background: rgba(10, 6, 5, 0.82);
  box-shadow: 0 -14px 32px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-footer-text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.28rem;
  color: var(--muted-text);
  font-family: var(--label-font);
  font-size: var(--label-size);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
  padding-inline: 0;
  text-align: center;
  text-transform: uppercase;
}

.site-footer-fade {
  opacity: 0.42;
}

.site-topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 31;
  display: block;
  min-height: calc((var(--chrome-bar-block-space) * 2) + var(--label-size));
  width: 100vw;
  max-width: none;
  padding: max(var(--chrome-bar-block-space), env(safe-area-inset-top)) var(--chrome-edge-space) var(--chrome-bar-block-space);
  border: 0;
  border-bottom: 1px solid rgba(241, 228, 211, 0.08);
  border-radius: 0;
  background: rgba(10, 6, 5, 0.82);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: auto;
}

.site-topbar__clock,
.site-topbar__availability,
.site-home-link {
  display: inline-flex;
  align-items: center;
  align-self: center;
  min-height: var(--label-size);
  font-family: var(--label-font);
  font-size: var(--label-size);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: auto;
}

.site-topbar__clock {
  position: absolute;
  top: 50%;
  right: var(--chrome-edge-space);
  justify-self: end;
  gap: 0.42rem;
  margin: 0;
  color: var(--muted-text);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  transform: translateY(-50%);
}

.site-topbar__clock-time {
  color: var(--text-color);
}

.site-topbar__clock-location {
  color: var(--muted-text);
}

.site-topbar__availability {
  position: absolute;
  top: 50%;
  left: 50%;
  gap: 0.42rem;
  justify-self: center;
  margin: 0;
  color: var(--muted-text);
  text-align: center;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.site-topbar__availability::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 0.46em;
  height: 0.46em;
  border-radius: 999px;
  background: #60d968;
  box-shadow: 0 0 0.7rem rgba(96, 217, 104, 0.58);
  animation: availabilityBlink 1.18s ease-in-out infinite;
}

.site-home-link {
  position: absolute;
  top: 50%;
  left: var(--chrome-edge-space);
  justify-self: start;
  color: var(--text-color);
  white-space: nowrap;
  transform: translateY(-50%);
  transition: color 0.25s ease;
}

@keyframes availabilityBlink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.28;
  }
}

.site-home-link:hover,
.site-home-link:focus-visible {
  color: var(--accent-strong);
}

.hero-focus-pass .page-shell {
  min-height: 100svh;
  padding-block: 0;
  display: flex;
  flex-direction: column;
}

.hero-focus-pass .site-header,
.hero-focus-pass #about,
.hero-focus-pass #projects,
.hero-focus-pass #contact {
  display: none;
}

.hero-focus-pass .content-area {
  flex: 1;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-focus-pass .content-section {
  width: 100%;
  background: transparent;
}

.hero-focus-pass .content-section.is-active {
  display: flex;
  flex: 1;
  min-height: 0;
  justify-content: center;
  align-items: center;
}

.hero-stage {
  width: min(100%, 560px);
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 1.35rem;
  padding: 0;
  text-align: center;
}

.hero-stage__kicker {
  max-width: none;
  color: var(--text-color);
  font-family: var(--label-font);
  font-size: var(--chrome-text-size);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-stage__name {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.22em;
  font-family: var(--display-font);
  font-size: clamp(2.2rem, 7.2vw, 4.8rem);
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  max-width: 100%;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: visible;
  cursor: default;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.hero-stage__name span {
  display: inline-block;
  text-shadow: 0.018em 0.018em 0 rgba(18, 11, 9, 0.34);
}

.hero-stage__name-accent {
  color: var(--text-color);
}

.hero-stage__name-main {
  color: var(--text-color);
}

.hero-stage__lead {
  max-width: none;
  margin-top: 0.9rem;
  color: var(--text-color);
  font-family: var(--ui-font);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-stage__lead-line {
  display: block;
  white-space: nowrap;
}

.hero-stage__body {
  max-width: 30ch;
  color: var(--muted-text);
  font-family: var(--ui-font);
  font-size: 1.04rem;
  line-height: 1.45;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-wrap: pretty;
}

.home-page .page-shell {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  padding-top: clamp(2rem, 6vw, 3.2rem);
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

.contact-page .page-shell {
  min-height: 100svh;
  padding-top: clamp(4.25rem, 8vw, 5.25rem);
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

.home-page,
.projects-page {
  overflow-x: clip;
}

.contact-page,
.project-detail-page {
  overflow-x: clip;
}

.projects-page .page-shell {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  padding-top: clamp(4.25rem, 8vw, 5.25rem);
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

.home-page__main {
  flex: 1;
  min-height: 0;
  display: grid;
  align-items: start;
  justify-items: center;
  gap: var(--home-section-gap);
}

.home-projects {
  padding-top: 0;
  scroll-margin-top: clamp(3.5rem, 8vw, 5rem);
}

.home-projects__header {
  margin-bottom: clamp(0.9rem, 2.6vw, 1.45rem);
}

.home-page .hero-stage {
  width: var(--wide-content-width);
  max-width: none;
  align-content: center;
  padding-block: clamp(1.4rem, 4vw, 2.8rem) 0;
}

.home-page .hero-stage__name {
  font-size: clamp(2.8rem, 8.5vw, 6.2rem);
}

.contact-page__main {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto;
  align-items: start;
  align-content: start;
  gap: 0;
}

.contact-page__header {
  display: grid;
  justify-items: center;
  gap: 1.35rem;
  text-align: center;
  margin-bottom: clamp(1.25rem, 3vw, 1.9rem);
}

.projects-page__main {
  flex: 1;
}

.project-detail-page .page-shell {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  padding-top: clamp(4.25rem, 8vw, 5.25rem);
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

.project-detail-page__main {
  flex: 1;
  padding-bottom: clamp(0.5rem, 1.8vw, 1rem);
}

.contact-stage {
  width: min(100%, 640px);
  gap: 1.35rem;
  justify-self: center;
  align-self: start;
  position: relative;
  padding-block: clamp(1.25rem, 3vw, 1.9rem);
}

.project-detail {
  display: grid;
  width: var(--wide-content-width);
  margin-inline: auto;
  gap: clamp(1.65rem, 4vw, 2.8rem);
  position: relative;
  padding-top: clamp(0.8rem, 2vw, 1.45rem);
}

.project-detail__hero {
  display: grid;
  gap: clamp(1.35rem, 3vw, 2.15rem);
}

.project-detail__info {
  display: grid;
  grid-template-columns: minmax(10rem, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(1.5rem, 5vw, 4.6rem);
  align-items: start;
  width: min(100%, 1180px);
  margin-inline: auto;
  text-align: left;
}

.project-detail__meta-stack {
  display: grid;
  align-content: start;
  gap: clamp(0.9rem, 2.2vw, 1.45rem);
}

.project-detail__block {
  display: grid;
  align-content: start;
  gap: 0.62rem;
}

.project-detail__label {
  color: rgba(241, 228, 211, 0.46);
  font-family: var(--label-font);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-detail__title {
  color: var(--text-color);
  font-family: var(--display-font);
  font-size: clamp(2rem, 7vw, 5.9rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.project-detail__summary,
.project-detail__meta-copy {
  color: var(--text-color);
  font-family: var(--ui-font);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-detail__year {
  color: var(--text-color);
  font-family: var(--ui-font);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-detail__meta-copy {
  display: grid;
  gap: 0.18rem;
}

.project-detail__more-trigger {
  display: inline;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: var(--accent-strong);
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  cursor: pointer;
}

.project-detail__more-trigger:hover,
.project-detail__more-trigger:focus-visible {
  color: var(--text-color);
  transform: none;
}

.project-detail__link-row {
  display: block;
  margin-top: 0.8rem;
}

.project-detail__stack {
  display: grid;
  gap: 0.85rem;
  position: relative;
  padding-block: 0;
}

.contact-stage::before,
.contact-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  border-top: 1px solid rgba(241, 228, 211, 0.18);
  transform: translateX(-50%);
  pointer-events: none;
}

.contact-stage::before {
  top: 0;
}

.contact-stage::after {
  bottom: 0;
}

.project-detail__pair {
  display: grid;
  gap: 1rem;
}

@media (min-width: 861px) {
  .project-detail__pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .project-detail__pair--balanced {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.7725fr);
  }

  .project-detail__pair--balanced-sheldon {
    grid-template-columns: minmax(0, 0.5625fr) minmax(0, 1fr);
  }
}

.project-detail__figure {
  overflow: hidden;
  background-color: rgba(255, 245, 233, 0.02);
  user-select: none;
  -webkit-user-select: none;
}

.project-detail__figure img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.has-project-overlay {
  overflow: hidden;
}

.project-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.project-detail-overlay.is-visible {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.project-detail-overlay__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(8, 5, 4, 0.82);
  backdrop-filter: blur(8px);
}

.project-detail-overlay__panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 2rem);
  margin: 0;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid var(--border-color);
  background: linear-gradient(180deg, rgba(29, 18, 14, 0.98), rgba(17, 10, 8, 0.96));
  overflow-y: auto;
}

.project-detail-overlay__close {
  position: absolute;
  top: clamp(1rem, 2vw, 1.4rem);
  right: clamp(1rem, 2vw, 1.4rem);
  display: inline-flex;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted-text);
  font-family: var(--ui-font);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-detail-overlay__close:hover,
.project-detail-overlay__close:focus-visible {
  color: var(--accent-strong);
  background: none;
  box-shadow: none;
  transform: none;
  outline: none;
}

.project-detail-overlay__content {
  display: grid;
  gap: 1.25rem;
  padding-top: 2.6rem;
}

.project-detail-overlay__content > .project-detail__label {
  display: none;
}

.project-detail-overlay__title {
  color: var(--text-color);
  font-family: var(--ui-font);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-detail-overlay__section {
  display: grid;
  gap: 0.55rem;
}

.project-detail-overlay__section h3 {
  color: var(--text-color);
  font-family: var(--ui-font);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-detail-overlay__section p {
  color: var(--muted-text);
  font-family: var(--ui-font);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-detail__video .video-frame {
  margin-top: 0;
}

.projects-stage {
  display: grid;
  gap: clamp(1rem, 2.8vw, 1.8rem);
  width: 100%;
}

.projects-stage__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  text-align: left;
  width: var(--wide-content-width);
  max-width: none;
  margin-inline: auto;
}

.projects-stage__title {
  margin: 0;
  color: var(--text-color);
  font-family: var(--display-font);
  font-size: clamp(0.95rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.projects-stage__years {
  margin: 0;
  color: var(--muted-text);
  font-family: var(--label-font);
  font-size: var(--label-size);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.projects-stage__label {
  margin-top: 0.08rem;
}

.about-stage {
  display: grid;
  grid-template-columns: minmax(0, min(100%, 720px));
  justify-content: center;
  justify-items: center;
  gap: 0;
  width: var(--wide-content-width);
  margin-inline: auto;
  padding-block: 0 var(--home-section-gap);
  scroll-margin-top: clamp(3.5rem, 8vw, 5rem);
  text-align: center;
}

.home-projects .archive-section {
  padding-bottom: 0;
}

.about-stage__panel {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: clamp(0.8rem, 2vw, 1.25rem);
  width: 100%;
  text-align: center;
}

.about-stage__panel + .about-stage__panel {
  margin-top: clamp(2.35rem, 7vw, 3.4rem);
}

.about-stage__title {
  margin: 0;
  color: var(--text-color);
  font-family: var(--display-font);
  font-size: clamp(0.95rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.about-stage__bio,
.about-stage__note,
.about-stage__email,
.about-stage__copy-status {
  font-family: var(--ui-font);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-stage__bio {
  margin: 0;
  color: var(--text-color);
  text-wrap: pretty;
}

.about-stage__reach {
  display: grid;
  gap: 0;
  justify-items: center;
  text-align: center;
}

.about-stage__note,
.about-stage__copy-status {
  margin: 0;
  color: var(--muted-text);
}

.about-stage__note {
  margin-top: clamp(0.65rem, 1.6vw, 1.1rem);
}

.about-stage__email-row {
  display: grid;
  justify-content: center;
  justify-items: center;
  gap: 0.18rem;
  width: 100%;
  min-height: 1.55em;
  margin-top: 0.02rem;
  user-select: text;
  -webkit-user-select: text;
}

.about-stage__email {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted-text);
  cursor: text;
  pointer-events: auto;
  max-width: 100%;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

body.has-custom-cursor [data-selectable-email] {
  cursor: text !important;
}

.about-stage__copy-status {
  display: inline-block;
  min-width: 0;
  min-height: 1.55em;
  text-align: center;
}

.project-other-works {
  display: grid;
  justify-items: center;
  gap: clamp(0.95rem, 2.4vw, 1.45rem);
  width: var(--wide-content-width);
  margin: clamp(3rem, 8vw, 5rem) auto 0;
}

.project-other-works__grid {
  --project-other-works-gap: clamp(0.35rem, 1vw, 0.8rem);

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--project-other-works-gap);
  row-gap: clamp(1.6rem, 4vw, 2.8rem);
  width: 100%;
}

.project-contact {
  display: grid;
  justify-items: center;
  gap: clamp(0.8rem, 2vw, 1.25rem);
  width: min(100%, 680px);
  margin: clamp(2.4rem, 6vw, 4rem) auto clamp(2.4rem, 6vw, 4.2rem);
  padding-inline: clamp(1rem, 4vw, 2rem);
  text-align: center;
}

.project-contact__reach {
  justify-items: center;
  text-align: center;
}

.project-contact__copy {
  width: 100%;
  text-align: center;
}

.project-contact__email-row {
  display: grid;
  justify-content: center;
  justify-items: center;
  width: 100%;
  gap: 0.18rem;
}

.project-contact .about-stage__copy-status {
  flex: none;
  min-width: 0;
  text-align: center;
}

.contact-page__header .hero-stage__name {
  margin-block: clamp(1rem, 2.4vw, 1.6rem) 0.28rem;
  width: auto;
  justify-content: center;
}

.contact-stage__bio,
.contact-stage__note,
.contact-stage__email,
.contact-stage__copy-status {
  font-family: var(--ui-font);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: none;
}

.contact-stage__bio {
  max-width: 54ch;
  color: var(--muted-text);
  text-wrap: pretty;
}

.contact-stage__focus {
  max-width: none;
  width: fit-content;
  color: var(--text-color);
  font-family: var(--ui-font);
  font-size: var(--contact-focus-size);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-wrap: pretty;
}

.contact-stage__focus-line {
  display: block;
  white-space: nowrap;
}

.contact-stage__reach {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.42rem;
  margin-bottom: 2.5rem;
}

.contact-stage__note {
  color: var(--muted-text);
}

.contact-stage__email {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted-text);
  cursor: pointer;
  pointer-events: auto;
}

.contact-stage__email:hover,
.contact-stage__email:focus-visible {
  color: var(--accent-strong);
  outline: none;
}

.contact-stage__copy-status {
  display: block;
  height: 1.4em;
  color: var(--muted-text);
}

.archive-section--page {
  padding-bottom: 0;
}

.archive-section {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-top: 0;
  padding-bottom: clamp(2rem, 6vw, 4rem);
}

.archive-section__label {
  display: block;
  width: fit-content;
  margin-inline: auto;
  max-width: none;
  margin-bottom: 0.9rem;
  color: var(--text-color);
  font-family: var(--label-font);
  font-size: var(--archive-label-size);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.45;
  text-transform: uppercase;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
}

.archive-grid {
  --archive-grid-gap: clamp(0.35rem, 1vw, 0.8rem);
  --archive-row-gap: clamp(1.8rem, 4vw, 3.2rem);

  width: var(--wide-content-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--archive-grid-gap);
  row-gap: var(--archive-row-gap);
  border: 0;
}

.home-projects .archive-grid > .archive-card:first-child:nth-last-child(odd) {
  grid-column: 1 / -1;
}

.archive-card {
  display: grid;
  width: 100%;
  margin: 0;
  padding: 0;
  grid-template-rows: auto auto;
  justify-items: stretch;
  align-items: start;
  align-content: start;
  align-self: start;
  gap: 0.28rem;
  border: 0;
}

.archive-card__figure {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  user-select: none;
  -webkit-user-select: none;
}

.archive-card__media-link {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  line-height: 0;
}

.archive-card__media-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 244, 232, 0.96);
  mix-blend-mode: difference;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.archive-card__media-link:focus-visible {
  outline: 1px solid rgba(211, 160, 122, 0.28);
  outline-offset: 8px;
}

.archive-card__image {
  display: block;
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
  object-fit: contain;
  filter: grayscale(0);
  opacity: 1;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  transition:
    filter 0.28s ease,
    opacity 0.28s ease;
}

.archive-card__media-link:hover .archive-card__image,
.archive-card__media-link:focus-visible .archive-card__image {
  filter: grayscale(1);
  opacity: 1;
}

.archive-card__media-link:hover::after,
.archive-card__media-link:focus-visible::after {
  opacity: 1;
}

.archive-card__caption {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.02rem;
  width: 100%;
  min-width: 0;
  color: var(--muted-text);
  font-family: var(--ui-font);
  font-size: var(--label-size);
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-align: left;
  text-transform: uppercase;
}

.archive-card__name-link {
  justify-self: start;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text-color);
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: left;
  text-transform: inherit;
  box-shadow: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.archive-card__category {
  color: color-mix(in srgb, var(--muted-text) 68%, transparent);
}

.archive-card__name-link:hover,
.archive-card__name-link:focus-visible {
  color: var(--text-color);
  transform: translateY(-1px);
}

.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;
}

.content-section {
  display: none;
  padding: clamp(1.2rem, 4vw, 2.4rem);
  border-radius: 22px;
  background-color: var(--panel-color);
  overflow: hidden;
}

.content-section.is-active {
  display: block;
  animation: sectionFade 0.35s ease;
}

/* Small fade animation when a new section appears */
@keyframes sectionFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-heading {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section-text {
  max-width: 62ch;
  margin-bottom: 2rem;
  color: var(--muted-text);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Shared layout blocks */
.info-grid,
.contact-grid,
.split-layout {
  display: grid;
  gap: 1rem;
}

.info-grid,
.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-layout {
  grid-template-columns: 1.2fr 0.8fr;
}

.info-card,
.contact-card,
.panel-block {
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background-color: var(--panel-strong);
}

.info-card h3,
.contact-card h3,
.panel-block h3 {
  margin-bottom: 0.75rem;
  font-family: var(--heading-font);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.info-card p,
.contact-card p,
.panel-block p,
.simple-list {
  color: var(--muted-text);
  line-height: 1.7;
}

.project-label {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--accent-color);
  font-family: var(--label-font);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-feature {
  display: grid;
  gap: 1rem;
}

.project-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.content-section.has-active-project .project-switcher {
  display: none;
}

.project-tab-button {
  display: grid;
  gap: 0.8rem;
  width: 100%;
  border-radius: 22px;
  padding: 0.8rem;
  color: var(--text-color);
  background: var(--button-fill);
  text-align: left;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.project-tab-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background-color: #1b110d;
}

.project-tab-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.project-tab-name {
  font-family: var(--heading-font);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--muted-text);
  text-align: center;
}

.project-tab-button:hover,
.project-tab-button:focus-visible {
  border-color: var(--hover-border);
  background: var(--button-fill-strong);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
}

.project-tab-button:hover .project-tab-media img,
.project-tab-button:focus-visible .project-tab-media img,
.project-tab-button.is-active .project-tab-media img {
  transform: scale(1.04);
}

.project-tab-button:hover .project-tab-name,
.project-tab-button:focus-visible .project-tab-name,
.project-tab-button.is-active .project-tab-name {
  color: var(--text-color);
}

.project-tab-button.is-active {
  border-color: rgba(203, 128, 91, 0.58);
  background-color: rgba(255, 255, 255, 0.05);
}

.project-back-button {
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: var(--muted-text);
  background: var(--button-fill);
  font-family: var(--ui-font);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}

.content-section.has-active-project .project-back-button {
  display: inline-flex;
}

.project-back-button:hover,
.project-back-button:focus-visible {
  color: var(--text-color);
  border-color: var(--hover-border);
  background: var(--button-fill-strong);
  transform: translateY(-1px);
}

.project-panel {
  display: none;
}

.project-panel.is-active {
  display: block;
  animation: sectionFade 0.35s ease;
}

.project-main-card,
.project-gallery-panel,
.project-video-card {
  padding: 1.4rem;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background-color: var(--panel-strong);
}

.project-header-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-title,
.gallery-title,
.project-video-card h3 {
  font-family: var(--heading-font);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.project-summary {
  margin-bottom: 1.5rem;
  color: var(--muted-text);
  font-size: 1.08rem;
  line-height: 1.8;
}

.project-meta-list {
  display: grid;
  gap: 0.85rem;
  min-width: 280px;
  list-style: none;
}

.project-meta-list li {
  display: grid;
  gap: 0.2rem;
}

.project-meta-list span {
  color: var(--accent-color);
  font-family: var(--label-font);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-meta-list strong,
.project-video-card p {
  color: var(--text-color);
  font-weight: 500;
  line-height: 1.7;
}

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

.project-note {
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background-color: rgba(255, 245, 233, 0.025);
}

.project-note h4 {
  margin-bottom: 0.65rem;
  font-family: var(--heading-font);
  font-size: 1.06rem;
  letter-spacing: -0.02em;
}

.project-note p,
.gallery-help-text,
.gallery-modal-caption {
  color: var(--muted-text);
  line-height: 1.7;
}

.project-gallery-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.gallery-help-text {
  max-width: 30ch;
  text-align: right;
}

.gallery-grid {
  display: grid;
  gap: 0.9rem;
}

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

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

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

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

.gallery-button {
  position: relative;
  isolation: isolate;
  border-radius: 18px;
  padding: 0;
  background: var(--button-fill);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.gallery-button::after {
  content: "↗";
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1;
  background: rgba(6, 9, 14, 0.72);
  backdrop-filter: blur(8px);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.gallery-button:hover,
.gallery-button:focus-visible {
  border-color: var(--hover-border);
  background: var(--button-fill-strong);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.24);
}

.gallery-button:hover::after,
.gallery-button:focus-visible::after {
  transform: translateY(-1px);
  border-color: var(--hover-border);
  background-color: rgba(24, 16, 13, 0.92);
}

.gallery-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: #1b110d;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-modal-image {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  margin: 0 auto 1rem;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background-color: #1b110d;
}

.gallery-thumb-label {
  display: none;
}

.project-video-card h3 {
  margin-bottom: 0.8rem;
}

.video-frame {
  margin-top: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  background-color: #120907;
}

.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 20;
}

.gallery-modal.is-visible {
  display: flex;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(8, 5, 4, 0.82);
  backdrop-filter: blur(8px);
}

.gallery-modal-panel {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(29, 18, 14, 0.98), rgba(17, 10, 8, 0.96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.gallery-close-button {
  display: inline-flex;
  margin-bottom: 1rem;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: var(--text-color);
  background: var(--button-fill);
  font-weight: 600;
}

.gallery-close-button:hover,
.gallery-close-button:focus-visible {
  border-color: var(--hover-border);
  background: var(--button-fill-strong);
}

.gallery-modal-panel h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  text-align: center;
}

.gallery-modal-caption {
  text-align: center;
}

.simple-list {
  list-style: none;
}

.simple-list li + li {
  margin-top: 0.75rem;
}

/* Tablet and mobile adjustments */
@media (max-width: 860px) {
  .hero-focus-pass .page-shell {
    min-height: auto;
  }

  .project-detail-page .page-shell,
  .contact-page .page-shell {
    min-height: 100svh;
  }

  .projects-page .page-shell {
    min-height: auto;
  }

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

  .site-nav {
    width: 100%;
    border-radius: 24px;
  }

  .nav-button {
    flex: 1 1 140px;
    text-align: center;
  }

  .info-grid,
  .contact-grid,
  .split-layout,
  .project-notes-grid {
    grid-template-columns: 1fr;
  }

  .project-header-row,
  .project-gallery-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .project-meta-list {
    min-width: auto;
  }

  .gallery-help-text {
    text-align: left;
  }

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

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

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

  .project-detail__info {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .project-detail__title {
    font-size: clamp(1.65rem, 10vw, 3.2rem);
  }

  .project-detail-overlay__panel {
    width: 100%;
    max-height: calc(100vh - 1rem);
    margin: 0;
  }

  .content-area {
    min-height: auto;
  }

  .site-footer-text {
    gap: 0.22rem;
  }

  .hero-stage {
    width: min(100%, 560px);
  }

  .contact-stage {
    width: min(100%, 600px);
  }

  .projects-stage__header {
    gap: 1.1rem;
  }
}

@media (max-width: 860px) {
  .hero-focus-pass .page-shell {
    width: min(100% - 1rem, 1120px);
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-stage {
    gap: 1rem;
    padding-block: 0;
  }

  .hero-stage__lead {
    max-width: 34ch;
    margin-top: 0.7rem;
    font-size: var(--label-size);
    line-height: 1.35;
    text-wrap: balance;
  }

  .hero-stage__body {
    max-width: 26ch;
    font-size: 0.94rem;
  }

  .hero-stage__kicker {
    font-size: var(--chrome-text-size);
  }

  .hero-stage__lead-line {
    white-space: normal;
  }

  .site-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand availability";
    align-items: center;
    row-gap: 0;
    padding: max(0.82rem, env(safe-area-inset-top)) var(--chrome-mobile-edge-space) 0.82rem;
  }

  .site-topbar__clock,
  .site-topbar__availability,
  .site-home-link {
    font-size: clamp(0.54rem, 2vw, 0.66rem);
    letter-spacing: 0.02em;
  }

  .site-topbar__clock,
  .site-topbar__availability {
    max-width: none;
  }

  .site-topbar__clock {
    grid-area: clock;
    display: none;
  }

  .site-topbar__availability {
    grid-area: availability;
    position: static;
    top: auto;
    left: auto;
    gap: 0.28rem;
    justify-self: end;
    text-align: right;
    transform: none;
  }

  .site-topbar__availability::before {
    width: 0.4em;
    height: 0.4em;
  }

  .site-home-link {
    grid-area: brand;
    position: static;
    top: auto;
    left: auto;
    justify-self: start;
    transform: none;
  }

  .home-page .page-shell {
    width: 100%;
    padding-top: 2.8rem;
    padding-bottom: 0;
  }

  .contact-page .page-shell {
    width: min(100% - 1rem, 1120px);
    padding-top: 1rem;
    padding-bottom: 0;
  }

  .projects-page .page-shell {
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 0;
  }

  .project-detail-page .page-shell {
    width: 100%;
    padding-top: 4.5rem;
    padding-bottom: 0;
  }

  .contact-page__header {
    padding-top: 3.25rem;
  }

  .contact-stage {
    gap: 1rem;
  }

  .projects-stage {
    gap: 0.85rem;
  }

  .projects-stage__header {
    width: 100%;
    max-width: 720px;
    padding-inline: 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.36rem;
    text-align: center;
  }

  .projects-stage__title,
  .projects-stage__years {
    text-align: center;
  }

  .about-stage {
    width: 100%;
    max-width: 720px;
    padding-inline: 1rem;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
    text-align: center;
  }

  .about-stage__panel {
    justify-items: center;
    text-align: center;
  }

  .about-stage__panel + .about-stage__panel {
    margin-top: clamp(2.35rem, 10vw, 3.4rem);
  }

  .about-stage__reach {
    justify-items: center;
    text-align: center;
  }

  .about-stage__bio,
  .about-stage__note,
  .about-stage__email,
  .about-stage__copy-status {
    font-size: var(--label-size);
  }

  .about-stage__email {
    max-width: 100%;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .about-stage__bio {
    width: 100%;
    text-align: center;
  }

  .about-stage__email-row {
    display: grid;
    justify-content: center;
    justify-items: center;
    width: 100%;
    gap: 0.18rem;
  }

  .about-stage__copy-status {
    flex: none;
    min-width: 0;
    text-align: center;
  }

  .project-other-works {
    width: 100%;
    max-width: 720px;
    padding-inline: 1rem;
  }

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

  .project-other-works__card:nth-child(n+3) {
    display: none;
  }

  .project-detail__info,
  .project-detail__meta-stack,
  .project-detail__block {
    justify-items: center;
    text-align: center;
  }

  .project-detail__block {
    width: 100%;
    max-width: min(100%, 42rem);
  }

  .project-detail__meta-copy {
    justify-items: center;
    text-align: center;
  }

  .project-detail__summary,
  .project-detail__year {
    text-align: center;
  }

  .project-detail__summary,
  .project-detail__meta-copy,
  .project-detail-overlay__section p {
    font-size: var(--label-size);
    line-height: 1.55;
  }

  .project-detail__more-trigger,
  .project-detail__label,
  .project-detail-overlay__section h3 {
    font-size: var(--label-size);
  }

  .contact-stage__bio {
    max-width: 36ch;
    font-size: var(--label-size);
  }

  .contact-stage__focus {
    max-width: none;
    width: auto;
    font-size: 0.96rem;
  }

  .contact-stage__focus-line {
    white-space: normal;
  }

  .contact-stage__reach {
    margin-top: 0.34rem;
  }

  .contact-stage__note {
    font-size: var(--label-size);
  }

  .contact-stage__email {
    max-width: 100%;
    font-size: var(--label-size);
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
  }

  .archive-grid {
    width: 100%;
    max-width: 720px;
    padding-inline: 1rem;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .archive-card {
    padding: 0;
    justify-items: center;
  }

  .archive-card__figure,
  .archive-card__media-link {
    max-width: none;
  }

  .archive-card__caption {
    align-items: center;
    text-align: center;
  }

  .archive-card__name-link {
    justify-self: center;
    text-align: center;
  }

  .archive-card__category {
    text-align: center;
  }

  .archive-card__image {
    max-height: none;
  }

  .page-shell {
    width: min(100% - 1rem, 1120px);
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .content-area {
    padding: 0.75rem;
    border-radius: 22px;
  }

  .site-footer {
    padding: 0.82rem var(--chrome-mobile-edge-space) max(0.82rem, env(safe-area-inset-bottom));
  }

  .site-footer-text {
    justify-content: center;
    gap: 0.16rem;
    font-size: var(--label-size);
    padding-left: 0;
    padding-inline: 0;
    text-align: center;
  }

  .content-section {
    padding: 1.1rem;
    border-radius: 18px;
  }

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

  .project-tab-button {
    padding: 0.7rem;
    border-radius: 18px;
  }

  .project-back-button {
    width: 100%;
    justify-content: center;
  }

  .section-text {
    font-size: 1rem;
  }

  .gallery-modal-panel {
    padding: 0.85rem;
    border-radius: 20px;
  }

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