/* Internship refresh: one restrained identity across light and dark modes. */
:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171316;
  --surface: #211a1e;
  --surface-2: #2c2227;
  --border: rgba(244, 236, 216, 0.11);
  --border-hover: rgba(244, 236, 216, 0.24);
  --surface-light: #f1e7d5;
  --surface-light-elevated: #fffaf0;
  --text-on-light: #21171c;
  --text-on-light-muted: #675c60;
  --border-light: rgba(49, 30, 38, 0.1);
  --border-light-hover: rgba(49, 30, 38, 0.22);
  --burgundy: #7a1f36;
  --burgundy-deep: #5e1729;
  --burgundy-bright: #b24863;
  --burgundy-soft: rgba(122, 31, 54, 0.2);
  --black: #0b090a;
  --text: #f8f0e2;
  --text-muted: #c4b7b6;
  --text-dim: #928386;
  --overlay: rgba(23, 19, 22, 0.88);
  --overlay-strong: rgba(23, 19, 22, 0.95);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3ead9;
  --surface: #fffaf0;
  --surface-2: #e9dcc8;
  --border: rgba(49, 30, 38, 0.13);
  --border-hover: rgba(49, 30, 38, 0.28);
  --surface-light: #eadcc7;
  --surface-light-elevated: #fffaf0;
  --text-on-light: #21171c;
  --text-on-light-muted: #675c60;
  --border-light: rgba(49, 30, 38, 0.12);
  --border-light-hover: rgba(49, 30, 38, 0.25);
  --burgundy: #7a1f36;
  --burgundy-deep: #5e1729;
  --burgundy-bright: #8f2b46;
  --burgundy-soft: rgba(122, 31, 54, 0.13);
  --text: #21171c;
  --text-muted: #675c60;
  --text-dim: #87787a;
  --overlay: rgba(243, 234, 217, 0.9);
  --overlay-strong: rgba(243, 234, 217, 0.97);
}

html,
body,
nav,
.bento-card,
.skill-card,
.meta-card,
.section-light,
.project-index,
footer {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.hero h1,
.section-title,
.page-hero h1,
.project-section-header h2,
.contact-card h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 400;
}

body {
  background-image:
    radial-gradient(circle at 12% 8%, rgba(122, 31, 54, 0.09), transparent 28rem),
    linear-gradient(180deg, transparent, rgba(122, 31, 54, 0.025));
}

nav {
  box-shadow: 0 12px 35px rgba(20, 12, 15, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 39px;
  height: 39px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.theme-toggle:hover {
  transform: rotate(18deg);
  border-color: var(--burgundy);
}

.theme-toggle:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--burgundy-bright);
  outline-offset: 3px;
}

.hero::before {
  background: linear-gradient(90deg, transparent 49px, rgba(122, 31, 54, 0.06) 50px);
  background-size: 50px 50px;
}

.hero::after,
.page-hero::before {
  opacity: 0.72;
}

