/* 云辰星智能 — one shared visual system for all five pages. */
:root {
  --surface-warm: #F1F0EC;
  --surface-light: #F7F6F2;
  --surface-muted: #E6E4DD;
  --ink: #101216;
  --navy-black: #0B1520;
  --steel: #626B74;
  --line: #D6D4CE;
  --signal-blue: #456D98;
  --signal-blue-light: #9AB4CE;
  --page-pad: clamp(28px, 4.4vw, 64px);
  --header-height: 66px;
  --max-width: 1320px;
  --type-hero: clamp(48px, 4.1vw, 60px);
  --type-page: clamp(36px, 3vw, 44px);
  --type-section: clamp(28px, 2.3vw, 34px);
  --type-subheading: 22px;
  --section-space: clamp(44px, 6vh, 64px);
  --font-cn: "Inter", "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-width: 320px; background: var(--surface-warm); color: var(--ink); font-family: var(--font-cn); font-size: 16px; line-height: 1.72; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 550; line-height: 1.3; letter-spacing: -.02em; }
h2 { font-size: var(--type-section); }
h3 { font-size: var(--type-subheading); }
:focus-visible { outline: 2px solid var(--signal-blue); outline-offset: 5px; }
[id] { scroll-margin-top: calc(var(--header-height) + 24px); }
.keep { display: inline-block; }
.shell, .content-shell { width: calc(100% - var(--page-pad) * 2); max-width: var(--max-width); margin-inline: auto; }
.eyebrow, .section-kicker { margin-bottom: 14px; color: var(--signal-blue); font-size: 12px; font-weight: 600; letter-spacing: .07em; }
.section-heading { margin-bottom: 28px; }
.section-heading > p:last-child:not(.eyebrow) { max-width: 650px; margin-top: 16px; color: var(--steel); font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 550; }
.text-link > span:last-child { color: var(--signal-blue); transition: transform .2s ease; }
.text-link:hover > span:last-child { transform: translate(2px, -2px); }
.button, .button-link { min-height: 48px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 600; transition: background .2s ease, color .2s ease; }
.button { min-width: 184px; padding: 0 20px; gap: 30px; justify-content: space-between; border: 1px solid transparent; }
.button-light { color: var(--navy-black); background: var(--surface-light); }
.button-dark { color: var(--surface-light); background: var(--navy-black); }
.button:hover { background: #456D98; color: #fff; }
.button-link { color: var(--surface-light); border-bottom: 1px solid rgba(255,255,255,.58); }
.skip-link { position: fixed; z-index: 400; top: -80px; left: 20px; padding: 10px 16px; background: var(--navy-black); color: #fff; }
.skip-link:focus { top: 12px; }

/* Navigation is deliberately unchanged in structure. */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-height); background: var(--surface-light); border-bottom: 1px solid #E2E0DA; }
.header-grid { height: 100%; padding: 0 var(--page-pad); display: grid; grid-template-columns: minmax(200px, 1fr) auto minmax(240px, 1fr); align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 10px; font-size: 15px; font-weight: 580; letter-spacing: .065em; white-space: nowrap; }
.brand-mark { width: 36px; height: 32px; flex: 0 0 auto; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: clamp(26px, 3vw, 48px); }
.nav-link { position: relative; padding: 7px 0; color: #555D64; font-size: 14px; font-weight: 400; white-space: nowrap; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--signal-blue); transition: width .22s ease; }
.nav-link:hover, .nav-link.is-current { color: var(--signal-blue); font-weight: 500; }
.nav-link:hover::after, .nav-link.is-current::after { width: 22px; }
.header-actions { justify-self: end; display: inline-flex; align-items: center; gap: 22px; white-space: nowrap; }
.assistant-link { color: #69727A; font-size: 13px; }
.consult-link { padding: 7px 0 7px 20px; border-left: 1px solid #DEDCD6; font-size: 14px; font-weight: 550; }
.assistant-link:hover, .consult-link:hover, .consult-link.is-current { color: var(--signal-blue); }
.menu-toggle, .mobile-nav { display: none; }

/* Retain the approved image; scale its reading field to laptop viewport height. */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(600px, calc(100svh - var(--header-height)), 820px); overflow: hidden; background: var(--navy-black); color: var(--surface-light); }
.hero-media { position: absolute; inset: 0; overflow: hidden; background: var(--navy-black); animation: hero-mask-open .9s cubic-bezier(.22,.72,.2,1) both; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(4,10,15,.13); pointer-events: none; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: hero-image-settle 1.5s ease-out both; }
.hero-copy { position: relative; z-index: 4; width: min(620px, 52vw); padding: 64px 0 64px var(--page-pad); animation: hero-copy-in .65s ease-out .2s both; }
.hero-company { color: rgba(255,255,255,.76); font-size: 13px; font-weight: 550; letter-spacing: .1em; }
.hero h1 { margin-top: 24px; font-size: var(--type-hero); font-weight: 550; line-height: 1.2; letter-spacing: -.03em; }
.hero-summary { max-width: 520px; margin-top: 24px; color: rgba(247,246,242,.9); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 28px; }

/* Homepage: two real service paths, then one project narrative. */
.home-expertise { padding: var(--section-space) 0; }
.expertise-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: start; }
.expertise-intro h2 { font-size: var(--type-section); line-height: 1.45; }
.expertise-intro > p:last-child { max-width: 450px; margin-top: 20px; color: var(--steel); font-size: 16px; }
.expertise-path { display: grid; grid-template-columns: 24px 1fr; gap: 20px; padding: 2px 0 22px; }
.expertise-path + .expertise-path { padding-top: 22px; border-top: 1px solid var(--line); }
.path-number { color: var(--signal-blue); font-size: 13px; padding-top: 5px; }
.expertise-path h3 { font-size: 21px; transition: color .2s ease; }
.expertise-path p { max-width: 34em; margin: 10px 0 14px; color: var(--steel); font-size: 15px; line-height: 1.85; text-wrap: pretty; }
.expertise-path .text-link, .text-link--forward { min-height: 32px; gap: 14px; transition: color .2s ease; }
.expertise-path .link-label, .text-link--forward .link-label { position: relative; }
.expertise-path .link-label::after, .text-link--forward .link-label::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.expertise-path .link-arrow, .text-link--forward .link-arrow { width: 20px; height: 20px; flex: 0 0 auto; color: var(--link-accent, var(--signal-blue)); transition: transform .2s ease; }
.expertise-path:is(:hover, :focus-visible) h3, .expertise-path:is(:hover, :focus-visible) .text-link, .text-link--forward:is(:hover, :focus-visible) { color: var(--link-accent, var(--signal-blue)); }
.expertise-path:is(:hover, :focus-visible) .link-label::after, .text-link--forward:is(:hover, :focus-visible) .link-label::after { transform: scaleX(1); }
.expertise-path:is(:hover, :focus-visible) .link-arrow, .text-link--forward:is(:hover, :focus-visible) .link-arrow { transform: translateX(4px); }
.home-case { padding: var(--section-space) 0; color: var(--surface-light); background: var(--navy-black); }
.home-case .eyebrow { color: var(--signal-blue-light); }
.home-case .text-link--forward { --link-accent: var(--signal-blue-light); }
.home-case .section-heading h2 { line-height: 1.35; }
.featured-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: 56px; align-items: center; }
.scene-figure img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.scene-figure figcaption { margin-top: 12px; font-size: 12px; color: var(--steel); }
.home-case .scene-figure figcaption { color: #A4ABB2; }
.home-case .scene-figure img { aspect-ratio: 16/9; }
.case-scale { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.case-scale strong { font-size: 34px; font-weight: 550; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.case-scale span { font-size: 13px; color: #ABB7C1; }
.featured-narrative h3 { font-size: 22px; line-height: 1.5; }
.featured-narrative > p:not(.case-scale) { margin-top: 16px; color: #BEC4CA; font-size: 16px; }
.compact-facts { display: grid; gap: 12px; margin: 22px 0; }
.compact-facts dt { color: #98A6B2; font-size: 12px; }
.compact-facts dd { margin-top: 3px; font-size: 15px; }

/* A shared, simple close. The actual phone number is always usable without JS. */
.consult-band { padding: var(--section-space) 0; background: var(--surface-light); }
.consult-band > .shell { display: flex; justify-content: space-between; align-items: center; gap: 54px; }
.consult-band h2 { font-size: var(--type-section); }
.consult-band .eyebrow { margin-bottom: 12px; }
.consult-band h2 + p { margin-top: 14px; color: var(--steel); }
.phone-link { display: block; white-space: nowrap; font-size: clamp(30px,2.5vw,36px); line-height: 1.25; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.phone-link small { display: block; margin-bottom: 13px; color: var(--steel); font-size: 13px; letter-spacing: .02em; font-weight: 400; }
.phone-link > span { display: block; margin-top: 14px; font-size: 14px; color: var(--signal-blue); letter-spacing: 0; }
.phone-link:hover { color: var(--signal-blue); }

/* Inner-page opening: one strong, consistent field rather than scattered text. */
.inner-intro { padding: 42px 0 44px; color: var(--surface-light); background: var(--navy-black); }
.inner-intro .shell { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; column-gap: 72px; align-items: end; }
.inner-intro .eyebrow { grid-column: 1/-1; color: var(--signal-blue-light); }
.inner-intro h1 { font-size: var(--type-page); font-weight: 550; line-height: 1.25; }
.intro-lead { max-width: 500px; padding-bottom: 3px; color: #BDC6CE; font-size: 16px; line-height: 1.8; text-wrap: pretty; }
.service-chapter { padding: var(--section-space) 0; }
.chapter-heading { display: grid; grid-template-columns: 1fr 1.12fr; gap: 0 72px; align-items: end; margin-bottom: 28px; }
.chapter-heading .eyebrow { grid-column: 1/-1; }
.chapter-heading > p:not(.eyebrow) { max-width: 36em; color: var(--steel); font-size: 15px; line-height: 1.85; text-wrap: pretty; }
.chapter-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 72px; align-items: start; }
.chapter-body { padding-top: 2px; }
.chapter-visual { width: min(100%, 520px); }
.chapter-visual img { width: 100%; height: auto; }
.chapter-visual figcaption { margin-top: 10px; color: var(--steel); font-size: 12px; display: flex; justify-content: space-between; gap: 16px; }
.chapter-visual figcaption > span { color: var(--signal-blue); white-space: nowrap; }
.service-chapter.is-dark .chapter-grid { grid-template-columns: 1.12fr 1fr; }
.service-chapter.is-dark .chapter-visual { grid-column: 2; grid-row: 1; justify-self: end; }
.service-chapter.is-dark .chapter-body { grid-column: 1; grid-row: 1; }
.chapter-heading h2 { line-height: 1.35; }
.service-step { padding: 0 0 22px; }
.service-step + .service-step { padding: 24px 0 0; border-top: 1px solid var(--line); }
.service-step h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.service-step > p { max-width: 38em; color: #4E5861; font-size: 15px; line-height: 1.85; text-wrap: pretty; }
.service-step .service-output { display: grid; grid-template-columns: 4em minmax(0, 1fr); column-gap: 12px; align-items: baseline; max-width: none; margin-top: 16px; font-size: 14px; line-height: 1.8; color: var(--steel); }
.service-output > span:first-child { color: var(--signal-blue); font-size: 12px; white-space: nowrap; }
.is-dark { background: var(--navy-black); color: var(--surface-light); }
.is-dark .eyebrow, .is-dark .service-output > span:first-child { color: var(--signal-blue-light); }
.is-dark .service-step > p { color: #BCC5CD; }
.is-dark .chapter-heading > p:not(.eyebrow), .is-dark .chapter-visual figcaption { color: #BCC5CD; }
.is-dark .chapter-visual figcaption > span { color: var(--signal-blue-light); }
.is-dark .service-step .service-output { color: #A5B1BC; }
.is-dark .service-step + .service-step { border-color: #34404B; }
.assistant-section { padding: var(--section-space) 0; background: var(--surface-light); }
.media-copy-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 72px; align-items: center; }
.media-copy-grid h2 { font-size: var(--type-section); }
.media-copy-grid > div > p:not(.eyebrow) { margin-top: 18px; max-width: 500px; color: var(--steel); }
.media-copy-grid .button { margin-top: 22px; }
.platform-figure { padding: 14px; background: var(--navy-black); border: 1px solid var(--navy-black); overflow: hidden; }
.platform-figure figcaption { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 2px 12px; color: #AAB5BF; font-size: 11px; letter-spacing: .08em; }
.platform-figure figcaption span:first-child { color: var(--surface-light); font-weight: 600; }
.platform-figure img { display: block; width: 100%; }
.evidence-section { padding: var(--section-space) 0; background: var(--surface-muted); }
.evidence-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px 36px; }
.evidence-item img { width: 100%; height: auto; }
.evidence-item figcaption { display: grid; grid-template-columns: 26px 1fr; gap: 7px 12px; padding-top: 22px; }
.evidence-item figcaption > span { grid-row: 1/3; color: var(--signal-blue); font-size: 13px; padding-top: 5px; }
.evidence-item figcaption h3 { font-size: 23px; }
.evidence-item figcaption p { max-width: 510px; font-size: 14px; color: var(--steel); }
.evidence-primary { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1.12fr; gap: 72px; align-items: center; }
.evidence-primary > img { max-width: 520px; }
.evidence-primary figcaption { display: block; padding: 0; }
.evidence-primary figcaption h3 { font-size: 26px; margin: 14px 0; }
.evidence-primary figcaption p { max-width: 400px; font-size: 16px; }
.evidence-primary figcaption .figure-note { font-size: 12px; }
[data-lightbox] { cursor: zoom-in; }
[data-lightbox]:focus-visible { outline-offset: 8px; }

/* Project stories: shared information hierarchy; alternate the visual emphasis. */
.project-stories { padding: 0; }
.project-story { padding: var(--section-space) 0; }
.project-story + .project-story { border-top: 1px solid var(--line); }
.project-story-head { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 56px; align-items: end; margin-bottom: 26px; }
.project-story-head .eyebrow { margin-bottom: 12px; }
.project-story-head h2 { font-size: var(--type-section); }
.project-story-head > p { max-width: 28em; color: var(--steel); font-size: 15px; line-height: 1.8; text-wrap: balance; }
.project-story-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 56px; align-items: start; }
.project-story .scene-figure img { aspect-ratio: 16/9; object-fit: cover; }
.project-story.is-reversed .project-story-grid, .project-story.is-reversed .project-story-head { grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); }
.project-story.is-reversed .scene-figure { grid-column: 2; grid-row: 1; }
.project-story.is-reversed .project-detail { grid-column: 1; grid-row: 1; }
.project-specs { display: grid; grid-template-columns: 1fr 1.4fr; gap: 18px 24px; }
.project-specs > div:last-child { grid-column: 1/-1; }
.project-specs dt { color: var(--steel); font-size: 12px; margin-bottom: 5px; }
.project-specs dd { font-size: 15px; font-weight: 550; line-height: 1.7; text-wrap: pretty; }
.project-specs dd br { display: none; }
.case-focus { margin-top: 22px; padding: 20px 24px; color: var(--surface-light); background: var(--navy-black); }
.case-focus h3 { color: var(--signal-blue-light); font-size: 12px; font-weight: 500; margin-bottom: 8px; letter-spacing: .04em; }
.case-focus p { font-size: 15px; line-height: 1.85; text-wrap: pretty; }
.work-scope { margin-top: 18px; font-size: 14px; color: #4E5861; line-height: 1.8; }
.work-scope > span { display: block; margin-bottom: 6px; color: var(--steel); font-size: 12px; }

/* About: imagery, a concise position, and grounded company facts. */
.company-story { padding: var(--section-space) 0; }
.story-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 72px; align-items: center; }
.story-image img { width: 100%; height: clamp(320px, 45vh, 400px); object-fit: cover; object-position: 72% center; }
.story-copy > p:not(.eyebrow) { max-width: 520px; margin-top: 18px; font-size: 16px; color: var(--steel); }
.principles-section { padding: var(--section-space) 0; color: var(--surface-light); background: var(--navy-black); }
.principles-section .eyebrow { color: var(--signal-blue-light); }
.principles-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 54px; }
.principles-list h3 { font-size: 21px; margin-bottom: 12px; }
.principles-list p { color: #BBC4CD; font-size: 16px; }
.technical-section { padding: var(--section-space) 0 36px; background: var(--surface-muted); }
.technical-section .section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 0 90px; align-items: end; }
.technical-section .section-heading .eyebrow { grid-column: 1/-1; }
.technical-section .section-heading > p:last-child { margin-top: 0; }
.technical-summary-intro { display: block; margin-bottom: 5px; font-size: 13px; line-height: 1.7; }
.technical-summary-list { display: block; color: #4E5861; font-size: 15px; line-height: 1.85; text-wrap: pretty; }
.technical-figure { background: var(--surface-light); padding: 16px; }
.technical-figure img { width: 100%; height: auto; max-height: 360px; object-fit: contain; }
.figure-note { margin-top: 14px; color: var(--steel); font-size: 12px; }
.company-section { background: var(--surface-muted); padding: 0 0 var(--section-space); }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; padding-top: 28px; border-top: 1px solid #CDCAC2; }
.company-grid > h2 { font-size: 24px; }
.company-details { display: grid; gap: 14px; }
.company-details > div { display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 20px; }
.company-details dt { color: var(--steel); font-size: 13px; }
.company-details dd { font-size: 15px; }
.company-details a { text-decoration: underline; text-underline-offset: 4px; }

/* Direct phone consultation; assistant is a secondary option. */
.contact-main { padding: var(--section-space) 0; background: var(--navy-black); color: var(--surface-light); }
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; }
.contact-main .eyebrow { color: var(--signal-blue-light); }
.contact-intro h1 { font-size: var(--type-page); line-height: 1.3; font-weight: 550; }
.contact-intro > p:not(.eyebrow) { max-width: 490px; color: #BCC5CD; font-size: 16px; margin-top: 20px; }
.contact-person { margin-top: 28px; }
.contact-person > p:first-child { font-size: 21px; }
.contact-person > p > span { margin-left: 12px; color: #ABB7C1; font-size: 13px; }
.contact-number { display: inline-block; margin-top: 8px; font-size: clamp(34px,3vw,44px); letter-spacing: -.03em; font-weight: 500; font-variant-numeric: tabular-nums; }
.contact-buttons { display: flex; align-items: center; gap: 26px; margin-top: 20px; }
.copy-phone { min-height: 44px; border: 0; border-bottom: 1px solid #61707D; background: transparent; font-size: 14px; cursor: pointer; }
.copy-feedback { min-height: 24px; color: #BBCBDC; font-size: 13px; margin-top: 10px; }
.contact-preparation { align-self: center; padding: 28px 32px; background: #17232E; }
.contact-preparation .eyebrow { margin-bottom: 24px; }
.contact-preparation li { display: grid; grid-template-columns: 20px 1fr; gap: 18px; }
.contact-preparation li + li { margin-top: 22px; }
.contact-preparation li > span { font-size: 12px; color: #9AB4CE; padding-top: 3px; }
.contact-preparation h2 { font-size: 19px; letter-spacing: 0; }
.contact-preparation li p { color: #B2BCC6; font-size: 14px; line-height: 1.8; margin-top: 10px; }
.contact-assistant { padding: 36px 0; background: var(--surface-light); }
.contact-assistant .shell { display: flex; justify-content: space-between; gap: 60px; align-items: center; }
.contact-assistant h2 { font-size: 24px; }
.contact-assistant .eyebrow { margin-bottom: 12px; }
.contact-assistant h2 + p { margin-top: 14px; max-width: 650px; font-size: 15px; color: var(--steel); }
.contact-assistant .text-link { flex-shrink: 0; }

/* Compact shared footer; no placeholder contact information. */
.site-footer { padding: 48px 0 0; background: var(--navy-black); color: #AAB5BE; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 70px; padding-bottom: 38px; }
.brand-light { color: var(--surface-light); }
.brand-light .brand-mark { filter: brightness(0) invert(1); }
.footer-brand > p { margin-top: 18px; font-size: 14px; }
.footer-brand > small { display: block; font-size: 12px; margin-top: 5px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; align-content: start; font-size: 13px; }
.footer-nav a:hover { color: white; }
.footer-contact p { font-size: 12px; }
.footer-contact a { display: inline-block; margin-top: 8px; color: var(--surface-light); font-size: 24px; letter-spacing: -.02em; white-space: nowrap; }
.footer-contact small { display: block; margin-top: 4px; font-size: 12px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 18px 0; border-top: 1px solid #2B3540; font-size: 11px; color: #94A1AC; }
.footer-bottom a { white-space: nowrap; }
.footer-record { display: block; margin-top: 5px; }

/* Images open in their intrinsic proportions. Original file remains accessible. */
.lightbox { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; background: rgba(6,12,18,.94); padding: 80px 28px 28px; }
.lightbox[hidden] { display: none; }
.lightbox-toolbar { position: absolute; top: 18px; right: 26px; left: 26px; display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.lightbox-open-original, .lightbox-close { min-height: 44px; padding: 9px 16px; border: 1px solid #64717C; background: transparent; color: #fff; font-size: 14px; cursor: pointer; }
.lightbox-stage { display: flex; align-items: center; justify-content: center; min-width: 0; width: 100%; height: 100%; min-height: 0; }
.lightbox-stage .lightbox-image, .lightbox-stage img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 108px); object-fit: contain; }
.lightbox :focus-visible { outline-color: #9AB4CE; }
@keyframes hero-mask-open { from { clip-path: inset(0 0 7% 0); } to { clip-path: inset(0); } }
@keyframes hero-image-settle { from { transform: scale(1.025); } to { transform: scale(1); } }
@keyframes hero-copy-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Preserve readable text; change grouping before reducing its size. */
@media (max-width: 1200px) {
  .header-grid { gap: 20px; grid-template-columns: 1fr auto 1fr; }
  .desktop-nav { gap: 25px; }
  .header-actions { gap: 14px; }
  .consult-link { padding-left: 14px; }
  .expertise-grid, .chapter-grid, .story-grid { gap: 48px; }
  .chapter-heading { column-gap: 48px; }
  .featured-grid, .project-story-head, .project-story-grid, .project-story.is-reversed .project-story-grid { gap: 36px; }
  .contact-layout { gap: 55px; }
}
@media (max-width: 1040px) {
  .header-grid { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-actions { display: none; }
  .menu-toggle { width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 23px; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { position: fixed; z-index: 110; inset: var(--header-height) 0 0; background: var(--surface-light); padding: 24px var(--page-pad); overflow-y: auto; }
  .mobile-nav:not([hidden]) { display: block; }
  .mobile-link { display: flex; align-items: center; min-height: 60px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .mobile-link.is-current { color: var(--signal-blue); }
  .hero-copy { width: 68vw; }
  .hero h1 { font-size: 48px; }
  .inner-intro .shell { column-gap: 46px; }
  .intro-lead { font-size: 16px; }
  .expertise-grid, .chapter-grid { gap: 36px; }
  .chapter-heading { column-gap: 36px; }
  .expertise-intro h2 { font-size: 30px; }
  .chapter-heading h2 { font-size: 28px; }
  .media-copy-grid { gap: 42px; }
  .evidence-primary { gap: 38px; }
  .project-story-head { gap: 36px; }
  .case-focus { padding: 24px; }
  .story-grid { gap: 40px; }
  .story-image img { height: 340px; }
  .principles-list { gap: 30px; }
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-intro h1 { font-size: 36px; }
  .contact-preparation { padding: 28px; }
  .footer-main { gap: 34px; }
  .footer-nav { column-gap: 14px; }
}
@media (max-width: 760px) {
  :root { --header-height: 64px; --page-pad: 22px; --type-section: 26px; --type-subheading: 21px; --section-space: 40px; }
  body { line-height: 1.75; }
  h2 { font-size: var(--type-section); line-height: 1.4; }
  h3 { font-size: var(--type-subheading); }
  .eyebrow { font-size: 12px; margin-bottom: 12px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 34px; height: 30px; }
  .hero { min-height: clamp(560px, calc(88svh - var(--header-height)), 660px); }
  .hero-media img { object-position: 58% center; }
  .hero-media::after { background: rgba(4,10,15,.37); }
  .hero-copy { position: relative; left: auto; align-self: flex-end; width: 100%; padding: 130px var(--page-pad) 36px; }
  .hero-company { font-size: 12px; letter-spacing: .08em; }
  .hero h1 { margin-top: 20px; font-size: clamp(30px, 9.2vw, 36px); line-height: 1.25; }
  .hero-summary { max-width: 360px; margin-top: 22px; font-size: 16px; line-height: 1.75; }
  .hero-actions { gap: 20px; margin-top: 24px; }
  .hero .button-light { min-width: 164px; }
  .button-link { min-height: 44px; }
  .home-expertise { padding: var(--section-space) 0; }
  .expertise-grid { display: block; }
  .expertise-intro h2 { font-size: clamp(24px,6.7vw,26px); line-height: 1.45; }
  .expertise-intro > p:last-child { margin-top: 18px; font-size: 16px; }
  .expertise-paths { margin-top: 26px; }
  .expertise-path { grid-template-columns: 20px 1fr; gap: 14px; padding-bottom: 25px; }
  .expertise-path + .expertise-path { padding-top: 25px; }
  .expertise-path h3 { font-size: 21px; }
  .expertise-path p { font-size: 15px; margin: 12px 0 15px; }
  .home-case { padding: var(--section-space) 0; }
  .section-heading { margin-bottom: 24px; }
  .featured-grid { display: block; }
  .home-case .scene-figure img { aspect-ratio: 3/2; }
  .featured-narrative { margin-top: 24px; }
  .case-scale { margin-bottom: 16px; }
  .case-scale strong { font-size: 32px; }
  .featured-narrative h3 { font-size: 22px; }
  .compact-facts { grid-template-columns: 1fr; gap: 14px; margin: 22px 0; }
  .compact-facts dd { font-size: 14px; }
  .scene-figure figcaption { margin-top: 9px; font-size: 11px; }
  .consult-band { padding: var(--section-space) 0; }
  .consult-band > .shell { display: block; }
  .consult-band h2 { font-size: 26px; }
  .consult-band h2 + p { font-size: 15px; }
  .phone-link { margin-top: 24px; font-size: 32px; }
  .phone-link small { margin-bottom: 10px; }
  .phone-link > span { margin-top: 11px; }
  .inner-intro { padding: 32px 0 34px; }
  .inner-intro .shell { display: block; }
  .inner-intro h1 { font-size: clamp(29px,8.2vw,34px); line-height: 1.3; }
  .intro-lead { margin-top: 18px; padding: 0; font-size: 16px; line-height: 1.75; }
  .service-chapter { padding: var(--section-space) 0; }
  .chapter-heading { display: block; margin-bottom: 22px; }
  .chapter-grid { display: block; }
  .chapter-heading h2 { font-size: 26px; }
  .chapter-heading > p:not(.eyebrow) { margin-top: 16px; font-size: 16px; }
  .chapter-visual { width: 100%; }
  .chapter-body { margin-top: 26px; }
  .service-step { padding-bottom: 22px; }
  .service-step + .service-step { padding-top: 22px; }
  .service-step h3 { font-size: 20px; }
  .service-step > p { font-size: 16px; line-height: 1.75; }
  .service-step .service-output { font-size: 14px; }
  .assistant-section { padding: var(--section-space) 0; }
  .media-copy-grid { display: block; }
  .media-copy-grid h2 { font-size: 26px; }
  .media-copy-grid > div > p:not(.eyebrow) { font-size: 15px; }
  .platform-figure { margin-top: 24px; padding: 9px; }
  .platform-figure figcaption { padding: 0 1px 8px; font-size: 10px; }
  .evidence-section { padding: var(--section-space) 0; }
  .evidence-section h2 { font-size: 26px; }
  .section-heading > p:last-child:not(.eyebrow) { font-size: 15px; }
  .evidence-layout { display: block; }
  .evidence-item + .evidence-item { margin-top: 35px; }
  .evidence-primary { display: block; }
  .evidence-item figcaption, .evidence-primary figcaption { display: grid; grid-template-columns: 22px 1fr; gap: 6px 9px; padding-top: 18px; }
  .evidence-item figcaption h3, .evidence-primary figcaption h3 { font-size: 22px; margin: 0; }
  .evidence-item figcaption p, .evidence-primary figcaption p { font-size: 15px; margin: 0; }
  .evidence-primary figcaption { display: block; }
  .evidence-primary figcaption > span { font-size: 12px; }
  .evidence-primary figcaption h3 { margin: 12px 0; }
  .evidence-primary figcaption p + p { margin-top: 12px; }
  .project-story { padding: var(--section-space) 0; }
  .project-story-head { display: block; margin-bottom: 22px; }
  .project-story-head h2 { font-size: 26px; }
  .project-story-head > p { margin-top: 16px; font-size: 15px; }
  .project-story-head > p br { display: none; }
  .project-story-grid, .project-story.is-reversed .project-story-grid { display: flex; flex-direction: column; gap: 26px; }
  .project-story .scene-figure { width: 100%; }
  .project-story .scene-figure img { aspect-ratio: 3/2; }
  .project-detail { width: 100%; }
  .project-specs { grid-template-columns: 1fr 1fr; gap: 19px 22px; }
  .project-specs > div:last-child { grid-column: 1/-1; }
  .project-specs dt { font-size: 12px; }
  .project-specs dd { font-size: 16px; }
  .project-specs dd br { display: none; }
  .case-focus { padding: 20px; margin-top: 22px; }
  .case-focus p { font-size: 15px; }
  .work-scope { font-size: 14px; margin-top: 19px; }
  .company-story { padding: var(--section-space) 0; }
  .story-grid { display: flex; flex-direction: column; gap: 26px; }
  .story-image { width: 100%; }
  .story-image img { height: auto; aspect-ratio: 3/2; object-position: 75% center; }
  .story-copy h2 { font-size: 26px; }
  .story-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 16px; }
  .principles-section { padding: var(--section-space) 0; }
  .principles-section h2 { font-size: 26px; }
  .principles-list { display: block; }
  .principles-list article + article { margin-top: 29px; }
  .principles-list h3 { font-size: 21px; margin-bottom: 10px; }
  .principles-list p { font-size: 15px; }
  .technical-section { padding: var(--section-space) 0 30px; }
  .technical-section .section-heading { display: block; }
  .technical-section .section-heading > p:last-child { margin-top: 16px; }
  .technical-figure { padding: 0; }
  .figure-note { font-size: 12px; }
  .company-section { padding: 0 0 var(--section-space); }
  .company-grid { display: block; padding-top: 28px; }
  .company-grid > h2 { font-size: 24px; margin-bottom: 25px; }
  .company-details > div { grid-template-columns: 66px minmax(0,1fr); gap: 16px; }
  .company-details dt { font-size: 12px; }
  .company-details dd { font-size: 14px; }
  .contact-main { padding: var(--section-space) 0; }
  .contact-layout { display: block; }
  .contact-intro h1 { font-size: clamp(28px,7.7vw,32px); line-height: 1.35; }
  .contact-intro > p:not(.eyebrow) { font-size: 16px; }
  .contact-person { margin-top: 28px; }
  .contact-number { font-size: 34px; }
  .contact-buttons { gap: 24px; margin-top: 22px; }
  .contact-buttons .button { min-width: 184px; }
  .contact-preparation { padding: 28px 24px; margin-top: 30px; }
  .contact-preparation .eyebrow { margin-bottom: 24px; }
  .contact-preparation h2 { font-size: 18px; }
  .contact-preparation li { gap: 12px; }
  .contact-assistant { padding: 34px 0; }
  .contact-assistant .shell { display: block; }
  .contact-assistant h2 { font-size: 24px; }
  .contact-assistant .text-link { margin-top: 24px; }
  .site-footer { padding-top: 34px; }
  .footer-main { grid-template-columns: 1fr; gap: 25px; padding-bottom: 28px; }
  .footer-brand > p { font-size: 13px; margin-top: 13px; }
  .footer-brand > small { font-size: 11px; }
  .footer-nav { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 12px; font-size: 12px; }
  .footer-nav a { min-height: 36px; display: flex; align-items: center; }
  .footer-contact { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 20px; }
  .footer-contact a { margin-top: 0; font-size: 23px; grid-column: 2; grid-row: 1/3; }
  .footer-contact small { font-size: 11px; }
  .footer-bottom { font-size: 10px; gap: 13px; align-items: flex-start; }
  .footer-bottom > p { max-width: 230px; }
  .lightbox { padding: 80px 12px 18px; }
  .lightbox-toolbar { top: 16px; right: 12px; left: 12px; }
  .lightbox-open-original, .lightbox-close { font-size: 13px; padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
