:root {
  --red: #c72f24;
  --red-strong: #ff604d;
  --ink: #182030;
  --muted: #525e70;
  --night: #10141d;
  --night-raised: #171f2b;
  --night-copy: #c7cfdb;
  --edge: #dbe2ec;
  --paper: #f2f5f9;
  --white: #fff;
  --max: 1248px;
  --header: 72px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; color: var(--ink); background: white; font: 1rem/1.7 var(--font); }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid #f05b44; outline-offset: 4px; }
.shell { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: clamp(64px, 7.5vw, 108px); }
.eyebrow, .meta, .node-code { color: #aa281f; font: 750 .78rem/1.55 var(--font); letter-spacing: .12em; }
.eyebrow { margin-bottom: 14px; }
.on-dark { color: #ff9f91; }
.actions, .service-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 22px; border: 1px solid transparent; border-radius: 4px; font-size: .94rem; font-weight: 700; transition: background-color .2s, border-color .2s; }
.primary { color: white; background: var(--red); }
.primary:hover { background: #a7271e; }
.outline { color: white; border-color: #758194; background: #18202acc; }
.outline:hover { border-color: white; background: #273447; }
.pale { border-color: #ccd5e2; background: #f3f6fa; }
.pale:hover { border-color: var(--red); }
.inline-link { color: #a62c22; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.skip-link { position: fixed; z-index: 30; top: 8px; left: 12px; transform: translateY(-160%); padding: 6px 14px; background: var(--red); color: white; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid #e3e8ef; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; min-height: 42px; }
.brand img { width: 133px; height: auto; }
.brand span { border-left: 1px solid #d9dfe8; padding-left: 13px; color: #344053; font-size: .92rem; font-weight: 700; }
.nav { display: flex; align-items: center; gap: clamp(17px, 2.4vw, 35px); font-size: .94rem; font-weight: 650; }
.nav a:hover { color: var(--red); }
.nav-service { border-left: 1px solid var(--edge); padding-left: clamp(12px, 2.3vw, 34px); }
.nav-toggle { display: none; min-height: 42px; padding: 4px 13px; border: 1px solid var(--edge); background: white; border-radius: 4px; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: white; background: #11141b; }
.hero-visual { position: absolute; z-index: -2; inset: 0 0 58px 38%; background: radial-gradient(ellipse at 65% 48%, #253347, #11141b 72%); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#11141b 0%,#11141b00 28%), linear-gradient(0deg,#11141b 2%,#11141b00 24%); }
.hero-art { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 53% 51%; }
.hero-inner { min-height: clamp(490px, 43vw, 668px); display: flex; align-items: center; position: relative; }
.hero-copy { width: min(630px, 56%); padding: 62px 0 84px; }
.hero-copy .eyebrow { letter-spacing: .17em; }
.hero h1 { font-size: clamp(3rem, 5.75vw, 5.65rem); line-height: 1.12; letter-spacing: -.055em; font-weight: 850; }
.hero h1 em { color: #ff7162; font-style: normal; }
.hero-copy > p { max-width: 475px; margin: 24px 0 30px; color: var(--night-copy); font-size: 1.0625rem; }
.hero-caption { position: absolute; right: 0; bottom: 16px; color: #a7b1c1; font-size: .78rem; }
.hero-index { border-top: 1px solid #ffffff25; background: #111821; }
.hero-index-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-index a { display: flex; min-height: 76px; flex-direction: column; justify-content: center; padding: 12px 21px; border-left: 1px solid #ffffff21; font-size: 1.03rem; font-weight: 650; }
.hero-index a:first-child { border-left: 0; padding-left: 0; }
.hero-index a span { margin-bottom: 2px; color: #ff9f91; font-size: .73rem; font-weight: 730; letter-spacing: .13em; }
.hero-index a:hover { color: #ff9f91; }

.section-head { display: grid; grid-template-columns: 1.24fr .76fr; align-items: end; gap: 38px; margin-bottom: 38px; }
.section-head > p { max-width: 33rem; color: var(--muted); }
h2 { font-size: clamp(2.1rem, 3.95vw, 3.6rem); font-weight: 820; line-height: 1.2; letter-spacing: -.045em; }
h3 { font-size: clamp(1.14rem, 1.85vw, 1.65rem); line-height: 1.35; letter-spacing: -.02em; }

.chain { background: var(--paper); }
.chain-map { padding: clamp(17px, 2.6vw, 36px); border: 1px solid #cad4e2; border-radius: 7px; background-color: #fff; background-image: radial-gradient(#d6dfeb88 1px, transparent 1px); background-size: 16px 16px; }
.map-label { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .86rem; }
.map-label span:first-child { color: var(--ink); font-weight: 720; }
.map-label span:last-child { display: none; }
.chain-map:has(.chain-controls:not([hidden])) .map-label span:last-child { display: inline; }
.chain-controls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 23px; }
.chain-controls button { position: relative; padding: 12px 16px; text-align: left; border: 1px solid #c5d0df; border-radius: 4px; background: #fafcff; }
.chain-controls button:hover { border-color: var(--red); }
.chain-controls button[aria-pressed="true"] { border-color: var(--red); box-shadow: inset 0 3px 0 var(--red); background: #fff3f1; }
.chain-controls button:not(:last-child)::after { content: ""; position: absolute; top: 50%; width: 14px; left: calc(100% + 1px); border-top: 1px solid #8596ae; }
.chain-controls strong { display: block; font-size: 1.17rem; margin: 5px 0 0; }
.chain-controls small { color: var(--muted); font-size: .84rem; }
.chain-panel { display: grid; grid-template-columns: .81fr 1.19fr; gap: 25px; min-height: 155px; padding: 24px 24px 20px; border: 1px solid #d6dfec; border-radius: 4px; background: white; }
.chain-panel + .chain-panel { margin-top: 13px; }
.chain-controls:not([hidden]) + .panels .chain-panel { margin-top: 0; }
.chain-panel h3, .digital-panels h3 { margin: 6px 0 9px; }
.chain-panel p:not(.meta) { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin-top: 13px; list-style: none; }
.tags li { padding: 2px 9px; border-radius: 3px; border: 1px solid #d1dbe8; background: #f4f7fb; color: #3b485c; font-size: .82rem; }
.record-bar { display: flex; flex-wrap: wrap; gap: 7px 21px; margin-top: 16px; padding: 11px 0; border-bottom: 1px solid #ccd7e5; color: #445168; font-size: .86rem; }
.record-bar span:first-child { color: var(--ink); font-weight: 750; }

.research { background: white; }
.research-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.1vw, 29px); }
.research-steps li { padding: 18px 0 12px; border-top: 1px solid #aebcd1; }
.stage-num { display: inline-flex; align-items: center; justify-content: center; min-width: 43px; height: 33px; border-radius: 3px; margin-bottom: 13px; background: #fae8e5; color: #ab281e; font-size: .83rem; font-weight: 750; letter-spacing: .1em; }
.research-steps h3 { margin-bottom: 7px; }
.research-steps p, .rd-case p:not(.eyebrow) { color: var(--muted); }
.rd-case { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 210px; align-items: stretch; margin-top: 27px; border-radius: 6px; border: 1px solid var(--edge); background: #f6f8fb; overflow: hidden; }
.rd-case img { aspect-ratio: 2.15; width: 100%; height: 100%; max-height: 290px; object-fit: cover; object-position: 50% 43%; }
.rd-case > div { align-self: center; padding: 24px clamp(22px, 3vw, 46px); }
.rd-case .eyebrow { margin-bottom: 7px; }
.rd-case h3 { margin-bottom: 11px; }

.quality { background: var(--paper); border-top: 1px solid var(--edge); }
.quality-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quality-layout > div { padding: clamp(19px, 2.5vw, 33px); border: 1px solid var(--edge); background: white; border-radius: 6px; }
.quality-layout h3 { margin-bottom: 16px; }
.quality-standards dl > div { display: grid; grid-template-columns: 5.8rem 1fr; gap: 10px; padding-block: 12px; border-top: 1px solid var(--edge); }
.quality-standards dt { font-weight: 750; }
.quality-standards dd, .quality-checks p { color: var(--muted); }
.quality-checks > div { padding: 11px 0; border-top: 1px solid var(--edge); }
.quality-checks strong { display: block; color: #a42e24; margin-bottom: 3px; }

.digital { color: white; background: var(--night); background-image: radial-gradient(ellipse at 85% 15%, #253247, #10141d 66%); }
.digital .section-head > p { color: var(--night-copy); }
.digital-map { display: grid; grid-template-columns: minmax(200px,.34fr) 1fr; gap: 17px; }
.digital-controls { display: grid; gap: 8px; align-content: start; }
.digital-controls button { text-align: left; min-height: 52px; padding: 8px 17px; border-radius: 4px; border: 1px solid #52617a; color: #e4eaf1; background: #182130; font-weight: 680; }
.digital-controls button[aria-pressed="true"], .digital-controls button:hover { color: white; background: #392831; border-color: #ed786a; }
.digital-panels { min-width: 0; }
.digital-map:not(:has(.digital-controls:not([hidden]))) .digital-panels { grid-column: 1 / -1; }
.digital-panels article { min-height: 232px; padding: clamp(21px, 3.3vw, 38px); border-radius: 6px; border: 1px solid #516179; background: #1b2432; }
.digital-panels article + article { margin-top: 10px; }
.digital-controls:not([hidden]) + .digital-panels article { margin-top: 0; }
.digital-panels article .meta, .digital-panels .inline-link { color: #ffab9e; }
.digital-panels article p:not(.meta) { max-width: 47rem; color: var(--night-copy); }
.digital-panels .tags li { color: #e3eaf3; background: #243044; border-color: #53637a; }
.digital-panels .inline-link { display: inline-block; margin-top: 14px; }

.services-section.section { padding-block: clamp(44px, 5vw, 69px); }
.services-section h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.services-section .section-head { margin-bottom: 22px; }
.service-details { margin-top: 22px; border-top: 1px solid var(--edge); }
.service-details details { border-bottom: 1px solid var(--edge); }
.service-details summary { min-height: 49px; padding: 10px 4px; font-weight: 710; cursor: pointer; }
.service-details summary::marker { color: var(--red); }
.details-copy { padding: 0 4px 18px; max-width: 56rem; color: var(--muted); }
.details-copy .actions, .details-copy > a { margin-top: 8px; }
.details-copy > a { display: inline-block; }
.store-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; padding: 3px 0 17px; }
.store-grid article { display: flex; flex-direction: column; min-width: 0; padding: 13px; border-radius: 4px; background: var(--paper); }
.store-grid h3 { font-size: 1.03rem; }
.store-grid address { margin: 6px 0 8px; color: var(--muted); font-size: .88rem; font-style: normal; }
.store-grid article > div { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.store-grid a { color: #a52b20; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; }
.site-footer { border-top: 1px solid var(--edge); background: #f1f4f8; }
.footer-inner, .footer-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 23px; }
.footer-inner { justify-content: space-between; padding-block: 21px; }
.footer-inner nav, .footer-inner p { color: var(--muted); font-size: .9rem; }
.footer-inner nav a:hover { color: var(--red); }

@media (max-width: 1020px) {
  .shell { width: calc(100% - 60px); }
  .nav { gap: 15px; }
  .brand { gap: 9px; }
  .brand span { padding-left: 9px; }
  .brand img { width: 113px; }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  :root { --header: 62px; }
  .shell { width: calc(100% - 38px); }
  .header-inner { flex-wrap: wrap; gap: 0; }
  .nav-toggle:not([hidden]) { display: inline-block; }
  .nav { width: 100%; flex-wrap: wrap; padding-block: 6px 14px; }
  .nav-toggle:not([hidden]) + .nav { display: none; }
  .nav-toggle[aria-expanded="true"] + .nav { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 15px; }
  .nav a { padding-block: 7px; }
  .nav-service { border: 0; padding-left: 0; }
  .hero-visual { inset: 0 0 56px 0; opacity: .79; }
  .hero-visual::after { background: linear-gradient(180deg,#11141b 0%,#11141bee 23%,#11141b64 64%,#11141b 100%); }
  .hero-art { object-position: 62% 47%; }
  .hero-inner { min-height: 520px; }
  .hero-copy { width: min(100%,520px); padding: 50px 0 88px; }
  .hero h1 { font-size: clamp(2.65rem, 8.5vw, 4.25rem); }
  .hero-copy > p { margin: 20px 0 23px; }
  .hero-index-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-index a { min-height: 59px; padding: 7px 12px; }
  .hero-index a:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-index a:nth-child(n+3) { border-top: 1px solid #ffffff21; }
  .hero-caption { bottom: 13px; }
  .section-head, .quality-layout, .digital-map { grid-template-columns: 1fr; }
  .section-head { gap: 12px; margin-bottom: 27px; }
  .chain-controls, .research-steps { grid-template-columns: repeat(2, 1fr); }
  .chain-controls button:nth-child(2)::after { content: none; }
  .chain-panel { grid-template-columns: 1fr; gap: 5px; padding: 15px; }
  .digital-controls { grid-template-columns: repeat(2, 1fr); }
  .digital-controls button { padding-inline: 10px; font-size: .88rem; }
  .digital-panels article { min-height: 220px; }
  .rd-case { grid-template-columns: 1fr; }
  .rd-case img { height: auto; max-height: 220px; }
}
@media (max-width: 375px) {
  .shell { width: calc(100% - 28px); }
  .hero-copy .eyebrow { font-size: .71rem; }
  .button { padding-inline: 12px; }
  .actions, .service-links { gap: 8px; }
  .chain-controls { gap: 9px; }
  .chain-controls button { padding: 9px; }
  .chain-controls button:not(:last-child)::after { width: 9px; }
  .store-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
