/* Homepage: a continuous navy scene, with native document scrolling. */
html:has(.home-page) { scroll-padding-top: 0; }
.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }
.home-page {
  --canvas: #0b1729;
  --ink: #edf1f6;
  --muted: #a4b1c4;
  --line: rgba(170, 189, 215, 0.18);
  --accent: #d6c4a7;
  --gutter: clamp(28px, 7.5vw, 144px);
  --hero-progress: 0;
  --depth-scale: 1;
  --depth-turn: -24deg;
  --depth-shift: 0px;
  --layer-two: 0.12;
  --layer-three: 0;
  --layer-four: 0;
  --layer-five: 0;
  --read-progress: 0;
  background: var(--canvas);
  color: var(--ink);
  overflow-x: clip;
}

.home-page ::selection { background: #607b9f; color: #fff; }
.home-page .main { position: relative; margin: 0; }
.home-page .main > .container { width: 100%; max-width: none; }
.home-page .main .main-container .content { padding: 0; }
.home-page #index { isolation: isolate; }
.home-page #index > [id] { scroll-margin-top: 0; }

/* A single visual motif acquires new layers as the reader moves deeper. */
.depth-scene { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.depth-light {
  position: absolute;
  inset: -25%;
  background: radial-gradient(ellipse at 72% 42%, #28466d 0, #162b48 25%, transparent 58%);
  opacity: 0.5;
  transform: translateY(var(--depth-shift));
}
.depth-rings {
  position: absolute;
  top: calc(50% - 40vw);
  left: 38%;
  width: 80vw;
  height: 80vw;
  transform: rotate(var(--depth-turn)) scale(var(--depth-scale));
}
.depth-rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(155, 181, 219, 0.13);
  border-radius: 47% 53% 58% 42% / 38% 44% 56% 62%;
}
.depth-rings i:nth-child(2) { inset: 10%; transform: rotate(18deg); opacity: var(--layer-two); }
.depth-rings i:nth-child(3) { inset: 20%; transform: rotate(36deg); opacity: var(--layer-three); }
.depth-rings i:nth-child(4) { inset: 30%; transform: rotate(54deg); opacity: var(--layer-four); border-color: rgba(214, 196, 167, 0.3); }
.depth-rings i:nth-child(5) { inset: 40%; transform: rotate(72deg); opacity: var(--layer-five); }
.depth-grain {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.24' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}

/* Fixed navigation stays small enough to leave the scene in view. */
.home-page .header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 0;
  background: linear-gradient(#0b1729e8, #0b172900) !important;
  transition: background 300ms;
}
.home-page.has-scrolled .header { background: rgba(11, 23, 41, 0.94) !important; }
.home-page .header::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(var(--read-progress));
  transform-origin: left;
  content: "";
}
.home-page .header > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: auto;
  max-width: none;
  min-height: 82px;
  margin: 0 var(--gutter);
}
.home-page .header .header-container { min-height: 0; }
.home-page .header .header-title .title { font-size: 0.7rem; letter-spacing: 0.2em; }
.home-page .header .header-title .subtitle { display: none; }
.home-page .nav { border: 0; }
.home-page .nav ul { display: flex; gap: 1.8rem; }
.home-page .nav ul li a { padding: 16px 0; color: #c1ccdc; font-size: 0.75rem; font-weight: 400; }
.home-page .nav ul li a:hover { color: var(--accent); }
.home-page .nav .nav-toggle { display: none; }
.chapter-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 15;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}
.chapter-nav a { display: flex; gap: 12px; align-items: center; justify-content: flex-end; min-height: 24px; color: #a4b1c4; text-decoration: none; border: 0; }
.chapter-nav span { font: 400 10px/1 var(--sans); opacity: 0; transition: opacity 200ms; }
.chapter-nav i { width: 10px; height: 1px; background: #62758f; transition: width 300ms, background 300ms; }
.chapter-nav a[aria-current] { color: var(--accent); }
.chapter-nav a[aria-current] i { width: 24px; background: var(--accent); }
.chapter-nav a[aria-current] span, .chapter-nav:hover span, .chapter-nav a:focus-visible span { opacity: 1; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 30; padding: 12px 18px; color: #101e35; background: #edf1f6; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* Opening shot. The portrait widens and moves closer with scroll. */
.home-page .home-hero {
  display: block;
  min-height: 760px;
  height: 100svh;
  overflow: visible;
  background: transparent;
}
.home-page .home-hero::before, .home-page .home-hero::after { content: none; }
.home-page.motion-ready .home-hero { height: 165svh; }
.hero-scene { position: relative; height: 100svh; min-height: 760px; overflow: clip; background: var(--canvas); }
.motion-ready .hero-scene { position: sticky; top: 0; min-height: 640px; }
.home-page .hero-copy {
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 var(--gutter);
  width: 51%;
  padding: 110px 0 80px;
  opacity: calc(1 - var(--hero-progress) * 0.25);
  transform: translateY(calc(var(--hero-progress) * -24px));
}
.home-page .hero-copy .eyebrow { display: flex; align-items: center; gap: 14px; color: #b5c4d9; font-size: 9px; font-weight: 500; letter-spacing: 0.18em; margin-bottom: 36px; }
.home-page .eyebrow .eyebrow-rule { display: block; width: 28px; height: 1px; padding: 0; margin: 0; background: #6b809c; }
.home-page .hero-copy h1 { font-size: clamp(72px, 7.6vw, 132px); font-weight: 400; line-height: 1.03; letter-spacing: -0.055em; }
.home-page .hero-copy h1 em { display: inline-block; margin-top: 8px; color: #c0ccdd; font-size: 0.82em; }
.hero-identity { margin: 38px 0 0; color: #d5deea; font-size: 14px; letter-spacing: 0.04em; }
.home-page .hero-lead { max-width: 390px; margin-top: 14px; color: #a5b6cc; font-size: 14px; line-height: 1.95; }
.home-page .hero-actions { margin-top: 34px; gap: 30px; }
.home-page .primary-action { min-width: 132px; padding: 12px 0; color: var(--accent); background: transparent; border-bottom: 1px solid #677485; font-size: 12px; font-weight: 400; }
.home-page .primary-action:hover { color: #fff; border-color: var(--accent); transform: none; }
.home-page .text-action { color: #b5c4d9; font-size: 12px; font-weight: 400; }
.home-page .text-action span { color: var(--accent); }
.home-page .hero-status { margin-top: 28px; font-size: 10px; color: #9bacbf; }
.home-page .status-dot { width: 4px; height: 4px; box-shadow: none; }
.home-page .hero-portrait {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  width: calc(55% + var(--hero-progress) * 18%);
  height: 100%;
  align-self: stretch;
  margin: 0;
  overflow: clip;
}
.home-page .portrait-frame { height: 100%; max-height: none; min-height: 0; background: var(--canvas); }
.home-page .portrait-frame img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-position: 50% 52%;
  filter: saturate(0.65) brightness(0.74);
  transform: scale(calc(1.02 + var(--hero-progress) * 0.1));
  user-select: none;
  -webkit-user-drag: none;
}
.home-page .portrait-frame::after {
  background: linear-gradient(90deg, var(--canvas) 0%, rgba(11, 23, 41, 0.88) 10%, rgba(11, 23, 41, 0.08) 45%), linear-gradient(270deg, #0b172970, transparent 18%), linear-gradient(0deg, var(--canvas), transparent 24%, transparent 85%, #0b172938);
}
.home-page .hero-portrait figcaption {
  position: absolute;
  right: var(--gutter);
  bottom: 62px;
  left: 38%;
  padding: 0;
  color: #c8d2df;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.2em;
  opacity: calc(1 - var(--hero-progress));
}
.scroll-cue { position: absolute; bottom: 24px; left: var(--gutter); z-index: 4; display: flex; align-items: center; gap: 16px; color: #c0ccda; font-size: 10px; text-decoration: none; border: 0; }
.scroll-cue-en { font-size: 8px; color: #7f91aa; letter-spacing: 0.14em; }
.scroll-cue-line { position: relative; height: 42px; width: 1px; background: #3e5069; overflow: hidden; }
.scroll-cue-line::after { position: absolute; width: 1px; height: 24px; background: var(--accent); content: ""; transform: translateY(calc(var(--hero-progress) * 24px)); }

/* A pinned shot with three depth planes, driven entirely by scroll position. */
.lens-track { position: relative; --lens-turn: -24deg; --lens-tilt: 56deg; --lens-scale: 0.88; }
.lens-stage { position: relative; padding: 100px var(--gutter); overflow: clip; background: radial-gradient(ellipse at 75% 50%, #1b33524d, transparent 55%); }
.lens-heading { position: relative; z-index: 2; }
.lens-heading .section-index { margin-bottom: 16px; }
.lens-heading h2 { margin: 0; color: #d8e1ed; font: 400 20px/1.2 var(--serif); }
.lens-topic { padding: 48px 0; }
.lens-topic > p { margin: 0 0 18px; color: #c5d2e4; font: 400 14px/1.5 var(--sans); letter-spacing: 0.15em; }
.lens-topic h3 { margin: 0 0 24px; color: #e4ebf5; font: 400 clamp(76px, 8.5vw, 140px)/0.95 var(--sans); letter-spacing: -0.075em; }
.lens-topic > span { color: #9bacbf; font-size: 13px; }
.lens-orbit { display: none; }
.lens-labels { display: none; }
.motion-ready .lens-track { height: 260svh; min-height: 1500px; }
.motion-ready .lens-stage { position: sticky; top: 0; height: 100svh; min-height: 620px; padding-top: 112px; }
.motion-ready .lens-topics { position: absolute; z-index: 2; top: 25%; bottom: 15%; left: var(--gutter); width: 51%; }
.motion-ready .lens-topic { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0; opacity: var(--topic-opacity, 0); filter: blur(var(--topic-blur, 0px)); transform: translateY(var(--topic-y, 0px)) scale(var(--topic-scale, 1)); transform-origin: left center; }
.motion-ready .lens-topic:first-child { opacity: var(--topic-opacity, 1); }
.motion-ready .lens-orbit {
  display: block;
  position: absolute;
  top: calc(50% - 230px);
  right: 8%;
  width: 460px;
  height: 460px;
  transform: perspective(1000px) rotateX(var(--lens-tilt)) rotateZ(var(--lens-turn)) scale(var(--lens-scale));
  transform-style: preserve-3d;
}
.lens-orbit span, .lens-orbit i { position: absolute; inset: 0; border: 1px solid #a4bbd966; border-radius: 50%; }
.lens-orbit span:first-child { box-shadow: inset 0 0 30px #7d9ac31a, 0 0 30px #7d9ac30d; }
.lens-orbit span:nth-child(2) { transform: rotateY(60deg); border-color: #92aacc99; }
.lens-orbit span:nth-child(3) { transform: rotateX(60deg); }
.lens-orbit span:nth-child(4) { transform: rotateY(-60deg); border-color: #d6c4a780; }
.lens-orbit i { inset: 23%; transform: translateZ(80px); border-color: #d6c4a766; }
.motion-ready .lens-labels { position: absolute; z-index: 3; bottom: 64px; left: var(--gutter); right: var(--gutter); display: flex; gap: 36px; }
.lens-labels span { flex: 1; max-width: 160px; border-top: 1px solid #6b809c40; padding-top: 16px; color: #71859f; font-size: 9px; letter-spacing: 0.12em; transition: color 300ms, border-color 300ms; }
.lens-labels .is-active { color: var(--accent); border-color: var(--accent); }

/* Chapters share the same scene; their surfaces grow quieter toward the end. */
.home-page .signal-strip { position: relative; margin: 0 var(--gutter); background: transparent; border-bottom: 1px solid var(--line); }
.home-page .signal-strip > div { min-height: 146px; padding: 20px 32px; }
.home-page .signal-strip > div:first-child { padding-left: 0; }
.home-page .signal-strip strong { color: #dde5f0; font-size: 36px; }
.home-page .signal-strip span { color: #94a5bb; font-weight: 400; font-size: 10px; }
.home-page .research-showcase, .home-page .experience-grid { position: relative; padding: 150px var(--gutter); background: transparent; }
.home-page .section-heading { gap: 60px; margin-bottom: 64px; }
.home-page .section-index { color: var(--accent); font-size: 9px; font-weight: 500; letter-spacing: 0.2em; }
.home-page .section-heading h2, .home-page .writing-heading h2 { font-size: clamp(36px, 4.3vw, 68px); font-weight: 400; letter-spacing: -0.04em; }
.home-page .section-heading > p { max-width: 420px; font-size: 13px; line-height: 1.95; }
.home-page .research-card { grid-template-columns: 64px minmax(0, 1fr) 180px; gap: 32px; padding: 50px 0; min-height: 360px; }
.home-page .research-number { color: #8d9cb2; font-size: 10px; }
.home-page .research-meta { font-size: 9px; font-weight: 400; }
.home-page .research-meta span:first-child { color: var(--accent); }
.home-page .research-main h3 { font-size: clamp(42px, 5vw, 76px); font-weight: 400; }
.home-page .research-subtitle { color: #a6b7cf; font-size: 16px; }
.home-page .research-main > p:not(.research-subtitle) { color: #adbbce; font-size: 13px; }
.home-page .metric-row strong { color: #dde5ef; font-size: 28px; }
.home-page .metric-row span { font-size: 10px; color: #94a5bb; }
.home-page .research-glyph, .home-page .observability-glyph { display: block; width: 156px; height: 156px; opacity: 0.75; transform: rotate(var(--depth-turn)); }
.home-page .research-glyph span { border-color: #7089ab; }
.home-page .research-glyph span:nth-child(2) { border-color: var(--accent); }
.home-page .research-glyph span:nth-child(4) { inset: 62px; background: #9ab1cf; }
.home-page .research-glyph::after { background: #7089ab; }
.home-page .observability-glyph { border-color: #7089ab; background: repeating-linear-gradient(90deg, transparent 0 13px, #7089ab30 13px 14px); }
.home-page .observability-glyph::before { border-color: #a9bdd8; }
.home-page .observability-glyph::after { inset: 63px; background: #a9bdd8; }
.home-page .observability-glyph span { background: #172b46; border-color: var(--accent); }
.home-page .experience-grid { padding-top: 110px; padding-bottom: 130px; background: linear-gradient(120deg, rgba(26, 45, 71, 0.72), rgba(16, 30, 53, 0.35)); border-block: 1px solid var(--line); }
.home-page .experience-list article { padding: 36px 0; }
.home-page .experience-list h3 { font-size: 24px; font-weight: 400; }
.home-page .experience-list p { font-size: 13px; line-height: 1.9; }
.home-page .experience-time { color: #b2bed0; font-weight: 400; }
.home-page .experience-tag { color: var(--accent); font-size: 9px; font-weight: 400; }
.home-page .writing-heading { padding: 150px var(--gutter) 60px; background: rgba(8, 18, 33, 0.42); }
.home-page .writing-heading p { color: #a4b1c4; font-size: 12px; }
.home-page .writing-heading .section-index { color: var(--accent); font-size: 9px; margin-bottom: 20px; }
.home-page #index > article.post { margin: 0; padding: 38px var(--gutter); background: rgba(8, 18, 33, 0.42); border-color: var(--line); }
.home-page #index > article.post:hover { background: rgba(33, 53, 81, 0.6); }
.home-page #index > article.post .post-header { gap: 28px; }
.home-page #index > article.post .post-header .post-title .post-title-link { color: #dbe3ef; font: 400 clamp(22px, 2.3vw, 34px)/1.5 var(--serif); }
.home-page #index > article.post .post-main { font-size: 12px; color: #9eafc5; margin-top: 12px; }
.home-page #index > article.post .post-meta { color: #9eafc5; font-size: 10px; }
.home-page #index > article.post .post-meta a { color: var(--accent); }
.home-page #index > article.post .post-footer .post-tags .post-tag { padding: 3px 8px; border: 1px solid #8498b140; border-radius: 2px; color: #aabbd1; background: transparent; font-size: 9px; }
.home-page #index > article.post .post-footer .post-tags .post-tag:hover { color: var(--accent); border-color: var(--accent); }
.home-contact { position: relative; min-height: 75svh; padding: 150px var(--gutter) 90px; overflow: hidden; border-top: 1px solid var(--line); }
.home-contact h2 { margin: 0 0 28px; color: #edf1f6; font: 400 clamp(36px, 4.5vw, 70px)/1.2 var(--serif); }
.home-contact > p:not(.section-index):not(.contact-signature) { color: #a4b1c4; font-size: 13px; }
.contact-email { display: inline-flex; align-items: center; gap: 48px; padding: 24px 0 15px; color: var(--accent); border-bottom: 1px solid #637188; text-decoration: none; font: 400 clamp(17px, 2.4vw, 36px)/1.4 var(--serif); }
.contact-email:hover { color: #fff; border-color: var(--accent); }
.contact-links { display: flex; gap: 32px; margin-top: 34px; }
.contact-links a { color: #a4b1c4; border: 0; font-size: 11px; text-decoration: none; }
.contact-links a:hover { color: var(--accent); }
.contact-signature { margin: 70px 0 0; color: #617693; font: italic 400 34px/1 var(--serif); }
.home-page .footer { position: relative; margin: 0; border-top: 1px solid var(--line); background: #0a1525 !important; }
.home-page .footer > .container { width: auto; max-width: none; margin: 0 var(--gutter); }
.home-page .footer .footer-container { font-size: 10px; color: #9daec4; }
.home-page .footer .back-to-top { display: none; }
.home-page .footer .powered-by { display: none; }
.home-page .footer .busuanzi { display: none; }
.home-page .footer a { color: #becbdd; }

@media (min-width: 1600px) {
  .home-page { --gutter: max(120px, calc((100vw - 1480px) / 2)); }
  .home-page .hero-portrait { width: calc(54% + var(--hero-progress) * 15%); }
}

@media (max-width: 1100px) {
  .home-page { --gutter: 56px; }
  .home-page .hero-copy h1 { font-size: 80px; }
  .home-page .hero-copy .eyebrow { font-size: 8px; gap: 10px; }
  .home-page .hero-copy { width: 55%; }
  .home-page .hero-portrait { width: calc(58% + var(--hero-progress) * 15%); }
  .home-page .section-heading { gap: 40px; grid-template-columns: 1fr 1fr; }
  .home-page .research-card { grid-template-columns: 44px minmax(0, 1fr); }
  .home-page .research-glyph, .home-page .observability-glyph { display: none; }
  .home-page .experience-list article { grid-template-columns: 115px minmax(0, 1fr); gap: 24px; }
  .home-page .experience-tag { grid-column: 2; justify-self: start; }
  .home-page #index > article.post .post-header { grid-template-columns: 1fr; gap: 12px; }
  .chapter-nav { right: 12px; }
  .chapter-nav span { display: none; }
  .chapter-nav a[aria-current] i { width: 18px; }
  .motion-ready .lens-orbit { width: 360px; height: 360px; top: calc(50% - 180px); right: 6%; opacity: 0.7; }
}

@media (max-width: 760px) {
  .home-page { --gutter: 26px; }
  .home-page .header > .container { min-height: 66px; }
  .home-page .header .header-title .title { font-size: 9px; letter-spacing: 0.14em; }
  .home-page .nav ul { gap: 20px; }
  .home-page .nav ul li:nth-child(2), .home-page .nav .nav-contact { display: none; }
  .home-page .nav ul li a { font-size: 11px; padding: 14px 0; }
  .chapter-nav { display: none; }
  .home-page #index > [id] { scroll-margin-top: 0; }
  .home-page .home-hero { min-height: 780px; height: 100svh; }
  .home-page.motion-ready .home-hero { height: 130svh; min-height: 920px; }
  .hero-scene, .motion-ready .hero-scene { height: 100svh; min-height: 780px; }
  .home-page .hero-portrait { inset: 0 0 auto; width: 100%; height: 65%; }
  .home-page .portrait-frame img { object-position: 50% 44%; filter: saturate(0.6) brightness(0.7); }
  .home-page .portrait-frame::after { background: linear-gradient(0deg, var(--canvas) 0%, #0b1729e0 14%, #0b172940 45%, #0b172926 75%, #0b172960); }
  .home-page .hero-portrait figcaption { display: none; }
  .home-page .hero-copy { inset: auto var(--gutter) 74px; width: auto; padding: 0; opacity: calc(1 - var(--hero-progress) * 0.25); transform: translateY(calc(var(--hero-progress) * -14px)); }
  .home-page .hero-copy .eyebrow { margin-bottom: 24px; font-size: 7px; gap: 12px; color: #c6d1e0; }
  .home-page .hero-copy h1 { font-size: clamp(58px, 15vw, 88px); line-height: 1.02; }
  .home-page .hero-copy h1 em { margin-top: 4px; }
  .hero-identity { margin-top: 24px; font-size: 11px; }
  .home-page .hero-lead { margin-top: 10px; font-size: 12px; }
  .home-page .hero-actions { margin-top: 20px; gap: 26px; }
  .home-page .primary-action { min-width: 115px; padding: 10px 0; font-size: 11px; }
  .home-page .text-action { font-size: 11px; }
  .home-page .hero-status { margin-top: 20px; font-size: 9px; }
  .scroll-cue { bottom: 24px; gap: 12px; font-size: 9px; }
  .scroll-cue-line { height: 23px; }
  .scroll-cue-en { font-size: 7px; }
  .home-page .signal-strip { grid-template-columns: 1fr 1fr; }
  .home-page .signal-strip > div { min-height: 112px; padding: 24px 16px; }
  .home-page .signal-strip > div:nth-child(odd) { padding-left: 0; }
  .home-page .signal-strip > div:nth-child(even) { border-right: 0; }
  .home-page .signal-strip > div:nth-last-child(-n+2) { border-bottom: 0; }
  .home-page .signal-strip strong { font-size: 30px; }
  .home-page .signal-strip span { font-size: 9px; }
  .home-page .research-showcase, .home-page .experience-grid { padding: 90px var(--gutter); }
  .home-page .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
  .home-page .section-heading > p { font-size: 12px; }
  .home-page .research-card { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
  .home-page .research-number { font-size: 8px; }
  .home-page .research-main h3 { font-size: 48px; }
  .home-page .research-meta { font-size: 8px; }
  .home-page .research-subtitle { font-size: 14px; }
  .home-page .research-main > p:not(.research-subtitle) { font-size: 12px; }
  .home-page .metric-row { gap: 24px; margin-top: 28px; }
  .home-page .metric-row strong { font-size: 25px; }
  .home-page .metric-row span { font-size: 9px; }
  .home-page .experience-list article { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .home-page .experience-list h3 { font-size: 23px; }
  .home-page .experience-list p { font-size: 12px; }
  .home-page .experience-tag { grid-column: 1; font-size: 8px; }
  .home-page .writing-heading { padding: 90px var(--gutter) 36px; }
  .home-page .writing-heading > div { display: block; }
  .home-page .writing-heading > div p { margin-top: 20px; font-size: 11px; }
  .home-page #index > article.post { padding: 30px var(--gutter); }
  .home-page #index > article.post .post-meta { white-space: normal; font-size: 9px; }
  .home-page #index > article.post .post-main { font-size: 11px; }
  .home-contact { min-height: 0; padding: 100px var(--gutter) 70px; }
  .home-contact > p:not(.section-index):not(.contact-signature) { font-size: 12px; line-height: 1.9; }
  .contact-email { display: flex; justify-content: space-between; gap: 12px; overflow-wrap: anywhere; font-size: 18px; }
  .contact-links { gap: 24px; }
  .contact-signature { margin-top: 64px; }
  .depth-rings { width: 150vw; height: 150vw; top: 30%; left: 15%; }
  .motion-ready .lens-track { height: 260svh; min-height: 1700px; }
  .lens-stage, .motion-ready .lens-stage { padding: 100px var(--gutter) 70px; }
  .motion-ready .lens-orbit { top: 24%; right: calc(50% - 125px); width: 250px; height: 250px; opacity: 0.6; }
  .motion-ready .lens-topics { top: 43%; bottom: 16%; width: calc(100% - var(--gutter) * 2); }
  .lens-topic h3 { font-size: 68px; }
  .lens-topic > p { font-size: 12px; }
  .lens-topic > span { font-size: 11px; }
  .motion-ready .lens-labels { bottom: 36px; gap: 16px; }
  .lens-labels span { font-size: 7px; }
}

/* Both reduced-motion and no-JS visitors receive the full, readable page. */
@media (prefers-reduced-motion: reduce) {
  .home-page .home-hero { height: auto; min-height: 0; }
  .hero-scene, .motion-ready .hero-scene { position: relative; }
  .home-page .hero-copy, .home-page .portrait-frame img, .depth-rings, .depth-light { transform: none; opacity: 1; }
  .home-page .lens-track { height: auto; min-height: 0; }
  .home-page .lens-stage { position: relative; height: auto; min-height: 0; }
  .home-page .lens-topics { position: static; width: auto; }
  .home-page .lens-topic { position: static; padding: 48px 0; opacity: 1; transform: none; filter: none; }
  .home-page .lens-labels, .home-page .lens-orbit { display: none; }
}
