/* styles.css */
/* finesse · register=brand · A=cool-fog+citrus · B=system-sans+mono · C=asymmetric-bento+disclosure
 * D=CSS-reveal+native-dialog · E=concrete-walnut-linen-daylight · SOUL=8 SPECTACLE=4 DENSITY=4 */

:root {
  --surface: #f2f4f0;
  --surface-strong: #e8ece7;
  --surface-deep: #20251f;
  --ink: #1d211d;
  --muted: #667066;
  --muted-soft: #8c968c;
  --line: rgba(29, 33, 29, 0.14);
  --line-strong: rgba(29, 33, 29, 0.24);
  --accent: #ed6a3a;
  --accent-soft: #f4b29b;
  --white: #f8faf7;
  --shell: min(1240px, calc(100% - 64px));
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shadow: 0 24px 60px rgba(33, 42, 34, 0.10);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 84px;
  --font-ui: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-meta: Manrope, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; min-width: 320px; overflow-x: clip; background: var(--surface); color: var(--ink); font-family: var(--font-ui); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, select { cursor: pointer; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--ink); }

.shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding-block: 132px; }
.section-mark { margin: 0 0 20px; color: var(--muted); font-family: var(--font-meta); font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.dialog-kicker { margin: 0 0 20px; color: var(--muted); font-family: var(--font-meta); font-size: 11px; font-weight: 600; letter-spacing: .03em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { min-width: 0; color: var(--ink); letter-spacing: -.055em; line-height: .98; overflow-wrap: anywhere; }
h1 { max-width: 720px; margin-bottom: 30px; font-size: clamp(3.6rem, 5vw, 5.9rem); font-weight: 700; }
h2 { margin-bottom: 22px; font-size: clamp(2.6rem, 5vw, 5.2rem); font-weight: 700; }
h1 > span, h2 > span { display: block; white-space: nowrap; }
h3 { margin-bottom: 0; font-size: clamp(1.15rem, 1.7vw, 1.45rem); }
em { color: var(--accent); font-style: normal; }
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 50; width: 100%; height: 3px; background: transparent; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--accent); transform-origin: left; }
@supports (animation-timeline: scroll()) {
  .scroll-progress span { animation: scroll-progress linear both; animation-timeline: scroll(root block); }
}
@keyframes scroll-progress { from { width: 0; } to { width: 100%; } }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 80; padding: 10px 14px; border-radius: var(--radius-pill); background: var(--ink); color: var(--white); transform: translateY(-140%); transition: transform .25s var(--ease); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 40; height: var(--nav-h); background: rgba(242,244,240,.86); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: border-color .3s ease, background .3s ease; }
.site-header.is-scrolled { border-color: var(--line); background: rgba(242,244,240,.95); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 164px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: -.12em; }
.brand-copy { display: grid; gap: 1px; font-family: var(--font-ui); font-size: 11px; line-height: 1.25; }
.brand-copy strong { font-size: 13px; letter-spacing: -.03em; }
.brand-copy span { color: var(--muted); }
.desktop-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.desktop-nav a { color: var(--muted); font-size: 13px; transition: color .25s ease; }
.desktop-nav a:hover { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 0 21px; border: 1px solid transparent; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; white-space: nowrap; transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--accent); color: var(--ink); }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: var(--accent); }
.header-cta { min-height: 42px; padding-inline: 17px; }
.menu-toggle { position: relative; display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.menu-toggle span { position: absolute; top: 50%; left: 50%; display: block; width: 21px; height: 1.5px; margin: 0; background: var(--ink); transform: translate(-50%, -50%); transition: transform .22s var(--ease), opacity .16s ease; }
.menu-toggle span:first-child { transform: translate(-50%, calc(-50% - 4px)); }
.menu-toggle span:last-child { transform: translate(-50%, calc(-50% + 4px)); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.mobile-nav { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(48px, 6vw, 92px); align-items: center; min-height: calc(100dvh - var(--nav-h)); padding-top: 74px; padding-bottom: 100px; }
.hero-copy { padding-bottom: 16px; }
.hero-intro { width: min(100%, 390px); margin-bottom: 34px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 13px; font-weight: 700; }
.text-link span { color: var(--accent); transition: transform .25s var(--ease); }
.text-link:hover span { transform: translate(3px, -3px); }
.hero-visual { position: relative; min-width: 0; }
.image-frame { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-strong); }
.image-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(248,250,247,.28); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-image { aspect-ratio: 1.46 / 1; box-shadow: var(--shadow); }
.hero-image img { transition: transform 1.2s var(--ease); }
.hero-image:hover img { transform: scale(1.025); }
.image-frame 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; letter-spacing: .03em; background: linear-gradient(transparent, rgba(21,27,22,.62)); }
.hero-note { position: absolute; right: 0; bottom: -34px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-family: var(--font-meta); font-size: 10px; font-weight: 600; letter-spacing: .03em; text-align: right; }

.proof-band { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 24px; align-items: end; padding-block: 26px 30px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.proof-band div { display: grid; gap: 3px; }
.proof-band strong { font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 500; letter-spacing: -.06em; }
.proof-band span, .proof-band p { color: var(--muted); font-size: 12px; }
.proof-band p { max-width: 210px; margin: 0 0 2px auto; line-height: 1.6; }

.section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 60px; align-items: end; margin-bottom: 64px; }
.section-heading .section-mark { grid-column: 1 / -1; margin-bottom: -20px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p:last-child { max-width: 330px; margin-bottom: 3px; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: 1.28fr .72fr; grid-template-rows: minmax(260px, 1fr) minmax(260px, 1fr); gap: 16px; }
.project-card { position: relative; display: flex; min-width: 0; min-height: 300px; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius-lg); background: var(--surface-strong); color: var(--white); text-align: left; text-decoration: none; isolation: isolate; }
.project-card-large { grid-row: span 2; min-height: 640px; }
.project-card-tall { min-height: 340px; }
.project-card-detail, .project-card-material { min-height: 282px; }
.project-card-fengxian { grid-column: 1 / -1; min-height: 360px; }
.project-card-gonghe { grid-column: 1 / -1; min-height: 420px; }
.project-card-gonghe .project-image img { object-position: center 48%; }
.project-image { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--surface-strong); }
.project-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(22,27,23,.04) 38%, rgba(22,27,23,.74)); transition: opacity .3s ease; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card-large .project-image img { object-position: center; }
.project-card:hover .project-image img { transform: scale(1.045); }
.project-card:hover .project-image::after { opacity: .84; }
.project-meta { position: absolute; z-index: 1; right: 20px; bottom: 18px; left: 20px; display: flex; justify-content: space-between; gap: 16px; color: var(--white); font-size: 12px; }
.project-meta span:last-child { color: rgba(248,250,247,.68); font-family: var(--font-meta); font-size: 10px; font-weight: 600; }
.project-arrow { position: absolute; z-index: 1; top: 18px; right: 18px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(248,250,247,.48); border-radius: 50%; color: var(--white); transition: background .25s ease, color .25s ease, transform .25s var(--ease); }
.project-card:hover .project-arrow { background: var(--accent); color: var(--ink); border-color: var(--accent); transform: translate(2px, -2px); }

