/* Hallmark · shape: Interactive connection study · genre: editorial · theme: brand · redesign: full · job: hire
 * paper: warm paper · accent: original source gold · display: Eden Serif · body: Eden Sans · hero: interactive stage · nav: branded masthead · footer: direct contact · signature: touch-responsive fascia concept field
 * axes: dark/roman-serif/warm · posture: committed · contrast: pending · fold: pending · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E3 S5 R4 V5 · weakest: E, replaced unreviewed giant cutout with original brand and actual coupled interaction; screenshot verification still required */
/* Hallmark · waive 80 · labelled concept diagrams and user-requested fascia visual, not medical data · Eden explicitly asked for interactive fascia art and concern graphics, never a clinical simulation */
/* Hallmark · answered F8 · process state and reading progress share page scroll; user explicitly requested scroll-led interaction */
@import url("./tokens.css");
@import url("./base.css");
@font-face { font-family: "Eden Sans"; src: url("./assets/noto-sans-sc-regular.woff") format("woff"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Eden Sans"; src: url("./assets/noto-sans-sc-bold.woff") format("woff"); font-style: normal; font-weight: 700 800; font-display: swap; }
@font-face { font-family: "Eden Serif"; src: url("./assets/noto-serif-sc-regular.woff") format("woff"); font-style: normal; font-weight: 400; font-display: swap; }
html { scroll-behavior: smooth; scroll-padding-top: var(--space-2xl); }
body { font-synthesis: none; }
a, button { -webkit-tap-highlight-color: var(--color-clear); }
a:active, button:active { opacity: 0.76; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
button:disabled { opacity: 0.55; cursor: not-allowed; }
button[aria-busy="true"] { cursor: progress; }
.skip { position: absolute; z-index: var(--z-toast); transform: translateY(-150%); padding: var(--space-sm) var(--space-lg); margin: var(--space-md); background: var(--color-paper); color: var(--color-ink); }
.skip:focus-visible { transform: none; }
.reading-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: var(--z-toast); background: var(--color-gold); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.site-header { background: var(--color-field); color: var(--color-paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 110px; }
.wordmark { display: flex; align-items: center; gap: var(--space-md); text-decoration: none; }
.wordmark img { width: 42px; height: 72px; object-fit: contain; }
.wordmark > span { display: grid; gap: var(--space-2xs); }
.wordmark strong { font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.wordmark span span { font-size: 12px; color: var(--color-dark-muted); }
nav { display: flex; gap: var(--space-xl); align-items: center; font-size: 14px; }
nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }
nav a:hover { color: var(--color-gold); }
.site-header :focus-visible, .hero :focus-visible { outline-color: var(--color-gold); }
.hero { background: var(--color-field); color: var(--color-paper); padding-block: var(--space-lg) 0; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: var(--space-lg); }
.hero-copy { padding-block: var(--space-xl); }
.hero h1 { max-width: 18ch; font-size: var(--text-display); line-height: 1.45; letter-spacing: -0.04em; }
.hero .lead { margin-top: var(--space-lg); font-size: var(--text-lead); color: var(--color-dark-muted); max-width: 45ch; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-xl); }
.button { min-height: 52px; padding: 0 var(--space-lg); display: inline-flex; justify-content: center; align-items: center; border: 1px solid var(--color-gold); background: var(--color-gold); color: var(--color-ink); text-decoration: none; font-size: 16px; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.button:hover { background: var(--color-paper); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 0.25em; text-decoration-color: var(--color-gold-muted); white-space: nowrap; }
.text-link:hover { text-decoration-color: currentColor; }
.hero-byline { margin-top: var(--space-xl); font-size: 14px; line-height: 1.8; }
.hero-byline span { display: block; color: var(--color-dark-muted); }
.fiber-figure { margin: 0; min-width: 0; }
.fiber-stage { position: relative; height: 480px; touch-action: pan-y; isolation: isolate; outline-offset: -4px; }
.fiber-stage canvas, .fiber-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.fiber-fallback { stroke: var(--color-gold); stroke-width: 0.8; opacity: 0.65; }
.fiber-stage canvas { opacity: 0; }
.fiber-stage.has-canvas canvas { opacity: 1; }
.fiber-stage.has-canvas .fiber-fallback { visibility: hidden; }
.fiber-caption { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); margin-top: var(--space-sm); padding-block: var(--space-md); border-top: 1px solid var(--color-dark-rule); font-size: 14px; }
.fiber-caption small { display: block; font-size: 12px; margin-top: var(--space-2xs); color: var(--color-dark-muted); }
.fiber-trigger { min-height: 44px; padding: 0 var(--space-md); background: var(--color-clear); border: 1px solid var(--color-gold-muted); color: var(--color-gold); font-size: 14px; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.fiber-trigger:hover { background: var(--color-field-3); }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); padding-block: var(--space-lg); border-top: 1px solid var(--color-dark-rule); font-size: 14px; }
.hero-bottom p { color: var(--color-dark-muted); }
.hero-bottom > div { display: flex; gap: var(--space-xl); }
.hero-bottom a { min-height: 44px; display: inline-flex; align-items: center; text-decoration-color: var(--color-dark-rule); }
.hero-bottom a:hover { color: var(--color-gold); }
.section-space { padding-block: var(--section-gap-s); }
.intro-layout { display: grid; grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr); gap: var(--space-2xl); align-items: center; }
.portrait { margin: 0; height: 420px; position: relative; background: var(--color-paper-2); overflow: clip; }
.portrait > img { position: absolute; inset: auto 50% 0 auto; transform: translateX(50%); width: auto; height: calc(100% + 86px); max-width: none; object-fit: contain; }
.portrait figcaption { position: absolute; z-index: var(--z-raised); left: var(--space-lg); bottom: var(--space-lg); color: var(--color-ink); background: var(--color-paper); padding: var(--space-xs) var(--space-sm); font-size: 14px; }
.intro-copy h2 { line-height: 1.4; margin-bottom: var(--space-lg); }
.intro-copy p { max-width: 48ch; color: var(--color-ink-2); line-height: 1.9; }
.intro-copy > p + p { margin-top: var(--space-md); }
.intro-copy .statement { font-family: var(--font-display); font-size: var(--text-title); line-height: 1.6; margin-top: var(--space-xl); margin-bottom: var(--space-md); color: var(--color-ink); }
.work { background: var(--color-paper-2); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: var(--space-xl); margin-bottom: var(--space-xl); }
.section-heading h2 { line-height: 1.35; }
.section-heading p { color: var(--color-muted); max-width: 45ch; }
.work-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.concern-visual { margin: 0; min-width: 0; }
.concern-visual figcaption { color: var(--color-muted); font-size: 13px; margin-top: var(--space-sm); }
.tab-list { display: flex; border-bottom: 1px solid var(--color-rule-2); }
.tab-list button { flex: 1; min-height: 52px; padding: 0 var(--space-sm); border: 0; border-bottom: 3px solid var(--color-clear); background: var(--color-clear); color: var(--color-muted); cursor: pointer; white-space: nowrap; font-size: 16px; transition: color var(--dur-short) var(--ease-out); }
.tab-list button:hover { color: var(--color-accent); }
.tab-list button[aria-selected="true"] { border-bottom-color: var(--color-accent); color: var(--color-ink); }
.work-panel { padding-block: var(--space-xl); min-height: 300px; }
.work-panel h3 { font-family: var(--font-display); font-size: var(--text-title); line-height: 1.5; margin-bottom: var(--space-lg); }
.work-panel p { max-width: 45ch; line-height: 1.9; }
.work-question { margin-top: var(--space-xl); border-left: 2px solid var(--color-accent); padding-left: var(--space-md); color: var(--color-muted); }
.process-heading { display: flex; justify-content: space-between; align-items: end; gap: var(--space-xl); margin-bottom: var(--space-2xl); }
.process-heading h2 { line-height: 1.4; }
.process-heading p { color: var(--color-muted); line-height: 1.9; }
.process-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--space-2xl); align-items: start; }
.process-visual { position: sticky; top: var(--space-xl); background: var(--color-field); color: var(--color-paper); }
.process-screen { position: relative; height: 420px; min-height: 0; }
.process-caption { display: flex; justify-content: space-between; gap: var(--space-md); padding: var(--space-lg); border-top: 1px solid var(--color-dark-rule); font-size: 14px; }
.process-caption > :last-child { color: var(--color-dark-muted); font-size: 12px; }
.conversation-list { padding: 0; margin: 0; list-style: none; counter-reset: process; }
.process-stage { min-height: 320px; display: flex; gap: var(--space-lg); align-items: center; border-top: 1px solid var(--color-rule); padding-block: var(--space-xl); counter-increment: process; }
.process-stage::before { content: counter(process, decimal-leading-zero); align-self: center; color: var(--color-muted); font-size: 14px; }
.process-stage h3 { font-family: var(--font-body); font-size: var(--text-title); font-weight: 400; line-height: 1.5; margin-bottom: var(--space-lg); }
.process-stage p { line-height: 1.9; color: var(--color-muted); }
.process-stage.is-active h3 { color: var(--color-accent); }
.process-stage.is-active::before { color: var(--color-accent); }
.studio { background: var(--color-field); color: var(--color-paper); padding-block: var(--section-gap-s); }
.studio-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--gap-columns); align-items: center; padding-bottom: var(--space-xl); border-bottom: 1px solid var(--color-dark-rule); }
.studio h2 { font-size: var(--text-section); line-height: 1.4; }
.studio-heading p { margin-top: var(--space-lg); color: var(--color-dark-muted); }
.company-logo { height: 144px; width: auto; object-fit: contain; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--gap-columns); padding-top: var(--space-2xl); }
.contact-row + .contact-row { margin-top: var(--space-xl); }
.contact-row h3 { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--color-dark-muted); margin-bottom: var(--space-md); }
.phone { display: block; width: fit-content; font-size: clamp(1.9rem, 3vw, 2.9rem); text-decoration-thickness: 1px; text-decoration-color: var(--color-dark-rule); font-variant-numeric: tabular-nums; }
.phone:hover { color: var(--color-gold); }
.copy-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0; margin-top: var(--space-sm); border: 0; border-bottom: 1px solid var(--color-dark-rule); background: var(--color-clear); color: var(--color-paper); font-size: 14px; cursor: pointer; }
.copy-link:hover, .qr-save:hover { color: var(--color-gold); }
address { font-style: normal; font-size: var(--text-lead); line-height: 1.9; }
.address-note { margin-top: var(--space-md); font-size: 14px; color: var(--color-dark-muted); }
.copy-status { min-height: 1lh; margin-top: var(--space-lg); font-size: 14px; color: var(--color-dark-muted); }
.wechat-contact { justify-self: end; max-width: 280px; }
.qr-button { display: block; padding: 0; border: 0; background: var(--color-paper); color: var(--color-ink); cursor: pointer; }
.qr-button img { width: 240px; height: auto; aspect-ratio: 1; object-fit: contain; }
.qr-button span { min-height: 44px; display: flex; justify-content: center; align-items: center; padding: 0 var(--space-md); font-size: 14px; border-top: 1px solid var(--color-rule); }
.qr-button:hover span { color: var(--color-accent); }
.wechat-contact p { color: var(--color-dark-muted); font-size: 14px; line-height: 1.8; max-width: 45ch; margin-top: var(--space-lg); }
.qr-save { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.studio :focus-visible, .site-footer :focus-visible { outline-color: var(--color-gold); }
#contact-phone { scroll-margin-block-start: var(--space-xl); }
#contact-phone:target .phone { text-decoration-line: underline; text-decoration-color: var(--color-gold); text-decoration-thickness: 2px; }
.site-footer { background: var(--color-field); color: var(--color-paper); }
.footer-layout { display: flex; justify-content: space-between; align-items: start; gap: var(--space-xl); padding-block: var(--space-xl); border-top: 1px solid var(--color-dark-rule); font-size: 13px; line-height: 1.9; }
.footer-layout span, .footer-note { color: var(--color-dark-muted); }
.footer-layout a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
dialog { border: 0; padding: var(--space-lg); width: min(94%, 540px); max-height: 92dvh; background: var(--color-paper); color: var(--color-ink); overflow-y: auto; }
dialog::backdrop { background: var(--color-dialog-backdrop); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); margin-bottom: var(--space-md); }
.dialog-top h2 { font-size: 22px; line-height: 1.4; }
.dialog-close { min-height: 44px; padding: 0 var(--space-md); background: var(--color-clear); color: var(--color-ink); border: 1px solid var(--color-rule-2); cursor: pointer; }
.dialog-close:hover { background: var(--color-paper-2); }
dialog > img { max-height: 62dvh; width: 100%; object-fit: contain; }
dialog > p { font-size: 14px; line-height: 1.8; margin-top: var(--space-lg); }
@media (min-width: 90rem) { .fiber-stage { height: 530px; } }
@media (max-width: 60rem) {
  :root { --gutter: 28px; --gap-columns: 28px; --section-gap-s: 64px; --section-gap: 96px; --section-gap-l: 112px; }
  .header-inner { min-height: 100px; } nav { gap: var(--space-lg); }
  .hero-layout { gap: var(--space-md); } .hero h1 { font-size: clamp(2rem, 4.3vw, 3rem); } .hero .lead { font-size: 16px; } .fiber-stage { height: 380px; }
  .hero-byline { margin-top: var(--space-lg); } .hero-bottom { margin-top: var(--space-lg); }
  .intro-layout { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: var(--space-xl); } .portrait { height: 380px; }
  .section-heading, .process-heading { align-items: start; flex-direction: column; gap: var(--space-lg); }
  .work-layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--space-lg); }
  .tab-list button { font-size: 14px; padding-inline: var(--space-xs); } .process-layout { gap: var(--space-xl); } .process-screen { height: 350px; }
  .process-caption { flex-direction: column; gap: var(--space-xs); padding: var(--space-md); } .process-stage { min-height: 300px; }
}
@media (max-width: 44rem) {
  :root { --gutter: 20px; --gap-columns: 24px; --section-gap-s: 48px; --section-gap: 80px; --section-gap-l: 96px; }
  .header-inner { min-height: 90px; } .wordmark { gap: var(--space-sm); } .wordmark img { width: 32px; height: 56px; } .wordmark strong { font-size: 22px; } .wordmark span span { font-size: 11px; }
  nav { gap: var(--space-md); font-size: 13px; } nav a:first-child { display: none; }
  .hero { padding-top: 0; } .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } .hero-copy { padding-block: var(--space-xl) var(--space-sm); }
  .hero h1 { font-size: clamp(1.9rem, 6.8vw + 0.5rem, 3rem); line-height: 1.45; } .hero .lead { font-size: 16px; margin-top: var(--space-lg); } .hero .lead br { display: none; }
  .hero-actions { margin-top: var(--space-lg); } .hero-byline { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-lg); font-size: 13px; } .hero-byline span { display: inline; }
  .fiber-stage { height: 330px; } .fiber-caption { margin-top: 0; padding-block: var(--space-sm); font-size: 13px; } .fiber-caption small { font-size: 12px; }
  .hero-bottom { margin-top: var(--space-lg); flex-wrap: wrap; gap: var(--space-md); padding-block: var(--space-md); font-size: 13px; } .hero-bottom > div { gap: var(--space-lg); } .hero-bottom > a { display: none; }
  .intro-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } .intro-copy { grid-row: 1; } .portrait { height: 350px; max-width: 300px; width: 100%; }
  .work-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); } .work-explorer { grid-row: 1; } .work-panel { min-height: 290px; padding-block: var(--space-lg); } .work-panel h3 { margin-bottom: var(--space-md); } .work-question { margin-top: var(--space-lg); }
  .concern-visual figcaption { font-size: 12px; } .tab-list button { font-size: 15px; }
  .process-heading { margin-bottom: var(--space-xl); } .process-layout { display: block; } .process-visual { top: var(--space-md); z-index: var(--z-raised); } .process-screen { height: 280px; } .process-caption { flex-direction: row; font-size: 13px; } .process-caption > :last-child { display: none; }
  .conversation-list { padding-top: var(--space-lg); } .process-stage { min-height: 250px; } .process-stage h3 { font-size: 22px; }
  .studio-heading { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-lg); } .studio h2 { font-size: 29px; } .company-logo { height: 100px; } .studio-heading p { font-size: 14px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); padding-top: var(--space-xl); } .wechat-contact { justify-self: start; } .phone { font-size: 2rem; } .footer-layout { flex-direction: column; gap: var(--space-lg); }
  dialog { padding: var(--space-md); } .dialog-top h2 { font-size: 19px; }
}
@media (max-width: 23rem) { .wordmark span span { display: none; } .wordmark strong { font-size: 21px; } .hero h1 { font-size: 30px; } .hero-actions { gap: var(--space-md); } .hero-bottom p { display: none; } .fiber-stage { height: 280px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-height: 620px) and (min-width: 44.01rem) {
  .process-visual { top: var(--space-md); }
  .process-screen { height: 230px; min-height: 0; }
  .process-caption { flex-direction: row; }
  .process-caption > :last-child { display: none; }
}
@media (max-height: 520px) and (max-width: 44rem) {
  .process-screen { height: 160px; }
}
@media (max-height: 360px) { .process-visual { position: static; } }

/* Hallmark · waive F15 · 20px photographic mosaic gutter differs intentionally from the shared editorial column gap; responsive widths retain readable photo crops. */
/* V3 material-led composition: original studio photography sets the scale and palette. */
.chapter-label { font-family: var(--font-body); font-size: 12px; line-height: 1.7; letter-spacing: normal; margin-bottom: var(--space-lg); color: var(--color-muted); }
.header-inner { min-height: 96px; }
.photo-hero { position: relative; isolation: isolate; padding: 0; overflow: clip; }
.hero-photograph { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--color-photo-shade) 0%, var(--color-photo-shade-soft) 38%, var(--color-clear) 72%), linear-gradient(0deg, var(--color-photo-shade) 0%, var(--color-clear) 38%); }
.photo-hero .hero-layout { display: flex; align-items: center; min-height: min(76svh, 740px); }
.photo-hero .hero-copy { max-width: 680px; padding-block: var(--space-2xl) var(--space-hero-end); }
.photo-hero .chapter-label { color: var(--color-paper); margin-bottom: var(--space-lg); }
.photo-hero h1 { font-size: clamp(2.5rem, 4.05vw, 4rem); line-height: 1.45; }
.photo-hero .lead { color: var(--color-paper); font-size: 17px; }
.photo-hero .hero-byline { margin-top: var(--space-xl); color: var(--color-paper); }
.photo-hero .hero-byline span { color: var(--color-paper); opacity: 0.8; }
.photo-hero .hero-bottom { margin-top: 0; border-color: var(--color-photo-rule); }
.photo-hero .hero-bottom p { color: var(--color-paper); }
.photo-hero .text-link { text-decoration-color: var(--color-paper); }
.introduction { background: var(--color-paper); }
.intro-layout { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: var(--gap-columns); align-items: start; }
.portrait { height: 550px; background: var(--color-paper-2); }
.portrait > img { inset: auto auto 0 50%; transform: translateX(-50%); width: auto; height: 125%; min-width: 100%; max-width: none; object-fit: cover; object-position: center bottom; }
.portrait figcaption { left: var(--space-lg); bottom: var(--space-lg); background: var(--color-paper); }
.intro-copy { padding-top: var(--space-sm); }
.intro-copy h2 { margin-bottom: var(--space-xl); }
.intro-copy .chapter-label { margin-bottom: var(--space-lg); }
.biography-detail { margin: var(--space-xl) 0 0; max-width: 480px; }
.biography-detail button, .method-tool button { display: block; width: 100%; padding: 0; background: var(--color-clear); border: 0; cursor: zoom-in; overflow: clip; }
.biography-detail img { display: block; width: 100%; height: 190px; object-fit: cover; object-position: center 70%; }
.biography-detail figcaption { font-size: 12px; color: var(--color-muted); margin-top: var(--space-sm); }
.approach { background: var(--color-field); color: var(--color-paper); }
.approach-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: center; gap: var(--space-2xl); }
.approach .chapter-label { color: var(--color-gold-muted); }
.approach h2 { line-height: 1.5; }
.approach-copy > p:last-child { font-size: 16px; line-height: 1.95; max-width: 45ch; color: var(--color-dark-muted); }
.approach-statement { margin: var(--space-xl) 0 var(--space-lg); font-size: 20px; line-height: 1.8; }
.approach :focus-visible { outline-color: var(--color-gold); }
.approach .fiber-stage { height: 420px; }
.approach-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: var(--space-2xl); margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: 1px solid var(--color-dark-rule); }
.method-tool { margin: 0; }
.method-tool img { display: block; width: 100%; height: 270px; object-fit: cover; }
.method-tool figcaption { font-size: 13px; margin-top: var(--space-md); color: var(--color-dark-muted); }
.method-principles ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-lg); margin: 0; padding: 0; }
.method-principles li { font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 27px); line-height: 1.6; padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-dark-rule); }
.method-principles li span { display: block; font-family: var(--font-body); font-size: 12px; margin-bottom: var(--space-md); color: var(--color-gold-muted); }
.work { background: var(--color-paper); }
.work .section-heading { margin-bottom: var(--space-2xl); }
.work .section-heading .chapter-label { margin-bottom: var(--space-md); }
.work .section-heading > p { line-height: 1.9; }
.work-layout { gap: var(--gap-columns); grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); }
.work .anatomy-scene[data-anatomy-scene="concern"] { height: 590px; }
.tab-list { gap: var(--space-sm); }
.tab-list button { min-height: 64px; font-size: 17px; padding-inline: var(--space-xs); }
.work-panel { min-height: 330px; padding-block: var(--space-xl) 0; }
.work-panel h3 { font-size: clamp(24px, 2.1vw, 32px); }
.work-panel p { font-size: 16px; }
.space-chapter { background: var(--color-paper-2); }
.space-heading { display: flex; justify-content: space-between; align-items: end; gap: var(--space-xl); margin-bottom: var(--space-xl); }
.space-heading h2 { line-height: 1.4; }
.space-heading > p { color: var(--color-muted); line-height: 1.9; }
.photo-mosaic { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: 286px 286px; gap: 20px; }
.space-photo { margin: 0; min-width: 0; overflow: clip; }
.space-photo-main { grid-row: 1 / 3; }
.space-photo button { display: block; position: relative; width: 100%; height: 100%; border: 0; padding: 0; background: var(--color-clear); color: var(--color-ink); cursor: zoom-in; overflow: clip; }
.space-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.space-photo-main img { object-position: 46% center; }
.space-photo button:hover { outline: 2px solid var(--color-gold); outline-offset: -2px; }
.space-photo button > span { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; padding: var(--space-xl) var(--space-lg) var(--space-lg); background: linear-gradient(0deg, var(--color-photo-shade), var(--color-clear)); color: var(--color-paper); font-size: 15px; line-height: 1.5; }
.space-photo button > span > span { font-size: 24px; line-height: 1; }
.space-photo button:focus-visible { outline-offset: -6px; outline-color: var(--color-gold); }
.space-footnote { display: flex; justify-content: space-between; gap: var(--space-lg); border-bottom: 1px solid var(--color-rule); padding-block: var(--space-lg); font-size: 13px; color: var(--color-muted); }
.conversation { background: var(--color-paper); }
.process-heading .chapter-label { margin-bottom: var(--space-md); }
.process-stage { min-height: 240px; }
#studio-gallery-dialog { width: min(94vw, 1280px); max-height: 94dvh; padding: var(--space-lg); color: var(--color-paper); background: var(--color-field); }
.gallery-dialog-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); margin-bottom: var(--space-lg); }
.gallery-dialog-top h2 { font-size: 22px; line-height: 1.5; }
#studio-gallery-dialog button { border: 1px solid var(--color-dark-rule); color: var(--color-paper); background: var(--color-clear); min-height: 44px; min-width: 72px; padding: var(--space-xs) var(--space-md); cursor: pointer; font-size: 14px; }
#studio-gallery-dialog button:hover { border-color: var(--color-gold); color: var(--color-gold); }
#studio-gallery-dialog :focus-visible { outline-color: var(--color-gold); }
#studio-gallery-dialog figure { margin: 0; }
#gallery-image { display: block; width: 100%; height: min(64dvh, 740px); object-fit: contain; touch-action: pan-y pinch-zoom; user-select: none; }
#gallery-caption { font-size: 14px; color: var(--color-dark-muted); margin-top: var(--space-md); }
.gallery-navigation { justify-content: space-between; gap: var(--space-lg); padding-top: var(--space-lg); }
#gallery-counter { font-variant-numeric: tabular-nums; color: var(--color-dark-muted); font-size: 14px; }
#gallery-status { font-size: 13px; line-height: 1.6; color: var(--color-dark-muted); margin-top: var(--space-sm); }
@media (max-width: 60rem) {
  .photo-hero .hero-layout { min-height: 620px; }
  .photo-hero h1 { font-size: 45px; }
  .photo-hero .hero-copy { max-width: 560px; }
  .intro-layout { gap: var(--space-xl); } .portrait { height: 500px; }
  .approach-layout { gap: var(--space-xl); } .approach .fiber-stage { height: 350px; }
  .approach h2 { font-size: 33px; } .approach-statement { font-size: 18px; }
  .approach-detail { gap: var(--space-xl); } .method-tool img { height: 250px; }
  .work-layout { gap: var(--space-xl); } .work .anatomy-scene[data-anatomy-scene="concern"] { height: 490px; }
  .tab-list button { font-size: 15px; } .work-panel h3 { font-size: 25px; }
  .photo-mosaic { grid-template-rows: 235px 235px; gap: var(--space-md); }
}
@media (max-width: 44rem) {
  .header-inner { min-height: 88px; }
  .photo-hero { display: block; }
  .hero-photograph { position: relative; z-index: 0; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; }
  .hero-shade { display: none; }
  .photo-hero .hero-layout { display: block; min-height: 0; }
  .photo-hero .hero-copy { padding-block: var(--space-xl) var(--space-lg); max-width: none; }
  .photo-hero .chapter-label { font-size: 11px; margin-bottom: var(--space-md); color: var(--color-dark-muted); }
  .photo-hero h1 { font-size: clamp(30px, 7.7vw, 43px); line-height: 1.55; }
  .photo-hero .lead { color: var(--color-dark-muted); font-size: 15px; }
  .photo-hero .hero-byline { display: block; font-size: 13px; margin-top: var(--space-lg); }
  .photo-hero .hero-byline span { display: block; color: var(--color-dark-muted); }
  .photo-hero .hero-bottom { padding-block: var(--space-md); font-size: 13px; gap: var(--space-sm); }
  .photo-hero .hero-bottom p { display: none; }
  .photo-hero .hero-bottom > div { width: 100%; justify-content: space-between; gap: var(--space-sm); }
  .intro-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .intro-copy { grid-row: auto; padding-top: 0; }
  .portrait { height: 440px; width: min(100%, 360px); max-width: none; justify-self: center; }
  .intro-copy h2 { font-size: 33px; margin-bottom: var(--space-lg); }
  .biography-detail { max-width: none; } .biography-detail img { height: 220px; }
  .chapter-label { margin-bottom: var(--space-md); }
  .approach-layout { display: block; } .approach h2 { font-size: 32px; }
  .approach-statement { font-size: 18px; margin-top: var(--space-lg); }
  .approach-copy > p:last-child { font-size: 15px; }
  .approach .fiber-figure { margin-top: var(--space-lg); } .approach .fiber-stage { height: 310px; }
  .approach-detail { display: block; margin-top: var(--space-xl); padding-top: var(--space-xl); }
  .method-tool img { height: auto; aspect-ratio: 3 / 2; }
  .method-principles { margin-top: var(--space-xl); }
  .method-principles ul { gap: var(--space-lg) var(--space-md); }
  .method-principles li { font-size: 21px; } .method-principles li span { margin-bottom: var(--space-sm); }
  .work .section-heading { margin-bottom: var(--space-xl); }
  .work-layout { display: flex; flex-direction: column; gap: var(--space-lg); align-items: stretch; }
  .work-explorer { order: 0; } .concern-visual { order: 1; }
  .work-panel { min-height: 300px; padding-block: var(--space-lg) 0; }
  .work-panel h3 { font-size: 25px; } .tab-list button { font-size: 15px; min-height: 56px; }
  .work .anatomy-scene[data-anatomy-scene="concern"] { height: 430px; }
  .space-heading { display: block; } .space-heading > p { margin-top: var(--space-lg); font-size: 15px; }
  .space-heading > p br { display: none; }
  .photo-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 270px 195px; gap: var(--space-sm); }
  .space-photo-main { grid-column: 1 / 3; grid-row: 1; }
  .space-photo button > span { padding: var(--space-lg) var(--space-sm) var(--space-sm); font-size: 13px; }
  .space-photo button > span > span { font-size: 18px; }
  .space-footnote { font-size: 11px; gap: var(--space-sm); }
  .process-stage { min-height: 0; padding-block: var(--space-lg); }
  #studio-gallery-dialog { padding: var(--space-md); }
  .gallery-dialog-top { margin-bottom: var(--space-md); } .gallery-dialog-top h2 { font-size: 19px; }
  #gallery-image { height: 56dvh; }
}
@media (max-width: 23rem) { .photo-mosaic { grid-template-rows: 230px 170px; } .method-principles li { font-size: 18px; } .photo-hero h1 { font-size: 29px; } }
@media (prefers-reduced-motion: reduce) { .space-photo img { transition: none; } .space-photo button:hover img { transform: none; } }

