/* ============================================================
   SERGIO / HENOK AREGA AKRISO
   ENGINEERING IN SILENCE
   Global design system / editorial portfolio
   ============================================================ */

/* ---------- 01. Tokens ---------- */
:root {
  --paper: #F5F5F2;
  --paper-2: #E8E8E5;
  --paper-3: #EDEDE9;
  --ink: #202020;
  --ink-2: #4F4F4B;
  --ink-3: #6E6E68;
  --mid: #B8B8B5;
  --line: #DADAD5;
  --red: #C9252B;
  --red-light: #E4585D;
  --red-dark: #A91F24;
  --on-dark: #F0F0EC;
  --on-dark-2: #B4B4AE;
  --line-dark: rgba(245, 245, 242, 0.16);

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --container: 1280px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --nav-h: 72px;
  --section-y: clamp(76px, 10vw, 148px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.65s;

  --z-content: 2;
  --z-nav: 100;
  --z-menu: 200;
  --z-progress: 300;
  --z-boot: 1000;
  --z-lightbox: 2000;

  --shadow: 0 30px 80px rgba(32, 32, 32, 0.1);
}

/* ---------- 02. Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

html.reduced-motion {
  scroll-behavior: auto;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

main {
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

section[id] {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

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

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--paper);
}
::-webkit-scrollbar-thumb {
  background: var(--mid);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--ink-3);
}

.red-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- 03. Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-progress);
  height: 2px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* ---------- 04. Boot sequence ---------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: var(--z-boot);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--ink);
  color: var(--on-dark);
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.boot.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.boot-inner {
  width: min(620px, 100%);
}
.boot-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
}
.boot-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--red-light);
}
.boot-system {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.boot-wordmark {
  margin-top: clamp(26px, 5vh, 40px);
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.045em;
}
.boot-sub {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--red-light);
}
.boot-bar {
  height: 2px;
  margin-top: clamp(24px, 4vh, 34px);
  background: rgba(245, 245, 242, 0.14);
  overflow: hidden;
}
.boot-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red-light);
  transition: width 0.35s var(--ease);
}
.boot-log {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}
.boot-log li {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--on-dark-2);
  opacity: 0.25;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.boot-log li.is-on {
  opacity: 1;
  color: var(--on-dark);
}
.boot-log li:last-child.is-on {
  color: var(--red-light);
}
.boot-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(24px, 4vh, 34px);
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: var(--on-dark-2);
}
html.boot-skip #boot {
  display: none;
}

/* ---------- 05. Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(245, 245, 242, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.page-project .nav,
.page-journal .nav {
  background: rgba(245, 245, 242, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 30px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.nav-logo-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red);
  transition: background 0.3s ease, color 0.3s ease;
}
.nav-logo:hover .nav-logo-mark {
  background: var(--ink);
  color: var(--paper);
}
.nav-logo-word {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
}
.nav-link {
  position: relative;
  padding: 4px 0;
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.3s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.35s var(--ease);
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}
.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}
.nav-link--accent {
  color: var(--red);
}
.nav-link--accent:hover,
.nav-link--accent.is-active {
  color: var(--red-dark);
}
.nav-social {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: 2px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.social-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--ink-2);
  transition: color 0.3s ease, transform 0.3s var(--ease), border-color 0.3s ease;
}
.social-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.social-icon:hover,
.social-icon:focus-visible {
  color: var(--red);
  transform: scale(1.3);
}
.social-icon:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: 3px;
}
.social-icon.is-disabled {
  opacity: 0.34;
  cursor: not-allowed;
}
.social-icon.is-disabled:hover {
  color: inherit;
  transform: none;
}
.nav-social .social-icon {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-h) + 20px);
  background: var(--paper);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.6s var(--ease), visibility 0s linear 0.6s;
}
.mobile-menu.is-open {
  transform: none;
  visibility: visible;
  transition: transform 0.6s var(--ease), visibility 0s;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-close {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--red);
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}
.mobile-menu-links a {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 4vw, 26px);
  padding-block: clamp(10px, 1.8vh, 16px);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  transition: color 0.3s ease, padding-left 0.3s var(--ease);
}
.mobile-menu-links a:hover {
  color: var(--red);
  padding-left: 8px;
}
.mobile-menu-links a span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--red);
}
.mobile-menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.mobile-menu-social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-menu-social .social-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  color: var(--ink);
}
.mobile-menu-social .social-icon:hover,
.mobile-menu-social .social-icon:focus-visible {
  border-color: var(--red);
}

/* ---------- 06. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--nav-h);
  background: var(--paper);
  overflow: clip;
}
.hero-grid {
  position: absolute;
  inset: -4% 0;
  background-image:
    linear-gradient(90deg, rgba(32, 32, 32, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(32, 32, 32, 0.07) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 82% 72% at 58% 44%, #000 18%, transparent 76%);
  mask-image: radial-gradient(ellipse 82% 72% at 58% 44%, #000 18%, transparent 76%);
  opacity: 0.8;
  pointer-events: none;
  will-change: transform;
}
.hero-network {
  top: 5%;
  right: -7%;
  width: min(760px, 58vw);
  height: auto;
  opacity: 0.8;
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: clamp(28px, 4.4vw, 64px);
  min-height: calc(100svh - var(--nav-h));
  padding-block: clamp(28px, 5vh, 60px) clamp(100px, 15vh, 150px);
}
.hero-copy {
  min-width: 0;
}
.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(20px, 3.2vh, 34px);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.hero-issue {
  text-align: right;
}
.hero-title {
  font-size: clamp(2.5rem, 5.4vw, 5.3rem);
  font-weight: 700;
  line-height: 0.83;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.hero-title-line {
  display: block;
}
.hero-title-line > span {
  display: block;
}
.hero-title .red {
  color: var(--red);
}
.hero-identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(22px, 4vh, 38px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.hero-name .label {
  display: block;
  margin-bottom: 8px;
}
.hero-name p {
  font-size: clamp(0.9rem, 1.05vw, 1.02rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.hero-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 22px;
  align-content: start;
}
.hero-specs div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
}
.hero-specs div:last-child {
  grid-column: 1 / -1;
}
.hero-specs dt {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.hero-specs dd {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-align: right;
}
.hero-figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.hero-figure-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
  will-change: transform;
}
.hero-figure-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 28px;
  height: 2px;
  background: var(--red);
}
.hero-figure-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 15, 15, 0.72) 100%);
  pointer-events: none;
}
.hero-figure-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: grayscale(1) contrast(1.12) brightness(0.88);
  transform: scale(1.02);
  transition: transform 1.1s var(--ease), filter 0.8s ease;
}
.hero-figure:hover .hero-figure-frame img {
  transform: scale(1.06);
  filter: grayscale(1) contrast(1.16) brightness(0.95);
}
.hero-fig-index {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  padding: 6px 9px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.hero-fig-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  padding: 6px 9px;
  background: rgba(15, 15, 15, 0.52);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: rgba(245, 245, 242, 0.82);
}
.hero-figure-notes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.07em;
  color: var(--ink-3);
}
.hero-signature {
  position: absolute;
  left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  bottom: -0.2em;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(6rem, 21vw, 24rem);
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: -0.07em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(32, 32, 32, 0.13);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.scroll-cue {
  position: absolute;
  bottom: clamp(22px, 4vh, 38px);
  left: 50%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color 0.3s ease;
}
.scroll-cue:hover {
  color: var(--ink);
}
.scroll-cue i {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollLine 2.2s var(--ease) infinite;
  transform-origin: top center;
}
@keyframes scrollLine {
  0% { transform: scaleY(0.25); opacity: 0.4; }
  45% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

html.is-booting .hero-topline,
html.is-booting .hero-title,
html.is-booting .hero-identity,
html.is-booting .hero-figure {
  opacity: 0;
  transform: translateY(26px);
}
html.is-booting .scroll-cue {
  opacity: 0;
}
.hero-topline,
.hero-title,
.hero-identity,
.hero-figure {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.hero-title { transition-delay: 0.05s; }
.hero-identity { transition-delay: 0.12s; }
.hero-figure { transition-delay: 0.18s; }
.scroll-cue { transition: opacity 0.9s var(--ease) 0.25s, color 0.3s ease; }

.discipline-strip {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.discipline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 3vw, 30px);
  padding-block: 13px;
  overflow: hidden;
}
.discipline-inner span {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.discipline-inner span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- 07. Section headers ---------- */
.sec-head {
  margin-bottom: clamp(34px, 5vw, 64px);
  padding-top: clamp(14px, 2vw, 20px);
  border-top: 1px solid var(--line);
}
.sec-id {
  display: block;
  margin-bottom: clamp(18px, 3vw, 30px);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.sec-title {
  font-size: clamp(2rem, 5.2vw, 4.8rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.sec-title .muted,
.sec-title .muted * {
  color: var(--mid);
}
.sec-intro {
  max-width: 52ch;
  margin-top: 18px;
  font-size: clamp(0.88rem, 1vw, 0.95rem);
  line-height: 1.7;
  color: var(--ink-2);
}
.sec-head-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  align-items: end;
  gap: clamp(24px, 4vw, 60px);
}
.sec-head-row .sec-intro {
  margin-top: 0;
}
.sec-head--dark {
  border-color: var(--line-dark);
}
.sec-head--dark .sec-id {
  color: var(--red-light);
}
.sec-head--dark .sec-title .muted {
  color: var(--on-dark-2);
}

/* ---------- 08. Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 09. Network system ---------- */
.network {
  position: absolute;
  pointer-events: none;
}
.network .n-lines path {
  stroke: rgba(32, 32, 32, 0.18);
  stroke-width: 1;
}
.network .n-nodes circle {
  fill: var(--ink-3);
}
.network .n-accent circle {
  fill: var(--red);
}
.network .n-accent-line {
  stroke: var(--red);
  stroke-width: 1;
}
.network .n-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  fill: var(--ink-3);
}
.network .n-pulse {
  fill: none;
  stroke: var(--red);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 4.5s ease-out infinite;
}
@keyframes nodePulse {
  0% { transform: scale(0.5); opacity: 0.9; }
  70% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}
.halziz .network .n-lines path,
.vision .network .n-lines path {
  stroke: rgba(245, 245, 242, 0.14);
}
.halziz .network .n-nodes circle,
.vision .network .n-nodes circle {
  fill: rgba(245, 245, 242, 0.36);
}
.halziz .network .n-text,
.vision .network .n-text {
  fill: rgba(245, 245, 242, 0.4);
}
.halziz .network .n-accent circle,
.vision .network .n-accent circle {
  fill: var(--red-light);
}
.halziz .network .n-accent-line,
.vision .network .n-accent-line {
  stroke: var(--red-light);
}
.halziz .network .n-pulse,
.vision .network .n-pulse {
  stroke: var(--red-light);
}

/* ---------- 10. About ---------- */
.about {
  background: var(--paper);
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(34px, 6vw, 96px);
}
.about-side {
  position: sticky;
  top: calc(var(--nav-h) + 26px);
  min-width: 0;
}
.portrait {
  position: relative;
  padding-left: 12px;
  border-left: 2px solid var(--red);
}
.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  filter: grayscale(1) contrast(1.08) brightness(0.98);
  background: var(--paper-2);
}
.portrait-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.about-identity {
  margin-top: 22px;
}
.about-identity .label {
  display: block;
  margin-bottom: 6px;
}
.about-identity h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  letter-spacing: -0.03em;
}
.about-identity p {
  margin-top: 6px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.about-specs {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.about-specs div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
}
.about-specs dt {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.about-specs dd {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-align: right;
}
.about-body {
  min-width: 0;
}
.about-bio {
  display: grid;
  gap: 18px;
  max-width: 68ch;
}
.about-bio p {
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.78;
  color: var(--ink-2);
}
.about-bio .lead {
  font-size: clamp(1.15rem, 1.65vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink);
}
.about-bio strong {
  color: var(--ink);
  font-weight: 600;
}
.about-bio a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 4px;
}
.about-bio a:hover {
  color: var(--red);
}
.philosophy {
  margin-top: clamp(30px, 5vw, 54px);
  padding: clamp(20px, 3vw, 32px) 0 clamp(20px, 3vw, 32px) clamp(18px, 3vw, 32px);
  border-top: 1px solid var(--line);
  border-left: 2px solid var(--red);
}
.philosophy .label {
  display: block;
  margin-bottom: 14px;
}
.philosophy p {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.7vw, 2.35rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.philosophy em {
  color: var(--red);
  font-style: normal;
}
.attributes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(20px, 4vw, 40px);
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}
.attributes li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-block: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-2);
}
.attributes li:last-child {
  grid-column: 1 / -1;
}
.attributes li span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: var(--red);
}
.profile-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.profile-facts div {
  min-width: 0;
  padding: 14px 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.profile-facts dt {
  font-family: var(--font-mono);
  font-size: 0.51rem;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.profile-facts dd {
  margin-top: 7px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.profile-facts .profile-scale {
  font-family: var(--font-mono);
  font-size: 0.42em;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.profile-facts .profile-fact-text {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ---------- 11. Halziz ---------- */
.halziz {
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.halziz-network {
  top: 40px;
  right: -12%;
  width: min(900px, 72vw);
  height: auto;
  opacity: 0.55;
}
.halziz .container {
  position: relative;
  z-index: var(--z-content);
}
.halziz-mark {
  margin-bottom: clamp(36px, 6vw, 70px);
  font-family: var(--font-display);
  font-size: clamp(4rem, 17vw, 15rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.07em;
}
.halziz-mark::after {
  content: "";
  display: block;
  width: 90px;
  height: 2px;
  margin-top: 20px;
  background: var(--red);
}
.halziz-top {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(30px, 6vw, 90px);
  margin-bottom: clamp(40px, 6vw, 80px);
}
.halziz-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: #111;
  will-change: transform;
}
.halziz-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.2) brightness(0.7);
}
.img-label {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 7px 10px;
  background: rgba(15, 15, 15, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: rgba(245, 245, 242, 0.78);
}
.halziz-intro .label {
  color: var(--red-light);
}
.halziz-intro .lead {
  margin-top: 14px;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  color: var(--on-dark);
}
.halziz-intro p {
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--on-dark-2);
}
.mission {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}
.mission .label {
  color: var(--red-light);
}
.mission p {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}
.halziz-focus {
  border-top: 1px solid var(--line-dark);
}
.focus-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(16px, 3vw, 40px);
  padding-block: clamp(18px, 2.5vw, 26px);
  border-bottom: 1px solid var(--line-dark);
}
.focus-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.5s var(--ease);
}
.focus-row:hover::after {
  width: 100%;
}
.focus-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--red-light);
}
.focus-row h3 {
  font-size: clamp(1.05rem, 1.9vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}
.focus-row p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--on-dark-2);
}
.founder {
  display: grid;
  grid-template-columns: minmax(90px, 0.22fr) minmax(0, 0.78fr);
  align-items: start;
  gap: clamp(24px, 5vw, 60px);
  margin-top: clamp(36px, 5vw, 60px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line-dark);
}
.founder-mark {
  display: grid;
  place-items: center;
  width: clamp(90px, 12vw, 140px);
  aspect-ratio: 1;
  border: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--red-light);
}
.founder .label {
  color: var(--red-light);
}
.founder h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  color: var(--on-dark);
}
.founder p {
  max-width: 58ch;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--on-dark-2);
}
.founder-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}

