/* ==========================================================================
   TYPOGRAPHY SYSTEM & @FONT-FACE RULES
   72 PPI 1:1 pt-to-px Scale — Geist Sans SemiBold (600) Baseline
   ========================================================================== */

@font-face {
  font-family: 'Geist Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(https://cdn.jsdelivr.net/npm/@fontsource/geist-sans/files/geist-sans-latin-400-normal.woff2) format('woff2');
}

@font-face {
  font-family: 'Geist Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(https://cdn.jsdelivr.net/npm/@fontsource/geist-sans/files/geist-sans-latin-500-normal.woff2) format('woff2');
}

@font-face {
  font-family: 'Geist Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(https://cdn.jsdelivr.net/npm/@fontsource/geist-sans/files/geist-sans-latin-600-normal.woff2) format('woff2');
}

@font-face {
  font-family: 'Geist Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(https://cdn.jsdelivr.net/npm/@fontsource/geist-sans/files/geist-sans-latin-700-normal.woff2) format('woff2');
}

@font-face {
  font-family: 'Geist Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(https://cdn.jsdelivr.net/npm/@fontsource/geist-sans/files/geist-sans-latin-800-normal.woff2) format('woff2');
}

@font-face {
  font-family: 'Geist Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src: url(https://cdn.jsdelivr.net/npm/@fontsource/geist-sans/files/geist-sans-latin-900-normal.woff2) format('woff2');
}

:root {
  /* Core Palette — Tenebrism & Spot-UV Varnish */
  --bg-substrate: #1A1A1C;
  --monolith-fill: #050507;
  --rim-magenta: #FF2A85;
  --rim-violet: #4A0E5C;
  --text-pure: #FFFFFF;
  --text-narrative: #E4E4E7;
  --text-muted: rgba(255, 255, 255, 0.65);

  /* Strict Type Hierarchy (72 PPI 1:1 pt-to-px Scale) */
  --font-sans: 'Geist Sans', 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-numeral: 'Forum', serif;

  --type-header: 55px;      /* 3.4375rem */
  --type-subhead: 35px;     /* 2.1875rem */
  --type-text: 12px;        /* 0.75rem */

  /* Physics & Motion */
  --spring-noble: cubic-bezier(0.22, 1, 0.36, 1);
  --stage-transition: 520ms cubic-bezier(0.22, 1, 0.36, 1);

  /* Structured Layering Architecture */
  --z-bg: 0;
  --z-torch: 1;
  --z-stage: 2;
  --z-hud: 10;
  --z-monoliths: 20;
  --z-header: 40;
  --z-nav: 50;
  --z-grain: 100;
  --z-skip: 200;
}

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

html, body {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background-color: var(--bg-substrate);
  color: var(--text-pure);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--type-text);
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
}

button {
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--rim-magenta);
  outline-offset: 4px;
}

/* ==========================================================================
   ACCESSIBILITY, REPOSITORY & FALLBACK UTILITIES
   ========================================================================== */

.svg-defs-repo {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.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: -120px;
  left: 20px;
  z-index: var(--z-skip);
  padding: 12px 18px;
  background-color: var(--monolith-fill);
  color: var(--text-pure);
  border: 1.5px solid var(--rim-magenta);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 16px;
}

.noscript-fallback {
  position: fixed;
  inset: 0;
  z-index: var(--z-skip);
  overflow-y: auto;
  padding: 48px 24px;
  background-color: var(--bg-substrate);
  color: var(--text-pure);
  font-size: 16px;
  line-height: 1.6;
}

.noscript-fallback h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.noscript-fallback ul {
  margin: 20px 0;
  padding-left: 20px;
}

.noscript-fallback a {
  color: var(--rim-magenta);
  text-decoration: underline;
}

/* ==========================================================================
   TYPOGRAPHY UTILITY CLASSES
   ========================================================================== */

