/* ==========================================================================
   Jiazhe Wei — homepage stylesheet
   Plain CSS on purpose: nothing here goes through Sass, so the local Jekyll
   and the GitHub Pages build produce the same file.

   Contents
     1. Fonts and icons
     2. Tokens (colour, type, spacing, motion)  <- start here to retune the look
     3. Base
     4. Buttons, chips, plates
     5. Navigation
     6. Hero
     7. Bands and pools (section shell, light/dark rhythm, diagonal seams, titles)
     8. About / News / Publications / Timeline / Projects / Talks
     9. Footer, lightbox
    10. Motion preferences, small screens
   ========================================================================== */

/* 1. Fonts and icons ------------------------------------------------------ */

@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}
@font-face {
  font-family: "Jost";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/jost-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}

/* Font Awesome 5 Free — only the glyphs this page uses.
   To add an icon, look its code point up in the Font Awesome 5 cheatsheet. */
@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("../fonts/fa-solid-900.woff2") format("woff2");
}
@font-face {
  font-family: "Font Awesome 5 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/fa-brands-400.woff2") format("woff2");
}
.fas, .fab {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fas { font-family: "Font Awesome 5 Free"; font-weight: 900; }
.fab { font-family: "Font Awesome 5 Brands"; font-weight: 400; }
.fa-envelope::before       { content: "\f0e0"; }
.fa-graduation-cap::before { content: "\f19d"; }
.fa-file-pdf::before       { content: "\f1c1"; }
.fa-globe::before          { content: "\f0ac"; }
.fa-star::before           { content: "\f005"; }
.fa-chevron-down::before   { content: "\f078"; }
.fa-times::before          { content: "\f00d"; }
.fa-copy::before           { content: "\f0c5"; }
.fa-microphone-alt::before { content: "\f3c9"; }
.fa-thumbtack::before      { content: "\f08d"; }
.fa-file-alt::before       { content: "\f15c"; }
.fa-cube::before           { content: "\f1b2"; }
.fa-check::before          { content: "\f00c"; }
.fa-github::before         { content: "\f09b"; }
.fa-weixin::before         { content: "\f1d7"; }
.fa-linkedin::before       { content: "\f08c"; }

/* 2. Tokens --------------------------------------------------------------- */

:root {
  /* Blues, from the water surface down */
  --surface:  #3fe3ff;
  --azure:    #2672d8;
  --ultra:    #1230d2;
  --deep:     #0c1ca8;
  --abyss:    #081287;
  --trench:   #050b62;
  --midnight: #03063a;

  /* Light fields and text. --shore is what white tints to as it nears a pool. */
  --frost: #e9f1f8;
  --shore: #d8e9fb;
  --mist:  #c3d7ea;
  --white: #ffffff;
  --ink:   #0f2540;

  /* The single warm accent — "NEW" stickers, the open call, the Oral badge */
  --signal: #e5002d;

  --serif: "Bodoni Moda", "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --sans:  "Jost", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;

  /* Bodoni Moda is drawn very thin at display sizes. Two axes thicken it without changing the
     typeface: weight, and optical size (a lower "opsz" means sturdier hairlines). These values
     set how heavy every serif on the page looks; raise the weights if it still feels too light. */
  --name-weight:    490;  /* hero name: the largest type on the page, so a touch lighter */
  --name-opsz:      23;
  --display-weight: 540;  /* section titles, project names */
  --display-opsz:   17;
  --serif-weight:   520;  /* dates, venues, the research-interest list */
  --serif-opsz:     12;
  --call-weight:    800;  /* the red open-call line: a fat-face italic */
  --call-opsz:      10;

  --wrap:   1180px;
  --gutter: clamp(20px, 5vw, 72px);
  --nav-h:  64px;
  --skew:   -14deg;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.7, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 3. Base ----------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) - 1px);
  background: var(--midnight);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 430;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Seam hairlines and selection plates reach past the page edge; cut them off without creating a scroller. */
main { overflow-x: clip; }
::selection { background: var(--surface); color: var(--ink); }

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

/* "A silhouette with the sky inside it": a shape is filled with deep blue and drifting cloud banks.
   Used for the section titles on white and for the plate behind the portrait. The cloud layer is
   images/sky-fill.webp (tiles both ways); --fy shifts it as the page scrolls (set by site.js), so
   the shape reads as a window onto something further away. */
.sky-fill, .band:not(.band--pool) h2:not(.is-split), .band:not(.band--pool) h2 .rise__in {
  background-image: url("../../images/sky-fill.webp"), linear-gradient(170deg, #1a4fe6 0%, var(--ultra) 45%, #0c1fb0 100%);
  background-size: 520px auto, 100% 100%;
  background-repeat: repeat, no-repeat;
  background-position: 0 var(--fy, 0px), 0 0;
}
@media (prefers-reduced-motion: no-preference) {
  .is-onscreen.sky-fill, h2.is-onscreen:not(.is-split), h2.is-onscreen .rise__in { animation: sky-drift 70s linear infinite; }
}
@keyframes sky-drift { to { background-position: -520px var(--fy, 0px), 0 0; } }
p { margin: 0 0 1em; }
strong, b { font-weight: 650; }
u { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--focus, var(--ink));
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* 4. Buttons, chips, plates ---------------------------------------------- */

/* Pill button with a physical edge: it lifts on hover and sinks when pressed. */
.btn {
  --btn-bg: var(--white);
  --btn-fg: var(--ultra);
  --btn-edge: rgba(3, 6, 58, 0.55);
  --btn-sweep: var(--surface);
  --btn-fg-hover: var(--ink);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 0.98rem/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--btn-edge);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring), color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0 -22%;
  z-index: -1;
  background: var(--btn-sweep);
  transform: translateX(-125%) skewX(-18deg);
  transition: transform 0.55s var(--ease-out);
}
.btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--btn-edge);
  transition-duration: 0.08s;
}
.btn--solid {
  --btn-bg: linear-gradient(90deg, #1f8df2, var(--ultra));
  --btn-fg: var(--white);
  --btn-edge: var(--abyss);
  --btn-sweep: var(--midnight);
  --btn-fg-hover: var(--white);
}
.btn .icon-x { width: 1em; height: 1em; }

/* Small outlined pill used for paper resources. */
.chip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  height: 36px;
  padding: 0 15px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font: 600 0.9rem/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.45s var(--ease-spring), color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.chip::before {
  content: "";
  position: absolute;
  inset: -2px -22%;
  z-index: -1;
  background: var(--ink);
  transform: translateX(-125%) skewX(-18deg);
  transition: transform 0.45s var(--ease-out);
}
.chip:active { transform: scale(0.94); transition-duration: 0.08s; }
button.chip { background: transparent; cursor: pointer; }
/* Copy-to-clipboard chip (the WeChat ID): flips to ink and says "Copied" for a moment. */
.chip--copy { height: 32px; margin: 0 2px; padding: 0 12px; vertical-align: 0.05em; font-size: 0.95rem; }
.chip--copy .fas { font-size: 0.8em; }
.chip--copy.is-done { color: var(--white); }
.chip--copy.is-done::before { transform: translateX(0) skewX(-18deg); }
.chip__arxiv { font: italic 700 0.86rem/1 var(--serif); color: #b31b1b; transition: color 0.2s; }
.chip__stars {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding-left: 0.6em;
  border-left: 1.5px solid currentColor;
  font-variant-numeric: tabular-nums;
}
.chip__stars[hidden] { display: none; }
.chip__stars .fas { font-size: 0.78em; }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--btn-edge); color: var(--btn-fg-hover); }
  .btn:hover::before { transform: translateX(0) skewX(-18deg); }
  .btn:hover:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--btn-edge); }
  .chip:hover { color: var(--white); }
  .chip:hover .chip__arxiv { color: var(--white); }
  .chip:hover::before { transform: translateX(0) skewX(-18deg); }
}