/* ---------- 12. Expertise ---------- */
.expertise {
  background: var(--paper-2);
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.x-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  overflow: hidden;
}
.x-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.5s var(--ease);
}
.x-card:hover::after,
.x-card:focus-within::after {
  width: 100%;
}
.x-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
}
.x-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.86);
  transition: transform 0.9s var(--ease), filter 0.9s ease;
}
.x-card:hover .x-media img {
  transform: scale(1.045);
  filter: grayscale(1) contrast(1.14) brightness(0.94);
}
.x-num {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 7px;
  background: rgba(15, 15, 15, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--paper);
}
.x-media-label {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  color: rgba(245, 245, 242, 0.65);
}
.x-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 13px;
  padding: clamp(20px, 2.4vw, 30px);
}
.x-body h3 {
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.x-body p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.x-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-align: left;
  color: var(--ink);
  transition: color 0.3s ease;
}
.x-toggle:hover {
  color: var(--red);
}
.x-plus {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.4s var(--ease), color 0.3s ease;
}
.x-toggle[aria-expanded="true"] .x-plus {
  transform: rotate(45deg);
  color: var(--red);
}
.x-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.x-card.is-open .x-panel {
  grid-template-rows: 1fr;
}
.x-panel-inner {
  overflow: hidden;
}
.x-panel-content {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.x-panel-content .label {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
}
.x-panel-content ul {
  display: grid;
  gap: 5px;
  margin-bottom: 10px;
}
.x-panel-content li {
  display: flex;
  gap: 8px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.x-panel-content li::before {
  content: " ";
  color: var(--red);
}
.x-panel-content p {
  font-size: 0.72rem !important;
  color: var(--ink-3) !important;
}

/* ---------- 13. Projects ---------- */
.projects {
  background: var(--paper);
}
.project-stage {
  margin-top: clamp(8px, 2vw, 20px);
}
.project-scroller {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82vw, 1000px);
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: 26px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.project-scroller::-webkit-scrollbar {
  display: none;
}
.project-scroller.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}
.project-scroller:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 8px;
}
.project-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: start;
  gap: clamp(22px, 3.5vw, 48px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  scroll-snap-align: start;
}
.project-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}
.project-media > svg,
.project-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.8s ease;
}
.project-media > img {
  filter: grayscale(1) contrast(1.08) brightness(0.88);
}
.project-media:hover > svg,
.project-media:hover > img {
  transform: scale(1.025);
}
.project-media:hover > img {
  filter: grayscale(1) contrast(1.12) brightness(0.96);
}
.project-media-tag,
.project-media-status {
  position: absolute;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.49rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.project-media-tag {
  left: 12px;
  bottom: 10px;
  color: rgba(245, 245, 242, 0.62);
}
.project-media-status {
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  background: rgba(15, 15, 15, 0.52);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: rgba(245, 245, 242, 0.9);
}
.project-media-status i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-light);
}
.project-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.project-meta span:last-child {
  text-align: right;
}
.project-content h3 {
  margin-top: 16px;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.project-content h3 a {
  transition: color 0.3s ease;
}
.project-content h3 a:hover {
  color: var(--red);
}
.project-headline {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.6vw, 1.32rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.project-content > p:not(.project-headline) {
  max-width: 52ch;
  margin-top: 14px;
  font-size: 0.89rem;
  line-height: 1.72;
  color: var(--ink-2);
}
.project-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.project-tech {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.arrow-link span {
  color: var(--red);
  transition: transform 0.3s var(--ease);
}
.arrow-link:hover span {
  transform: translateX(4px);
}
.arrow-link:hover {
  color: var(--red);
}
.project-controls {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}
.project-arrows {
  display: flex;
  gap: 8px;
}
.arrow-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.arrow-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.project-progress {
  position: relative;
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.project-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--red);
  transition: width 0.25s ease;
}

/* SVG diagram system */
.dg-grid path {
  stroke: rgba(245, 245, 242, 0.055);
  stroke-width: 1;
}
.dg-line path,
.dg-line circle,
.dg-line rect {
  stroke: rgba(245, 245, 242, 0.4);
  stroke-width: 1;
}
.dg-node circle {
  fill: rgba(245, 245, 242, 0.7);
}
.dg-accent .dg-fill,
.dg-fill {
  fill: var(--red-light);
}
.dg-accent .dg-ring {
  stroke: var(--red-light);
  stroke-width: 1;
}
.dg-accent .dg-dash {
  stroke: var(--red-light);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}
.dg-accent .n-pulse {
  stroke: var(--red-light);
}
.dg-box {
  stroke: rgba(245, 245, 242, 0.3);
  stroke-width: 1;
}
.dg-box--accent {
  stroke: var(--red-light);
}
.dg-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  fill: rgba(245, 245, 242, 0.55);
}
.dg-label--accent {
  fill: var(--red-light);
}
.dg-label--strong {
  fill: rgba(245, 245, 242, 0.9);
}

/* ---------- 14. Lab ---------- */
.lab {
  background: var(--paper-2);
}
.lab-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin-bottom: clamp(28px, 5vw, 56px);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--on-dark);
}
.lab-feature-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(300px, 40vw, 480px);
  overflow: hidden;
  background: #141414;
  border-right: 1px solid var(--line-dark);
}
.lab-feature-media svg {
  width: 100%;
  height: 100%;
}
.lab-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(26px, 4vw, 56px);
}
.lab-feature-body .label {
  color: var(--red-light);
}
.lab-feature-body h3 {
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--on-dark);
}
.lab-feature-body p {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--on-dark-2);
}
.lab-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.lab-item {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  text-align: left;
}
.lab-thumb {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ink);
}
.lab-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.85);
  transition: transform 0.8s var(--ease), filter 0.8s ease;
}
.lab-item:hover .lab-thumb img {
  transform: scale(1.05);
  filter: grayscale(1) contrast(1.14) brightness(0.95);
}
.lab-caption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 11px;
  font-family: var(--font-mono);
  font-size: 0.49rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lab-caption span:last-child {
  color: var(--red);
  white-space: nowrap;
}
.lab-note {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.lightbox {
  position: fixed;
  inset: 0;
  width: min(900px, 92vw);
  max-height: 90vh;
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.lightbox::backdrop {
  background: rgba(15, 15, 15, 0.84);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox img {
  width: 100%;
  max-height: 66vh;
  object-fit: contain;
  background: var(--ink);
  filter: grayscale(1);
}
.lightbox-body {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line);
}
.lightbox-body .label {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
}
.lightbox-body p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink-2);
}
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 7px 9px;
  border: 1px solid rgba(245, 245, 242, 0.35);
  background: rgba(15, 15, 15, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: var(--paper);
}