.type-header {
  font-family: var(--font-sans);
  font-size: var(--type-header);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.type-subhead {
  font-family: var(--font-sans);
  font-size: var(--type-subhead);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.type-text {
  font-family: var(--font-sans);
  font-size: var(--type-text);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   GLOBAL CHIAROSCURO & SPOT-VARNISH SHADER ENGINE
   ========================================================================== */

/* 0. Subtle Repeating Architectural Contour Pattern (Darker than #1A1A1C background) */
.bg-substrate-texture {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
  z-index: var(--z-bg);
  contain: strict;
  background:
    radial-gradient(
      ellipse 92% 88% at 50% 50%,
      rgba(26, 26, 28, 0) 0%,
      rgba(8, 8, 10, 0.42) 100%
    );
}

.bg-contour-svg {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.72;
}

/* 1. GPU-Composited Ambient Torch (1100x1100px static layer moved via translate3d — zero paint cost) */
.ambient-torch {
  position: fixed;
  top: -550px;
  left: -550px;
  width: 1100px;
  height: 1100px;
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-torch);
  contain: strict;
  will-change: transform;
  transform: translate3d(-999px, -999px, 0);
  background:
    radial-gradient(
      circle 550px at 50% 50%,
      rgba(255, 255, 255, 0.058) 0%,
      rgba(255, 42, 133, 0.032) 32%,
      rgba(74, 14, 92, 0.022) 62%,
      transparent 100%
    );
}

/* 2. Cached Tileable Film Grain (Zero live feTurbulence or blend-mode cost) */
.film-grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
  z-index: var(--z-grain);
  contain: strict;
  opacity: 0.038;
  background-repeat: repeat;
  background-size: 96px 96px;
}

/* 3. Theatrical Stage Container */
.theatrical-viewport {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  z-index: var(--z-stage);
}

.stage-view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--stage-transition),
    transform var(--stage-transition),
    visibility 0s linear 520ms;
}

.stage-view.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity var(--stage-transition),
    transform var(--stage-transition),
    visibility 0s linear 0s;
}

/* Subtle depth transitions between stages */
#view-home {
  transform: scale(0.985);
}
#view-home.is-active {
  transform: scale(1);
}

#view-project {
  transform: translateY(18px);
}
#view-project.is-active {
  transform: translateY(0);
}

#view-about {
  transform: scale(1.015);
}
#view-about.is-active {
  transform: scale(1);
}

/* ==========================================================================
   TOP NAVIGATION BAR (SHARED / HOME & ABOUT TRIGGER)
   ========================================================================== */

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 92px;
  padding: 0 42px;
  z-index: var(--z-nav);
  pointer-events: none;
  transition: opacity 320ms var(--spring-noble), transform 380ms var(--spring-noble), visibility 0s linear 0s;
}

.top-nav-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body[data-view="project"] .top-nav,
body[data-view="about"] .top-nav {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 320ms var(--spring-noble), transform 380ms var(--spring-noble), visibility 0s linear 320ms;
}

.brand-trigger {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  pointer-events: auto;
  opacity: 0.68;
  transition: opacity 260ms var(--spring-noble), transform 260ms var(--spring-noble);
}

.brand-trigger:hover,
.brand-trigger:focus-visible {
  opacity: 1;
}

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #FFFFFF;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.12);
  transition: box-shadow 260ms var(--spring-noble), transform 260ms var(--spring-noble);
}

.brand-trigger:hover .avatar-circle {
  box-shadow: 0 0 28px rgba(255, 42, 133, 0.45), 0 0 8px rgba(255, 255, 255, 0.6);
  transform: scale(1.03);
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-pure);
}

.about-trigger {
  pointer-events: auto;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-pure);
  opacity: 0.68;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 16px;
  border-radius: 2px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 260ms var(--spring-noble), color 260ms var(--spring-noble);
}

.about-trigger:hover,
.about-trigger:focus-visible,
body[data-view="about"] .about-trigger {
  opacity: 1;
}

/* ==========================================================================
   VIEW 1: HOME STAGE
   ========================================================================== */

/* Centered Preview HUD (Initial low varnish shine -> Full White over 5.0s) */
.preview-hud {
  position: absolute;
  left: 50%;
  top: 43%;
  transform: translate(-50%, -50%);
  z-index: var(--z-hud);
  pointer-events: none;
  display: grid;
  place-items: center;
  width: 100%;
  --hud-white-progress: 0;
  --hud-shine-boost: 0;
}

.preview-hud-item {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px) scale(0.99);
  transition:
    opacity 320ms var(--spring-noble),
    transform 420ms var(--spring-noble);
}

.preview-hud-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hud-title-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
}