/* Water ripple from the point of contact (added by site.js). */
.ripple {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.3;
  transform: scale(0);
  pointer-events: none;
  animation: ripple 0.65s var(--ease-out) forwards;
}
@keyframes ripple {
  to { transform: scale(1); opacity: 0; }
}

/* Slanted label, borrowed from the game's menu plates. */
.plate {
  display: inline-block;
  padding: 5px 20px 5px 14px;
  background: var(--ink);
  color: var(--white);
  font: italic 700 0.84rem/1.2 var(--sans);
  letter-spacing: 0.03em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
}

/* Presentation badge of a paper (Oral / Poster / Tech Report): a ribbon that wraps round the card's
   left edge. It sticks out past the card, carries a fold where it turns the corner (::after) and a
   hard shadow, so it reads as an object lying on the card rather than a label printed on it.
   The whole badge is skewed with a transform, upright type included — that is where the slant of
   the letters comes from, as on the "NEW" sticker. Loudness follows prestige: red, cyan, ink. */
.badge {
  --badge-bg: var(--ink);
  --badge-fg: var(--white);
  --badge-fold: #050d1c;
  --jut: 16px;

  position: absolute;
  z-index: 2;
  top: 20px;
  left: calc(-1 * var(--jut));
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 8px 20px 8px 15px;
  background: var(--badge-bg);
  color: var(--badge-fg);
  font: 800 0.98rem/1.15 var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 5px 6px 0 rgba(3, 6, 58, 0.3);
  transform: translateZ(1px) skewX(var(--skew));
  transform-origin: 0 100%;
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out), padding 0.45s var(--ease-out);
  pointer-events: none;
}
.badge::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.84em;
  letter-spacing: 0;
  line-height: 1;
}
.badge::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: var(--jut);
  height: 9px;
  background: var(--badge-fold);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.badge--oral   { --badge-bg: var(--signal);  --badge-fold: #8f001c; }
.badge--poster { --badge-bg: var(--surface); --badge-fg: var(--ink); --badge-fold: #1593b4; }
.badge--report { --badge-bg: var(--ink);     --badge-fold: #050d1c; }
/* Ink on a dark figure would vanish, so the quiet one gets a pale inner line. */
.badge--report { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5), 5px 6px 0 rgba(3, 6, 58, 0.3); }
.badge--oral::before   { content: "\f3c9"; }
.badge--poster::before { content: "\f08d"; }
.badge--report::before { content: "\f15c"; }

/* 5. Navigation ----------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  color: var(--ink);
  --focus: var(--ink);
  transition: background-color 0.35s, box-shadow 0.35s;
}
.nav.is-solid {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(15, 37, 64, 0.14);
}
.nav__brand {
  flex: none;
  font: 1.5rem/1 var(--serif);
  font-weight: var(--serif-weight);
  font-optical-sizing: none;
  font-variation-settings: "opsz" var(--serif-opsz);
  letter-spacing: -0.01em;
  color: inherit;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.35s, transform 0.5s var(--ease-out);
}
.nav.is-solid .nav__brand { opacity: 1; transform: none; pointer-events: auto; }

.nav__scroller {
  margin-left: auto;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav__scroller::-webkit-scrollbar { display: none; }
.nav__links {
  position: relative;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0 8px;
  list-style: none;
  white-space: nowrap;
}
.nav__link {
  position: relative;
  z-index: 1;
  display: block;
  padding: 10px 14px;
  font-weight: 560;
  font-size: 1rem;
  line-height: 1.2;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
@media (hover: hover) {
  .nav__link:hover::after { transform: scaleX(1); }
}
.nav__link.is-active { color: var(--white); }
.nav__link.is-active::after { transform: scaleX(0); }
.nav__link:focus-visible { outline-offset: -2px; }

/* The plate slides under whichever section is on screen. */
.nav__plate {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 0;
  width: var(--w, 0px);
  height: 36px;
  margin-top: -18px;
  background: var(--ultra);
  opacity: 0;
  transform: translateX(var(--x, 0px)) skewX(var(--skew));
  transition: transform 0.55s var(--ease-out), width 0.55s var(--ease-out), opacity 0.25s;
  pointer-events: none;
}
.nav__plate.is-on { opacity: 1; }

/* 6. Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: max(100vh, 680px);
  min-height: max(100svh, 680px);
  color: var(--white);
  background: linear-gradient(180deg, #86f4ff 0%, #33cdff 10%, #1688f7 31%, var(--ultra) 60%, #0a10a2 100%);
  --focus: var(--white);
  /* Where the white field ends on narrow screens (right edge, left edge). */
  --wedge-r: 170px;
  --wedge-l: 390px;
}
.hero--epigraph { --wedge-r: 250px; --wedge-l: 470px; }

.hero__water {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 0;
  height: 800px;
  overflow: hidden;
  /* Keep the light patches above the role and research lines so white text stays readable. */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 64%);
  mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 64%);
}
/* Each layer is one tile wider than the hero and slides by exactly one tile, so the loop is seamless
   and only `transform` animates. */
.hero__caustics {
  --tile: 2400px;
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + var(--tile));
  height: 100%;
  background: url("../../images/hero-caustics.webp") repeat-x 0 0 / var(--tile) auto;
  will-change: transform;
}
.hero__caustics--a { animation: drift 150s linear infinite; }
.hero__caustics--b { --tile: 1560px; opacity: 0.5; animation: drift 96s linear infinite reverse; }
@keyframes drift { to { transform: translate3d(calc(-1 * var(--tile)), 0, 0); } }

.hero__wedge {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--white);
  clip-path: polygon(0 0, 50% 0, 22% 100%, 0 100%);
}