/* ---------- 15. Experience ---------- */
.experience {
  background: var(--paper);
}
.timeline {
  --tl-pad: clamp(26px, 4vw, 48px);
  position: relative;
  padding-left: var(--tl-pad);
}
.timeline-track {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 5px;
  width: 1px;
  background: var(--line);
  overflow: hidden;
}
.timeline-track span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top center;
  will-change: transform;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(20px, 4vw, 56px);
  padding-block: clamp(22px, 3.5vw, 36px);
  border-bottom: 1px solid var(--line);
}
.timeline-item:first-of-type {
  border-top: 1px solid var(--line);
}
.timeline-item::before {
  content: "";
  position: absolute;
  top: calc(clamp(22px, 3.5vw, 36px) + 6px);
  left: calc(var(--tl-pad) * -1);
  z-index: 2;
  width: 11px;
  height: 11px;
  border: 2px solid var(--mid);
  border-radius: 50%;
  background: var(--paper);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.timeline-item.is-visible::before {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(201, 37, 43, 0.1);
}
.timeline-period .label {
  display: block;
  color: var(--ink-3);
}
.timeline-date {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  color: var(--mid);
}
.timeline-role {
  color: var(--red);
}
.timeline-body h3 {
  margin: 6px 0 10px;
  font-size: clamp(1.12rem, 2vw, 1.48rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.timeline-body h3 span {
  font-size: 0.62em;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}
.timeline-body p {
  max-width: 72ch;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ink-2);
}

/* ---------- 16. Education ---------- */
.education {
  background: var(--paper-2);
}
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.edu-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--paper);
}
.edu-year {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--red);
}
.edu-card h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.edu-school {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
}
.edu-note {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.edu-card > p {
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--ink-2);
}