.method-section { background: var(--surface-deep); color: var(--white); }
.method-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(50px, 10vw, 160px); min-height: 760px; padding-block: 144px; }
.method-statement { position: sticky; top: 150px; align-self: start; }
.method-statement h2, .method-statement p { color: var(--white); }
.method-statement .section-mark { color: var(--accent); }
.method-statement p:not(.section-mark) { max-width: 390px; color: rgba(248,250,247,.62); }
.method-index { display: flex; align-items: center; gap: 8px; margin-top: 74px; color: rgba(248,250,247,.45); font-family: var(--font-meta); font-size: 11px; font-weight: 600; }
.method-index-current { color: var(--accent); font-size: 20px; }
.method-steps { align-self: center; }
.method-step { display: grid; grid-template-columns: 58px 1fr; gap: 22px; align-items: start; width: 100%; padding: 34px 0; border: 0; border-top: 1px solid rgba(248,250,247,.18); background: transparent; color: rgba(248,250,247,.55); font: inherit; text-align: left; transition: color .3s ease, border-color .3s ease; }
.method-step { cursor: pointer; text-decoration: none; }
.method-step:last-child { border-bottom: 1px solid rgba(248,250,247,.18); }
.method-step:hover, .method-step:focus-visible { color: var(--white); border-color: var(--accent); }
.method-step.is-active { color: var(--white); border-color: var(--accent); }
.step-number { padding-top: 5px; color: var(--accent); font-family: var(--font-meta); font-size: 11px; font-weight: 600; }
.method-step h3 { color: inherit; font-size: clamp(1.6rem, 3vw, 2.6rem); }
.method-step p { max-width: 430px; margin: 13px 0 0; color: inherit; font-size: 13px; line-height: 1.8; }
.method-detail-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding-bottom: 10px; border-bottom: 1px solid rgba(248,250,247,.34); color: var(--white); font-family: var(--font-meta); font-size: 12px; font-weight: 600; transition: color .25s ease, border-color .25s ease, transform .25s var(--ease); }
.method-detail-link span { color: var(--accent); font-size: 16px; }
.method-detail-link:hover, .method-detail-link:focus-visible { border-color: var(--accent); color: var(--accent-soft); transform: translateX(4px); }

/* Direct links from the four homepage workflow cards should land below the sticky header. */
.process-stage-card[id] { scroll-margin-top: calc(var(--nav-h) + 28px); }

/* The material statement is intentionally allowed to resolve into three calm lines. */
.material-copy { overflow: hidden; }
.material-copy h2 { width: 100%; max-width: 100%; font-size: clamp(2.5rem, 4.2vw, 4.6rem); line-height: 1.02; overflow-wrap: anywhere; }
.material-copy h2 > span { white-space: normal; }

.services { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(56px, 10vw, 150px); }
.services-heading { align-self: start; }
.services-heading h2 { max-width: 360px; }
.services-list { border-top: 1px solid var(--line-strong); }
.service-row { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 88px; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.service-title { display: flex; align-items: baseline; gap: 28px; font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 600; letter-spacing: -.04em; }
.service-title > span { color: var(--accent); font-family: var(--font-meta); font-size: 11px; font-weight: 600; letter-spacing: 0; }
.service-plus { color: var(--accent); font-size: 26px; font-weight: 300; transition: transform .35s var(--ease); }
.service-row[aria-expanded="true"] .service-plus { transform: rotate(45deg); }
.service-panel { display: grid; grid-template-rows: 0fr; overflow: hidden; padding: 0 0 0 70px; border-bottom: 1px solid transparent; opacity: 0; transform: translateY(-6px); transition: grid-template-rows .45s var(--ease), opacity .25s ease, border-color .45s ease, transform .45s var(--ease); }
.service-panel.is-open { grid-template-rows: 1fr; padding-top: 4px; padding-bottom: 30px; border-color: var(--line); opacity: 1; transform: translateY(0); }
.service-panel-inner { min-height: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
.service-panel p { max-width: 420px; margin: 0; color: var(--muted); font-size: 13px; }
.service-panel span { align-self: end; color: var(--muted-soft); font-family: var(--font-meta); font-size: 10px; font-weight: 600; text-align: right; }

.material-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 9vw, 132px); align-items: center; padding-block: 140px; }
.material-copy p:last-child { max-width: 330px; color: var(--muted); }
.material-image { aspect-ratio: 1.22 / 1; }
.material-image img { transition: transform .8s var(--ease); }
.material-section:hover .material-image img { transform: scale(1.03); }