.hero__shards { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.shard {
  position: absolute;
  width: var(--s);
  height: var(--s);
  background: var(--c);
  clip-path: var(--shape, polygon(50% 0, 100% 100%, 0 70%));
  animation: shard-float var(--t, 9s) ease-in-out infinite alternate;
}
.shard--1 { --s: 74px;  --c: var(--ultra);   --t: 11s; --k: 2; left: 41.5%; top: 15%; }
.shard--2 { --s: 34px;  --c: var(--surface); --t: 8s;  --k: 1; left: 37.5%; top: 31%; --shape: polygon(0 20%, 100% 0, 60% 100%); }
.shard--3 { --s: 52px;  --c: #ff7fd8;        --t: 13s; --k: 0; left: 36%;   top: 77%; --shape: polygon(20% 0, 100% 40%, 0 100%); }
.shard--4 { --s: 26px;  --c: var(--white);   --t: 7s;  --k: 3; left: 39.5%; top: 68%; }
.shard--5 { --s: 110px; --c: rgba(255, 255, 255, 0.14); --t: 15s; --k: 4; left: 84%; top: 62%; --shape: polygon(30% 0, 100% 55%, 0 100%); }
@keyframes shard-float {
  from { transform: translateY(-9px) rotate(-5deg); }
  to   { transform: translateY(9px) rotate(7deg); }
}

.hero__epigraph {
  position: absolute;
  z-index: 3;
  top: calc(var(--nav-h) + 30px);
  left: calc(var(--gutter) + clamp(0px, 2vw, 40px));
  margin: 0;
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  line-height: 1.25;
}
.hero__epigraph span { display: block; }
.hero__epigraph span:first-child { font-size: 1.3rem; letter-spacing: 0.34em; }
.hero__epigraph span + span { font-size: 2.15rem; letter-spacing: 0.16em; }

/* Today's date and the real moon phase, set like the game's calendar. Filled in by site.js and
   shown only then; it shares the top-left corner with the epigraph, which wins if both exist. */
.hero__date {
  position: absolute;
  z-index: 3;
  top: calc(var(--nav-h) + 24px);
  left: calc(var(--gutter) + clamp(0px, 2vw, 40px));
  color: var(--ink);
}
.hero__date[hidden], .hero--epigraph .hero__date { display: none; }
.hero__date-day {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: var(--display-weight);
  font-optical-sizing: none;
  font-variation-settings: "opsz" var(--display-opsz);
  font-variant-numeric: lining-nums;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__date-day .plate { background: var(--ultra); font-size: 0.92rem; letter-spacing: 0.05em; padding: 6px 22px 6px 14px; }
.hero__date-moon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  font-size: 0.98rem;
  font-weight: 560;
}
.moon { flex: none; width: 26px; height: 26px; }
.moon__disc { fill: var(--frost); stroke: var(--ultra); stroke-width: 1.4; }
.moon__lit { fill: url(#moonLit); }

/* Touching the water (hero or a pool) sends out a ripple: two rings on a tilted plane. */
.splash {
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  width: 0;
  height: 0;
  pointer-events: none;
  transform: scaleY(0.42);
}
.splash i {
  position: absolute;
  left: -130px;
  top: -130px;
  width: 260px;
  height: 260px;
  border: 2.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  opacity: 0;
  animation: splash 1.15s var(--ease-out) forwards;
}
.splash i + i { border-width: 1.5px; animation-delay: 0.17s; }
@keyframes splash {
  from { transform: scale(0.04); opacity: 0.95; }
  to   { transform: scale(1); opacity: 0; }
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  align-items: center;
  min-height: inherit;
  padding: calc(var(--nav-h) + 96px) var(--gutter) 96px;
}

/* The portrait is a shard of mirror with a figure falling through it, dropped into the water at the
   seam: irregular four-sided cut (--shard), a pale glass rim, and a second, lit shard lying behind
   it. The picture itself is left untouched. Nothing here follows the pointer. */
.hero__portrait {
  --shard: polygon(18% 0, 100% 6%, 84% 100%, 0 88%);
  position: relative;
  justify-self: center;
  width: clamp(240px, 27vw, 400px);
  margin: 0;
}
.hero--epigraph .hero__portrait { margin-top: 56px; }
/* The shard behind: pale glass, so it shows against the white field and against the water. */
.hero__portrait::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(150deg, #eafcff 0%, #8fe2ff 48%, #37a4f6 100%);
  clip-path: var(--shard);
  transform: translate(22px, 20px) rotate(2.6deg);
}
/* The picture, and a rim that follows the cut: four hard drop-shadows add up to an outline. */
.hero__figure {
  position: relative;
  z-index: 1;
  display: block;
  filter: drop-shadow(2px 0 0 #eafcff) drop-shadow(-2px 0 0 #eafcff) drop-shadow(0 2px 0 #eafcff) drop-shadow(0 -2px 0 #eafcff)
          drop-shadow(0 16px 20px rgba(3, 6, 58, 0.24));
}
.hero__avatar {
  display: block;
  width: 100%;
  height: auto;
  clip-path: var(--shard);
}

/* Where the shard meets the water: rings and a burst of bubbles, played once in the intro. */
.hero__impact {
  position: absolute;
  z-index: 2;
  right: 14%;
  bottom: 6%;
  width: 0;
  height: 0;
  pointer-events: none;
}
.hero__impact i,
.hero__impact b {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
}
.hero__impact i {
  left: -170px;
  top: -170px;
  width: 340px;
  height: 340px;
  border: 2.5px solid var(--white);
  box-shadow: 0 0 0 1.5px var(--ultra);
  transform: scale(0.04, 0.02);
}
.hero__impact b {
  left: var(--bx, 0px);
  top: 0;
  width: var(--bs, 12px);
  height: var(--bs, 12px);
  border: 1.5px solid var(--white);
  box-shadow: 0 0 0 1px var(--ultra);
}

.hero__name {
  margin: 0;
  font-family: var(--serif);
  font-weight: var(--name-weight);
  font-size: clamp(4.4rem, 10.6vw, 10.4rem);
  font-optical-sizing: none;
  font-variation-settings: "opsz" var(--name-opsz);
  line-height: 0.88;
  letter-spacing: -0.024em;
}
.hero__line {
  display: block;
  overflow: hidden;
  padding: 0.06em 0 0.14em;
  margin-bottom: -0.14em;
}
.hero__line > span { display: inline-block; }
/* Optical kerning: Bodoni's capital W leaves a hole before a lowercase letter ("W ei"). */
.hero__line + .hero__line > span::first-letter { margin-right: -0.085em; }
.hero__zh {
  margin-left: 0.55em;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  font-size: 0.3em;
  letter-spacing: 0.2em;
  vertical-align: 0.5em;
}
.hero__role {
  margin: clamp(26px, 3.4vw, 44px) 0 0;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
}
.hero__direction {
  max-width: 47ch;
  margin: 12px 0 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}
.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-decoration: none;
  transform: translateX(-50%);
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(currentColor, currentColor) no-repeat top / 100% 100%;
  animation: scroll-cue 2.2s var(--ease-in-out) infinite;
}
@keyframes scroll-cue {
  0%   { background-size: 100% 0%;   background-position: top; }
  50%  { background-size: 100% 100%; background-position: top; }
  51%  { background-size: 100% 100%; background-position: bottom; }
  100% { background-size: 100% 0%;   background-position: bottom; }
}

@media (max-height: 820px) {
  .hero__scroll { display: none; }
}

/* The one orchestrated moment, in the spirit of the game site's falling figure: the white field
   pulls back off the water, the portrait shard drops in from above and sinks a little as it hits,
   rings and bubbles break from the point of impact, the loose shards scatter, then the name rises.
   Afterwards the portrait hangs in the water, barely moving. Pure CSS, so it runs without JavaScript. */
@media (prefers-reduced-motion: no-preference) {
  .hero__wedge { animation: wedge-in 1.15s var(--ease-in-out) 0.1s both; }
  .hero__date { animation: fade-up 0.8s var(--ease-out) 0.3s both; }
  .hero__epigraph span { animation: fade-up 0.8s var(--ease-out) both; animation-delay: 0.3s; }
  .hero__epigraph span + span { animation-delay: 0.42s; }

  .hero__portrait {
    animation: portrait-drop 1.35s 0.45s both, portrait-float 9s ease-in-out 1.9s infinite alternate;
  }
  .hero__impact i { animation: impact-ring 1.25s var(--ease-out) both; animation-delay: calc(1.2s + var(--n, 0) * 0.16s); }
  .hero__impact b { animation: impact-bubble var(--bt, 1.2s) var(--ease-out) both; animation-delay: calc(1.22s + var(--bd, 0s)); }
  .hero__shards .shard {
    animation: shard-float var(--t, 9s) ease-in-out infinite alternate,
               shard-pop 0.65s var(--ease-spring) calc(1.22s + var(--k, 0) * 0.07s) both;
  }

  .hero__line > span { animation: rise 1s var(--ease-out) both; animation-delay: calc(1.3s + var(--i, 0) * 0.11s); }
  .hero__role      { animation: fade-up 0.8s var(--ease-out) 1.7s both; }
  .hero__direction { animation: fade-up 0.8s var(--ease-out) 1.8s both; }
  .hero__links     { animation: fade-up 0.8s var(--ease-out) 1.9s both; }
  .hero__scroll    { animation: fade-in 0.8s ease 2.4s both; }
}
/* Falls under gravity (ease-in), overshoots downward as it enters the water, bobs back. */
@keyframes portrait-drop {
  0%   { opacity: 0; transform: translate(-7%, -135%) rotate(-13deg); animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.55); }
  10%  { opacity: 1; }
  56%  { opacity: 1; transform: translate(0, 5.5%) rotate(2.2deg); animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1); }
  78%  { transform: translate(0, -1.6%) rotate(-0.8deg); animation-timing-function: ease-in-out; }
  100% { opacity: 1; transform: none; }
}
/* Uses the separate translate/rotate properties so it can run on top of the drop. */
@keyframes portrait-float {
  from { translate: 0 -5px; rotate: -0.5deg; }
  to   { translate: 0 7px;  rotate: 0.6deg; }
}
@keyframes impact-ring {
  0%   { opacity: 0.95; transform: scale(0.04, 0.02); }
  100% { opacity: 0; transform: scale(1, 0.42); }
}
@keyframes impact-bubble {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(0.4); }
  15%  { opacity: 0.95; }
  100% { opacity: 0; transform: translate3d(var(--bdx, 0px), var(--by, -160px), 0) scale(1); }
}
@keyframes shard-pop { from { scale: 0; } to { scale: 1; } }
@keyframes wedge-in {
  from { clip-path: polygon(0 0, 178% 0, 150% 100%, 0 100%); }
  to   { clip-path: polygon(0 0, 50% 0, 22% 100%, 0 100%); }
}
@keyframes rise    { from { transform: translateY(115%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* 7. Bands and pools ------------------------------------------------------ */

/* A band is one section. Most are light and share the page's white, so they read as one
   continuous sheet; a light band that sits above a pool tints towards --shore at its foot. */
.band {
  --bg: var(--white);
  --fg: var(--ink);
  --fg-soft: #3a4f66;
  --title: var(--ultra);
  --rule: rgba(15, 37, 64, 0.16);
  --link: var(--ultra);
  --date: var(--ultra);
  --accent: var(--ultra);
  --focus: var(--ink);

  --pad-top: clamp(60px, 8vw, 116px);
  --pad-bottom: clamp(52px, 7vw, 96px);
  /* Side padding grows on wide screens so the content keeps to --wrap; no wrapper element needed. */
  --pad-side: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  /* Height of the diagonal cut at the top and bottom of every pool. Kept proportional to the
     width so the cut is always the same angle (--slant-angle = atan(0.06)). */
  --slant: 6vw;
  --slant-angle: -3.4336deg;

  position: relative;
  padding: var(--pad-top) var(--pad-side) var(--pad-bottom);
  background: var(--bg);
  color: var(--fg);
}

.band--news,
.band--interns,
.band--talks { --bg: linear-gradient(180deg, var(--white) calc(100% - 340px), var(--shore) 100%); }
/* Two light bands in a row are one sheet: no seam, so less air between them. */
.band:not(.band--pool) + .band:not(.band--pool) { padding-top: calc(var(--pad-top) * 0.45); }

.band--gallery:not(:has(.app-card)) { display: none; }

/* A pool is a dark band: deep water lit from its upper edge, cut on the diagonal at both ends.
   The cuts are triangles painted in the neighbouring light colour (--from above, --to below),
   so nothing is clipped and shards can cross the seam. */
.band--pool {
  --fg: var(--white);
  --fg-soft: rgba(255, 255, 255, 0.9);
  --title: var(--white);
  --rule: rgba(255, 255, 255, 0.26);
  --link: var(--white);
  --date: var(--surface);
  --accent: var(--surface);
  --focus: var(--white);
  --from: var(--shore);
  --to: var(--white);
  --seam: var(--ultra);

  isolation: isolate;
  z-index: 1; /* above the neighbouring light bands, so the outer hairlines can lie on them */
  padding-top: calc(var(--slant) + var(--pad-top) * 0.82);
  padding-bottom: calc(var(--slant) + var(--pad-bottom));
}
.band--pool::before,
.band--pool::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: var(--slant);
  pointer-events: none;
}
.band--pool::before { top: -1px; background: var(--from); clip-path: polygon(0 0, 100% 0, 0 100%); }
.band--pool::after  { bottom: -1px; background: var(--to); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.band--pool > :not(.pool__fx) { position: relative; z-index: 3; }

.band--pubs     { --bg: linear-gradient(172deg, #2b8ff1 0%, #1b62e6 20%, var(--ultra) 58%, #0d21b6 100%); }
.band--projects { --bg: linear-gradient(172deg, #1c58e4 0%, var(--ultra) 20%, #0a1b92 58%, var(--midnight) 100%); }

/* Decoration layer of a pool (_includes/pool-fx.html): caustics under the upper cut, hard-edged
   light shafts, a pair of hairlines riding each cut, and shards straddling the upper one. */
/* No z-index here on purpose: the layer must not form a stacking context, so that its water sits
   under the cut triangles (z 1) while its hairlines and shards (z 2) sit over them. */
.pool__fx { position: absolute; inset: 0; pointer-events: none; }
.pool__fx::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: min(760px, 100%);
  background: linear-gradient(104deg,
    transparent 0 14%, rgba(255, 255, 255, 0.075) 14% 23%,
    transparent 23% 39%, rgba(255, 255, 255, 0.05) 39% 42.5%,
    transparent 42.5% 61%, rgba(255, 255, 255, 0.065) 61% 73%,
    transparent 73% 88%, rgba(255, 255, 255, 0.04) 88% 91%, transparent 91%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}
/* A rotated box centred on the cut; its two borders are the hairlines, one on the light side in
   blue and one inside the pool in white. Rotating a real box keeps them crisp at this shallow angle. */
.pool__edge {
  position: absolute;
  left: 0;
  z-index: 2;
  width: 100.2%;
  height: 20px;
  margin-top: -10px;
  border: solid transparent;
  border-width: 1.5px 0;
  transform: rotate(var(--slant-angle));
  transform-origin: 0 50%;
}
.pool__edge--top    { top: var(--slant); border-top-color: var(--seam); border-bottom-color: rgba(255, 255, 255, 0.7); }
.pool__edge--bottom { top: 100%; border-top-color: rgba(255, 255, 255, 0.5); border-bottom-color: var(--seam); }
.footer .pool__edge--bottom { display: none; }
.pool__water {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(440px, 100%);
  overflow: hidden;
  opacity: 0.34;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 22%, transparent 84%);
  mask-image: linear-gradient(180deg, #000 0%, #000 22%, transparent 84%);
}
/* The water lags behind the scroll (--sy), the far layer more than the near one. */
.pool__water { translate: 0 calc(var(--sy, 0) * -46px); }
.pool__caustics {
  --tile: 2000px;
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + var(--tile));
  height: 100%;
  background: url("../../images/hero-caustics.webp") repeat-x 0 0 / var(--tile) auto;
  animation: drift 180s linear infinite;
}
.pool__caustics--far {
  --tile: 1280px;
  top: 34px;
  opacity: 0.55;
  translate: 0 calc(var(--sy, 0) * -38px);
  animation: drift 120s linear infinite reverse;
}

/* Bubbles: thin rings with a glint, rising at different sizes and speeds. Small and faint ones
   read as further away. Used in the hero and in the Project pool. */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bubble {
  position: absolute;
  left: var(--x);
  bottom: -48px;
  width: var(--s);
  height: var(--s);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: radial-gradient(circle at 31% 29%, rgba(255, 255, 255, 0.9) 0 8%, transparent 9.5%);
  opacity: 0;
  animation: bubble-rise var(--t, 20s) linear var(--dl, 0s) infinite;
}
@keyframes bubble-rise {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  10%  { opacity: var(--o, 0.55); }
  35%  { transform: translate3d(12px, calc(var(--rise, 520px) * -0.35), 0); }
  70%  { transform: translate3d(-8px, calc(var(--rise, 520px) * -0.7), 0); opacity: var(--o, 0.55); }
  100% { transform: translate3d(6px, calc(var(--rise, 520px) * -1), 0); opacity: 0; }
}
.hero .bubbles { z-index: 2; }
/* Pool shards drift with the scroll position (--sy, set by site.js) instead of the pointer. */
.pool__fx .shard { z-index: 2; translate: 0 calc(var(--sy, 0) * var(--d, 30px)); }
.shard--a { --s: 66px; --c: var(--surface); --d: -52px; --t: 12s; left: 6.5%; top: calc(var(--slant) * 0.93 - 44px); }
.shard--b { --s: 28px; --c: var(--white);   --d: 40px;  --t: 9s;  left: 14%;  top: calc(var(--slant) * 0.86 + 30px); --shape: polygon(0 20%, 100% 0, 60% 100%); }
.shard--c { --s: 46px; --c: var(--ultra);   --d: -34px; --t: 14s; left: 79%;  top: calc(var(--slant) * 0.21 - 38px); --shape: polygon(20% 0, 100% 40%, 0 100%); }
.shard--d { --s: 22px; --c: #ff7fd8;        --d: 58px;  --t: 8s;  left: 86%;  top: calc(var(--slant) * 0.14 + 22px); }
.band--projects .shard--c { --c: var(--surface); }
.band--projects .pool__water, .footer .pool__water { opacity: 0.2; }

.band h2 {
  margin: 0 0 clamp(28px, 4.4vw, 56px);
  font-family: var(--serif);
  font-weight: var(--display-weight);
  font-size: clamp(3rem, 7.8vw, 7rem);
  /* Optical size is pinned (see the tokens): on automatic, the hairlines get too thin to hold on screen. */
  font-optical-sizing: none;
  font-variation-settings: "opsz" var(--display-opsz);
  line-height: 0.96;
  letter-spacing: -0.024em;
  color: var(--title);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .band:not(.band--pool) h2:not(.is-split),
  .band:not(.band--pool) h2 .rise__in {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}
.band__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: clamp(28px, 4.4vw, 56px);
}
.band__head h2 { margin: 0; }

/* Titles rise out of a mask the first time they scroll into view (armed by site.js). */
.rise {
  display: block;
  overflow: hidden;
  padding: 0.07em 0.04em 0.16em 0;
  margin: -0.07em 0 -0.16em;
}
.rise__in { display: block; transform: translateY(112%); transition: transform 1.05s var(--ease-out); }
.is-in .rise__in { transform: none; }

/* Text links inside bands */
.band a:not([class]) {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 42%, transparent);
  transition: text-decoration-color 0.2s, color 0.2s;
}
.band a:not([class]):hover { text-decoration-color: currentColor; }

/* Dated rows: "- *2026.08* text" in the Markdown becomes a two-column ledger. */
.ledger {
  --col: 7.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ledger li {
  position: relative;
  padding: 15px 0 15px var(--col);
  border-top: 1px solid var(--rule);
}
.ledger li:last-child { border-bottom: 1px solid var(--rule); }
.ledger li > em:first-child,
.ledger li > p > em:first-child {
  position: absolute;
  left: 0;
  top: 11px;
  font-family: var(--serif);
  font-size: 1.36rem;
  font-style: normal;
  font-weight: var(--serif-weight);
  font-optical-sizing: none;
  font-variation-settings: "opsz" var(--serif-opsz);
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.5;
  color: var(--date);
}
.ledger li > p { margin: 0; }
.ledger--years { --col: 12.4rem; }

.plain-list { margin: 0; padding: 0; list-style: none; }
.plain-list li { padding: 15px 0; border-top: 1px solid var(--rule); }
.plain-list li:last-child { border-bottom: 1px solid var(--rule); }

/* 8. Sections ------------------------------------------------------------- */

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.about__prose p {
  max-width: 68ch;
  margin: 0 0 1.15em;
  font-size: 1.14rem;
  line-height: 1.72;
}
.about__prose p:last-child { margin-bottom: 0; }
.about__focus { padding-top: 16px; border-top: 2px solid var(--ultra); }
.about__focus p { margin: 0 0 10px; font-weight: 600; }
.about__focus ol { margin: 0; padding: 0; list-style: none; counter-reset: focus; }
.about__focus li {
  counter-increment: focus;
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr);
  align-items: baseline;
  padding: 15px 0;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 1.34rem;
  font-weight: var(--serif-weight);
  font-optical-sizing: none;
  font-variation-settings: "opsz" var(--serif-opsz);
  line-height: 1.28;
}
.about__focus li::before {
  content: counter(focus);
  font-style: italic;
  font-weight: var(--serif-weight);
  font-size: 1.5rem;
  color: var(--ultra);
}
.open-call { margin: clamp(40px, 6vw, 76px) 0 0; }
.open-call em {
  display: block;
  max-width: 21em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: var(--call-weight);
  font-optical-sizing: none;
  font-variation-settings: "opsz" var(--call-opsz);
  font-size: clamp(1.75rem, 3.5vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
  color: var(--signal);
}
.open-call > span { display: block; margin-top: 16px; font-weight: 600; }

/* News */
.news {
  position: relative;
  overflow: hidden;
  max-height: var(--news-collapsed, 22rem);
  /* Fade the cut-off row with a mask, so it works on any background. */
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 78px), transparent 100%);
  mask-image: linear-gradient(180deg, #000 calc(100% - 78px), transparent 100%);
  transition: max-height 0.7s var(--ease-in-out);
}
.news.is-open { -webkit-mask-image: none; mask-image: none; }
.no-js .news { max-height: none; -webkit-mask-image: none; mask-image: none; }
.no-js .news__more { display: none; }
/* A wider date column leaves room for the stickers; the top padding keeps the first one from
   being cut off by the list's own overflow. */
.news .ledger { --col: 9.2rem; padding-top: 12px; }

/* "New" is a sticker slapped on the corner of the date: skewed plate, hard ink shadow, slightly
   crooked. It is built with transforms (not clip-path) so the shadow survives. */
.news .is-new > em:first-child::after,
.news .is-new > p > em:first-child::after {
  content: "NEW";
  position: absolute;
  left: calc(100% + 5px);
  top: -9px;
  padding: 3px 8px 3px 9px;
  background: var(--signal);
  color: var(--white);
  font: 800 0.7rem/1.15 var(--sans);
  letter-spacing: 0.1em;
  white-space: nowrap;
  box-shadow: 2.5px 2.5px 0 var(--ink);
  transform: rotate(-9deg) skewX(-13deg);
  transform-origin: 0 100%;
  transition: transform 0.55s var(--ease-spring), opacity 0.18s;
  transition-delay: calc(var(--k, 0) * 110ms);
}
.news li:nth-child(2) { --k: 1; }
.news li:nth-child(3) { --k: 2; }
.news li:nth-child(4) { --k: 3; }
.news li:nth-child(5) { --k: 4; }
/* site.js arms the list, then stamps the stickers on the first time it scrolls into view. */
.news.is-armed:not(.is-seen) .is-new > em:first-child::after,
.news.is-armed:not(.is-seen) .is-new > p > em:first-child::after {
  opacity: 0;
  transform: rotate(-26deg) skewX(-13deg) scale(2.1);
}

.news__more { margin: 26px 0 0; }
.news__more .fas { font-size: 0.78em; transition: transform 0.45s var(--ease-out); }
.news__more [aria-expanded="true"] .fas { transform: rotate(180deg); }

/* Publications */
.seg {
  position: relative;
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 5px 12px;
  background: rgba(3, 6, 58, 0.3); /* a dark track keeps the unselected label readable on the gradient */
  clip-path: polygon(13px 0, 100% 0, calc(100% - 13px) 100%, 0 100%);
}
.seg__plate {
  position: absolute;
  z-index: 0;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: var(--w, 0px);
  background: var(--white);
  transform: translateX(var(--x, 0px)) skewX(var(--skew));
  transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out);
}
.seg__btn {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  padding: 10px 20px;
  border: 0;
  background: none;
  color: var(--white);
  font: 600 0.98rem/1.1 var(--sans);
  cursor: pointer;
  transition: color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.seg__btn.is-active { color: var(--ultra); }
.seg__btn:focus-visible { outline-offset: -3px; }

.papers { display: grid; gap: 34px; }

/* A paper is a white card. Pointing at it "selects" it the way the game selects a menu entry:
   a lit, skewed plate sweeps in behind (::before), a thin outline follows a beat later (::after),
   the card steps aside, a cursor appears at the title and a sheen crosses the figure.
   The white lives on the two halves, not on .paper, so the plate can sit behind them. */
.paper {
  --link: var(--ink);
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(0, 39%) minmax(0, 1fr);
  color: var(--ink);
  /* Depth. The card floats over the water (blue shadow), and under the pointer it tilts in real
     perspective: --rx/--ry are degrees set by site.js. preserve-3d lets the selection plate sit
     behind the card and the figure in front of it, so the layers part as the card turns. */
  box-shadow: 0 30px 48px -26px rgba(3, 6, 58, 0.75);
  transform: perspective(1400px) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg));
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
}
.paper[hidden] { display: none; }
.paper.is-entering { animation: paper-in 0.5s var(--ease-out) both; animation-delay: calc(var(--n, 0) * 55ms); }
/* Uses `translate`, not `transform`, so it cannot fight the tilt. */
@keyframes paper-in { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

.paper::before,
.paper::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -10px -22px;
  pointer-events: none;
}
.paper::before {
  background: linear-gradient(100deg, var(--surface) 0%, #e4fbff 48%, var(--surface) 100%);
  transform: translateZ(-18px) skewX(var(--skew)) scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--ease-out);
}
.paper::after {
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  transform: translateZ(-34px) translate(9px, 9px) skewX(var(--skew)) scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.55s var(--ease-out);
}

.paper__figure {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 18px;
  background: var(--frost);
  overflow: hidden;
  cursor: zoom-in;
  /* Lifts off the card when selected and throws a shadow onto the text half. */
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
}
.paper__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  transition: transform 0.8s var(--ease-out);
}
/* Sheen: parked off to the left; it only travels on the way in. */
.paper__figure::after {
  content: "";
  position: absolute;
  inset: -20% -70%;
  background: linear-gradient(100deg, transparent 43%, rgba(255, 255, 255, 0.8) 50%, transparent 57%);
  transform: translateX(-62%);
  pointer-events: none;
}
.paper__figure:focus-visible { outline-offset: -4px; }

.paper__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 2.6vw, 32px) clamp(22px, 3.2vw, 40px);
  background: var(--white);
  overflow: hidden;
  isolation: isolate;
}
/* A patch of light on the text half that follows the pointer (--px/--py from site.js). */
.paper__body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--px, 50%) var(--py, 50%), rgba(63, 227, 255, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.paper__body > * { position: relative; }
/* Corner shard that grows out of the lower right corner. */
.paper__body::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--surface), var(--ultra));
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  transform: scale(0);
  transform-origin: 100% 100%;
  transition: transform 0.45s var(--ease-out);
}
.paper__title {
  position: relative;
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  transition: transform 0.5s var(--ease-out);
}
/* Menu cursor */
.paper__title::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 0.4em;
  width: 11px;
  height: 13px;
  background: var(--ultra);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  opacity: 0;
  transform: translateX(-12px);
  transition: transform 0.5s var(--ease-spring), opacity 0.2s;
}
.paper .paper__title a {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(var(--ultra), var(--ultra)) no-repeat 0 100% / 0 2px;
  transition: background-size 0.5s var(--ease-out), color 0.25s;
}
/* Venue tag, built like the level tags in the game's menus: a skewed two-part plate, the venue
   in white on a solid field and the year in fat numerals in an outlined cell. The whole tag is
   skewed with a transform, which is where the slant of the upright type comes from.
   Peer-reviewed venues are blue; preprints and reports (--preprint) are ink, one step quieter. */
