/* Home: an atlas surface you can handle, then the work it leads to.
   Self-contained; loads none of the legacy site styles. */

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dm-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Dark field is the default: the surface reads like a cleared specimen
   under darkfield illumination. Light mode inverts to stained-section paper. */
:root {
  color-scheme: dark;
  --ground: #0e211c;
  --ground-raised: #163029;
  --ink: #e4efe8;
  --ink-muted: #9db6ac;
  --rule: rgba(228, 239, 232, 0.16);
  --plate: #f2f5f1;
  --accent: rgb(177, 134, 226);
  --accent-ink: #cdb3ef;
  --focus: #f3d68a;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, "Cascadia Mono", monospace;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --ground: #eef3ef;
    --ground-raised: #dfe9e3;
    --ink: #10372f;
    --ink-muted: #4a665c;
    --rule: rgba(16, 55, 47, 0.18);
    --plate: #ffffff;
    --accent-ink: #6a3fa3;
    --focus: #8a4b00;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --ground: #eef3ef;
  --ground-raised: #dfe9e3;
  --ink: #10372f;
  --ink-muted: #4a665c;
  --rule: rgba(16, 55, 47, 0.18);
  --plate: #ffffff;
  --accent-ink: #6a3fa3;
  --focus: #8a4b00;
}

