/* 易能吉官网统一设计系统，详见 /DESIGN.md */
:root {
    color-scheme: light;
    --ink-950: #07131f;
    --ink-900: #0b1b2b;
    --ink-800: #132a3e;
    --ink-700: #244157;
    --steel-600: #586874;
    --steel-500: #667681;
    --steel-300: #b9c1c7;
    --brand: #c81d25;
    --brand-dark: #99171d;
    --brand-soft: #f8e6e3;
    --copper: #c96b2b;
    --paper: #f4f0e8;
    --paper-2: #ebe5da;
    --white: #fffdfa;
    --line: #d8d5cf;
    --line-dark: rgba(255, 255, 255, 0.18);
    --focus: #f3b33d;
    --success: #16794c;
    --warning: #9b5b00;
    --danger: #b71922;
    --font-sans: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-serif: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", serif;
    --container: 1240px;
    --header-height: 84px;
    --shadow-float: 0 14px 38px rgba(7, 19, 31, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
    margin: 0;
    color: var(--ink-950);
    background: var(--paper);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:visited { text-decoration-color: var(--steel-500); }
button { color: inherit; }
h1, h2, h3, h4, p, blockquote, dl, dd { margin-top: 0; }
figure { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
::selection { color: #fff; background: var(--brand); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    padding: 10px 16px;
    color: #fff;
    background: var(--ink-950);
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 64px), var(--container)); margin-inline: auto; }
.section { padding: 120px 0; }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--paper-2); }
.section--ink { color: #fff; background: var(--ink-900); }
.section--compact { padding-block: 80px; }

.page-kicker, .section-kicker, .card-kicker {
    margin: 0 0 18px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.page-kicker--light { color: #ffb5a9; }
.page-hero .page-kicker, .section--ink .section-kicker, .cta-panel--dark .section-kicker { color: #ffb5a9; }
:is(h1, h2, h3).section-heading,
header.section-heading h2 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.035em;
}
header.section-heading {
    margin: 0 0 64px;
}
header.section-heading .section-kicker { margin-bottom: 14px; }
header.section-heading .section-intro {
    max-width: 680px;
    margin: 20px 0 0;
}
header.section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
    gap: 72px;
    align-items: end;
}
header.section-heading--split .section-intro { margin: 0; }
header.section-heading--light h2 { color: #fff; }
header.section-heading--light .section-intro { color: rgba(255, 255, 255, 0.7); }
header.section-heading--compact { margin-bottom: 30px; }
.section-copy {
    max-width: 680px;
    margin: 0;
    color: var(--steel-600);
    font-size: 17px;
}
.section--ink .section-copy { color: rgba(255, 255, 255, 0.72); }
header.section-intro {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1.15fr);
    gap: 100px;
    align-items: end;
    margin-bottom: 72px;
}
.section-intro:not(header) {
    color: var(--steel-600);
    font-size: 16px;
    line-height: 1.8;
}
.section--ink .section-intro:not(header) { color: rgba(255, 255, 255, 0.7); }
.section-head { margin-bottom: 64px; }
.section-head--spread { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-action { display: flex; justify-content: center; margin-top: 48px; }

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--brand); }
.button--primary:visited { color: #fff; }
.button--primary:hover { background: var(--brand-dark); }
.button--secondary { color: var(--ink-950); border-color: var(--line); background: var(--white); }
.button--secondary:hover { border-color: var(--ink-950); background: var(--paper-2); }
.section--ink .button--secondary { color: #fff; border-color: rgba(255, 255, 255, 0.52); background: transparent; }
.section--ink .button--secondary:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.button--outline { color: var(--ink-950); border-color: var(--ink-950); background: transparent; }
.button--outline:hover { color: #fff; background: var(--ink-950); }
.button--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.58); background: transparent; }
.button--ghost:visited { color: #fff; }
.button--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.button--light { color: var(--ink-950); background: #fff; }
.button--light:hover { background: var(--paper); }
.button--small { min-height: 42px; padding: 8px 16px; font-size: 14px; }
.text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
}
.text-link::after { content: "↗"; margin-left: 10px; transition: transform 0.2s ease; }
.text-link:hover::after { transform: translate(3px, -3px); }
.text-link--light { color: rgba(255, 255, 255, 0.88); }
.text-link > [aria-hidden="true"] { display: none; }
.card-kicker { margin-bottom: 8px; }
.card-action { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    color: var(--ink-950);
    background: rgba(255, 253, 250, 0.95);
    border-bottom: 1px solid rgba(7, 19, 31, 0.12);
    backdrop-filter: blur(16px);
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.site-header.is-scrolled { background: rgba(255, 253, 250, 0.985); box-shadow: 0 8px 28px rgba(7, 19, 31, 0.08); }
.site-nav { height: 100%; display: flex; align-items: center; gap: 30px; }
.site-brand { min-width: max-content; display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.site-brand__mark { width: 45px; height: 46px; object-fit: contain; }
.site-brand__fallback { width: 45px; height: 45px; display: grid; place-items: center; color: #fff; background: var(--brand); font-family: var(--font-serif); font-size: 24px; }
.site-brand__name { display: grid; line-height: 1.15; }
.site-brand__name strong { font-family: var(--font-serif); font-size: 17px; }
.site-brand__name span { margin-top: 5px; color: var(--steel-500); font-size: 9px; letter-spacing: 0.12em; }
.site-nav__links { display: flex; align-items: center; justify-content: center; gap: 26px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.site-nav__links a {
    position: relative;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #263746;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.site-nav__links a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}
.site-nav__links a:hover::after, .site-nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__cta { margin-left: 2px; }
.site-menu-toggle {
    width: 48px;
    height: 48px;
    display: none;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    cursor: pointer;
}
.site-menu-toggle span { width: 21px; height: 2px; display: block; margin: 5px auto; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.site-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-mobile-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: grid;
    align-content: start;
    padding: 24px 32px 40px;
    color: #fff;
    background: var(--ink-950);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.25s ease, visibility 0.25s;
}
.site-mobile-nav.is-open { opacity: 1; pointer-events: auto; transform: none; visibility: visible; }
.site-mobile-nav > a:not(.button) { min-height: 58px; display: flex; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.16); font-family: var(--font-serif); font-size: 22px; text-decoration: none; }
.site-mobile-nav .button { margin-top: 28px; }

/* Homepage hero */
.home-hero { position: relative; min-height: min(760px, calc(100vh - var(--header-height))); display: flex; align-items: stretch; overflow: hidden; color: #fff; background: var(--ink-900); }
.home-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 16, 26, 0.97) 0%, rgba(5, 16, 26, 0.84) 43%, rgba(5, 16, 26, 0.24) 73%, rgba(5, 16, 26, 0.5) 100%), linear-gradient(0deg, rgba(5, 16, 26, 0.48), transparent 56%); }
.home-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr); gap: 72px; align-items: end; padding-block: 110px 72px; }
.home-hero__copy { align-self: center; max-width: 820px; }
.home-hero__kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 24px; color: #f0d3c6; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; }
.home-hero__kicker::before { content: ""; width: 36px; height: 2px; background: var(--brand); }
.home-hero h1 { max-width: 820px; margin: 0; font-family: var(--font-serif); font-size: clamp(52px, 6.3vw, 88px); line-height: 1.09; letter-spacing: -0.055em; }
.home-hero__lead { max-width: 670px; margin: 28px 0 0; color: rgba(255, 255, 255, 0.84); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.85; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.home-hero__ledger { align-self: end; display: grid; border-top: 1px solid rgba(255, 255, 255, 0.34); }
.home-hero__ledger > div { display: grid; grid-template-columns: 105px 1fr; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.home-hero__ledger strong { font-family: var(--font-serif); font-size: 34px; line-height: 1.15; }
.home-hero__ledger span { color: rgba(255, 255, 255, 0.74); font-size: 13px; line-height: 1.6; }

/* Homepage services */
.service-index { border-top: 1px solid var(--ink-950); }
.service-index__item { min-height: 148px; display: grid; grid-template-columns: 90px minmax(210px, 0.7fr) minmax(300px, 1fr) 80px; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease, background-color 0.2s ease; }
.service-index__item:hover { padding-left: 18px; color: var(--brand); background: #faf7f1; }
.service-index__number { color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; }
.service-index__item strong { font-family: var(--font-serif); font-size: clamp(27px, 3vw, 42px); line-height: 1.22; }
.service-index__description { color: var(--steel-600); font-size: 15px; }
.service-index__arrow { justify-self: end; font-size: 28px; }

/* Homepage qualification proof */
.home-proof { position: relative; overflow: hidden; }
.home-proof::before { content: "CMA"; position: absolute; right: -30px; bottom: -100px; color: rgba(255, 255, 255, 0.035); font-family: var(--font-serif); font-size: min(34vw, 500px); font-weight: 700; line-height: 1; }
.home-proof__grid { position: relative; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 96px; align-items: center; }
.home-proof__copy > p:not(.page-kicker) { max-width: 570px; color: rgba(255, 255, 255, 0.73); font-size: 17px; }
.home-proof__number { margin: 18px 0 20px; font-family: var(--font-serif); font-size: clamp(104px, 15vw, 210px); line-height: 0.84; letter-spacing: -0.08em; }
.home-proof__number span { color: var(--brand); font-family: var(--font-sans); font-size: 0.28em; letter-spacing: 0; }
.home-proof__certificates { min-height: 530px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; align-items: end; }
.certificate-preview { position: relative; align-self: start; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.24); color: #fff; background: #e9e5dc; text-decoration: none; }
.certificate-preview img { width: 100%; height: 465px; padding: 12px; object-fit: contain; }
.certificate-preview--secondary { align-self: end; }
.certificate-preview--secondary img { height: 330px; }
.certificate-preview > span { position: absolute; right: 0; bottom: 0; left: 0; padding: 14px 18px; background: rgba(7, 19, 31, 0.9); font-size: 13px; }

/* Feature story */
.feature-story { min-height: 560px; display: grid; grid-template-columns: 1.12fr 0.88fr; border-top: 1px solid var(--ink-950); border-bottom: 1px solid var(--ink-950); }
.feature-story__media { min-height: 560px; overflow: hidden; }
.feature-story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.feature-story:hover .feature-story__media img { transform: scale(1.025); }
.feature-story__content { display: flex; flex-direction: column; justify-content: center; padding: 72px; background: var(--white); }
.feature-story__content h3 { margin: 0 0 24px; font-family: var(--font-serif); font-size: clamp(34px, 4vw, 54px); line-height: 1.2; }
.feature-story__content p:not(.page-kicker) { color: var(--steel-600); }
.feature-story__content .text-link { align-self: start; margin-top: 20px; }

/* Homepage products */
.home-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 64px; border: 1px solid var(--line); background: var(--line); }
.home-product-card { min-width: 0; display: flex; flex-direction: column; background: var(--white); text-decoration: none; transition: background-color 0.2s ease; }
.home-product-card:hover { background: #f8f4ed; }
.home-product-card__media { position: relative; aspect-ratio: 1.25; overflow: hidden; background: #e9e6df; }
.home-product-card__media img { width: 100%; height: 100%; padding: 22px; object-fit: contain; transition: transform 0.35s ease; }
.home-product-card:hover .home-product-card__media img { transform: scale(1.04); }
.home-product-card__body { flex: 1; display: flex; flex-direction: column; padding: 30px; }
.home-product-card__category { color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; }
.home-product-card h3 { margin: 14px 0 12px; font-family: var(--font-serif); font-size: 24px; line-height: 1.36; }
.home-product-card p { margin-bottom: 0; color: var(--steel-600); font-size: 14px; }
.home-product-card .text-link { align-self: start; margin-top: auto; padding-top: 24px; }

/* Homepage company */
.home-company__grid { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 100px; align-items: start; }
.home-company__copy > p:not(.page-kicker) { margin: 28px 0 0; color: #4f5b65; font-size: 17px; }
.home-company__copy .text-link { margin-top: 20px; }
.home-company__metrics { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid var(--ink-950); }
.home-company__metrics > div { min-height: 170px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.home-company__metrics > div:nth-child(odd) { padding-right: 36px; border-right: 1px solid var(--line); }
.home-company__metrics > div:nth-child(even) { padding-left: 36px; }
.home-company__metrics dt { font-family: var(--font-serif); font-size: clamp(38px, 5vw, 62px); line-height: 1.08; }
.home-company__metrics dd { margin: 14px 0 0; color: var(--steel-600); font-size: 13px; }

/* Homepage news */
.home-news__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 96px; }
.home-news__heading { position: sticky; top: calc(var(--header-height) + 36px); align-self: start; }
.home-news__heading .section-copy { margin-top: 24px; }
.editorial-list { border-top: 1px solid var(--ink-950); }
.editorial-list__item { display: grid; grid-template-columns: 120px 1fr 36px; gap: 28px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.editorial-list__item time { color: var(--steel-500); font-size: 13px; }
.editorial-list__item h3 { margin: 0; font-family: var(--font-serif); font-size: clamp(22px, 2.4vw, 31px); line-height: 1.4; transition: color 0.2s ease; }
.editorial-list__item:hover h3 { color: var(--brand); }
.editorial-list__item > span { color: var(--brand); font-size: 22px; }

.contact-band { padding: 112px 0; color: #fff; background: var(--brand); }
.contact-band__inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: end; }
.contact-band h2 { max-width: 850px; margin: 0; font-family: var(--font-serif); font-size: clamp(42px, 5.4vw, 72px); line-height: 1.16; letter-spacing: -0.04em; }
.contact-band__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }

/* Generic inner page hero */
.page-hero { position: relative; overflow: hidden; padding: 110px 0 96px; color: #fff; background: var(--ink-900); }
.page-hero::after { content: ""; position: absolute; right: -8%; bottom: -58%; width: 42vw; height: 42vw; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 50%; }
.page-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr); gap: 64px; align-items: end; }
.page-hero h1 { margin: 0; font-family: var(--font-serif); font-size: clamp(46px, 6vw, 76px); line-height: 1.12; letter-spacing: -0.045em; }
.page-hero__lead { max-width: 620px; margin: 24px 0 0; color: rgba(255, 255, 255, 0.72); font-size: 17px; }
.page-hero__aside { align-self: end; color: rgba(255, 255, 255, 0.68); }
.breadcrumb { margin-bottom: 28px; }
.breadcrumb ol, .breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 0; padding: 0; list-style: none; color: rgba(255, 255, 255, 0.64); font-size: 13px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, 0.34); }
.breadcrumb a { min-height: 32px; display: inline-flex; align-items: center; }

/* Generic content patterns used across subpages */
.editorial-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); gap: 80px; align-items: start; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.detail-main { min-width: 0; }
.detail-aside { position: sticky; top: calc(var(--header-height) + 32px); }
.media-frame { overflow: hidden; border: 1px solid var(--line); background: #e9e6df; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--contain img { padding: 18px; object-fit: contain; }
.prose { max-width: 760px; color: #344652; font-size: 17px; line-height: 1.9; overflow-wrap: anywhere; }
.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { margin: 2em 0 0.65em; color: var(--ink-950); font-family: var(--font-serif); line-height: 1.35; }
.prose h2 { font-size: 32px; }
.prose h3 { font-size: 25px; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.35em; }
.prose a { color: var(--brand); }
.prose img { width: auto; max-width: 100%; height: auto; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.meta-list { margin: 0; border-top: 1px solid var(--ink-950); }
.meta-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.meta-list dt { color: var(--steel-500); font-size: 13px; }
.meta-list dd { margin: 0; font-weight: 600; }
.data-grid, .metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink-950); border-left: 1px solid var(--line); }
.data-grid > *, .metric-grid > * { min-height: 150px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.data-grid strong, .metric-grid strong { display: block; font-family: var(--font-serif); font-size: 38px; line-height: 1.15; }
.data-grid span, .metric-grid span { display: block; margin-top: 12px; color: var(--steel-600); font-size: 13px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 42px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.filter-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.filter-link { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--line); text-decoration: none; }
.filter-link:hover, .filter-link.is-active, .filter-link[aria-current="page"] { color: #fff; border-color: var(--ink-950); background: var(--ink-950); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; }
.pagination a, .pagination span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid var(--line); text-decoration: none; }
.pagination a:hover, .pagination .active, .pagination [aria-current="page"] { color: #fff; border-color: var(--brand); background: var(--brand); }
.pagination .disabled { color: var(--steel-300); pointer-events: none; }
.empty-state { grid-column: 1 / -1; padding: 72px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--steel-600); text-align: center; }
.media-placeholder { width: 100%; height: 100%; min-height: 220px; display: grid; place-items: center; color: var(--steel-600); background: var(--paper-2); }

.business-list, .product-grid, .qualification-grid, .related-grid, .news-grid, .gallery-grid { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.business-list { grid-template-columns: 1fr; }
.business-item { display: grid; grid-template-columns: 0.9fr 1.1fr; min-height: 430px; background: var(--white); text-decoration: none; }
.business-item:nth-child(even) .business-item__media { order: 2; }
.business-item__media { min-height: 430px; overflow: hidden; }
.business-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.business-item:hover .business-item__media img { transform: scale(1.025); }
.business-item__body { display: flex; flex-direction: column; justify-content: center; padding: 58px; }
.business-item__number { color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; }
.business-item h2, .business-item h3 { margin: 18px 0; font-family: var(--font-serif); font-size: clamp(32px, 4vw, 50px); line-height: 1.2; }
.business-item p { color: var(--steel-600); }

.product-grid, .qualification-grid, .related-grid { grid-template-columns: repeat(3, 1fr); }
.product-card, .qualification-card, .related-card { min-width: 0; display: flex; flex-direction: column; color: var(--ink-950); background: var(--white); text-decoration: none; }
.product-card__media, .qualification-card__media, .related-card__media { position: relative; aspect-ratio: 1.2; overflow: hidden; background: #e9e6df; }
.product-card__media img, .qualification-card__media img, .related-card__media img { width: 100%; height: 100%; padding: 18px; object-fit: contain; transition: transform 0.35s ease; }
.product-card:hover img, .qualification-card:hover img, .related-card:hover img { transform: scale(1.035); }
.product-card__body, .qualification-card__body, .related-card__body { flex: 1; display: flex; flex-direction: column; padding: 28px; }
.product-card h2, .product-card h3, .qualification-card h2, .qualification-card h3, .related-card h3 { margin: 12px 0; font-family: var(--font-serif); font-size: 23px; line-height: 1.4; }
.product-card p, .qualification-card p, .related-card p { color: var(--steel-600); font-size: 14px; }
.product-card .text-link, .qualification-card .text-link, .related-card .text-link { align-self: start; margin-top: auto; padding-top: 18px; }

.news-grid { grid-template-columns: repeat(2, 1fr); }
.news-card { min-width: 0; display: grid; grid-template-columns: 190px 1fr; min-height: 230px; color: var(--ink-950); background: var(--white); text-decoration: none; }
.news-card__media { overflow: hidden; background: var(--paper-2); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.news-card:hover img { transform: scale(1.035); }
.news-card__body { padding: 28px; }
.news-card time, .news-card__meta { color: var(--steel-500); font-size: 12px; }
.news-card h2, .news-card h3 { margin: 12px 0; font-family: var(--font-serif); font-size: 23px; line-height: 1.4; }
.news-card p { color: var(--steel-600); font-size: 14px; }

.gallery-grid { grid-template-columns: repeat(2, 1fr); }
.gallery-item { margin: 0; padding: 16px; background: var(--white); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--paper); }
.gallery-item figcaption { margin-top: 12px; color: var(--steel-600); font-size: 13px; }
.gallery-thumbnails { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.gallery-thumbnail { width: 76px; height: 76px; padding: 4px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.gallery-thumbnail[aria-selected="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.gallery-thumbnail img { width: 100%; height: 100%; object-fit: contain; }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.contact-panel { border-top: 1px solid var(--ink-950); }
.contact-item { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item dt { color: var(--steel-500); font-size: 13px; }
.contact-item dd { margin: 0; }
.contact-item a { color: var(--brand); }
.map-frame { overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.map-frame img { width: 100%; height: auto; min-height: 420px; object-fit: cover; }

.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 120px; width: 1px; background: var(--line); }
.timeline-item { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 62px; padding: 0 0 48px; }
.timeline-item::before { content: ""; position: absolute; top: 9px; left: 115px; width: 11px; height: 11px; border: 3px solid var(--white); border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.timeline-item time { color: var(--brand); font-weight: 700; }
.timeline-item h3 { margin: 0 0 8px; font-family: var(--font-serif); font-size: 24px; }

.detail-cta { margin-top: 56px; padding: 38px; color: #fff; background: var(--ink-900); }
.detail-cta h2, .detail-cta h3 { margin: 0 0 12px; font-family: var(--font-serif); font-size: 30px; }
.detail-cta p { color: rgba(255, 255, 255, 0.72); }
.detail-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Public subpage component contract */
.page-hero--compact { padding-block: 92px 84px; }
.page-hero__inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: 64px;
}
.page-hero__main { min-width: 0; }
.page-hero__main > h1 { max-width: 940px; }
.page-hero__lede {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 17px;
}
.page-hero--article h1 { max-width: 1100px; font-size: clamp(42px, 5.2vw, 68px); }
.breadcrumb { margin: 0 0 28px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb a { color: rgba(255, 255, 255, 0.82); }

.detail-layout { grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr); }
.detail-layout--product, .detail-layout--qualification { grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.15fr); }
.detail-layout__body, .detail-layout__media { min-width: 0; }
.detail-layout__media { position: sticky; top: calc(var(--header-height) + 32px); }
.detail-layout--product .detail-aside, .detail-layout--qualification .detail-aside { position: static; }
.detail-layout--company .detail-layout__media { order: 2; }

.media-frame { position: relative; }
.media-frame figcaption {
    padding: 13px 16px;
    color: var(--steel-600);
    background: var(--white);
    border-top: 1px solid var(--line);
    font-size: 13px;
}
.media-frame--cover img { aspect-ratio: 3 / 2; object-fit: cover; }
.media-frame--contain img { aspect-ratio: 4 / 3; object-fit: contain; }
.media-frame--brand img { aspect-ratio: 5 / 2; padding: 32px; object-fit: contain; background: var(--white); }
.media-frame--certificate img, .qualification-card__media img { aspect-ratio: 3 / 4; object-fit: contain; }
.media-frame--primary img { aspect-ratio: 4 / 3; }
.media-frame--map img { aspect-ratio: 4 / 3; object-fit: cover; }
.media-placeholder--large { min-height: 420px; }
.media-placeholder--brand { min-height: 300px; color: #fff; background: var(--ink-900); font-family: var(--font-serif); font-size: 28px; }
.media-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; padding: 1px; background: var(--line); }
.media-strip > img { width: 100%; aspect-ratio: 1; padding: 8px; object-fit: contain; background: var(--white); }
.media-strip--product { display: flex; padding: 0; background: transparent; }

.prose--lead { margin-top: 48px; }
.prose-section { margin-top: 52px; padding-top: 42px; border-top: 1px solid var(--line); }
.prose-section > h2, .article-detail__body > h2 {
    margin: 0 0 24px;
    font-family: var(--font-serif);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.3;
}

.meta-list--facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 42px;
    border-left: 1px solid var(--line);
}
.meta-list--facts > div { display: block; padding: 24px; border-right: 1px solid var(--line); }
.meta-list--facts dd { margin-top: 8px; font-family: var(--font-serif); font-size: 24px; }
.meta-list--service { margin: 28px 0; }
.meta-list--service > div { grid-template-columns: 94px 1fr; padding-block: 14px; }
.meta-list--compact { margin-top: 18px; }
.meta-list--compact > div { grid-template-columns: 86px 1fr; gap: 12px; padding-block: 10px; }
.meta-list--compact dd { font-size: 13px; }
.meta-list--inline { display: flex; flex-wrap: wrap; gap: 8px 28px; border: 0; }
.meta-list--inline > div { display: flex; grid-template-columns: none; gap: 7px; padding: 0; border: 0; }
.meta-list--inline dt, .meta-list--inline dd { font-size: 12px; font-weight: 500; }
.meta-list--light { border-color: rgba(255, 255, 255, 0.24); }
.meta-list--light > div { border-color: rgba(255, 255, 255, 0.18); }
.meta-list--light dt { color: rgba(255, 255, 255, 0.58); }
.meta-list--light dd { color: #fff; }

.filter-bar { justify-content: flex-start; }
.filter-bar__link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid var(--line);
    text-decoration: none;
}
.filter-bar__link:hover, .filter-bar__link.is-active, .filter-bar__link[aria-current="page"] { color: #fff; border-color: var(--ink-950); background: var(--ink-950); }
.pagination { display: block; }
.pagination ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pagination__ellipsis { border-color: transparent !important; }
.empty-state h3 { margin-bottom: 10px; color: var(--ink-950); font-family: var(--font-serif); font-size: 27px; }
.empty-state--compact { padding: 36px 24px; }

.related-grid--media { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related-grid--navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card, .qualification-card { overflow: hidden; }
.product-card__link, .qualification-card__link {
    min-height: 100%;
    display: flex;
    flex: 1;
    flex-direction: column;
    color: var(--ink-950);
    text-decoration: none;
}
.product-card__body > .card-action, .qualification-card__body > .card-action { margin-top: auto; padding-top: 20px; }
.product-card:focus-within, .qualification-card:focus-within { position: relative; z-index: 1; }

.editorial-list--business, .editorial-list--compact, .editorial-list--process, .editorial-list--news { margin: 0; padding: 0; list-style: none; }
.editorial-list--business { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.editorial-item--feature { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); min-height: 540px; background: var(--white); }
.editorial-item--feature .editorial-item__media { min-height: 540px; border: 0; }
.editorial-item--feature .editorial-item__media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.editorial-item--feature .editorial-item__media figcaption { position: absolute; right: 0; bottom: 0; left: 0; color: #fff; background: rgba(7, 19, 31, 0.86); border: 0; }
.editorial-item--feature .editorial-item__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 5vw, 68px); }
.editorial-item--reverse .editorial-item__media { order: 2; }
.editorial-item__number { margin-bottom: 12px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; }
.editorial-item__content h3 { margin: 0 0 18px; font-family: var(--font-serif); font-size: clamp(30px, 3.6vw, 48px); line-height: 1.24; }
.editorial-item__content > p:not(.card-kicker, .editorial-item__number) { color: var(--steel-600); }
.editorial-item__content .text-link { align-self: flex-start; }

.editorial-list--compact, .editorial-list--process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line-dark);
    background: var(--line-dark);
}
.editorial-list--compact .editorial-item, .editorial-list--process .editorial-item { min-width: 0; padding: 34px; background: var(--ink-900); }
.editorial-list--process { border-color: var(--line); background: var(--line); }
.editorial-list--process .editorial-item { background: var(--white); }
.editorial-list--compact h3, .editorial-list--process h3 { margin: 12px 0; font-size: 24px; }
.editorial-list--compact p { color: rgba(255, 255, 255, 0.67) !important; }

.editorial-list--news { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--ink-950); }
.editorial-item--news { display: grid; grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr); min-height: 320px; border-bottom: 1px solid var(--line); }
.editorial-item__media-link { display: block; min-width: 0; text-decoration: none; }
.editorial-item--news .editorial-item__media { height: 100%; border: 0; }
.editorial-item--news .editorial-item__media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.editorial-item--news .editorial-item__content { display: flex; flex-direction: column; justify-content: center; padding: 42px 48px; background: var(--white); }
.editorial-item--news h3 { font-size: clamp(27px, 3vw, 38px); }
.editorial-item--news h3 a { text-decoration: none; }
.editorial-item--news .text-link { margin-top: 22px; }

.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.capability-panel { min-width: 0; padding: 38px; background: var(--white); }
.capability-panel__index { color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; }
.capability-panel h3 { margin: 18px 0 22px; font-family: var(--font-serif); font-size: 28px; line-height: 1.3; }
.check-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 23px; color: var(--steel-600); }
.check-list li::before { position: absolute; top: 0.72em; left: 0; width: 9px; height: 2px; content: ""; background: var(--brand); }

.timeline-list { margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.28); list-style: none; }
.timeline-list li { display: grid; grid-template-columns: 130px 1fr; gap: 48px; padding: 30px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.timeline-list time { color: #ffaaa5; font-family: var(--font-serif); font-size: 30px; }
.timeline-list h3 { margin: 0 0 6px; font-family: var(--font-serif); font-size: 25px; }
.timeline-list p { margin: 0; color: rgba(255, 255, 255, 0.68); }
.value-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--ink-950); border-left: 1px solid var(--line); }
.value-list > div { min-height: 190px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-list dt { color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; }
.value-list dd { margin-top: 20px; font-family: var(--font-serif); font-size: 25px; line-height: 1.5; }

.contact-card, .contact-notice, .contact-preparation { margin-top: 32px; padding: 30px; border: 1px solid var(--line); background: var(--white); }
.contact-card { border-top: 4px solid var(--brand); }
.contact-card h2, .contact-notice h3, .contact-preparation h3 { margin: 0 0 12px; font-family: var(--font-serif); font-size: 27px; line-height: 1.35; }
.contact-card > p:not(.section-kicker), .contact-notice p { color: var(--steel-600); }
.contact-card .button { margin-top: 10px; }
.contact-card.detail-cta { color: #fff; background: var(--ink-900); }
.contact-card.detail-cta > p:not(.section-kicker) { color: rgba(255, 255, 255, 0.72); }
.contact-details { font-style: normal; }
.meta-list--contact > div { grid-template-columns: 116px 1fr; }
.meta-list--contact dd { display: grid; justify-items: start; gap: 6px; }
.contact-notice { background: var(--brand-soft); border-color: #e6beb9; }
.contact-preparation { padding: 0; border: 0; background: transparent; }
.map-link { display: block; color: inherit; text-decoration: none; }
.map-link:hover figcaption { color: var(--brand); }

.cta-panel, .action-bar { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta-panel { margin-top: 72px; padding: 44px 48px; }
.cta-panel--dark { color: #fff; background: var(--ink-900); }
.cta-panel--light { border: 1px solid var(--line); background: var(--white); }
.cta-panel__content { max-width: 760px; }
.cta-panel h2, .action-bar h2 { margin: 0; font-family: var(--font-serif); font-size: clamp(30px, 3.3vw, 44px); line-height: 1.25; }
.cta-panel p:not(.section-kicker) { margin: 12px 0 0; color: var(--steel-600); }
.cta-panel--dark p:not(.section-kicker) { color: rgba(255, 255, 255, 0.7); }
.action-bar__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.action-bar--footer { margin-top: 72px; padding-top: 52px; border-top: 1px solid rgba(255, 255, 255, 0.2); }

.article-layout { width: min(calc(100% - 64px), 980px); }
.article-detail__header { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article-detail__cover { margin-top: 40px; }
.article-detail__cover img { aspect-ratio: 5 / 3; }
.article-summary { margin: 40px 0; padding: 28px 32px; border-left: 4px solid var(--brand); background: var(--white); }
.article-summary p { margin: 0; color: var(--ink-700); font-family: var(--font-serif); font-size: 21px; line-height: 1.8; }
.article-detail__body { margin-top: 52px; }
.prose--article { max-width: none; }
.article-navigation { margin-top: 80px; padding-top: 42px; border-top: 1px solid var(--ink-950); }
.article-navigation > h2 { margin: 0 0 24px; font-family: var(--font-serif); font-size: 30px; }
.article-navigation__link { min-height: 180px; display: flex; flex-direction: column; padding: 28px; background: var(--white); text-decoration: none; }
.article-navigation__link strong { font-family: var(--font-serif); font-size: 22px; line-height: 1.45; }
.article-navigation__link .card-action { margin-top: auto; padding-top: 18px; }
.article-navigation__link--next { text-align: right; }
.article-navigation__link--next .card-action { align-self: flex-end; }

/* Footer */
.site-footer { padding: 72px 0 28px; color: rgba(255, 255, 255, 0.74); background: var(--ink-950); }
.site-footer__grid { display: grid; grid-template-columns: 1.12fr 0.7fr 0.8fr; gap: 80px; }
.footer-brandline { display: flex; align-items: center; gap: 16px; color: #fff; }
.footer-brandline img { width: 50px; height: 50px; object-fit: contain; background: #fff; }
.footer-brandline h2 { margin: 0; font-family: var(--font-serif); font-size: 19px; line-height: 1.45; }
.site-footer__brand p { font-size: 14px; }
.site-footer__nav h2, .site-footer__contact h2 { margin: 0 0 18px; color: #fff; font-size: 13px; letter-spacing: 0.12em; }
.site-footer__nav > div { display: grid; grid-template-columns: repeat(2, max-content); gap: 4px 28px; }
.site-footer__nav a { min-height: 44px; display: flex; align-items: center; color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__contact p { margin: 0 0 10px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 12px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer__record { color: inherit; text-decoration: none; }
.site-footer__record:hover { text-decoration: underline; text-underline-offset: 3px; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; background: var(--ink-900); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 0.2s ease, transform 0.2s ease; }
.back-to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.68s ease, transform 0.68s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (min-width: 1440px) {
    :root { --container: 1320px; }
    .home-hero__inner { padding-block: 126px 82px; }
}

@media (max-width: 1180px) {
    .site-nav__links { gap: 18px; }
    .site-nav__cta { display: none; }
    .home-hero__inner { grid-template-columns: 1fr 0.58fr; gap: 46px; }
    header.section-intro, .home-proof__grid, .home-company__grid, .home-news__grid { gap: 64px; }
    header.section-heading--split { gap: 52px; }
    .service-index__item { grid-template-columns: 70px 0.7fr 1fr 60px; gap: 24px; }
    .feature-story__content { padding: 52px; }
    .editorial-item--news .editorial-item__content { padding: 36px 40px; }
    .site-footer__grid { gap: 52px; }
}

@media (max-width: 1024px) {
    .site-nav__links { gap: 14px; }
    .site-brand__name span { display: none; }
    .product-grid, .qualification-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .detail-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
    .data-grid, .metric-grid, .meta-list--facts { grid-template-columns: repeat(2, 1fr); }
    .editorial-list--compact, .editorial-list--process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .related-grid--media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
    :root { --header-height: 76px; }
    .site-nav__links, .site-nav__cta { display: none; }
    .site-menu-toggle { display: block; }
    .home-hero { min-height: 680px; }
    .home-hero__inner { grid-template-columns: 1fr; padding-block: 88px 56px; }
    .home-hero__ledger { grid-template-columns: repeat(3, 1fr); }
    .home-hero__ledger > div { grid-template-columns: 1fr; gap: 8px; padding: 18px 16px; border-right: 1px solid rgba(255, 255, 255, 0.22); }
    .home-hero__ledger > div:last-child { border-right: 0; }
    header.section-intro { grid-template-columns: 1fr; gap: 30px; }
    .service-index__item { grid-template-columns: 56px 1fr 50px; }
    .service-index__description { grid-column: 2 / 3; }
    .service-index__arrow { grid-column: 3; grid-row: 1 / 3; }
    .home-proof__grid, .home-company__grid, .home-news__grid, .split-layout, .contact-grid { grid-template-columns: 1fr; }
    .home-proof__certificates { max-width: 720px; }
    .feature-story { grid-template-columns: 1fr; }
    .feature-story__media { min-height: 420px; }
    .home-product-grid { grid-template-columns: repeat(2, 1fr); }
    .home-product-card:last-child { grid-column: 1 / -1; }
    .home-news__heading { position: static; }
    .contact-band__inner { grid-template-columns: 1fr; gap: 40px; }
    .contact-band__actions { justify-content: flex-start; }
    .page-hero__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .breadcrumb { margin-bottom: 24px; }
    header.section-heading--split { grid-template-columns: 1fr; gap: 24px; }
    header.section-heading--split .section-intro { max-width: 760px; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-aside, .detail-layout__media { position: static; }
    .detail-layout--company .detail-layout__media { order: 0; }
    .business-item { grid-template-columns: 1fr; }
    .business-item:nth-child(even) .business-item__media { order: 0; }
    .business-item__media { min-height: 360px; }
    .site-footer__grid { grid-template-columns: 1fr 0.8fr; }
    .site-footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .container { width: min(calc(100% - 40px), var(--container)); }
    .section { padding: 82px 0; }
    .section--compact { padding-block: 62px; }
    header.section-intro, .section-head, header.section-heading { margin-bottom: 44px; }
    .section-head--spread { display: grid; }
    .home-hero { min-height: 700px; }
    .home-hero__image { object-position: 58% center; }
    .home-hero__inner { padding-block: 76px 42px; }
    .home-hero h1 { font-size: clamp(43px, 12.5vw, 64px); }
    .home-hero__lead { font-size: 16px; }
    .home-hero__ledger { margin-top: 12px; }
    .home-hero__ledger strong { font-size: 28px; }
    .home-hero__ledger span { font-size: 11px; }
    .service-index__item { min-height: 138px; gap: 16px; }
    .service-index__item:hover { padding-left: 0; }
    .service-index__item strong { font-size: 28px; }
    .home-proof__certificates { min-height: 0; grid-template-columns: 1fr 1fr; }
    .certificate-preview img { height: 330px; }
    .certificate-preview--secondary img { height: 260px; }
    .feature-story__content { padding: 40px 28px; }
    .home-product-grid { grid-template-columns: 1fr; }
    .home-product-card:last-child { grid-column: auto; }
    .home-company__metrics { grid-template-columns: 1fr; }
    .home-company__metrics > div:nth-child(odd), .home-company__metrics > div:nth-child(even) { padding: 26px 0; border-right: 0; }
    .editorial-list__item { grid-template-columns: 94px 1fr 24px; gap: 16px; }
    .page-hero { padding: 82px 0 70px; }
    .page-hero h1 { font-size: clamp(42px, 11vw, 58px); }
    .product-grid, .qualification-grid, .related-grid, .gallery-grid { grid-template-columns: 1fr; }
    .editorial-item--feature, .editorial-item--news { grid-template-columns: 1fr; }
    .editorial-item--feature .editorial-item__media { min-height: 340px; }
    .editorial-item--reverse .editorial-item__media { order: 0; }
    .editorial-item--news .editorial-item__media { min-height: 280px; }
    .editorial-item--news .editorial-item__content { padding: 34px 28px; }
    .capability-grid, .value-list { grid-template-columns: 1fr; }
    .cta-panel, .action-bar { align-items: flex-start; flex-direction: column; }
    .cta-panel { padding: 36px 30px; }
    .action-bar__links { justify-content: flex-start; }
    .article-layout { width: min(calc(100% - 40px), 980px); }
    .news-card { grid-template-columns: 150px 1fr; }
    .business-item__body { padding: 38px 26px; }
    .data-grid, .metric-grid { grid-template-columns: 1fr; }
    .contact-grid { gap: 48px; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 42px; }
    .site-footer__contact { grid-column: auto; }
    .site-footer__bottom { display: grid; }
}

@media (max-width: 520px) {
    .container { width: min(calc(100% - 32px), var(--container)); }
    :root { --header-height: 70px; }
    .site-brand__mark, .site-brand__fallback { width: 39px; height: 40px; }
    .site-brand__name strong { font-size: 15px; }
    .site-mobile-nav { padding-inline: 20px; }
    .home-hero { min-height: 730px; }
    .home-hero__image { object-position: 64% center; }
    .home-hero__inner { padding-block: 62px 34px; }
    .home-hero__actions { display: grid; }
    .home-hero__actions .button { width: 100%; }
    .home-hero__ledger { grid-template-columns: 1fr; }
    .home-hero__ledger > div { grid-template-columns: 82px 1fr; border-right: 0; }
    .service-index__item { grid-template-columns: 42px 1fr 26px; }
    .service-index__description { font-size: 14px; }
    .home-proof__certificates { grid-template-columns: 1fr; }
    .certificate-preview img, .certificate-preview--secondary img { height: 360px; }
    .feature-story__media { min-height: 300px; }
    .home-product-card__body { padding: 24px; }
    .home-company__grid, .home-news__grid { gap: 44px; }
    .editorial-list__item { grid-template-columns: 1fr 24px; }
    .editorial-list__item time { grid-column: 1; }
    .editorial-list__item h3 { grid-column: 1; }
    .editorial-list__item > span { grid-column: 2; grid-row: 1 / 3; }
    .contact-band { padding: 80px 0; }
    .contact-band__actions { display: grid; }
    .news-card { grid-template-columns: 1fr; }
    .news-card__media { aspect-ratio: 16 / 9; }
    .meta-list > div, .contact-item { grid-template-columns: 1fr; gap: 5px; }
    .meta-list--facts { grid-template-columns: 1fr; }
    .meta-list--inline { display: grid; grid-template-columns: 1fr 1fr; }
    .meta-list--inline > div { display: flex; }
    .editorial-list--compact, .editorial-list--process { grid-template-columns: 1fr; }
    .editorial-item--feature .editorial-item__content { padding: 34px 24px; }
    .editorial-item--feature .editorial-item__media { min-height: 270px; }
    .timeline-list li { grid-template-columns: 1fr; gap: 8px; }
    .timeline-list time { font-size: 25px; }
    .cta-panel { margin-top: 52px; padding: 30px 22px; }
    .cta-panel .button, .action-bar__links, .action-bar__links .button { width: 100%; }
    .article-layout { width: min(calc(100% - 32px), 980px); }
    .article-summary { padding: 22px; }
    .related-grid--navigation { grid-template-columns: 1fr; }
    .timeline::before { left: 6px; }
    .timeline-item { grid-template-columns: 1fr; gap: 8px; padding-left: 34px; }
    .timeline-item::before { left: 1px; }
    .site-footer__nav > div { grid-template-columns: 1fr 1fr; }
    .back-to-top { right: 16px; bottom: 16px; }
}

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

@media print {
    .site-header, .site-footer, .contact-band, .back-to-top, .button { display: none !important; }
    body { color: #000; background: #fff; }
    .section, .page-hero { padding: 28px 0; color: #000; background: #fff; }
    a { text-decoration: none; }
}
