/* finesse · register=brand · A=charcoal+warm-ivory+citrus · B=large-CJK+readable-sans · C=editorial-path+evidence-matrix · D=CSS-reveal+lightbox · E=walnut-frame+paper-light · SOUL=8 SPECTACLE=4 DENSITY=5 */
.detail-page { overflow: clip; }
.detail-hero { padding-block: 70px 118px; }
.back-link { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 72px; color: var(--muted); font-family: var(--font-meta); font-size: 11px; font-weight: 600; letter-spacing: .03em; transition: color .25s ease, transform .25s var(--ease); }
.back-link:hover { color: var(--ink); transform: translateX(-3px); }
.detail-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .38fr); gap: 60px; align-items: end; }
.detail-hero-copy h1 { max-width: 900px; margin-bottom: 28px; }
.detail-lede { max-width: 620px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.8; }
.detail-hero-meta { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); color: var(--muted); font-family: var(--font-meta); font-size: 10px; font-weight: 600; }
.detail-hero-media { aspect-ratio: 1.7 / 1; margin-top: 70px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.detail-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero-media figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; padding: 20px 24px; color: var(--white); font-family: var(--font-meta); font-size: 10px; font-weight: 600; background: linear-gradient(transparent, rgba(21,27,22,.7)); }
.case-report-note { display: flex; align-items: center; gap: 12px; margin: 26px 0 0; color: var(--muted); font-family: var(--font-meta); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.case-report-note span { color: var(--accent); }
.detail-intent { display: grid; grid-template-columns: 1fr .82fr; gap: clamp(50px, 10vw, 150px); align-items: end; padding-block: 116px; border-top: 1px solid var(--line-strong); }
.detail-intent h2 { margin-bottom: 0; }
.detail-intent-copy { max-width: 430px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.placeholder-pill { display: inline-flex; margin-top: 24px; padding: 9px 13px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); color: var(--muted); font-family: var(--font-meta); font-size: 10px; font-weight: 600; }
.detail-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 126px; }
.detail-module { min-height: 380px; padding: 32px; border-radius: var(--radius-md); background: var(--surface-strong); }
.detail-module .section-mark, .detail-module-dark .section-mark { color: var(--accent); }
.detail-module h3 { margin: 70px 0 18px; font-size: clamp(1.5rem, 2vw, 2.2rem); }
.detail-empty { color: var(--muted); font-size: 13px; line-height: 1.8; }
.detail-module-dark { background: var(--surface-deep); color: var(--white); }
.detail-module-dark h3 { color: var(--white); }
.detail-module-dark .detail-empty { color: rgba(248,250,247,.62); }
.detail-next { display: flex; align-items: center; gap: 28px; padding-bottom: 132px; }
.process-hero { padding-bottom: 72px; }
.process-switcher { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.process-switcher a { display: grid; gap: 34px; min-height: 132px; padding: 18px 20px 20px 0; border-right: 1px solid var(--line); color: var(--muted); transition: color .25s ease, border-color .25s ease, transform .25s var(--ease); }
.process-switcher a:not(:first-child) { padding-left: 20px; }
.process-switcher a:last-child { border-right: 0; }
.process-switcher a:hover, .process-switcher a.is-current { color: var(--ink); border-color: var(--accent); transform: translateY(-3px); }
.process-switcher span { color: var(--accent); font-family: var(--font-meta); font-size: 11px; font-weight: 600; }
.process-switcher strong { font-size: 18px; letter-spacing: -.04em; }
.process-switcher small { color: var(--muted-soft); font-size: 11px; line-height: 1.5; }
.process-chapter-section { scroll-margin-top: calc(var(--nav-h) + 28px); padding-block: 118px 132px; border-top: 1px solid var(--line-strong); }
.process-chapter-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .35fr); gap: 60px; align-items: end; margin-bottom: 48px; }
.process-chapter-index { margin: 0 0 20px; color: var(--muted); font-family: var(--font-meta); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.process-chapter-index span { margin-left: 10px; color: var(--accent); }
.process-chapter-heading h2 { margin-bottom: 0; }
.process-chapter-heading > p { margin: 0 0 4px; color: var(--muted); font-family: var(--font-meta); font-size: 11px; font-weight: 600; line-height: 1.8; }
.heading-note { display: block; margin-top: 12px; color: var(--muted); font-size: .42em; font-weight: 500; letter-spacing: -.03em; line-height: 1.3; }
.process-board-frame { width: min(1120px, 100%); margin: 0 auto; padding: clamp(18px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--surface-deep); box-shadow: 0 24px 70px rgba(33,42,34,.18); }
.process-board { color: var(--white); }
.process-board-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(248,250,247,.18); }
.process-board-kicker, .process-board-note { color: rgba(248,250,247,.56); font-family: var(--font-meta); font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.process-board-kicker { color: var(--accent-soft); }
.process-timeline { position: relative; display: grid; gap: 16px; padding: 34px 0 20px; }
.process-timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(248,250,247,.18); transform: translateX(-50%); }
.process-stage-card { position: relative; width: calc(50% - 46px); min-height: 154px; padding: 24px 26px; border: 1px solid rgba(248,250,247,.16); border-radius: var(--radius-md); background: rgba(248,250,247,.055); transition: background .25s ease, border-color .25s ease, transform .25s var(--ease); }
.process-stage-card:nth-child(even) { margin-left: auto; }
.process-stage-card:hover { border-color: var(--accent); background: rgba(248,250,247,.09); transform: translateY(-2px); }
.process-stage-card::before { content: ""; position: absolute; top: 30px; width: 10px; height: 10px; border: 3px solid var(--surface-deep); border-radius: 50%; background: var(--accent-soft); box-shadow: 0 0 0 1px rgba(248,250,247,.3); }
.process-stage-card:nth-child(odd)::before { right: -53px; }
.process-stage-card:nth-child(even)::before { left: -53px; }
.process-stage-card::after { content: ""; position: absolute; top: 34px; width: 44px; height: 1px; background: rgba(248,250,247,.24); }
.process-stage-card:nth-child(odd)::after { right: -44px; }
.process-stage-card:nth-child(even)::after { left: -44px; }
.process-card-number { display: block; margin-bottom: 16px; color: var(--accent); font-family: var(--font-meta); font-size: 12px; font-weight: 700; }
.process-card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.process-card-heading h3 { color: var(--white); font-size: clamp(1.15rem, 1.9vw, 1.65rem); }
.process-card-duration { flex: 0 0 auto; color: var(--accent-soft); font-family: var(--font-meta); font-size: 10px; font-weight: 600; }
.process-stage-detail { margin: 14px 0 0; color: rgba(248,250,247,.62); font-size: 12px; line-height: 1.8; }
.process-checkpoint-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-top: 26px; }
.process-checkpoint { min-height: 322px; padding: 30px; border: 1px solid rgba(248,250,247,.16); border-radius: var(--radius-md); background: rgba(248,250,247,.055); transition: background .25s ease, border-color .25s ease, transform .25s var(--ease); }
.process-checkpoint:hover { border-color: var(--accent); background: rgba(248,250,247,.09); transform: translateY(-2px); }
.process-checkpoint-head { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; padding-bottom: 24px; border-bottom: 1px solid rgba(248,250,247,.16); }
.process-checkpoint-head .process-card-number { margin: 0; font-size: 22px; }
.process-point-list { display: grid; gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.process-point { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.process-point-label { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(248,250,247,.52); border-radius: 50%; color: var(--accent-soft); font-family: var(--font-meta); font-size: 16px; font-weight: 700; }
.process-point p { margin: 0; color: rgba(248,250,247,.76); font-size: clamp(14px, 1.5vw, 16px); line-height: 1.7; }
.process-moment-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 30px 0 24px; border-bottom: 1px solid rgba(248,250,247,.18); }
.process-moment-summary strong { color: var(--white); font-size: clamp(1.35rem, 2.4vw, 2rem); letter-spacing: -.05em; }
.process-moment-summary span { max-width: 430px; color: rgba(248,250,247,.72); font-size: 15px; line-height: 1.75; }
.process-moment-list { display: grid; margin: 0; padding: 0; list-style: none; }
.process-moment-row { display: grid; grid-template-columns: 70px 150px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 23px 0; border-bottom: 1px solid rgba(248,250,247,.14); transition: transform .25s var(--ease), background .25s ease; }
.process-moment-row:hover { transform: translateX(8px); background: rgba(248,250,247,.045); }
.process-moment-mark { color: var(--accent); font-family: var(--font-meta); font-size: 15px; font-weight: 700; }
.process-moment-time { color: var(--accent-soft); font-family: var(--font-meta); font-size: 14px; font-weight: 600; }
.process-moment-copy { display: flex; align-items: baseline; gap: 22px; min-width: 0; }
.process-moment-copy h3 { flex: 0 0 auto; color: var(--white); font-size: clamp(1.2rem, 2vw, 1.55rem); }
.process-moment-copy p { margin: 0; overflow: hidden; color: rgba(248,250,247,.78); font-size: 15px; line-height: 1.75; text-overflow: ellipsis; white-space: nowrap; }
.process-moment-role { padding: 8px 12px; border: 1px solid rgba(215,167,107,.52); border-radius: var(--radius-pill); color: var(--accent-soft); font-family: var(--font-meta); font-size: 12px; font-weight: 600; white-space: nowrap; }
.process-moment-footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; color: rgba(248,250,247,.66); font-family: var(--font-meta); font-size: 12px; font-weight: 600; }
.process-noscript { margin: 0; color: rgba(248,250,247,.72); font-size: 13px; }
.detail-process-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(50px, 10vw, 150px); align-items: start; padding-bottom: 132px; }
.detail-process-intro h2 { max-width: 570px; }
.detail-process-intro > p:last-child { max-width: 470px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.detail-checklist { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.detail-checklist > div { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.detail-checklist span { color: var(--accent); font-family: var(--font-meta); font-size: 11px; font-weight: 600; }
.detail-checklist p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.detail-checklist strong { color: var(--ink); font-weight: 600; }

.case-nav { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.case-nav a { display: flex; align-items: center; gap: 14px; min-height: 68px; border-right: 1px solid var(--line); color: var(--muted); font-family: var(--font-meta); font-size: 11px; font-weight: 600; transition: color .25s ease, background .25s ease, transform .25s var(--ease); }
.case-nav a:first-child { padding-left: 0; }
.case-nav a:not(:first-child) { padding-left: 18px; }
.case-nav a:last-child { border-right: 0; }
.case-nav a > span:first-child { color: var(--accent); font-size: 10px; }
.case-nav .case-nav-text { color: inherit; font-size: inherit; }
.case-nav a:hover, .case-nav a:focus-visible { transform: translateX(4px); background: var(--surface-strong); color: var(--ink); }
.case-section { padding-block: 132px; border-top: 1px solid var(--line-strong); }
.case-section-dark { color: var(--white); background: var(--surface-deep); }
.case-section-dark h2 { color: var(--white); }
.case-section-soft { background: var(--surface-strong); }
.case-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .55fr); gap: 64px; align-items: end; margin-bottom: 60px; }
.case-section-heading .section-mark, .case-section-kicker { margin-bottom: 20px; color: var(--accent); font-family: var(--font-meta); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.case-section-heading h2 { max-width: 700px; margin: 0; }
.case-section-heading > p { max-width: 360px; margin: 0 0 4px; color: var(--muted); font-family: var(--font-meta); font-size: 12px; line-height: 1.8; }
.case-section-heading-light > p { color: rgba(248,250,247,.62); }
.case-thesis-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr); gap: clamp(42px, 9vw, 140px); align-items: end; padding-bottom: 64px; border-bottom: 1px solid var(--line-strong); }
.case-thesis-label, .case-copy-label { margin-bottom: 20px; color: var(--accent); font-family: var(--font-meta); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.case-thesis-grid h3 { max-width: 700px; margin: 0; font-size: clamp(2rem, 4.8vw, 5.3rem); letter-spacing: -.08em; line-height: .98; }
.case-thesis-grid > p { max-width: 490px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 24px; }
.case-metric { display: grid; gap: 10px; min-height: 136px; padding: 22px 22px 20px; border: 1px solid var(--line); background: var(--surface-strong); }
.case-metric span { color: var(--accent); font-family: var(--font-meta); font-size: 11px; font-weight: 700; }
.case-metric small { color: var(--muted); font-size: 12px; }
.case-metric strong { align-self: end; color: var(--ink); font-size: 18px; letter-spacing: -.04em; }
.case-section-dark .case-section-heading .section-mark, .case-section-dark .case-section-kicker { color: var(--accent-soft); }
.case-gallery { display: grid; grid-template-columns: 1.12fr .88fr; gap: 16px; }
.case-gallery-item { display: grid; gap: 14px; min-width: 0; }
.case-gallery-item.is-featured { grid-row: span 2; }
.case-figure { position: relative; margin: 0; overflow: hidden; }
.case-gallery-card { min-height: 300px; border-radius: var(--radius-md); box-shadow: none; }
.case-gallery-item.is-featured .case-gallery-card { min-height: 610px; }
.case-gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.case-gallery-card figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; padding: 18px 20px; color: var(--white); font-family: var(--font-meta); font-size: 10px; font-weight: 600; background: linear-gradient(transparent, rgba(21,27,22,.72)); }
.case-gallery-copy { padding: 8px 4px 24px; }
.case-gallery-copy p { margin: 0 0 12px; color: var(--accent-soft); font-family: var(--font-meta); font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.case-gallery-copy h3 { margin: 0 0 10px; color: var(--white); font-size: clamp(1.35rem, 2.3vw, 2rem); letter-spacing: -.05em; }
.case-gallery-copy span { display: block; max-width: 420px; color: rgba(248,250,247,.62); font-size: 13px; line-height: 1.8; }
.case-plan-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
.case-evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.case-evidence-card { min-width: 0; padding: clamp(22px, 3vw, 38px); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-strong); }
.case-evidence-card-dark { color: var(--white); border-color: rgba(248,250,247,.14); background: var(--surface-deep); }
.case-evidence-heading { display: grid; gap: 13px; margin-bottom: 30px; }
.case-evidence-heading > span { color: var(--accent); font-family: var(--font-meta); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.case-evidence-card-dark .case-evidence-heading > span { color: var(--accent-soft); }
.case-evidence-heading h3 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 2rem); letter-spacing: -.06em; }
.case-evidence-card-dark .case-evidence-heading h3 { color: var(--white); }
.case-evidence-card .case-plan-visual { grid-template-columns: 1fr; }
.case-evidence-card .case-plan-figure { aspect-ratio: 1.25 / 1; }
.case-evidence-card .case-plan-figure.is-primary { aspect-ratio: 1.45 / 1; }
.case-evidence-card .case-plan-copy { position: static; margin-top: 28px; }
.case-evidence-card .case-copy-lede { font-size: 15px; }
.case-lighting-visual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.case-lighting-figure { min-width: 0; aspect-ratio: 1 / 1; border: 1px solid rgba(248,250,247,.16); border-radius: 14px; background: rgba(248,250,247,.06); }
.case-lighting-figure.is-primary { grid-column: 1 / -1; aspect-ratio: 1.45 / 1; }
.case-lighting-figure img { width: 100%; height: 100%; object-fit: contain; }
.case-lighting-figure figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; padding: 12px 14px; color: rgba(248,250,247,.8); font-family: var(--font-meta); font-size: 10px; font-weight: 600; background: linear-gradient(transparent, rgba(21,27,22,.76)); }
.case-lighting-copy { margin-top: 28px; }
.case-lighting-copy .case-copy-lede { color: rgba(248,250,247,.72); font-size: 15px; }
.case-lighting-copy ul { display: grid; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(248,250,247,.16); }
.case-lighting-copy li { padding: 15px 0; border-bottom: 1px solid rgba(248,250,247,.12); color: rgba(248,250,247,.78); font-size: 13px; line-height: 1.7; }
.case-lighting-copy li::before { content: '·'; margin-right: 12px; color: var(--accent-soft); }
.case-plan-visual { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.case-plan-figure { aspect-ratio: 1.25 / 1; min-width: 0; border: 1px solid var(--line); background: var(--surface-strong); }
.case-plan-figure.is-primary { grid-column: 1 / -1; aspect-ratio: 1.7 / 1; }
.case-plan-figure img { width: 100%; height: 100%; object-fit: contain; }
.case-plan-figure figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; padding: 12px 14px; color: var(--muted); font-family: var(--font-meta); font-size: 10px; font-weight: 600; background: rgba(242,244,240,.92); }
.case-plan-copy { position: sticky; top: 150px; }
.case-copy-lede { max-width: 470px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.case-plan-copy ul { display: grid; gap: 0; margin: 42px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.case-plan-copy li { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 13px; line-height: 1.7; }
.case-plan-copy li::before { content: '·'; margin-right: 12px; color: var(--accent); }
.case-soft-grid { display: grid; grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr); gap: clamp(42px, 8vw, 120px); align-items: start; }
.case-soft-copy { position: sticky; top: 150px; }
.case-soft-copy .case-copy-lede { color: var(--ink); }
.case-chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.case-chip-list span { padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); color: var(--muted); font-family: var(--font-meta); font-size: 10px; font-weight: 600; }
.case-soft-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.case-soft-figure { min-height: 250px; border-radius: var(--radius-md); background: var(--surface); }
.case-soft-figure img { width: 100%; height: 100%; object-fit: cover; }
.case-soft-figure figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; padding: 12px 14px; color: var(--muted); font-family: var(--font-meta); font-size: 10px; font-weight: 600; background: rgba(242,244,240,.92); }
.case-details-list { border-top: 1px solid var(--line-strong); }
.case-detail-row { display: grid; grid-template-columns: 70px minmax(220px, .8fr) minmax(280px, 1.2fr); gap: 26px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); }
.case-detail-number { color: var(--accent); font-family: var(--font-meta); font-size: 12px; font-weight: 700; }
.case-detail-row h3 { margin: 0; color: var(--ink); font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -.05em; }
.case-detail-row p { max-width: 520px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }

@media (max-width: 980px) {
  .detail-hero { padding-block: 52px 88px; }
  .detail-hero-grid, .detail-intent, .detail-process-grid { grid-template-columns: 1fr; gap: 36px; }
  .detail-hero-meta { max-width: 420px; }
  .detail-hero-media { margin-top: 48px; }
  .process-chapter-heading { grid-template-columns: 1fr; gap: 24px; }
  .process-chapter-section { padding-block: 88px 92px; }
  .case-section { padding-block: 92px; }
  .case-section-heading, .case-thesis-grid, .case-plan-grid, .case-soft-grid, .case-evidence-grid { grid-template-columns: 1fr; gap: 30px; }
  .case-thesis-grid { padding-bottom: 42px; }
  .case-thesis-grid h3 { font-size: clamp(2.3rem, 8vw, 4.2rem); }
  .case-metrics { grid-template-columns: 1fr; }
  .case-gallery { grid-template-columns: 1fr; }
  .case-gallery-item.is-featured { grid-row: auto; }
  .case-gallery-item.is-featured .case-gallery-card { min-height: 420px; }
  .case-plan-copy, .case-soft-copy { position: static; }
  .case-evidence-card { padding: 28px; }
  .case-detail-row { grid-template-columns: 54px 1fr; gap: 14px; }
  .case-detail-row p { grid-column: 2; }
  .detail-intent { padding-block: 88px; }
  .detail-modules { grid-template-columns: 1fr; padding-bottom: 92px; }
  .detail-module { min-height: 280px; }
  .detail-module h3 { margin-top: 48px; }
  .process-switcher { grid-template-columns: repeat(2, 1fr); }
  .process-switcher a:nth-child(2) { border-right: 0; }
  .process-switcher a:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .process-timeline::before { left: 14px; transform: none; }
  .process-stage-card, .process-stage-card:nth-child(even) { width: calc(100% - 42px); margin-left: 42px; }
  .process-stage-card:nth-child(odd)::before, .process-stage-card:nth-child(even)::before { left: -34px; right: auto; }
  .process-stage-card:nth-child(odd)::after, .process-stage-card:nth-child(even)::after { left: -28px; right: auto; width: 26px; }
}