/* ---------- 17. Journal preview ---------- */
.journal {
  background: var(--paper);
}
.journal-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.journal-intro .lead {
  max-width: 64ch;
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.journal-status {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.journal-planned-list {
  border-top: 1px solid var(--line);
}
.journal-planned-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.j-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--red);
}
.journal-planned-list h3 {
  margin-bottom: 4px;
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.journal-note {
  margin-top: 14px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ---------- 18. Vision ---------- */
.vision {
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.vision-network {
  top: 30px;
  right: -10%;
  width: min(880px, 70vw);
  height: auto;
  opacity: 0.5;
}
.vision .container {
  position: relative;
  z-index: var(--z-content);
}
.vision-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: clamp(30px, 6vw, 80px);
  margin-bottom: clamp(36px, 6vw, 70px);
}
.vision-intro .label {
  color: var(--red-light);
}
.vision-intro .lead {
  margin-top: 14px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
  color: var(--on-dark);
}
.vision-intro p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--on-dark-2);
}
.vision-meta {
  border-top: 1px solid var(--line-dark);
}
.vision-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 11px;
  border-bottom: 1px solid var(--line-dark);
}
.vision-meta dt {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.vision-meta dd {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: var(--on-dark);
  text-align: right;
}
.vision-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}
.phase {
  position: relative;
  padding: 24px 22px 26px 0;
  border-right: 1px solid var(--line-dark);
}
.phase:last-child {
  border-right: 0;
}
.phase::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-light);
}
.phase--upcoming::before {
  background: var(--mid);
}
.phase--current::before {
  box-shadow: 0 0 0 4px rgba(201, 37, 43, 0.2);
}
.phase-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  color: var(--on-dark-2);
}
.phase-date {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  color: var(--red-light);
}
.phase h3 {
  margin-top: 14px;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}
.phase p {
  margin-top: 10px;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--on-dark-2);
}
.phase-status {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 7px;
  border: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 0.49rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.phase--current .phase-status {
  border-color: var(--red);
  color: var(--on-dark);
}
.vision-progress {
  margin-top: clamp(30px, 5vw, 50px);
}
.vision-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.vision-progress-head .label {
  color: var(--on-dark-2);
}
.vision-bar {
  height: 3px;
  background: rgba(245, 245, 242, 0.14);
  overflow: hidden;
}
.vision-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red-light);
  transition: width 1.2s var(--ease);
}
.vision-note {
  margin-top: 10px;
  font-size: 0.7rem;
  line-height: 1.55;
  color: var(--on-dark-2);
}

/* ---------- 19. Contact ---------- */
.contact {
  background: var(--paper);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: clamp(30px, 6vw, 80px);
}
.contact-message {
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(24px, 4vw, 38px);
}
.contact-social .social-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
}
.contact-social .social-icon:hover,
.contact-social .social-icon:focus-visible {
  border-color: var(--red);
}
.contact-details {
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}
.contact-details div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-block: 11px;
  border-bottom: 1px solid var(--line);
}
.contact-details dt {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.contact-details dd {
  font-size: 0.86rem;
  color: var(--ink-2);
  text-align: right;
}
.contact-links {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.contact-links a {
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--mid);
  text-underline-offset: 4px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}
.contact-links a:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}
.contact-panel {
  padding: clamp(22px, 3.5vw, 38px);
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.contact-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.contact-channel-note {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--ink-2);
}
.contact-channels {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.contact-channels li {
  border-bottom: 1px solid var(--line);
}
.channel-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 15px;
  color: var(--ink);
  transition: color 0.3s ease, padding-left 0.3s var(--ease);
}
.channel-row:hover,
.channel-row:focus-visible {
  color: var(--red);
  padding-left: 6px;
}
.channel-row.is-disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
.channel-row.is-disabled:hover {
  color: var(--ink);
  padding-left: 0;
}
.channel-row svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}
.channel-label {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.channel-meta {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.contact-channel-foot {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.53rem;
  line-height: 1.55;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}
/* ---------- 20. Closing ---------- */
.closing {
  padding-top: clamp(50px, 7vw, 90px);
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.closing-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
}
.closing-top .label {
  color: var(--on-dark-2);
}
.closing-wordmark {
  margin-top: clamp(22px, 4vw, 44px);
  font-family: var(--font-display);
  font-size: clamp(5rem, 20vw, 19rem);
  font-weight: 700;
  line-height: 0.76;
  letter-spacing: -0.07em;
  color: var(--on-dark);
}
.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: start;
  gap: clamp(24px, 4vw, 50px);
  margin-top: clamp(30px, 5vw, 50px);
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}
.closing-id .label {
  color: var(--on-dark-2);
}
.closing-id p {
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--on-dark-2);
}
.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--on-dark);
}
.closing-statement em {
  color: var(--red-light);
  font-style: normal;
}
.closing-contact {
  min-width: 0;
}
.closing-social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.closing-social .social-icon {
  color: var(--on-dark);
}
.closing-social .social-icon:hover,
.closing-social .social-icon:focus-visible {
  color: var(--red-light);
}
.closing-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.closing-links a {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--on-dark-2);
  transition: color 0.3s ease;
}
.closing-links a:hover {
  color: var(--on-dark);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: clamp(30px, 5vw, 50px);
  padding-block: 20px 26px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.06em;
  color: var(--on-dark-2);
}
.footer-bottom .label {
  color: var(--on-dark-2);
}
.back-to-top {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-dark);
  color: var(--on-dark);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.back-to-top:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}