/* Authenticated source case previews retain the original composite ratios. */
.tools-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--color-field-2); object-fit: contain; }
.method-tool figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-md); }
.method-tool .tool-photo-link { display: inline-flex; width: auto; min-height: 44px; align-items: center; gap: var(--space-sm); color: var(--color-dark-muted); font-size: 12px; }
.method-tool .tool-photo-link img { display: block; width: 58px; height: 44px; object-fit: contain; }
.tool-photo-link span { text-decoration: underline; text-underline-offset: 3px; }
.case-preview { background: var(--color-paper); border-bottom: 1px solid var(--color-rule); }
.case-preview-heading { display: flex; align-items: end; justify-content: space-between; gap: var(--space-xl); margin-bottom: var(--space-xl); }
.case-preview-heading h2 { line-height: 1.4; }
.case-preview-heading p { margin-top: var(--space-md); font-size: 15px; color: var(--color-muted); }
.case-preview-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3333fr); align-items: start; gap: var(--space-lg); }
.case-preview-grid article { min-width: 0; }
.case-preview-grid a { display: block; text-decoration: none; }
.case-preview-grid img { display: block; width: 100%; height: auto; object-fit: contain; }
.case-preview-grid h3 { font-family: var(--font-body); font-size: 18px; line-height: 1.6; margin-top: var(--space-md); }
.case-preview-grid p { font-size: 12px; line-height: 1.7; margin-top: var(--space-xs); color: var(--color-muted); }
.case-preview-grid a:hover h3 { color: var(--color-accent); }
@media (max-width: 44rem) {
  .case-preview-heading { align-items: start; gap: var(--space-lg); }
  .case-preview-heading h2 { font-size: 30px; }
  .case-preview-heading .text-link { font-size: 13px; }
  .case-preview-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .case-preview-grid h3 { font-size: 19px; }
  .case-preview-grid p { font-size: 13px; }
  .method-tool figcaption { align-items: start; }
}