/* Layer 1: Initial Low-Shine Spot-UV Varnish (t = 0s, gradually increasing shine) */
.hud-title-varnish {
  grid-area: 1 / 1;
  display: block;
  font-size: var(--type-header);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  background: radial-gradient(
    circle 360px at var(--hud-mouse-x, 50%) var(--hud-mouse-y, 50%),
    rgba(255, 255, 255, calc(0.28 + var(--hud-shine-boost, 0) * 0.55)) 0%,
    rgba(255, 42, 133, calc(0.16 + var(--hud-shine-boost, 0) * 0.22)) 28%,
    rgba(160, 160, 175, calc(0.14 + var(--hud-shine-boost, 0) * 0.45)) 58%,
    rgba(42, 42, 48, calc(0.32 + var(--hud-shine-boost, 0) * 0.5)) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0.6px rgba(255, 255, 255, calc(0.07 + var(--hud-shine-boost, 0) * 0.25));
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.72));
}

/* Layer 2: Progressive Full White Layer (reaches 100% solid #FFFFFF at 5.0 seconds) */
.hud-title-white {
  grid-area: 1 / 1;
  display: block;
  font-size: var(--type-header);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  opacity: var(--hud-white-progress, 0);
  text-shadow: 0 0 32px rgba(255, 255, 255, calc(var(--hud-white-progress, 0) * 0.28));
  pointer-events: none;
}

.preview-hud-item .hud-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  font-size: var(--type-text);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, calc(0.48 + var(--hud-white-progress, 0) * 0.46));
}

.preview-hud-item .hud-meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rim-magenta);
  opacity: calc(0.65 + var(--hud-white-progress, 0) * 0.35);
  box-shadow: 0 0 8px var(--rim-magenta);
}

/* Touch / Mobile Action Block under HUD (Hidden on Desktop Hover Devices) */
.hud-touch-actions {
  grid-area: 2 / 1;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.hud-mobile-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 42, 133, 0.72);
  background: rgba(5, 5, 7, 0.88);
  color: var(--text-pure);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: auto;
  box-shadow: 0 0 22px rgba(255, 42, 133, 0.2);
  transition: background-color 220ms ease, border-color 220ms ease, transform 220ms var(--spring-noble);
}

.hud-mobile-open-btn:active {
  transform: scale(0.97);
  background: rgba(255, 42, 133, 0.2);
}

.hud-touch-hint {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
}

/* Bottom Roman Numeral Monoliths (I, II, III, IV, V) */
.monolith-row {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4%;
  padding: 0 2.6vw;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: var(--z-monoliths);
  pointer-events: none;
}

.monolith-btn {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: clamp(250px, 37.5vh, 380px);
  pointer-events: auto;
  cursor: pointer;
  transform-origin: bottom center;
  transform: translateY(0) scaleY(1);
  transition: transform 450ms var(--spring-noble);
  will-change: transform;
}

.monolith-btn:hover,
.monolith-btn:focus-visible,
.monolith-btn.is-hovered {
  transform: translateY(-22%) scaleY(1.28);
}

.monolith-mobile-caption,
.mobile-stage-spotlight,
.mobile-monolith-rail {
  display: none;
}

.monolith-svg-wrap {
  position: relative;
  height: 100%;
  display: block;
}

.monolith-svg {
  height: 100%;
  width: auto;
  display: block;
  overflow: visible;
}

/* Pure 2D Opaque Cast Shadow Layer (Zero see-through, extreme graphic contrast) */
.monolith-ray-volume {
  pointer-events: none;
  mix-blend-mode: normal;
  opacity: 1;
}

/* Base pitch-black fill + subtle ambient torch bevel */
.monolith-path-fill {
  fill: var(--monolith-fill);
  stroke: rgba(255, 255, 255, 0.028);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
  transition: fill 320ms ease;
}

/* Spot-UV surface glint inside the monolith face (uses inline fill="url(#varnish-grad-N)") */
.monolith-path-varnish {
  opacity: 0.9;
  pointer-events: none;
}

/* 1px Specular Rim Mask: invisible in darkness, gleams within ray field of cursor */
.monolith-path-rim {
  fill: none;
  stroke-width: 1.75px;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

/* ==========================================================================
   VIEW 2: PROJECT STAGE — SCROLLING EDITORIAL & CENTRAL EXPANDING MIDDLE LINE
   ========================================================================== */

.project-scroll-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  contain: layout style;
  will-change: scroll-position;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 42, 133, 0.45) #0A0A0E;
}

.project-scroll-stage::-webkit-scrollbar {
  width: 6px;
}
.project-scroll-stage::-webkit-scrollbar-track {
  background: #0A0A0E;
}
.project-scroll-stage::-webkit-scrollbar-thumb {
  background: rgba(255, 42, 133, 0.45);
  border-radius: 3px;
}

