:root {
  --ink: #090c0f;
  --surface: #11171b;
  --paper: #f2f4f4;
  --muted: #a5b0b7;
  --line: rgba(224, 234, 236, .19);
  --cyan: #7bd9e9;
  --mint: #b0e9cf;
  --warm: #e4b980;
  --header-h: 68px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); background: var(--ink); }
body { margin: 0; color: var(--paper); background: var(--ink); font: 400 16px/1.65 Inter, "Noto Sans JP", system-ui, sans-serif; }
html[lang="zh-Hans"] body { font-family: Inter, "Noto Sans SC", system-ui, sans-serif; }
html[lang="zh-Hant"] body { font-family: Inter, "Noto Sans TC", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.skip-link { position: fixed; left: 12px; top: 8px; z-index: 50; padding: 8px 12px; background: var(--paper); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 0 clamp(24px, 4vw, 72px); border-bottom: 1px solid rgba(255,255,255,.13); background: rgba(7,10,13,.81); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; min-width: 0; font-weight: 600; line-height: 1.2; }
.brand { justify-self: start; font-size: 15px; white-space: nowrap; }
.brand img, .footer-brand img { object-fit: contain; flex: none; }
.site-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); }
.site-nav a { white-space: nowrap; color: #d4dcde; font-size: 14px; font-weight: 500; transition: color .2s ease; }
.site-nav a:hover { color: var(--cyan); }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 10px; }
.language-control { position: relative; display: block; }
.language-control::after { position: absolute; right: 10px; top: 50%; content: "⌄"; color: var(--cyan); font-size: 19px; line-height: 1; transform: translateY(-60%); pointer-events: none; }
.language-control select { display: block; width: 115px; height: 38px; padding: 0 28px 0 11px; appearance: none; border: 1px solid rgba(255,255,255,.34); border-radius: 4px; color: var(--paper); background: #13191d; font-size: 13px; cursor: pointer; }
.language-control select:hover { border-color: var(--cyan); }
.menu-toggle { display: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--paper); }
.menu-toggle span { display: block; width: 18px; height: 1px; margin: 5px auto; background: currentColor; }