/* Fengxian presentation: a single editorial path from plan evidence to kitchen system. */
[hidden] { display: none !important; }

body[data-case-id="fxdmcyyjn"] .case-thesis-title-lines span { display: block; white-space: nowrap; }
body[data-case-id="fxdmcyyjn"] .detail-title-segments span { display: inline; }
body[data-case-id="fxdmcyyjn"] .case-thesis-grid h3 { max-width: none; font-size: clamp(3.2rem, 5.4vw, 5.7rem); letter-spacing: -.04em; line-height: 1.02; }

body[data-case-id="fxdmcyyjn"] #case-plan > .case-section-heading { grid-template-columns: minmax(0, 1fr); gap: 22px; max-width: 980px; margin-bottom: 72px; }
body[data-case-id="fxdmcyyjn"] #case-plan > .case-section-heading h2 { max-width: 940px; }
body[data-case-id="fxdmcyyjn"] .case-plan-section-title span { display: block; white-space: nowrap; }
body[data-case-id="fxdmcyyjn"] #case-plan > .case-section-heading > p { max-width: 720px; font-size: 14px; line-height: 1.85; }
body[data-case-id="fxdmcyyjn"] .case-evidence-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
body[data-case-id="fxdmcyyjn"] .case-evidence-card { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(320px, .62fr); grid-template-areas: "heading copy" "visual copy"; gap: 30px clamp(38px, 5vw, 72px); align-items: start; padding: clamp(28px, 4vw, 56px); border-radius: 16px; }
body[data-case-id="fxdmcyyjn"] .case-evidence-heading { grid-area: heading; margin: 0; }
body[data-case-id="fxdmcyyjn"] .case-evidence-heading h3 { max-width: 780px; font-size: clamp(1.85rem, 3vw, 3.2rem); letter-spacing: -.04em; line-height: 1.12; }
body[data-case-id="fxdmcyyjn"] .case-plan-visual,
body[data-case-id="fxdmcyyjn"] .case-lighting-visual { grid-area: visual; grid-template-columns: minmax(0, 1fr); gap: 0; }
body[data-case-id="fxdmcyyjn"] .case-plan-copy,
body[data-case-id="fxdmcyyjn"] .case-lighting-copy { grid-area: copy; position: sticky; top: 132px; margin-top: 0; }
body[data-case-id="fxdmcyyjn"] .case-plan-figure,
body[data-case-id="fxdmcyyjn"] .case-plan-figure.is-primary,
body[data-case-id="fxdmcyyjn"] .case-lighting-figure,
body[data-case-id="fxdmcyyjn"] .case-lighting-figure.is-primary { grid-column: auto; aspect-ratio: auto; border-radius: 12px; }
body[data-case-id="fxdmcyyjn"] .case-plan-figure img,
body[data-case-id="fxdmcyyjn"] .case-lighting-figure img { display: block; width: 100%; height: auto; object-fit: contain; }
body[data-case-id="fxdmcyyjn"] .case-copy-lede { font-size: 16px; line-height: 1.85; }
body[data-case-id="fxdmcyyjn"] .case-plan-copy ul,
body[data-case-id="fxdmcyyjn"] .case-lighting-copy ul { margin-top: 30px; }
body[data-case-id="fxdmcyyjn"] .case-plan-copy li,
body[data-case-id="fxdmcyyjn"] .case-lighting-copy li { padding-block: 17px; font-size: 14px; line-height: 1.75; }