/* Sticky Top Project Header Bar — Compacts smoothly on scroll so laptop screens stay uncrowded */
.project-header-bar {
  position: sticky;
  top: 0;
  height: 84px;
  width: 100%;
  background-color: rgba(5, 5, 7, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  z-index: var(--z-header);
  transition:
    height 260ms var(--spring-noble),
    background-color 260ms ease,
    border-color 260ms ease;
}

.project-header-bar.is-compact {
  height: 46px;
  background-color: rgba(5, 5, 7, 0.985);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

/* Specular 220px cursor-reactive bottom border glint on header bar */
.project-header-bar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: radial-gradient(
    circle 220px at var(--header-mouse-x, -999px) 0px,
    var(--rim-magenta) 0%,
    var(--rim-violet) 60%,
    transparent 100%
  );
  pointer-events: none;
}

.project-title {
  justify-self: start;
  font-size: var(--type-header);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-pure);
  white-space: nowrap;
  transform-origin: left center;
  transform: translateY(-2px) scale(1);
  transition: transform 260ms var(--spring-noble);
}

.project-header-bar.is-compact .project-title {
  transform: translateY(-1px) scale(0.45);
}

.project-role {
  font-size: var(--type-text);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--text-pure);
  justify-self: center;
  transition: opacity 240ms ease, transform 260ms var(--spring-noble);
}

.project-header-bar.is-compact .project-role {
  opacity: 0.55;
  transform: scale(0.92);
}

.project-close-btn {
  justify-self: end;
  width: 48px;
  height: 48px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  transition: color 220ms ease, transform 260ms var(--spring-noble);
  position: relative;
}

.project-header-bar.is-compact .project-close-btn {
  transform: scale(0.76);
}

.project-close-btn:hover,
.project-close-btn:focus-visible {
  color: var(--text-pure);
  transform: scale(1.06);
}

.project-header-bar.is-compact .project-close-btn:hover,
.project-header-bar.is-compact .project-close-btn:focus-visible {
  transform: scale(0.84);
}

.project-close-btn svg {
  width: 34px;
  height: 32px;
  fill: currentColor;
  stroke: none;
  display: block;
}

/* Full-Viewport Editorial Wrapper Divided into Two Exact 50% Domains by the Central Line */
.project-editorial-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 13vh 0 24vh;
  z-index: 10;
}

.project-central-spine {
  position: absolute;
  left: 50%;
  top: 7vh;
  bottom: 12vh;
  width: 1px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}

.project-central-spine-track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.06);
}

/* GPU-Composited Dynamic Fill Line (scaleY avoids layout reflow on scroll) */
.project-central-spine-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: top center;
  transform: scaleY(var(--spine-scale, 0.12));
  will-change: transform;
  opacity: 0.55;
  background: linear-gradient(
    180deg,
    #4A0E5C 0%,
    #C21868 55%,
    #FF2A85 100%
  );
  box-shadow: none;
}

/* Subtle tip at the leading bottom edge of the expanding middle line */
.project-central-spine-tip {
  position: absolute;
  top: 0;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: #FF2A85;
  opacity: 0.72;
  box-shadow: 0 0 6px rgba(255, 42, 133, 0.45);
  transform: translate3d(-50%, var(--spine-tip-y, 0px), 0);
  will-change: transform;
}

/* Scannable Editorial Container — Generous vertical negative space for 14" laptop viewports */
.project-editorial-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: clamp(120px, 18vh, 190px);
  width: 100%;
}

/* Each Section Row: Two exact 50% domains (Left = 0–50vw, Right = 50–100vw) */
.project-editorial-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  gap: 0;
}

/* Alternating Pattern via Explicit Grid Columns (keeps text-only rows in their proper half):
   - Odd rows (01, 03, 05): Info Block in Left Domain, Photo Box in Right Domain
   - Even rows (02, 04): Photo Box in Left Domain, Info Block in Right Domain */
.project-editorial-row:nth-child(odd) .editorial-text-block {
  grid-column: 1;
  grid-row: 1;
}

.project-editorial-row:nth-child(odd) .editorial-photo-slot {
  grid-column: 2;
  grid-row: 1;
}

.project-editorial-row:nth-child(even) .editorial-text-block {
  grid-column: 2;
  grid-row: 1;
}

.project-editorial-row:nth-child(even) .editorial-photo-slot {
  grid-column: 1;
  grid-row: 1;
}