.contact-section { padding-top: 30px; padding-bottom: 140px; }
.contact-card { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(48px, 10vw, 160px); padding: clamp(34px, 6vw, 78px); border-radius: var(--radius-lg); background: var(--surface-deep); }
.contact-copy h2, .contact-copy p { color: var(--white); }
.contact-copy > p:last-child { max-width: 360px; color: rgba(248,250,247,.64); }
.contact-form { display: grid; gap: 10px; align-content: start; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form label { margin-top: 8px; color: rgba(248,250,247,.72); font-size: 11px; }
.contact-form label span { color: var(--accent); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(248,250,247,.27); border-radius: 0; outline: 0; background: transparent; color: var(--white); font-size: 14px; resize: vertical; transition: border-color .25s ease; }
.contact-form select { color: var(--white); }
.contact-form option { color: var(--ink); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(248,250,247,.42); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form .button { margin-top: 18px; justify-self: start; }
.form-note { margin: 4px 0 0; color: rgba(248,250,247,.44); font-size: 10px; line-height: 1.5; }
.form-note.is-success { color: var(--accent-soft); }

.site-footer { padding-block: 30px 42px; border-top: 1px solid var(--line-strong); }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top { padding-bottom: 42px; }
.footer-top > p { margin: 0; color: var(--muted); font-size: 13px; }
.footer-bottom { color: var(--muted); font-family: var(--font-meta); font-size: 10px; font-weight: 600; }
.footer-bottom a { color: var(--ink); }

.project-dialog { width: min(920px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: auto; border: 0; border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 28px 80px rgba(11,15,11,.28); }
.project-dialog::backdrop { background: rgba(23,28,23,.62); backdrop-filter: blur(10px); }
.dialog-close { position: absolute; top: 18px; right: 18px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(248,250,247,.58); border-radius: 50%; background: rgba(29,33,29,.46); color: var(--white); font-size: 25px; font-weight: 300; line-height: 1; }
.dialog-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-strong); }
.dialog-media img { width: 100%; height: 100%; object-fit: cover; }
.dialog-body { padding: clamp(28px, 5vw, 52px); }
.dialog-body h2 { margin-bottom: 18px; font-size: clamp(2.8rem, 6vw, 5rem); }
.dialog-body > p:not(.dialog-kicker) { max-width: 560px; color: var(--muted); font-size: 15px; }
.dialog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.dialog-tags span { padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--muted); font-family: var(--font-meta); font-size: 10px; font-weight: 600; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.hero-copy, .hero-visual, .section-heading, .method-statement, .method-steps, .services-heading, .services-list, .material-copy, .contact-copy, .contact-form { min-width: 0; }

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #1c211c;
    --surface-strong: #293129;
    --surface-deep: #111510;
    --ink: #e7ece6;
    --muted: #a8b1a7;
    --muted-soft: #7d897e;
    --line: rgba(231, 236, 230, .14);
    --line-strong: rgba(231, 236, 230, .24);
    --white: #f6f8f4;
    --shadow: 0 24px 60px rgba(0, 0, 0, .22);
  }
  .site-header { background: rgba(28, 33, 28, .86); }
  .site-header.is-scrolled { background: rgba(28, 33, 28, .95); }
  .mobile-nav { background: rgba(28, 33, 28, .97); }
  .brand-mark { color: #1d211d; }
  .button-dark { background: var(--white); color: #1d211d; }
  .button-dark:hover { background: var(--accent); color: #1d211d; }
  .button-light { background: #e8ece7; color: #1d211d; }
  .contact-form option { color: #1d211d; }
}

@media (max-width: 980px) {
  :root { --shell: min(100% - 40px, 760px); }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { display: none; grid-template-columns: 1fr 1fr; gap: 10px 20px; padding: 16px 20px 24px; overflow: hidden; background: rgba(242,244,240,.97); border-bottom: 1px solid var(--line); }
  .mobile-nav.is-open { display: grid; animation: mobile-nav-in .3s var(--ease) both; }
  .mobile-nav a { padding: 11px 0; color: var(--muted); font-size: 14px; }
  .mobile-nav .button { grid-column: 1 / -1; margin-top: 6px; color: var(--white); }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 84px; }
  .hero-copy { max-width: 640px; }
  .hero-note { right: 10px; }
  .proof-band { grid-template-columns: repeat(3, 1fr); }
  .proof-band p { grid-column: 1 / -1; max-width: 320px; margin: 12px 0 0; }
  .method-layout, .services, .material-section, .contact-card { grid-template-columns: 1fr; }
  .method-layout { gap: 70px; }
  .method-statement { position: static; }
  .method-index { margin-top: 34px; }
  .services { gap: 60px; }
  .material-section { gap: 50px; }
  .contact-card { gap: 60px; }
}

@keyframes mobile-nav-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 32px); --nav-h: 72px; }
  .section-pad { padding-block: 88px; }
  .site-header { height: var(--nav-h); }
  .brand { min-width: 0; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 11px; }
  .brand-copy strong { font-size: 12px; }
  .hero { gap: 48px; padding-top: 64px; padding-bottom: 78px; }
  h1 { font-size: clamp(2.9rem, 11.8vw, 5.25rem); line-height: 1.04; letter-spacing: -.07em; }
  h2 { font-size: clamp(2.2rem, 9vw, 4rem); }
  .hero-intro { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-image { aspect-ratio: 1 / 1.06; }
  .hero-note { display: none; }
  .proof-band { grid-template-columns: 1fr 1fr; gap: 24px 18px; padding-block: 24px; }
  .proof-band div:last-of-type { grid-column: 1 / -1; }
  .proof-band p { margin-top: 4px; }
  .section-heading { display: block; margin-bottom: 40px; }
  .section-heading .section-mark { margin-bottom: 20px; }
  .section-heading > p:last-child { margin-top: 24px; }
  .project-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
  .project-card, .project-card-large, .project-card-tall, .project-card-detail, .project-card-material { min-height: 310px; }
  .project-card-large { min-height: 390px; }
  .method-layout { padding-block: 92px; }
  .method-step { grid-template-columns: 38px 1fr; gap: 12px; padding-block: 28px; }
  .method-step p { font-size: 12px; }
  .service-title { gap: 16px; font-size: 17px; }
  .service-panel.is-open { padding-left: 0; }
  .service-panel-inner { grid-template-columns: 1fr; }
  .service-panel span { justify-self: start; text-align: left; }
  .material-section { padding-block: 92px; }
  .material-image { aspect-ratio: 1 / 1.05; }
  .contact-section { padding-bottom: 92px; }
  .contact-card { padding: 28px 22px; }
  .contact-form .button { width: 100%; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-top { padding-bottom: 30px; }
  .footer-bottom { gap: 10px; }
  .dialog-close { top: 12px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .scroll-progress span { animation: none; }
}

/* finesse · mobile adaptation · register=h5+brand · morph=longform-site
 * SOUL=8 SPECTACLE=3 DENSITY=3 · desktop-dark palette lock · touch-first controls */
@media (max-width: 767px) {
  /* The desktop presentation is dark by art direction, so a phone's light mode
   * must not turn the same brand surface into a different white website. */
  :root {
    color-scheme: dark;
    --surface: #1c211c;
    --surface-strong: #293129;
    --surface-deep: #111510;
    --ink: #e7ece6;
    --muted: #a8b1a7;
    --muted-soft: #7d897e;
    --line: rgba(231,236,230,.14);
    --line-strong: rgba(231,236,230,.24);
    --white: #f6f8f4;
    --shell: calc(100% - 32px);
    --nav-h: 64px;
  }
  html, body { overflow-x: clip; }
  body { background: var(--surface); }
  body::before { opacity: .018; }
  .site-header { height: calc(var(--nav-h) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); background: var(--surface); border-bottom-color: var(--line); backdrop-filter: blur(18px) saturate(110%); }
  .site-header.is-scrolled { background: var(--surface); }
  .header-inner { height: var(--nav-h); gap: 12px; }
  .brand { gap: 9px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 10px; font-size: 10px; }
  .brand-mark { background: var(--white); color: #1d211d; }
  .button-dark, .button-light { background: var(--white); color: #1d211d; }
  .button-dark:hover, .button-light:hover { background: var(--accent); color: #1d211d; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy span { font-size: 10px; }
  .menu-toggle { flex: 0 0 44px; display: grid; place-content: center; min-width: 44px; min-height: 44px; }
  .mobile-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 18px; padding: 12px 16px max(18px, env(safe-area-inset-bottom)); background: var(--surface); border-bottom-color: var(--line); }
  .mobile-nav a { min-height: 44px; display: flex; align-items: center; padding: 10px 0; color: var(--ink); font-size: 14px; touch-action: manipulation; }
.mobile-nav a:nth-child(-n + 4)::after { content: none; }
  .mobile-nav .button { justify-content: center; grid-column: 1 / -1; min-height: 48px; margin-top: 8px; color: var(--white); }
  h1, h2, h3 { letter-spacing: -.055em; }
  h1 { font-size: clamp(2.8rem, 12vw, 4.2rem); line-height: 1.04; }
  h2 { font-size: clamp(2.15rem, 10vw, 3.6rem); line-height: 1.04; }
  h1 > span, h2 > span { white-space: normal; }
  .section-pad { padding-block: 82px; }
  .hero { gap: 38px; padding-top: 54px; padding-bottom: 66px; }
  .section-mark, .dialog-kicker { margin-bottom: 16px; font-size: 11px; }
  .hero-intro { margin-bottom: 26px; color: var(--muted); font-size: 16px; line-height: 1.75; }
  .hero-actions { gap: 12px; }
  .hero-actions .button, .hero-actions .text-link { min-height: 48px; }
  .hero-image { aspect-ratio: 1 / 1.04; border-radius: 20px; }
  .hero-image figcaption { padding: 14px 16px; font-size: 10px; }
  .proof-band { gap: 18px 16px; padding-block: 22px; }
  .proof-band strong { font-size: 1.65rem; }
  .proof-band span, .proof-band p { font-size: 12px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading > p:last-child { margin-top: 20px; font-size: 15px; line-height: 1.75; }
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .project-card, .project-card-large, .project-card-tall, .project-card-detail, .project-card-material { min-height: 292px; border-radius: 20px; }
  .project-card-large { min-height: 390px; }
  .project-meta { right: 16px; bottom: 15px; left: 16px; gap: 10px; font-size: 13px; }
  .project-meta span:last-child { font-size: 9px; text-align: right; }
  .project-arrow { top: 14px; right: 14px; width: 44px; height: 44px; }
  .method-layout { gap: 46px; min-height: auto; padding-block: 82px; }
  .method-statement { position: static; }
  .method-statement p:not(.section-mark) { color: rgba(248,250,247,.74); font-size: 16px; line-height: 1.75; }
  .method-index { margin-top: 30px; }
  .method-detail-link { min-height: 44px; margin-top: 22px; padding-block: 8px; font-size: 13px; }
  .method-step { grid-template-columns: 36px minmax(0,1fr); gap: 12px; min-height: 116px; padding-block: 25px; }
  .method-step h3 { font-size: 1.45rem; }
  .method-step p { margin-top: 9px; color: rgba(248,250,247,.72); font-size: 14px; line-height: 1.7; }
  .services { gap: 42px; }
  .services-heading h2 { max-width: none; }
  .service-row { min-height: 64px; }
  .service-title { gap: 14px; font-size: 17px; }
  .service-plus { min-width: 44px; min-height: 44px; display: grid; place-items: center; font-size: 24px; }
  .service-panel.is-open { padding: 4px 0 24px; }
  .service-panel p { font-size: 15px; line-height: 1.75; }
  .material-section { gap: 34px; padding-block: 82px; }
  .material-copy p:last-child { font-size: 15px; line-height: 1.75; }
  .material-image { aspect-ratio: 1 / 1.04; border-radius: 20px; }
  .contact-section { padding-bottom: 82px; }
  .contact-card { gap: 38px; padding: 28px 20px; border-radius: 20px; }
  .contact-copy > p:last-child { font-size: 15px; line-height: 1.75; }
  .contact-form label { margin-top: 12px; font-size: 12px; }
  .contact-form input, .contact-form select, .contact-form textarea { min-height: 48px; padding-block: 13px; font-size: 16px; }
  .contact-form textarea { min-height: 92px; }
  .contact-form .button { width: 100%; min-height: 52px; margin-top: 18px; }
  .form-note { font-size: 11px; line-height: 1.65; }
  .site-footer { padding-bottom: max(36px, env(safe-area-inset-bottom)); }
  .footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
  .project-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .dialog-body { padding: 26px 20px 30px; }
  .dialog-body h2 { font-size: clamp(2.35rem, 10vw, 3.6rem); }
}

@media (min-width: 768px) and (max-width: 1024px) and (pointer: coarse) {
  :root {
    color-scheme: dark;
    --surface: #1c211c;
    --surface-strong: #293129;
    --surface-deep: #111510;
    --ink: #e7ece6;
    --muted: #a8b1a7;
    --muted-soft: #7d897e;
    --line: rgba(231,236,230,.14);
    --line-strong: rgba(231,236,230,.24);
    --white: #f6f8f4;
    --shell: min(100% - 56px, 880px);
  }
  body { background: var(--surface); }
  .site-header { background: var(--surface); border-bottom-color: var(--line); }
  .site-header.is-scrolled { background: var(--surface); }
  .brand-mark { background: var(--white); color: #1d211d; }
  .mobile-nav { background: var(--surface); border-bottom-color: var(--line); }
  .button-dark, .button-light { background: var(--white); color: #1d211d; }
  .button-dark:hover, .button-light:hover { background: var(--accent); color: #1d211d; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; place-content: center; }
  .hero { grid-template-columns: 1fr 1fr; gap: 38px; }
  .method-layout, .services, .material-section, .contact-card { gap: 48px; }
}

/* Full-size image preview */
body.is-lightbox-open { overflow: hidden; }
.is-zoomable { cursor: zoom-in; }
.image-lightbox[hidden] { display: none; }
.image-lightbox {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
  color: #f6f8f4;
  background: rgba(8, 11, 8, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.image-lightbox-backdrop { position: absolute; inset: 0; }
.image-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  width: min(1240px, 100%);
  height: auto;
  max-height: calc(100dvh - 48px);
}
.image-lightbox-figure {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  gap: 14px;
  width: 100%;
  min-height: 0;
  height: auto;
  max-height: calc(100dvh - 96px);
  margin: 0;
}
.image-lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 150px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
}
.image-lightbox-caption {
  max-width: min(760px, 90vw);
  color: rgba(246,248,244,.78);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.image-lightbox-close,
.image-lightbox-nav {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(246,248,244,.22);
  border-radius: 999px;
  color: #f6f8f4;
  background: rgba(246,248,244,.09);
  font: inherit;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.image-lightbox-close:hover,
.image-lightbox-nav:hover { border-color: var(--accent); background: rgba(249,101,55,.2); transform: translateY(-2px); }
.image-lightbox-close { position: absolute; z-index: 2; top: -10px; right: -10px; font-size: 28px; line-height: 1; }
.image-lightbox-prev { grid-column: 1; grid-row: 1; justify-self: start; }
.image-lightbox-next { grid-column: 3; grid-row: 1; justify-self: end; }
.image-lightbox-counter {
  grid-column: 2;
  grid-row: 2;
  padding-top: 12px;
  color: rgba(246,248,244,.5);
  font-size: 11px;
  letter-spacing: .08em;
  text-align: center;
}
.image-lightbox button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (max-width: 767px) {
  .image-lightbox { padding: 52px 12px 24px; }
  .image-lightbox-panel { grid-template-columns: 44px minmax(0, 1fr) 44px; max-height: calc(100dvh - 76px); }
  .image-lightbox-figure { max-height: calc(100dvh - 116px); }
  .image-lightbox-image { max-height: calc(100dvh - 166px); border-radius: 8px; }
  .image-lightbox-close { top: -42px; right: 0; width: 44px; height: 44px; }
  .image-lightbox-nav { width: 42px; height: 42px; }
  .image-lightbox-caption { max-width: 68vw; font-size: 12px; }
}

/* Immersive image inspection: near-fullscreen fit, wheel/pinch zoom, and pan. */
.image-lightbox-panel { width: min(100%, 1560px); max-height: calc(100dvh - 28px); }
.image-lightbox-figure { max-height: calc(100dvh - 72px); }
.image-lightbox-image {
  max-width: min(100%, calc(100vw - 112px));
  max-height: calc(100dvh - 112px);
  cursor: zoom-in;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform .14s ease-out;
  will-change: transform;
}
.image-lightbox-image.is-zoomed { cursor: grab; transition-duration: .06s; }
.image-lightbox-image.is-zoomed:active { cursor: grabbing; }
.image-lightbox-zoom-controls {
  position: absolute;
  z-index: 3;
  top: -10px;
  right: 54px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(246,248,244,.18);
  border-radius: 999px;
  background: rgba(20,23,20,.72);
}
.image-lightbox-zoom-controls button {
  display: grid;
  place-items: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: #f6f8f4;
  background: transparent;
  font: 600 15px/1 var(--font-meta);
  cursor: pointer;
}
.image-lightbox-zoom-controls button:hover:not(:disabled) { background: rgba(246,248,244,.14); }
.image-lightbox-zoom-controls button:disabled { opacity: .42; cursor: default; }
.image-lightbox-zoom-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 767px) {
  .image-lightbox { padding: 48px 8px 18px; }
  .image-lightbox-panel { grid-template-columns: 40px minmax(0, 1fr) 40px; max-height: calc(100dvh - 62px); }
  .image-lightbox-figure { max-height: calc(100dvh - 92px); }
  .image-lightbox-image { max-width: calc(100vw - 96px); max-height: calc(100dvh - 130px); }
  .image-lightbox-zoom-controls { top: -42px; right: 52px; gap: 2px; padding: 2px; }
  .image-lightbox-zoom-controls button { min-width: 40px; min-height: 40px; padding-inline: 8px; }
  .image-lightbox-zoom-controls [data-zoom-reset] { min-width: 76px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .image-lightbox-image { transition: none; }
}


/* brand-refresh.css */
/* 木由格调：品牌与作品集视觉系统 */
:root{color-scheme:light;--brand:#185A56;--surface:#f6f5f1;--surface-strong:#eeede7;--surface-deep:#e9ece7;--ink:#242824;--muted:#70786f;--muted-soft:#969b92;--line:rgba(36,40,36,.12);--line-strong:rgba(36,40,36,.22);--accent:#185A56;--accent-soft:#d6e3dc;--white:#fbfaf6;--shell:min(1320px,calc(100% - 80px));--radius-lg:2px;--radius-md:2px;--shadow:0 18px 44px rgba(34,43,36,.08);--nav-h:76px;--font-ui:"PingFang SC","HarmonyOS Sans SC","Source Han Sans SC","Noto Sans SC","Microsoft YaHei",sans-serif;--font-meta:"Inter","Helvetica Neue","Arial",sans-serif}
body{background:var(--surface);color:var(--ink);font-family:var(--font-ui)}body::before{display:none}::selection{background:#d8e5dd;color:var(--ink)}:focus-visible{outline-color:var(--brand)}.section-pad{padding-block:clamp(88px,10vw,144px)}.section-mark{color:var(--brand);font-family:var(--font-meta),var(--font-ui);font-size:10px;font-weight:600;letter-spacing:.09em}.site-header{background:rgba(246,245,241,.94);border-bottom:1px solid rgba(36,40,36,.07);backdrop-filter:blur(14px)}.brand{gap:9px}.brand-mark{width:36px;height:40px;padding:0;background:transparent;color:var(--brand);border-radius:0}.brand-mark svg{display:block;width:36px;height:40px;overflow:visible}.brand-mark svg path{fill:none;stroke:currentColor;stroke-width:3.2;stroke-linecap:square;stroke-linejoin:miter}.brand-copy strong{font-weight:600;letter-spacing:.06em}.brand-copy>span{letter-spacing:.16em}.button-dark,.button-light{background:var(--brand);color:var(--white);border-color:var(--brand);border-radius:2px}.button-dark:hover,.button-light:hover{background:#124a46;color:#fff;border-color:#124a46}.button{min-height:46px;padding-inline:22px}.header-cta{min-height:42px}.hero{gap:clamp(44px,7vw,100px)}.hero h1{letter-spacing:-.055em}.hero-intro{color:var(--muted);line-height:1.9}.hero-image,.material-image{border-radius:0;box-shadow:none}.hero-image img,.material-image img{object-fit:cover}.hero-note{display:none}.hero-image figcaption{letter-spacing:.04em}.hero-image figcaption span:last-child,.material-image figcaption span:last-child{display:none}.project-grid{grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:380px 380px 360px 430px;gap:12px}.project-card,.project-card-large,.project-card-tall,.project-card-detail,.project-card-material,.project-card-fengxian,.project-card-gonghe{grid-column:auto;grid-row:auto;min-height:0;border-radius:0}.project-card:nth-child(1){grid-column:1/8;grid-row:1/3}.project-card:nth-child(2){grid-column:8/13;grid-row:1/2}.project-card:nth-child(3){grid-column:8/13;grid-row:2/3}.project-card:nth-child(4){grid-column:1/6;grid-row:3/4}.project-card:nth-child(5){grid-column:6/13;grid-row:3/4}.project-card:nth-child(6){grid-column:1/8;grid-row:4/5}.project-card:nth-child(7){grid-column:8/13;grid-row:4/5}.project-image::after{background:linear-gradient(180deg,transparent 45%,rgba(23,29,25,.66))}.project-meta{right:20px;bottom:18px;left:20px;display:grid;gap:5px}.project-meta>span:first-child{font-size:clamp(17px,1.5vw,22px);font-weight:500;letter-spacing:.01em}.project-meta span:last-child{font-size:11px}.project-idea{max-width:32em;color:rgba(251,250,246,.84);font-size:12px;line-height:1.5}.project-arrow{display:none}.proof-band{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.method-section{background:#e9ece7;color:var(--ink)}.method-layout{min-height:auto;padding-block:clamp(88px,10vw,140px)}.method-statement h2,.method-statement p{color:var(--ink)}.method-statement .section-mark,.step-number,.method-index-current,.method-detail-link span{color:var(--brand)}.method-statement p:not(.section-mark){color:var(--muted)}.method-step,.method-step:last-child{border-color:var(--line-strong);color:var(--muted)}.method-step:hover,.method-step:focus-visible,.method-step.is-active{color:var(--ink);border-color:var(--brand)}.method-step h3{color:inherit}.method-step p{color:var(--muted)}.method-index{display:none}.method-detail-link{border-color:var(--line-strong);color:var(--ink)}.services{gap:clamp(44px,8vw,120px)}.service-title>span,.service-plus{color:var(--brand)}.service-panel span{font-family:var(--font-ui);font-size:12px;font-weight:400}.material-section{padding-block:clamp(84px,10vw,140px)}.contact-card{background:#e9ece7;border-radius:2px}.contact-copy h2,.contact-copy p,.contact-copy>p:last-child{color:var(--ink)}.contact-form label{color:var(--muted)}.contact-form label span{color:var(--brand)}.contact-form input,.contact-form select,.contact-form textarea{border-color:var(--line-strong);color:var(--ink)}.contact-form input::placeholder,.contact-form textarea::placeholder{color:var(--muted-soft)}.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:var(--brand)}.contact-form option{color:var(--ink)}.site-footer{border-top:1px solid var(--line)}.footer-bottom{font-family:var(--font-ui);font-size:11px;font-weight:400}.footer-bottom a{color:var(--brand)}
.project-information{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin-top:22px;margin-bottom:clamp(68px,8vw,116px);border-top:1px solid var(--line-strong);border-bottom:1px solid var(--line-strong)}.project-information>div{min-width:0;padding:18px 16px 20px 0}.project-information>div+div{padding-left:16px;border-left:1px solid var(--line)}.project-information dt{margin-bottom:9px;color:var(--muted);font-family:var(--font-meta),var(--font-ui);font-size:9px;letter-spacing:.1em}.project-information dd{margin:0;color:var(--ink);font-size:12px;line-height:1.65}.project-information .project-idea-value{font-size:13px;font-weight:500}.project-information .project-status{color:var(--brand)}.case-page .detail-hero-media{border-radius:0}.case-page .case-section-dark{background:#303934}.case-page .case-nav a{border-color:var(--line)}.case-page .case-nav a span:first-child{color:var(--brand)}.case-page .case-evidence-card,.case-page .case-figure{border-radius:0}.case-page .case-thesis-label{color:var(--brand)}.case-page .detail-hero-meta #detail-case-no{display:none}.case-page[data-case-id="lyj"] .case-gallery{grid-template-columns:1.25fr .75fr}.case-page[data-case-id="lyj"] .case-figure:first-child{grid-row:span 2}.case-page[data-case-id="jy1"] .case-gallery{grid-template-columns:.72fr 1.28fr}.case-page[data-case-id="jy1"] .case-figure:nth-child(2){grid-row:span 2}.case-page[data-case-id="jy2"] .case-gallery{grid-template-columns:1fr 1fr}.case-page[data-case-id="jy2"] .case-figure:first-child{grid-column:1/-1}.case-page[data-case-id="hj1"] .case-gallery{grid-template-columns:repeat(6,minmax(0,1fr))}.case-page[data-case-id="hj1"] .case-figure{grid-column:span 2}.case-page[data-case-id="hj1"] .case-figure:first-child,.case-page[data-case-id="hj1"] .case-figure:last-child{grid-column:span 3}.case-page[data-case-id="hj2"] .case-gallery{grid-template-columns:1fr 1fr}.case-page[data-case-id="hj2"] .case-figure:nth-child(1),.case-page[data-case-id="hj2"] .case-figure:nth-child(4){grid-row:span 2}.case-page[data-case-id="fxdmcyyjn"] .case-gallery{grid-template-columns:repeat(6,minmax(0,1fr))}.case-page[data-case-id="fxdmcyyjn"] .case-figure{grid-column:span 2}.case-page[data-case-id="fxdmcyyjn"] .case-figure:first-child,.case-page[data-case-id="fxdmcyyjn"] .case-figure:last-child{grid-column:span 3}.case-page[data-case-id="gonghe"] .case-gallery{grid-template-columns:.8fr 1.2fr}.case-page[data-case-id="gonghe"] .case-figure:last-child{grid-row:span 2}.case-page[data-case-id="lyj"] .case-section:nth-of-type(3) .case-thesis-grid{border-left:2px solid var(--brand)}
.mobile-contact{display:none}.process-client-toggle{display:none}.process-client-action{margin:.6rem 0 0;color:var(--muted);font-size:12px;line-height:1.65}.process-page .process-board{background:#303934}.process-page .process-stage-card{border-radius:0}.process-page .process-stage-card::before{background:var(--accent-soft)}.process-page .process-stage-card:hover{border-color:var(--accent)}.process-page .process-switcher a span:first-child,.process-page .process-chapter-index{color:var(--brand)}
@media(max-width:980px){:root{--shell:min(100% - 40px,760px)}.project-grid{grid-template-rows:340px 300px 320px 360px}.project-card:nth-child(1){grid-column:1/8;grid-row:1/3}.project-card:nth-child(2){grid-column:8/13;grid-row:1/2}.project-card:nth-child(3){grid-column:8/13;grid-row:2/3}.project-card:nth-child(4){grid-column:1/6;grid-row:3/4}.project-card:nth-child(5){grid-column:6/13;grid-row:3/4}.project-card:nth-child(6){grid-column:1/8;grid-row:4/5}.project-card:nth-child(7){grid-column:8/13;grid-row:4/5}.project-information{grid-template-columns:repeat(3,minmax(0,1fr))}.project-information>div:nth-child(4){border-left:0;padding-left:0}.project-information>div:nth-child(n+4){border-top:1px solid var(--line)}}
@media(max-width:767px){:root{--shell:calc(100% - 36px);--nav-h:66px}.site-header{min-height:66px}.header-inner{min-height:66px}.brand-mark{width:31px;height:35px}.brand-mark svg{width:31px;height:35px}.brand-copy strong{font-size:13px}.brand-copy>span{font-size:9px}.mobile-nav{background:rgba(246,245,241,.98)}.hero{display:flex;flex-direction:column;gap:23px;padding-top:18px;padding-bottom:42px}.hero-visual{order:0}.hero-copy{order:1}.hero-copy .section-mark{display:none}.hero-image{aspect-ratio:1.26/1;border-radius:0}.hero-image figcaption{padding:12px 14px;font-size:11px}.hero-copy h1{font-size:clamp(33px,9vw,43px);line-height:1.25}.hero-intro{margin-bottom:0;font-size:15px;line-height:1.8}.hero-actions{display:none}.projects.section-pad{padding-top:78px;padding-bottom:86px}.section-heading{grid-template-columns:1fr;gap:18px;margin-bottom:30px}.section-heading .section-mark{grid-column:auto;margin-bottom:-6px}.section-heading h2{font-size:34px}.section-heading>p:last-child{font-size:14px;line-height:1.8}.project-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:none;gap:28px}.project-card,.project-card-large,.project-card-tall,.project-card-detail,.project-card-material,.project-card-fengxian,.project-card-gonghe,.project-card:nth-child(n){grid-column:auto;grid-row:auto;display:grid;grid-template-columns:1fr;grid-template-rows:auto auto;min-height:0;overflow:visible;background:transparent;color:var(--ink)}.project-image{position:relative;inset:auto;aspect-ratio:1.18/1;grid-row:1;border-radius:0}.project-card:nth-child(1) .project-image{aspect-ratio:1.08/1}.project-card:nth-child(4) .project-image,.project-card:nth-child(7) .project-image{aspect-ratio:.94/1}.project-image::after{display:none}.project-image img{object-fit:cover}.project-meta{position:relative;inset:auto;display:grid;gap:6px;padding:13px 0 0;color:var(--ink)}.project-meta>span:first-child{font-size:19px;font-weight:500}.project-meta span:last-child{order:3;color:var(--muted);font-size:11px}.project-idea{color:var(--muted);font-size:13px;line-height:1.65}.proof-band{grid-template-columns:1fr;gap:12px;padding-block:24px}.proof-band>div{display:flex;align-items:baseline;gap:14px}.proof-band p{grid-column:auto;margin:5px 0 0;max-width:none}.method-layout{gap:34px;padding-block:76px}.method-statement{position:static}.method-statement h2{font-size:34px}.method-step{grid-template-columns:34px 1fr;gap:12px;padding:22px 0}.step-number{font-size:10px}.method-step h3{font-size:20px}.method-step p{margin-top:6px;font-size:13px;line-height:1.65}.method-detail-link{margin-top:20px}.services.section-pad{padding-block:78px}.services{gap:25px}.services-heading h2{max-width:none;font-size:34px}.service-row{min-height:72px}.service-title{gap:14px;font-size:18px}.service-panel.is-open{padding:3px 0 20px}.service-panel-inner{grid-template-columns:1fr;gap:10px}.service-panel p{font-size:14px;line-height:1.8}.service-panel span{font-size:12px}.material-section{grid-template-columns:1fr;gap:22px;padding-block:76px}.material-copy h2{font-size:34px}.material-copy p:last-child{font-size:14px;line-height:1.8}.material-image{aspect-ratio:1.12/1}.contact-section{padding-top:10px;padding-bottom:88px}.contact-card{grid-template-columns:1fr;gap:28px;padding:26px 21px}.contact-copy h2{font-size:34px}.contact-copy>p:last-child{font-size:14px;line-height:1.8}.contact-form{gap:9px}.contact-form input,.contact-form select,.contact-form textarea{font-size:16px}.footer-top{align-items:flex-start;gap:18px;padding-bottom:24px}.footer-top>p{font-size:12px;text-align:right}.footer-bottom{display:grid;grid-template-columns:1fr auto;gap:10px;font-size:10px}.footer-bottom span:nth-child(2){grid-column:1}.footer-bottom a{grid-column:2;grid-row:1/3;align-self:center}.project-information{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px;margin-bottom:68px}.project-information>div,.project-information>div+div{padding:13px 10px 15px 0}.project-information>div:nth-child(odd){padding-left:0;border-left:0}.project-information>div:nth-child(even){padding-left:12px;border-left:1px solid var(--line)}.project-information>div:nth-child(n+3){border-top:1px solid var(--line)}.project-information dt{margin-bottom:5px;font-size:9px}.project-information dd{font-size:12px}.case-page .detail-hero{padding-top:20px}.case-page .detail-hero-grid{gap:14px}.case-page .detail-hero h1{font-size:clamp(34px,9vw,44px)}.case-page .detail-hero-media{aspect-ratio:1/1.03}.case-page .case-nav{display:none}.case-page .case-section{padding-block:64px}.case-page .case-section-heading{gap:15px}.case-page .case-gallery,.case-page[data-case-id] .case-gallery{display:grid;grid-template-columns:1fr;gap:24px}.case-page[data-case-id] .case-figure{grid-column:auto;grid-row:auto}.case-page .case-figure img{aspect-ratio:1.05/1;object-fit:cover}.case-page .case-thesis-grid{grid-template-columns:1fr;gap:14px}.case-page .case-metrics{grid-template-columns:1fr 1fr}.case-page .case-evidence-grid{grid-template-columns:1fr}.case-page .case-soft-grid{grid-template-columns:1fr}.case-page .case-details-list{grid-template-columns:1fr}.process-page .detail-hero{padding-top:28px}.process-page .detail-hero h1{font-size:36px}.process-page .process-switcher{grid-template-columns:1fr;gap:0}.process-page .process-switcher a{padding:15px 0}.process-page .process-timeline{gap:9px}.process-page .process-stage-card{min-height:0;padding:16px 13px}.process-page .process-stage-detail{margin-top:6px;font-size:12px;line-height:1.55}.process-page .process-client-toggle{display:inline-flex;align-items:center;gap:5px;margin-top:9px;padding:0;border:0;background:none;color:#e2c7a8;font-size:11px}.process-page .process-client-action{display:none;margin-top:8px;padding-top:8px;border-top:1px solid rgba(251,250,246,.18);color:rgba(251,250,246,.78);font-size:12px}.process-page .process-stage-card.is-expanded .process-client-action{display:block}.process-page .process-chapter-heading{grid-template-columns:1fr;gap:12px}.process-page .process-board-header{align-items:flex-start}.mobile-contact{position:fixed;right:18px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:25;display:flex;align-items:center;justify-content:center;gap:15px;min-width:158px;min-height:46px;padding:0 18px;background:var(--brand);color:#fff;font-size:13px;letter-spacing:.04em;box-shadow:0 5px 18px rgba(24,90,86,.17)}body{padding-bottom:calc(66px + env(safe-area-inset-bottom))}.site-footer{padding-bottom:16px}.reveal{transform:translateY(12px);transition-duration:.5s}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
.hero h1 em{color:var(--ink);font-style:normal}
.hero h1 em{color:var(--ink);font-style:normal}
@media(max-width:767px){.case-page .detail-hero{display:flex;flex-direction:column}.case-page .detail-hero>.back-link{order:-2}.case-page .detail-hero-media{order:-1}.case-page .detail-hero-grid{order:0}.case-page .project-information{order:1}.case-page .detail-hero-media img{aspect-ratio:1.08/1;object-fit:cover}.case-page .detail-hero-media figcaption span:last-child{display:none}}
.case-page .detail-hero-media figcaption span:last-child,.case-page .case-nav a>span:first-child,.case-page #case-overview-mark,.case-page .case-copy-label{display:none}.case-page .case-nav a{gap:0}
.process-page .process-client-toggle{color:var(--accent-soft)}

/* Official supplied brand lockup */
.brand-logo{display:block;width:146px;height:auto;max-height:none;object-fit:contain;object-position:left center}
@media(max-width:760px){.brand-logo{width:132px}}


/* ui-refinement.css */
/* Shared refinements for the home, case studies, and process guide. */
:root {
  --brand: #185A56;
  --accent: #185A56;
  --surface: #f6f5f1;
  --surface-strong: #eeede7;
  --ink: #242824;
  --muted: #68716a;
  --line: rgba(36, 40, 36, .16);
  --line-strong: rgba(36, 40, 36, .28);
  --nav-h: 76px;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

html {
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

:target {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal-delay-1,
.reveal-delay-2,
.reveal-delay-3 {
  transition-delay: 0s;
}

.button,
.header-cta,
.mobile-nav a,
.contact-form button {
  min-height: 48px;
}

.button-dark,
.button-light,
.mobile-nav .button-dark {
  background: var(--brand);
  border-color: var(--brand);
  color: #fbfaf6;
}

.button-dark:hover,
.button-light:hover,
.mobile-nav .button-dark:hover {
  background: #124a46;
  border-color: #124a46;
  color: #fff;
}

.hero-actions .text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
}

.project-card:focus-visible,
.method-step:focus-visible,
.case-nav a:focus-visible {
  outline-offset: 5px;
}

.contact-facts {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line-strong);
}

.contact-facts > div {
  display: grid;
  grid-template-columns: minmax(88px, .42fr) minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.contact-facts dt {
  color: var(--muted);
  font-size: 13px;
}

.contact-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}

.contact-form label {
  margin-top: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.contact-form label span {
  color: var(--brand);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: #fbfaf6;
  color: var(--ink);
  font-size: 16px;
}

.contact-form textarea {
  min-height: 112px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #68716a;
  opacity: 1;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  outline: 2px solid rgba(24, 90, 86, .2);
  outline-offset: 1px;
}

.contact-form input[aria-invalid="true"],
.contact-form select[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #8e3530;
  background: #fff9f7;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.form-note.is-success {
  color: #185A56;
}

.form-required-note {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.form-required-note span {
  color: var(--brand);
  font-weight: 700;
}

/* Process phases: grouped by what happens, with both sides' responsibilities visible. */
.process-page .process-board-frame {
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.process-page .process-board--timeline {
  padding: clamp(20px, 4vw, 44px);
  background: transparent;
  color: var(--ink);
}

.process-page .process-board-header {
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}

.process-page .process-board-kicker {
  color: var(--ink);
}

.process-page .process-board-note {
  color: var(--muted);
}

.process-page .process-timeline {
  display: grid;
  gap: 0;
  padding: 0;
}

.process-page .process-timeline::before {
  display: none;
}

.process-phase {
  display: grid;
  grid-template-columns: minmax(150px, .48fr) minmax(0, 1.52fr);
  gap: clamp(22px, 4vw, 52px);
  padding: 32px 0;
  border-bottom: 1px solid var(--line-strong);
}

.process-phase:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.process-phase-heading > span {
  color: var(--brand);
  font-family: var(--font-meta), var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.process-phase-heading h3 {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.3;
}

.process-phase-heading p {
  max-width: 22em;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.process-phase-grid {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.process-phase-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-phase-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-page .process-stage-card {
  display: flex;
  width: auto;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  margin-left: 0;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fbfaf6;
  color: var(--ink);
}

.process-page .process-stage-card:nth-child(even) {
  width: auto;
  margin-left: 0;
}

.process-page .process-stage-card::before,
.process-page .process-stage-card::after {
  display: none;
}

.process-page .process-stage-card::before {
  display: none;
}

.process-page .process-card-number {
  color: var(--brand);
}

.process-page .process-card-heading {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 12px 0 16px;
}

.process-page .process-card-heading h4 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}

.process-page .process-card-duration {
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.process-stage-fact {
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}

.process-stage-fact + .process-stage-fact {
  margin-top: 12px;
}

.process-stage-fact > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.process-stage-fact p {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.process-stage-fact.process-stage-client > span {
  color: var(--brand);
}

.process-page .process-board--checklist,
.process-page .process-board--moments {
  background: #eeede7;
  color: var(--ink);
}

.process-page .process-board--checklist .process-board-kicker,
.process-page .process-board--moments .process-board-kicker,
.process-page .process-board--checklist .process-card-heading h3,
.process-page .process-board--moments .process-moment-copy h3 {
  color: var(--ink);
}

.process-page .process-checkpoint {
  border: 1px solid var(--line);
  background: #fbfaf6;
}

.process-page .process-point-list p,
.process-page .process-moment-copy p {
  color: var(--ink);
}

.process-page .process-moment-row {
  border-color: var(--line-strong);
}

.process-page .process-moment-summary {
  border-color: var(--line-strong);
}

.process-page .process-moment-summary strong {
  color: var(--ink);
}

.process-page .process-moment-summary span,
.process-page .process-moment-footer {
  color: var(--muted);
}

.process-page .process-moment-time,
.process-page .process-moment-role {
  color: var(--brand);
}

.process-page .process-moment-row:hover {
  background: rgba(24, 90, 86, .045);
}

.process-page .process-moment-role {
  border-color: rgba(24, 90, 86, .38);
}

.process-page .process-point-label {
  border-color: rgba(24, 90, 86, .42);
  color: var(--brand);
}

.process-page .process-client-toggle {
  color: var(--brand);
}

.image-lightbox-nav:hover {
  border-color: var(--brand);
  background: rgba(24, 90, 86, .18);
}

.case-project-status {
  display: grid;
  gap: 4px;
  justify-items: end;
  font-family: var(--font-ui);
  font-size: 12px;
  line-height: 1.55;
  text-align: right;
}

.case-project-status strong {
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}

.case-project-status span {
  color: var(--muted);
  font-family: var(--font-ui);
  font-weight: 400;
}

.case-page .detail-hero-meta {
  align-items: start;
}

@media (max-width: 980px) {
  .process-phase {
    grid-template-columns: minmax(120px, .4fr) minmax(0, 1.6fr);
  }

  .process-phase-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  :root {
    --shell: calc(100% - 36px);
    --nav-h: 66px;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    margin-top: 18px;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    min-height: 48px;
  }

  .contact-facts {
    margin-top: 22px;
  }

  .contact-facts > div {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
  }

  .contact-facts dt,
  .contact-facts dd {
    font-size: 13px;
  }

  .process-page .process-board--timeline {
    padding: 18px;
  }

  .process-phase {
    display: block;
    padding: 24px 0;
  }

  .process-phase-heading {
    margin-bottom: 17px;
  }

  .process-phase-heading h3 {
    margin: 7px 0 5px;
    font-size: 23px;
  }

  .process-phase-heading p {
    font-size: 13px;
  }

  .process-phase-grid,
  .process-phase-grid--two,
  .process-phase-grid--three {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .process-page .process-stage-card {
    padding: 18px;
  }

  .process-page .process-card-heading h4 {
    font-size: 18px;
  }

  .process-page .process-board--checklist,
  .process-page .process-board--moments {
    padding: 18px;
  }

  .process-page .process-moment-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 5px 12px;
    align-items: start;
  }

  .process-page .process-moment-mark {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .process-page .process-moment-time,
  .process-page .process-moment-copy,
  .process-page .process-moment-role {
    grid-column: 2;
  }

  .process-page .process-moment-time {
    grid-row: 1;
  }

  .process-page .process-moment-copy {
    grid-row: 2;
  }

  .process-page .process-moment-role {
    grid-row: 3;
    justify-self: start;
  }

  .case-project-status {
    justify-items: start;
    text-align: left;
  }

  .case-page .detail-hero-meta {
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    transform: none !important;
  }
}

/* Mobile contact control: retain it where useful and get it out of the form. */
.case-page .case-nav a[aria-current="location"] {
  color: var(--brand);
  background: var(--surface-strong);
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  body.is-contact-form-visible .mobile-contact,
  body.is-contact-form-focused .mobile-contact {
    display: none;
  }

  body:has(.contact-form :focus) .mobile-contact {
    display: none;
  }

  body.is-mobile-cta-obstructing .mobile-contact {
    visibility: hidden;
    pointer-events: none;
  }

  .case-page .case-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
    scroll-snap-type: none;
  }

  .case-page .case-nav a {
    min-width: 0;
    min-height: 54px;
    padding: 10px 8px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    font-size: 12px;
    line-height: 1.4;
    scroll-snap-align: none;
  }

  .case-page .case-nav a:nth-child(-n + 2) {
    border-top: 0;
  }

  .case-page .case-nav a:nth-child(2n) {
    border-right: 0;
  }

  .case-page .case-nav a:first-child {
    padding-left: 0;
  }

  .case-page .case-nav a:not(:first-child) {
    padding-left: 10px;
  }

  .case-page .case-nav a:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid var(--brand);
    outline-offset: -2px;
  }
}

/* Mobile motion: restrained spatial feedback, with one authored image reveal. */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  html.motion-ready .reveal {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    filter: blur(1px);
    transition: opacity 380ms ease, transform 460ms cubic-bezier(.16, 1, .3, 1), filter 380ms ease;
    transition-delay: 0ms;
  }
  html.motion-ready .reveal.is-visible { opacity: 1; transform: none; filter: none; }
  html.motion-ready .hero-visual.reveal .hero-image img,
  html.motion-ready .detail-hero-media.reveal img {
    clip-path: inset(0 0 100% 0);
    transform: scale(1.025);
    transition: clip-path 680ms cubic-bezier(.16, 1, .3, 1), transform 760ms cubic-bezier(.16, 1, .3, 1);
  }
  html.motion-ready .hero-visual.reveal.is-visible .hero-image img,
  html.motion-ready .detail-hero-media.reveal.is-visible img { clip-path: inset(0); transform: scale(1); }
  .menu-toggle span { transition-duration: 200ms; }
}


/* Keep the desktop header legible as it moves from the light hero onto green content. */
@media (min-width: 981px) {
  .site-header { transition: background-color 520ms ease, border-color 520ms ease, box-shadow 520ms ease; }
  .site-header.is-scrolled {
    background: rgba(24, 90, 86, .97);
    border-bottom-color: rgba(251, 250, 246, .16);
    box-shadow: 0 8px 24px rgba(19, 54, 50, .12);
  }
  .brand-logo { transition: filter 520ms ease; }
  .site-header.is-scrolled .brand-logo { filter: brightness(0) invert(1); }
  .desktop-nav a { transition: color 420ms ease; }
  .site-header.is-scrolled .desktop-nav a,
  .site-header.is-scrolled .desktop-nav a:hover,
  .site-header.is-scrolled .desktop-nav a:focus-visible { color: #fbfaf6; }
  .site-header.is-scrolled .header-cta {
    background: #fbfaf6;
    border-color: #fbfaf6;
    color: #185a56;
    transition: color 420ms ease, background-color 420ms ease, border-color 420ms ease;
  }
  .site-header.is-scrolled .header-cta:hover,
  .site-header.is-scrolled .header-cta:focus-visible {
    background: #e9eee9;
    border-color: #e9eee9;
    color: #124a46;
  }
}


/* detail.css */
/* 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; }


/* next-guan-jia.css */
/* next-guan-jia · register=brand · A=warm-white+game-color-sparks · B=editorial-sans+quiet-mono · C=project-story+photo-led · D=gentle-scroll-reveal · E=wood+sunlight+pixel-world */
.case-quote { padding-bottom: clamp(72px, 10vw, 132px); }
.case-quote .case-section-heading { align-items: end; }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; margin-top: 46px; }
.quote-page { min-width: 0; margin: 0; }
.quote-page a { display: block; min-height: 230px; padding: 8px; border: 1px solid rgba(35, 39, 34, .13); background: #fff; transition: border-color .2s ease, transform .35s ease; }
.quote-page a:hover { border-color: rgba(35, 39, 34, .4); transform: translateY(-3px); }
.quote-page a:focus-visible { outline: 3px solid #bd4434; outline-offset: 4px; }
.quote-page img { display: block; width: 100%; height: auto; }
.quote-page figcaption { padding-top: 11px; color: #535950; font-size: 13px; letter-spacing: .04em; }
.case-tour { padding-bottom: clamp(64px, 8vw, 110px); }
.case-tour-panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(28px, 5vw, 64px); background: #f2f4f0; }
.case-tour-panel h2 { margin: 12px 0; }
.case-tour-panel p:not(.section-mark) { max-width: 48ch; margin: 0; color: #4e554d; line-height: 1.7; }
.case-tour-panel .button { flex: 0 0 auto; min-height: 48px; display: inline-flex; align-items: center; gap: 14px; }
/* Brand refresh uses a pale surface token here; use dark copy to preserve contrast. */
body[data-case-id="nextguan"] .case-evidence-card-dark { color: var(--ink); border-color: var(--line); background: var(--surface-strong); }
body[data-case-id="nextguan"] .case-evidence-card-dark .case-evidence-heading > span { color: var(--accent); }
body[data-case-id="nextguan"] .case-evidence-card-dark .case-evidence-heading h3 { color: var(--ink); }
body[data-case-id="nextguan"] .case-lighting-copy .case-copy-lede { color: var(--muted); }
body[data-case-id="nextguan"] .case-lighting-copy ul { border-top-color: var(--line-strong); }
body[data-case-id="nextguan"] .case-lighting-copy li { border-bottom-color: var(--line); color: var(--ink); }
body[data-case-id="nextguan"] .case-lighting-copy li::before { color: var(--accent); }
@media (max-width: 820px) {
  .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; margin-top: 30px; }
  .quote-page a { min-height: 0; padding: 5px; }
  .case-tour-panel { align-items: flex-start; flex-direction: column; gap: 24px; }
}
@media (max-width: 520px) {
  .quote-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .quote-page { max-width: 420px; margin-inline: auto; }
  .case-quote .case-section-heading { align-items: start; }
  .case-tour-panel { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) { .quote-page a { transition: none; } }


/* puxiong-case.css */
/* 普雄馨苑案例：沿用官网案例模板，调整材质分析板的可读面积。 */
body[data-case-id="puxiong"] .case-soft-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body[data-case-id="puxiong"] .case-soft-figure:first-child { grid-column: 1 / -1; min-height: 480px; }
body[data-case-id="puxiong"] .case-soft-figure:not(:first-child) { min-height: 330px; }
body[data-case-id="puxiong"] .case-soft-figure img { object-fit: contain; background: #f8f7f3; }
body[data-case-id="puxiong"] .case-plan-figure img { object-fit: contain; background: #fbfaf6; }
body[data-case-id="puxiong"] .case-gallery-item:nth-child(2) .case-gallery-card img { object-position: center 44%; }
@media (max-width: 767px) {
  body[data-case-id="puxiong"] .case-soft-gallery { grid-template-columns: minmax(0, 1fr); }
  body[data-case-id="puxiong"] .case-soft-figure:first-child { grid-column: auto; min-height: 0; }
  body[data-case-id="puxiong"] .case-soft-figure:not(:first-child) { min-height: 0; }
  body[data-case-id="puxiong"] .case-soft-figure img { width: 100%; height: auto; aspect-ratio: auto; }
}


/* quote-book.css */
/* Quotation pages follow the page-by-page display used in the Next Door Home case. */
.quote-section { padding-bottom: clamp(72px, 10vw, 132px); }
.quote-section .section-heading { align-items: end; }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; margin-top: 46px; }
.quote-page { min-width: 0; margin: 0; }
.quote-page a { display: block; min-height: 230px; padding: 8px; border: 1px solid rgba(36, 40, 36, .14); background: #fff; transition: border-color .2s ease, transform .35s ease; }
.quote-page a:hover { border-color: rgba(36, 40, 36, .4); transform: translateY(-3px); }
.quote-page a:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.quote-page img { display: block; width: 100%; height: auto; }
.quote-page figcaption { padding-top: 11px; color: var(--muted); font-size: 13px; letter-spacing: .04em; }
@media (max-width: 980px) {
  .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; margin-top: 30px; }
  .quote-page a { min-height: 0; padding: 5px; }
}
@media (max-width: 600px) {
  .quote-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .quote-page { max-width: 420px; margin-inline: auto; }
  .quote-section .section-heading { align-items: start; }
}
@media (prefers-reduced-motion: reduce) { .quote-page a { transition: none; } }

/* Center case navigation CTA labels independently from decorative arrow spans. */
.case-page .site-header .header-cta,
.case-page .site-header .mobile-nav .button { gap: 0; }
.case-page .site-header .header-cta > span,
.case-page .site-header .mobile-nav .button > span { display: none; }