body[data-case-id="fxdmcyyjn"] #case-details .case-section-heading { grid-template-columns: minmax(0, 1.3fr) minmax(300px, .45fr); gap: 48px; }
body[data-case-id="fxdmcyyjn"] #case-details-title { max-width: none; white-space: nowrap; font-size: clamp(3rem, 5vw, 5.6rem); letter-spacing: -.04em; }

@media (max-width: 980px) {
  body[data-case-id="fxdmcyyjn"] .case-evidence-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "visual" "copy"; gap: 28px; }
  body[data-case-id="fxdmcyyjn"] .case-plan-copy,
  body[data-case-id="fxdmcyyjn"] .case-lighting-copy { position: static; }
  body[data-case-id="fxdmcyyjn"] #case-details .case-section-heading { grid-template-columns: minmax(0, 1fr); }
  body[data-case-id="fxdmcyyjn"] #case-details-title { white-space: normal; }
}

@media (max-width: 767px) {
  body[data-case-id="fxdmcyyjn"] .detail-title-segments span { display: block; white-space: nowrap; }
  body[data-case-id="fxdmcyyjn"] .case-thesis-grid h3 { font-size: clamp(2.2rem, 10.5vw, 3.6rem); }
  body[data-case-id="fxdmcyyjn"] #case-plan > .case-section-heading { margin-bottom: 44px; }
  body[data-case-id="fxdmcyyjn"] .case-evidence-card { padding: 22px; }
  body[data-case-id="fxdmcyyjn"] .case-evidence-heading h3 { font-size: clamp(1.65rem, 7vw, 2.2rem); }
  body[data-case-id="fxdmcyyjn"] #case-details-title { font-size: clamp(2.25rem, 10vw, 3.4rem); }
}