/* Recessed numbered node on the central middle line (understated, behind text/images) */
.project-editorial-row::before {
  content: attr(data-step-num);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.36);
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 6;
  transition:
    border-color 240ms ease,
    color 240ms ease,
    box-shadow 240ms ease;
}

/* Short crosshair tick strictly within central gutter behind content */
.project-editorial-row::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(56px, 6.5vw, 92px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 100%
  );
  z-index: 3;
  pointer-events: none;
  transition: background 240ms ease;
}

.project-editorial-row.is-spine-lit::before,
.project-editorial-row:hover::before {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 42, 133, 0.48);
  box-shadow: 0 0 6px rgba(255, 42, 133, 0.2);
}

.project-editorial-row.is-spine-lit::after,
.project-editorial-row:hover::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 42, 133, 0.36) 50%,
    transparent 100%
  );
}

.project-editorial-row:hover .project-photo-card {
  border-color: rgba(255, 255, 255, 0.42);
}

/* Information Block Centered Exactly in its 50% Domain (strictly above spine assembly) */
.editorial-text-block {
  position: relative;
  z-index: 15;
  justify-self: center;
  width: min(360px, 29vw);
  padding: 8px 0;
  user-select: text;
}

.editorial-step-header {
  display: inline-block;
  font-size: clamp(24px, 2.2vw, var(--type-subhead));
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 14px;
  --hdr-x: 18%;
  --hdr-y: 35%;
  --hdr-angle: 115deg;
  color: #F4F4F7;
  background-image:
    radial-gradient(
      circle 260px at var(--hdr-x) var(--hdr-y),
      rgba(255, 255, 255, 1) 0%,
      rgba(240, 240, 245, 0.72) 38%,
      rgba(180, 180, 192, 0.15) 68%,
      transparent 100%
    ),
    linear-gradient(
      var(--hdr-angle),
      #F4F4F7 0%,
      #C8C8D2 54%,
      #8A8A96 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.editorial-copy {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.68;
  letter-spacing: 0.01em;
  color: var(--text-narrative);
  max-width: 360px;
}

.editorial-copy p + p {
  margin-top: 12px;
}

.editorial-lead {
  color: var(--text-pure);
  font-weight: 600;
}

.accordion-spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.spec-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.72);
  padding: 2px 0;
}

.spec-tag + .spec-tag::before {
  content: '·';
  margin-right: 8px;
  color: var(--rim-magenta);
}

/* Lime Green Image Box Centered Exactly in its 50% Domain (strictly above spine assembly) */
.editorial-photo-slot {
  position: relative;
  z-index: 15;
  justify-self: center;
  width: min(390px, 30vw);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.photo-step-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.photo-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 20px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(5, 5, 7, 0.75);
  border: 1px solid rgba(255, 42, 133, 0.38);
  box-shadow: none;
}

.photo-step-rule {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.photo-step-ref {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
  white-space: nowrap;
}

.project-photo-card {
  position: relative;
  width: 100%;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  background-color: #32CD32;
  background-image:
    linear-gradient(135deg, #39FF14 0%, #32CD32 52%, #229922 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.72),
    0 0 24px rgba(57, 255, 20, 0.12);
  overflow: hidden;
  /* Dynamic Scroll-Entry Animation State */
  opacity: 0;
  transform: translate3d(0, 44px, 0) scale(0.95);
  transition:
    opacity 540ms var(--spring-noble),
    transform 600ms var(--spring-noble);
  will-change: opacity, transform;
}

.project-photo-card.is-in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.project-photo-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.project-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subtle architectural registration grid inside the lime green placeholder rectangle */
.project-photo-card::before,
.about-lime-placeholder::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(5, 5, 7, 0.35);
  pointer-events: none;
}

.photo-card-inner {
  position: absolute;
  inset: 0;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #050507;
}

.photo-card-index {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-card-badge {
  background: #050507;
  color: #39FF14;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.photo-card-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #050507;
}

/* Optional Extra Photos Section at Bottom if >5 photos are configured in array */
.project-extra-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
  padding: 0 8vw;
}

/* Semantic Project Stage Footer */
.project-stage-footer {
  width: 100%;
  padding: 36px 48px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(5, 5, 7, 0.45);
}

.footer-credit {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
}

.footer-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-action-btn {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 5, 7, 0.72);
  transition: border-color 220ms ease, color 220ms ease;
}

.footer-action-btn:hover,
.footer-action-btn:focus-visible {
  color: #FFFFFF;
  border-color: var(--rim-magenta);
}

