:root {
  --ink: #152022;
  --muted: #536165;
  --line: #d9e0df;
  --paper: #eff3f1;
  --blue: #285ee1;
  --orange: #ee5839;
}

body { background: #f9faf8; }
h1, h2, h3, .brand-name { font-family: 'Space Grotesk', 'Microsoft YaHei', sans-serif; letter-spacing: 0; }
.site-header { background: rgba(250, 251, 249, .97); }
.header-inner, .section-shell, .category-inner, .footer-main, .footer-bottom { max-width: 1600px; }
.header-inner { height: 76px; }
.brand-name { font-weight: 700; }
.primary-nav a { transition: color .18s ease, border-color .18s ease; }
.primary-nav a:hover { color: var(--orange); }
.quote-button, .button-dark { transition: background .18s ease, transform .18s ease; }
.quote-button:hover, .button-dark:hover { background: #2b4145; transform: translateY(-2px); }
.quote-button svg, .button-dark svg { flex: none; }

.editorial-hero {
  height: min(650px, calc(100svh - 150px));
  min-height: 460px;
  background: #171b1d;
}
.hero-picture { position: absolute; inset: 0; display: block; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 51%; animation: photo-arrive 1.1s cubic-bezier(.2,.8,.2,1) both; }
.editorial-hero .hero-shade { background: rgba(4, 8, 10, .24); }
.editorial-hero .hero-content { max-width: 1600px; padding: 38px clamp(20px, 4vw, 56px) 46px; justify-content: space-between; }
.hero-overline { display: flex; justify-content: space-between; gap: 20px; width: 100%; font-size: .86rem; font-weight: 700; }
.hero-overline span:last-child { text-align: right; }
.hero-message { max-width: 780px; }
.editorial-hero .hero-content h1 { max-width: none; margin: 0 0 27px; color: #fff; font-size: 8rem; font-weight: 700; line-height: .82; animation: type-arrive .72s .14s ease-out both; }
.hero-bottom-row { display: flex; align-items: flex-end; gap: clamp(24px, 4vw, 65px); }
.editorial-hero .hero-content p { max-width: 325px; flex: 1; margin: 0; color: #f4f6f5; font-size: 1rem; line-height: 1.48; }
.editorial-hero .hero-actions { flex: none; gap: 9px; }
.editorial-hero .hero-actions a { min-height: 48px; padding: .82rem 1rem; }
.editorial-hero .button-light { background: #f8faf8; }
.editorial-hero .button-light:hover { background: #fff; transform: translateY(-2px); }
.editorial-hero .button-outline:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.editorial-hero .button-light, .editorial-hero .button-outline { transition: transform .18s ease, background .18s ease; }
.hero-action-short { display: none; }

.category-rail { background: #f9faf8; }
.category-inner { gap: 2.5rem; }
.category-inner a { padding: 1.15rem 0; font-size: .86rem; }
.home-products { padding: 88px 0 106px; }
.home-products .section-heading { margin-bottom: 33px; }
.home-products .section-heading h2 { font-size: 3.5rem; line-height: 1; }
.home-products .section-heading p { margin-top: .85rem; max-width: 38rem; }
.text-link, .story-link { color: var(--blue); transition: color .18s ease; }
.text-link svg, .story-link svg { transition: transform .18s ease; }
.text-link:hover svg, .story-link:hover svg { transform: translate(3px, -3px); }
.home-products .product-grid { gap: 38px 20px; }
.product-card { background: transparent; }
.product-image { border-radius: 0; background: #edf0ee; border: 1px solid #e5eae8; }
.product-image img { transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-card h3 { font-size: 1.05rem; }
.product-meta { margin-top: .95rem; }
.card-actions { min-height: 42px; }
.card-actions button { display: inline-flex; align-items: center; gap: .25rem; min-height: 34px; }
.card-actions button svg { width: .95rem; height: .95rem; }
.card-actions button.is-added { color: #28734c; }
.action-label-short { display: none; }

.story-band { display: grid; grid-template-columns: 55fr 45fr; background: #e9eeec; min-height: 580px; }
.story-image { min-height: 580px; overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.story-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(48px, 6vw, 108px); }
.story-rule { width: 56px; height: 5px; margin-bottom: 55px; background: var(--orange); }
.story-copy h2 { max-width: 11ch; font-size: 4rem; line-height: 1.04; margin: 0 0 28px; }
.story-copy p { max-width: 440px; color: var(--muted); font-size: 1.05rem; margin-bottom: 35px; }
.story-link { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 7px; }

.page-top { background: #f0f3f1; padding: 58px 0 46px; }
.page-top h1 { font-size: 3.55rem; }
.eyebrow { color: #b84029; }
.catalog-section { padding-bottom: 100px; }
.detail-layout { align-items: start; }
.detail-info { position: sticky; top: 112px; }
.detail-main-image, .about-visual img { border-radius: 0; }
.detail-editorial { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: clamp(38px, 6vw, 100px); border-top: 1px solid var(--line); padding: 58px 0 80px; }
.detail-section-nav { position: sticky; top: 108px; align-self: start; display: grid; gap: 2px; }
.detail-section-nav span { color: var(--muted); font-size: .76rem; font-weight: 700; text-transform: uppercase; margin-bottom: 21px; }
.detail-section-nav a { border-left: 2px solid var(--line); padding: 11px 16px; color: var(--muted); font-size: .9rem; font-weight: 700; transition: color .2s, border-color .2s; }
.detail-section-nav a:hover, .detail-section-nav a:focus-visible { color: var(--ink); border-color: var(--orange); }
.detail-editorial-body { min-width: 0; max-width: 980px; }
.detail-story, .detail-technical, .detail-inquiry-band { scroll-margin-top: 110px; }
.detail-section-number { display: block; color: #b84029; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 19px; }
.detail-inquiry-band .detail-section-number { color: #ff977e; }
.detail-story h2, .detail-technical h2 { font-size: clamp(2rem, 2.6vw, 3rem); margin-bottom: 24px; }
.detail-story > p { max-width: 66ch; color: var(--muted); font-size: 1.05rem; white-space: pre-wrap; }
.detail-image-stack { margin: 32px 0 0; background: #fff; }
.detail-image-stack figure { margin: 0; }
.detail-image-stack img { width: 100%; height: auto; }
.detail-image-stack figcaption { padding: 9px 2px 19px; color: var(--muted); font-size: .72rem; text-align: right; }
.detail-technical { border-top: 1px solid var(--line); padding-top: 55px; margin-top: 62px; }
.detail-editorial-body > .detail-technical:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.detail-story:has(.detail-image-stack) + .detail-technical { margin-top: 70px; }
.detail-technical dl { margin: 0; border-top: 1px solid var(--line); }
.detail-technical dl > div { display: grid; grid-template-columns: minmax(140px, .32fr) minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.detail-technical dt { color: var(--muted); }
.detail-technical dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.detail-technical > p { color: var(--muted); font-size: .85rem; margin: 20px 0 0; }
.detail-inquiry-band { background: var(--ink); color: #fff; padding: clamp(34px, 5vw, 68px); display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 92px; }
.detail-inquiry-band h2 { font-size: clamp(2rem, 3vw, 3.5rem); margin-bottom: 13px; }
.detail-inquiry-band p { max-width: 57ch; color: #c6d0ce; margin: 0; }
.detail-inquiry-band .button-light { flex: none; }
.form-panel { background: #edf2ef; }
.about-values { background: #edf2ef; }

.site-footer { background: #152022; overflow: hidden; }
.footer-main { padding-top: 78px; padding-bottom: 70px; }

@keyframes photo-arrive { from { opacity: .6; transform: scale(1.055); } to { opacity: 1; transform: scale(1); } }
@keyframes type-arrive { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1180px) {
  .editorial-hero .hero-content h1 { font-size: 6.3rem; }
  .hero-bottom-row { display: block; }
  .editorial-hero .hero-content p { max-width: 500px; margin-bottom: 18px; }
  .story-copy { padding: 55px; }
  .story-copy h2 { font-size: 3.25rem; }
}
@media (max-width: 760px) {
  .header-inner { height: 66px; }
  .editorial-hero { height: min(590px, calc(100svh - 140px)); min-height: 430px; }
  .hero-photo { object-position: center center; }
  .editorial-hero .hero-shade { background: rgba(4, 8, 10, .19); }
  .editorial-hero .hero-content { padding: 24px 20px 30px; }
  .hero-overline { font-size: .76rem; }
  .editorial-hero .hero-content h1 { font-size: 5.1rem; margin-bottom: 22px; }
  .editorial-hero .hero-message { text-shadow: 0 3px 20px rgba(0,0,0,.46); }
  .editorial-hero .hero-actions { text-shadow: none; }
  .editorial-hero .hero-content p { max-width: 440px; }
  .story-band { grid-template-columns: 1fr; }
  .story-image { height: 380px; min-height: 0; }
  .story-copy { min-height: 390px; }
  .detail-info { position: static; }
  .detail-layout { padding-bottom: 56px; }
  .detail-editorial { grid-template-columns: 1fr; gap: 32px; padding: 0 0 64px; }
  .detail-section-nav { position: sticky; top: 66px; z-index: 10; display: flex; gap: 0; overflow-x: auto; align-self: stretch; background: #f9faf8; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .detail-section-nav::-webkit-scrollbar { display: none; }
  .detail-section-nav span { display: none; }
  .detail-section-nav a { flex: none; border-left: 0; border-bottom: 2px solid transparent; padding: 16px 17px; white-space: nowrap; }
  .detail-section-nav a:hover, .detail-section-nav a:focus-visible { border-color: var(--orange); }
  .detail-story, .detail-technical, .detail-inquiry-band { scroll-margin-top: 135px; }
  .detail-inquiry-band { align-items: start; flex-direction: column; }
  .home-products { padding: 60px 0 75px; }
  .home-products .section-heading h2 { font-size: 2.7rem; }
}
@media (max-width: 520px) {
  .editorial-hero { height: min(560px, calc(100svh - 130px)); min-height: 440px; }
  .hero-photo { object-position: center center; }
  .hero-overline span:last-child { display: none; }
  .editorial-hero .hero-content h1 { font-size: 4.3rem; margin-bottom: 20px; }
  .editorial-hero .hero-content p { font-size: .93rem; margin-bottom: 20px; }
  .editorial-hero .hero-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .editorial-hero .hero-actions a { width: auto; padding: .65rem .7rem; font-size: .8rem; text-align: center; }
  .editorial-hero .hero-actions svg { display: none; }
  .home-products .section-heading { align-items: flex-start; }
  .home-products .section-heading h2 { font-size: 2.3rem; }
  .home-products .section-heading .text-link { font-size: .78rem; }
  .home-products .product-grid { gap: 27px 12px; }
  .product-meta { font-size: .7rem; }
  .card-actions button { gap: .1rem; padding: .25rem 0; }
  .card-actions button svg { width: .85rem; }
  .card-actions a { white-space: nowrap; }
  .action-label { display: none; }
  .action-label-short { display: inline; }
  .story-image { height: 310px; }
  .story-copy { min-height: 0; padding: 50px 20px 66px; }
  .story-rule { margin-bottom: 38px; }
  .story-copy h2 { font-size: 2.7rem; }
  .story-copy p { font-size: .98rem; }
  .page-top h1 { font-size: 2.65rem; }
  .detail-editorial { gap: 26px; padding-bottom: 48px; }
  .detail-story h2, .detail-technical h2 { font-size: 2rem; }
  .detail-technical { margin-top: 45px; padding-top: 38px; }
  .detail-technical dl > div { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; font-size: .9rem; }
  .detail-inquiry-band { padding: 32px 24px; margin: 0 -20px 64px; }
  .detail-inquiry-band .button-light { width: 100%; }
}
@media (max-width: 360px) {
  .editorial-hero .hero-content h1 { font-size: 3.45rem; }
  .editorial-hero .hero-content p { font-size: .88rem; margin-bottom: 15px; }
  .hero-action-full { display: none; }
  .hero-action-short { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo, .editorial-hero .hero-content h1 { animation: none; }
}