/* ---------- 21. Project pages ---------- */
.page-project {
  background: var(--paper);
}
.pp-main {
  padding-top: var(--nav-h);
}
.pp-hero {
  padding-block: clamp(48px, 7vw, 90px) clamp(30px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.pp-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 4vw, 40px);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.pp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.3s ease;
}
.pp-back:hover {
  color: var(--red);
}
.pp-title {
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}
.pp-headline {
  max-width: 30ch;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.pp-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.pp-meta dt {
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pp-meta dd {
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--ink-2);
}
.pp-media {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: clamp(26px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}
.pp-media svg,
.pp-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pp-media img {
  filter: grayscale(1) contrast(1.08) brightness(0.9);
}
.pp-content {
  display: grid;
  grid-template-columns: minmax(0, 0.3fr) minmax(0, 0.7fr);
  align-items: start;
  gap: clamp(30px, 6vw, 80px);
  padding-block: clamp(40px, 6vw, 80px);
}
.pp-toc {
  position: sticky;
  top: calc(var(--nav-h) + 30px);
}
.pp-toc .label {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
}
.pp-toc ol {
  border-top: 1px solid var(--line);
}
.pp-toc li {
  border-bottom: 1px solid var(--line);
}
.pp-toc a {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color 0.3s ease;
}
.pp-toc a:hover {
  color: var(--red);
}
.pp-body {
  display: flex;
  flex-direction: column;
  gap: clamp(34px, 5vw, 58px);
  min-width: 0;
}
.pp-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.pp-section h3 {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.pp-section p {
  max-width: 68ch;
  margin-bottom: 14px;
  font-size: 0.93rem;
  line-height: 1.78;
  color: var(--ink-2);
}
.pp-section p:last-child {
  margin-bottom: 0;
}
.pp-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin-top: 16px;
}
.pp-list li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.pp-list li::before {
  content: " ";
  color: var(--red);
}
.pp-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.pp-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.pp-notes {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.pp-notes p {
  font-size: 0.85rem;
  line-height: 1.65;
}
.pp-note {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: var(--ink-3);
}
.pp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 26px;
  border-top: 1px solid var(--line);
}
.pp-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}
.pp-shot {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
  padding: 18px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.07em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.pp-shot strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: none;
}
.pp-shot span {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* ---------- 22. Completion / fallbacks ---------- */
[hidden] {
  display: none !important;
}

html.is-booting,
html.is-booting body {
  overflow: hidden;
}
html.no-js .boot {
  display: none;
}
html.no-js .js-only {
  display: none;
}
html.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}
html.no-js .menu-toggle {
  display: none;
}
html.reduced-motion *,
html.reduced-motion *::before,
html.reduced-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

.contact-lead {
  min-width: 0;
}

.phase--elapsed::before {
  background: var(--mid);
  opacity: 0.45;
}
.phase--elapsed .phase-date {
  color: var(--on-dark-2);
}
.phase--elapsed h3,
.phase--elapsed p {
  color: var(--on-dark-2);
}
.phase--elapsed .phase-status {
  border-color: rgba(245, 245, 242, 0.1);
  color: var(--on-dark-2);
}

.template-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 10px 14px;
  border: 1px solid var(--red);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--red);
}

/* ---------- 23. Journal page ---------- */
.page-journal {
  background: var(--paper);
}
.jp-main {
  padding-top: var(--nav-h);
}
.jp-hero {
  padding-block: clamp(48px, 7vw, 90px) clamp(34px, 5vw, 58px);
  border-bottom: 1px solid var(--line);
}
.jp-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 4vw, 40px);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.jp-title {
  font-size: clamp(3rem, 10vw, 8.5rem);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}