/* ==========================================================================
   VIEW 3: ABOUT ME STAGE — FRAMELESS EDITORIAL & SCALED ANTIQUITY BUST ON PEDESTAL
   ========================================================================== */

.about-stage-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* About Header Bar: Matches Project Header Bar with Direct Contact Links Centered */
.about-header-bar {
  flex-shrink: 0;
}

.about-header-contacts {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: var(--type-text);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.about-header-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 10px;
  border-radius: 2px;
  transition: color 220ms ease, text-shadow 220ms ease, transform 220ms var(--spring-noble);
}

.about-header-contact-link:hover,
.about-header-contact-link:focus-visible {
  color: #FFFFFF;
  text-shadow: 0 0 16px rgba(255, 42, 133, 0.65);
  transform: translateY(-1px);
}

.contact-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rim-magenta);
  box-shadow: 0 0 8px var(--rim-magenta);
}

.contact-divider {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}

/* Two-Domain Museum Stage: Quiet 50/50 split matching Project Detail Pages */
.about-stage-canvas {
  position: relative;
  flex: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

/* Subtle 1px central architectural hairline matching Project Spine aesthetic */
.about-stage-canvas::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 8vh;
  bottom: 8vh;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 18%,
    rgba(255, 255, 255, 0.08) 82%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* LEFT DOMAIN: Frameless, Directly Scannable Editorial Profile & Capabilities */
.about-editorial-zone {
  position: relative;
  z-index: 15;
  justify-self: center;
  width: min(390px, 33vw);
  display: flex;
  flex-direction: column;
  gap: 44px;
  padding: 12px 0;
  user-select: text;
}

.about-editorial-block {
  position: relative;
}

.about-editorial-block .editorial-step-header {
  font-size: clamp(22px, 2vw, 30px);
  margin-bottom: 12px;
}

.about-capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
  margin-top: 6px;
}

.about-cap-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.about-cap-item dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-pure);
  letter-spacing: 0.01em;
}

.about-cap-item dd {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
}

/* RIGHT DOMAIN: Scaled-Up Antiquity Sculpture Bust atop Fluted Half-Column Base */
.about-monument-zone {
  align-self: end;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  padding-top: 2vh;
  z-index: 15;
}

/* Scaled-Up Antiquity Sculpture Bust Placeholder resting directly on the Column Capital */
.about-bust-placeholder {
  position: relative;
  width: clamp(235px, 31vh, 325px);
  height: clamp(265px, 35.5vh, 370px);
  background-color: #32CD32;
  background-image:
    linear-gradient(135deg, #39FF14 0%, #32CD32 52%, #229922 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: none;
  /* Classical arched/sculpted top silhouette */
  border-radius: 140px 140px 4px 4px;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.82),
    0 0 28px rgba(57, 255, 20, 0.14);
  overflow: hidden;
  z-index: 3;
  margin-bottom: -2px;
}

.about-bust-placeholder::before {
  border-radius: 128px 128px 2px 2px;
}

.bust-silhouette-guide {
  position: absolute;
  inset: 14px 18px 42px 18px;
  width: calc(100% - 36px);
  height: calc(100% - 56px);
  pointer-events: none;
  opacity: 0.85;
}

.bust-card-inner {
  padding: 18px 20px;
}

.bust-card-inner .photo-card-index {
  justify-content: center;
  gap: 8px;
}

.bust-card-inner .photo-card-label {
  font-size: 14px;
  text-align: center;
}