.paper__venue {
  --venue: var(--ultra);
  display: flex;
  align-self: flex-start;
  margin: 13px 0 0 3px;
  transform: skewX(var(--skew));
  transform-origin: 0 100%;
  box-shadow: 4px 4px 0 color-mix(in srgb, var(--venue) 20%, transparent);
}
.paper__venue--preprint { --venue: var(--ink); }
.paper__venue b,
.paper__venue span {
  display: flex;
  align-items: center;
  min-height: 32px;
  border: 2px solid var(--venue);
  white-space: nowrap;
}
.paper__venue b {
  padding: 0 14px 0 13px;
  background: var(--venue);
  color: var(--white);
  font: 800 0.98rem/1 var(--sans);
  letter-spacing: 0.05em;
}
.paper__venue span {
  padding: 0 12px 0 10px;
  border-left: 0;
  background: linear-gradient(var(--venue), var(--venue)) no-repeat 0 0 / 0 100%;
  color: var(--venue);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: var(--call-weight);
  font-optical-sizing: none;
  font-variation-settings: "opsz" var(--call-opsz);
  font-variant-numeric: lining-nums;
  line-height: 1;
  transition: background-size 0.45s var(--ease-out), color 0.25s;
}
.paper__authors { margin: 15px 0 0; font-size: 0.98rem; line-height: 1.55; color: #33485f; }
.paper__authors .me {
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(transparent 62%, rgba(63, 227, 255, 0.75) 62%);
}
.paper__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
/* Press coverage: a quiet row under the resource chips, split off by a hairline. A slanted "Press"
   plate, then the outlets as plain text links with slanted ticks between them. Deliberately a step
   below the chips: these point at what others wrote, the chips at the work itself. */
.paper__press {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 37, 64, 0.14);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
}
.paper__press .plate { margin-right: 14px; padding: 4px 17px 4px 11px; font-size: 0.78rem; }
/* The tick trails its link, so a wrapped line never starts with one. */
.paper__press a:not(:last-child) { margin-right: 13px; }
.paper__press a:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-left: 13px;
  background: var(--ultra);
  opacity: 0.55;
  transform: skewX(var(--skew));
  vertical-align: -0.12em;
}
.paper .paper__press a:hover { color: var(--ultra); }