@media (max-width: 560px) {
  .detail-hero { padding-top: 36px; }
  .back-link { margin-bottom: 52px; }
  .detail-hero-media { aspect-ratio: 1.15 / 1; margin-top: 36px; }
  .detail-hero-media figcaption { padding: 16px; }
  .process-board-header { align-items: flex-start; flex-direction: column; gap: 10px; }
  .case-nav { grid-template-columns: repeat(3, 1fr); }
  .case-nav a { min-height: 58px; font-size: 10px; }
  .case-nav a:nth-child(3) { border-right: 0; }
  .case-nav a:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .case-nav a:not(:first-child) { padding-left: 10px; }
  .case-section-heading { margin-bottom: 42px; }
  .case-section-heading h2 { font-size: clamp(2rem, 9vw, 3.2rem); }
  .case-gallery-item.is-featured .case-gallery-card { min-height: 300px; }
  .case-gallery-card { min-height: 230px; }
  .case-plan-visual, .case-soft-gallery, .case-lighting-visual { grid-template-columns: 1fr; }
  .case-plan-figure.is-primary { aspect-ratio: 1.2 / 1; }
  .case-lighting-figure.is-primary { grid-column: auto; aspect-ratio: 1.2 / 1; }
  .case-soft-figure { min-height: 260px; }
  .process-checkpoint-grid { grid-template-columns: 1fr; }
  .process-checkpoint { min-height: 0; padding: 22px; }
  .process-checkpoint-head { grid-template-columns: 48px 1fr; gap: 14px; }
  .process-point { grid-template-columns: 40px 1fr; gap: 12px; }
  .process-point-label { width: 38px; height: 38px; font-size: 15px; }
  .process-point p { font-size: 14px; }
  .process-moment-summary, .process-moment-footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  .process-moment-row { grid-template-columns: 48px 1fr; gap: 7px 14px; padding: 20px 0; }
  .process-moment-row:hover { transform: translateX(4px); }
  .process-moment-time { grid-column: 2; grid-row: 1; }
  .process-moment-copy { grid-column: 2; grid-row: 2; display: block; }
  .process-moment-copy p { margin-top: 7px; overflow: visible; font-size: 15px; white-space: normal; }
  .process-moment-role { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 4px; }
  .process-switcher a { min-height: 112px; gap: 22px; padding: 15px 12px 16px 0; }
  .process-switcher a:not(:first-child) { padding-left: 12px; }
  .detail-next { align-items: flex-start; flex-direction: column; padding-bottom: 92px; }
}

