/* 庄康集团 — Editorial Corporate / Architecture visual system */
@font-face {
  font-family: "Noto Serif SC";
  src: url("/fonts/zhuangkang-serif-v1.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("/fonts/zhuangkang-sans-v1.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --navy: #071c33;
  --navy-deep: #041426;
  --navy-soft: #102c49;
  --ink: #102033;
  --muted: #66707a;
  --line: #ced2d2;
  --line-dark: rgba(255, 255, 255, 0.22);
  --paper: #ffffff;
  --warm: #f3f1ed;
  --warm-deep: #e8e4dc;
  --gold: #b3955a;
  --gold-light: #d7c48e;
  --serif: "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
  --sans: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { overflow: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
p, h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: #fff; }

.container {
  width: min(calc(100% - 128px), 1280px);
  margin-inline: auto;
}
.section { padding: 136px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 68px;
}
.section-head > div:first-child { max-width: 52%; }
.section-label, .eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}
.section-label { margin-bottom: 18px; }
.section-label::before, .eyebrow::before {
  width: 32px;
  height: 1px;
  background: currentColor;
  content: "";
}
.section-title, .page-hero-title, .detail-hero-title, .culture-quote {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.035em;
}
.section-title { font-size: clamp(34px, 3vw, 44px); line-height: 1.35; }
.section-description {
  max-width: 410px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}
.text-link, .sector-card-link, .related-link, .back-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 260ms var(--ease), gap 260ms var(--ease);
}
.text-link::after, .sector-card-link::after, .related-link::after {
  content: "→";
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}
.text-link:hover, .sector-card:hover .sector-card-link, .related-link:hover { color: var(--gold); gap: 17px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 9px 16px;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 88px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(16, 32, 51, 0.11);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  width: min(calc(100% - 128px), 1440px);
  height: 100%;
  margin-inline: auto;
  align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; }
.brand-mark img { width: 40px; height: 40px; object-fit: contain; }
.brand-name {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}
.brand-en {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}
.desktop-nav { display: flex; height: 100%; margin-left: auto; align-items: stretch; }
.nav-link, .nav-business > a {
  position: relative;
  display: inline-flex;
  height: 100%;
  padding: 0 18px;
  align-items: center;
  color: #405062;
  font-size: 14px;
  transition: color 220ms ease;
}
.nav-link::after, .nav-business > a::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 2px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 220ms ease, transform 220ms var(--ease);
}
.nav-link:hover, .nav-link.active, .nav-business:hover > a, .nav-business:focus-within > a { color: var(--navy); }
.nav-link:hover::after, .nav-link.active::after, .nav-business:hover > a::after, .nav-business:focus-within > a::after { opacity: 1; transform: scaleX(1); }
.nav-business { position: relative; }
.nav-business > a { gap: 8px; }
.nav-business > a span::after { content: "⌄"; margin-left: 6px; font-size: 13px; }
.nav-dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  width: 190px;
  padding: 12px 0;
  background: #fff;
  border-top: 2px solid var(--gold);
  box-shadow: 0 14px 28px rgba(7, 28, 51, 0.13);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.nav-dropdown a { display: block; padding: 9px 18px; color: #4f5d69; font-size: 13px; line-height: 1.5; transition: color 180ms ease, background 180ms ease; }
.nav-dropdown a:hover, .nav-dropdown a:focus-visible { color: var(--navy); background: var(--warm); }
.nav-business:hover .nav-dropdown, .nav-business:focus-within .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.header-end { display: flex; margin-left: 22px; align-items: center; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.menu-toggle::before, .menu-toggle::after, .menu-toggle span {
  position: absolute;
  width: 21px;
  height: 1px;
  background: var(--navy);
  content: "";
  transition: transform 220ms ease, opacity 220ms ease;
}
.menu-toggle::before { transform: translateY(-7px); }
.menu-toggle::after { transform: translateY(7px); }
.menu-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }
.mobile-nav { display: none; }

/* Buttons */
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background 240ms ease, border-color 240ms ease, color 240ms ease, transform 240ms var(--ease);
}
.button .arrow { font-size: 18px; line-height: 0; transition: transform 240ms var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:hover .arrow { transform: translateX(4px); }
.button-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.button-gold:hover { background: #9d814c; border-color: #9d814c; }
.button-outline { border-color: rgba(255,255,255,0.58); color: #fff; }
.button-outline:hover { border-color: #fff; background: #fff; color: var(--navy); }

/* Home hero */
.home-hero {
  position: relative;
  display: flex;
  min-height: 650px;
  height: min(820px, calc(100svh - 88px));
  overflow: hidden;
  align-items: center;
  background: var(--navy);
  color: #fff;
}
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(4,20,38,0.94) 0%, rgba(7,28,51,0.75) 43%, rgba(7,28,51,0.25) 73%, rgba(7,28,51,0.12) 100%); }
.hero-content { position: relative; z-index: 1; width: 100%; }
.home-hero .eyebrow { color: var(--gold-light); }
.hero-title {
  max-width: 850px;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(52px, 5.1vw, 74px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.27;
}
.hero-subtitle { max-width: 555px; margin-top: 25px; color: rgba(255,255,255,0.78); font-size: 16px; line-height: 2; }
.hero-foot {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: min(calc(100% - 128px), 1280px);
  margin-inline: auto;
  padding: 23px 0;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.74);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.hero-location { display: flex; gap: 10px; align-items: center; text-transform: uppercase; }
.hero-location::before { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-light); content: ""; }
.scroll-hint { display: inline-flex; gap: 12px; align-items: center; text-transform: uppercase; }
.scroll-hint::after { width: 32px; height: 1px; background: currentColor; content: ""; }

/* Introduction */
.intro-split { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr); gap: 10%; }
.intro-copy { max-width: 760px; }
.intro-copy > p:first-child { font-family: var(--serif); font-size: clamp(26px, 2.45vw, 36px); line-height: 1.68; letter-spacing: 0.045em; }
.intro-copy > p + p { max-width: 605px; margin-top: 31px; color: var(--muted); }
.intro-aside { padding-top: 15px; }
.year-lockup { padding: 0 0 32px; border-bottom: 1px solid var(--line); }
.year-lockup strong { display: block; color: var(--navy); font-family: var(--serif); font-size: clamp(62px, 6vw, 84px); font-weight: 500; letter-spacing: -0.04em; line-height: 0.9; }
.year-lockup span { display: block; margin-top: 13px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.company-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 29px; }
.company-mini { color: var(--muted); font-size: 13px; line-height: 1.65; }
.company-mini strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 14px; }

