/* Paper, dry underdrawing, and wet pigment are independent composited layers. */
:root { --paper: #e1f0ff; --surface: #f1f8ff; --study-ink: 1; --study-color: 1; --study-drift: 0px; }
body::before { background: url("art/studio-paper.svg") repeat; background-size: 512px 512px; opacity: .38; }
html[data-theme="dark"] body::before { opacity: .17; }
.noise { opacity: .02; }
.scroll-study { --study-bleed-y: 28px; position: fixed; z-index: -1; inset: -28px -14px; overflow: hidden; pointer-events: none; }
.scroll-study::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 0 15%, #53a8e02b, transparent 55%), radial-gradient(ellipse at 100% 90%, #498ed42b, transparent 50%); }
.study-wash { position: absolute; inset: 0; opacity: .88; transform: translateY(var(--study-drift)); mask-image: linear-gradient(115deg, #000 calc(var(--study-color) * 150% - 45%), transparent calc(var(--study-color) * 150%)); }
.study-paint { display: block; width: 100%; height: 100%; }
.study-paint-portrait, .study-sketch-portrait { display: none; }
/* Leave room for the desktop sky's 26px upward drift below the fixed header. */
.study-sky { --sky-size: clamp(100px, 15vw, 260px); position: absolute; left: 80%; top: max(18.2%, calc(var(--sky-header-height, 76px) + var(--study-bleed-y) + var(--sky-size) / 2 + 34px)); width: var(--sky-size); aspect-ratio: 1; translate: -50% -50%; transform: translateY(var(--study-drift)); opacity: calc(.45 + var(--study-color) * .55); }
.study-sky img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.study-sun { opacity: 1; transform: translateY(0) rotate(0deg); }
.study-moon { opacity: 0; transform: translateY(180px) rotate(-12deg); }
html[data-theme="dark"] .study-sky:not([data-theme]) .study-sun,
.study-sky[data-theme="dark"] .study-sun { opacity: 0; transform: translateY(180px) rotate(12deg); }
html[data-theme="dark"] .study-sky:not([data-theme]) .study-moon,
.study-sky[data-theme="dark"] .study-moon { opacity: .8; transform: translateY(0) rotate(0deg); }
@media (prefers-reduced-motion: no-preference) {
  html[data-enhanced][data-effects="on"] .study-sky img { transition: transform 1100ms cubic-bezier(.22,.8,.25,1), opacity 800ms ease; }
}
.study-sketch { position: absolute; inset: 0; width: 100%; height: 100%; transform: translateY(calc(var(--study-drift) * -.4)); }
.study-contours { stroke: var(--accent); stroke-width: 1.1; opacity: .22; }
.study-contours path, .study-guides path { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--study-ink)); }
.study-guides { stroke: var(--rust); stroke-width: .8; opacity: .12; }
.study-guides circle, .study-guides ellipse { stroke-dasharray: 2 9; opacity: var(--study-ink); }
html[data-theme="dark"] .study-wash { opacity: .48; }
.painting-dialog { width: min(1000px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 24px; border: 1px solid var(--line); background: var(--paper) url("art/studio-paper.svg") repeat; color: var(--ink); }
.painting-dialog::backdrop { background: #091820a8; backdrop-filter: blur(8px); }
.painting-dialog form { position: absolute; top: 8px; right: 8px; }
.painting-close { width: 44px; height: 44px; border: 0; background: var(--paper); font-size: 26px; }
.painting-dialog > .mono { margin: 0 44px 12px 0; color: var(--rust); font-size: 10px; }
.painting-dialog img { display: block; width: 100%; height: auto; max-height: 70dvh; object-fit: contain; }
.painting-dialog > p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 11px; }
html.painting-opened { overflow: hidden; }

/* Desktop uses an editorial index; smaller screens use direct, inline reading. */
.folio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  gap: 0 70px;
  padding-top: 0;
}
.folio-hero .hero-edition { grid-column: 1 / -1; grid-row: 1; padding-block: 22px 10px; font-size: 9px; }
.folio-hero .hero-copy { grid-column: 1; grid-row: 2; padding: 32px 0 28px; }
.folio-hero .eyebrow { margin-bottom: 20px; font-size: 10px; }
.folio-hero h1.hero-name {
  margin: 0;
  font-size: clamp(82px, 9.1vw, 132px);
  line-height: 1.08;
  letter-spacing: -.065em;
  white-space: nowrap;
}
.hero-motto { display: grid; margin: 18px 0 0; font: 27px/1.25 var(--font-display); letter-spacing: -.02em; }
.folio-hero .hero-intro { max-width: 450px; margin-top: 20px; font-size: 13px; line-height: 1.85; }
.folio-hero .hero-actions { margin-top: 24px; gap: 26px; }
.folio-hero .interaction-note { margin-top: 10px; font-size: 9px; }
.folio-hero .hero-watercolor { position: absolute; z-index: 1; grid-area: auto; inset: 42px 0 auto auto; width: 175px; height: 204px; margin: 0; }
.folio-hero .garden-butterfly { width: 18px; }
.hero-index { grid-column: 2; grid-row: 2; padding-top: 32px; min-width: 0; }
.hero-index-heading { min-height: 175px; padding: 0 190px 18px 0; }
.hero-index-heading > .mono { margin: 0 0 10px; color: var(--rust); font-size: 9px; }
.index-invitation { margin: 0; font: italic 31px/1.2 var(--font-display); }
.hero-index > a { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; min-height: 68px; padding-block: 10px; border-top: 1px solid var(--line); }
.hero-index .index-number { color: var(--rust); font-size: 9px; }
.hero-index strong { display: block; font: 24px/1.2 var(--font-display); }
.hero-index small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.hero-index > a > span:last-child { color: var(--accent); }
.hero-index > a:hover { color: var(--accent); }
.folio-hero .hero-panel { grid-column: 1 / -1; grid-row: 3; grid-template-columns: 1fr 1fr; gap: 30px; padding: 18px 0; }
.folio-hero .avatar { width: 40px; height: 40px; }
.folio-hero .profile-id { display: flex; font-size: 10px; }
.folio-hero .profile-stats { padding: 0 0 0 30px; border-right: 0; }
.folio-hero .profile-stats > div { display: flex; align-items: center; gap: 12px; }
.folio-hero .profile-stats dt { font-size: 27px; }
.folio-hero .profile-stats dd { margin: 0; font-size: 9px; }
.discipline-strip { padding-block: 16px; font-size: 9px; }

/* Paintings are margin accents: removing any of them must not change layout height. */
.section, .contact-section { padding-block: 58px; }
.section-heading { position: relative; align-items: flex-start; gap: 40px; margin-bottom: 26px; }
.section-index { margin-bottom: 18px; font-size: 10px; }
.section h2 { font-size: clamp(36px, 3.6vw, 52px); line-height: 1.12; text-wrap: pretty; }
.section-aside { position: static; flex: 0 0 42%; max-width: 42%; padding: 0 225px 0 0; }
.section-lead { margin: 0; font-size: 12px; line-height: 1.8; }
.section .scene-art, .contact-section .scene-art { position: absolute; z-index: 1; inset: 0 0 auto auto; width: 210px; height: 150px; margin: 0; }
.section .scene-aside { max-height: calc(100% + 18px); }
.scene-art .scene-hint { inset: auto 0 -6px auto; translate: none; width: max-content; max-width: 180px; white-space: normal; font-size: 9px; }
.scene-art > img, .scene-art .painting-layer { object-position: center; }
.section .scene-aside > img, .section .pond-waves { mask-image: none; }
.contact-section .scene-coast > img, .contact-section .coast-waves { mask-image: linear-gradient(90deg, transparent, #000 48%); }
.contact-section .scene-coast > img { opacity: .52; }
.about-section { grid-template-columns: .8fr 1.2fr; gap: 65px; }
.about-title h2 { padding-right: 158px; min-height: 160px; }
.about-section .scene-fern { width: 144px; height: 182px; }
.about-intro { margin: 0 0 26px; font-size: 23px; }
.about-stack { margin-top: 26px; padding-top: 20px; }
.about-stack h3 { margin-bottom: 12px; }
.experience-panel { padding-top: 22px; }
.contact-section h2 { max-width: 1080px; font-size: clamp(38px, 4.8vw, 66px); }
.contact-section .scene-coast { z-index: -1; inset: -35px 0 -25px 18%; width: 82%; height: calc(100% + 60px); }
.contact-section .scene-coast .scene-hint { inset: auto 12% 18px auto; }
.contact-section > .mono { margin-bottom: 22px; font-size: 10px; }
.contact-actions { margin-top: 26px; }

.folio-work .section-heading > div:first-child { padding-right: 300px; min-height: 126px; }
.folio-work .work-landscape { width: 280px; height: 148px; }
.folio-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; padding-block: 14px; border-block: 1px solid var(--line); }
.folio-browse-note { margin: 0; color: var(--muted); font: italic 18px var(--font-display); }
.browser-instruction { display: none; }
.folio-work[data-project-browser] .browser-instruction { display: inline; }
.folio-work[data-project-browser] .inline-instruction { display: none; }
.folio-work .project-filters { max-width: none; }
.folio-work .filter { min-height: 44px; font-size: 10px; }
.folio-work .filter.active { background: var(--ink); color: var(--paper); }
.folio-work .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.project-group-heading { grid-column: 1 / -1; margin: 0; padding-block: 18px 8px; color: var(--muted); font-size: 11px; letter-spacing: .08em; border-bottom: 1px solid var(--line); }
.folio-work .project-card,
.folio-work .project-card:not(.project-featured):last-child { display: flex; flex-direction: column; grid-column: auto; min-width: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: none; box-shadow: none; }
.folio-work .project-card.pointer-lit { transform: none; box-shadow: none; z-index: auto; }
.folio-work .project-card::after { display: none; }
.folio-work .project-number { order: 1; padding: 0 0 8px; color: var(--rust); font-size: 9px; }
.folio-work .project-body { display: contents; }
.folio-project-title { order: 2; display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.folio-work .project-card h3 { margin: 0; font: 500 32px/1.15 var(--font-display); letter-spacing: -.025em; }
.folio-seal { flex-shrink: 0; color: var(--muted); font-size: 9px; }
.folio-work .project-card .project-deck { order: 3; max-width: none; margin: 8px 0 15px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.folio-work .project-spec { order: 4; position: relative; grid-area: auto; width: 100%; height: 270px; min-height: 0; margin: 0; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; background: color-mix(in srgb, var(--surface) 88%, var(--accent) 6%); }
.folio-work .project-spec { padding: 24px 10px; }
.folio-work .project-spec::before {
  content: ""; position: absolute; inset: 12px; pointer-events: none;
  background: linear-gradient(90deg, var(--line) 1px, transparent 1px), linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .24;
}
.folio-work .project-spec svg { position: relative; width: 94%; height: auto; max-height: 100%; }
.folio-work .spec-analog { background: color-mix(in srgb, var(--surface) 92%, var(--rust) 4%); }
.folio-work .silicon-visual { --chip-size: 138px; --orbit-size: 192px; color: var(--ink); gap: 0; padding: 15px 20px; }
.folio-work .silicon-visual::after { display: none; }
.silicon-visual .silicon-visual-label { color: var(--muted); font-size: 8px; }
.chip-registration { --folio-gap: calc((1 - var(--folio-progress, 1)) * .5); position: relative; display: grid; flex: 1; place-items: center; width: 100%; min-height: var(--orbit-size); }
.silicon-visual .chip-orbit { position: relative; z-index: 2; width: var(--orbit-size); height: var(--orbit-size); margin: 0; border: 1px solid var(--line); border-radius: 50%; }
.silicon-visual .chip { width: var(--chip-size); padding: 12px; border-color: var(--accent); outline-color: var(--line); background: color-mix(in srgb, var(--surface) 94%, var(--accent)); box-shadow: 8px 10px 0 color-mix(in srgb, var(--accent) 16%, transparent), 14px 18px 24px color-mix(in srgb, var(--ink) 12%, transparent); }
.silicon-visual .chip::before, .silicon-visual .chip::after { background: repeating-linear-gradient(transparent 0 7px, var(--accent) 7px 8px); }
.silicon-visual .chip-name { color: var(--accent); font-size: 25px; }
.silicon-visual .chip-array { gap: 4px; margin-block: 13px; }
.silicon-visual .chip-array i { height: 11px; border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.silicon-visual .chip-array i:nth-child(5n) { border-color: color-mix(in srgb, var(--rust) 55%, transparent); background: color-mix(in srgb, var(--rust) 28%, transparent); }
.silicon-visual .chip > .mono { color: var(--muted); font-size: 6px; }
.registration-sheet { position: absolute; top: 50%; left: 50%; width: var(--chip-size); height: calc(var(--chip-size) * 1.09); border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent); background-color: color-mix(in srgb, var(--surface) 64%, transparent); pointer-events: none; }
.sheet-architecture { translate: calc(-50% - 5px - var(--folio-gap) * 36px) calc(-50% - 4px - var(--folio-gap) * 32px); transform: rotate(calc(-12deg - var(--folio-gap) * 9deg)); background-image: repeating-linear-gradient(0deg, transparent 0 23px, var(--line) 23px 24px); }
.sheet-routing { translate: calc(-50% + 5px + var(--folio-gap) * 30px) calc(-50% + 5px + var(--folio-gap) * 26px); transform: rotate(calc(-12deg + var(--folio-gap) * 7deg)); border-color: color-mix(in srgb, var(--rust) 50%, transparent); background-image: repeating-linear-gradient(90deg, transparent 0 23px, var(--line) 23px 24px); }
.folio-work .project-spec .registration-traces { position: absolute; inset: 0; width: 100%; height: 100%; stroke: var(--accent); stroke-width: 1; opacity: .6; }
.registration-traces path { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--folio-progress, 1)); }
.registration-traces circle { fill: var(--rust); stroke: none; }
html[data-effects="off"] .silicon-visual :is(.chip, .chip-array i) { animation: none; }
.cover-ledger { order: 5; display: flex; justify-content: space-between; gap: 12px; margin-top: 9px; color: var(--muted); font-size: 8px; }
.cover-ledger strong { color: var(--accent); font-weight: 500; }
.project-disclosure { order: 6; margin-top: 12px; border-top: 1px solid var(--line); }
.project-disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; list-style: none; cursor: pointer; color: var(--muted); font-size: 10px; }
.project-disclosure summary::-webkit-details-marker { display: none; }
.project-disclosure summary:hover { color: var(--accent); }
.project-disclosure summary:focus-visible, .project-select:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
.project-disclosure .notes-close, .project-disclosure[open] .notes-open { display: none; }
.project-disclosure[open] .notes-close { display: inline; }
.disclosure-cross { position: relative; width: 14px; height: 14px; color: var(--rust); }
.disclosure-cross::before, .disclosure-cross::after { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 1px; background: currentColor; }
.disclosure-cross::after { transform: rotate(90deg); transition: transform 220ms; }
.project-disclosure[open] .disclosure-cross::after { transform: none; }
.project-notes { padding: 14px 16px 18px; background: var(--card-bg); }
.folio-work .project-notes .project-meta { margin-bottom: 12px; font-size: 9px; }
.folio-work .project-notes p { max-width: none; margin: 0 0 14px; font-size: 12px; }
.folio-work .project-notes a { max-width: none; min-height: 44px; padding-top: 10px; }
.project-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.folio-work .project-links a { flex: 1 1 110px; min-width: 44px; margin: 0; padding: 10px 0; }
.folio-endnote { display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }

/* Keep each complete study together; only the directory labels are duplicated. */
.folio-work[data-project-browser] .project-grid { display: grid; grid-template-columns: minmax(190px, .65fr) minmax(0, 1.55fr); gap: 0 6%; min-height: 520px; }
.project-directory { position: sticky; top: var(--project-stage-top, 88px); align-self: start; max-height: calc(100svh - var(--project-stage-top, 88px) - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding: 4px 8px 8px 4px; }
.project-directory .project-group-heading { padding-block: 20px 10px; font-size: 9px; }
.project-directory .project-group-heading:first-child { padding-top: 0; }
.project-panels { min-width: 0; scroll-margin-top: var(--project-stage-top, 88px); }
.folio-work[data-project-browser] .project-card,
.folio-work[data-project-browser] .project-card:not(.project-featured):last-child { display: none; width: 100%; padding: 0; border-bottom: 0; transform: none; translate: none; opacity: 1; }
.folio-work[data-project-browser] .project-card[data-active],
.folio-work[data-project-browser] .project-card[data-active]:last-child { display: flex; }
.folio-work[data-project-browser] .project-card h3 { font-size: clamp(34px, 3.4vw, 46px); }
.project-select { display: grid; grid-template-columns: minmax(0, 1fr) 24px; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 9px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); text-align: left; font: 500 23px/1.2 var(--font-display); letter-spacing: -.025em; }
.project-select::after { content: ""; grid-column: 2; justify-self: center; width: 21px; height: 21px; color: var(--muted); background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M5 5h14v14' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.project-select[aria-pressed="true"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.project-select[aria-pressed="true"]::after { transform: rotate(45deg); color: var(--rust); }
.project-select:is([data-stage="queued"], [data-stage="planned"]) { font-size: 19px; }
.folio-work[data-project-browser] .project-deck { font-size: 14px; }
.folio-work[data-project-browser] .project-spec { height: clamp(270px, 39svh, 380px); padding: 20px; }
.folio-work[data-project-browser] .cover-ledger { font-size: 9px; }
.folio-work .project-card:is([data-stage="queued"], [data-stage="planned"]) h3 { font-size: 29px; }
.folio-work .project-notes p { font-size: 13px; }

html[data-effects="on"] { scroll-snap-type: y proximity; }
.atlas-story { position: relative; }
.atlas-screen-size { position: absolute; width: 0; height: 100vh; height: 100svh; visibility: hidden; pointer-events: none; }
.atlas-snap { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }
.atlas-snap-world { top: calc(var(--atlas-travel) * .08 - var(--atlas-snap-offset)); }
.atlas-snap-china { top: calc(var(--atlas-travel) * .92 - var(--atlas-snap-offset)); }
.atlas-story[data-pinned] { height: var(--atlas-story-height); }
.atlas-story[data-pinned] > .atlas-snap:not([data-released]) { scroll-snap-align: start; }
.atlas-story[data-pinned] > .atlas-section { position: sticky; top: var(--atlas-sticky-top); }
.atlas-section { --atlas-progress: 0; --atlas-west: -30; --atlas-zoom: 8; --atlas-x: -3011.1111; --atlas-y: -983.3333; position: relative; display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.8fr); align-items: center; gap: 40px; width: min(calc(var(--max) + 120px), calc(100% - var(--gutter) * 2)); margin-inline: auto; padding-block: 34px; border-block: 1px solid var(--line); }
.atlas-copy h2 { margin: 0 0 18px; font: 500 clamp(36px, 3.7vw, 52px)/1.15 var(--font-display); letter-spacing: -.035em; }
.atlas-copy > p:not(.section-index) { max-width: 355px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.atlas-copy .section-index { margin-bottom: 16px; }
.atlas-controls { flex-wrap: wrap; gap: 4px; margin-top: 18px; }
.atlas-controls button { min-height: 44px; padding: 8px 12px; border: 1px solid transparent; background: transparent; font-size: 10px; }
.atlas-controls button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.atlas-controls button:disabled { color: var(--muted); cursor: default; }
.atlas-controls button:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
.atlas-figure { min-width: 0; margin: 0; }
.atlas-viewport { position: relative; overflow: hidden; aspect-ratio: 2 / 1; border: 1px solid var(--line); border-radius: 3px; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.atlas-viewport::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 42px color-mix(in srgb, var(--paper) 80%, transparent); }
.atlas-map { display: block; width: 100%; height: 100%; }
.atlas-geography { transform-origin: 0 0; transform: translate(calc(var(--atlas-progress) * var(--atlas-x) * 1px), calc(var(--atlas-progress) * var(--atlas-y) * 1px)) scale(calc(1 + var(--atlas-progress) * (var(--atlas-zoom) - 1))); }
.atlas-context { transition: opacity 300ms; }
.atlas-section[data-city-region] .atlas-context { opacity: .12; }
.atlas-section[data-city-detail] .atlas-context { display: none; }
.atlas-city-region { fill: color-mix(in srgb, var(--accent) 28%, var(--paper)); fill-opacity: .86; stroke: var(--accent); stroke-width: 1.5px; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity 260ms; pointer-events: none; }
.atlas-city-region[data-active] { opacity: 1; }
.atlas-section:not([data-atlas-mode="follow"]) .atlas-geography { transition: transform 650ms cubic-bezier(.2,.75,.25,1); }
.atlas-section[data-near] .atlas-city-anchor { will-change: transform; }
.atlas-graticule { stroke: var(--accent); stroke-width: .7; opacity: .15; transform-origin: center; transform: rotate(calc(var(--atlas-progress) * -12deg)) scale(calc(1 + var(--atlas-progress) * .3)); }
.atlas-crosshairs { stroke: var(--accent); stroke-width: 1; opacity: .3; }
.atlas-crosshairs circle { stroke-dasharray: 2 9; }
.atlas-view-label { position: absolute; inset: 12px auto auto 14px; font-size: 8px; color: var(--muted); }
.atlas-china-label { position: absolute; top: 0; left: 0; white-space: nowrap; opacity: var(--atlas-progress); }
.atlas-world-label { opacity: calc(1 - var(--atlas-progress)); }
.atlas-city-label { position: absolute; top: 0; left: 0; white-space: nowrap; opacity: 0; }
.atlas-section[data-city-focus] :is(.atlas-world-label, .atlas-china-label) { opacity: 0; }
.atlas-section[data-city-focus] .atlas-city-label { opacity: 1; }
.atlas-scale { position: absolute; bottom: 14px; left: 14px; width: 60px; height: 3px; background: var(--line); }
.atlas-scale > span { display: block; height: 100%; background: var(--rust); transform-origin: left; transform: scaleX(calc(.25 + var(--atlas-progress) * .75)); }
.atlas-figure figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; color: var(--muted); font: 8px var(--font-mono); }
.atlas-figure figcaption a:hover { color: var(--accent); }
html[data-effects="off"] .atlas-section .atlas-geography { transition: none; }
.atlas-city-markers { position: absolute; inset: 0; pointer-events: none; }
.atlas-city-anchor { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.atlas-city-marker { position: absolute; display: grid; place-items: center; width: max-content; min-width: 32px; height: 26px; padding: 0 4px; translate: -50% -50%; border: 0; background: transparent; color: var(--ink); font: 800 12px/1.2 var(--font-sans); text-shadow: 0 0 3px var(--paper), 0 1px 2px var(--paper); pointer-events: auto; }
.atlas-city-name { display: block; width: max-content; white-space: nowrap; pointer-events: none; }
.atlas-city-marker[aria-expanded="true"] { text-decoration: underline; text-decoration-color: var(--rust); text-underline-offset: 4px; }
.atlas-city-anchor[data-residence="false"] .atlas-city-marker { font-size: 10px; font-weight: 600; color: var(--muted); }
.atlas-city-anchor[data-residence="false"] .atlas-city-dot { width: 6px; height: 6px; }
.atlas-city-dot { position: absolute; width: 9px; height: 9px; translate: -50% -50%; border: 2px solid var(--surface); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent); }
.atlas-city-anchor[data-residence="true"] .atlas-city-dot { background: var(--rust); box-shadow: 0 0 0 1px var(--rust), 0 0 0 5px color-mix(in srgb, var(--rust) 18%, transparent); }
.atlas-city-anchor:is(:hover, :focus-within, [data-open]) .atlas-city-dot { box-shadow: 0 0 0 1px var(--rust), 0 0 0 8px color-mix(in srgb, var(--rust) 20%, transparent); }
.atlas-city-leader { position: absolute; height: 1px; border-radius: 1px; transform-origin: left center; background: color-mix(in srgb, var(--muted) 55%, transparent); }
.atlas-city-marker[hidden], .atlas-city-leader[hidden] { display: none; }
.atlas-section:not([data-atlas-mode="follow"]) .atlas-city-anchor { transition: transform 650ms cubic-bezier(.2,.75,.25,1); }
.atlas-section:not([data-atlas-mode="follow"]) .atlas-city-marker { transition: left 650ms cubic-bezier(.2,.75,.25,1), top 650ms cubic-bezier(.2,.75,.25,1); }
.atlas-section:not([data-atlas-mode="follow"]) .atlas-city-leader { transition: width 650ms cubic-bezier(.2,.75,.25,1), rotate 650ms cubic-bezier(.2,.75,.25,1); }
.atlas-section[data-camera-state]:not([data-camera-state="base"]) :is(.atlas-geography, .atlas-city-anchor, .atlas-city-marker, .atlas-city-leader) { transition: none; }
html[data-effects="off"] .atlas-section :is(.atlas-city-anchor, .atlas-city-marker, .atlas-city-leader) { transition: none; }
.atlas-city-list { display: grid; gap: 4px; margin-top: 10px; }
.atlas-city-row { display: flex; flex-wrap: wrap; gap: 4px 16px; min-width: 0; }
.atlas-city-row[hidden] { display: none; }
.atlas-city-row[data-residence="false"] { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.atlas-city-list[hidden] { display: none; }
.atlas-section[data-city-state="loading"] .atlas-city-list[hidden] { display: grid !important; min-height: 92px; visibility: hidden; }
.atlas-city-list button { flex: 0 0 auto; min-width: 44px; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--accent); font-size: 11px; white-space: nowrap; }
.atlas-city-list button[data-residence="true"] { border-bottom-color: var(--rust); }
.atlas-city-list button[data-residence="false"] { color: var(--muted); font-size: 10px; }
.atlas-city-feedback { position: absolute; z-index: 8; bottom: 12px; left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); background: var(--paper); }
.atlas-city-feedback[hidden] { display: none; }
.atlas-city-status { margin: 0; color: var(--rust); font-size: 12px; }
.atlas-city-retry { flex-shrink: 0; padding: 6px 10px; border: 1px solid var(--line); background: var(--paper); color: var(--accent); font: 12px var(--font-sans); }
.city-popover { --paper: #faf7ef; --ink: #163443; --muted: #53646b; --accent: #205d7b; --rust: #a64b30; position: absolute; z-index: 10; inset: auto; display: grid; width: min(320px, calc(100vw - 24px)); max-height: min(420px, var(--city-available-height, calc(var(--atlas-screen-height, 100vh) - 100px))); margin: 0; padding: 14px 10px 10px; border: 1px solid #dbd7cb; background: var(--paper) url("art/studio-paper.webp"); color: var(--ink); box-shadow: 0 18px 42px #06192440, 0 3px 8px #06192424; overflow: hidden; grid-template-rows: auto minmax(0, 1fr); opacity: 0; transform-origin: 0 0; transform: translate(var(--city-retract-x, 0px), var(--city-retract-y, 0px)) scale(.08) rotate(-4deg); pointer-events: none; transition: opacity 260ms, transform 440ms cubic-bezier(.2,.75,.25,1); }
.city-popover { height: min(370px, var(--city-available-height, calc(var(--atlas-screen-height, 100vh) - 100px))); background-size: 512px 512px; }
.city-popover[hidden] { display: none; }
.city-popover[data-open] { opacity: 1; transform: none; pointer-events: auto; transition-duration: 260ms, 700ms; transition-timing-function: ease, ease-in-out; }
.city-popover[data-scroll-exit] { transform: none; transition: opacity 180ms; }
.city-close { position: absolute; z-index: 5; right: 0; top: 0; width: 44px; height: 44px; border: 0; background: transparent; font-size: 22px; }
.city-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 0 36px 0 6px; margin-bottom: 8px; }
.city-heading:has(.city-institution[hidden]) { grid-template-columns: minmax(0, 1fr); }
.city-popover h2 { margin: 0; font: 24px var(--font-display); overflow-wrap: anywhere; }
.city-popover[data-residence="false"] h2 { font-size: 22px; }
.city-residence { margin: 0 0 5px; color: var(--rust); font: 8px var(--font-mono); letter-spacing: .02em; }
.city-period { margin: 6px 0 0; color: var(--muted); font: 9px/1.4 var(--font-mono); white-space: nowrap; }
.city-period[hidden] { display: none; }
.city-popover[data-residence="false"] .city-residence { color: var(--accent); }
.city-institution { width: 128px; }
.city-institution::before { display: none; }
.city-institution img { max-height: 50px; }
.city-institution[hidden], .city-institution img[hidden] { display: none; }
.city-region-credit, .city-photo-credit { grid-column: 1 / -1; font: 8px/1.6 var(--font-mono); color: var(--muted); }
.city-region-credit[hidden], .city-photo-credit[hidden] { display: none; }
.city-region-credit a, .city-photo-credit a { text-decoration: underline; text-underline-offset: 2px; }
.city-gallery { display: grid; grid-template-rows: minmax(0, 1fr); min-height: 0; padding: 8px 6px 0; overflow: hidden; }
.city-photo-stack { position: relative; isolation: isolate; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; min-height: 0; padding: 4px 0 8px; touch-action: pan-y pinch-zoom; container-type: size; }
.city-print { grid-area: 1 / 1; width: min(calc(100% - 30px), calc(max(48px, min(230px, 100cqh - 32px)) * var(--print-ratio) + 16px)); margin: 0; padding: 8px; background: #fffefa; box-shadow: 0 3px 8px #283b4530; transform: rotate(-1deg); transition: transform 380ms cubic-bezier(.2,.75,.25,1), opacity 220ms, box-shadow 220ms; }
.city-print[data-depth="0"] { transform: translateX(var(--photo-drag, 0px)) rotate(calc(-1deg + var(--photo-turn, 0deg))); box-shadow: 0 5px 14px #283b4538; }
.city-print[data-depth="1"] { transform: translate(11px, 7px) rotate(4deg); }
.city-print[data-depth="2"] { transform: translate(-12px, 10px) rotate(-5deg); }
.city-print[data-queued] { visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(16px) rotate(6deg) scale(.96); }
.city-photo-stack[data-dragging] .city-print[data-depth="0"] { transition: none; }
.city-photo-select { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: var(--print-ratio); padding: 0; border: 0; background: #e9e9dd; }
.city-photo-select:disabled { cursor: default; }
.city-photo-select img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; opacity: 0; transition: opacity 180ms; }
.city-photo-select[data-loaded] img { opacity: 1; }
.city-photo-select img[hidden], .city-photo-error[hidden] { display: none; }
@media (pointer: coarse), (max-width: 600px) {
  .atlas-city-marker { min-width: 80px; height: 44px; padding-inline: 6px; }
  .city-print { --print-edge: min(256px, 100cqw - 46px, max(48px, 100cqh - 16px)); width: calc(var(--print-edge) * var(--print-width-factor) + 16px); }
}
.city-photo-error { position: absolute; inset: 8px; display: grid; place-items: center; color: var(--muted); font-size: 11px; line-height: 1.6; }
.city-print[data-error] .city-photo-error { color: var(--rust); }
.city-photo-retry { position: absolute; z-index: 1; bottom: 16px; left: 50%; transform: translateX(-50%); padding: 4px 10px; border: 1px solid var(--line); background: #fffefa; color: #176f9f; font-size: 11px; }
.city-photo-retry[hidden], .atlas-city-retry[hidden] { display: none; }
.city-close, .painting-close, .menu-toggle { border-radius: 50%; transition: color 180ms, background-color 180ms; }
.header-cta { transition: color 180ms; }
.header-cta:is(:hover, :focus-visible), .city-photo-credit a:is(:hover, :focus-visible), .city-region-credit a:is(:hover, :focus-visible) { color: var(--rust); }
.atlas-city-list button:is(:hover, :focus-visible, [aria-expanded="true"]) { color: var(--rust); border-bottom-color: currentColor; box-shadow: 0 1px 0 currentColor; }
.city-close:is(:hover, :focus-visible), .painting-close:is(:hover, :focus-visible), .menu-toggle:is(:hover, :focus-visible) { color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.city-close:focus-visible, .painting-close:focus-visible, .menu-toggle:focus-visible { outline-offset: -5px; }
html[data-effects="off"] :is(.city-print, .city-photo-select img, .atlas-context, .atlas-city-region) { transition: none; }
html[data-effects="off"] .city-print { translate: none !important; }
:where(.watercolor-hover) { position: relative; isolation: isolate; }
.watercolor-hover:not(.effects-toggle)::before,
.effects-toggle.watercolor-hover::after {
  content: ""; position: absolute; z-index: -1; inset: -3px -6px; pointer-events: none;
  border-radius: 37% 9% 31% 8%;
  background: radial-gradient(ellipse at 24% 66%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 72%), linear-gradient(110deg, color-mix(in srgb, var(--accent) 12%, transparent), color-mix(in srgb, var(--rust) 9%, transparent));
  opacity: 0; transform: scaleX(.35); transform-origin: left;
  transition: transform 380ms, opacity 250ms;
}
.watercolor-hover:not(.effects-toggle):focus-visible::before,
.effects-toggle.watercolor-hover:focus-visible::after { transform: scaleX(1); opacity: 1; }
.hero-index > a.watercolor-hover::before { inset: 4px -6px; }
.hero-index > a.watercolor-hover:is(:active, [data-pressed])::before { transform: scaleX(1); opacity: 1; transition: none; }
html[data-effects="off"] .watercolor-hover::before,
html[data-effects="off"] .effects-toggle.watercolor-hover::after,
html[data-effects="off"] .city-popover { transition: none; }
@media (hover: hover) and (pointer: fine) {
  .city-print:is([data-depth="1"], [data-depth="2"]):hover { box-shadow: 0 7px 17px #283b4540; translate: 0 -3px; }
  .watercolor-hover:not(.effects-toggle):not(:disabled):not([aria-disabled="true"]):hover::before,
  .effects-toggle.watercolor-hover:not(:disabled):hover::after { transform: scaleX(1); opacity: 1; }
  .repo-logo-card .repo-logo, .timeline-entry .institution-logo { transition: transform 280ms; }
  .repo-logo-card:is(:hover, :focus-visible) .repo-logo { transform: translateY(-3px) rotate(-5deg); }
  .timeline-entry:is(:hover, :focus-visible) .institution-logo { transform: translateY(-3px); }
  .publication .research-flow li, .publication .research-evidence > span { transition: border-color 250ms, background 250ms; }
  .publication:is(:hover, :focus-visible) .research-flow li { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
  .publication:is(:hover, :focus-visible) .research-evidence > span { border-color: var(--rust); }
  .atlas-controls button:not(:disabled):hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
}
@supports (interpolate-size: allow-keywords) {
  .project-disclosure { interpolate-size: allow-keywords; }
  .project-disclosure::details-content { block-size: 0; overflow: clip; transition: block-size 320ms ease, content-visibility 320ms allow-discrete; }
  .project-disclosure[open]::details-content { block-size: auto; }
}
html[lang="zh-CN"] .folio-hero h1.hero-name { font-size: clamp(82px, 8vw, 116px); line-height: 1.2; letter-spacing: .02em; }
html[lang="zh-CN"] .hero-motto .hero-outline { font-style: normal; }
html[lang="zh-CN"] .index-invitation { font-size: 25px; font-style: normal; }
html[lang="zh-CN"] .section h2 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.4; }
html[lang="zh-CN"] .about-intro { font-size: 20px; line-height: 1.85; }
html[lang="zh-CN"] .folio-browse-note { font: 12px var(--font-sans); }

@media (min-width: 901px) and (max-width: 1180px) {
  .folio-hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 40px; }
  .folio-hero h1.hero-name { font-size: 8.3vw; }
  .hero-index strong { font-size: 22px; }
  .hero-motto { font-size: 25px; }
  .folio-hero .hero-panel { grid-template-columns: .8fr 1.2fr; }
  .folio-work[data-project-browser] .project-grid { column-gap: 4%; }
  .project-select { font-size: 21px; }
  .about-section { gap: 40px; }
  .section-aside { flex-basis: 48%; max-width: 48%; padding-right: 172px; }
  .section .scene-aside { width: 160px; height: 128px; }
  .atlas-section { gap: 35px; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .folio-hero { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 28px; }
  .folio-hero h1.hero-name { font-size: 7.5vw; }
  .folio-hero .hero-copy, .hero-index { padding-top: 26px; }
  .folio-hero .eyebrow { font-size: 9px; margin-bottom: 16px; }
  .hero-motto { font-size: 22px; }
  .folio-hero .hero-intro { font-size: 12px; }
  .hero-index-heading { padding-right: 76px; }
  .index-invitation { font-size: 26px; }
  .hero-index > a { min-height: 65px; grid-template-columns: 20px 1fr auto; gap: 6px; }
  .hero-index strong { font-size: 21px; }
  .hero-index small { font-size: 9px; }
  .folio-hero .hero-watercolor { top: 48px; width: 126px; height: 146px; }
  .hero-index-heading { min-height: 150px; padding-right: 140px; }
  .folio-hero .hero-panel { grid-template-columns: .8fr 1.2fr; gap: 20px; padding-block: 16px; }
  .folio-hero .profile-stats { gap: 12px; padding-left: 20px; }
  .folio-hero .profile-stats > div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .section, .contact-section { padding-block: 44px; }
  .section-heading { flex-direction: row; gap: 24px; }
  .section h2, html[lang="zh-CN"] .section h2 { font-size: 34px; }
  .section-aside { flex: 0 0 48%; max-width: 48%; padding: 0 0 0 163px; }
  .section .scene-aside { right: calc(48% - 150px); width: 150px; height: 120px; }
  .section-lead { font-size: 11px; }
  .about-section { gap: 0; }
  .about-section h2 { max-width: none; padding-right: 150px; min-height: 130px; }
  .about-section .scene-fern { top: 36px; width: 136px; height: 170px; }
  .about-intro, html[lang="zh-CN"] .about-intro { max-width: none; margin: 22px 0; font-size: 20px; }
  .about-stack { margin-top: 26px; }
  .folio-toolbar { flex-wrap: wrap; gap: 8px; }
  .folio-work .project-grid { gap: 28px 24px; }
  .folio-work .section-heading > div:first-child { padding-right: 270px; }
  .folio-work .work-landscape { width: 250px; height: 134px; }
  .folio-work .project-card h3 { font-size: 28px; }
  .folio-work .project-card .project-deck { min-height: 38px; }
  .folio-work .project-spec,
  .folio-work .project-card:not(.project-featured):last-child .project-spec { height: 255px; min-height: 0; margin: 0; }
  .repo-logo-card { padding: 20px; }
  .repo-summary { font-size: 12px; }
  .contact-section h2 { font-size: 42px; }
  html[lang="zh-CN"] .folio-hero h1.hero-name { font-size: 64px; }
  html[lang="zh-CN"] .index-invitation { font-size: 22px; }
  .atlas-section { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 28px; }
  .atlas-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0 25px; }
  .atlas-copy .section-index { grid-column: 1; grid-row: 1; }
  .atlas-copy h2 { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .atlas-copy > p:not(.section-index) { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .atlas-copy h2 { font-size: 32px; }
  .atlas-controls { grid-column: 1 / -1; gap: 0; margin-top: 12px; }
  .atlas-controls button { padding-inline: 8px; font-size: 9px; }
  .atlas-viewport { aspect-ratio: 2 / 1; }
}

@media (max-width: 900px) {
  html:not([data-enhanced]) .scroll-study { --sky-header-height: 160px; }
  .study-sky { left: 76%; top: calc(var(--sky-header-height, 76px) + var(--study-bleed-y) + 18px); width: clamp(100px, 26vw, 128px); translate: -50% 0; transform: translateY(calc(var(--study-drift) * .3)); opacity: calc(.85 + var(--study-color) * .15); }
}
@media (max-width: 600px) {
  .scroll-study { --study-bleed-y: 0px; inset: 0; }
  .study-guides { display: none; }
  .study-wash { opacity: .74; }
  .study-paint, .study-sketch { display: none; }
  .study-paint-portrait { display: block; width: 100%; height: 100%; padding: 12px 8px; object-fit: contain; }
  .study-sketch-portrait { display: block; position: absolute; inset: 0; width: 100%; height: 100%; padding: 12px 8px; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--study-ink)); opacity: .55; transform: translateY(calc(var(--study-drift) * -.4)); }
  .study-contours { opacity: .2; }
  .painting-dialog { padding: 20px 14px; }
  .folio-hero { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .folio-hero .hero-edition { padding-block: 16px 0; font-size: 8px; }
  .folio-hero .hero-copy { grid-column: 1; grid-row: 2; padding: 24px 0 18px; }
  .folio-hero .eyebrow { margin-bottom: 12px; font-size: 8px; }
  .folio-hero h1.hero-name { font-size: clamp(42px, 12vw, 60px); line-height: 1.12; letter-spacing: -.05em; }
  .hero-motto { min-height: 126px; align-content: center; padding-right: 120px; margin-top: 12px; font-size: 20px; line-height: 1.3; }
  .folio-hero .hero-intro { margin-top: 14px; font-size: 12px; line-height: 1.8; }
  .folio-hero .hero-actions { margin-top: 16px; gap: 22px; }
  .folio-hero .hero-actions .button { min-height: 44px; padding: 10px 14px; gap: 18px; font-size: 10px; }
  .folio-hero .interaction-note { margin-top: 5px; font-size: 8px; gap: 6px 12px; }
  .folio-hero .effects-toggle { font-size: 9px; }
  .folio-hero .hero-watercolor { top: 142px; width: 110px; height: 128px; }
  .hero-index { grid-column: 1; grid-row: 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; padding: 0 0 14px; }
  .hero-index-heading { grid-column: 1 / -1; min-height: 0; padding: 0; }
  .hero-index-heading > .mono { margin-bottom: 8px; font-size: 8px; }
  .index-invitation { display: none; }
  .hero-index > a { grid-template-columns: 17px 1fr auto; gap: 5px; min-height: 48px; padding-block: 8px; }
  .hero-index strong { font-size: 17px; line-height: 1.25; }
  .hero-index small { display: none; }
  .hero-index > a > span:last-child { font-size: 12px; }
  .hero-index .index-number { font-size: 8px; }
  .folio-hero .hero-panel { grid-column: 1; grid-row: 4; grid-template-columns: .85fr 1.15fr; gap: 14px; padding: 14px 0; }
  .folio-hero .profile-top { gap: 8px; }
  .folio-hero .avatar { width: 30px; height: 30px; }
  .folio-hero .profile-id > span { font-size: 8px; }
  .folio-hero .profile-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 14px; }
  .folio-hero .profile-stats > div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .folio-hero .profile-stats dt { font-size: 21px; }
  .folio-hero .profile-stats dd { font-size: 7px; line-height: 1.4; }
  .discipline-strip { gap: 7px 14px; padding-block: 12px; font-size: 7px; }
  .section, .contact-section { padding-block: 34px; }
  .section-heading { flex-direction: column; gap: 12px; margin-bottom: 20px; }
  .section-index { margin-bottom: 12px; font-size: 9px; }
  .section h2, html[lang="zh-CN"] .section h2 { font-size: 28px; line-height: 1.35; }
  .section-heading > div:first-child { width: 100%; min-height: 105px; padding-right: 128px; }
  .section-aside { flex: auto; width: 100%; max-width: none; padding: 0; }
  .section-lead { font-size: 12px; line-height: 1.75; }
  .section .scene-art { inset: 0 0 auto auto; width: 116px; height: 100px; }
  .scene-art .scene-hint { font-size: 8px; }
  .about-title h2 { min-height: 130px; padding-right: 116px; }
  .about-section { gap: 0; }
  .about-section .scene-fern { top: 34px; width: 100px; height: 130px; }
  .about-intro, html[lang="zh-CN"] .about-intro { margin: 18px 0 22px; font-size: 17px; line-height: 1.8; }
  .about-stack { margin-top: 24px; padding-top: 18px; }
  .tag-list { gap: 5px; }
  .tag-list li { padding: 2px 7px; font-size: 9px; }
  .experience-panel { padding-top: 20px; }
  .timeline-heading-secondary { margin-top: 25px; }
  .folio-work .section-heading > div:first-child { min-height: 106px; padding-right: 136px; }
  .folio-work .work-landscape { width: 126px; height: 96px; }
  .folio-toolbar { display: block; margin-bottom: 22px; padding-block: 10px; }
  .folio-browse-note { margin-bottom: 8px; font-size: 15px; }
  html[data-enhanced] .folio-work .project-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
  .folio-work .filter { padding: 8px 3px; font-size: 9px; }
  .folio-work .project-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .folio-work .project-card h3 { font-size: 27px; }
  .folio-work .project-number { font-size: 8px; padding-bottom: 6px; }
  .folio-seal { font-size: 8px; }
  .folio-work .project-card .project-deck { margin: 6px 0 12px; font-size: 12px; line-height: 1.6; }
  .folio-work .project-spec, .folio-work .project-card:not(.project-featured):last-child .project-spec { height: 138px; min-height: 0; margin: 0; padding: 12px 6px; }
  .folio-work .silicon-visual { --chip-size: 134px; --orbit-size: 182px; height: 234px; padding: 14px 18px; }
  .project-disclosure { margin-top: 9px; }
  .folio-endnote { margin-top: 20px; font-size: 8px; flex-wrap: wrap; }
  .org-strip { padding-block: 18px; margin-bottom: 20px; }
  .repo-logo-grid { grid-template-columns: minmax(0, 1fr); }
  .repo-logo-card { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 12px; padding: 17px 0; border-right: 0; }
  .repo-logo-grid { border-left: 0; }
  .repo-logo-card > .repo-logo { grid-column: 1; grid-row: 1 / span 2; width: 30px; height: 30px; margin: 3px 0 0; font-size: 19px; }
  .repo-logo-card .repo-logo img { width: 100%; height: auto; }
  .repo-logo-card .repo-owner { position: static; grid-column: 2; grid-row: 1; font-size: 8px; }
  .repo-logo-card > strong { grid-column: 2; grid-row: 2; font-size: 17px; }
  .repo-logo-card .repo-summary { grid-column: 2; margin: 4px 0 6px; font-size: 12px; line-height: 1.75; }
  .repo-logo-card .repo-card-footer { grid-column: 2; font-size: 8px; }
  .publication { padding: 20px; gap: 18px; }
  .publication-main strong { font-size: 34px; }
  .research-detail { margin: 0 -20px -20px; padding: 20px; }
  .research-detail-heading strong { font-size: 23px; }
  .social-grid { column-gap: 20px; }
  .social-card { padding-block: 17px; gap: 4px; }
  .social-symbol { margin-bottom: 4px; }
  .contact-section h2, html[lang="zh-CN"] .contact-section h2 { max-width: none; font-size: 30px; line-height: 1.3; }
  .contact-section .scene-coast { inset: -10px calc(var(--gutter) * -1) -24px; width: calc(100% + var(--gutter) * 2); height: calc(100% + 34px); }
  .contact-section .scene-coast > img, .contact-section .coast-waves { mask-image: linear-gradient(180deg, transparent, #000 48%); }
  .contact-section .scene-coast > img { opacity: .48; }
  .contact-section > .mono { margin-bottom: 16px; font-size: 9px; }
  .contact-actions { margin-top: 20px; gap: 12px; }
  html[lang="zh-CN"] .folio-hero h1.hero-name { font-size: 48px; line-height: 1.2; }
  html[lang="zh-CN"] .folio-hero .hero-intro { line-height: 1.8; }
  .atlas-section { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 26px; }
  .atlas-figure { margin-inline: calc(var(--gutter) * -1); }
  .atlas-figure figcaption, .atlas-city-list { margin-inline: var(--gutter); }
  .atlas-copy h2 { margin-bottom: 12px; font-size: 28px; }
  .atlas-copy > p:not(.section-index) { max-width: none; font-size: 12px; }
  .atlas-copy .section-index { font-size: 9px; margin-bottom: 12px; }
  .atlas-controls { margin-top: 10px; }
  .atlas-controls button { padding-inline: 11px; }
  .city-popover { width: min(320px, calc(100vw - 24px)); }
  .city-heading { gap: 5px; margin-bottom: 5px; }
  .city-residence { margin-bottom: 3px; }
  .city-popover h2 { font-size: 22px; }
  .city-popover[data-residence="false"] h2 { font-size: 20px; }
  .city-institution { width: 120px; }
  .atlas-viewport { aspect-ratio: 2 / 1; border-inline: 0; border-radius: 0; }
  .atlas-view-label { font-size: 7px; inset: 8px auto auto 10px; }
  .atlas-scale { bottom: 10px; left: 10px; }
  .atlas-figure figcaption { font-size: 7px; }
}

@media (max-height: 599px) and (min-width: 601px) and (orientation: landscape) {
  .folio-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 30px; }
  .folio-hero .hero-copy, .hero-index { padding-top: 20px; }
  .folio-hero h1.hero-name, html[lang="zh-CN"] .folio-hero h1.hero-name { font-size: 52px; }
  .hero-motto { font-size: 21px; }
  .hero-index > a { min-height: 54px; padding-block: 7px; }
  .hero-index strong { font-size: 19px; }
  .hero-index small { font-size: 9px; }
  .section, .contact-section { padding-block: 32px; }
  .folio-work .project-spec { height: 250px; }
  .atlas-section { grid-template-columns: minmax(0, .7fr) minmax(0, 1.8fr); gap: 24px; padding-block: 12px; }
  .atlas-copy { display: block; }
  .atlas-copy h2 { font-size: 26px; }
  .atlas-copy > p:not(.section-index) { font-size: 11px; line-height: 1.65; }
  .city-popover { width: min(280px, var(--city-landscape-width, 280px), calc(100vw - 24px)); }
  .city-institution { width: 100px; }
  .atlas-viewport { height: clamp(140px, calc(var(--atlas-screen-height, 100svh) - 236px), 240px); aspect-ratio: auto; }
  .atlas-figure { position: relative; }
  .atlas-city-list { padding-right: 76px; }
  .atlas-figure figcaption { position: absolute; right: 0; bottom: 0; margin: 0; }
  .atlas-figure figcaption > span { display: none; }
  .atlas-figure figcaption a { display: flex; align-items: center; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-effects="on"] { scroll-snap-type: none; }
  .city-popover, .city-print, .city-photo-select img, .atlas-context, .atlas-city-region, .watercolor-hover::before, .effects-toggle.watercolor-hover::after { transition: none; }
  .city-print { translate: none !important; }
  .atlas-story[data-pinned] { height: auto; }
  .atlas-story[data-pinned] > .atlas-section { position: relative; top: auto; }
  .silicon-visual { --folio-progress: 1 !important; }
  .atlas-section :is(.atlas-city-anchor, .atlas-city-marker, .atlas-city-leader) { transition: none; }
  .project-disclosure::details-content { transition: none; }
  .atlas-geography { transition: none !important; }
}
@media print {
  html[data-effects="on"] { scroll-snap-type: none; }
  .atlas-snap, .atlas-screen-size { display: none; }
  .atlas-city-regions { display: none; }
  .atlas-section[data-city-region] .atlas-context { opacity: 1; }
  .atlas-section[data-city-detail] .atlas-context { display: inline; }
  .atlas-geography { transform: none !important; }
  .atlas-city-label { display: none; }
  .atlas-section[data-city-focus] .atlas-world-label { opacity: 1; }
  .watercolor-hover::before, .effects-toggle.watercolor-hover::after { display: none !important; }
  .city-popover, .atlas-city-markers, .atlas-city-list { display: none !important; }
  .atlas-story[data-pinned] { height: auto; }
  .atlas-story[data-pinned] > .atlas-section { position: relative; top: auto; }
  .silicon-visual { --folio-progress: 1 !important; }
  .scroll-study, .painting-dialog { display: none !important; }
  :root { --paper: white; --surface: white; }
  .hero-index { display: none; }
  .folio-hero { display: block; }
  .folio-hero h1.hero-name, html[lang="zh-CN"] .folio-hero h1.hero-name { font-size: 42px; }
  .folio-work .project-grid, .folio-work[data-project-browser] .project-grid { display: block; min-height: 0; }
  .folio-work .project-card, .folio-work[data-project-browser] .project-card { display: flex; position: relative; width: 100%; margin: 20px 0; }
  .folio-work .project-card[hidden], .folio-work .project-group-heading[hidden] { display: flex !important; }
  .project-directory { display: none !important; }
  .project-group-heading { break-after: avoid; }
  .folio-work[data-project-browser] .project-body { display: contents; }
  .folio-work[data-project-browser] .project-card > .project-spec { position: relative; inset: auto; display: flex; width: 100%; height: 290px; padding: 15px; }
  .folio-work[data-project-browser] .project-card > .cover-ledger { position: static; display: flex; width: 100%; }
  .folio-work[data-project-browser] .silicon-visual { --chip-size: 138px; --orbit-size: 192px; }
  .folio-work[data-project-browser] .chip { padding: 12px; }
  .folio-work[data-project-browser] .chip-name { font-size: 25px; }
  .folio-work[data-project-browser] .chip-array { gap: 4px; margin-block: 13px; }
  .folio-work[data-project-browser] .chip-array i { height: 11px; }
  .project-disclosure::details-content { content-visibility: visible; block-size: auto; transition: none; }
  .project-disclosure summary, .project-select::after { display: none; }
  .section, .contact-section { padding-block: 24px; }
  .atlas-section { --atlas-progress: 0 !important; break-inside: avoid; padding-block: 24px; }
}