.papers__note { margin: 30px 0 0; font-size: 0.98rem; }

/* The selected state. :focus-within gives keyboard users the same thing. */
.paper:focus-within::before { transform: translateZ(-18px) skewX(var(--skew)) scaleX(1); }
.paper:focus-within .paper__title::before { opacity: 1; transform: none; }
.paper:focus-within .paper__title { transform: translateX(19px); }
@media (hover: hover) {
  .paper:hover {
    transform: perspective(1400px) translateX(10px) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg));
    box-shadow: 0 44px 60px -30px rgba(3, 6, 58, 0.85);
  }
  .paper:hover::before { transform: translateZ(-18px) skewX(var(--skew)) scaleX(1); }
  .paper:hover::after { transform: translateZ(-34px) translate(9px, 9px) skewX(var(--skew)) scaleX(1); transition-delay: 0.09s; }
  .paper:hover .paper__figure { transform: translateZ(26px); box-shadow: 18px 0 30px -18px rgba(15, 37, 64, 0.45); }
  .paper:hover .paper__body::before { opacity: 1; }
  .paper:hover .paper__venue span { background-size: 100% 100%; color: var(--white); transition-delay: 0.12s; }
  .paper:hover .paper__figure img { transform: scale(1.04); }
  .paper:hover .paper__figure::after { transform: translateX(62%); transition: transform 0.95s var(--ease-out) 0.12s; }
  .paper:hover > .badge { padding-right: 30px; box-shadow: 9px 11px 0 rgba(3, 6, 58, 0.26); transform: translateZ(46px) skewX(var(--skew)); }
  .paper:hover > .badge--report { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5), 9px 11px 0 rgba(3, 6, 58, 0.26); }
  .paper:hover .paper__body::after { transform: scale(1); transition-delay: 0.1s; }
  .paper:hover .paper__title { transform: translateX(19px); }
  .paper:hover .paper__title::before { opacity: 1; transform: none; transition-delay: 0.08s; }
  .paper__title a:hover { color: var(--ultra); background-size: 100% 2px; }
}