/* Mobile longform mode: calm, legible reading surfaces for WeChat WebView and touch iPad. */
@media (max-width: 767px) {
  .detail-page { background: var(--surface); }
  .detail-hero { padding-top: 36px; padding-bottom: 72px; }
  .back-link { min-height: 44px; margin-bottom: 42px; font-size: 12px; }
  .detail-hero-grid { gap: 28px; }
  .detail-hero-copy h1 { margin-bottom: 22px; font-size: clamp(2.65rem, 12vw, 4rem); line-height: 1.05; }
  .detail-lede { font-size: 16px; line-height: 1.78; }
  .detail-hero-meta { max-width: none; padding-bottom: 12px; font-size: 10px; }
  .detail-hero-media { aspect-ratio: 1 / 1.02; margin-top: 38px; border-radius: 20px; }
  .detail-intent { gap: 30px; padding-block: 76px; }
  .detail-intent-copy, .detail-process-intro > p:last-child { font-size: 16px; line-height: 1.78; }
  .detail-modules { gap: 12px; padding-bottom: 76px; }
  .detail-module { min-height: 250px; padding: 24px; border-radius: 18px; }
  .detail-module h3 { margin-top: 42px; font-size: 1.75rem; }
  .detail-empty { font-size: 15px; line-height: 1.75; }
  .detail-next { gap: 14px; padding-bottom: 76px; }
  .detail-next .button, .detail-next .text-link { min-height: 48px; }

  .process-hero { padding-bottom: 52px; }
  .process-switcher { grid-template-columns: repeat(3, minmax(138px, 1fr)); margin-top: 46px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
  .process-switcher::-webkit-scrollbar, .case-nav::-webkit-scrollbar { display: none; }
  .process-switcher a { min-width: 138px; min-height: 116px; padding: 14px 14px 16px 0; gap: 18px; scroll-snap-align: start; }
  .process-switcher a:not(:first-child) { padding-left: 14px; }
  .process-switcher strong { font-size: 15px; white-space: nowrap; }
  .process-switcher small { font-size: 11px; }
  .process-chapter-section { padding-block: 76px 84px; scroll-margin-top: calc(var(--nav-h) + env(safe-area-inset-top) + 20px); }
  .process-chapter-heading { gap: 20px; margin-bottom: 30px; }
  .process-chapter-index { margin-bottom: 16px; font-size: 11px; }
  .process-chapter-heading h2 { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .heading-note { margin-top: 10px; font-size: .44em; }
  .process-chapter-heading > p { font-size: 13px; line-height: 1.7; }
  .process-board-frame { padding: 18px 16px 20px; border-radius: 20px; box-shadow: 0 16px 36px rgba(33,42,34,.12); }
  .process-board-header { align-items: flex-start; gap: 8px; padding-bottom: 16px; }
  .process-board-kicker, .process-board-note { font-size: 10px; line-height: 1.5; }
  .process-timeline { gap: 10px; padding: 20px 0 6px; }
  .process-timeline::before { left: 9px; transform: none; background: rgba(248,250,247,.28); }
  .process-stage-card, .process-stage-card:nth-child(even) { width: calc(100% - 26px); min-height: 134px; margin-left: 26px; padding: 18px 16px; border-radius: 16px; }
  .process-stage-card:nth-child(odd)::before, .process-stage-card:nth-child(even)::before { top: 24px; left: -25px; right: auto; width: 8px; height: 8px; border-width: 2px; }
  .process-stage-card:nth-child(odd)::after, .process-stage-card:nth-child(even)::after { top: 28px; left: -18px; right: auto; width: 18px; }
  .process-card-number { margin-bottom: 10px; font-size: 11px; }
  .process-card-heading { align-items: flex-start; gap: 10px; }
  .process-card-heading h3 { font-size: 1.25rem; line-height: 1.25; }
  .process-stage-detail { margin-top: 10px; font-size: 13px; line-height: 1.65; }

  .process-checkpoint-grid { gap: 12px; padding-top: 18px; }
  .process-checkpoint { min-height: 0; padding: 20px 18px; border-radius: 16px; }
  .process-checkpoint-head { grid-template-columns: 48px minmax(0,1fr); gap: 12px; padding-bottom: 18px; }
  .process-checkpoint-head .process-card-number { font-size: 20px; }
  .process-card-heading h3 { font-size: 1.28rem; }
  .process-point-list { gap: 12px; margin-top: 18px; }
  .process-point { grid-template-columns: 44px minmax(0,1fr); gap: 12px; }
  .process-point-label { width: 42px; height: 42px; font-size: 17px; }
  .process-point p { color: rgba(248,250,247,.86); font-size: 16px; line-height: 1.55; }

  .process-moment-summary { align-items: flex-start; flex-direction: column; gap: 8px; padding: 22px 0 18px; }
  .process-moment-summary strong { font-size: 1.55rem; }
  .process-moment-summary span { font-size: 15px; line-height: 1.7; }
  .process-moment-row { grid-template-columns: 42px minmax(0,1fr); gap: 6px 12px; padding: 18px 0; }
  .process-moment-mark { font-size: 14px; }
  .process-moment-time { grid-column: 2; grid-row: 1; font-size: 13px; }
  .process-moment-copy { grid-column: 2; grid-row: 2; display: block; }
  .process-moment-copy h3 { font-size: 1.3rem; }
  .process-moment-copy p { margin-top: 6px; overflow: visible; color: rgba(248,250,247,.84); font-size: 15px; line-height: 1.65; white-space: normal; }
  .process-moment-role { grid-column: 2; grid-row: 3; justify-self: start; min-height: 34px; margin-top: 5px; padding: 7px 10px; font-size: 11px; }
  .process-moment-row:hover { transform: none; }
  .process-moment-footer { align-items: flex-start; flex-direction: column; gap: 8px; padding-top: 20px; font-size: 12px; line-height: 1.6; }

  .case-nav { grid-template-columns: repeat(5, minmax(112px,1fr)); overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x proximity; }
  .case-nav a { min-width: 112px; min-height: 60px; padding-block: 10px; scroll-snap-align: start; font-size: 11px; }
  .case-nav a:not(:first-child) { padding-left: 12px; }
  .case-section { padding-block: 78px; }
  .case-section-heading { gap: 22px; margin-bottom: 40px; }
  .case-section-heading h2 { font-size: clamp(2.15rem, 10vw, 3.5rem); }
  .case-section-heading > p { font-size: 13px; line-height: 1.75; }
  .case-thesis-grid { gap: 28px; padding-bottom: 40px; }
  .case-thesis-grid h3 { font-size: clamp(2.25rem, 11vw, 4rem); }
  .case-thesis-grid > p, .case-copy-lede { font-size: 16px; line-height: 1.8; }
  .case-metrics { gap: 10px; }
  .case-metric { min-height: 112px; padding: 18px; }
  .case-metric small { font-size: 13px; }
  .case-gallery { gap: 12px; }
  .case-gallery-item.is-featured .case-gallery-card { min-height: 320px; }
  .case-gallery-card { min-height: 220px; border-radius: 16px; }
  .case-gallery-copy { padding: 4px 2px 18px; }
  .case-gallery-copy h3 { font-size: 1.55rem; }
  .case-gallery-copy span { font-size: 14px; line-height: 1.75; }
  .case-plan-grid, .case-soft-grid, .case-evidence-grid { gap: 30px; }
  .case-plan-visual, .case-soft-gallery { gap: 10px; }
  .case-plan-figure { border-radius: 14px; }
  .case-evidence-card { padding: 22px; border-radius: 16px; }
  .case-evidence-heading { margin-bottom: 24px; }
  .case-report-note { align-items: flex-start; flex-direction: column; gap: 5px; font-size: 10px; line-height: 1.6; }
  .case-plan-copy li { font-size: 14px; }
  .case-soft-figure { min-height: 220px; border-radius: 16px; }
  .case-soft-figure figcaption, .case-plan-figure figcaption { padding: 10px 12px; font-size: 10px; }
  .case-detail-row { grid-template-columns: 40px minmax(0,1fr); gap: 10px; padding: 22px 0; }
  .case-detail-row p { grid-column: 2; font-size: 15px; line-height: 1.75; }
  .case-detail-row h3 { font-size: 1.35rem; }
}

/* Gonghe presentation: a turn-by-turn path from dining frame to furniture scale. */
body[data-case-id="gonghe"] .detail-hero-copy h1 { max-width: 7em; }
body[data-case-id="gonghe"] .detail-hero-media { width: min(1080px, 88%); aspect-ratio: 4 / 3; margin-left: auto; }
body[data-case-id="gonghe"] .case-thesis-title-lines span { display: block; white-space: nowrap; }
body[data-case-id="gonghe"] .case-gallery { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); align-items: start; gap: 22px; }
body[data-case-id="gonghe"] .case-gallery-item.is-featured { grid-row: auto; }
body[data-case-id="gonghe"] .case-gallery-item.is-featured .case-gallery-card { min-height: 620px; }
body[data-case-id="gonghe"] .case-gallery-item:not(.is-featured) .case-gallery-card { min-height: 470px; margin-top: 84px; }
body[data-case-id="gonghe"] .case-evidence-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
body[data-case-id="gonghe"] .case-evidence-card { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(300px, .52fr); grid-template-areas: "heading heading" "visual copy"; gap: 34px clamp(34px, 5vw, 72px); align-items: start; padding: clamp(28px, 4vw, 58px); }
body[data-case-id="gonghe"] .case-evidence-heading { grid-area: heading; margin: 0; }
body[data-case-id="gonghe"] .case-plan-visual { grid-area: visual; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
body[data-case-id="gonghe"] .case-plan-figure,
body[data-case-id="gonghe"] .case-plan-figure.is-primary { grid-column: auto; aspect-ratio: .8 / 1; border-radius: 14px; }
body[data-case-id="gonghe"] .case-plan-copy { grid-area: copy; position: sticky; top: 132px; margin: 0; }
body[data-case-id="gonghe"] .case-evidence-card-dark { grid-template-columns: minmax(300px, .52fr) minmax(0, 1.48fr); grid-template-areas: "heading heading" "copy visual"; }
body[data-case-id="gonghe"] .case-lighting-visual { grid-area: visual; grid-template-columns: minmax(0, 1fr); }
body[data-case-id="gonghe"] .case-lighting-figure,
body[data-case-id="gonghe"] .case-lighting-figure.is-primary { grid-column: auto; aspect-ratio: 4 / 3; border-radius: 14px; }
body[data-case-id="gonghe"] .case-lighting-copy { grid-area: copy; position: sticky; top: 132px; margin: 0; }
body[data-case-id="gonghe"] .case-soft-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body[data-case-id="gonghe"] .case-soft-figure:first-child { grid-column: 1 / -1; min-height: 540px; }
body[data-case-id="gonghe"] .case-soft-figure:not(:first-child) { min-height: 310px; }
body[data-case-id="gonghe"] #case-details-title { max-width: 9em; }

@media (max-width: 980px) {
  body[data-case-id="gonghe"] .detail-hero-media { width: 100%; }
  body[data-case-id="gonghe"] .case-gallery { grid-template-columns: minmax(0, 1fr); }
  body[data-case-id="gonghe"] .case-gallery-item:not(.is-featured) .case-gallery-card { min-height: 420px; margin-top: 0; }
  body[data-case-id="gonghe"] .case-evidence-card,
  body[data-case-id="gonghe"] .case-evidence-card-dark { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "visual" "copy"; }
  body[data-case-id="gonghe"] .case-plan-copy,
  body[data-case-id="gonghe"] .case-lighting-copy { position: static; }
}

@media (max-width: 767px) {
  body[data-case-id="gonghe"] .detail-hero-media { aspect-ratio: 1 / 1.06; }
  body[data-case-id="gonghe"] .detail-hero-media img { object-position: 54% center; }
  body[data-case-id="gonghe"] .case-thesis-grid h3 { font-size: clamp(2.2rem, 10.2vw, 3.5rem); letter-spacing: -.065em; }
  body[data-case-id="gonghe"] .case-gallery-item.is-featured .case-gallery-card,
  body[data-case-id="gonghe"] .case-gallery-item:not(.is-featured) .case-gallery-card { min-height: 300px; }
  body[data-case-id="gonghe"] .case-evidence-card,
  body[data-case-id="gonghe"] .case-evidence-card-dark { padding: 20px; gap: 24px; }
  body[data-case-id="gonghe"] .case-plan-visual { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body[data-case-id="gonghe"] .case-plan-figure,
  body[data-case-id="gonghe"] .case-plan-figure.is-primary { aspect-ratio: .8 / 1; }
  body[data-case-id="gonghe"] .case-plan-figure:first-child { grid-column: 1 / -1; width: min(100%, 278px); justify-self: center; }
  body[data-case-id="gonghe"] .case-lighting-figure,
  body[data-case-id="gonghe"] .case-lighting-figure.is-primary { aspect-ratio: 4 / 3; }
  body[data-case-id="gonghe"] .case-soft-figure:first-child { min-height: 250px; }
  body[data-case-id="gonghe"] .case-soft-figure:not(:first-child) { min-height: 220px; }
}

@media (max-width: 390px) {
  body[data-case-id="gonghe"] .case-thesis-grid h3 { font-size: 2.12rem; }
}

/* Next Guan: keep the thesis break intentional and the final title on one line. */
body[data-case-id="nextguan"] .case-thesis-title-lines span { display: block; white-space: nowrap; }
body[data-case-id="nextguan"] .case-thesis-grid h3 { font-size: clamp(2.5rem, 4.8vw, 5.3rem); letter-spacing: -.08em; line-height: .98; }
body[data-case-id="nextguan"] #case-details-title { max-width: none; white-space: nowrap; font-size: clamp(1.45rem, 8.2vw, 3.5rem); letter-spacing: -.05em; line-height: 1.08; }

@media (max-width: 767px) {
  body[data-case-id="nextguan"] .case-thesis-grid h3 { font-size: clamp(1.9rem, 8.8vw, 3.3rem); }
}

/* Refreshed case routes use a pale evidence-card surface; keep its copy dark. */
body.case-page[data-detail-page="case"] .case-evidence-card-dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface-strong);
}
body.case-page[data-detail-page="case"] .case-evidence-card-dark .case-evidence-heading > span { color: var(--accent); }
body.case-page[data-detail-page="case"] .case-evidence-card-dark .case-evidence-heading h3 { color: var(--ink); }
body.case-page[data-detail-page="case"] .case-lighting-copy .case-copy-lede { color: var(--muted); }
body.case-page[data-detail-page="case"] .case-lighting-copy ul { border-top-color: var(--line-strong); }
body.case-page[data-detail-page="case"] .case-lighting-copy li { border-bottom-color: var(--line); color: var(--ink); }
body.case-page[data-detail-page="case"] .case-lighting-copy li::before { color: var(--accent); }

/* Global contrast correction for legacy case detail routes. */
body.case-page .case-evidence-card-dark { color: #252a27; border-color: #cbd1cb; background: #e9ece7; }
body.case-page .case-evidence-card-dark .case-evidence-heading > span { color: #176b52; }
body.case-page .case-evidence-card-dark .case-evidence-heading h3 { color: #252a27; }
body.case-page .case-lighting-copy .case-copy-lede { color: #46514c; }
body.case-page .case-lighting-copy ul { border-top-color: #c4cbc5; }
body.case-page .case-lighting-copy li { border-bottom-color: #d4d9d4; color: #303a35; }
body.case-page .case-lighting-copy li::before { color: #176b52; }