/* V5: one shared, image-dense archive replaces the three-card preview. */
.home-case-wall { padding-block: var(--space-xl); background: var(--color-paper); border-bottom: 1px solid var(--color-rule); }
.home-case-wall .case-intro-copy { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-md) var(--space-xl); }
@media (max-width: 44rem) {
  .home-case-wall { padding-block: var(--space-lg); }
  .home-case-wall .case-intro-copy { gap: var(--space-xs) var(--space-lg); }
}

/* V5: the movement explanation uses a bright surface, independent of the dark brand chapters. */
.process-visual { background: var(--color-paper-2); color: var(--color-ink); }
.process-caption { border-top-color: var(--color-rule); }
.process-caption > :last-child { color: var(--color-muted); }
.process-screen { height: 560px; }
@media (max-width: 44rem) { .process-screen { height: 360px; } }
@media (max-height: 620px) {
  .process-visual { position: static; }
  .process-screen { height: 340px; }
}

/* Latest user-supplied portrait: original PNG, complete natural ratio at every breakpoint. */
.portrait.portrait-user-approved { height: auto; }
.portrait-user-approved > img { position: static; inset: auto; transform: none; display: block; width: 100%; height: auto; min-width: 0; max-width: 100%; object-fit: contain; }
.portrait-user-approved figcaption { position: static; margin: 0; }