/* Metrics */
.metrics-band { background: var(--warm); }
.metrics-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric-card { min-width: 0; padding: 10px 30px 10px 31px; border-left: 1px solid #c7c2b9; }
.metric-card:first-child { padding-left: 0; border-left: 0; }
.metric-value { display: flex; align-items: baseline; color: var(--navy); }
.metric-value strong { font-family: var(--serif); font-size: clamp(37px, 3.2vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.metric-value span { margin-left: 5px; color: var(--gold); font-size: 17px; font-weight: 700; }
.metric-label { display: block; margin-top: 15px; color: var(--ink); font-size: 13px; font-weight: 700; }
.metric-note { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.data-note { display: block; margin-top: 34px; color: #8b8b85; font-size: 10px; letter-spacing: 0.02em; }

/* Business sectors */
.business-section { padding-bottom: 175px; }
.sector-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.sector-card { display: block; border-top: 1px solid var(--ink); color: var(--ink); }
.sector-card:nth-child(even) { transform: translateY(48px); }
.sector-image-wrap { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--warm-deep); }
.sector-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.sector-card:hover .sector-image-wrap img { transform: scale(1.035); }
.image-caption { position: absolute; right: 0; bottom: 0; padding: 7px 10px; background: rgba(7,28,51,0.8); color: rgba(255,255,255,0.87); font-size: 9px; letter-spacing: 0.09em; }
.sector-card-body { padding: 23px 0 7px; }
.sector-number { color: var(--gold); font-family: var(--serif); font-size: 13px; letter-spacing: 0.1em; }
.sector-card-title { margin-top: 12px; font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.35; letter-spacing: 0.05em; }
.sector-card-en { display: block; margin-top: 5px; color: #83909a; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.sector-card-desc { max-width: 480px; margin-top: 17px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.sector-card-link { margin-top: 21px; color: var(--navy); }

/* Technology strip */
.technology-strip { background: var(--navy); color: #fff; }
.technology-inner { display: grid; grid-template-columns: 0.87fr 1.13fr; gap: 9%; align-items: center; }
.technology-copy .section-label { color: var(--gold-light); }
.technology-copy .section-title { max-width: 420px; }
.technology-copy > p { max-width: 430px; margin-top: 22px; color: rgba(255,255,255,0.69); font-size: 15px; }
.technology-visual { position: relative; }
.technology-visual::before { position: absolute; z-index: 0; top: -22px; right: -22px; width: 62%; height: 62%; border: 1px solid rgba(201,173,103,0.45); content: ""; }
.technology-visual img { position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.technology-tags { display: flex; position: relative; z-index: 2; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.technology-tags span { padding: 5px 10px; border: 1px solid rgba(255,255,255,0.32); color: rgba(255,255,255,0.85); font-size: 10px; letter-spacing: 0.06em; }

/* Culture */
.culture-callout { background: #f7f5f1; }
.culture-quote { max-width: 1030px; color: var(--navy); font-size: clamp(30px, 3.2vw, 48px); line-height: 1.6; }
.culture-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 73px; border-top: 1px solid var(--line); }
.culture-value { min-height: 150px; padding: 26px 32px 0; border-left: 1px solid var(--line); }
.culture-value:first-child { padding-left: 0; border-left: 0; }
.culture-value strong { display: block; color: var(--gold); font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: 0.08em; }
.culture-value p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #fff; }
.footer-top { display: flex; padding: 74px 0 64px; justify-content: space-between; gap: 64px; }
.footer-brand { max-width: 340px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-en { color: rgba(255,255,255,0.52); }
.footer-brand > p { margin-top: 24px; color: rgba(255,255,255,0.58); font-size: 13px; line-height: 1.9; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(115px, 1fr)); gap: 14px 54px; align-content: start; }
.footer-links a { color: rgba(255,255,255,0.74); font-size: 13px; transition: color 180ms ease; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; padding: 20px 0 25px; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,0.45); font-size: 11px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.back-top { color: rgba(255,255,255,0.78); }
.back-top::after { content: "↑"; font-size: 15px; }
.back-top:hover { color: var(--gold-light); }

/* Generic page and detail headers */
.page-hero { background: var(--navy); color: #fff; }
.page-hero-inner { min-height: 352px; padding: 92px 0 67px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: rgba(255,255,255,0.58); font-size: 11px; letter-spacing: 0.06em; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span + span::before { margin-right: 10px; color: var(--gold); content: "/"; }
.page-hero-title { margin-top: 38px; font-size: clamp(42px, 4vw, 54px); line-height: 1.25; }
.page-hero-description { max-width: 620px; margin-top: 19px; color: rgba(255,255,255,0.69); font-size: 15px; line-height: 1.9; }
.detail-hero { overflow: hidden; background: var(--navy); color: #fff; }
.detail-hero-grid { display: grid; grid-template-columns: minmax(0, 0.91fr) minmax(370px, 1.09fr); min-height: 520px; align-items: center; }
.detail-hero-copy { padding: 76px 64px 76px 0; }
.detail-top-meta { color: var(--gold-light); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.detail-hero-title { margin-top: 21px; font-size: clamp(40px, 3.8vw, 56px); line-height: 1.3; }
.detail-hero-copy > p:last-child { max-width: 480px; margin-top: 18px; color: rgba(255,255,255,0.7); font-size: 15px; }
.detail-hero-image { align-self: stretch; min-height: 410px; }
.detail-hero-image img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Detail content */
.detail-body { padding: 104px 0 136px; }
.detail-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(54px, 8vw, 128px); }
.detail-sidebar { height: fit-content; position: sticky; top: 116px; border-top: 1px solid var(--ink); }
.detail-sidebar a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; transition: color 180ms ease, padding-left 180ms ease; }
.detail-sidebar a:hover, .detail-sidebar a.active { padding-left: 8px; color: var(--navy); }
.detail-main { min-width: 0; }
.content-section { padding: 0 0 77px; }
.content-section + .content-section { padding-top: 75px; border-top: 1px solid var(--line); }
.content-section h2 { margin-bottom: 24px; font-family: var(--serif); font-size: clamp(27px, 2.2vw, 34px); font-weight: 600; letter-spacing: 0.05em; line-height: 1.45; }
.content-section > p { max-width: 820px; color: #53616d; font-size: 15px; line-height: 2; }
.content-section > p + p { margin-top: 17px; }
.capability-list { margin-top: 36px; border-top: 1px solid var(--line); }
.capability-item { display: grid; grid-template-columns: 84px minmax(150px, 0.55fr) minmax(240px, 1.1fr); gap: 25px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.capability-index { color: var(--gold); font-family: var(--serif); font-size: 16px; }
.capability-content h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: 0.04em; }
.capability-content p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.detail-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-top: 40px; padding: 29px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-metrics .metric-card { padding-block: 0; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 38px; }
.case-card { min-height: 242px; padding: 26px 26px 24px; border: 1px solid var(--line); transition: border-color 200ms ease, background 200ms ease; }
.case-card:hover { border-color: var(--navy); background: #fafafa; }
.case-type { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.case-title { margin-top: 13px; font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: 0.04em; }
.case-text { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.case-metric { margin-top: 20px; color: var(--navy); font-family: var(--serif); font-size: 24px; }
.case-note { display: block; margin-top: 2px; color: #84909a; font-size: 10px; }
.brand-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.brand-list span, .brand-list a { padding: 7px 12px; border: 1px solid var(--line); color: #4c5964; font-size: 12px; line-height: 1.3; }
.tech-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 35px; background: var(--line); border: 1px solid var(--line); }
.tech-product { min-height: 164px; padding: 23px; background: #fff; }
.tech-product strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 20px; font-weight: 600; }
.tech-product p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.source-note { max-width: 850px; margin-top: 38px; padding: 16px 18px; border-left: 2px solid var(--gold); background: var(--warm); color: #677078; font-size: 12px; line-height: 1.8; }
.related-sectors { margin-top: 20px; border-top: 1px solid var(--line); }
.related-link { display: flex; padding: 17px 0; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 14px; letter-spacing: 0.02em; text-transform: none; }

/* Company / culture detail */
.company-feature { position: relative; padding: 10px 0 70px; }
.company-feature-title { max-width: 800px; font-family: var(--serif); font-size: clamp(29px, 3.2vw, 44px); font-weight: 600; line-height: 1.5; letter-spacing: 0.045em; }
.company-feature-lead { max-width: 710px; margin-top: 26px; color: var(--ink); font-size: 17px; line-height: 2; }
.company-feature-body { max-width: 700px; margin-top: 20px; color: var(--muted); font-size: 15px; }
.company-index { position: absolute; top: -8px; right: 0; color: rgba(179,149,90,0.2); font-family: var(--serif); font-size: clamp(84px, 14vw, 180px); font-weight: 500; letter-spacing: -0.06em; line-height: 1; pointer-events: none; }
.timeline { margin-top: 10px; }
.timeline-item { display: grid; grid-template-columns: 155px minmax(0, 1fr); padding: 27px 0 27px 28px; border-left: 1px solid var(--line); }
.timeline-item:first-child { padding-top: 0; }
.timeline-year { position: relative; color: var(--gold); font-family: var(--serif); font-size: 20px; }
.timeline-year::before { position: absolute; top: 12px; left: -34px; width: 11px; height: 11px; border: 2px solid var(--gold); border-radius: 50%; background: #fff; content: ""; }
.timeline-content h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: 0.04em; }
.timeline-content p { margin-top: 7px; color: var(--muted); font-size: 14px; }
.values-list { border-top: 1px solid var(--line); }
.value-row { display: grid; grid-template-columns: 105px minmax(0, 1fr); padding: 31px 0; border-bottom: 1px solid var(--line); }
.value-number { color: var(--gold); font-family: var(--serif); font-size: 17px; }
.value-body h2 { margin: 0; font-size: 27px; }
.value-body p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.disclosure-copy { max-width: 850px; }
.notice-list { margin-top: 28px; border-top: 1px solid var(--line); }
.notice-list p { padding: 17px 0; border-bottom: 1px solid var(--line); color: #53616d; font-size: 14px; }
.not-found { display: grid; min-height: 65svh; place-items: center; padding: 80px 0; background: var(--warm); text-align: center; }
.not-found > div { max-width: 600px; }
.not-found h1 { color: var(--navy); font-family: var(--serif); font-size: clamp(72px, 12vw, 150px); font-weight: 500; line-height: 1; }
.not-found h2 { margin-top: 20px; font-family: var(--serif); font-size: 32px; font-weight: 600; }
.not-found p { margin-top: 12px; color: var(--muted); }
.not-found .button { margin-top: 28px; }
.not-found .button-outline { border-color: var(--navy); color: var(--navy); }
.not-found .button-outline:hover { background: var(--navy); color: #fff; }

/* Motion is opt-in: all document content is visible before JavaScript runs. */
.motion-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .nav-link, .nav-business > a { padding-inline: 12px; }
  .nav-link::after, .nav-business > a::after { right: 12px; left: 12px; }
  .header-end { margin-left: 10px; }
  .detail-hero-grid { grid-template-columns: 1fr 1fr; }
  .detail-hero-copy { padding-right: 42px; }
}

@media (max-width: 980px) {
  .container { width: min(calc(100% - 64px), 1280px); }
  .header-inner { width: min(calc(100% - 64px), 1440px); }
  .desktop-nav { display: none; }
  .header-end { margin-left: auto; }
  .menu-toggle { display: inline-flex; position: relative; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav {
    display: block;
    position: absolute;
    top: 88px;
    right: 0;
    left: 0;
    max-height: calc(100svh - 88px);
    overflow-y: auto;
    padding: 11px 32px 30px;
    background: #fff;
    border-top: 1px solid rgba(16,32,51,0.09);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 14px 22px rgba(7,28,51,0.12);
  }
  .mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 15px; }
  body.menu-open { overflow: hidden; }
  .section { padding: 105px 0; }
  .section-head { align-items: start; flex-direction: column; gap: 20px; margin-bottom: 52px; }
  .section-head > div:first-child, .section-description { max-width: 680px; }
  .intro-split { gap: 56px; grid-template-columns: 1fr; }
  .intro-aside { max-width: 500px; }
  .metrics-inner { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .metric-card:nth-child(3) { padding-left: 0; border-left: 0; }
  .technology-inner { grid-template-columns: 1fr; gap: 54px; }
  .technology-visual { max-width: 760px; }
  .detail-hero-grid { grid-template-columns: 1fr; }
  .detail-hero-copy { padding: 74px 0 48px; }
  .detail-hero-image { min-height: 0; max-height: 450px; }
  .detail-hero-image img { aspect-ratio: 16 / 8; }
  .detail-layout { gap: 65px; grid-template-columns: 1fr; }
  .detail-sidebar { position: static; display: flex; overflow-x: auto; border-top: 1px solid var(--line); }
  .detail-sidebar a { flex: 0 0 auto; padding: 10px 16px; border-bottom: 0; border-right: 1px solid var(--line); }
  .detail-sidebar a:first-child { padding-left: 0; }
  .detail-sidebar a:hover, .detail-sidebar a.active { padding-left: 16px; }
  .detail-sidebar a:first-child:hover, .detail-sidebar a:first-child.active { padding-left: 0; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 48px); }
  .header-inner { width: calc(100% - 48px); }
  .site-header { height: 76px; }
  .brand { gap: 9px; }
  .brand-mark, .brand-mark img { width: 35px; height: 35px; }
  .brand-name { font-size: 25px; }
  .brand-en { margin-top: 4px; font-size: 7px; }
  .mobile-nav { top: 76px; padding-right: 24px; padding-left: 24px; }
  .section { padding: 78px 0; }
  .section-title { font-size: 31px; }
  .section-head { margin-bottom: 38px; }
  .home-hero { min-height: 620px; height: calc(100svh - 76px); }
  .hero-shade { background: linear-gradient(90deg, rgba(4,20,38,0.93) 0%, rgba(7,28,51,0.76) 75%, rgba(7,28,51,0.57) 100%); }
  .hero-title { margin-top: 21px; font-size: 40px; line-height: 1.42; }
  .hero-subtitle { margin-top: 18px; font-size: 14px; line-height: 1.85; }
  .hero-actions { margin-top: 30px; }
  .button { min-height: 48px; padding: 0 18px; font-size: 12px; }
  .hero-foot { width: calc(100% - 48px); padding: 17px 0; font-size: 9px; }
  .scroll-hint { display: none; }
  .intro-copy > p:first-child { font-size: 25px; line-height: 1.7; }
  .year-lockup strong { font-size: 66px; }
  .company-pair { gap: 15px; }
  .metrics-inner { row-gap: 24px; }
  .metric-card { padding-right: 15px; padding-left: 18px; }
  .metric-card:nth-child(3) { padding-left: 0; }
  .metric-value strong { font-size: 36px; }
  .data-note { margin-top: 27px; }
  .business-section { padding-bottom: 86px; }
  .sector-grid { grid-template-columns: 1fr; gap: 45px; }
  .sector-card:nth-child(even) { transform: none; }
  .sector-card-title { font-size: 25px; }
  .technology-visual::before { top: -12px; right: -12px; }
  .culture-quote { font-size: 29px; line-height: 1.65; }
  .culture-values { grid-template-columns: 1fr; gap: 0; margin-top: 45px; }
  .culture-value, .culture-value:first-child { min-height: 0; padding: 23px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .footer-top { flex-direction: column; padding: 55px 0 42px; gap: 38px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 13px 30px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding: 18px 0 22px; gap: 12px; }
  .page-hero-inner { min-height: 310px; padding: 67px 0 52px; }
  .page-hero-title { margin-top: 29px; font-size: 38px; }
  .page-hero-description { margin-top: 15px; font-size: 14px; }
  .detail-hero-copy { padding: 57px 0 36px; }
  .detail-hero-title { font-size: 37px; }
  .detail-hero-copy > p:last-child { font-size: 14px; }
  .detail-hero-image img { aspect-ratio: 16 / 10; }
  .detail-body { padding: 67px 0 82px; }
  .detail-layout { gap: 44px; }
  .content-section { padding-bottom: 58px; }
  .content-section + .content-section { padding-top: 57px; }
  .content-section h2 { margin-bottom: 18px; font-size: 26px; }
  .content-section > p { font-size: 14px; }
  .capability-item { grid-template-columns: 47px 1fr; gap: 7px 12px; }
  .capability-content { grid-column: 2; }
  .capability-content h3 { font-size: 19px; }
  .detail-metrics { grid-template-columns: 1fr; gap: 24px; }
  .detail-metrics .metric-card, .detail-metrics .metric-card:first-child { padding-left: 0; border-left: 0; }
  .case-grid, .tech-products { grid-template-columns: 1fr; }
  .case-card { min-height: 0; padding: 23px; }
  .company-feature { padding-bottom: 44px; }
  .company-feature-title { font-size: 28px; }
  .company-feature-lead { font-size: 15px; }
  .company-index { top: 0; font-size: 95px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; padding-left: 24px; }
  .timeline-year::before { left: -30px; }
  .value-row { grid-template-columns: 1fr; gap: 8px; }
  .value-body h2 { font-size: 24px; }
}

/* Exact server-template bindings. Keep the document flow readable on all routes. */
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-content { width: min(calc(100% - 128px), 1280px); padding-bottom: 70px; }
.hero-title-dot { color: var(--gold-light); }
.hero-location { align-items: flex-start; flex-direction: column; gap: 5px; }
.hero-location::before { display: none; }
.hero-location small { font-size: 9px; opacity: .7; letter-spacing: .04em; }
.header-since { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.nav-business > a span::after { content: none; }
.text-link::after, .sector-card-link::after, .related-link::after, .back-top::after { content: none; }
.intro-copy > p.section-label:first-child { font: 700 11px/1.2 var(--sans); letter-spacing: .18em; }
.intro-copy .section-description { margin-top: 26px; max-width: 630px; }
.intro-copy .text-link { margin-top: 28px; }
.intro-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 12%; }
.company-pair { grid-template-columns: 1fr; gap: 25px; }
.company-mini > span { color: var(--gold); font-size: 9px; letter-spacing: .1em; }
.company-mini h3 { margin: 5px 0; color: var(--ink); font-size: 17px; font-weight: 600; }
.metrics-band { padding: 58px 0; }
.sector-card-body { display: grid; grid-template-columns: 30px 1fr 25px; gap: 15px; align-items: start; }
.sector-card-title { margin-top: 0; }
.sector-card-link { margin-top: 3px; font-size: 22px; }
.technology-strip { padding: 112px 0; }
.technology-copy > p.section-label { font-size: 11px; margin-top: 0; color: var(--gold-light); }
.technology-strip .section-description { color: rgba(255,255,255,.7); }
.technology-strip .text-link { margin-top: 32px; color: var(--gold-light); }
.culture-quote > span { display: block; margin-top: 20px; font-family: var(--sans); color: var(--muted); font-size: 15px; letter-spacing: .04em; }
.culture-value > span { display: block; margin-bottom: 14px; font-size: 10px; color: var(--muted); letter-spacing: .16em; }
.culture-inner > .text-link { margin-top: 32px; }
.footer-links { grid-template-columns: 1fr 1fr; }
.footer-links > div { display: flex; flex-direction: column; gap: 12px; }
.footer-links > div > span { margin-bottom: 12px; color: var(--gold-light); font-size: 12px; }
.footer-brand-line { margin-top: 25px; color: rgba(255,255,255,.65); font-size: 14px; }
.footer-domain { margin-top: 10px; color: rgba(255,255,255,.45); font-size: 11px; letter-spacing: .1em; }
.back-top { align-self: start; font-size: 25px; padding: 12px 18px; border: 1px solid var(--line-dark); }
.breadcrumb { padding-top: 28px; }
.breadcrumb span + span::before { content: none; }
.page-hero .eyebrow { margin-top: 30px; }
.page-hero-inner { padding-top: 40px; }
.detail-hero-image { position: relative; }
.detail-hero-copy .page-hero-title { font-size: clamp(36px, 3.3vw, 50px); }
.detail-hero-copy > .detail-top-meta:last-child { margin-top: 28px; color: var(--gold-light); font-size: 11px; }
.capability-item { grid-template-columns: 52px minmax(0, 1fr); }
.capability-content p { margin-top: 14px; }
.detail-sidebar .section-label { margin-top: 20px; font-size: 10px; }
.detail-sidebar a > span { margin-right: 10px; color: var(--gold); }
.case-title { overflow-wrap: anywhere; }
.source-note p { margin-top: 8px; }
.source-note a { display: inline-block; margin-top: 12px; color: var(--navy); }
.related-link { gap: 24px; }
.related-link > strong { margin-right: auto; }
.related-link > span:first-child { color: var(--gold); }
.related-link > span:nth-last-child(2) { color: var(--muted); font-size: 12px; }
.company-feature { display: grid; grid-template-columns: 180px 1fr; gap: 50px; padding: 15px 0 80px; }
.company-feature + .company-feature { padding-top: 80px; border-top: 1px solid var(--line); }
.company-index { position: static; color: var(--gold); font-size: 88px; }
.company-index > span { display: block; margin-top: 20px; font-family: var(--sans); font-size: 10px; line-height: 1.5; letter-spacing: .12em; }
.company-feature-lead { color: var(--gold); margin-top: 18px; }
.company-feature-body { max-width: 800px; }
.timeline-content small { margin-left: 10px; color: var(--gold); font: 12px var(--sans); }
.value-body h2 { font-family: var(--serif); }
.value-body > p.section-label { margin-top: 0; color: var(--gold); font-size: 10px; }
.not-found h1 { font-size: clamp(30px, 4vw, 60px); line-height: 1.5; }
@media (max-width: 980px) {
  .hero-content { width: calc(100% - 64px); }
  .intro-split { grid-template-columns: 1fr; gap: 50px; }
  .company-pair { grid-template-columns: 1fr 1fr; }
  .detail-sidebar .section-label { display: none; }
  .company-feature { grid-template-columns: 120px 1fr; gap: 25px; }
}
@media (max-width: 680px) {
  .hero-content { width: calc(100% - 48px); }
  .home-hero .eyebrow { font-size: 8px; letter-spacing: .12em; }
  .home-hero .eyebrow::before { width: 20px; }
  .header-since { display: none; }
  .technology-strip { padding: 78px 0; }
  .company-pair { grid-template-columns: 1fr; }
  .metrics-band { padding: 40px 0; }
  .sector-card-body { grid-template-columns: 22px 1fr 20px; gap: 10px; }
  .sector-card-title { font-size: 22px; }
  .sector-card-en { font-size: 8px; }
  .detail-hero-copy .page-hero-title { font-size: 34px; }
  .related-link > span:nth-last-child(2) { display: none; }
  .related-link > strong { font-size: 14px; }
  .company-feature { grid-template-columns: 1fr; gap: 24px; }
  .company-index { font-size: 65px; }
  .company-index > span { margin-top: 10px; }
  .footer-links { gap: 25px; }
  .capability-item { grid-template-columns: 30px 1fr; }
}

/* User-supplied identity and project renderings; preserve complete artwork. */
.brand-official { position: relative; display: block; width: 300px; height: 64px; }
.brand-logo { position: absolute; top: 50%; left: 0; width: 300px; height: auto; max-width: none; transform: translateY(-50%); object-fit: contain; }
.footer-brand.brand-official { width: 310px; height: 88px; background: #f6f8fb; }
.footer-brand .brand-logo { left: 15px; width: 280px; }
.sector-image-wrap.project-image { aspect-ratio: 4 / 3; }
.project-image img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: contain; }
.sector-image-wrap.project-image img { height: 100%; }
.sector-card:hover .project-image img { transform: none; }
.detail-hero-image.project-image { align-self: center; min-height: 0; max-height: none; aspect-ratio: 4 / 3; }
.project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px; }
.project-figure { margin: 0; }
.project-figure > a { position: relative; display: block; background: var(--warm); }
.project-figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.project-view-hint { position: absolute; bottom: 0; right: 0; padding: 8px 12px; background: rgba(7,28,51,.8); color: #fff; font-size: 11px; }
.project-figure figcaption { padding-top: 12px; color: var(--muted); font-size: 11px; }
.project-figure h3 { margin-top: 16px; color: var(--navy); font: 600 27px/1.5 var(--serif); }
.project-figure > p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.case-card-with-image { padding: 0 0 25px; }
.case-card-with-image .project-figure figcaption { padding: 12px 24px; }
.case-card-with-image > p, .case-card-with-image > h3 { margin-left: 24px; margin-right: 24px; }
.case-card-with-image .case-type { margin-top: 10px; }
.logo-showcase { background: #f4f7fb; }
.logo-showcase-inner { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 60px; }
.logo-showcase img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
@media (max-width: 680px) {
  .brand-official { width: 212px; height: 60px; }
  .brand-logo { width: 212px; }
  .footer-brand.brand-official { width: 270px; height: 84px; }
  .footer-brand .brand-logo { width: 242px; left: 14px; }
  .project-gallery { grid-template-columns: 1fr; gap: 42px; }
  .project-figure h3 { font-size: 23px; }
  .project-view-hint { font-size: 10px; }
  .logo-showcase-inner { grid-template-columns: 1fr; gap: 30px; }
}

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