.jp-title .muted {
  color: var(--mid);
}
.jp-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: end;
  gap: clamp(26px, 5vw, 70px);
  margin-top: clamp(24px, 4vw, 44px);
}
.jp-intro .lead {
  max-width: 58ch;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.jp-intro .lead + p {
  max-width: 62ch;
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ink-2);
}
.jp-meta {
  border-top: 1px solid var(--line);
}
.jp-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
}
.jp-meta dt {
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.jp-meta dd {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-align: right;
}
.jp-body {
  padding-block: clamp(34px, 5vw, 64px);
}
.jp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.jp-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.jp-filter {
  padding: 6px 10px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.jp-filter:hover,
.jp-filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.jp-count {
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.jp-empty {
  display: grid;
  gap: 14px;
  padding: clamp(32px, 6vw, 70px) clamp(22px, 4vw, 50px);
  border: 1px dashed var(--line);
  background:
    linear-gradient(rgba(32, 32, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 32, 32, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}
.jp-empty h2 {
  max-width: 20ch;
  font-size: clamp(1.6rem, 3.8vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}
.jp-empty p {
  max-width: 64ch;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--ink-2);
}
.jp-published {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.jp-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
}
.jp-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.51rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.jp-card h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.jp-card h3 a:hover {
  color: var(--red);
}
.jp-card p {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.jp-planned {
  padding-bottom: clamp(60px, 9vw, 120px);
}
.jp-subhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.jp-subhead h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.jp-subhead .label {
  margin-bottom: 4px;
}
.jp-note {
  margin-top: 14px;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ---------- 24. Article template ---------- */
.article-main {
  padding-top: var(--nav-h);
}
.article-hero {
  padding-block: clamp(44px, 6vw, 80px) clamp(26px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
}
.article-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(22px, 4vw, 36px);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.article-title {
  max-width: 15ch;
  font-size: clamp(2.4rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.article-deck {
  max-width: 52ch;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink-2);
}
.article-meta {
  display: flex;
  gap: 12px 28px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.article-body {
  max-width: 720px;
  margin-inline: auto;
  padding-block: clamp(38px, 6vw, 78px);
}
.article-body > p {
  margin-bottom: 18px;
  font-size: 0.96rem;
  line-height: 1.82;
  color: var(--ink-2);
}
.article-body h2 {
  margin: 40px 0 14px;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.article-body h3 {
  margin: 28px 0 10px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.article-body ul {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
}
.article-body li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.article-body li::before {
  content: " ";
  color: var(--red);
}
.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.article-toc {
  margin-block: 30px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.article-toc .label {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
}
.article-toc ol {
  display: grid;
  gap: 6px;
}
.article-toc a {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.article-toc a:hover {
  color: var(--red);
}

/* ---------- 24b. Creative practice ---------- */
.creative {
  background: var(--paper);
}
.creative-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.55fr);
  align-items: end;
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: clamp(30px, 5vw, 54px);
}
.creative-intro .lead {
  max-width: 54ch;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.creative-preview-note {
  padding-left: 16px;
  border-left: 2px solid var(--red);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  line-height: 1.65;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.holo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.holo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  isolation: isolate;
  background: var(--paper-2);
  color: var(--ink);
  transition: background 0.45s var(--ease), color 0.45s var(--ease);
}
.holo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 20%, rgba(214, 40, 40, 0.22), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(32, 32, 32, 0.14), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 50%);
  opacity: 0.75;
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
}
.holo-card:hover::before,
.holo-card:focus-visible::before {
  opacity: 1;
  transform: scale(1.08) rotate(2deg);
}
.holo-card:hover,
.holo-card:focus-visible {
  background: var(--paper);
}
.holo-index {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--red);
}
.holo-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}
.holo-art i {
  position: absolute;
  display: block;
}
.holo-card--design .holo-art i {
  border: 1px solid rgba(32, 32, 32, 0.22);
}
.holo-card--design .holo-art i:nth-child(1) { width: 34%; height: 42%; right: 9%; top: 16%; background: rgba(214, 40, 40, 0.12); }
.holo-card--design .holo-art i:nth-child(2) { width: 18%; height: 18%; right: 28%; top: 38%; background: var(--red); border: 0; }
.holo-card--design .holo-art i:nth-child(3) { width: 52%; height: 1px; right: 6%; top: 66%; background: rgba(32, 32, 32, 0.3); border: 0; }
.holo-card--sketch .holo-art i {
  width: 1px;
  height: 72%;
  top: 14%;
  background: rgba(32, 32, 32, 0.2);
  transform-origin: bottom;
}
.holo-card--sketch .holo-art i:nth-child(1) { right: 20%; transform: rotate(18deg); }
.holo-card--sketch .holo-art i:nth-child(2) { right: 30%; transform: rotate(-22deg); background: var(--red); }
.holo-card--sketch .holo-art i:nth-child(3) { right: 40%; transform: rotate(42deg); }
.holo-card--reading .holo-art i {
  right: 8%;
  border: 1px solid rgba(32, 32, 32, 0.24);
  background: rgba(245, 245, 242, 0.65);
}
.holo-card--reading .holo-art i:nth-child(1) { width: 32%; height: 9%; top: 22%; transform: rotate(-7deg); }
.holo-card--reading .holo-art i:nth-child(2) { width: 28%; height: 8%; top: 36%; right: 12%; transform: rotate(4deg); background: rgba(214, 40, 40, 0.2); }
.holo-card--reading .holo-art i:nth-child(3) { width: 36%; height: 10%; top: 50%; transform: rotate(-2deg); }
.holo-card--cinema .holo-art i {
  border: 1px solid rgba(245, 245, 242, 0.28);
  border-radius: 50%;
}
.holo-card--cinema .holo-art i:nth-child(1) { width: 210px; height: 210px; right: 8%; top: 14%; }
.holo-card--cinema .holo-art i:nth-child(2) { width: 130px; height: 130px; right: 18%; top: 27%; border-color: var(--red); }
.holo-card--cinema .holo-art i:nth-child(3) { width: 6px; height: 6px; right: 32%; top: 45%; background: var(--red); border: 0; }
.holo-card--cinema::before {
  background:
    radial-gradient(circle at 78% 32%, rgba(214, 40, 40, 0.24), transparent 30%),
    radial-gradient(circle at 20% 80%, rgba(32, 32, 32, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.45), transparent 55%);
}
.holo-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 40ch;
  margin-top: auto;
  padding-top: 80px;
}
.holo-body .label {
  color: var(--ink-3);
}
.holo-body strong {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.holo-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.holo-link {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--red);
}

.creative-chapter {
  background: var(--paper);
}
.creative-chapter--alt {
  background: var(--paper-2);
}
.creative-chapter--dark {
  background: var(--ink);
  color: var(--on-dark);
}
.creative-chapter--dark .sec-id {
  color: var(--red-light);
}
.creative-chapter--dark .sec-title {
  color: var(--on-dark);
}
.creative-chapter--dark .sec-title .muted {
  color: var(--on-dark-2);
}
.chapter-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  align-items: end;
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: clamp(28px, 4vw, 46px);
  padding-top: clamp(14px, 2vw, 20px);
  border-top: 1px solid var(--line);
}
.creative-chapter--dark .chapter-head {
  border-color: var(--line-dark);
}
.chapter-note {
  padding-left: 16px;
  border-left: 1px solid var(--line);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--ink-3);
}
.creative-chapter--dark .chapter-note {
  border-color: var(--line-dark);
  color: var(--on-dark-2);
}

.work-grid,
.book-grid,
.film-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.book-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.film-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-color: var(--line-dark);
  background: var(--line-dark);
}
.work-card,
.book-card,
.film-card {
  min-width: 0;
  padding: clamp(14px, 2vw, 20px);
  background: var(--paper);
}
.work-card {
  display: flex;
  flex-direction: column;
}
.work-art {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  overflow: hidden;
  background: var(--paper-2);
}
.work-art::before,
.work-art::after {
  content: "";
  position: absolute;
  display: block;
}
.work-art--grid {
  background:
    linear-gradient(90deg, transparent 49.4%, rgba(32, 32, 32, 0.16) 50%, transparent 50.6%),
    linear-gradient(transparent 49.4%, rgba(32, 32, 32, 0.16) 50%, transparent 50.6%),
    var(--paper-2);
  background-size: 30px 30px;
}
.work-art--grid::before {
  width: 34%;
  height: 34%;
  right: 12%;
  top: 12%;
  background: var(--red);
}
.work-art--grid::after {
  width: 54%;
  height: 1px;
  left: 8%;
  bottom: 18%;
  background: var(--ink);
}
.work-art--poster {
  background: var(--red);
}
.work-art--poster::before {
  width: 64%;
  height: 64%;
  right: -8%;
  bottom: -10%;
  border-radius: 50%;
  background: var(--ink);
}
.work-art--poster::after {
  width: 38%;
  height: 70%;
  left: 10%;
  top: 14%;
  border: 1px solid rgba(245, 245, 242, 0.6);
}
.work-art--editorial {
  background:
    linear-gradient(90deg, transparent 31.8%, rgba(32, 32, 32, 0.14) 32%, transparent 32.2%, transparent 65.8%, rgba(32, 32, 32, 0.14) 66%, transparent 66.2%),
    var(--paper);
}
.work-art--editorial::before {
  width: 38%;
  height: 44%;
  left: 8%;
  top: 12%;
  background: var(--ink);
}
.work-art--editorial::after {
  width: 44%;
  height: 6px;
  right: 8%;
  bottom: 16%;
  background: var(--red);
}
.work-art--circuit {
  background:
    linear-gradient(90deg, rgba(32, 32, 32, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(32, 32, 32, 0.1) 1px, transparent 1px),
    var(--paper-2);
  background-size: 26px 26px;
}
.work-art--circuit::before {
  width: 42%;
  height: 42%;
  left: 14%;
  top: 18%;
  border: 1px solid var(--ink);
  box-shadow: 18px 18px 0 -1px var(--red);
}
.work-art--circuit::after {
  width: 1px;
  height: 34%;
  right: 26%;
  bottom: 10%;
  background: var(--red);
  box-shadow: 24px 0 0 var(--ink), 48px 0 0 var(--ink);
}
.work-art--drone {
  background: var(--ink);
}
.work-art--drone::before {
  width: 64%;
  height: 64%;
  left: 18%;
  top: 18%;
  border: 1px solid rgba(245, 245, 242, 0.6);
  transform: rotate(45deg);
}
.work-art--drone::after {
  width: 20%;
  height: 20%;
  left: 40%;
  top: 40%;
  border-radius: 50%;
  border: 1px solid var(--red);
  box-shadow: -34px -34px 0 -6px var(--red), 34px 34px 0 -6px var(--red);
}
.work-art--network {
  background:
    radial-gradient(circle at 20% 30%, var(--red) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 20%, var(--ink) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 74%, var(--red) 0 3px, transparent 4px),
    radial-gradient(circle at 28% 78%, var(--ink) 0 3px, transparent 4px),
    linear-gradient(28deg, transparent 49.5%, rgba(32, 32, 32, 0.2) 50%, transparent 50.5%),
    linear-gradient(-32deg, transparent 49.5%, rgba(32, 32, 32, 0.2) 50%, transparent 50.5%),
    var(--paper-2);
}
.work-art--network::before {
  width: 36%;
  height: 36%;
  left: 32%;
  top: 32%;
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.work-art--network::after {
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
  background: rgba(214, 40, 40, 0.55);
  transform: rotate(24deg);
}
.work-art-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 6px;
  background: rgba(245, 245, 242, 0.86);
  font-family: var(--font-mono);
  font-size: 0.47rem;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.work-card-meta,
.film-card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.51rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.work-card h3,
.film-card h3 {
  margin-top: 9px;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.work-card p {
  margin-top: 9px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.work-card .sample-label {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.09em;
  color: var(--red);
}

.book-card {
  display: flex;
  flex-direction: column;
}
.book-cover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 2 / 3;
  padding: 18px 16px;
  border-left: 8px solid var(--red);
  background: var(--paper-2);
  color: var(--ink);
}
.book-cover--ink {
  background: var(--ink);
  color: var(--on-dark);
  border-left-color: var(--red-light);
}
.book-cover--red {
  background: var(--red);
  color: var(--paper);
  border-left-color: var(--ink);
}
.book-cover--grey {
  background: #d9d9d4;
  color: var(--ink);
  border-left-color: var(--red);
}
.book-cover--spine-paper {
  border-left-color: var(--paper);
}
.book-cover--spine-ink {
  border-left-color: var(--ink);
}
.book-cover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.45rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}
.book-cover h3 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.book-cover-author {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.49rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}
.book-card-note {
  margin-top: 14px;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--ink-3);
}

.film-card {
  background: #262626;
  color: var(--on-dark);
}
.film-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #151515;
}
.film-poster::before,
.film-poster::after {
  content: "";
  position: absolute;
  display: block;
}
.film-poster--cipher {
  background:
    repeating-linear-gradient(90deg, transparent 0 13px, rgba(245, 245, 242, 0.08) 14px 15px),
    #151515;
}
.film-poster--cipher::before {
  width: 42%;
  height: 42%;
  left: 29%;
  top: 29%;
  border: 1px solid var(--red);
  transform: rotate(45deg);
}
.film-poster--cipher::after {
  width: 64%;
  height: 1px;
  left: 18%;
  top: 50%;
  background: rgba(245, 245, 242, 0.5);
}
.film-poster--orbit {
  background: radial-gradient(circle at 50% 40%, #3a3a3a, #111 58%);
}
.film-poster--orbit::before {
  width: 62%;
  height: 62%;
  left: 19%;
  top: 12%;
  border: 1px solid rgba(245, 245, 242, 0.45);
  border-radius: 50%;
}
.film-poster--orbit::after {
  width: 38%;
  height: 38%;
  left: 31%;
  top: 24%;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.7;
}
.film-poster--network {
  background:
    radial-gradient(circle at 24% 26%, var(--red) 0 3px, transparent 4px),
    radial-gradient(circle at 74% 22%, rgba(245, 245, 242, 0.8) 0 3px, transparent 4px),
    radial-gradient(circle at 68% 76%, var(--red) 0 3px, transparent 4px),
    linear-gradient(34deg, transparent 49.5%, rgba(245, 245, 242, 0.2) 50%, transparent 50.5%),
    linear-gradient(-30deg, transparent 49.5%, rgba(245, 245, 242, 0.2) 50%, transparent 50.5%),
    #151515;
}
.film-poster--network::before {
  width: 34%;
  height: 34%;
  left: 33%;
  top: 33%;
  border: 1px solid rgba(245, 245, 242, 0.5);
  border-radius: 50%;
}
.film-poster--signal {
  background:
    repeating-radial-gradient(circle at 50% 100%, transparent 0 16px, rgba(245, 245, 242, 0.13) 17px 18px),
    #151515;
}
.film-poster--signal::before {
  width: 1px;
  height: 70%;
  left: 50%;
  bottom: 0;
  background: var(--red);
}
.film-poster--signal::after {
  width: 10px;
  height: 10px;
  left: calc(50% - 5px);
  bottom: 20%;
  border-radius: 50%;
  background: var(--red);
}
.film-poster-label {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.47rem;
  letter-spacing: 0.1em;
  color: rgba(245, 245, 242, 0.7);
}
.film-card-meta {
  color: var(--on-dark-2);
}
.film-card h3 {
  color: var(--on-dark);
}
.film-card .film-note {
  margin-top: 9px;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--on-dark-2);
}
.film-card .sample-label {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.09em;
  color: var(--red-light);
}

/* ---------- 24c. Digital business card ---------- */
.business-card-section {
  background: var(--paper-2);
}
.business-card-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}
.business-card-stage {
  min-width: 0;
  perspective: 1600px;
}
.business-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1050 / 600;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1);
  cursor: pointer;
  outline: none;
}
.business-card:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 8px;
}
.business-card.is-flipped {
  transform: rotateY(180deg);
}
.business-card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 26px 60px rgba(32, 32, 32, 0.18);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.business-card-face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.business-card-back {
  transform: rotateY(180deg);
}
.business-card-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.51rem;
  letter-spacing: 0.09em;
  color: var(--ink-3);
}
.business-card-panel {
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line);
  background: var(--paper);
}
.business-card-panel h3 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.055em;
}
.business-card-panel > p {
  margin-top: 18px;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--ink-2);
}
.business-card-specs {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.business-card-specs div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
}
.business-card-specs dt {
  font-family: var(--font-mono);
  font-size: 0.51rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.business-card-specs dd {
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-align: right;
}
.business-card-controls {
  display: flex;
  gap: 6px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.card-control {
  flex: 1;
  padding: 11px 8px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.card-control:hover,
.card-control:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
}
.card-control[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.card-control--accent {
  color: var(--red);
  border-color: var(--red);
}
.card-control--accent:hover,
.card-control--accent:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}
.business-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}
.card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.51rem;
  letter-spacing: 0.07em;
  color: var(--ink-2);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.card-action:hover,
.card-action:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
}
.card-action--share {
  grid-column: 1 / -1;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.card-action--share:hover,
.card-action--share:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}
.business-card-status {
  min-height: 1.3em;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  line-height: 1.5;
  color: var(--red);
}
.business-card-note {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.49rem;
  line-height: 1.55;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- 25. Responsive ---------- */
@media (max-width: 1180px) {
  .hero-network {
    width: min(640px, 54vw);
    right: -10%;
  }
  .halziz-network {
    width: min(760px, 66vw);
  }
  .vision-network {
    width: min(720px, 62vw);
  }
  .nav-links {
    gap: 16px;
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: clamp(2.6rem, 5.8vw, 5rem);
  }
  .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lab-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .vision-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line-dark);
  }
  .phase {
    border-bottom: 1px solid var(--line-dark);
  }
  .phase:nth-child(2n) {
    border-right: 0;
  }
  .phase:nth-child(n + 3) {
    border-bottom: 0;
  }
  .closing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .closing-contact {
    grid-column: 2;
  }
  .closing-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .work-grid,
  .book-grid,
  .film-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chapter-head,
  .business-card-layout {
    grid-template-columns: 1fr;
  }
  .chapter-note {
    padding-top: 14px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .creative-chapter--dark .chapter-note {
    border-top-color: var(--line-dark);
  }
  .pp-content {
    grid-template-columns: 1fr;
    gap: clamp(26px, 4vw, 40px);
  }
  .pp-toc {
    position: static;
  }
  .pp-toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
  }
  .pp-toc li {
    border-bottom: 0;
  }
  .pp-toc a {
    padding-block: 7px;
  }
}