.hero { position: relative; min-height: max(700px, 100svh); overflow: hidden; background: #090e14; }
.hero-art { position: absolute; inset: 0; }
.hero-art picture { display: block; width: 100%; height: 100%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-art::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(90deg, rgba(6,9,13,.38) 0, rgba(6,9,13,.14) 38%, transparent 62%), linear-gradient(180deg, rgba(6,9,13,.20), transparent 32%, transparent 72%, rgba(6,9,13,.23)); }
.hero-copy { position: relative; z-index: 1; width: min(46vw, 650px); padding-top: clamp(128px, 15vh, 196px); margin-left: clamp(24px, 4vw, 72px); }
.eyebrow, .section-index, .service-number { color: var(--cyan); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.hero h1 { margin-top: 24px; font-size: 60px; font-weight: 500; line-height: 1.28; text-wrap: balance; }
.hero-lead { max-width: 520px; margin-top: 24px; color: #e0e8e9; font-size: 17px; line-height: 1.8; text-wrap: pretty; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 42px; min-width: 175px; min-height: 50px; margin-top: 32px; padding: 0 18px; border-radius: 4px; background: var(--cyan); color: #051117; font-size: 14px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.primary-link:hover { background: var(--mint); transform: translateY(-2px); }
.hero-caption { position: absolute; right: clamp(24px, 4vw, 72px); bottom: 25px; z-index: 1; color: rgba(238,245,245,.8); font-size: 13px; text-align: right; text-shadow: 0 1px 5px #03060a; }

.era-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; min-height: 112px; padding: 0 clamp(24px, 4vw, 72px); border-bottom: 1px solid var(--line); background: #0d1115; }
.era-bar > div { display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: 15px; padding: 20px 24px; border-right: 1px solid var(--line); }
.era-bar > div:first-child { padding-left: 0; }
.era-bar > div:last-child { border-right: 0; }
.era-bar span { grid-row: 1 / span 2; align-self: start; margin-top: 2px; color: #70818b; font-size: 12px; }
.era-bar strong { font-size: 16px; font-weight: 500; line-height: 1.3; }
.era-bar small { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.era-bar .era-current strong, .era-bar .era-current small { color: var(--cyan); }

.content-section { width: min(1240px, calc(100% - 80px)); margin: 0 auto; }
.section-intro { display: grid; grid-template-columns: minmax(130px, .35fr) minmax(0, 1fr); column-gap: 48px; align-items: start; }
.section-intro h2, .contact h2 { font-size: 44px; font-weight: 500; line-height: 1.35; text-wrap: balance; }
.section-intro > div > p { max-width: 630px; margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.section-index { padding-top: 9px; white-space: nowrap; }
.vision { padding-top: 80px; padding-bottom: 96px; }
.vision-principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid var(--line); }
.vision-principles > div { min-height: 130px; padding: 22px 24px; border-right: 1px solid var(--line); }
.vision-principles > div:first-child { padding-left: 0; }
.vision-principles > div:last-child { border-right: 0; }
.vision-principles span { color: var(--warm); font-size: 12px; }
.vision-principles p { margin-top: 36px; font-size: 17px; font-weight: 500; }

.services { padding-top: 55px; padding-bottom: 112px; border-top: 1px solid var(--line); }
.services .section-intro { margin-bottom: 50px; }
.service-row { display: grid; grid-template-columns: 1.12fr .88fr; column-gap: clamp(42px, 5vw, 92px); align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.service-row figure { aspect-ratio: 1586 / 992; overflow: hidden; background: #101820; }
.service-row figure picture { display: block; width: 100%; height: 100%; }
.service-row figure img { width: 100%; height: 100%; object-fit: cover; }
.service-row-reverse figure { order: 2; }
.service-row-reverse .service-copy { order: 1; }
.service-copy { max-width: 480px; }
.service-copy h3 { margin-top: 20px; font-size: 34px; font-weight: 500; line-height: 1.35; }
.service-copy > p:not(.service-number) { margin-top: 20px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.service-copy ul { margin-top: 30px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-copy li { padding: 11px 0; border-bottom: 1px solid var(--line); color: #d8e0e1; font-size: 14px; }
.service-copy li::before { display: inline-block; width: 5px; height: 5px; margin: 0 12px 3px 0; border-radius: 50%; background: var(--mint); content: ""; }

.approach { padding-top: 80px; padding-bottom: 110px; border-top: 1px solid var(--line); }
.approach-list { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.approach-list li { min-height: 238px; padding: 24px; border-right: 1px solid var(--line); }
.approach-list li:first-child { padding-left: 0; }
.approach-list li:last-child { border-right: 0; }
.approach-list span { color: var(--warm); font-size: 12px; }
.approach-list h3 { margin-top: 56px; font-size: 20px; font-weight: 500; }
.approach-list p { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.7; }

.contact { min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(24px, 6vw, 90px); background: #e5eceb; color: #101a1d; }
.contact .section-index { color: #266578; }
.contact h2 { max-width: 860px; margin-top: 28px; }
.contact > p:not(.section-index) { max-width: 620px; margin-top: 20px; color: #485e65; font-size: 17px; }
.contact-email { display: block; width: min(100%, 860px); margin-top: 42px; padding: 20px 0 24px; border-top: 1px solid #8ea2a4; border-bottom: 1px solid #8ea2a4; }
.contact-email-label { display: block; color: #35616b; font-size: 13px; font-weight: 600; }
.contact-email-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 8px; }
.contact-email-row strong { min-width: 0; font-size: 44px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.contact-email-row > span { flex: none; font-size: 30px; line-height: 1; }
.contact-email:hover .contact-email-row { color: #006d81; }
.contact a:focus-visible { outline-color: #006d81; }
.contact-details { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px 40px; margin-top: 34px; color: #52666c; font-size: 13px; }
.contact-details > div { display: flex; flex-direction: column; gap: 4px; }
.contact-details-label { color: #52666c; font-size: 11px; }
.contact-details a { width: max-content; }
.contact-details a:hover { text-decoration: underline; }
.contact-details address { font-style: normal; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 116px; padding: 24px clamp(24px, 4vw, 72px); color: var(--muted); font-size: 13px; }
.site-footer .footer-brand { color: var(--paper); }
.site-footer a:last-child:hover { color: var(--cyan); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; display: none; padding: 20px 24px 26px; border-bottom: 1px solid var(--line); background: #0c1115; }
  .site-nav.is-open { display: grid; gap: 0; }
  .site-nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .menu-toggle { display: block; }
  .hero-copy { width: min(56vw, 560px); }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 15px; }
  .section-intro h2, .contact h2 { font-size: 38px; }
  .service-copy h3 { font-size: 30px; }
  .era-bar { padding: 0 24px; }
  .era-bar > div { padding: 18px 12px; }
  .era-bar strong { font-size: 14px; }
  .content-section { width: calc(100% - 48px); }
  .section-intro { grid-template-columns: 120px 1fr; column-gap: 24px; }
  .service-row { gap: 32px; }
  .approach-list { grid-template-columns: repeat(2, 1fr); }
  .approach-list li { min-height: 195px; border-bottom: 1px solid var(--line); }
  .approach-list li:nth-child(2) { border-right: 0; }
  .approach-list li:nth-child(3) { padding-left: 0; }
}

@media (max-width: 1100px), (max-aspect-ratio: 4/3) {
  .hero { min-height: 0; display: flex; flex-direction: column; overflow: visible; }
  .hero-art { position: relative; order: 0; margin-top: var(--header-h); }
  .hero-art picture { height: auto; }
  .hero-art img { width: 100%; height: auto; object-fit: contain; }
  .hero-art::after { display: none; }
  .hero-copy { order: 1; width: auto; margin: 0; padding: 42px clamp(24px, 4vw, 72px) 50px; background: #0d1115; }
  .hero-caption { display: none; }
}

@media (max-width: 620px) {
  :root { --header-h: 62px; }
  .site-header { gap: 8px; padding: 0 16px; }
  .brand { gap: 6px; font-size: 12px; }
  .brand img { width: 30px; height: 30px; }
  .header-tools { gap: 7px; }
  .language-control select { width: 100px; height: 34px; padding-left: 7px; padding-right: 22px; font-size: 12px; }
  .language-control::after { right: 6px; }
  .menu-toggle { width: 34px; height: 34px; }
  .hero { min-height: 0; display: flex; flex-direction: column; overflow: visible; }
  .hero-art { position: relative; order: 0; margin-top: var(--header-h); }
  .hero-art img { width: 100%; height: auto; object-fit: contain; }
  .hero-art::after { display: none; }
  .hero-copy { order: 1; width: auto; margin: 0; padding: 31px 20px 36px; background: #0d1115; }
  .eyebrow { font-size: 12px; }
  .hero h1 { margin-top: 16px; font-size: 34px; line-height: 1.3; }
  .hero-lead { margin-top: 18px; font-size: 15px; }
  .primary-link { min-height: 48px; margin-top: 26px; }
  .hero-caption { display: none; }
  .era-bar { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
  .era-bar > div { min-height: 90px; padding: 16px 10px; border-bottom: 1px solid var(--line); }
  .era-bar > div:first-child, .era-bar > div:nth-child(3) { padding-left: 0; }
  .era-bar > div:nth-child(2) { border-right: 0; }
  .era-bar > div:nth-child(3), .era-bar > div:nth-child(4) { border-bottom: 0; }
  .era-bar strong { font-size: 14px; }
  .era-bar small { font-size: 12px; }
  .content-section { width: calc(100% - 40px); }
  .section-intro { grid-template-columns: 1fr; gap: 17px; }
  .section-index { padding: 0; }
  .section-intro h2, .contact h2 { font-size: 34px; }
  .section-intro > div > p { margin-top: 18px; font-size: 15px; }
  .vision { padding-top: 48px; padding-bottom: 66px; }
  .vision-principles { grid-template-columns: 1fr; margin-top: 42px; }
  .vision-principles > div { min-height: 86px; padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .vision-principles > div:last-child { border-bottom: 0; }
  .vision-principles p { margin-top: 12px; font-size: 16px; }
  .services { padding-top: 48px; padding-bottom: 70px; }
  .services .section-intro { margin-bottom: 30px; }
  .service-row { grid-template-columns: 1fr; gap: 26px; padding: 36px 0 52px; }
  .service-row-reverse figure, .service-row-reverse .service-copy { order: initial; }
  .service-copy h3 { margin-top: 13px; font-size: 29px; }
  .service-copy > p:not(.service-number) { margin-top: 16px; font-size: 15px; }
  .service-copy ul { margin-top: 22px; }
  .approach { padding-top: 48px; padding-bottom: 70px; }
  .approach-list { grid-template-columns: 1fr; margin-top: 36px; }
  .approach-list li, .approach-list li:nth-child(3) { min-height: 0; padding: 17px 0 23px; border-right: 0; }
  .approach-list h3 { margin-top: 12px; font-size: 19px; }
  .approach-list p { margin-top: 7px; }
  .contact { min-height: calc(100svh - var(--header-h)); padding: 58px 20px; }
  .contact h2 { margin-top: 22px; }
  .contact > p:not(.section-index) { font-size: 15px; }
  .contact-email { position: relative; margin-top: 32px; }
  .contact-email-row { display: block; margin-top: 10px; }
  .contact-email-row strong { display: block; font-size: 23px; }
  .contact-email-row > span { position: absolute; top: 18px; right: 0; font-size: 23px; }
  .contact-details { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 31px; }
  .section-intro h2, .contact h2 { font-size: 30px; }
  .contact-email-row strong { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .primary-link { transition: none; } }