/* Page accent follows the project the scene is turned towards (same hues as the engine). */
:root[data-accent="morphbrain"] { --accent: rgb(90, 193, 165); --accent-ink: #8fdcc6; }
:root[data-accent="morphliner"] { --accent: rgb(223, 171, 104); --accent-ink: #ecc48f; }
:root[data-accent="fly"] { --accent: rgb(164, 191, 230); --accent-ink: #bcd0ef; }
:root[data-accent="g27"] { --accent: rgb(210, 137, 182); --accent-ink: #e5aed0; }
:root[data-theme="light"][data-accent="morphbrain"] { --accent-ink: #1f7a62; }
:root[data-theme="light"][data-accent="morphliner"] { --accent-ink: #8a5410; }
:root[data-theme="light"][data-accent="fly"] { --accent-ink: #2f5d99; }
:root[data-theme="light"][data-accent="g27"] { --accent-ink: #933a6f; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"])[data-accent="morphbrain"] { --accent-ink: #1f7a62; }
  :root:not([data-theme="dark"])[data-accent="morphliner"] { --accent-ink: #8a5410; }
  :root:not([data-theme="dark"])[data-accent="fly"] { --accent-ink: #2f5d99; }
  :root:not([data-theme="dark"])[data-accent="g27"] { --accent-ink: #933a6f; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 100%;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}
body { margin: 0; min-width: 0; }
img, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-ink); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
main:focus { outline: none; }
h1, h2, h3, p { margin: 0; }

.xp-skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  padding: 0.75rem 1rem; background: var(--ink); color: var(--ground);
}
.xp-skip:focus { top: 1rem; }

/* Top bar */
.xp-bar {
  position: absolute; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.75rem var(--gutter);
  pointer-events: none;
}
.xp-bar > * { pointer-events: auto; }
.xp-bar__name {
  font-weight: 600; text-decoration: none; letter-spacing: -0.01em;
  min-height: 44px; display: inline-flex; align-items: center;
}
.xp-bar__nav { display: flex; gap: 1.25rem; margin-left: auto; }
.xp-bar__nav a {
  min-height: 44px; display: inline-flex; align-items: center;
  text-decoration: none; color: var(--ink-muted);
}
.xp-bar__nav a:hover { color: var(--ink); }
.xp-theme {
  width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%;
  background: transparent; cursor: pointer; font-size: 1.1rem;
}

/* The atlas opening */
.atlas {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 36rem; max-height: 70rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 50% 48%, var(--ground-raised), transparent 72%),
    var(--ground);
}
.atlas__stage { position: absolute; inset: 0; }
.atlas__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  cursor: grab;
  visibility: hidden; opacity: 0;
  transition: opacity 700ms var(--ease);
}
.js .atlas__canvas { visibility: visible; }
.atlas__canvas[data-dragging="true"] { cursor: grabbing; }
:root[data-scene="ready"] .atlas__canvas { opacity: 1; }
:root[data-scene="error"] .atlas__canvas { visibility: hidden; }
.atlas__canvas:focus-visible { outline-offset: -6px; }

.atlas__fallback {
  position: absolute; left: 50%; top: 50%;
  width: min(78vh, 70vw, 56rem); height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.9; transition: opacity 500ms var(--ease);
  pointer-events: none;
}
:root[data-scene="ready"] .atlas__fallback { opacity: 0; visibility: hidden; }

/* Cursor probe: follows the pointer over the surface; text only, no fake values. */
.atlas__probe {
  position: absolute; left: 0; top: 0; z-index: 3;
  padding: 0.2rem 0.5rem;
  font: 0.75rem/1.3 var(--mono); letter-spacing: 0.01em;
  color: var(--ink); background: color-mix(in srgb, var(--ground) 72%, transparent);
  border-left: 2px solid var(--accent);
  pointer-events: none; white-space: nowrap;
  opacity: 0; transform: translate3d(-999px, -999px, 0);
  transition: opacity 160ms linear;
}
.atlas__probe.is-on { opacity: 1; }

/* Overlays let the pointer through to the canvas; their links and buttons do not. */
.atlas__copy, .atlas__index, .atlas__foot { position: absolute; z-index: 4; pointer-events: none; }
.atlas__copy a, .atlas__index a, .atlas__foot button, .atlas__foot a { pointer-events: auto; }

.atlas__copy {
  left: var(--gutter); bottom: 6.5rem;
  max-width: min(34rem, 42vw);
  text-shadow: 0 0 1.25rem var(--ground), 0 0 0.4rem var(--ground);
}
.atlas__index { text-shadow: 0 0 1rem var(--ground); }
.atlas h1 {
  font-size: clamp(3.25rem, 8.2vw, 8.25rem);
  font-weight: 600; line-height: 0.88; letter-spacing: -0.045em;
  margin-left: -0.05em;
}
.atlas__lede {
  margin-top: 1.1rem; max-width: 27rem;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.4;
  color: var(--ink-muted);
}

/* Project index: the words are the controls. */
.atlas__index {
  right: var(--gutter); top: 50%;
  transform: translateY(-50%);
  width: min(22rem, 30vw);
}
.atlas__index ul { list-style: none; margin: 0; padding: 0; }
.atlas__index li + li { border-top: 1px solid var(--rule); }
.atlas__index a {
  --mx: 0px; --my: 0px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  min-height: 3.6rem; padding: 0.6rem 0;
  text-decoration: none;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 260ms var(--ease), color 160ms linear;
}
.atlas__name {
  font-size: clamp(1.35rem, 2.3vw, 2.15rem); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.1;
}
.atlas__verb {
  font-size: 0.95rem; color: var(--ink-muted);
  border-bottom: 1px solid transparent;
  transition: color 160ms linear, border-color 160ms linear;
}
.atlas__index a.is-current .atlas__name,
.atlas__index a:hover .atlas__name,
.atlas__index a:focus-visible .atlas__name { color: var(--accent-ink); }
.atlas__index a.is-current .atlas__verb,
.atlas__index a:hover .atlas__verb { color: var(--ink); border-color: var(--accent); }

/* Preview that tilts with the pointer beside the index (pointer devices only). */
.atlas__peek {
  --tilt-x: 0deg; --tilt-y: 0deg; --peek-y: 0px;
  position: absolute; right: calc(100% + 1.75rem); top: 0;
  width: min(19rem, 22vw); aspect-ratio: 4 / 3;
  display: none;
  perspective: 900px;
  pointer-events: none;
  transform: translateY(var(--peek-y));
  transition: transform 320ms var(--ease);
}
.atlas__peek img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 3px;
  background: var(--plate);
  box-shadow: 0 1.5rem 3rem -1.25rem rgba(0, 0, 0, 0.55), 0 0 0 1px var(--rule);
  opacity: 0; transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(0.96);
  transition: opacity 200ms linear, transform 260ms var(--ease);
}
.atlas__peek img[data-peek-for="morphbrain"] { object-fit: contain; padding: 0.4rem; }
.atlas__peek img[data-peek-for="g27"] { object-fit: cover; padding: 0; background: #0d1e19; }
.atlas__peek img.is-shown { opacity: 1; transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1); }
@media (hover: hover) and (pointer: fine) {
  .js .atlas__peek { display: block; }
}

.atlas__foot {
  left: var(--gutter); right: var(--gutter); bottom: 1.25rem;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center; gap: 0.5rem 1.5rem;
  font-size: 0.875rem; color: var(--ink-muted);
}
.atlas__caption { display: flex; align-items: center; gap: 0.75rem; color: var(--ink); }
.atlas__source-btn, .atlas__reset {
  min-height: 44px; padding: 0 0.9rem;
  border: 1px solid var(--rule); border-radius: 22px;
  background: color-mix(in srgb, var(--ground) 60%, transparent);
  cursor: pointer; pointer-events: auto;
}
.atlas__source-btn:hover, .atlas__reset:hover { border-color: var(--accent); }
.atlas__help { max-width: 34rem; }
.atlas__readout { font-family: var(--mono); font-size: 0.75rem; white-space: nowrap; }

.atlas__source {
  margin: 0; inset: auto auto 5rem var(--gutter);
  max-width: 26rem; padding: 1.1rem 1.25rem;
  border: 1px solid var(--rule); border-radius: 4px;
  background: var(--ground-raised); color: var(--ink);
  font-size: 0.95rem; line-height: 1.45;
}
.atlas__source p + p { margin-top: 0.6rem; }
.atlas__source button {
  margin-top: 0.9rem; min-height: 44px; padding: 0 1rem;
  border: 1px solid var(--rule); border-radius: 22px; background: transparent; cursor: pointer;
}
.atlas__source::backdrop { background: rgba(0, 0, 0, 0.2); }
/* Without popover support the note sits in the flow under the caption. */
@supports not selector(:popover-open) {
  .atlas__source { display: none; }
}

/* Work */
.work {
  padding: clamp(4rem, 9vw, 8rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--rule);
}
.work__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  align-items: end; gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.work__head h2, .about h2 {
  font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 600;
  letter-spacing: -0.04em; line-height: 0.95;
}
.work__head p { color: var(--ink-muted); }

.entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem);
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: start;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--rule);
}
.entry:nth-of-type(even) { grid-template-columns: minmax(16rem, 24rem) minmax(0, 1fr); }
.entry:nth-of-type(even) .entry__media { order: 2; }
.entry__media {
  position: relative; overflow: hidden; border-radius: 4px;
  background: #000; box-shadow: 0 0 0 1px var(--rule);
}
.entry__media video { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #000; }
.entry__media--plate { background: var(--plate); }
.entry__media--plate a { display: block; padding: clamp(0.75rem, 2vw, 1.5rem); }
.entry__media--plate img { width: 100%; max-height: 72vh; object-fit: contain; }
.entry__text { position: sticky; top: 5rem; }
.entry h3 {
  font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.02;
  transition: color 160ms linear;
}
.entry:hover h3, .entry:focus-within h3 { color: var(--accent-ink); }
.entry__kind { margin-top: 0.5rem; color: var(--ink-muted); font-size: 0.95rem; }
.entry__text > p:not(.entry__kind):not(.entry__actions) { margin-top: 1rem; max-width: 34em; }
.entry__limit {
  padding-left: 0.85rem; border-left: 2px solid var(--accent);
  color: var(--ink-muted); font-size: 0.95rem;
}
.entry__actions { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1.4rem; }
.entry__actions a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
.entry__primary {
  padding: 0 1.25rem; border-radius: 22px; text-decoration: none;
  background: var(--ink); color: var(--ground);
}
.entry__primary:hover { background: var(--accent); color: #0e211c; }

/* About */
.about {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 36rem);
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  border-top: 1px solid var(--rule);
}
.about__body { font-size: 1.125rem; line-height: 1.55; }
.about__body p + p, .about__body .contact { margin-top: 1.1rem; }
.contact { padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.contact__links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.contact__links a { min-height: 44px; display: inline-flex; align-items: center; }
.contact__mail { font-weight: 600; }

.xp-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding: 1.5rem var(--gutter) 2rem;
  border-top: 1px solid var(--rule); color: var(--ink-muted); font-size: 0.9rem;
}
.xp-foot nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.xp-foot a { min-height: 44px; display: inline-flex; align-items: center; }

/* Medium: index tucks under the name; surface keeps the field. */
@media (max-width: 1080px) {
  .atlas__index { width: min(18rem, 34vw); }
  .atlas__help { display: none; }
  .atlas__foot { grid-template-columns: auto minmax(0, 1fr) auto; }
}

/* Small screens: stage first, then the name and index in the flow. */
@media (max-width: 720px) {
  .xp-bar { position: relative; flex-wrap: wrap; gap: 0 1rem; background: var(--ground); }
  .xp-bar__nav { gap: 0.9rem; }
  .atlas { height: auto; min-height: 0; max-height: none; overflow: visible; display: flex; flex-direction: column; }
  .atlas__stage { position: relative; inset: auto; height: clamp(20rem, 95vw, 28rem); min-height: 20rem; }
  .atlas__copy, .atlas__index, .atlas__foot { position: relative; inset: auto; transform: none; width: auto; max-width: none; padding: 0 var(--gutter); }
  .atlas__foot { order: 1; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; padding-top: 0.75rem; }
  .atlas__readout { display: none; }
  .atlas__copy { order: 2; margin-top: 1.75rem; }
  .atlas__index { order: 3; margin: 1.75rem 0 2.5rem; }
  .atlas h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .entry, .entry:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); }
  .entry:nth-of-type(even) .entry__media { order: 0; }
  .entry__text { position: static; }
  .work__head, .about { grid-template-columns: minmax(0, 1fr); }
  .atlas__source { inset: auto var(--gutter) 1rem; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
  .atlas__index a { transform: none; }
}

/* Progressive controls stay active-only; keep the touch instruction visible. */
:root:not(.js) [data-reset-scene], :root:not(.js) [data-theme-toggle]{display:none}
.atlas__help{font-size:.95rem;color:var(--ink)}
@media(max-width:720px){.atlas__help{display:block;flex-basis:100%;font-size:.875rem}}

.xp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Homepage Model Morpher: 3-frame triptych + 3D surface stage + scrubber,
   with the rendered MP4 kept in a progressive secondary disclosure. */
.morph-home {
  background: #0b1a16;
  color: #e4efe8;
}
:root:not(.js) .morph-home__interactive,
.morph-home[data-morph-state="error"] .morph-home__interactive {
  display: none;
}
.morph-home__triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.5rem;
  background: #0e201b;
}
.morph-home__thumb {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  min-width: 0;
  min-height: 44px;
  padding: 0.35rem;
  border: 1px solid rgba(228, 239, 232, 0.16);
  border-radius: 4px;
  background: #091713;
  color: #e4efe8;
  text-align: left;
  cursor: pointer;
}
.morph-home__thumb:hover {
  border-color: rgba(228, 239, 232, 0.45);
}
.morph-home__thumb[aria-current="true"] {
  border-color: var(--accent);
  background: rgba(177, 134, 226, 0.14);
}
.morph-home__thumb canvas {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: 2px;
  background: radial-gradient(circle at 50% 50%, #142d26, #081410 78%);
}
.morph-home__thumb-step {
  font: 600 0.7rem/1.2 var(--mono);
  color: #cdb3ef;
}
.morph-home__thumb-name {
  font-size: 0.78rem;
  line-height: 1.2;
  color: #d6e6de;
  overflow-wrap: anywhere;
}
.morph-home__stage {
  position: relative;
  aspect-ratio: 16 / 10;
  background: radial-gradient(ellipse 68% 62% at 50% 50%, #16332b, #091612 76%);
  border-top: 1px solid rgba(228, 239, 232, 0.14);
}
.morph-home__canvas {
  width: 100%;
  height: 100%;
  cursor: grab;
}
.morph-home__canvas[data-dragging="true"] {
  cursor: grabbing;
}
.morph-home__canvas:focus-visible {
  outline-offset: -4px;
}
.morph-home__hud {
  position: absolute;
  inset: 0.55rem 0.75rem auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  font: 0.75rem/1.3 var(--mono);
  color: #d0e3da;
}
.morph-home__hud span {
  padding: 0.18rem 0.45rem;
  border-radius: 3px;
  background: rgba(9, 22, 18, 0.78);
}
.morph-home__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  padding: 0.55rem 0.75rem;
  background: #10241e;
  border-top: 1px solid rgba(228, 239, 232, 0.14);
}
.morph-home__btn {
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.9rem;
  border: 1px solid rgba(228, 239, 232, 0.28);
  border-radius: 22px;
  background: transparent;
  color: #e4efe8;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.morph-home__btn:hover {
  border-color: var(--accent);
}
.morph-home__btn--play {
  background: #e4efe8;
  border-color: #e4efe8;
  color: #0e211c;
}
.morph-home__btn--play:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0e211c;
}
.morph-home__slider {
  flex: 1 1 9rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.morph-home__range {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  accent-color: rgb(177, 134, 226);
  cursor: pointer;
}
.morph-home__out {
  font: 0.78rem/1 var(--mono);
  color: #cbe0d7;
  white-space: nowrap;
}
.morph-home__recording {
  border-top: 1px solid rgba(228, 239, 232, 0.14);
  background: #0d1d18;
}
:root:not(.js) .morph-home__recording > summary,
.morph-home[data-morph-state="error"] .morph-home__recording > summary {
  display: none;
}
.morph-home__recording > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.85rem;
  color: #b7cec4;
  font-size: 0.88rem;
  cursor: pointer;
  list-style: none;
}
.morph-home__recording > summary::-webkit-details-marker {
  display: none;
}
.morph-home__recording > summary::after {
  content: "+";
  font-family: var(--mono);
}
.morph-home__recording[open] > summary::after {
  content: "−";
}
.morph-home__recording > summary:hover {
  color: #e4efe8;
}

/* Homepage EEG decoding entry: full-width header + side-by-side chart explainer */
.entry--g27 {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
.entry--g27 .entry__text {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.75rem 2rem;
}
.entry--g27 .entry__intro p + p {
  margin-top: 0.65rem;
}
.entry--g27 .entry__intro > p:not(.entry__kind) {
  margin-top: 0.75rem;
  max-width: 58ch;
}
.entry--g27 .entry__actions {
  margin-top: 0;
}

@media (max-width: 720px) {
  .entry--g27 .entry__text {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .morph-home__hud-hint {
    display: none;
  }
  .morph-home__triptych {
    gap: 0.25rem;
    padding: 0.35rem;
  }
  .morph-home__thumb {
    padding: 0.28rem;
  }
  .morph-home__thumb-name {
    font-size: 0.7rem;
  }
}

/* About: heading column carries quick facts and contact links */
.about__side { display: flex; flex-direction: column; gap: 1.75rem; min-width: 0; }
.about__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.about__facts li { display: grid; gap: 0.15rem; font-size: 1.05rem; }
.about__label {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-muted);
}
.about__links { display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.about__links a { min-height: 44px; display: inline-flex; align-items: center; }
.about__mail { font-weight: 600; }
.about__open { padding-top: 1.1rem; border-top: 1px solid var(--rule); }
@media (max-width: 720px) {
  .about__facts { grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); }
  .about__links { flex-direction: row; flex-wrap: wrap; gap: 0 1.5rem; }
}