@media (max-width: 940px) {
  .nav-links,
  .nav-social {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: clamp(30px, 6vw, 50px);
    padding-top: clamp(26px, 5vw, 50px);
  }
  .hero-copy {
    max-width: 760px;
  }
  .hero-figure {
    width: min(100%, 500px);
  }
  .hero-figure-frame {
    aspect-ratio: 4 / 3;
  }
  .hero-signature {
    font-size: clamp(7rem, 27vw, 18rem);
    bottom: 0;
  }
  .scroll-cue {
    display: none;
  }
  .sec-head-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-side {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    align-items: start;
    gap: 22px;
  }
  .portrait {
    grid-row: 1 / span 3;
  }
  .about-identity {
    margin-top: 0;
  }
  .halziz-top {
    grid-template-columns: 1fr;
  }
  .halziz-visual {
    width: min(100%, 500px);
  }
  .focus-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .focus-row p {
    grid-column: 2;
  }
  .founder {
    grid-template-columns: 90px minmax(0, 1fr);
  }
  .lab-feature {
    grid-template-columns: 1fr;
  }
  .lab-feature-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }
  .vision-intro {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .jp-intro {
    grid-template-columns: 1fr;
  }
  .jp-published {
    grid-template-columns: 1fr;
  }
  .closing-grid {
    grid-template-columns: 1fr;
  }
  .closing-contact {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 64px;
    --section-y: clamp(58px, 11vw, 100px);
  }
  .profile-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .creative-intro,
  .holo-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }
  .holo-card {
    min-height: 300px;
  }
  .business-card-panel {
    padding: 24px 20px 28px;
  }
  .hero {
    min-height: auto;
  }
  .hero-inner {
    min-height: 0;
    padding-bottom: clamp(64px, 12vw, 110px);
  }
  .hero-title {
    font-size: clamp(2.4rem, 11vw, 5rem);
  }
  .hero-topline .hero-issue {
    display: none;
  }
  .hero-identity {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-specs {
    gap: 8px 18px;
  }
  .hero-figure {
    width: 100%;
  }
  .hero-figure-frame {
    aspect-ratio: 4 / 3;
  }
  .hero-network {
    width: 120vw;
    right: -52%;
    opacity: 0.5;
  }
  .hero-signature {
    font-size: clamp(5.4rem, 30vw, 12rem);
  }
  .discipline-inner {
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .discipline-inner::-webkit-scrollbar {
    display: none;
  }
  .sec-title {
    font-size: clamp(1.85rem, 8.4vw, 3.4rem);
  }
  .attributes {
    grid-template-columns: 1fr;
  }
  .attributes li:last-child {
    grid-column: auto;
  }
  .halziz-visual {
    width: 100%;
    aspect-ratio: 5 / 4;
  }
  .founder {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .project-scroller {
    grid-auto-columns: 87vw;
    gap: 22px;
  }
  .project-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .project-media {
    aspect-ratio: 4 / 3;
  }
  .project-controls {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
  }
  .project-progress {
    grid-column: 1 / -1;
  }
  .project-content h3 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }
  .lab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lab-feature-body {
    padding: 26px 20px 30px;
  }
  .timeline {
    padding-left: 24px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .timeline-item::before {
    left: -24px;
  }
  .edu-grid {
    grid-template-columns: 1fr;
  }
  .journal-intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
  }
  .journal-status {
    flex-direction: column;
    gap: 4px;
  }
  .journal-planned-list li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }
  .journal-planned-list li > .label:last-child {
    grid-column: 2;
  }
  .vision-timeline {
    grid-template-columns: 1fr;
  }
  .phase {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark) !important;
  }
  .phase:last-child {
    border-bottom: 0 !important;
  }
  .phase:nth-child(n + 3) {
    border-bottom: 1px solid var(--line-dark);
  }
  .vision-network {
    width: 110vw;
    right: -45%;
    opacity: 0.4;
  }
  .contact-message {
    max-width: none;
  }
  .contact-links {
    flex-wrap: wrap;
  }
  .contact-channel-foot {
    font-size: 0.5rem;
  }
  .book-grid,
  .film-grid {
    grid-template-columns: 1fr;
  }
  .business-card-hint {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .business-card-controls {
    flex-wrap: wrap;
  }
  .card-control {
    flex: 1 1 30%;
  }
  .business-card-actions {
    grid-template-columns: 1fr;
  }
  .closing-wordmark {
    font-size: clamp(4rem, 22vw, 11rem);
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .footer-bottom .back-to-top {
    margin-top: 4px;
  }
  .pp-title {
    font-size: clamp(2.8rem, 13vw, 5.2rem);
  }
  .pp-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pp-media {
    aspect-ratio: 4 / 3;
  }
  .pp-content {
    padding-block: 34px 56px;
  }
  .pp-list {
    grid-template-columns: 1fr;
  }
  .pp-gallery {
    grid-template-columns: 1fr;
  }
  .pp-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .jp-title {
    font-size: clamp(2.8rem, 13vw, 5.4rem);
  }
  .jp-kicker,
  .pp-kicker,
  .article-kicker {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .jp-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .jp-empty {
    padding: 28px 20px 34px;
  }
  .article-title {
    font-size: clamp(2.2rem, 10vw, 4rem);
  }
  .article-body {
    padding-block: 34px 60px;
  }
}

@media (max-width: 560px) {
  .hero-title {
    font-size: clamp(2.2rem, 10.8vw, 3.6rem);
  }
  .hero-specs {
    grid-template-columns: 1fr;
  }
  .hero-specs div:last-child {
    grid-column: auto;
  }
  .hero-figure-frame {
    aspect-ratio: 1 / 1;
  }
  .hero-figure-notes {
    font-size: 0.46rem;
  }
  .portrait {
    padding-left: 10px;
  }
  .about-side {
    grid-template-columns: 1fr;
  }
  .portrait {
    grid-row: auto;
    max-width: 300px;
  }
  .about-identity {
    margin-top: 4px;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  .lab-grid {
    grid-template-columns: 1fr;
  }
  .lab-thumb {
    aspect-ratio: 4 / 3;
  }
  .contact-panel {
    padding: 20px 16px 24px;
  }
  .contact-details div {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .contact-details dd {
    text-align: left;
  }
  .mobile-menu-links a {
    font-size: clamp(1.55rem, 8.5vw, 2.4rem);
  }
  .mobile-menu-foot {
    flex-direction: column;
    gap: 6px;
  }
  .pp-meta {
    grid-template-columns: 1fr;
  }
  .pp-headline {
    margin-top: 12px;
  }
  .pp-hero {
    padding-block: 38px 34px;
  }
  .pp-toc ol {
    gap: 0 16px;
  }
  .pp-section h2 {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }
  .jp-filters {
    gap: 4px;
  }
  .jp-filter {
    padding: 5px 8px;
    font-size: 0.48rem;
  }
  .journal-planned-list h3 {
    font-size: 0.98rem;
  }
  .journal-planned-list li > .label:last-child {
    display: none;
  }
  .closing-wordmark {
    font-size: clamp(3.4rem, 21vw, 7rem);
  }
  .article-body > p {
    font-size: 0.92rem;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-figure-frame {
    aspect-ratio: 4 / 5;
  }
  .project-scroller {
    grid-auto-columns: 92vw;
  }
  .pp-title,
  .jp-title {
    font-size: 2.45rem;
  }
}

/* ---------- 26. Reduced motion / print ---------- */
@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 [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .scroll-cue i,
  .network .n-pulse {
    animation: none;
  }
}

@media print {
  .boot,
  .nav,
  .mobile-menu,
  .scroll-progress,
  .scroll-cue,
  .skip-link,
  .lightbox,
  .project-controls,
  .back-to-top {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .hero {
    min-height: 0;
  }
  .section {
    padding-block: 28px;
    break-inside: avoid;
  }
  .halziz,
  .vision,
  .closing {
    background: #fff;
    color: #000;
  }
  a {
    text-decoration: underline;
  }
}

/* Refinement v2.2 footer */

.closing {
  padding-block: clamp(52px, 7.4vw, 92px);
}

.closing-simple {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(28px, 6vw, 90px);
  padding-top: clamp(22px, 3.2vw, 36px);
  border-top: 1px solid var(--line-dark);
}

.closing-brand {
  font-family: var(--font-display);
  font-size: clamp(4rem, 13vw, 12rem);
  font-weight: 700;
  line-height: 0.74;
  letter-spacing: -0.075em;
  color: var(--on-dark);
  transition: color 0.3s ease;
}

.closing-brand:hover {
  color: var(--red-light);
}

.closing-simple .closing-statement {
  flex: 0 0 auto;
  text-align: right;
  font-size: clamp(1rem, 1.9vw, 1.45rem);
  line-height: 1.35;
  color: var(--on-dark-2);
}

.closing-simple .closing-statement em {
  color: var(--red-light);
  font-style: normal;
}

@media (max-width: 860px) {
  .closing-simple {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }

  .closing-simple .closing-statement {
    text-align: left;
  }
}
