@font-face {
  font-family: "Tencent Sans";
  src: url("./assets/tencent-sans-w3.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Tencent Sans";
  src: url("./assets/tencent-sans-w7.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #10171d;
  --white: #edf5f6;
  --muted: #b2c1c9;
  --accent: #5bede0;
  --line: #bde2eb32;
  --edge: clamp(44px, 5vw, 120px);
  --nav: 66px;
  --nav-offset: 16px;
  --nav-pillbar-height: 52px;
  --ease: cubic-bezier(.2,.7,.2,1);
  font-family: "Tencent Sans", sans-serif;
  font-weight: 400;
  font-synthesis: none;
  background: var(--ink);
  color: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y mandatory; scrollbar-gutter: stable; }
html.wheel-paging { scroll-snap-type: none; scroll-behavior: auto; }
body { margin: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3, .brand, .eyebrow, .folder-label, .contact-grid dt { font-weight: 700; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #48cfc3; outline-offset: 6px; }
[hidden] { display: none !important; }

.frame { width: min(100%, 2400px); margin-inline: auto; padding-inline: var(--edge); }
.screen { min-height: 100svh; position: relative; isolation: isolate; scroll-snap-align: start; scroll-snap-stop: always; }
.site-header { position: fixed; z-index: 5; inset: var(--nav-offset) 0 auto; pointer-events: none; }
.nav { height: var(--nav); display: flex; align-items: center; }
.brand {
  --brand-inset: clamp(9px, 1.05vw, 22px);
  position: relative; z-index: 2; display: flex; align-items: center; margin-inline-end: auto;
  height: 100%; padding-inline: var(--brand-inset); padding-inline-start: calc(var(--brand-inset) + 8px); border-radius: 999px;
  white-space: nowrap; font-size: 24px; line-height: 1.12;
}
.brand > span { position: relative; top: -2px; }
.nav-links {
  width: 100%; height: var(--nav-pillbar-height); display: flex; align-items: center; gap: 3px; padding: 4px; padding-inline-end: 10px; border-radius: 999px;
  background: rgb(27 37 44 / 40%);
  backdrop-filter: blur(6px); pointer-events: auto; overflow: clip;
}
.nav-link {
  position: relative; z-index: 2; display: grid; place-items: center;
  height: 32px; padding-inline: clamp(10px, 1.2vw, 24px); border-radius: 999px; white-space: nowrap;
  color: #c3d2d8; font-size: clamp(13px, .78vw, 17px); line-height: 1.25;
  transition: color 180ms var(--ease);
}
.nav-link > span { position: relative; top: -.1em; }
.nav-links a:focus-visible { outline-offset: -2px; }
.nav-link[aria-current] { color: var(--accent); font-weight: 700; }
.nav-links[data-pill-ready] .nav-link[data-pill-target] { color: #112b2c; font-weight: 700; }
.nav-pill {
  position: absolute; z-index: 1; inset: 50% auto auto 0; border-radius: inherit;
  width: var(--pill-width, 0px); height: var(--pill-height, 0px);
  transform: translate(var(--pill-x, 0px), -50%);
  background: var(--accent); box-shadow: inset 0 1px 0 #e4fffa8c, 0 2px 7px #07191d56;
  pointer-events: none; visibility: hidden;
}
.nav-links[data-pill-ready] .nav-pill, .filter-menu[data-pill-ready] > .nav-pill { visibility: visible; }
.nav-links[data-pill-motion] .nav-pill, .filter-menu[data-pill-motion] > .nav-pill {
  --pill-ease: linear(0, .18 12%, .54 28%, .83 45%, .98 62%, .94 76%, 1);
  transition: transform 460ms var(--pill-ease), width 460ms var(--pill-ease);
}

.spotlight { position: relative; isolation: isolate; }
.spotlight::before, .spotlight::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; opacity: 0; transition: opacity 220ms var(--ease);
}
.spotlight::before {
  z-index: -1; background: radial-gradient(220px at var(--light-x, 50%) var(--light-y, 50%), #d8fffa12, transparent);
}
.spotlight::after {
  z-index: 3; padding: var(--edge-light-width, 1px);
  background: radial-gradient(150px at var(--light-x, 50%) var(--light-y, 50%), var(--edge-light, #e0fffb55), var(--edge-light-fade, #abdfdb27) 46%, transparent 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
.spotlight[data-lit]::before, .spotlight[data-lit]::after { opacity: 1; }
.nav-links.spotlight::after { content: none; }

.hero { background: var(--ink); overflow: clip; }
.scene { position: absolute; z-index: -1; inset: max(112px, 15%) 0 0; pointer-events: none; overflow: hidden; }
.scene-poster, #viewport, .scene::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-poster { object-fit: cover; object-position: center 70%; }
#viewport { opacity: 0; transition: opacity 700ms var(--ease); }
#viewport canvas { display: block; width: 100%; height: 100%; }
.scene[data-ready="true"] #viewport { opacity: 1; }
.scene::after {
  content: "";
  background: linear-gradient(180deg, #10171d 0%, #10171df6 10%, #10171dbb 29%, #10171d0c 58%, #10171d29 65%, #10171df4 92%, #10171d 100%);
}
.hero-layout { min-height: 100svh; display: grid; grid-template-rows: auto minmax(210px, 1fr) auto; padding-top: calc(var(--nav) + clamp(34px, 5vh, 92px)); }
.hero-intro { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: clamp(26px, 2.4vw, 60px); align-items: stretch; }
.hero-intro > :is(.identity, .bio) { display: flex; flex-direction: column; justify-content: space-between; }
.eyebrow { color: var(--accent); font-size: clamp(17px, 1.17vw, 27px); letter-spacing: .2em; }
h1 { font-size: clamp(74px, 8vw, 182px); line-height: 1.05; letter-spacing: -.065em; margin: .10em 0 .18em -.045em; }
.disciplines { display: flex; flex-wrap: wrap; gap: 7px clamp(6px, .55vw, 16px); list-style: none; padding: 0; margin: 0; color: #c6d7dc; font-size: clamp(14px, 1.04vw, 24px); }
.disciplines li + li::before { content: "·"; color: var(--accent); margin-right: clamp(6px, .52vw, 15px); }
.bio { gap: .56em; font-size: clamp(13px, .93vw, 21px); line-height: 1.72; color: #d6e1e5; }
.bio em { font-style: normal; color: var(--accent); }
.hero-bottom { grid-row: 3; }
.matrix-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1vw, 24px); }
.matrix article {
  min-width: 0; min-height: 240px; padding: clamp(12px, 1.2vw, 21px) clamp(12px, .95vw, 20px) 32px; border-radius: clamp(14px, 1.25vw, 24px);
  --edge-light-width: 1.5px;
  --edge-light: #c8fffaad;
  --edge-light-fade: #76d9db66;
  background: linear-gradient(to bottom, rgb(20 34 43 / 20%), rgb(20 34 43 / 0%)); box-shadow: inset 0 0 0 1px #def6ff24, 0 8px 25px #07111738;
  backdrop-filter: blur(8px);
}
.matrix-kicker { margin-bottom: .48em; color: var(--muted); font-size: clamp(12px, .82vw, 18px); letter-spacing: .12em; }
.matrix h2 { margin-bottom: .36em; font-size: clamp(16px, 1.18vw, 27px); line-height: 1.28; color: var(--accent); }
.matrix-description { padding-block-start: 20px; color: #d1dde3; font-size: clamp(14px, .93vw, 21px); line-height: 1.35; }
.next {
  --revealed-opacity: .5;
  width: max-content; display: flex; flex-direction: column; gap: 5px; align-items: center;
  justify-self: center; margin: 9px auto 12px; font-size: 12px; letter-spacing: .08em;
  opacity: var(--revealed-opacity);
}
.next > [aria-hidden="true"] { display: grid; place-items: center; width: 26px; height: 26px; transition: translate 250ms var(--ease); }
.next:hover > [aria-hidden="true"] { translate: 0 3px; }

.works {
  background: var(--ink);
  overflow: clip;
}
.works-layout, .contact-layout { min-height: inherit; display: grid; }
.works-layout { grid-template-rows: 1fr auto auto 1fr auto; padding-top: var(--nav); }
.works-heading { grid-row: 2; text-align: center; margin-bottom: clamp(36px, 7vh, 95px); }
.works h2, .contact h2 { font-size: clamp(62px, 6.6vw, 145px); letter-spacing: -.07em; line-height: 1.05; }
.folder-grid { grid-row: 3; width: min(100%, 1570px); margin-inline: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(30px, 4.3vw, 90px); align-items: start; }
.works .next { grid-row: 5; }
.folder-button { appearance: none; border: 0; background: transparent; padding: 0; text-align: start; cursor: pointer; min-width: 0; border-radius: 8px; }
.folder-art { display: block; position: relative; isolation: isolate; aspect-ratio: 1.15; perspective: 780px; margin-inline: 1%; }
.folder-back, .folder-face, .sheet { position: absolute; display: block; transition: transform 570ms var(--ease), filter 570ms var(--ease); }
.folder-back { inset: 18% 0 0; border: 1px solid #c9f0ef68; border-radius: 6px 17px 19px 19px; background: linear-gradient(140deg,#d4f4f08c,#71989d79 55%,#568e9580); box-shadow: 0 25px 34px -16px #061015d6, inset 0 1px 4px #edfffc88; }
.folder-back::before { content: ""; position: absolute; top: -12%; left: -1px; height: 13%; width: 43%; border: 1px solid #c9f0ef68; border-bottom: 0; border-radius: 10px 16px 0 0; background: #a7c7ca; clip-path: polygon(0 0, 83% 0, 100% 100%, 0 100%); }
.sheet { left: 14%; top: 11%; width: 72%; height: 71%; border-radius: 8px; border: 1px solid #e7fffed0; overflow: hidden; box-shadow: 0 5px 14px #14293046; }
.sheet-back { background: linear-gradient(150deg,#eaf5f7,#8a9eae); transform: translate(-6%, 5%) rotate(-10deg); }
.sheet-front { background: #132832; transform: translate(5%, 0) rotate(8deg); }
.folder-face {
  inset: 35% 0 0; border-radius: 12px 12px 18px 18px; transform-origin: 50% 100%;
  border: 1px solid #e6fffcbd;
  background: linear-gradient(157deg,#edfafa8f 0%,#bbdce1a6 46%,#85afb9c9 100%);
  backdrop-filter: blur(13px) saturate(1.3);
  box-shadow: inset 0 2px 2px #f4fffdbb, inset 0 -2px 6px #436c785e, 0 11px 13px -11px #0009;
}
.folder-face::after { content: ""; position: absolute; inset: 7px 8px 9px; border-radius: 8px 8px 12px 12px; border: 1px solid #e7ffff3a; }
.folder-button:is(:hover, :focus-visible) .folder-face { transform: rotateX(-26deg) translateY(4%); filter: brightness(1.14); }
.folder-button:is(:hover, :focus-visible) .sheet-back { transform: translate(-17%,-22%) rotate(-16deg); }
.folder-button:is(:hover, :focus-visible) .sheet-front { transform: translate(15%,-30%) rotate(12deg); transition-delay: 45ms; }
.folder-label { position: absolute; inset: auto 0 clamp(12px, 1.25vw, 26px); display: flex; align-items: center; justify-content: space-between; gap: 5px; padding-inline: clamp(12px, 1.35vw, 28px); color: #101e2a; font-size: clamp(15px, 1.3vw, 28px); }
.folder-label > [aria-hidden="true"] { opacity: .78; font-size: .85em; }

[data-folder="dashboard"] { --folder-hue: 215; }
[data-folder="industrial"] { --folder-hue: 270; }
[data-folder="scene"] { --folder-hue: 150; }
.folder-button:not([data-folder="web"]) { --folder-rim: hsl(var(--folder-hue) 70% 88% / .77); }
.folder-button:not([data-folder="web"]) .folder-back {
  border-color: var(--folder-rim);
  background: linear-gradient(140deg, hsl(var(--folder-hue) 77% 85% / .6), hsl(var(--folder-hue) 53% 47% / .58));
}
.folder-button:not([data-folder="web"]) .folder-back::before { border-color: var(--folder-rim); background: hsl(var(--folder-hue) 53% 73%); }
.folder-button:not([data-folder="web"]) .folder-face {
  border-color: var(--folder-rim);
  background: linear-gradient(157deg, hsl(var(--folder-hue) 78% 89% / .65), hsl(var(--folder-hue) 68% 70% / .73) 48%, hsl(var(--folder-hue) 50% 56% / .83));
}
.folder-button:not([data-folder="web"]) .folder-face::after { border-color: hsl(var(--folder-hue) 78% 92% / .31); }
.folder-button:not([data-folder="web"]) .sheet-back { background: linear-gradient(150deg, hsl(var(--folder-hue) 56% 93%), hsl(var(--folder-hue) 37% 66%)); }

.sheet img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center top; }

.contact { background: var(--ink); }
.contact-layout { padding-top: calc(var(--nav-offset) + (var(--nav) + var(--nav-pillbar-height)) / 2 - 2px); grid-template-rows: 1fr auto; }
.contact-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: clamp(32px, 5vw, 105px); }
.contact-copy { min-width: 0; }
.contact-heading { margin-bottom: clamp(20px, 3.5vh, 52px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.contact-grid > div { min-width: 0; padding-block: clamp(11px, 1.15vw, 28px); }
.contact-grid dt { color: var(--accent); font-size: clamp(13px, 1vw, 20px); margin-bottom: .55em; }
.contact-grid dd { font-size: clamp(17px, 1.3vw, 30px); overflow-wrap: anywhere; }
.contact-grid .years { color: var(--muted); white-space: nowrap; font-size: .8em; }
.contact-grid a > [aria-hidden="true"] { font-size: .72em; color: var(--accent); }
.contact-grid a:hover { text-decoration: underline; text-underline-offset: .18em; }
.contact .next { grid-row: 2; margin-bottom: 24px; }

.lanyard {
  --pass-width: min(clamp(225px, 21vw, 430px), max(225px, 42svh), 82%);
  position: relative; isolation: isolate; overflow: visible; align-self: start; height: clamp(460px, 78svh, 960px);
  perspective: 1050px;
  background: radial-gradient(ellipse at 50% 55%, #92c7dd13, transparent 64%);
}
.lanyard-strap { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lanyard-pass {
  position: absolute; left: var(--pass-x, 50%); top: var(--pass-y, 35%);
  width: var(--pass-width); aspect-ratio: .72; padding: 0; border: 0; border-radius: 6px;
  transform: translateX(-50%) rotate(var(--pass-angle, 0deg)); transform-origin: 50% 0;
  background: transparent; cursor: grab; touch-action: none; user-select: none; perspective: 850px;
}
.lanyard-pass[data-dragging] { cursor: grabbing; }
.lanyard-pass::before {
  content: ""; position: absolute; left: 50%; top: -9px; z-index: 2; translate: -50% 0;
  width: 16%; height: 14px; border-radius: 4px;
  background: linear-gradient(#d7e0e2, #738188 56%, #a5b0b7 75%, #414b51);
  box-shadow: 0 2px 5px #000a;
}
.lanyard-turn {
  position: absolute; inset: 0; perspective: 850px;
}
.lanyard-face {
  position: absolute; inset: 0; display: block; backface-visibility: hidden; border-radius: 6px;
  padding: 8% 3% 3%; background: linear-gradient(145deg, #48535c, #1c262d 14%, #161d24 62%, #697780);
  border: 1px solid #8fa8b47a; box-shadow: 0 18px 45px #0009;
}
.lanyard-face::before {
  content: ""; position: absolute; inset: 2% 3% auto; height: 3%;
  background: #080c11; box-shadow: 0 1px 0 #c3dce454;
}
.lanyard-face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(110deg, #e1f6ff10, transparent 24% 52%, #d6f3ff35 100%);
}
.lanyard-face {
  transform: rotateX(var(--pass-pitch, 0deg)) rotateY(calc(var(--pass-flip, 0deg) + var(--pass-twist, 0deg) + var(--face-angle, 0deg)));
}
.lanyard-back { --face-angle: 180deg; }
.pass-print {
  position: relative; height: 100%; display: flex; flex-direction: column; text-align: start; overflow: hidden;
  background: #152027; padding: 5% 6%; color: #eff7fa; font-size: clamp(10px, 1vw, 19px);
  border: 1px solid #d0e7f028;
}
.pass-header, .pass-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pass-header { justify-content: flex-end; color: #d1e4e9; font-size: .72em; letter-spacing: .11em; }
.pass-art {
  display: block; flex: 1; margin: -5% -7% -2%; min-height: 0;
  background: linear-gradient(0deg, #152027 0%, transparent 48%), linear-gradient(165deg, #152027 2%, transparent 40%),
    url("./assets/pass-portrait.png") center 34% / cover;
}
.pass-name { position: relative; font-size: 2.1em; font-weight: 700; line-height: 1.18; }
.pass-role { color: #b4cbd2; margin-block: .4em 1em; }
.pass-footer { font-size: .82em; color: #d7e8ed; font-weight: 700; white-space: nowrap; }
.pass-bars { flex: 0 1 42%; height: 1.25em; background: repeating-linear-gradient(90deg, #e7f4f6 0 2px, transparent 2px 4px, #d5e4ea 4px 5px, transparent 5px 8px, #e7f4f6 8px 11px, transparent 11px 13px); }
.pass-back-title { margin-top: auto; color: var(--accent); font-size: 1.9em; font-weight: 700; }
.pass-back-details { margin: .85em 0 auto; color: #c6dbe0; line-height: 1.8; }

.project-dialog { width: min(680px, calc(100% - 36px)); max-height: 85svh; padding: 0; border: 1px solid #9ac6cc72; border-radius: 18px; background: #17252d; color: var(--white); box-shadow: 0 35px 100px #0009; }
.project-dialog::backdrop { background: #060f16bf; backdrop-filter: blur(7px); }
.dialog-body { padding: clamp(22px, 5vw, 48px); position: relative; }
.dialog-close { position: absolute; right: 15px; top: 15px; width: 36px; height: 36px; border: 1px solid #a5cbd070; border-radius: 50%; background: none; font-size: 23px; cursor: pointer; }
.dialog-body h2 { font-size: 31px; padding-right: 36px; }
.dialog-body p { margin-top: 12px; color: var(--muted); line-height: 1.7; }
.dialog-body figure { margin-top: 20px; }
.dialog-body img { display: block; width: 100%; border-radius: 7px; }
.dialog-body figcaption { margin-top: 12px; color: var(--accent); font-size: 14px; }
.reveal-token { position: relative; }
.reveal-enabled [data-reveal] .reveal-token { opacity: 0; top: .42em; }
.reveal-enabled .revealed .reveal-token, .project-dialog[open] .reveal-token {
  animation: fade-in-up 900ms var(--ease) both;
  animation-delay: calc(330ms + var(--reveal-delay, 0ms) + var(--word-delay, 0ms));
}
.reveal-enabled :focus-visible .reveal-token,
.reveal-enabled [data-reveal]:focus-within .reveal-token {
  animation: none; opacity: 1; top: 0;
}
.nav-link[href="#work"], .identity h1,
.folder-button:nth-child(2), .contact-grid > div:nth-child(2) { --reveal-delay: 55ms; }
.nav-link[href="#contact"], .disciplines,
.folder-button:nth-child(3), .contact-grid > div:nth-child(3) { --reveal-delay: 110ms; }
.folder-button:nth-child(4), .contact-grid > div:nth-child(4) { --reveal-delay: 165ms; }
.contact-grid > div:nth-child(5) { --reveal-delay: 220ms; }
.matrix article:nth-child(2) { --reveal-delay: 100ms; }
.matrix article:nth-child(3) { --reveal-delay: 200ms; }
.matrix article:nth-child(4) { --reveal-delay: 300ms; }
@keyframes fade-in-up { from { opacity: 0; top: .42em; } to { opacity: 1; top: 0; } }

@media (max-width: 960px) {
  :root { --edge: clamp(19px, 4.8vw, 45px); --nav: 58px; }
  .hero-intro { grid-template-columns: 1fr; gap: 24px; }
  .hero-layout { grid-template-rows: auto minmax(220px, 1fr) auto; }
  .scene { inset-block-start: 38%; }
  .matrix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .folder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 560px); gap: 24px 34px; }
  .works-heading { margin: 32px 0 39px; }
  .works .next { margin-top: 32px; }
  .contact-columns { grid-template-columns: 1fr; gap: 22px; }
  .lanyard { height: max(505px, min(78svh, 670px)); }
}
@media (max-width: 520px) {
  .brand { --brand-inset: 7px; font-size: clamp(16px, 4.6vw, 24px); }
  .nav-link { padding-inline: clamp(5px, 1.75vw, 10px); }
  h1 { font-size: 68px; }
  .disciplines { gap: 5px 9px; }
  .disciplines li + li::before { margin-right: 7px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-heading { margin-top: 32px; }
  .contact .next { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .reveal-enabled [data-reveal] .reveal-token, .project-dialog[open] .reveal-token { animation: none; opacity: 1; top: 0; }
}

.site-loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  padding: clamp(24px, 3vw, 72px); background: var(--ink); color: var(--white); font-family: inherit;
}
.loader-layout {
  width: 100%; display: grid; grid-template-columns: minmax(260px, 1.25fr) auto minmax(210px, 1fr);
  align-items: center; gap: 36px; font-size: clamp(13px, 1vw, 18px); line-height: 1.6; letter-spacing: .04em;
}
.loader-status { margin: 0; padding: 0; list-style: none; }
.loader-status li { display: flex; justify-content: space-between; gap: 24px; max-width: 340px; color: var(--muted); margin-block: 8px; }
.loader-status li[data-state="loading"] { color: var(--white); }
.loader-status li span { font-size: .85em; min-width: calc(3em + 3ch); }
.loader-status li[data-state="loading"] > span::after {
  content: '.'; display: inline-block; width: 3ch;
  animation: loader-dots 1.2s step-end infinite;
}
@keyframes loader-dots {
  0%, 100% { content: '.'; }
  33.333% { content: '..'; }
  66.667% { content: '...'; }
}
@media (prefers-reduced-motion: reduce) {
  .loader-status li[data-state="loading"] > span::after { animation: none; content: '...'; }
}
.loader-status li[data-state="ready"] span, .loader-status li[data-state="fallback"] span { color: var(--accent); }
.loader-percent { color: var(--accent); font-size: clamp(36px, 5vw, 76px); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.loader-message { justify-self: end; max-width: 300px; text-align: right; color: var(--white); }
.site-loading { overflow: hidden; }
.site-loading body > :is(.site-header, main) { opacity: 0; pointer-events: none; }
html:not(.site-loading) .site-loader { display: none; }
@media (max-width: 800px) {
  .loader-layout { grid-template-columns: 1fr; gap: 32px; }
  .loader-status { order: 2; }
  .loader-percent { order: 1; justify-self: center; }
  .loader-message { order: 3; justify-self: start; text-align: left; }
}

.folder-button { display: block; }


[data-dot-grid] { --dot-color: #5bede0; --dot-base: #87a7b5; --dot-spacing: 32px; --dot-impact: 145px; --dot-radius: 1.2px; }
.dot-grid-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.dot-grid-page { position: relative; isolation: isolate; background: var(--ink); }
.dot-grid-fixed { position: fixed; width: 100%; height: 100vh; height: 100dvh; }
