:root {
  --red: #c52329;
  --red-deep: #9e151b;
  --ink: #191c20;
  --gray: #747b82;
  --line: #e2e5e7;
  --soft: #f5f6f7;
  --max: 1280px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: #fff; color: var(--ink); }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 72px; }
section[data-density="compact"]:not(.hero):not(.credential-strip) { min-height: 0; padding-top: 36px; padding-bottom: 36px; }
section[data-density="spacious"]:not(.hero):not(.credential-strip) { padding-top: 100px; padding-bottom: 100px; }
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
h1, h2, p { margin-top: 0; }
.sr-only,.skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 999; top: 10px; left: 10px; padding: 10px 14px; color: #fff; background: var(--red); }

.scroll-progress { position: fixed; z-index: 1000; inset: 0 0 auto; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--red); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 72px; border-bottom: 1px solid rgba(20,22,24,.08); background: rgba(255,255,255,.97); transition: box-shadow .25s ease; backdrop-filter: blur(14px); }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(20,22,24,.08); }
.nav-shell { width: min(calc(100% - 56px),var(--max)); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { min-width: 318px; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 52px; height: 56px; flex: 0 0 52px; display: grid; place-items: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-copy { display: block; min-width: 0; }
.brand-copy strong { display: block; color: var(--red); font-size: .93rem; line-height: 1.2; white-space: nowrap; }
.brand-copy small { display: block; margin-top: 3px; color: #8d8076; font-family: Arial,sans-serif; font-size: .43rem; white-space: nowrap; }
.site-nav { height: 100%; display: flex; align-items: center; gap: clamp(18px,2vw,34px); }
.site-nav a { position: relative; height: 100%; display: flex; align-items: center; font-size: .83rem; font-weight: 700; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; right: 50%; bottom: 0; left: 50%; height: 3px; background: var(--red); transition: inset .2s ease; }
.site-nav a:hover::after,.site-nav a.is-active::after { right: 0; left: 0; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 8px; border: 0; background: none; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--ink); transition: .2s ease; }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; height: 720px; padding-top: 72px; overflow: hidden; background: #fafafa; }
.hero::before { display: none; }
.hero-drawing { position: absolute; z-index: 1; inset: 72px 44% 0 0; opacity: .7; background-image: linear-gradient(rgba(55,65,74,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(55,65,74,.055) 1px,transparent 1px),linear-gradient(28deg,transparent 49.75%,rgba(55,65,74,.045) 50%,transparent 50.25%),linear-gradient(152deg,transparent 49.75%,rgba(55,65,74,.035) 50%,transparent 50.25%); background-size: 42px 42px,42px 42px,230px 230px,310px 310px; mask-image: linear-gradient(90deg,#000 18%,transparent 100%); }
.hero-copy { position: relative; z-index: 6; width: 58%; height: 100%; padding: 70px 24px 50px max(48px,calc((100vw - var(--max))/2)); display: flex; flex-direction: column; justify-content: flex-start; }
.eyebrow { margin-bottom: 74px; color: #9aa0a5; font: 700 .67rem/1.35 Arial,sans-serif; letter-spacing: .11em; }
.eyebrow span { display: block; width: 38px; height: 3px; margin-bottom: 12px; background: var(--red); }
.hero-brand { margin-bottom: 22px; color: var(--red); font-size: clamp(2rem,3.7vw,3rem); font-weight: 900; letter-spacing: .08em; }
h1 { margin-bottom: 32px; font-size: clamp(3rem,5.15vw,4.35rem); line-height: 1.09; letter-spacing: -.055em; white-space: nowrap; }
.hero-lead { margin-bottom: 0; color: #737a81; font-size: .92rem; font-weight: 700; letter-spacing: .24em; }
.scroll-cue { width: fit-content; margin-top: 58px; display: flex; align-items: center; gap: 11px; color: #777e84; font: .66rem Arial,sans-serif; letter-spacing: .08em; }
.scroll-cue i { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #9da3a8; border-radius: 50%; font-style: normal; }
.hero-visual { position: absolute; z-index: 2; inset: 72px 0 0 30.7%; overflow: hidden; clip-path: polygon(31.5% 0,100% 0,100% 100%,0 100%); background: #a4d7f0; }
.hero-visual::before { content: ""; position: absolute; z-index: 0; inset: 0; display: block; background: url("./assets/company-building-clean-v1.png") 78px bottom/auto 80% no-repeat; }
.hero-visual::after { content: ""; position: absolute; z-index: 2; inset: 0 0 auto; height: 230px; display: block; pointer-events: none; background: linear-gradient(to bottom,#a4d7f0 0%,#a4d7f0 50%,rgba(164,215,240,.82) 68%,rgba(164,215,240,0) 100%); }
.hero-visual img { display: none; }

@media (min-width: 861px) {
  .hero-visual { clip-path: polygon(60.3% 0,100% 0,100% 100%,27.8% 100%); }
  .hero-visual::before { background-position: right bottom; }
}
.hero-slogan { position: absolute; z-index: 5; top: 73px; right: max(55px,calc((100vw - var(--max))/2)); padding: 5px 16px 5px 0; color: rgba(255,255,255,.9); text-align: right; text-shadow: 0 2px 10px rgba(30,40,50,.28); border-right: 2px solid rgba(255,255,255,.68); }
.hero-slogan span,.hero-slogan strong { display: block; font-size: 1rem; letter-spacing: .18em; }
.hero-slash { position: absolute; z-index: 5; inset: 132px 0 0; width: 100%; background: var(--red); clip-path: polygon(49.7% 0,50.55% 0,33.6% 100%,30.7% 100%); filter: drop-shadow(9px 0 16px rgba(150,20,24,.15)); }

@media (min-width: 861px) {
  .hero-slash { clip-path: polygon(71% 0,72.5% 0,50% 100%,46.5% 100%); }
}

.credential-strip { min-height: 140px; padding: 0 max(32px,calc((100% - var(--max))/2)); display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 13px 38px rgba(23,25,29,.055); }
.credential-strip > div { padding: 22px clamp(18px,2.8vw,34px); display: flex; align-items: center; justify-content: center; gap: 15px; border-left: 1px solid var(--line); }
.credential-strip > div:first-child { border-left: 0; }
.credential-strip strong { font-size: .93rem; white-space: nowrap; }
.credential-strip em { margin-right: 3px; color: var(--red); font-size: 1.45rem; font-style: normal; }
.line-icon,.scope-icon,.number-icon { width: 42px; height: 42px; flex: 0 0 42px; object-fit: contain; }

.section-index { display: flex; align-items: baseline; gap: 17px; color: #c1c6ca; }
.section-index b { font-size: 1.2rem; }
.section-index span { font: 700 .62rem Arial,sans-serif; letter-spacing: .08em; }
.section-index.light { color: rgba(255,255,255,.44); }
.about-section { position: relative; min-height: 520px; padding: 66px max(32px,calc((100% - var(--max))/2)); display: grid; grid-template-columns: 1.08fr .62fr 230px; align-items: center; overflow: hidden; background: #fff; }
.about-main { position: relative; z-index: 3; max-width: 680px; }
.about-main h2 { margin: 24px 0 22px; font-size: clamp(1.65rem,2.35vw,2.55rem); letter-spacing: -.035em; }
.about-main p { margin-bottom: 22px; color: #626a70; font-size: 1rem; line-height: 1.95; }
.about-facts { margin: 0 0 26px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-facts span { min-height: 72px; padding: 13px 16px; display: flex; flex-direction: column; justify-content: center; color: #747b82; font-size: .76rem; border-left: 1px solid var(--line); }
.about-facts span:first-child { padding-left: 0; border-left: 0; }
.about-facts b { margin-bottom: 4px; color: var(--red); font-size: 1.05rem; }
.outline-link { min-width: 128px; padding: 11px 16px; display: inline-flex; justify-content: space-between; gap: 30px; color: var(--red); border: 1px solid var(--red); font-size: .8rem; font-weight: 700; transition: .2s ease; }
.outline-link:hover { color: #fff; background: var(--red); }
.about-visual { position: absolute; right: 2%; bottom: -35%; width: 48%; opacity: .085; filter: grayscale(1) contrast(1.8); mask-image: linear-gradient(to left,#000 65%,transparent); }
.about-visual img { width: 100%; }
.side-motto,.section-motto { position: relative; z-index: 3; align-self: start; margin-top: 12px; text-align: right; }
.side-motto strong,.section-motto strong { display: block; font-size: 1.18rem; line-height: 1.6; letter-spacing: .08em; }
.side-motto small,.section-motto small { display: block; margin-top: 12px; color: #b8bdc2; font: .57rem/1.55 Arial,sans-serif; }
.side-motto i,.section-motto i,.qualification-copy > i,.culture-core i { display: block; width: 36px; height: 3px; margin: 16px 0 0 auto; background: var(--red); }

.services-section { height: 300px; min-height: 0; display: grid; grid-template-columns: 52% 48%; color: #fff; }
.services-panel { position: relative; z-index: 2; padding: 38px 70px 32px max(48px,calc((100vw - var(--max))/2)); overflow: hidden; background: linear-gradient(140deg,var(--red) 0%,var(--red-deep) 100%); }
.services-panel::after { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.2) 1px,transparent 1px); background-size: 44px 44px; transform: rotate(-8deg) scale(1.3); }
.services-panel > * { position: relative; z-index: 1; }
.services-panel h2 { margin: 10px 0 25px; font-size: clamp(2.2rem,3.25vw,3.45rem); }
.service-credentials { max-width: 540px; display: grid; grid-template-columns: 1fr 1fr; }
.service-credentials > div { min-height: 76px; padding: 6px 28px; display: flex; align-items: center; gap: 16px; border-left: 1px solid rgba(255,255,255,.28); }
.service-credentials > div:first-child { padding-left: 0; border-left: 0; }
.scope-icon { filter: brightness(0) invert(1); }
.service-credentials strong { font-size: 1rem; line-height: 1.5; }
.services-visual { position: relative; min-width: 0; overflow: hidden; background: #e8eaec; }
.services-visual::before { content: ""; position: absolute; z-index: 2; inset: 0 auto 0 -1px; width: 15%; background: var(--red-deep); clip-path: polygon(0 0,100% 0,0 100%); }
.services-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; opacity: .28; filter: grayscale(1) contrast(.72) brightness(1.3); transform: scale(1.2) rotate(-5deg); }
.services-caption { position: absolute; z-index: 3; top: 50%; right: max(35px,calc((100vw - var(--max))/2)); transform: translateY(-50%); color: #5e656b; text-align: right; }
.services-caption strong { display: block; font-size: 1.25rem; line-height: 1.55; letter-spacing: .04em; }
.services-caption small { display: block; margin-top: 14px; color: #aeb4b9; font: .58rem/1.6 Arial,sans-serif; }
.services-caption i { display: block; width: 36px; height: 3px; margin: 16px 0 0 auto; background: var(--red); }

.review-detail-section { padding: 72px max(32px,calc((100% - var(--max))/2)); display: grid; grid-template-columns: 360px 1fr; gap: 76px; color: #fff; background: #1d2024; }
.detail-kicker { margin: 0 0 15px; color: var(--red); font: 800 .72rem/1.4 Arial,sans-serif; letter-spacing: .16em; }
.review-detail-head h2,.team-profile-copy h2,.testing-copy h2 { margin: 0 0 22px; font-size: clamp(2rem,3vw,3.1rem); line-height: 1.25; letter-spacing: -.035em; }
.review-detail-head > p:last-child,.team-profile-copy > p:last-of-type,.testing-copy > p { margin: 0; color: rgba(255,255,255,.62); font-size: 1rem; line-height: 1.9; }
.review-detail-content { min-width: 0; }
.review-types { margin-bottom: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.review-types span { padding: 16px 20px; color: #fff; border: 1px solid rgba(255,255,255,.24); border-left: 4px solid var(--red); font-size: 1.08rem; font-weight: 800; }
.review-tags { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; list-style: none; }
.review-tags li { padding: 11px 12px; color: rgba(255,255,255,.82); background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); font-size: .88rem; text-align: center; }

.strength-section { min-height: 390px; padding: 62px max(32px,calc((100% - var(--max))/2)); display: grid; grid-template-columns: 240px minmax(620px,1fr) 280px; gap: 50px; align-items: center; }
.strength-title h2,.qualification-copy h2,.culture-title h2,.contact-title h2 { margin: 10px 0 0; font-size: clamp(2rem,3vw,3.2rem); }
.strength-numbers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; }
.strength-numbers > div { min-width: 0; padding: 12px 34px; display: grid; grid-template-columns: 60px 1fr; grid-template-rows: auto auto; column-gap: 20px; row-gap: 7px; align-items: center; }
.strength-numbers > div:first-child { padding-left: 0; }
.strength-numbers > div + div { padding-left: 54px; border-left: 1px solid var(--line); }
.number-icon { width: 58px; height: 58px; grid-row: 1 / 3; align-self: center; }
.strength-numbers strong { color: var(--red); font-size: clamp(4.8rem,6vw,6.5rem); line-height: .88; }
.strength-numbers em { font-style: normal; }
.strength-numbers p { margin: 0; color: #4f565c; font-size: 1.08rem; font-weight: 700; line-height: 1.5; white-space: nowrap; }

.team-profile-section { padding: 74px max(32px,calc((100% - var(--max))/2)); display: grid; grid-template-columns: .82fr 1.18fr; gap: 76px; align-items: center; background: #f4f5f6; }
.team-profile-copy > p:last-of-type { color: #666e75; }
.discipline-list { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 9px; }
.discipline-list span { padding: 8px 15px; color: #50575d; background: #fff; border: 1px solid #dfe2e4; font-size: .84rem; font-weight: 700; }
.registered-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.registered-grid > div { min-height: 145px; padding: 25px 20px; display: flex; flex-direction: column; justify-content: space-between; background: #fff; border-top: 4px solid var(--red); box-shadow: 0 12px 30px rgba(29,32,36,.055); }
.registered-grid strong { color: var(--red); font: 800 2.9rem/1 Arial,sans-serif; }
.registered-grid span { color: #4f565c; font-size: .86rem; font-weight: 700; line-height: 1.5; }

.qualification-section { position: relative; min-height: 720px; padding: 50px max(32px,calc((100% - var(--max))/2)); display: grid; grid-template-columns: .68fr 1.05fr .62fr; gap: 70px; align-items: start; overflow: hidden; background: #f4f5f6; }
.qualification-copy { position: relative; z-index: 2; padding-top: 18px; }
.qualification-copy p { max-width: 240px; margin-top: 34px; color: #71787e; font-size: .94rem; line-height: 2; }
.qualification-copy > i { margin: 30px 0 0; }
.certificate-open { position: relative; z-index: 3; width: min(100%,445px); margin: 0 auto; padding: 0; cursor: zoom-in; border: 0; background: #fff; box-shadow: 0 18px 45px rgba(35,34,30,.15); transition: transform .25s ease,box-shadow .25s ease; }
.certificate-open:hover { transform: translateY(-7px); box-shadow: 0 25px 56px rgba(35,34,30,.21); }
.certificate-open img { width: 100%; max-height: 620px; object-fit: cover; object-position: top; }
.certificate-open > .certificate-hint { position: absolute; z-index: 4; right: 10px; bottom: 10px; padding: 7px 10px; color: #fff; background: rgba(25,28,32,.85); font-size: .7rem; opacity: 0; transition: opacity .2s ease; }
.certificate-open:hover > .certificate-hint { opacity: 1; }
.certificate-watermark { position: absolute; z-index: 3; inset: 6%; display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; overflow: hidden; pointer-events: none; transform: rotate(-24deg) scale(1.2); transform-origin: center; }
.certificate-watermark b { display: block; width: 130%; color: rgba(177,24,31,.16); font: 800 clamp(.72rem,1.35vw,1.05rem)/1.2 "Microsoft YaHei",sans-serif; letter-spacing: .12em; text-align: center; white-space: nowrap; text-shadow: 0 1px rgba(255,255,255,.6); }
.qualification-motto { padding-top: 38px; }
.paper-shadow { position: absolute; right: -6%; bottom: -25%; width: 32%; height: 48%; opacity: .2; background: repeating-linear-gradient(-10deg,#bec3c7 0 2px,transparent 2px 22px); transform: skewX(-10deg); }

.testing-section { min-height: 620px; padding: 78px max(32px,calc((100% - var(--max))/2)); display: grid; grid-template-columns: 1.05fr .95fr; gap: 78px; align-items: center; color: #fff; background: #1d2024; }
.testing-visual { position: relative; padding: 18px 18px 0 0; }
.testing-visual::before { content: ""; position: absolute; z-index: 0; inset: 0 0 18px 18px; border: 2px solid var(--red); }
.testing-visual img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1.28; object-fit: cover; box-shadow: 0 24px 56px rgba(0,0,0,.32); }
.testing-copy .section-index { color: rgba(255,255,255,.35); }
.testing-copy h2 { margin-top: 14px; }
.testing-stats { margin: 28px 0 24px; padding: 19px 0; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.testing-stats span { padding: 0 16px; display: flex; flex-direction: column; color: rgba(255,255,255,.64); font-size: .76rem; line-height: 1.5; border-left: 1px solid rgba(255,255,255,.15); }
.testing-stats span:first-child { padding-left: 0; border-left: 0; }
.testing-stats b { color: #fff; font: 800 2rem/1.2 Arial,sans-serif; }
.testing-scope { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; list-style: none; }
.testing-scope li { padding: 8px 12px; color: rgba(255,255,255,.82); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); font-size: .8rem; }

.culture-section { position: relative; min-height: 500px; padding: 68px max(32px,calc((100% - var(--max))/2)); display: grid; grid-template-columns: 220px 340px 1fr; gap: 50px; align-items: center; overflow: hidden; background: #fff; }
.culture-section::before,.culture-section::after { content: ""; position: absolute; right: -5%; bottom: -58%; width: 70%; height: 110%; border-radius: 50% 50% 0 0; background: linear-gradient(165deg,transparent 42%,rgba(60,75,86,.08) 43%,rgba(60,75,86,.02) 67%,transparent 68%); transform: rotate(-5deg); }
.culture-section::after { right: 30%; bottom: -72%; width: 56%; opacity: .6; transform: rotate(4deg); }
.culture-title,.culture-core { position: relative; z-index: 2; }
.culture-core { text-align: center; }
.culture-core strong { display: block; font-size: clamp(1.65rem,2.5vw,2.5rem); line-height: 1.5; letter-spacing: .12em; }
.culture-core i { margin: 20px auto; }
.culture-core p { margin: 0; color: #969ca1; font-size: .88rem; letter-spacing: .18em; }
.culture-values { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.culture-values > div { min-height: 96px; padding: 19px 20px; display: flex; flex-direction: column; justify-content: center; background: rgba(245,246,247,.88); border-left: 3px solid var(--red); }
.culture-values b { margin-bottom: 8px; color: var(--ink); font-size: .9rem; }
.culture-values span { color: #70777d; font-size: .78rem; line-height: 1.6; }

.contact-section { min-height: 250px; padding: 46px max(32px,calc((100% - var(--max))/2)); display: grid; grid-template-columns: 280px 1fr .8fr; gap: 45px; align-items: center; border-top: 1px solid var(--line); }
.contact-details { display: grid; gap: 20px; }
.contact-phones { display: grid; gap: 16px; }
.contact-phones a { display: flex; align-items: center; gap: 14px; font: 800 1.55rem Arial,sans-serif; transition: color .2s ease; }
.contact-phones a:hover { color: var(--red); }
.contact-phones .phone-icon { width: 30px; height: 30px; display: grid; flex: 0 0 30px; place-items: center; color: #fff; border-radius: 50%; background: var(--ink); transition: background .2s ease,transform .2s ease; }
.contact-phones .phone-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-phones a:hover .phone-icon { background: var(--red); transform: translateY(-1px); }
.contact-address { max-width: 460px; margin: 0; color: #686f75; font-size: .82rem; line-height: 1.8; }
.contact-address b { display: block; color: var(--ink); font-size: .76rem; }
.qr-block { padding-left: 70px; display: flex; align-items: center; gap: 24px; border-left: 1px solid #cfd3d6; }
.qr-block img { width: 108px; height: 108px; }
.qr-block p { margin: 0; color: #555c62; font-size: .85rem; line-height: 1.8; }

.site-footer { min-height: 240px; padding: 45px max(32px,calc((100% - var(--max))/2)); color: rgba(255,255,255,.56); background: #1d2024; }
.footer-top,.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.footer-top { padding-bottom: 36px; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand .brand-mark { width: 58px; height: 60px; flex-basis: 58px; }
.footer-brand .brand-copy strong { color: #fff; font-size: .89rem; }
.footer-brand .brand-copy small { color: rgba(255,255,255,.48); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 17px 30px; }
.site-footer nav a { color: rgba(255,255,255,.67); font-size: .76rem; }
.site-footer nav a:hover { color: #fff; }
.footer-bottom { padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: .72rem; }
.footer-bottom p { margin: 0; }
.footer-bottom span { letter-spacing: .1em; }

.certificate-dialog { width: min(92vw,880px); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.certificate-dialog::backdrop { background: rgba(10,12,15,.86); backdrop-filter: blur(7px); }
.certificate-dialog-sheet { position: relative; width: fit-content; margin: auto; overflow: hidden; box-shadow: 0 20px 80px rgba(0,0,0,.55); }
.certificate-dialog img { max-height: 88vh; margin: auto; }
.certificate-dialog .certificate-watermark { inset: 5%; }
.certificate-dialog .certificate-watermark b { color: rgba(177,24,31,.18); font-size: clamp(.85rem,2.1vw,1.45rem); }
.certificate-dialog button { position: absolute; z-index: 2; top: -16px; right: -16px; width: 44px; height: 44px; cursor: pointer; color: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: #1d2024; font-size: 1.5rem; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.hero-copy[data-reveal] { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .brand { min-width: 280px; }
  .site-nav { gap: 15px; }
  .site-nav a { font-size: .76rem; }
  .hero-copy { width: 59%; }
  .about-section { grid-template-columns: 1fr .45fr 210px; }
  .review-detail-section { grid-template-columns: 300px 1fr; gap: 42px; }
  .review-tags { grid-template-columns: repeat(3,1fr); }
  .strength-section { grid-template-columns: 220px minmax(0,1fr); gap: 36px; }
  .strength-section .section-motto { display: none; }
  .team-profile-section { grid-template-columns: 1fr; gap: 42px; }
  .qualification-section { grid-template-columns: .65fr 1fr; }
  .qualification-motto { display: none; }
  .testing-section { gap: 46px; }
  .culture-section { grid-template-columns: 220px 1fr; gap: 42px; }
  .culture-values { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .site-header { height: 68px; }
  .nav-shell { width: calc(100% - 30px); }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 68px; right: 0; left: 0; height: auto; padding: 12px 22px 22px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #fff; box-shadow: 0 18px 36px rgba(20,22,24,.14); }
  .site-nav.is-open { display: flex; }
  .site-nav a { height: auto; padding: 13px 0; font-size: .9rem; }
  .site-nav a::after { display: none; }
  .hero { height: 1000px; padding-top: 68px; }
  .hero-drawing { inset: 68px 0 auto; height: 560px; }
  .hero-copy { width: 100%; height: 560px; padding: 72px 30px 48px; }
  h1 { white-space: normal; }
  .hero-visual { inset: 628px 0 0; height: 372px; clip-path: none; }
  .hero-slash { display: none; }
  .credential-strip { grid-template-columns: 1fr 1fr; }
  .credential-strip > div:nth-child(3) { border-left: 0; }
  .credential-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-section { padding-top: 70px; padding-bottom: 70px; grid-template-columns: 1fr; }
  .about-visual { width: 75%; }
  .side-motto { display: none; }
  .services-section { height: auto; grid-template-columns: 1fr; }
  .services-panel { padding: 44px 30px 38px; }
  .services-visual { height: 250px; min-height: 0; }
  .services-visual::before { display: none; }
  .review-detail-section,.team-profile-section,.testing-section { padding: 64px 30px; grid-template-columns: 1fr; gap: 42px; }
  .review-detail-section { grid-template-columns: 1fr; }
  .review-tags { grid-template-columns: repeat(4,1fr); }
  .strength-section { padding-top: 64px; padding-bottom: 64px; grid-template-columns: 1fr; }
  .strength-numbers { justify-content: flex-start; }
  .qualification-section { padding-top: 70px; padding-bottom: 70px; grid-template-columns: 1fr; }
  .qualification-copy p { max-width: 520px; }
  .certificate-open { width: min(80%,440px); }
  .culture-section { padding-top: 70px; padding-bottom: 70px; grid-template-columns: 1fr; gap: 45px; }
  .culture-core { text-align: left; }
  .culture-core i { margin-left: 0; }
  .culture-values { grid-column: auto; }
  .contact-section { grid-template-columns: 1fr 1fr; }
  .qr-block { grid-column: 1 / -1; padding: 28px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .brand { min-width: 0; }
  .brand-mark { width: 46px; height: 50px; flex-basis: 46px; }
  .brand-copy strong { font-size: .74rem; }
  .brand-copy small { display: none; }
  .hero { height: 868px; }
  .hero-drawing { height: 500px; }
  .hero-copy { height: 500px; padding: 58px 20px 45px; }
  .eyebrow { margin-bottom: 45px; }
  h1 { font-size: 2.2rem; }
  .hero-lead { font-size: .82rem; letter-spacing: .15em; }
  .scroll-cue { margin-top: 42px; }
  .hero-visual { inset: 568px 0 0; height: 300px; }
  .hero-slogan { top: 38px; right: 20px; }
  .credential-strip { padding: 0 14px; grid-template-columns: 1fr; }
  .credential-strip > div { min-height: 90px; justify-content: flex-start; border-left: 0; border-bottom: 1px solid var(--line); }
  .credential-strip > div:last-child { border-bottom: 0; }
  .about-section { padding-right: 20px; padding-left: 20px; }
  .about-main h2 { font-size: 1.75rem; line-height: 1.35; }
  .about-facts { grid-template-columns: 1fr; }
  .about-facts span { min-height: 60px; padding: 11px 0; border-top: 1px solid var(--line); border-left: 0; }
  .about-facts span:first-child { border-top: 0; }
  .service-credentials { grid-template-columns: 1fr; }
  .service-credentials > div { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.28); border-left: 0; }
  .strength-section { padding-right: 20px; padding-left: 20px; }
  .strength-numbers { display: grid; grid-template-columns: 1fr 1fr; }
  .strength-numbers > div { min-width: 0; padding: 8px 14px; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; gap: 6px 10px; }
  .strength-numbers > div:first-child { padding-left: 0; }
  .strength-numbers > div + div { padding-left: 18px; }
  .strength-numbers strong { font-size: 3.6rem; }
  .strength-numbers p { grid-column: 2; font-size: .9rem; }
  .number-icon { width: 40px; height: 40px; grid-row: 1 / 3; }
  .review-detail-section,.team-profile-section,.testing-section { padding-right: 20px; padding-left: 20px; }
  .review-types { grid-template-columns: 1fr; }
  .review-tags { grid-template-columns: 1fr 1fr; }
  .review-tags li { padding: 10px 7px; font-size: .78rem; }
  .registered-grid { grid-template-columns: 1fr 1fr; }
  .registered-grid > div { min-height: 128px; padding: 20px 15px; }
  .testing-visual { padding: 10px 10px 0 0; }
  .testing-stats { grid-template-columns: 1fr; }
  .testing-stats span { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.15); border-left: 0; }
  .testing-stats span:first-child { border-top: 0; }
  .culture-values { grid-template-columns: 1fr; }
  .qualification-section,.culture-section,.contact-section { padding-right: 20px; padding-left: 20px; }
  .certificate-open { width: 92%; }
  .culture-core strong { font-size: 1.5rem; line-height: 1.8; letter-spacing: .08em; }
  .culture-core p { line-height: 1.8; }
  .contact-section { grid-template-columns: 1fr; gap: 38px; }
  .contact-phones a { font-size: 1.3rem; }
  .qr-block { grid-column: auto; }
  .site-footer { padding-right: 20px; padding-left: 20px; }
  .footer-brand .brand-mark { width: 52px; height: 56px; flex-basis: 52px; }
  .footer-brand .brand-copy strong { font-size: .74rem; }
  .site-footer nav { display: grid; grid-template-columns: repeat(2,1fr); }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Fixed five-page navigation — the entries are global, not CMS content. */
.site-nav { flex: 0 0 auto; }
.site-nav > .nav-group { display: contents; }
.site-nav a[data-page-link] { min-width: 58px; justify-content: center; color: #34393e; letter-spacing: .04em; }
.site-nav a[data-page-link]:hover,.site-nav a[data-page-link].is-active { color: var(--red); }
.site-nav a[data-page-link].is-active { font-weight: 800; }
.nav-subtoggle,.nav-dropdown,.page-subnav { display: none !important; }

/* Shared masthead for the independent About, Cases, News and Careers pages. */
.page-hero { position: relative; min-height: 350px; padding: 138px max(32px,calc((100% - var(--max))/2)) 74px; overflow: hidden; color: var(--ink); background: #fafafa; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 42%; opacity: .62; background: linear-gradient(123deg,transparent 0 42%,rgba(197,35,41,.92) 42.1% 42.55%,transparent 42.65%),linear-gradient(rgba(55,65,74,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(55,65,74,.045) 1px,transparent 1px); background-size: auto,42px 42px,42px 42px; }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: -7vw; bottom: -16vw; width: min(54vw,740px); height: min(54vw,740px); border: 1px solid rgba(197,35,41,.13); border-radius: 50%; box-shadow: 0 0 0 52px rgba(197,35,41,.035),0 0 0 104px rgba(197,35,41,.02); }
.page-hero-content { position: relative; max-width: 790px; }
.page-kicker { margin: 0 0 15px; color: var(--red); font: 800 .7rem/1.4 Arial,sans-serif; letter-spacing: .18em; }
.page-hero h1 { margin: 0; font-size: clamp(2.75rem,4.4vw,4.65rem); line-height: 1.08; letter-spacing: -.055em; white-space: normal; }
.page-hero-lead { max-width: 560px; margin: 24px 0 0; color: #687078; font-size: 1rem; line-height: 1.9; }

/* Content modules that can be populated from the admin workspace. */
.cases-section,.news-section,.recruitment-section { padding: 98px max(32px,calc((100% - var(--max))/2)); }
.cases-section { background: #f4f5f6; }
.news-section { background: #fff; }
.recruitment-section { position: relative; overflow: hidden; background: #f7f8f9; }
.recruitment-section::before { content: ""; position: absolute; right: -18%; bottom: -52%; width: 64%; height: 120%; opacity: .55; border: 1px solid rgba(197,35,41,.16); border-radius: 50%; transform: rotate(-21deg); }
.page-heading { position: relative; z-index: 1; max-width: 670px; margin-bottom: 46px; }
.page-heading .page-kicker { margin-bottom: 12px; }
.page-heading h2 { margin: 0 0 18px; color: var(--ink); font-size: clamp(2.15rem,3.25vw,3.45rem); line-height: 1.16; letter-spacing: -.04em; }
.page-heading h2::after { content: ""; display: block; width: 38px; height: 3px; margin-top: 20px; background: var(--red); }
.page-heading > p:last-child { margin: 0; color: #6a7279; font-size: .97rem; line-height: 1.95; }
.page-empty { width: 100%; min-height: 164px; margin: 0; padding: 56px 30px; display: grid; place-items: center; color: #767e85; border: 1px dashed #cbd0d4; background: rgba(255,255,255,.7); font-size: .92rem; line-height: 1.8; text-align: center; }

.cases-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.case-card { min-height: 286px; padding: 30px 28px 25px; display: flex; flex-direction: column; align-items: flex-start; background: #fff; border-top: 4px solid var(--red); box-shadow: 0 14px 36px rgba(29,32,36,.06); transition: transform .25s ease,box-shadow .25s ease; }
.case-card:hover { transform: translateY(-7px); box-shadow: 0 22px 46px rgba(29,32,36,.12); }
.case-index { margin-bottom: 38px; color: #d4d8db; font: 800 .75rem/1 Arial,sans-serif; letter-spacing: .12em; }
.case-category,.case-meta { margin: 0; color: var(--red); font: 800 .68rem/1.5 Arial,sans-serif; letter-spacing: .12em; }
.case-card h3 { margin: 11px 0 13px; color: var(--ink); font-size: 1.22rem; line-height: 1.48; }
.case-summary { margin: 0; color: #697178; font-size: .88rem; line-height: 1.85; }
.case-meta { margin-top: auto; padding-top: 18px; color: #8f969b; }

.news-list { position: relative; z-index: 1; display: grid; border-top: 1px solid var(--line); }
.news-item { position: relative; min-height: 142px; padding: 27px 72px 27px 0; display: grid; grid-template-columns: 116px minmax(0,1fr); column-gap: 27px; align-content: center; border-bottom: 1px solid var(--line); transition: padding .25s ease,background .25s ease; }
.news-item::before { content: ""; position: absolute; top: 0; bottom: 0; left: -22px; width: 0; background: var(--red); transition: width .25s ease; }
.news-item:hover { padding-left: 20px; background: #fafafa; }
.news-item:hover::before { width: 4px; }
.news-date { grid-row: 1 / span 3; align-self: start; padding-top: 3px; color: var(--red); font: 800 .94rem/1.25 Arial,sans-serif; letter-spacing: .05em; }
.news-category { margin-bottom: 5px; color: #969da2; font: 700 .67rem/1.3 Arial,sans-serif; letter-spacing: .12em; }
.news-item h3 { margin: 0 0 7px; font-size: 1.18rem; line-height: 1.45; }
.news-item p { margin: 0; color: #70787e; font-size: .87rem; line-height: 1.7; }
.news-arrow { position: absolute; top: 50%; right: 15px; color: var(--red); font: 300 1.7rem/1 Arial,sans-serif; transform: translateY(-50%); transition: transform .25s ease; }
.news-item:hover .news-arrow { transform: translate(7px,-50%); }

.jobs-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.job-card { min-height: 206px; padding: 28px 30px; background: #fff; border: 1px solid #e1e4e6; border-left: 4px solid var(--red); box-shadow: 0 10px 26px rgba(29,32,36,.045); transition: transform .25s ease,box-shadow .25s ease; }
.job-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(29,32,36,.1); }
.job-card h3 { margin: 0 0 16px; font-size: 1.28rem; line-height: 1.35; }
.job-meta { margin: 0 0 17px; display: flex; flex-wrap: wrap; gap: 8px; }
.job-meta span { padding-right: 9px; color: #858c92; border-right: 1px solid #d5d9dc; font-size: .78rem; line-height: 1; }
.job-meta span:last-child { padding-right: 0; border-right: 0; }
.job-summary { margin: 0; color: #697178; font-size: .88rem; line-height: 1.85; }

@media (max-width: 1120px) {
  .site-nav a[data-page-link] { min-width: auto; }
  .cases-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 860px) {
  .site-nav > .nav-group { display: contents; }
  .site-nav a[data-page-link] { min-width: 0; justify-content: flex-start; }
  .page-hero { min-height: 300px; padding: 117px 30px 58px; }
  .page-hero::before { inset: 0 0 0 28%; }
  .page-hero h1 { font-size: clamp(2.35rem,9vw,3.4rem); }
  .page-hero-lead { margin-top: 18px; font-size: .92rem; }
  .cases-section,.news-section,.recruitment-section { padding: 68px 30px; }
  .page-heading { margin-bottom: 34px; }
  .cases-grid,.jobs-list { grid-template-columns: 1fr; }
  .case-card { min-height: 238px; }
}

@media (max-width: 560px) {
  .page-hero { min-height: 276px; padding: 104px 20px 48px; }
  .page-kicker { font-size: .64rem; }
  .page-hero h1 { font-size: 2.3rem; }
  .cases-section,.news-section,.recruitment-section { padding: 56px 20px; }
  .page-heading h2 { font-size: 2.15rem; }
  .page-heading > p:last-child { font-size: .9rem; }
  .case-card { padding: 25px 22px; }
  .case-index { margin-bottom: 28px; }
  .news-item { min-height: 0; padding: 23px 38px 23px 0; grid-template-columns: 1fr; gap: 0; }
  .news-date { grid-row: auto; margin-bottom: 10px; }
  .news-category { margin-bottom: 7px; }
  .news-item h3 { font-size: 1.08rem; }
  .news-arrow { right: 1px; }
  .job-card { min-height: 0; padding: 24px 22px; }
}