/* Floating background-music control — dark/warm brand, bottom-right */
.bgm-toggle {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: var(--z-sticky);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in oklch, var(--color-gold) 55%, transparent);
  border-radius: 999px;
  background: color-mix(in oklch, var(--color-field) 88%, transparent);
  color: var(--color-gold);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px oklch(15% 0.01 80 / 0.28);
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out);
}
.bgm-toggle:hover { background: var(--color-field-2); border-color: var(--color-gold); }
.bgm-toggle:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }
.bgm-toggle-icon { position: relative; display: grid; place-items: center; width: 18px; height: 18px; }
.bgm-toggle .bgm-icon-note { display: block; }
.bgm-toggle .bgm-icon-mute {
  position: absolute;
  right: -5px;
  bottom: -4px;
  opacity: 0.95;
  color: var(--color-dark-muted);
  transition: opacity var(--dur-micro) var(--ease-out);
}
.bgm-toggle[aria-pressed="true"] .bgm-icon-mute { opacity: 0; }
.bgm-toggle[data-playing="true"] { border-color: var(--color-gold); }
.bgm-toggle[data-playing="true"][aria-pressed="true"] {
  background: color-mix(in oklch, var(--color-gold) 18%, var(--color-field));
}
@media (max-width: 44rem) {
  .bgm-toggle { right: max(12px, env(safe-area-inset-right, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .bgm-toggle { transition: none; }
}