/* Scaled-Up Architectural Fluted Half-Column Base (Anchored to bottom edge of right domain) */
.about-half-column-wrap {
  position: relative;
  height: clamp(245px, 42vh, 385px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
}

.about-column-svg {
  height: 100%;
  width: auto;
  display: block;
  overflow: visible;
}

/* Specular 220px cursor-reactive border on bust frame */
.about-bust-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  background: radial-gradient(
    circle 220px at var(--portrait-x, -999px) var(--portrait-y, -999px),
    var(--rim-magenta) 0%,
    var(--rim-violet) 58%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
}

/* ==========================================================================
   INPUT PARITY: TOUCH / COARSE POINTER & REDUCED MOTION
   ========================================================================== */

@media (pointer: coarse) and (hover: none) and (min-width: 769px) {
  .ambient-torch {
    display: none;
  }

  .monolith-btn:hover {
    transform: translateY(0) scaleY(1);
  }

  .monolith-btn.is-touch-selected {
    transform: translateY(-10%) scaleY(1.12);
  }

  .monolith-btn.is-touch-selected .monolith-path-fill {
    stroke: rgba(255, 42, 133, 0.88);
    stroke-width: 1.5px;
  }

  .preview-hud-item.is-visible .hud-title-white {
    opacity: 1;
  }

  .hud-touch-actions {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-torch,
  .mobile-stage-spotlight {
    display: none;
  }

  .stage-view,
  .stage-view.is-active,
  .top-nav,
  .monolith-btn,
  .preview-hud-item,
  .project-photo-card,
  .project-central-spine-fill,
  .project-central-spine-tip,
  .project-editorial-row::before,
  .project-editorial-row::after,
  .project-header-bar,
  .project-title,
  .project-role,
  .project-close-btn {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .project-photo-card {
    opacity: 1;
    transform: none;
  }

  .preview-hud-item.is-visible .hud-title-white {
    opacity: 1;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS: TABLET (<= 1024px) & MOBILE (<= 768px / 390px)
   ========================================================================== */

@media (max-width: 1024px) {
  .monolith-row {
    padding: 0 2vw;
  }

  .monolith-btn {
    height: clamp(160px, 26vw, 280px);
  }

  .project-header-bar {
    padding: 0 28px;
  }

  .project-title {
    font-size: clamp(26px, 4vw, 48px);
  }

  .about-header-contacts {
    gap: 10px;
  }

  .about-stage-wrapper {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .about-bust-placeholder {
    width: clamp(190px, 25vw, 280px);
    height: clamp(215px, 28vw, 320px);
  }

  .about-half-column-wrap {
    height: clamp(190px, 30vw, 300px);
  }
}

@media (max-width: 768px) {
  /* Top Navigation Bar with subtle dark chiaroscuro fade over scrollable mobile gallery */
  .top-nav {
    height: 68px;
    padding: 0 20px;
    background: linear-gradient(
      180deg,
      rgba(26, 26, 28, 0.94) 0%,
      rgba(26, 26, 28, 0.58) 70%,
      rgba(26, 26, 28, 0) 100%
    );
  }

  .avatar-circle {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 14px;
  }

  .about-trigger {
    font-size: 14px;
    padding: 10px 12px;
  }

  /* View 1: Home Stage — Vertical Scrollable Chiaroscuro Monolith Gallery */
  #view-home {
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #view-home::-webkit-scrollbar {
    display: none;
  }

  .preview-hud {
    display: none;
  }

  .mobile-stage-spotlight {
    display: block;
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: var(--z-torch);
    background: radial-gradient(
      circle 260px at 50% 41%,
      rgba(255, 42, 133, 0.1) 0%,
      rgba(74, 14, 92, 0.08) 46%,
      transparent 78%
    );
  }

  .monolith-row {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    padding: 76px 46px 14dvh 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4dvh;
    pointer-events: auto;
  }

  .monolith-btn {
    width: 100%;
    max-width: 320px;
    height: auto;
    min-height: 74dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 20px 12px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transform: translateY(0) scale(0.95);
    opacity: 0.42;
    transition:
      opacity 360ms var(--spring-noble),
      transform 420ms var(--spring-noble);
  }

  .monolith-btn:hover {
    transform: translateY(0) scale(0.95);
  }

  .monolith-btn.is-spotlight,
  .monolith-btn:focus-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .monolith-svg-wrap {
    height: clamp(195px, 31dvh, 260px);
    max-width: calc(100vw - 110px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .monolith-svg {
    height: 100%;
    max-width: 100%;
    width: auto;
    transform: translateX(10px);
  }

  .monolith-mobile-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    max-width: 290px;
  }

  .mobile-cap-title {
    font-family: var(--font-sans);
    font-size: clamp(30px, 8.4vw, 40px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--text-pure);
  }

  .mobile-cap-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.45;
  }

  .mobile-cap-meta .hud-meta-dot {
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rim-magenta);
    box-shadow: 0 0 8px var(--rim-magenta);
  }

  .mobile-cap-cta {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid rgba(255, 42, 133, 0.75);
    background: rgba(5, 5, 7, 0.88);
    color: var(--text-pure);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 0 22px rgba(255, 42, 133, 0.2);
  }

  /* Right-Edge Roman Numeral Scroll Jump Rail */
  .mobile-monolith-rail {
    position: fixed;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: var(--z-header);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  body[data-view="project"] .mobile-monolith-rail,
  body[data-view="about"] .mobile-monolith-rail,
  body[data-view="project"] .mobile-stage-spotlight,
  body[data-view="about"] .mobile-stage-spotlight {
    display: none;
  }

  .mobile-rail-btn {
    min-width: 34px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-numeral);
    font-size: 13px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
    transition: color 220ms ease, transform 220ms var(--spring-noble);
  }

  .mobile-rail-btn.is-active {
    color: var(--rim-magenta);
    font-weight: 700;
    transform: scale(1.22);
    text-shadow: 0 0 12px rgba(255, 42, 133, 0.8);
  }

  /* View 2: Project Stage — Single Column + Left Spine Rail + Obvious Step-to-Image Pairing */
  .project-header-bar {
    height: auto;
    min-height: 68px;
    padding: 12px 20px;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 2px 12px;
  }

  .project-header-bar.is-compact {
    height: auto;
    min-height: 54px;
    padding: 8px 20px;
  }

  .project-title {
    font-size: clamp(24px, 6.5vw, 34px);
    transform: none;
    grid-column: 1;
    grid-row: 1;
  }

  .project-header-bar.is-compact .project-title {
    transform: scale(0.86);
  }

  .project-role {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
  }

  .project-header-bar.is-compact .project-role {
    display: none;
  }

  .project-close-btn {
    grid-column: 2;
    grid-row: 1 / 3;
    min-width: 44px;
    min-height: 44px;
  }

  .project-editorial-wrapper {
    padding: 40px 0 72px;
  }

  .project-central-spine {
    left: 22px;
    top: 24px;
    bottom: 48px;
  }

  .project-editorial-container {
    gap: 72px;
  }

  .project-editorial-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px 0 50px;
  }

  .project-editorial-row:nth-child(odd) .editorial-text-block,
  .project-editorial-row:nth-child(odd) .editorial-photo-slot,
  .project-editorial-row:nth-child(even) .editorial-text-block,
  .project-editorial-row:nth-child(even) .editorial-photo-slot {
    grid-column: 1;
    grid-row: auto;
  }

  .project-editorial-row::before {
    left: 22px;
    top: 18px;
    width: 22px;
    height: 22px;
    font-size: 9px;
  }

  .project-editorial-row::after {
    left: 33px;
    top: 18px;
    width: 12px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.14);
  }

  .project-editorial-row.is-spine-lit::after {
    background: rgba(255, 42, 133, 0.36);
  }

  .editorial-text-block,
  .editorial-photo-slot {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }

  .editorial-step-header {
    font-size: clamp(22px, 6vw, 28px);
  }

  .editorial-copy {
    font-size: 16px;
    line-height: 1.65;
    max-width: 100%;
  }

  .spec-tag {
    font-size: 12px;
  }

  .project-photo-card {
    min-height: 200px;
  }

  .project-extra-photos-grid {
    grid-template-columns: 1fr;
    padding: 0 20px 0 50px;
  }

  .project-stage-footer {
    padding: 28px 20px 40px;
    flex-direction: column;
    align-items: flex-start;
  }

  /* View 3: About Me Stage — Scrollable Stacked Museum Layout */
  .about-stage-wrapper {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .about-header-bar {
    position: sticky;
    top: 0;
    height: auto;
    padding: 12px 20px;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 8px 12px;
  }

  .about-header-bar .project-title {
    grid-column: 1;
    grid-row: 1;
  }

  .about-header-bar .project-close-btn {
    grid-column: 2;
    grid-row: 1;
    min-width: 44px;
    min-height: 44px;
  }

  .about-header-contacts {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .contact-divider {
    display: none;
  }

  .about-header-contact-link {
    min-height: 44px;
    padding: 8px 4px;
    font-size: 14px;
  }

  .about-stage-canvas {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 20px 0;
    gap: 44px;
    overflow: visible;
    flex: 1 0 auto;
  }

  .about-stage-canvas::before {
    display: none;
  }

  .about-editorial-zone {
    width: 100%;
    max-width: 520px;
    gap: 36px;
    padding: 0;
  }

  .about-capabilities-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-cap-item dt {
    font-size: 15px;
  }

  .about-cap-item dd {
    font-size: 14px;
  }

  .about-monument-zone {
    height: auto;
    padding-top: 0;
    width: 100%;
    align-self: center;
  }

  .about-bust-placeholder {
    width: clamp(200px, 60vw, 260px);
    height: clamp(228px, 68vw, 296px);
  }

  .about-half-column-wrap {
    height: clamp(190px, 48vw, 240px);
  }
}
