:root {
  color-scheme: light;
  --masthead-height: 76px;
  scroll-padding-top: calc(var(--masthead-height) + 15px);
  --night: #0b1726;
  --navy: #102335;
  --ink: #14253a;
  --muted: #4f6070;
  --paper: #fff;
  --champagne: #f5ead8;
  --section-space: clamp(48px, 6vw, 82px);
  --line: #dbe0e5;
  --gold: #dfbf88;
  --bronze: #775525;
  --display: "Songti SC", "Noto Serif CJK SC", SimSun, serif;
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
summary { cursor: pointer; min-height: 44px; padding-block: 10px; color: var(--bronze); font-size: 14px; }
.shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 3; top: 12px; left: 12px; transform: translateY(-200%); background: #fff; padding: 8px 16px; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 2; background: var(--night); color: #fff; border-bottom: 1px solid #344152; }
.masthead, .masthead nav, .wordmark { display: flex; align-items: center; }
.masthead { min-height: var(--masthead-height); justify-content: space-between; gap: 20px; }
.wordmark { gap: 11px; font-size: 18px; font-weight: 700; white-space: nowrap; }
.wordmark small { display: block; color: #b9c5d3; font: 10px/1.6 ui-monospace, monospace; letter-spacing: .085em; }
.mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #aa8c5c; color: var(--gold); font-family: var(--display); font-size: 23px; }
.masthead nav { gap: 32px; font-size: 14px; white-space: nowrap; }
.nav-link { padding-block: 10px; }
.nav-link:hover, .hero-login:hover, .footer-inner a:hover { text-decoration: underline; text-underline-offset: 5px; }
.entry-link { color: var(--gold); border: 1px solid #8a7555; padding: 8px 16px; }
.entry-link:hover { color: var(--night); background: var(--gold); }
.entry-link span, .hero-login span { margin-inline-start: 5px; }

.hero { position: relative; isolation: isolate; color: #fff; background: var(--night); }
.hero-visual { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 68% 53%; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b1726 0%, #0b1726e8 27%, #0b17267a 55%, #0b17260d 82%), linear-gradient(0deg, #0b172688, transparent 35%); }
.hero-inner { min-height: clamp(490px, 43vw, 640px); display: flex; align-items: center; padding-block: 65px 72px; }
.hero-copy { max-width: 600px; }
h1 { font-family: var(--display); font-size: clamp(42px, 4.8vw, 68px); font-weight: 700; letter-spacing: .045em; line-height: 1.16; }
.hero-text { color: #e1e7ee; max-width: 450px; margin-top: 24px; font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; width: fit-content; min-height: 46px; padding: 10px 16px; color: var(--night); background: var(--gold); font-size: 14px; font-weight: 700; }
.button:hover { background: #f0d8ae; }
.hero-login { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-size: 14px; }

.company-overview, .business, .culture, .team { padding-block: var(--section-space); }
.company-overview, .culture {
  --paper: #fffaf2;
  --line: #d9c9b1;
  background: var(--champagne);
}
.business, .team {
  --ink: #f8f4ec;
  --muted: #d2dde8;
  --bronze: var(--gold);
  --line: #60768c;
  --paper: #29425b;
  background: #304b65;
  color: var(--ink);
}
.section-label { display: flex; align-items: center; gap: 10px; color: var(--bronze); font-size: 13px; font-weight: 650; letter-spacing: .12em; }
.section-label span { width: 18px; height: 1px; background: currentColor; opacity: .65; }
h2 { font-family: var(--display); font-size: clamp(29px, 3.2vw, 46px); line-height: 1.25; letter-spacing: .025em; }
.company-overview h2, .business h2, .culture h2, .team h2 { margin-top: 10px; }
.index { color: var(--bronze); font: 10px ui-monospace, monospace; letter-spacing: .055em; }
.business-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; list-style: none; padding: 0; margin: 32px 0 0; border: 1px solid var(--line); background: var(--line); }
.business-index a { min-height: 192px; height: 100%; display: flex; flex-direction: column; padding: 24px; background: var(--paper); }
.business-index a:hover { background: #fff; }
.tile-meta { display: flex; margin-bottom: 14px; }
.tile-meta svg { width: 26px; height: 26px; color: var(--navy); }
.business-index h3 { margin-block: 2px 5px; font-size: clamp(16px, 1.42vw, 21px); line-height: 1.35; }
.business-index p { margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.jump { display: flex; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; color: var(--navy); font-size: 13px; font-weight: 650; }

.business-details { margin-top: 32px; border-top: 1px solid var(--line); }
.business-details article { display: grid; grid-template-columns: minmax(260px, .77fr) 1.23fr; gap: clamp(22px, 5vw, 75px); border-bottom: 1px solid var(--line); padding: 30px 0; }
.business-details article:target h3 { color: var(--bronze); }
.business-number { display: inline-block; color: var(--bronze); font: 15px/1.6 ui-monospace, monospace; }
.business-details h3 { margin-block: 8px; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; }
.business-details header p { font-weight: 400; font-size: 14px; color: var(--muted); }
.business-copy p, .product-list { color: var(--muted); }
.business-copy p + p { margin-top: 8px; }
.service-detail { margin-top: 10px; }
.detail-content { padding: 4px 0 8px; font-size: 15px; line-height: 1.9; }
.detail-content .product-list { margin-top: 0; }
.service-list, .product-list { list-style: none; padding: 0; margin: 12px 0 0; }
.service-list { display: flex; flex-wrap: wrap; gap: 7px; }
.service-list li { color: var(--ink); background: #3b5873; padding: 3px 9px; font-size: 13px; }
.product-list { display: grid; gap: 6px; font-size: 14px; }
.product-list li { display: grid; grid-template-columns: 4.4em 1fr; }
.product-list strong { color: var(--ink); }

.exhibit { padding: 9px; border: 1px solid var(--line); background: var(--paper); }
.exhibit img, .culture-exhibit img { display: block; width: 100%; height: auto; }
.exhibit figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 5px 0; color: var(--muted); font-size: 13px; }
.exhibit figcaption a { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }
.profile-exhibit .exhibit { max-width: 640px; }
.profile-exhibit .exhibit img { margin-top: 0; border: none; }
.culture-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 32px 0 0; padding: 0; list-style: none; gap: 32px; }
.culture-grid li { border-top: 1px solid var(--line); padding-top: 20px; }
.culture-grid h3 { font-size: 18px; margin-block: 4px 7px; }
.culture-grid p { color: var(--muted); font-size: 15px; }
.culture-more { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 8px; }
.culture-more-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: 12px; }
.culture-more h3 { font-size: 18px; margin-bottom: 8px; }
.culture-more p { color: var(--muted); font-size: 15px; }
.team-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 32px 0 0; }
.team-values li { display: flex; align-items: center; gap: 18px; border-top: 1px solid var(--line); padding-block: 24px; }
.team-values .index { font-size: 13px; }
.team-values h3 { font-size: clamp(24px, 2.5vw, 32px); font-weight: 500; letter-spacing: .1em; white-space: nowrap; }
.culture-exhibit { margin-top: 17px; }
.culture-exhibit summary { width: fit-content; color: var(--bronze); cursor: pointer; padding-block: 8px; }
.culture-exhibit img { margin-top: 8px; border: 1px solid var(--line); }
.team .exhibit { margin-top: 8px; }
.staff { background: var(--champagne); }
.staff-inner { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-block: 24px; }
.staff h2 { font-family: inherit; font-size: 18px; }
.staff p { color: var(--muted); margin-top: 4px; font-size: 14px; }
.staff .button { color: #fff; background: var(--navy); }
.staff .button:hover { background: #28445e; }
footer { background: var(--night); }
.footer-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #d6dee8; font-size: 13px; }

@media (max-width: 1024px) {
  .business-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { min-height: 475px; }
}
@media (max-width: 780px) {
  :root { --masthead-height: 65px; }
  .shell { width: min(100% - 40px, 620px); }
  .masthead { gap: 10px; }
  .masthead nav { gap: 10px; }
  .nav-link { display: none; }
  .hero-visual { inset: 0; }
  .hero-visual img { object-position: 62% 52%; }
  .hero-visual::after { background: linear-gradient(90deg, #0a1725ef 0%, #0a1725c9 55%, #0a172573 100%), linear-gradient(0deg, #0a1725b0, transparent 60%); }
  .hero-inner { min-height: 430px; padding-block: 54px 58px; }
  h1 { font-size: clamp(38px, 8.8vw, 58px); }
  h2 { font-size: clamp(26px, 6.8vw, 34px); line-height: 1.4; }
  .business-index { grid-template-columns: 1fr; margin-top: 24px; }
  .business-index a { display: grid; grid-template-columns: 26px minmax(0, 1fr) 16px; column-gap: 14px; row-gap: 5px; min-height: 106px; padding: 18px 16px; align-content: center; }
  .tile-meta { grid-column: 1; grid-row: 1 / 3; align-self: center; margin: 0; }
  .business-index h3 { grid-column: 2; font-size: 17px; margin: 0; }
  .business-index p { grid-column: 2; grid-row: 2; margin: 0; line-height: 1.65; }
  .jump { grid-column: 3; grid-row: 1 / 3; align-self: center; font-size: 0; padding: 0; margin: 0; }
  .jump span { font-size: 16px; }
  .tile-meta svg { width: 22px; height: 22px; }
  .business-details article { grid-template-columns: 1fr; gap: 11px; padding-block: 22px; }
  .culture-grid, .culture-more-content, .team-values { grid-template-columns: 1fr; gap: 20px; }
  .culture-grid { margin-top: 24px; }
  .culture-grid li { padding-top: 16px; }
  .culture-grid .index { float: right; margin-top: 8px; }
  .culture-grid h3 { margin-top: 0; }
  .team-values { gap: 0; margin-top: 24px; }
  .team-values li { padding-block: 18px; }
  .business-copy { font-size: 15px; line-height: 1.8; }
  .staff-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 30px); }
  .wordmark { gap: 7px; font-size: 15px; }
  .wordmark small { font-size: 8px; letter-spacing: 0; }
  .mark { width: 31px; height: 31px; }
  .entry-link { padding-inline: 8px; }
}