/* Timeline (internships, education) */
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline__item {
  display: grid;
  grid-template-columns: 12.4rem 104px minmax(0, 1fr);
  column-gap: clamp(22px, 3.2vw, 44px);
  align-items: start;
  padding: 30px 0 34px;
  border-top: 1px solid var(--rule);
}
.timeline__item:last-child { border-bottom: 1px solid var(--rule); }
.timeline__when {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 1.36rem;
  font-weight: var(--serif-weight);
  font-optical-sizing: none;
  font-variation-settings: "opsz" var(--serif-opsz);
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.4;
  color: var(--date);
}
.timeline__when span { display: block; font-family: var(--sans); font-size: 0.92rem; font-weight: 430; color: var(--fg-soft); }
/* Logo medallion: a white disc with a second, lit disc behind it, so what shows is a crescent —
   the moon-phase motif of the game's calendar. --phase is where the crescent sits; it differs
   per row and swings round when the row is pointed at. */
.timeline__logo {
  --phase: 38deg;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  padding: 21px;
}
.timeline__logo::before,
.timeline__logo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.timeline__logo::before {
  z-index: -2;
  background: linear-gradient(calc(var(--phase) + 90deg), var(--surface) 0%, #2b8ff1 45%, var(--ultra) 100%);
  transform: rotate(var(--phase)) translateX(11px);
  transition: transform 0.9s var(--ease-out);
}
.timeline__logo::after {
  z-index: -1;
  background: radial-gradient(circle at 34% 28%, var(--white) 0 52%, #edf4fb 100%);
  box-shadow: inset 0 0 0 1px rgba(15, 37, 64, 0.09);
}
.timeline__item:nth-child(2) .timeline__logo { --phase: 84deg; }
.timeline__item:nth-child(3) .timeline__logo { --phase: 128deg; }
.timeline__logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.timeline__what h3 { margin: 2px 0 0; font-size: 1.34rem; font-weight: 600; line-height: 1.28; }
.timeline__what p { margin: 7px 0 0; color: var(--fg-soft); }
.timeline__what .timeline__role { font-weight: 600; color: var(--accent); }
@media (hover: hover) {
  .timeline__item:hover .timeline__logo::before { transform: rotate(calc(var(--phase) + 150deg)) translateX(11px); }
}

/* Projects */
.app-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 34px; }
.app-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
/* Same selection language as the papers: plate behind, sheen across, cursor at the name. */
.app-card__media {
  position: relative;
  display: block;
  box-shadow: 0 26px 40px -22px rgba(1, 2, 28, 0.85);
  transform: perspective(1100px) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg));
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
}
.app-card__media::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -9px -16px;
  background: linear-gradient(100deg, var(--surface) 0%, #e4fbff 48%, var(--surface) 100%);
  transform: translateZ(-16px) skewX(var(--skew)) scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--ease-out);
}
.app-card__media::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: linear-gradient(100deg, transparent 43%, rgba(255, 255, 255, 0.5) 50%, transparent 57%) no-repeat -150% 0 / 300% 100%;
  pointer-events: none;
}
.app-card__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 6px solid var(--white);
  background: var(--midnight);
}
.app-card__name {
  position: relative;
  align-self: flex-start;
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: var(--display-weight);
  font-optical-sizing: none;
  font-variation-settings: "opsz" var(--serif-opsz);
  line-height: 1.1;
  letter-spacing: -0.006em;
  transition: transform 0.5s var(--ease-out);
}
.app-card__name::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 0.36em;
  width: 11px;
  height: 13px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  opacity: 0;
  transform: translateX(-12px);
  transition: transform 0.5s var(--ease-spring), opacity 0.2s;
}
.app-card__desc { margin-top: 10px; font-size: 1rem; line-height: 1.55; color: var(--fg-soft); }
.app-card__meta { margin-top: 12px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.app-card__meta .fas { margin-right: 0.3em; font-size: 0.82em; }
.app-card:focus-visible .app-card__media::before { transform: translateZ(-16px) skewX(var(--skew)) scaleX(1); }
@media (hover: hover) {
  .app-card:hover .app-card__media {
    transform: perspective(1100px) translateX(7px) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg));
    box-shadow: 0 38px 50px -26px rgba(1, 2, 28, 0.95);
  }
  .app-card:hover .app-card__media::before { transform: translateZ(-16px) skewX(var(--skew)) scaleX(1); }
  .app-card:hover .app-card__media::after { background-position: 250% 0; transition: background-position 0.95s var(--ease-out) 0.1s; }
  .app-card:hover .app-card__name { transform: translateX(19px); }
  .app-card:hover .app-card__name::before { opacity: 1; transform: none; transition-delay: 0.08s; }
}
.app-card:active .app-card__media { transform: perspective(1100px) translateX(2px) scale(0.985); transition-duration: 0.08s; }