html[data-theme="light"] .hero-monogram {
  background:
    radial-gradient(circle at 30% 20%, rgba(122, 31, 54, 0.22), transparent 42%),
    linear-gradient(145deg, #241a1f, #171316);
  box-shadow: 0 25px 70px rgba(11, 9, 10, 0.3);
}

html[data-theme="light"] .hero-monogram::before {
  opacity: 0.55;
}

/* The default experience is intentionally hybrid: dark framing with cream content. */
html[data-theme="light"] nav {
  background: rgba(23, 19, 22, 0.92);
  border-bottom-color: rgba(243, 234, 217, 0.09);
}

html[data-theme="light"] nav .nav-logo,
html[data-theme="light"] nav .nav-links a.active,
html[data-theme="light"] nav .nav-links a:hover,
html[data-theme="light"] nav .nav-contact {
  color: #f8f0e2;
}

html[data-theme="light"] nav .nav-links a { color: #b9abad; }
html[data-theme="light"] nav .nav-contact { border-color: rgba(248, 240, 226, 0.2); }
html[data-theme="light"] nav .theme-toggle {
  background: #f3ead9;
  border-color: rgba(248, 240, 226, 0.24);
  color: #21171c;
}

html[data-theme="light"] .hero,
html[data-theme="light"] .page-hero {
  background: #171316;
  color: #f8f0e2;
}

html[data-theme="light"] .hero h1,
html[data-theme="light"] .hero-monogram .monogram,
html[data-theme="light"] .page-hero h1 {
  color: #f8f0e2;
}

html[data-theme="light"] .hero h1 em,
html[data-theme="light"] .page-hero h1 em,
html[data-theme="light"] .hero-monogram > p {
  color: #d1a9b3;
}

html[data-theme="light"] .hero-desc,
html[data-theme="light"] .hero-eyebrow,
html[data-theme="light"] .hero-scroll,
html[data-theme="light"] .monogram-details,
html[data-theme="light"] .page-hero p {
  color: #b9abad;
}

html[data-theme="light"] .hero .btn-outline {
  color: #f8f0e2;
  border-color: rgba(248, 240, 226, 0.22);
}

html[data-theme="light"] .hero .btn-outline:hover {
  border-color: #b24863;
  color: #fffaf0;
}

html[data-theme="light"] .page-hero .section-tag {
  color: #c4b7b6;
  border-color: rgba(248, 240, 226, 0.16);
}

html[data-theme="light"] .project-index {
  background: rgba(23, 19, 22, 0.97);
  border-color: rgba(248, 240, 226, 0.08);
}

html[data-theme="light"] .project-index-label,
html[data-theme="light"] .project-index-links a { color: #b9abad; }
html[data-theme="light"] .project-index-links a:hover,
html[data-theme="light"] .project-index-links a.is-active { color: #f8f0e2; }

html[data-theme="light"] .contact-section,
html[data-theme="light"] footer {
  background: #171316;
  color: #f8f0e2;
}

html[data-theme="light"] .contact-card {
  background:
    radial-gradient(circle at 0 0, rgba(122, 31, 54, 0.22), transparent 42%),
    #211a1e;
  border-color: rgba(248, 240, 226, 0.1);
}

html[data-theme="light"] .contact-card h2,
html[data-theme="light"] .contact-links strong { color: #f8f0e2; }
html[data-theme="light"] .contact-card p,
html[data-theme="light"] .contact-links span,
html[data-theme="light"] footer p,
html[data-theme="light"] footer a { color: #b9abad; }

.section-light {
  background: var(--surface-light) !important;
}

.section-light .stat-item:hover {
  background: var(--surface-light-elevated);
}

.section-light .bento-card,
.section-light .skill-card,
.cv-card {
  box-shadow: 0 18px 50px -32px rgba(65, 35, 44, 0.35);
}

.bento-grow-preview {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, rgba(244, 236, 216, 0.17), transparent 26%),
    linear-gradient(125deg, #25181d 0%, #7a1f36 58%, #4f1425 100%);
}

.bento-grow-preview::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(244, 236, 216, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(244, 236, 216, 0.035),
    0 0 0 68px rgba(244, 236, 216, 0.025);
}

.bento-grow-preview .bento-img-label {
  position: relative;
  z-index: 1;
  color: rgba(255, 250, 240, 0.72);
  letter-spacing: 0.22em;
}

.project-index {
  background: var(--overlay-strong);
}

.project-section:nth-of-type(even) {
  background: var(--surface);
}

.project-section:nth-of-type(even) .meta-card,
.meta-card {
  background: var(--surface);
}

.project-details {
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  overflow: hidden;
}

.project-details summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-details summary::-webkit-details-marker { display: none; }
.project-details summary::after {
  content: "+";
  color: var(--burgundy-bright);
  font-size: 1.25rem;
  font-weight: 500;
}
.project-details[open] summary::after { content: "−"; }
.project-details[open] summary { border-bottom: 1px solid var(--border); }
.project-details-body { padding: 0 22px 22px; }
.project-details-body h3:first-child { margin-top: 26px; }

.contact-section {
  padding: 96px 6%;
  background: var(--bg);
}

.contact-card {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(36px, 7vw, 90px);
  border: 1px solid var(--border);
  border-radius: 26px;
  background:
    radial-gradient(circle at 0 0, var(--burgundy-soft), transparent 42%),
    var(--surface);
}

.contact-card h2 {
  margin: 18px 0;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 600;
  line-height: 0.98;
}

.contact-card h2 em { color: var(--burgundy-bright); }
.contact-card p { max-width: 57ch; color: var(--text-muted); }
.contact-links { display: grid; gap: 10px; }
.contact-links > * {
  padding: 15px 0;
  display: grid;
  gap: 2px;
  border-bottom: 1px solid var(--border);
}
.contact-links span {
  color: var(--text-dim);
  font-size: 0.69rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.contact-links strong {
  color: var(--text);
  font-size: 0.91rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.contact-links a:hover strong { color: var(--burgundy-bright); }

.artwork-showcase-inner,
.artwork-showcase-inner h3,
.artwork-showcase-inner > p:first-of-type {
  color: #f8f0e2;
}

.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
}
.js .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .cursor-dot,
  .cursor-outline { display: none !important; }
}

@media (pointer: coarse) {
  .cursor-dot,
  .cursor-outline { display: none; }
}

@media (max-width: 800px) {
  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav-actions { gap: 0; }
  .theme-toggle { width: 35px; height: 35px; }
  .project-details summary { padding: 16px 18px; }
  .project-details-body { padding: 0 18px 18px; }
}

@media (max-width: 430px) {
  .nav-links { gap: 8px; }
  .nav-links a { font-size: 0.64rem; }
  .nav-logo { font-size: 0.98rem; }
}


/* ========================================
   SIGNATURE EXPERIENCE — HOMEPAGE
   A systems-led editorial composition.
======================================== */
.signature-hero {
  position: relative;
  min-height: calc(100svh - 72px);
  padding: clamp(80px, 9vw, 132px) 6% 0;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  align-items: center;
  gap: clamp(38px, 5vw, 86px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 83% 28%, rgba(122, 31, 54, 0.24), transparent 31rem),
    radial-gradient(circle at 7% 88%, rgba(178, 72, 99, 0.08), transparent 24rem),
    #171316;
  color: #f8f0e2;
}

.signature-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(244, 236, 216, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 236, 216, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, black, transparent 88%);
}

.signature-hero::after {
  content: "GHAZALEH";
  position: absolute;
  right: -0.06em;
  top: 47%;
  z-index: -1;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  color: rgba(248, 240, 226, 0.025);
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(8rem, 15vw, 15rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  white-space: nowrap;
  pointer-events: none;
}

.signature-rail {
  position: absolute;
  top: 26px;
  left: 6%;
  right: 6%;
  display: flex;
  justify-content: space-between;
  color: rgba(248, 240, 226, 0.48);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.signature-copy {
  position: relative;
  z-index: 4;
  max-width: 700px;
}

.signature-kicker {
  margin: 0 0 25px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #c4b7b6;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signature-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: #b24863;
}

.signature-copy h1 {
  margin: 0;
  display: grid;
  width: max-content;
  max-width: 100%;
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(4.25rem, 7.4vw, 8.7rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.signature-copy h1 span,
.signature-copy h1 strong,
.signature-copy h1 em {
  display: block;
}

.signature-copy h1 span {
  color: #f8f0e2;
  font-weight: 350;
}

.signature-copy h1 strong {
  color: #f8f0e2;
  font-weight: 800;
}

.signature-copy h1 em {
  margin: 0.12em 0 0 0.23em;
  color: #d1a9b3;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.58em;
  font-weight: 400;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.signature-intro {
  max-width: 58ch;
  margin: 34px 0 0;
  color: #b9abad;
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  line-height: 1.8;
}

.signature-copy .hero-actions {
  margin-top: 31px;
}

.signature-hero .btn-outline {
  color: #f8f0e2;
  border-color: rgba(248, 240, 226, 0.2);
}

.signature-hero .btn-outline:hover {
  color: #fffaf0;
  border-color: #b24863;
}

.system-stage {
  --stage-x: 0px;
  --stage-y: 0px;
  position: relative;
  min-width: 0;
  aspect-ratio: 1.08;
  perspective: 1200px;
}

.stage-grid {
  position: absolute;
  inset: 3% 1% 2% 4%;
  border: 1px solid rgba(248, 240, 226, 0.09);
  border-radius: 30px;
  background:
    linear-gradient(rgba(248, 240, 226, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 240, 226, 0.035) 1px, transparent 1px),
    rgba(11, 9, 10, 0.2);
  background-size: 34px 34px;
  box-shadow: inset 0 0 70px rgba(122, 31, 54, 0.08);
}

.stage-grid::before,
.stage-grid::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.stage-grid::before {
  width: 8px;
  height: 8px;
  left: 13%;
  top: 22%;
  background: #b24863;
  box-shadow:
    122px 246px 0 rgba(248, 240, 226, 0.5),
    390px 68px 0 rgba(178, 72, 99, 0.7),
    440px 322px 0 rgba(248, 240, 226, 0.32);
}

.stage-grid::after {
  width: 330px;
  height: 330px;
  right: 2%;
  bottom: 3%;
  border: 1px solid rgba(178, 72, 99, 0.16);
  box-shadow: 0 0 0 42px rgba(178, 72, 99, 0.025), 0 0 0 84px rgba(178, 72, 99, 0.018);
}

.stage-orbit {
  position: absolute;
  border: 1px solid rgba(178, 72, 99, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.stage-orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  top: 50%;
  left: -4px;
  border-radius: 50%;
  background: #b24863;
  box-shadow: 0 0 14px rgba(178, 72, 99, 0.8);
}

.stage-orbit-one {
  width: 74%;
  height: 74%;
  right: -2%;
  top: 4%;
  transform: rotate(17deg);
}

.stage-orbit-two {
  width: 52%;
  height: 52%;
  left: 8%;
  bottom: 2%;
  border-color: rgba(248, 240, 226, 0.1);
  transform: rotate(-21deg);
}

.system-window {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(248, 240, 226, 0.16);
  border-radius: 17px;
  background: #211a1e;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.system-window:hover {
  border-color: rgba(178, 72, 99, 0.7);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.62);
}

.system-window-main {
  z-index: 3;
  width: 76%;
  left: 3%;
  top: 14%;
  transform: translate(var(--tx, 0), var(--ty, 0)) rotate(-3.5deg);
}

.system-window-side {
  z-index: 4;
  width: 31%;
  right: 1%;
  bottom: 7%;
  transform: translate(var(--tx, 0), var(--ty, 0)) rotate(4deg);
}

.window-bar,
.window-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(248, 240, 226, 0.62);
  font-size: clamp(0.46rem, 0.55vw, 0.62rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.window-bar {
  min-height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(248, 240, 226, 0.09);
}

.window-dots {
  display: flex;
  gap: 4px;
}

.window-dots i,
.console-browser-bar i {
  width: 5px;
  height: 5px;
  display: block;
  border-radius: 50%;
  background: rgba(248, 240, 226, 0.2);
}

.window-dots i:first-child,
.console-browser-bar i:first-child { background: #b24863; }

.window-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b090a;
}

.window-media img,
.system-window-side > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.system-window-side > img {
  aspect-ratio: 0.67;
  object-position: top;
}

.window-status {
  min-height: 42px;
  padding: 0 14px;
  background: #171316;
}

.window-status span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.window-status i,
.console-status i {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: #b24863;
  box-shadow: 0 0 9px rgba(178, 72, 99, 0.8);
  animation: signalPulse 2.2s ease-in-out infinite;
}

.system-signal-card {
  position: absolute;
  z-index: 5;
  right: 9%;
  top: 6%;
  width: 176px;
  padding: 18px;
  border: 1px solid rgba(248, 240, 226, 0.13);
  border-radius: 15px;
  background: rgba(23, 19, 22, 0.9);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
  transform: translate(var(--tx, 0), var(--ty, 0));
  transition: transform 0.25s ease-out;
}

.system-signal-card > span,
.system-signal-card small {
  display: block;
  color: #928386;
  font-size: 0.52rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.system-signal-card strong {
  margin: 7px 0 14px;
  display: block;
  color: #f8f0e2;
  font-size: 1.08rem;
  letter-spacing: -0.04em;
}

.signal-bars {
  height: 30px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 11px;
}

.signal-bars i {
  width: 7px;
  height: 30%;
  border-radius: 2px 2px 0 0;
  background: #7a1f36;
  animation: signalBars 1.8s ease-in-out infinite alternate;
}

.signal-bars i:nth-child(2) { height: 72%; animation-delay: -0.6s; }
.signal-bars i:nth-child(3) { height: 42%; animation-delay: -1.2s; }
.signal-bars i:nth-child(4) { height: 94%; animation-delay: -0.25s; }
.signal-bars i:nth-child(5) { height: 58%; animation-delay: -0.9s; }
.signal-bars i:nth-child(6) { height: 84%; animation-delay: -1.5s; }

.stage-caption {
  position: absolute;
  z-index: 6;
  left: 7%;
  bottom: 4%;
  max-width: 250px;
  padding: 13px 15px;
  border-left: 2px solid #b24863;
  background: rgba(23, 19, 22, 0.76);
  backdrop-filter: blur(10px);
}

.stage-caption span,
.stage-caption strong {
  display: block;
}

.stage-caption span {
  margin-bottom: 4px;
  color: #928386;
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.stage-caption strong {
  color: #f8f0e2;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.79rem;
  line-height: 1.45;
}

.signature-flow {
  grid-column: 1 / -1;
  margin-top: clamp(30px, 5vw, 60px);
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(248, 240, 226, 0.1);
  color: rgba(248, 240, 226, 0.58);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.signature-flow i {
  color: #b24863;
  font-style: normal;
}

.proof-strip {
  padding: 0 6%;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 0.65fr)) minmax(300px, 1.45fr);
  border-bottom: 1px solid var(--border-light);
}

.proof-item,
.proof-statement {
  min-height: 172px;
  padding: 30px clamp(20px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border-light);
  color: var(--text-on-light);
}

.proof-item:first-child { border-left: 1px solid var(--border-light); }

.proof-item strong {
  color: var(--text-on-light);
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
}

.proof-item span {
  max-width: 15ch;
  margin-top: 9px;
  color: var(--text-on-light-muted);
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.proof-statement {
  border-right: 1px solid var(--border-light);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  line-height: 1.45;
}

.proof-statement em {
  color: var(--burgundy);
}

.work-console {
  padding: clamp(90px, 11vw, 160px) 6%;
}

.console-heading {
  max-width: 1380px;
  margin: 0 auto 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.4fr);
  align-items: end;
  gap: 50px;
}

.console-heading h2 {
  max-width: 900px;
  margin: 18px 0 0;
  color: var(--text-on-light);
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(3.4rem, 7.4vw, 8.2rem);
  font-weight: 750;
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.console-heading h2 em {
  display: block;
  margin-left: 0.16em;
  color: var(--burgundy);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.55em;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.console-heading > p {
  margin: 0;
  color: var(--text-on-light-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.console-shell {
  max-width: 1380px;
  min-height: 690px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(248, 240, 226, 0.11);
  border-radius: 28px;
  background: #171316;
  box-shadow: 0 40px 100px -45px rgba(30, 15, 21, 0.68);
}

.console-nav {
  padding: 22px 0 18px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(248, 240, 226, 0.1);
  background: #0f0c0e;
}

.console-tab {
  position: relative;
  width: 100%;
  padding: 23px 25px;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 2px 10px;
  border: 0;
  border-bottom: 1px solid rgba(248, 240, 226, 0.08);
  background: transparent;
  color: #928386;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.console-tab::after {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 2px;
  transform: scaleY(0);
  background: #b24863;
  transition: transform 0.25s ease;
}

.console-tab:hover {
  color: #f8f0e2;
  background: rgba(248, 240, 226, 0.03);
}

.console-tab.is-active {
  color: #f8f0e2;
  background: linear-gradient(90deg, rgba(122, 31, 54, 0.18), transparent);
}

.console-tab.is-active::after { transform: scaleY(1); }

.console-tab > span {
  grid-row: 1 / 3;
  color: #b24863;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.console-tab strong {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.9rem;
  font-weight: 400;
}

.console-tab small {
  color: #76696c;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-all-link {
  margin: auto 25px 0;
  padding: 18px 0 4px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(248, 240, 226, 0.1);
  color: #b9abad;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-all-link:hover { color: #f8f0e2; }

.console-panels {
  min-width: 0;
  display: grid;
}

.console-panel {
  min-width: 0;
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr);
  grid-area: 1 / 1;
  animation: consoleIn 0.48s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.console-panel[hidden] { display: none; }

.console-visual {
  position: relative;
  min-width: 0;
  min-height: 590px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid rgba(248, 240, 226, 0.1);
  background:
    radial-gradient(circle at 20% 12%, rgba(122, 31, 54, 0.35), transparent 31rem),
    linear-gradient(rgba(248, 240, 226, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 240, 226, 0.035) 1px, transparent 1px),
    #211a1e;
  background-size: auto, 38px 38px, 38px 38px, auto;
}

.console-visual::after {
  content: "";
  position: absolute;
  inset: auto 8% 4% 8%;
  height: 14%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  filter: blur(25px);
}

.console-browser,
.gyne-desktop {
  position: relative;
  z-index: 2;
  width: 82%;
  overflow: hidden;
  border: 1px solid rgba(248, 240, 226, 0.17);
  border-radius: 15px;
  background: #0b090a;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
  transform: perspective(1000px) rotateX(2deg) rotateY(-6deg) rotateZ(-1deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.console-visual:hover .console-browser,
.console-visual:hover .gyne-desktop {
  transform: perspective(1000px) rotateX(0) rotateY(-1deg) rotateZ(0) scale(1.015);
}

.console-browser-bar {
  height: 36px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid rgba(248, 240, 226, 0.09);
  color: #76696c;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-browser-bar span { margin-left: 8px; }

.console-browser > img,
.gyne-desktop > img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.console-visual-index {
  position: absolute;
  right: 24px;
  bottom: 13px;
  z-index: 3;
  color: rgba(248, 240, 226, 0.14);
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(5rem, 9vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 1;
}

.console-copy {
  padding: clamp(34px, 4.5vw, 68px) clamp(27px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #171316;
  color: #f8f0e2;
}

.console-copy > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #928386;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.console-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b9abad;
}

.console-copy h3 {
  margin: 34px 0 20px;
  color: #f8f0e2;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.console-copy p {
  margin: 0;
  color: #b9abad;
  font-size: 0.88rem;
  line-height: 1.75;
}

.console-copy ul {
  margin: 28px 0 36px;
  padding: 0;
  display: grid;
  list-style: none;
}

.console-copy li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(248, 240, 226, 0.09);
  color: #c4b7b6;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.console-copy > a {
  width: fit-content;
  color: #d1a9b3;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.console-copy > a:hover { color: #f8f0e2; }

.console-visual-gyne {
  background:
    radial-gradient(circle at 76% 20%, rgba(122, 31, 54, 0.38), transparent 23rem),
    linear-gradient(135deg, #211a1e, #0f0c0e);
}

.gyne-desktop {
  width: 80%;
  transform: translate(-4%, -4%) perspective(1000px) rotateY(-6deg) rotateZ(-1deg);
}

.gyne-phone {
  position: absolute;
  z-index: 4;
  right: 5%;
  bottom: 7%;
  width: 22%;
  aspect-ratio: 0.54;
  overflow: hidden;
  border: 5px solid #0b090a;
  border-radius: 21px;
  background: #0b090a;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.65);
  transform: rotate(5deg);
  transition: transform 0.45s ease;
}

.console-visual-gyne:hover .gyne-phone { transform: rotate(1deg) translateY(-8px); }

.gyne-phone img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

.console-visual-grow {
  background:
    radial-gradient(circle at 20% 20%, rgba(178, 72, 99, 0.18), transparent 26rem),
    #171316;
}

.grow-blueprint {
  position: relative;
  z-index: 2;
  width: 82%;
  padding: 21px;
  border: 1px solid rgba(248, 240, 226, 0.18);
  border-radius: 18px;
  background: #211a1e;
  box-shadow: 0 38px 80px rgba(0, 0, 0, 0.58);
  transform: perspective(1000px) rotateY(-6deg) rotateZ(-1.5deg);
  transition: transform 0.45s ease;
}

.console-visual-grow:hover .grow-blueprint {
  transform: perspective(1000px) rotateY(-1deg) rotateZ(0) scale(1.015);
}

.blueprint-top {
  padding-bottom: 16px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(248, 240, 226, 0.1);
  color: #928386;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
}

.blueprint-grid {
  min-height: 330px;
  display: grid;
  grid-template-columns: 60px 1fr;
}

.blueprint-side {
  padding: 25px 17px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid rgba(248, 240, 226, 0.1);
}

.blueprint-side i {
  width: 25px;
  height: 25px;
  border: 1px solid rgba(248, 240, 226, 0.12);
  border-radius: 7px;
}

.blueprint-side i:first-child { background: #7a1f36; }

.blueprint-main {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blueprint-main > span {
  color: #928386;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
}

.blueprint-main > strong {
  margin-top: 7px;
  color: #f8f0e2;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 400;
}

.blueprint-bars {
  height: 118px;
  margin: 34px 0 28px;
  padding: 0 8px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  border-left: 1px solid rgba(248, 240, 226, 0.1);
  border-bottom: 1px solid rgba(248, 240, 226, 0.1);
}

.blueprint-bars i {
  flex: 1;
  height: 34%;
  background: linear-gradient(#b24863, #7a1f36);
  border-radius: 4px 4px 0 0;
}

.blueprint-bars i:nth-child(2) { height: 58%; }
.blueprint-bars i:nth-child(3) { height: 49%; }
.blueprint-bars i:nth-child(4) { height: 82%; }
.blueprint-bars i:nth-child(5) { height: 94%; }

.blueprint-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.blueprint-metrics b {
  color: #f8f0e2;
  font-size: 1.35rem;
  font-weight: 600;
}

.blueprint-metrics small {
  margin-top: 3px;
  display: block;
  color: #76696c;
  font-size: 0.49rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.closing-signal {
  min-height: 72vh;
  padding: 10vw 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 73% 43%, rgba(122, 31, 54, 0.28), transparent 28rem),
    #171316;
  color: #f8f0e2;
}

.closing-signal p {
  margin: 0 0 13px;
  color: #928386;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.closing-signal h2 {
  max-width: 1000px;
  margin: 0 0 42px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(4rem, 9vw, 10rem);
  font-weight: 750;
  line-height: 0.84;
  letter-spacing: -0.075em;
}

.closing-signal h2 em {
  display: block;
  margin-left: 0.18em;
  color: #d1a9b3;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.58em;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.closing-signal a {
  width: fit-content;
  color: #f8f0e2;
  border-bottom: 1px solid #b24863;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes signalPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.86); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes signalBars {
  from { transform: scaleY(0.55); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

@keyframes consoleIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .signature-hero {
    grid-template-columns: 1fr;
    padding-top: 110px;
  }

  .signature-copy { max-width: 800px; }

  .signature-copy h1 {
    font-size: clamp(4.8rem, 12vw, 8.8rem);
  }

  .system-stage {
    width: min(880px, 100%);
    margin: -12px auto 0;
    aspect-ratio: 1.34;
  }

  .signature-flow { margin-top: 10px; }

  .proof-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .proof-statement {
    grid-column: 1 / -1;
    min-height: 130px;
    border-left: 1px solid var(--border-light);
  }

  .console-shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .console-panel {
    grid-template-columns: 1fr;
  }

  .console-visual {
    min-height: 500px;
    border-right: 0;
    border-bottom: 1px solid rgba(248, 240, 226, 0.1);
  }

  .console-copy {
    min-height: 430px;
  }
}

@media (max-width: 820px) {
  .signature-rail span:last-child { display: none; }

  .signature-copy h1 {
    font-size: clamp(4rem, 15vw, 7rem);
  }

  .signature-copy h1 em {
    margin-left: 0;
    white-space: normal;
    line-height: 1.06;
  }

  .system-stage {
    width: 110%;
    margin-left: -5%;
    aspect-ratio: 1.05;
  }

  .system-window-main {
    width: 82%;
    left: 0;
  }

  .system-window-side {
    width: 30%;
  }

  .system-signal-card {
    right: 1%;
    width: 145px;
  }

  .signature-flow {
    overflow: hidden;
    justify-content: flex-start;
    white-space: nowrap;
  }

  .signature-flow span:nth-of-type(4),
  .signature-flow i:nth-of-type(3) {
    display: none;
  }

  .console-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .console-shell {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .console-nav {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(248, 240, 226, 0.1);
  }

  .console-tab {
    min-width: 160px;
    padding: 19px;
    border-right: 1px solid rgba(248, 240, 226, 0.08);
    border-bottom: 0;
  }

  .console-tab::after {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 0;
    width: auto;
    height: 2px;
    transform: scaleX(0);
  }

  .console-tab.is-active::after { transform: scaleX(1); }

  .console-all-link { display: none; }

  .console-panel {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .signature-hero {
    min-height: 0;
    padding: 92px 5% 0;
  }

  .signature-rail {
    left: 5%;
    right: 5%;
    top: 20px;
  }

  .signature-kicker {
    align-items: flex-start;
    line-height: 1.55;
  }

  .signature-copy h1 {
    font-size: clamp(3.6rem, 18vw, 5.4rem);
    line-height: 0.86;
  }

  .signature-intro {
    margin-top: 26px;
  }

  .signature-copy .hero-actions {
    align-items: stretch;
  }

  .signature-copy .hero-actions a {
    justify-content: center;
  }

  .system-stage {
    width: 118%;
    margin: 42px 0 0 -9%;
    aspect-ratio: 0.9;
  }

  .stage-grid { inset: 0; }

  .system-window-main {
    width: 91%;
    left: -1%;
    top: 18%;
  }

  .system-window-side {
    width: 34%;
    right: 0;
    bottom: 8%;
  }

  .system-signal-card {
    width: 128px;
    padding: 14px;
    top: 4%;
  }

  .stage-caption {
    left: 4%;
    bottom: 1%;
    max-width: 210px;
  }

  .window-status span:last-child { display: none; }

  .signature-flow {
    margin: 34px -5.5% 0;
    padding: 0 5%;
  }

  .signature-flow span:nth-of-type(3),
  .signature-flow i:nth-of-type(2) {
    display: none;
  }

  .proof-strip {
    padding: 0 5%;
    grid-template-columns: 1fr 1fr;
  }

  .proof-item {
    min-height: 142px;
    padding: 24px 18px;
  }

  .proof-item:nth-child(3) {
    grid-column: 1 / -1;
    border-left: 1px solid var(--border-light);
  }

  .proof-statement {
    padding: 28px 20px;
  }

  .work-console {
    padding: 82px 5%;
  }

  .console-heading h2 {
    font-size: clamp(3.5rem, 17vw, 5.7rem);
  }

  .console-shell {
    margin-left: -1%;
    margin-right: -1%;
    border-radius: 20px;
  }

  .console-nav {
    grid-template-columns: repeat(3, 150px);
  }

  .console-visual {
    min-height: 375px;
  }

  .console-browser,
  .gyne-desktop,
  .grow-blueprint {
    width: 89%;
  }

  .console-copy {
    min-height: 0;
    padding: 37px 25px 46px;
  }

  .console-copy > div:first-child {
    flex-direction: column;
  }

  .console-copy h3 {
    margin-top: 28px;
  }

  .blueprint-grid {
    min-height: 235px;
    grid-template-columns: 44px 1fr;
  }

  .blueprint-side {
    padding: 20px 10px;
  }

  .blueprint-side i {
    width: 21px;
    height: 21px;
  }

  .blueprint-main {
    padding: 22px;
  }

  .blueprint-bars {
    height: 77px;
    margin: 23px 0 20px;
  }

  .blueprint-metrics b {
    font-size: 1rem;
  }

  .closing-signal {
    min-height: 62vh;
    padding: 96px 6%;
  }
}


/* ========================================
   ABOUT — EDITORIAL IDENTITY
======================================== */
.identity-hero {
  position: relative;
  min-height: calc(100svh - 72px);
  padding: clamp(100px, 11vw, 154px) 6% clamp(80px, 9vw, 126px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: center;
  gap: clamp(54px, 7vw, 110px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 34%, rgba(122, 31, 54, 0.27), transparent 30rem),
    #171316;
  color: #f8f0e2;
}

.identity-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(248, 240, 226, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 240, 226, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, black, transparent 82%);
}

.identity-hero::after {
  content: "ABOUT";
  position: absolute;
  left: -0.04em;
  bottom: -0.18em;
  z-index: -1;
  color: rgba(248, 240, 226, 0.025);
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(10rem, 23vw, 24rem);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 1;
}

.identity-rail,
.case-hero-rail {
  position: absolute;
  top: 25px;
  left: 6%;
  right: 6%;
  display: flex;
  justify-content: space-between;
  color: rgba(248, 240, 226, 0.46);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.identity-copy { position: relative; z-index: 2; }

.identity-kicker,
.case-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #b9abad;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.identity-kicker::before,
.case-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: #b24863;
}

.identity-copy h1 {
  margin: 27px 0 32px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(4.6rem, 8vw, 9.3rem);
  font-weight: 750;
  line-height: 0.84;
  letter-spacing: -0.075em;
}

.identity-copy h1 span,
.identity-copy h1 em { display: block; }

.identity-copy h1 em {
  margin-left: 0.08em;
  color: #d1a9b3;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.54em;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.identity-lead {
  max-width: 52ch;
  margin: 0;
  color: #f0e3d7;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.65;
}

.identity-body {
  max-width: 64ch;
  margin: 20px 0 0;
  color: #a99b9e;
  font-size: 0.88rem;
  line-height: 1.8;
}

.identity-facts {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(248, 240, 226, 0.11);
}

.identity-facts > div {
  padding: 23px 16px 0 0;
  border-right: 1px solid rgba(248, 240, 226, 0.09);
}

.identity-facts strong,
.identity-facts span { display: block; }

.identity-facts strong {
  color: #f8f0e2;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.07em;
}

.identity-facts span {
  max-width: 14ch;
  margin-top: 8px;
  color: #928386;
  font-size: 0.53rem;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.identity-canvas {
  position: relative;
  min-width: 0;
  aspect-ratio: 1 / 0.94;
}

.identity-canvas::before {
  content: "";
  position: absolute;
  inset: 6% 4% 4% 7%;
  border: 1px solid rgba(248, 240, 226, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(rgba(248, 240, 226, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 240, 226, 0.032) 1px, transparent 1px),
    rgba(11, 9, 10, 0.2);
  background-size: 35px 35px;
}

.identity-ring {
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  right: -4%;
  top: 0;
  border: 1px solid rgba(178, 72, 99, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(178, 72, 99, 0.024), 0 0 0 90px rgba(178, 72, 99, 0.014);
}

.identity-art {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(248, 240, 226, 0.16);
  background: #0b090a;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.58);
}

.identity-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.identity-art-main {
  z-index: 2;
  width: 58%;
  height: 75%;
  left: 12%;
  top: 8%;
  transform: rotate(-3deg);
}

.identity-art-side {
  z-index: 3;
  width: 31%;
  height: 54%;
  right: 5%;
  bottom: 5%;
  transform: rotate(5deg);
}

.identity-monogram {
  position: absolute;
  z-index: 4;
  right: 3%;
  top: 4%;
  width: 174px;
  height: 174px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(248, 240, 226, 0.14);
  border-radius: 50%;
  background: rgba(23, 19, 22, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.45);
}

.identity-monogram strong {
  color: #f8f0e2;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1;
}

.identity-monogram span {
  margin-top: 8px;
  color: #a99b9e;
  font-size: 0.48rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.identity-note {
  position: absolute;
  z-index: 5;
  left: 4%;
  bottom: 2%;
  max-width: 240px;
  padding: 16px 18px;
  border-left: 2px solid #b24863;
  background: rgba(23, 19, 22, 0.88);
  backdrop-filter: blur(10px);
}

.identity-note span,
.identity-note strong { display: block; }

.identity-note span {
  color: #928386;
  font-size: 0.53rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.identity-note strong {
  margin-top: 5px;
  color: #f8f0e2;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.8rem;
  line-height: 1.4;
}

.work-principles,
.dual-practice {
  padding: clamp(90px, 11vw, 160px) 6%;
}

.editorial-heading {
  max-width: 1380px;
  margin: 0 auto clamp(48px, 7vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  align-items: end;
  gap: 48px;
}

.editorial-heading .section-tag { grid-column: 1 / -1; }

.editorial-heading h2 {
  margin: 0;
  color: var(--text-on-light);
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(3.8rem, 7.5vw, 8.6rem);
  font-weight: 750;
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.editorial-heading h2 em {
  display: block;
  margin-left: 0.12em;
  color: var(--burgundy);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.56em;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.editorial-heading > p {
  margin: 0;
  color: var(--text-on-light-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.principle-grid {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
}

.principle-card {
  min-height: 330px;
  padding: clamp(25px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-on-light);
  transition: background 0.3s ease, transform 0.3s ease;
}

.principle-card:hover {
  z-index: 1;
  background: var(--surface-light-elevated);
  transform: translateY(-7px);
}

.principle-card > span {
  color: var(--burgundy);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
}

.principle-card h3 {
  margin: auto 0 18px;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
}

.principle-card p {
  margin: 0;
  color: var(--text-on-light-muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.journey-section {
  padding: clamp(95px, 12vw, 170px) 6%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(350px, 0.65fr);
  gap: clamp(45px, 8vw, 120px);
  background:
    radial-gradient(circle at 82% 12%, rgba(122, 31, 54, 0.23), transparent 28rem),
    #171316;
  color: #f8f0e2;
}

.journey-heading > span,
.capability-heading > span {
  color: #928386;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
}

.journey-heading h2,
.capability-heading h2 {
  margin: 24px 0 30px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(3.8rem, 7vw, 8rem);
  font-weight: 750;
  line-height: 0.87;
  letter-spacing: -0.075em;
}

.journey-heading h2 em,
.capability-heading h2 em {
  display: block;
  margin-left: 0.12em;
  color: #d1a9b3;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.54em;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.journey-heading p {
  max-width: 59ch;
  color: #a99b9e;
  font-size: 0.88rem;
  line-height: 1.8;
}

.coordinate-card {
  align-self: start;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid rgba(248, 240, 226, 0.12);
  border-radius: 23px;
  background:
    linear-gradient(145deg, rgba(122, 31, 54, 0.18), transparent 52%),
    #211a1e;
}

.coordinate-card > span {
  color: #928386;
  font-size: 0.57rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.coordinate-card > strong {
  margin-top: 22px;
  display: block;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 3.4rem);
  font-weight: 400;
}

.coordinate-card > p {
  color: #a99b9e;
  font-size: 0.78rem;
}

.coordinate-card dl {
  margin: 35px 0 0;
}

.coordinate-card dl > div {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 14px;
  border-top: 1px solid rgba(248, 240, 226, 0.09);
}

.coordinate-card dt {
  color: #76696c;
  font-size: 0.55rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.coordinate-card dd {
  margin: 0;
  color: #d2c5c3;
  font-size: 0.72rem;
  text-align: right;
}

.journey-line {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-top: 1px solid rgba(248, 240, 226, 0.12);
}

.journey-line li {
  position: relative;
  min-height: 240px;
  padding: 30px clamp(20px, 3vw, 42px) 20px 0;
  border-right: 1px solid rgba(248, 240, 226, 0.09);
}

.journey-line li::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  top: -4px;
  left: 0;
  border-radius: 50%;
  background: #b24863;
}

.journey-line li > span {
  color: #b24863;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.journey-line li > div {
  margin-top: 70px;
}

.journey-line strong {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.journey-line p {
  max-width: 28ch;
  color: #928386;
  font-size: 0.7rem;
  line-height: 1.65;
}

.practice-grid {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(38px, 6vw, 90px);
  align-items: stretch;
}

.practice-art {
  min-height: 650px;
  border-radius: 24px;
}

.practice-art .artwork-showcase-inner {
  min-height: 650px;
  padding: clamp(35px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.practice-art-label {
  margin-bottom: 34px;
  display: flex;
  justify-content: space-between;
  color: #928386;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.practice-notes {
  display: grid;
  border-top: 1px solid var(--border-light);
}

.practice-note {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 9px 24px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-on-light);
}

.practice-note > span {
  grid-row: 1 / 3;
  color: var(--burgundy);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.practice-note h3 {
  margin: 0;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  font-weight: 400;
}

.practice-note p {
  margin: 0;
  color: var(--text-on-light-muted);
  font-size: 0.77rem;
  line-height: 1.7;
}

.capability-section {
  padding: clamp(95px, 12vw, 170px) 6%;
  background:
    radial-gradient(circle at 12% 90%, rgba(122, 31, 54, 0.2), transparent 29rem),
    #171316;
  color: #f8f0e2;
}

.capability-heading {
  max-width: 1100px;
  margin-bottom: 60px;
}

.capability-grid {
  max-width: 1380px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(248, 240, 226, 0.12);
  border-left: 1px solid rgba(248, 240, 226, 0.1);
}

.capability-column {
  min-height: 430px;
  padding: clamp(24px, 3vw, 40px);
  border-right: 1px solid rgba(248, 240, 226, 0.1);
  border-bottom: 1px solid rgba(248, 240, 226, 0.1);
}

.capability-column > span {
  color: #b24863;
  font-size: 0.57rem;
  letter-spacing: 0.13em;
}

.capability-column h3 {
  margin: 80px 0 28px;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 400;
}

.capability-column ul {
  margin: 0;
  padding: 0;
  display: grid;
  list-style: none;
}

.capability-column li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(248, 240, 226, 0.075);
  color: #a99b9e;
  font-size: 0.68rem;
  line-height: 1.45;
}

.language-bars li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.language-bars b {
  color: #d1a9b3;
  font-size: 0.53rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.internship-brief {
  padding: clamp(90px, 11vw, 150px) 6%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.65fr);
  gap: clamp(45px, 8vw, 110px);
  color: var(--text-on-light);
}

.brief-copy h2 {
  margin: 25px 0 32px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(3.7rem, 7vw, 8rem);
  font-weight: 750;
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.brief-copy h2 em {
  display: block;
  margin-left: 0.12em;
  color: var(--burgundy);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.55em;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.brief-copy p {
  max-width: 69ch;
  color: var(--text-on-light-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.brief-card {
  align-self: start;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  background: var(--surface-light-elevated);
  box-shadow: 0 30px 75px -50px rgba(49, 30, 38, 0.55);
}

.brief-card > span {
  color: var(--burgundy);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brief-card dl { margin: 30px 0; }

.brief-card dl > div {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 14px;
  border-top: 1px solid var(--border-light);
}

.brief-card dt {
  color: var(--text-on-light-muted);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brief-card dd {
  margin: 0;
  color: var(--text-on-light);
  font-size: 0.72rem;
  text-align: right;
}

.brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ========================================
   PROJECTS — CASE FILE EXPERIENCE
======================================== */
.case-hero {
  position: relative;
  min-height: calc(100svh - 72px);
  padding: clamp(105px, 11vw, 158px) 6% clamp(80px, 9vw, 124px);
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(500px, 1.16fr);
  align-items: center;
  gap: clamp(45px, 7vw, 100px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 77% 34%, rgba(122, 31, 54, 0.29), transparent 31rem),
    #171316;
  color: #f8f0e2;
}

.case-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(248, 240, 226, 0.033) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 240, 226, 0.033) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, black, transparent 90%);
}

.case-hero::after {
  content: "WORK";
  position: absolute;
  left: -0.04em;
  bottom: -0.2em;
  z-index: -1;
  color: rgba(248, 240, 226, 0.025);
  font-size: clamp(12rem, 25vw, 27rem);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 1;
}

.case-hero-copy { position: relative; z-index: 3; }

.case-hero-copy h1 {
  margin: 28px 0 34px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(4.4rem, 7.5vw, 8.6rem);
  font-weight: 780;
  line-height: 0.84;
  letter-spacing: -0.078em;
}

.case-hero-copy h1 span,
.case-hero-copy h1 em { display: block; }

.case-hero-copy h1 em {
  margin-left: 0.08em;
  color: #d1a9b3;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.52em;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.case-hero-copy > p {
  max-width: 61ch;
  color: #a99b9e;
  font-size: 0.88rem;
  line-height: 1.8;
}

.case-hero-link {
  width: fit-content;
  margin-top: 30px;
  padding-bottom: 7px;
  display: flex;
  gap: 14px;
  border-bottom: 1px solid #b24863;
  color: #f8f0e2;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-hero-stage {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.08;
}

.case-stage-grid {
  position: absolute;
  inset: 2%;
  border: 1px solid rgba(248, 240, 226, 0.09);
  border-radius: 30px;
  background:
    linear-gradient(rgba(248, 240, 226, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 240, 226, 0.035) 1px, transparent 1px),
    rgba(11, 9, 10, 0.2);
  background-size: 34px 34px;
}

.case-stage-main,
.case-stage-side {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(248, 240, 226, 0.15);
  border-radius: 17px;
  background: #211a1e;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.58);
}

.case-stage-main {
  z-index: 2;
  width: 78%;
  left: 1%;
  top: 15%;
  transform: rotate(-3deg);
}

.case-stage-side {
  z-index: 4;
  width: 30%;
  right: 0;
  bottom: 5%;
  transform: rotate(4deg);
}

.case-stage-main > div,
.case-stage-side > div {
  min-height: 37px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #928386;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
}

.case-stage-main img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.case-stage-side img {
  width: 100%;
  display: block;
  aspect-ratio: 0.59;
  object-fit: cover;
  object-position: top;
}

.case-stage-data {
  position: absolute;
  z-index: 5;
  right: 6%;
  top: 5%;
  width: 190px;
  padding: 20px;
  border: 1px solid rgba(248, 240, 226, 0.13);
  border-radius: 16px;
  background: rgba(23, 19, 22, 0.91);
  backdrop-filter: blur(13px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.44);
}

.case-stage-data span,
.case-stage-data small {
  display: block;
  color: #928386;
  font-size: 0.5rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.case-stage-data strong {
  margin: 7px 0 14px;
  display: block;
  color: #f8f0e2;
  font-size: 1.08rem;
}

.case-stage-data i {
  width: 100%;
  height: 3px;
  margin: 6px 0;
  display: block;
  transform-origin: left;
  background: linear-gradient(90deg, #b24863 68%, rgba(248,240,226,.08) 68%);
}

.case-stage-data i:nth-of-type(2) { transform: scaleX(.74); }
.case-stage-data i:nth-of-type(3) { transform: scaleX(.9); }

.case-manifest {
  padding: 0 6%;
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 0.72fr)) minmax(340px, 1.45fr);
  color: var(--text-on-light);
  border-bottom: 1px solid var(--border-light);
}

.case-manifest > div,
.case-manifest > p {
  min-height: 170px;
  margin: 0;
  padding: 30px clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border-light);
}

.case-manifest > div:first-child { border-left: 1px solid var(--border-light); }

.case-manifest strong {
  font-size: clamp(2.7rem, 4vw, 4.3rem);
  letter-spacing: -0.08em;
  line-height: 1;
}

.case-manifest span {
  max-width: 18ch;
  margin-top: 9px;
  color: var(--text-on-light-muted);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.case-manifest > p {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  line-height: 1.5;
}

.case-manifest p em { color: var(--burgundy); }

.case-switcher {
  top: 70px;
  padding: 0 4%;
  overflow-x: auto;
  background: rgba(15, 12, 14, 0.98) !important;
  backdrop-filter: blur(18px);
}

.case-switcher .project-index-inner {
  width: max-content;
  min-width: 100%;
  max-width: none;
  gap: 26px;
}

.case-switcher .project-index-label {
  min-width: 110px;
  color: #76696c !important;
}

.case-switcher .project-index-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
}

.case-switcher .project-index-links a {
  min-width: 150px;
  padding: 19px 20px !important;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 8px;
  border-left: 1px solid rgba(248, 240, 226, 0.07);
  color: #928386 !important;
  font-size: 0.62rem;
  white-space: nowrap;
}

.case-switcher .project-index-links a::before {
  content: attr(data-case-number);
  color: #b24863;
  font-size: 0.48rem;
  letter-spacing: 0.1em;
}

.case-switcher .project-index-links a:hover,
.case-switcher .project-index-links a.is-active {
  color: #f8f0e2 !important;
  background: rgba(122, 31, 54, 0.14);
}

.project-sections .project-section {
  --case-number: "00";
  position: relative;
  padding: clamp(80px, 10vw, 145px) 6% clamp(100px, 12vw, 170px);
  overflow: hidden;
  background: #f1e7d5 !important;
  color: #21171c;
}

.project-sections .project-section::before {
  content: var(--case-number);
  position: absolute;
  right: 3%;
  top: 1.8%;
  color: rgba(49, 30, 38, 0.045);
  font-size: clamp(9rem, 20vw, 21rem);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 1;
  pointer-events: none;
}

#arrise { --case-number: "01"; }
#gyne { --case-number: "02"; }
#grow-kasterlee { --case-number: "03"; }
#household-management { --case-number: "04"; }
#farmpulse { --case-number: "05"; }
#arcane-quiz { --case-number: "06"; }
#nitrodrive { --case-number: "07"; }
#car-api { --case-number: "08"; }
#escape-darkness { --case-number: "09"; }

.project-sections .project-section-header {
  position: relative;
  z-index: 2;
  max-width: 1380px;
  margin: 0 auto 55px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(49, 30, 38, 0.13);
}

.project-sections .project-section-header h2 {
  max-width: 1050px;
  margin: 26px 0;
  color: #21171c;
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(3.3rem, 7vw, 7.8rem);
  font-weight: 760;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.project-sections .project-section-summary {
  max-width: 74ch;
  color: #675c60;
  font-size: 0.9rem;
  line-height: 1.8;
}

.project-sections .chip {
  border-color: rgba(49, 30, 38, 0.14);
  color: #675c60;
  background: rgba(255, 250, 240, 0.48);
}

.project-sections .chip.highlight {
  border-color: rgba(122, 31, 54, 0.32);
  color: #7a1f36;
  background: rgba(122, 31, 54, 0.08);
}

.project-sections .project-meta-row {
  border-color: rgba(49, 30, 38, 0.12);
}

.project-sections .meta-block {
  border-color: rgba(49, 30, 38, 0.12);
}

.project-sections .meta-block label { color: #87787a; }
.project-sections .meta-block span { color: #21171c; }

.case-cover {
  position: relative;
  max-width: 1380px;
  min-height: 650px;
  margin: 0 auto clamp(65px, 8vw, 110px);
  padding: clamp(30px, 5vw, 70px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.58fr);
  align-items: center;
  gap: clamp(30px, 5vw, 68px);
  overflow: hidden;
  border: 1px solid rgba(248, 240, 226, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 13% 16%, rgba(122, 31, 54, 0.35), transparent 30rem),
    linear-gradient(rgba(248, 240, 226, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 240, 226, 0.03) 1px, transparent 1px),
    #171316;
  background-size: auto, 38px 38px, 38px 38px, auto;
  box-shadow: 0 40px 100px -50px rgba(35, 17, 24, 0.75);
}

.case-cover-window,
.case-gyne-desktop {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(248, 240, 226, 0.16);
  border-radius: 16px;
  background: #0b090a;
  box-shadow: 0 35px 75px rgba(0, 0, 0, 0.56);
  transform: perspective(1000px) rotateY(-5deg) rotateZ(-1deg);
  transition: transform 0.45s ease;
}

.case-cover:hover .case-cover-window,
.case-cover:hover .case-gyne-desktop {
  transform: perspective(1000px) rotateY(-1deg) rotateZ(0) scale(1.01);
}

.case-cover-bar {
  min-height: 39px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(248, 240, 226, 0.09);
  color: #76696c;
  font-size: 0.52rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.case-cover-bar > span { display: flex; gap: 4px; }

.case-cover-bar i {
  width: 5px;
  height: 5px;
  display: block;
  border-radius: 50%;
  background: rgba(248, 240, 226, 0.18);
}

.case-cover-bar i:first-child { background: #b24863; }
.case-cover-bar b { margin-left: 8px; font-weight: 600; }
.case-cover-bar small { margin-left: auto; }

.case-cover-window > img,
.case-gyne-desktop > img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.case-cover-evidence {
  position: relative;
  z-index: 3;
  color: #f8f0e2;
}

.case-cover-evidence > span {
  color: #b24863;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-cover-evidence > strong {
  margin: 25px 0 38px;
  display: block;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.9rem, 3.6vw, 3.6rem);
  font-weight: 400;
  line-height: 1.07;
}

.case-cover-evidence dl { margin: 0; }

.case-cover-evidence dl > div {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 0.58fr 1.42fr;
  gap: 12px;
  border-top: 1px solid rgba(248, 240, 226, 0.1);
}

.case-cover-evidence dt {
  color: #76696c;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-cover-evidence dd {
  margin: 0;
  color: #c4b7b6;
  font-size: 0.66rem;
  text-align: right;
}

.case-cover-gyne {
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.58fr);
}

.case-gyne-desktop {
  width: 90%;
}

.case-gyne-mobile {
  position: absolute;
  z-index: 4;
  left: 52%;
  bottom: 7%;
  width: 15%;
  aspect-ratio: 0.55;
  overflow: hidden;
  border: 5px solid #0b090a;
  border-radius: 22px;
  background: #0b090a;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
  transform: rotate(5deg);
}

.case-gyne-mobile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

.grow-case-ui {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(248, 240, 226, 0.15);
  border-radius: 18px;
  background: #211a1e;
  box-shadow: 0 35px 75px rgba(0, 0, 0, 0.58);
  transform: perspective(1000px) rotateY(-5deg) rotateZ(-1deg);
  transition: transform 0.45s ease;
}

.case-cover:hover .grow-case-ui {
  transform: perspective(1000px) rotateY(-1deg) rotateZ(0) scale(1.01);
}

.grow-case-top {
  min-height: 45px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(248, 240, 226, 0.09);
  color: #928386;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
}

.grow-case-body {
  min-height: 380px;
  display: grid;
  grid-template-columns: 68px 1fr;
}

.grow-case-body aside {
  padding: 25px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid rgba(248, 240, 226, 0.09);
}

.grow-case-body aside i {
  width: 29px;
  height: 29px;
  border: 1px solid rgba(248, 240, 226, 0.12);
  border-radius: 8px;
}

.grow-case-body aside i:first-child { background: #7a1f36; }

.grow-case-dashboard {
  padding: clamp(30px, 4vw, 55px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.grow-case-dashboard > span {
  color: #928386;
  font-size: 0.52rem;
  letter-spacing: 0.12em;
}

.grow-case-dashboard h3 {
  margin: 7px 0 0;
  color: #f8f0e2;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 400;
}

.grow-case-chart {
  height: 120px;
  margin: 34px 0 27px;
  padding: 0 8px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  border-left: 1px solid rgba(248, 240, 226, 0.09);
  border-bottom: 1px solid rgba(248, 240, 226, 0.09);
}

.grow-case-chart i {
  flex: 1;
  height: 30%;
  background: linear-gradient(#b24863, #7a1f36);
  border-radius: 4px 4px 0 0;
}

.grow-case-chart i:nth-child(2) { height: 48%; }
.grow-case-chart i:nth-child(3) { height: 67%; }
.grow-case-chart i:nth-child(4) { height: 55%; }
.grow-case-chart i:nth-child(5) { height: 85%; }
.grow-case-chart i:nth-child(6) { height: 96%; }

.grow-case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.grow-case-stats b {
  color: #f8f0e2;
  font-size: 1.25rem;
}

.grow-case-stats small {
  display: block;
  color: #76696c;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-sections .project-grid {
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
  color: #21171c;
}

.project-sections .project-text h3 { color: #21171c; }
.project-sections .project-text p,
.project-sections .project-text li { color: #675c60; }
.project-sections .project-text code {
  color: #7a1f36;
  background: rgba(122, 31, 54, 0.07);
}

.project-sections .meta-card {
  background: #fffaf0;
  border-color: rgba(49, 30, 38, 0.11);
  color: #21171c;
  box-shadow: 0 22px 55px -42px rgba(49, 30, 38, 0.55);
}

.project-sections .meta-card h4,
.project-sections .meta-list li { color: #21171c; }
.project-sections .meta-list li { border-color: rgba(49, 30, 38, 0.1); }
.project-sections .pill.hard {
  color: #7a1f36;
  border-color: rgba(122, 31, 54, 0.2);
  background: rgba(122, 31, 54, 0.06);
}

.project-sections .project-details {
  border-color: rgba(49, 30, 38, 0.12);
  background: rgba(255, 250, 240, 0.62);
}

.project-sections .project-details summary {
  color: #21171c;
}

.project-sections .project-details[open] summary {
  border-color: rgba(49, 30, 38, 0.12);
}

.project-sections .project-gallery {
  max-width: 1380px;
  margin: 75px auto 0;
  padding: 0 0 18px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.project-sections .gallery-item {
  min-width: min(720px, 74vw);
  height: auto;
  aspect-ratio: 16 / 9;
  scroll-snap-align: start;
  border: 1px solid rgba(49, 30, 38, 0.14);
  border-radius: 16px;
  background: #21171c;
  box-shadow: 0 25px 60px -42px rgba(49, 30, 38, 0.65);
}

.project-sections .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.project-sections .gallery-item-mobile {
  min-width: 300px;
  aspect-ratio: 0.58;
}

@media (max-width: 1120px) {
  .identity-hero,
  .case-hero {
    grid-template-columns: 1fr;
  }

  .identity-copy,
  .case-hero-copy { max-width: 820px; }

  .identity-copy h1,
  .case-hero-copy h1 {
    font-size: clamp(4.9rem, 12vw, 8.8rem);
  }

  .identity-canvas,
  .case-hero-stage {
    width: min(880px, 100%);
    margin: 0 auto;
    aspect-ratio: 1.28;
  }

  .principle-grid,
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-section {
    grid-template-columns: 1fr 0.72fr;
  }

  .journey-line {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .practice-notes {
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid var(--border-light);
  }

  .practice-note {
    display: block;
    padding: 28px;
    border-right: 1px solid var(--border-light);
  }

  .practice-note > span { display: block; margin-bottom: 45px; }
  .practice-note p { margin-top: 14px; }

  .case-manifest {
    grid-template-columns: repeat(3, 1fr);
  }

  .case-manifest > p {
    grid-column: 1 / -1;
    min-height: 120px;
    border-left: 1px solid var(--border-light);
  }

  .case-cover {
    grid-template-columns: 1fr;
  }

  .case-cover-evidence {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 20px 35px;
  }

  .case-cover-evidence > strong { margin: 0; }
  .case-cover-evidence dl { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .identity-rail span:last-child,
  .case-hero-rail span:last-child { display: none; }

  .editorial-heading,
  .internship-brief {
    grid-template-columns: 1fr;
  }

  .journey-section {
    grid-template-columns: 1fr;
  }

  .coordinate-card { max-width: 600px; }

  .practice-notes {
    grid-template-columns: 1fr;
  }

  .practice-note {
    display: grid;
    border-left: 0;
  }

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

  .case-switcher { top: 64px; }

  .case-cover-evidence {
    display: block;
  }

  .case-cover-evidence > strong { margin: 22px 0 30px; }
}

@media (max-width: 620px) {
  .identity-hero,
  .case-hero {
    min-height: 0;
    padding: 92px 5% 82px;
  }

  .identity-rail,
  .case-hero-rail {
    left: 5%;
    right: 5%;
    top: 20px;
  }

  .identity-copy h1,
  .case-hero-copy h1 {
    font-size: clamp(3.7rem, 18vw, 5.5rem);
  }

  .identity-copy h1 em,
  .case-hero-copy h1 em {
    margin-left: 0;
    line-height: 1.05;
  }

  .identity-facts { grid-template-columns: 1fr 1fr; }
  .identity-facts > div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(248, 240, 226, 0.09);
  }

  .identity-canvas,
  .case-hero-stage {
    width: 112%;
    margin-left: -6%;
    aspect-ratio: 0.92;
  }

  .identity-art-main { width: 68%; }
  .identity-art-side { width: 35%; }
  .identity-monogram { width: 128px; height: 128px; }
  .identity-monogram strong { font-size: 2.4rem; }

  .work-principles,
  .dual-practice,
  .journey-section,
  .capability-section,
  .internship-brief {
    padding: 82px 5%;
  }

  .editorial-heading h2,
  .journey-heading h2,
  .capability-heading h2,
  .brief-copy h2 {
    font-size: clamp(3.5rem, 17vw, 5.8rem);
  }

  .principle-grid,
  .capability-grid,
  .journey-line {
    grid-template-columns: 1fr;
  }

  .principle-card { min-height: 250px; }
  .journey-line li { min-height: 190px; }
  .journey-line li > div { margin-top: 45px; }

  .practice-art,
  .practice-art .artwork-showcase-inner {
    min-height: 530px;
  }

  .capability-column { min-height: 330px; }
  .capability-column h3 { margin-top: 55px; }

  .brief-card dl > div { grid-template-columns: 1fr; }
  .brief-card dd { text-align: left; }

  .case-stage-main { width: 89%; left: -2%; }
  .case-stage-side { width: 35%; }
  .case-stage-data { width: 138px; padding: 14px; right: 0; }
  .case-stage-data strong { font-size: 0.82rem; }

  .case-manifest {
    padding: 0 5%;
    grid-template-columns: 1fr 1fr;
  }

  .case-manifest > div {
    min-height: 140px;
    padding: 24px 18px;
  }

  .case-manifest > div:nth-child(3) {
    grid-column: 1 / -1;
    border-left: 1px solid var(--border-light);
  }

  .case-manifest > p { padding: 25px 18px; }

  .case-switcher {
    padding: 0;
  }

  .case-switcher .project-index-label { display: none; }
  .case-switcher .project-index-inner { gap: 0; }
  .case-switcher .project-index-links a {
    min-width: 145px;
    padding: 17px 15px !important;
  }

  .project-sections .project-section {
    padding: 76px 5% 100px;
  }

  .project-sections .project-section-header h2 {
    font-size: clamp(3rem, 14.5vw, 5rem);
  }

  .case-cover {
    min-height: 0;
    padding: 25px;
    border-radius: 20px;
  }

  .case-gyne-desktop { width: 94%; }
  .case-gyne-mobile { left: auto; right: 4%; width: 22%; bottom: 33%; }

  .grow-case-body { min-height: 280px; grid-template-columns: 46px 1fr; }
  .grow-case-body aside { padding: 20px 10px; }
  .grow-case-body aside i { width: 24px; height: 24px; }
  .grow-case-dashboard { padding: 25px 20px; }
  .grow-case-chart { height: 82px; margin: 24px 0; }

  .project-sections .gallery-item {
    min-width: 88vw;
  }
}
/* Feedback refinement: concise profile + visual project selection */

/* ---------- About: identity without repetition ---------- */
.about-compact-hero {
  min-height: 66vh;
  padding: 150px 7% 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 28%);
  align-items: end;
  gap: clamp(40px, 8vw, 130px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49px, rgba(122, 31, 54, 0.06) 50px),
    radial-gradient(circle at 86% 30%, var(--burgundy-soft), transparent 26rem),
    var(--bg);
  background-size: 50px 50px, auto, auto;
}

.about-compact-hero::after {
  content: "";
  position: absolute;
  width: min(42vw, 560px);
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 50%;
  right: -14vw;
  top: 6%;
  pointer-events: none;
}

.about-hero-index {
  position: absolute;
  left: 2.2%;
  top: 50%;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: .68rem;
  letter-spacing: .24em;
}

.about-hero-copy {
  max-width: 930px;
  position: relative;
  z-index: 1;
}

.about-hero-copy h1 {
  margin: 24px 0 26px;
  max-width: 900px;
  color: var(--text);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(3.6rem, 7.7vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .9;
}

.about-hero-copy h1 em {
  color: var(--burgundy-bright);
  font-weight: 400;
}

.about-hero-copy > p {
  max-width: 690px;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.75;
}

.about-hero-mark {
  min-height: 280px;
  display: grid;
  place-content: center;
  justify-items: center;
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
  border-radius: 50% 50% 12px 50%;
  background: linear-gradient(145deg, var(--surface), transparent);
}

.about-hero-mark > span {
  color: var(--text);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(4rem, 8vw, 7rem);
  letter-spacing: -.09em;
}

.about-hero-mark > div {
  display: flex;
  gap: 10px;
  color: var(--text-dim);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.about-hero-mark b:not(:last-child)::after {
  content: " /";
  color: var(--burgundy-bright);
}

.profile-layout {
  padding: clamp(70px, 9vw, 140px) 7%;
  display: grid;
  grid-template-columns: minmax(280px, 370px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(55px, 9vw, 145px);
  background: var(--surface-light);
  color: var(--text-on-light);
}

.profile-sticky {
  position: sticky;
  top: 105px;
}

.profile-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #1c1719;
  box-shadow: 18px 18px 0 rgba(122, 31, 54, .12);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: saturate(.78) contrast(1.04);
}

.profile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  pointer-events: none;
}

.profile-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 11px;
  background: rgba(23,19,22,.86);
  color: #f8f0e2;
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.profile-identity {
  padding: 35px 0 0;
}

.profile-identity h2 {
  margin: 0 0 13px;
  color: var(--text-on-light);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(2.4rem, 4.4vw, 4.1rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .94;
}

.profile-identity > p {
  margin: 0 0 24px;
  color: var(--burgundy);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.7;
  text-transform: uppercase;
}

.profile-identity dl {
  margin: 0;
  border-top: 1px solid var(--border-light);
}

.profile-identity dl div {
  padding: 11px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: .77rem;
}

.profile-identity dt { color: var(--text-on-light-muted); }
.profile-identity dd { margin: 0; color: var(--text-on-light); font-weight: 700; text-align: right; }

.profile-content {
  max-width: 900px;
}

.profile-section {
  padding: 0 0 clamp(60px, 8vw, 105px);
  margin: 0 0 clamp(60px, 8vw, 105px);
  border-bottom: 1px solid var(--border-light);
}

.profile-section:last-child {
  margin-bottom: 0;
}

.profile-section-number {
  display: block;
  margin-bottom: 24px;
  color: var(--burgundy);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.profile-section h2 {
  max-width: 780px;
  margin: 0 0 28px;
  color: var(--text-on-light);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(2.4rem, 4.4vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.profile-section > p {
  max-width: 780px;
  color: var(--text-on-light-muted);
  font-size: .98rem;
  line-height: 1.8;
}

.profile-section .profile-lead {
  color: var(--text-on-light);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.72;
}

.profile-proof {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-light);
}

.profile-proof div {
  min-height: 115px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.profile-proof div + div { border-left: 1px solid var(--border-light); }
.profile-proof strong { color: var(--burgundy); font: 400 2.4rem/1 'Libre Baskerville', Georgia, serif; }
.profile-proof span { color: var(--text-on-light-muted); font-size: .72rem; line-height: 1.4; }

.education-compact {
  margin: 35px 0 24px;
  padding: 25px 0;
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 30px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.education-year {
  color: var(--burgundy);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.education-compact h3 {
  margin: 0 0 7px;
  color: var(--text-on-light);
  font-size: 1rem;
}

.education-compact p,
.education-compact span {
  margin: 0;
  color: var(--text-on-light-muted);
  font-size: .85rem;
  line-height: 1.65;
}

.skill-compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-light);
}

.skill-compact-grid article {
  min-height: 280px;
  padding: 27px 24px;
}

.skill-compact-grid article + article { border-left: 1px solid var(--border-light); }
.skill-compact-grid article > span { color: var(--burgundy); font-size: .67rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.skill-compact-grid h3 { margin: 55px 0 17px; color: var(--text-on-light); font: 400 1.45rem/1.2 'Libre Baskerville', Georgia, serif; }
.skill-compact-grid p { margin: 0; color: var(--text-on-light-muted); font-size: .78rem; line-height: 1.9; }

.hobby-brief-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border-light);
}

.hobby-brief-grid article {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.hobby-brief-grid article > span {
  color: var(--burgundy);
  font-size: .68rem;
  font-weight: 700;
}

.hobby-brief-grid h3 {
  margin: 0 0 4px;
  color: var(--text-on-light);
  font-size: .98rem;
}

.hobby-brief-grid p {
  margin: 0;
  color: var(--text-on-light-muted);
  font-size: .82rem;
}

.language-line {
  margin: 32px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.language-line span {
  padding: 8px 11px;
  border: 1px solid var(--border-light);
  color: var(--text-on-light-muted);
  font-size: .7rem;
}

.profile-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Projects: visual choice before technical depth ---------- */
.projects-gallery-hero {
  min-height: 65vh;
  padding: 160px 7% 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: end;
  gap: 60px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 30%, var(--burgundy-soft), transparent 24rem),
    linear-gradient(90deg, transparent 49px, rgba(122, 31, 54, 0.055) 50px),
    var(--bg);
  background-size: auto, 50px 50px, auto;
}

.projects-gallery-hero::after {
  content: "";
  position: absolute;
  right: -3vw;
  bottom: -9vw;
  width: 32vw;
  height: 32vw;
  border: 1px solid var(--border);
  transform: rotate(19deg);
  pointer-events: none;
}

.projects-hero-copy { position: relative; z-index: 1; }

.projects-hero-copy h1 {
  margin: 24px 0 28px;
  color: var(--text);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(3.7rem, 7.4vw, 8.2rem);
  font-weight: 400;
  letter-spacing: -.066em;
  line-height: .9;
}

.projects-hero-copy h1 em {
  color: var(--burgundy-bright);
  font-weight: 400;
}

.projects-hero-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(.98rem, 1.35vw, 1.16rem);
  line-height: 1.75;
}

.projects-hero-aside {
  padding: 28px 0 7px;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
}

.projects-hero-aside strong {
  display: block;
  margin-bottom: 13px;
  color: var(--text);
  font: 400 clamp(4rem, 7vw, 6rem)/.8 'Libre Baskerville', Georgia, serif;
}

.projects-hero-aside span {
  color: var(--text-dim);
  font-size: .72rem;
  letter-spacing: .1em;
  line-height: 1.7;
  text-transform: uppercase;
}

.project-gallery-shell {
  padding: clamp(75px, 9vw, 135px) 7%;
  background: var(--surface-light);
  color: var(--text-on-light);
}

.project-gallery-heading {
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 420px);
  align-items: end;
  gap: 50px;
}

.project-gallery-heading h2 {
  margin: 15px 0 0;
  color: var(--text-on-light);
  font: 400 clamp(2.8rem, 5vw, 5.4rem)/1 'Libre Baskerville', Georgia, serif;
  letter-spacing: -.055em;
}

.project-gallery-heading > p {
  margin: 0 0 5px;
  color: var(--text-on-light-muted);
  font-size: .86rem;
  line-height: 1.7;
}

.project-card-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}

.project-select-card {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #171316;
  color: #f8f0e2;
  text-decoration: none;
  box-shadow: 0 16px 35px rgba(33, 23, 28, .09);
}

.project-select-card-wide { grid-column: span 2; }

.project-card-media {
  position: absolute;
  inset: 0;
  transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .5s ease;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.05) brightness(.82);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(12,9,11,.02) 18%, rgba(12,9,11,.22) 45%, rgba(12,9,11,.96) 100%);
}

.project-card-overlay > span {
  margin-bottom: auto;
  align-self: flex-start;
  padding: 7px 9px;
  border: 1px solid rgba(248,240,226,.24);
  background: rgba(15,11,13,.5);
  color: rgba(248,240,226,.78);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.project-card-overlay h3 {
  margin: 65px 0 9px;
  color: #fff8ea;
  font: 400 clamp(1.8rem, 3vw, 3.3rem)/1 'Libre Baskerville', Georgia, serif;
  letter-spacing: -.04em;
}

.project-card-overlay p {
  max-width: 540px;
  margin: 0;
  color: rgba(248,240,226,.74);
  font-size: .79rem;
  line-height: 1.55;
}

.project-card-overlay b {
  margin-top: 18px;
  color: #d06a84;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-select-card:hover .project-card-media,
.project-select-card:focus-visible .project-card-media {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.project-select-card:hover .project-card-overlay b,
.project-select-card:focus-visible .project-card-overlay b {
  color: #fff8ea;
}

.project-select-card[aria-current="true"] {
  box-shadow: 0 0 0 3px var(--burgundy), 0 18px 40px rgba(33,23,28,.18);
}

.project-card-abstract {
  overflow: hidden;
  background: linear-gradient(145deg, #2a2025, #100d0f);
}

.project-card-abstract::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(248,240,226,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(248,240,226,.055) 1px, transparent 1px);
  background-size: 34px 34px;
}

.project-select-card-grow .project-card-abstract i {
  position: absolute;
  bottom: 38%;
  width: 12%;
  background: #9db17c;
  transform-origin: bottom;
}

.project-select-card-grow .project-card-abstract i:nth-child(1) { height: 18%; left: 18%; }
.project-select-card-grow .project-card-abstract i:nth-child(2) { height: 31%; left: 34%; }
.project-select-card-grow .project-card-abstract i:nth-child(3) { height: 46%; left: 50%; }
.project-select-card-grow .project-card-abstract strong { position: absolute; right: 12%; top: 16%; color: #d9e5bd; font: 700 3rem/1 sans-serif; }
.project-select-card-grow .project-card-abstract small { position: absolute; right: 12%; top: 29%; color: #9db17c; letter-spacing: .14em; }

.abstract-house > span {
  position: absolute;
  top: 20%;
  width: 23%;
  height: 31%;
  display: grid;
  place-content: center;
  border: 1px solid rgba(248,240,226,.2);
  color: rgba(248,240,226,.5);
  font-size: .7rem;
}
.abstract-house > span:nth-child(1) { left: 10%; }
.abstract-house > span:nth-child(2) { left: 38%; transform: translateY(20%); }
.abstract-house > span:nth-child(3) { left: 66%; }
.abstract-house strong { position: absolute; left: 10%; top: 58%; color: #c86780; letter-spacing: .13em; }

.abstract-farm { background: linear-gradient(145deg, #17271f, #0d1511); }
.abstract-farm > span { position: absolute; width: 42%; aspect-ratio: 1; border: 1px solid rgba(174,205,150,.25); border-radius: 50%; left: 8%; top: 8%; }
.abstract-farm i { position: absolute; left: 30%; top: 29%; height: 1px; background: #a8c28d; transform-origin: left; }
.abstract-farm i:nth-of-type(1) { width: 43%; transform: rotate(-13deg); }
.abstract-farm i:nth-of-type(2) { width: 35%; transform: rotate(12deg); }
.abstract-farm i:nth-of-type(3) { width: 48%; transform: rotate(34deg); }
.abstract-farm strong { position: absolute; right: 8%; top: 14%; color: #e1ecd3; font: 700 clamp(2.2rem,5vw,4.7rem)/.85 sans-serif; text-align: right; }
.abstract-farm strong span { display: block; color: #8eae73; }

.abstract-arcane { background: radial-gradient(circle at 50% 30%, #694454, #1a1217 55%); }
.abstract-arcane strong { position: absolute; left: 50%; top: 12%; transform: translateX(-50%); color: rgba(248,240,226,.9); font: 400 9rem/1 'Libre Baskerville', Georgia, serif; }
.abstract-arcane span { position: absolute; top: 58%; width: 100%; color: rgba(248,240,226,.5); font-size: .64rem; letter-spacing: .22em; text-align: center; }

.abstract-nitro i { position: absolute; inset: -20% auto -20% 28%; width: 1px; background: rgba(248,240,226,.25); transform: rotate(22deg); }
.abstract-nitro i:nth-child(2) { left: 70%; }
.abstract-nitro strong { position: absolute; right: 10%; top: 12%; color: #efc050; font: italic 800 3.1rem/.82 sans-serif; text-align: right; transform: skewY(-7deg); }

.abstract-api { padding: 15% 10%; display: flex; align-items: flex-start; gap: 7px; }
.abstract-api > span { position: relative; z-index: 1; padding: 7px; border: 1px solid rgba(248,240,226,.18); color: rgba(248,240,226,.58); font: 600 .58rem/1 monospace; }
.abstract-api > span:first-child { color: #c86780; }
.abstract-api strong { position: absolute; right: 8%; top: 27%; color: rgba(248,240,226,.9); font: 700 3.2rem/1 monospace; }

.abstract-escape { background: radial-gradient(circle at 50% 25%, #3c2730, #080607 58%); }
.abstract-escape i { position: absolute; left: 50%; top: 12%; width: 1px; height: 48%; background: linear-gradient(#f0d4af, transparent); box-shadow: 0 0 32px #dca66b; }
.abstract-escape strong { position: absolute; left: 10%; top: 22%; color: rgba(248,240,226,.9); font: 400 2.7rem/.9 'Libre Baskerville', Georgia, serif; }
.abstract-escape em { color: #a7455e; font-size: .62em; }

.project-sections {
  background: var(--bg);
}

.project-sections:not(.has-active-project) {
  min-height: 0;
}

.project-section[hidden] {
  display: none !important;
}

.project-back {
  margin: 0 0 44px;
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.project-back:hover {
  color: var(--text);
  border-color: var(--burgundy-bright);
  transform: translateX(-3px);
}

.project-back span {
  margin-right: 7px;
  color: var(--burgundy-bright);
}

@media (max-width: 980px) {
  .about-compact-hero,
  .projects-gallery-hero {
    grid-template-columns: 1fr;
  }

  .about-hero-mark {
    min-height: 170px;
    max-width: 340px;
    justify-self: end;
  }

  .projects-hero-aside {
    max-width: 230px;
  }

  .profile-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 50px;
  }

  .skill-compact-grid {
    grid-template-columns: 1fr;
  }

  .skill-compact-grid article {
    min-height: 0;
  }

  .skill-compact-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--border-light);
  }

  .skill-compact-grid h3 { margin-top: 28px; }

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

  .project-select-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .about-compact-hero,
  .projects-gallery-hero {
    min-height: 0;
    padding: 125px 5% 70px;
  }

  .about-hero-index { display: none; }
  .about-hero-copy h1,
  .projects-hero-copy h1 { font-size: clamp(3.35rem, 16vw, 5.3rem); }
  .about-hero-mark { width: 230px; min-height: 150px; }

  .profile-layout {
    padding: 70px 5%;
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .profile-sticky {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: minmax(130px, 42%) 1fr;
    align-items: end;
    gap: 25px;
  }

  .profile-photo { box-shadow: 10px 10px 0 rgba(122,31,54,.12); }
  .profile-photo figcaption { display: none; }
  .profile-identity { padding: 0; }
  .profile-identity dl { display: none; }
  .profile-identity h2 { font-size: clamp(2.2rem, 10vw, 3.3rem); }

  .profile-section {
    padding-bottom: 60px;
    margin-bottom: 60px;
  }

  .profile-section h2 { font-size: clamp(2.35rem, 11vw, 3.7rem); }

  .profile-proof { grid-template-columns: 1fr; }
  .profile-proof div { min-height: 90px; }
  .profile-proof div + div {
    border-left: 0;
    border-top: 1px solid var(--border-light);
  }

  .education-compact {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-gallery-shell { padding: 72px 5%; }
  .project-gallery-heading { grid-template-columns: 1fr; gap: 20px; }

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

  .project-select-card,
  .project-select-card-wide {
    grid-column: auto;
    min-height: 390px;
  }

  .project-card-overlay { padding: 22px; }
  .project-card-overlay h3 { font-size: 2.25rem; }
}
/* Compact artwork library restored under Charcoal drawing */
.profile-art-library {
  padding: 30px 26px 24px;
  border-bottom: 1px solid var(--border-light);
  background:
    radial-gradient(circle at 50% 20%, rgba(122, 31, 54, .3), transparent 45%),
    #171316;
  color: #f8f0e2;
}

.profile-art-library-head {
  margin-bottom: 17px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(248, 240, 226, .65);
  font-size: .64rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.profile-art-library-head strong {
  color: #c7657e;
  font-weight: 700;
}

.profile-art-carousel {
  max-width: 760px;
  margin-bottom: 15px;
}

.profile-art-library .artwork-focal-gallery {
  gap: clamp(10px, 2vw, 22px);
}

.profile-art-library .artwork-focal-card {
  max-width: 190px;
}

.profile-art-library .artwork-focal-card.artwork-focal-center {
  max-width: 260px;
}

.profile-art-library .artwork-focal-frame,
.profile-art-library .artwork-focal-center .artwork-focal-frame {
  border-radius: 3px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .52), 0 0 0 1px rgba(248, 240, 226, .1);
}

.profile-art-library .artwork-focal-frame::before {
  background: linear-gradient(145deg, rgba(94, 23, 41, .24), transparent 55%);
  mix-blend-mode: color;
}

.profile-art-library .artwork-carousel-btn {
  border-color: rgba(248, 240, 226, .25);
  background: rgba(248, 240, 226, .07);
  color: #fff8ea;
}

.profile-art-library .artwork-carousel-btn:hover {
  border-color: #c7657e;
  background: rgba(122, 31, 54, .36);
}

.profile-art-library .artwork-carousel-dots button {
  background: rgba(248, 240, 226, .25);
}

.profile-art-library .artwork-carousel-dots button[aria-selected="true"] {
  background: #c7657e;
}

@media (max-width: 720px) {
  .profile-art-library {
    padding: 24px 14px 20px;
  }

  .profile-art-library-head {
    display: grid;
    gap: 6px;
  }

  .profile-art-library .artwork-focal-card.artwork-focal-side {
    display: none;
  }

  .profile-art-library .artwork-focal-card.artwork-focal-center {
    max-width: 250px;
  }

  .profile-art-library .artwork-carousel-btn {
    width: 38px;
    height: 38px;
  }
}