/* Talks and service share the last band */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.duo h2 { font-size: clamp(2.5rem, 5.2vw, 4.6rem); margin-bottom: clamp(24px, 3vw, 40px); }

/* 9. Footer, lightbox ----------------------------------------------------- */

/* The footer is the last pool: the page ends back in the water it started in. */
.footer {
  --bg: linear-gradient(172deg, #1c58e4 0%, var(--ultra) 34%, #0a1b92 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: calc(var(--slant) + 54px);
  padding-bottom: 34px;
  font-size: 0.95rem;
}
.footer::after { content: none; }
.footer p { margin: 0; color: rgba(255, 255, 255, 0.86); }
.footer .pool__water { height: 100%; }
.footer .shard--b, .footer .shard--d { display: none; }

.lightbox {
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(3, 6, 58, 0.88); }
.lightbox__img {
  display: block;
  max-width: min(92vw, 1400px);
  max-height: 86vh;
  background: var(--white);
  cursor: zoom-out;
}
.lightbox[open] .lightbox__img { animation: zoom-in 0.5s var(--ease-out); }
.lightbox[open]::backdrop { animation: fade-in 0.3s ease; }
@keyframes zoom-in { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
.lightbox__close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.45s var(--ease-spring);
}
.lightbox__close:active { transform: scale(0.9); transition-duration: 0.08s; }
.lightbox__close:focus-visible { outline-color: var(--surface); }

/* 10. Motion preferences, small screens ----------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .rise__in { transform: none; }
  .hero__scroll::after { background-size: 100% 100%; }
  .paper__figure::after, .app-card__media::after { display: none; }
}

@media (max-width: 1080px) {
  .nav__brand { display: none; }
  .nav__scroller { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 calc(var(--gutter) - 8px); }
  .app-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --nav-h: 56px; }
  body { font-size: 1rem; }

  .nav { background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(15, 37, 64, 0.14); }
  .nav__link { padding: 9px 12px; font-size: 0.96rem; }
  .nav__link::after { left: 12px; right: 12px; }
  .nav__plate { height: 32px; margin-top: -16px; }

  .hero { min-height: 0; }
  .hero__water { top: calc(var(--wedge-r) - 90px); opacity: 0.8; }
  .hero__wedge { clip-path: polygon(0 0, 100% 0, 100% var(--wedge-r), 0 var(--wedge-l)); }
  .hero__inner { display: block; min-height: 0; padding: calc(var(--nav-h) + 40px) var(--gutter) 84px; }
  .hero--epigraph .hero__inner { padding-top: calc(var(--nav-h) + 118px); }
  .hero__date { display: none; } /* the corner belongs to the portrait on narrow screens */
  .hero__epigraph { top: calc(var(--nav-h) + 22px); left: var(--gutter); }
  .hero__epigraph span:first-child { font-size: 1.05rem; }
  .hero__epigraph span + span { font-size: 1.65rem; }
  .hero__portrait, .hero--epigraph .hero__portrait { width: 214px; margin: 0; }
  .hero__portrait::before { transform: translate(13px, 12px) rotate(2.6deg); }
  .hero--epigraph .hero__portrait { width: 176px; }
  .hero__impact i { left: -110px; top: -110px; width: 220px; height: 220px; }
  .hero__identity { margin-top: 70px; }
  .hero--epigraph .hero__identity { margin-top: 64px; }
  .hero__name { font-size: clamp(4rem, 21vw, 7rem); }
  .hero__role { font-size: 1.16rem; }
  .hero__direction { font-size: 1rem; }
  .hero__scroll { display: none; }
  .shard--1 { left: 66%; top: calc(var(--wedge-r) - 62px); --s: 56px; }
  .shard--2 { left: 80%; top: calc(var(--wedge-r) + 80px); }
  .shard--3 { left: 50%; top: calc(var(--wedge-r) + 86px); --s: 38px; }
  .shard--4, .shard--5 { display: none; }

  .shard--a { --s: 44px; top: calc(var(--slant) * 0.93 - 30px); }
  .shard--c { --s: 32px; top: calc(var(--slant) * 0.21 - 26px); }
  .shard--d { display: none; }
  .bubble:nth-child(n + 5) { display: none; }

  .about, .duo { grid-template-columns: minmax(0, 1fr); }
  .about__prose p { font-size: 1.06rem; }

  .ledger, .news .ledger { --col: 0rem; }
  .ledger li > em:first-child,
  .ledger li > p > em:first-child { position: relative; display: block; width: fit-content; margin-bottom: 2px; }

  .paper { grid-template-columns: minmax(0, 1fr); }
  .badge { --jut: 9px; top: 14px; padding: 7px 16px 7px 12px; font-size: 0.86rem; }
  .paper__figure { min-height: 0; }
  .paper__title { font-size: 1.18rem; }
  .paper__venue b { font-size: 0.9rem; }
  .paper__venue span { font-size: 1.02rem; }
  .paper__venue b, .paper__venue span { min-height: 29px; }

  .timeline__item { grid-template-columns: 76px minmax(0, 1fr); column-gap: 22px; padding: 24px 0 28px; }
  .timeline__when { grid-column: 1 / -1; margin: 0 0 14px; }
  .timeline__logo { width: 76px; height: 76px; padding: 15px; }
  .timeline__logo::before { transform: rotate(var(--phase)) translateX(8px); }
  .timeline__what h3 { font-size: 1.16rem; }

  .app-cards { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
  .hero__wedge { animation-name: wedge-in-narrow; }
}
@keyframes wedge-in-narrow {
  from { clip-path: polygon(0 0, 100% 0, 100% 1500px, 0 1720px); }
  to   { clip-path: polygon(0 0, 100% 0, 100% var(--wedge-r), 0 var(--wedge-l)); }
}

@media print {
  .nav, .hero__water, .hero__shards, .hero__scroll, .news__more, .seg, .pool__fx, .bubbles { display: none; }
  .news { max-height: none; -webkit-mask-image: none; mask-image: none; }
}
