:root {
  --paper: #f3f2ef;
  --white: #fff;
  --ink: #191b1d;
  --muted: #55595a;
  --line: #deddd7;
  --accent: #ff6634;
  --accent-hover: #f25423;
  --accent-text: #9c350e;
  --shell: 1240px;
  --gutter: clamp(20px, 4.5vw, 64px);
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background-color: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 0; font-size: 1rem; line-height: 1.6; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.052em; }
h1, h2 { font-weight: 760; }
a { color: inherit; }
button, select, input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #236ea3; outline-offset: 4px; }
.hero :focus-visible, .footer :focus-visible { outline-color: #fff; }
.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: clamp(58px, 7vw, 104px); }
.section h2 { font-size: clamp(2.15rem, 4vw, 3.9rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 20; padding: 11px 16px; background: var(--white); transform: translateY(-160%); }
.skip:focus { transform: none; }

.top { position: relative; z-index: 2; background: var(--white); border-bottom: 1px solid #2222; }
.top-inner { display: grid; grid-template-columns: auto 1fr auto; min-height: 77px; align-items: center; gap: clamp(18px, 2.4vw, 35px); }
.brand { display: inline-flex; align-items: center; width: fit-content; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; position: relative; display: block; background: var(--accent); border-radius: 4px; flex: none; }
.brand-mark::before, .brand-mark::after { position: absolute; content: ""; left: 9px; right: 9px; height: 9px; border: 2px solid #17191b; border-top: 0; border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.brand-mark::before { top: 9px; }
.brand-mark::after { top: 18px; }
.brand-name { font-size: 1.44rem; line-height: 1; font-weight: 760; letter-spacing: -.063em; }
.brand-name span { font-weight: 550; }
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.8vw, 28px); }
.nav a, .footer-link { font-size: .94rem; font-weight: 620; text-decoration: none; }
.nav a:hover, .footer-link:hover { text-decoration: underline; text-underline-offset: .3em; }
.nav a[aria-current="page"] { color: var(--accent-text); }
.nav-request, .menu-toggle:not([hidden]) { display: none; }
.top-action { justify-self: end; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 21px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: .95rem; line-height: 1.3; font-weight: 700; text-align: center; text-decoration: none; transition: background-color .18s ease, border-color .18s ease; }
.button:disabled { cursor: default; opacity: .65; }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: #373c40; }
.button-primary { background: var(--accent); color: #141414; }
.button-primary:hover { background: var(--accent-hover); }
.button-ghost { background: #17191b66; border-color: #ffffff70; color: var(--white); }
.button-ghost:hover { background: #ffffff25; border-color: var(--white); }
.button-outline { border-color: #a4a8aa; background: var(--white); }
.button-outline:hover { background: #e8e7e2; }

.hero { position: relative; display: grid; align-items: center; min-height: clamp(540px, 48vw, 670px); isolation: isolate; overflow: clip; background: #1b1d20; color: var(--white); }
.hero-media, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; }
.hero::after { content: ""; background: linear-gradient(90deg, #121417 0%, #121417f2 13%, #121417c9 33%, #12141753 55%, #12141708 82%); }
.hero-inner { padding-block: 74px 87px; }
.hero-content { max-width: 650px; }
.hero-label { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; font-size: .87rem; font-weight: 660; letter-spacing: .085em; text-transform: uppercase; color: #f3e8e2; }
.hero-label span { color: var(--accent); }
.hero h1 { font-size: clamp(3.35rem, 6.1vw, 5.25rem); line-height: .99; letter-spacing: -.065em; }
.hero h1 span { color: var(--accent); }
.hero-desc { max-width: 450px; margin-top: 26px; font-size: clamp(1.05rem, 1.55vw, 1.28rem); line-height: 1.55; color: #dedede; }
.hero-actions, .result-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions { margin-top: 33px; }

.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: end; margin-bottom: 34px; }
.section-head > p { max-width: 410px; color: var(--muted); justify-self: end; }
.catalog .section-head h2 { font-size: clamp(2.15rem, 3.9vw, 3.35rem); text-wrap: balance; }
.catalog-index { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.catalog-index a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 15px; border: 1px solid #c9cac4; border-radius: 4px; color: #24292c; background: #fafaf8; font-size: .92rem; font-weight: 650; text-decoration: none; }
.catalog-index a:hover, .catalog-index a:focus-visible { background: #fae7dc; border-color: #ba7754; }
.catalog-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; }
.product { min-width: 0; background: var(--white); border: 1px solid #d5d7d2; border-radius: 7px; overflow: hidden; }
.product-feature { display: grid; grid-row: span 2; grid-template-rows: minmax(260px, 1fr) auto; color: #f6f6f3; background: #222629; border-color: #222629; }
.product-picture { display: grid; align-items: center; min-width: 0; background: #e1e2e1; }
.product-picture img { width: 100%; height: auto; }
.product-feature .product-picture { position: relative; min-height: 0; background: #181b1e; }
.product-feature .product-picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.product-body { display: flex; flex-direction: column; align-items: start; padding: clamp(19px, 2.35vw, 32px); }
.product-spec { margin-bottom: 9px; color: var(--accent-text); font-size: .87rem; font-weight: 700; }
.product-feature .product-spec { color: #ffab8b; }
.product h3 { margin-bottom: 11px; font-size: clamp(1.38rem, 2.22vw, 2.1rem); letter-spacing: -.045em; }
.product-feature h3 { font-size: clamp(1.9rem, 3.05vw, 2.95rem); }
.product-body > p:not(.product-spec) { margin-bottom: 17px; color: var(--muted); }
.product-feature .product-body > p:not(.product-spec) { max-width: 46ch; color: #dcdfde; }
.product-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.product-cta { min-height: 44px; margin-top: auto; }
.product-side { display: grid; grid-template-columns: minmax(124px, 40%) minmax(0, 1fr); }
.product-side .product-body { padding: clamp(16px, 1.9vw, 26px); }
.product-side .product-cta { padding-inline: 12px; }
.product-side .product-cta:hover { background: #fae7dc; border-color: #ba7754; }
.picture-note { margin-top: 12px; color: var(--muted); font-size: .86rem; }

.catalog-callout { display: flex; align-items: center; justify-content: space-between; gap: 16px 30px; flex-wrap: wrap; margin-top: 27px; padding: clamp(20px, 3vw, 37px); border: 1px solid #d9d7d0; border-left: 4px solid var(--accent); background: #fff; border-radius: 5px; }
.catalog-callout h3 { font-size: clamp(1.5rem, 2.5vw, 2.3rem); }
.catalog-callout p { margin-top: 7px; color: var(--muted); }

.page-intro { color: #fff; background: linear-gradient(113deg, #191c1f 20%, #282d30 78%, #393735); }
.page-intro h1 { max-width: 17ch; font-size: clamp(2.55rem, 6vw, 5.25rem); text-wrap: balance; }
.page-intro p { max-width: 57ch; margin-top: 17px; color: #dedfdf; font-size: clamp(1.05rem, 1.6vw, 1.24rem); }
.page-intro :focus-visible { outline-color: #fff; }
.breadcrumb { display: inline-block; margin-bottom: 19px; color: #ffba9e; font-weight: 650; text-underline-offset: 4px; }
.profile-intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(22px, 5vw, 76px); }
.profile-intro h1 { font-size: clamp(1.75rem, 5.1vw, 4.65rem); }
.profile-intro figure { margin: 0; border-radius: 6px; overflow: hidden; }
.profile-intro img { width: 100%; height: auto; }
.profile-directory { padding-block: clamp(42px, 5vw, 72px); }
.profile-links, .info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.profile-tile { display: flex; min-width: 0; flex-direction: column; border: 1px solid #d7d7d1; border-radius: 6px; background: var(--white); text-decoration: none; overflow: hidden; }
.profile-tile img { width: 100%; height: auto; aspect-ratio: 1.95; object-fit: cover; background: #e1e2e1; }
.profile-tile > div { padding: clamp(16px, 2.4vw, 27px); }
.profile-tile p { margin-bottom: 7px; color: var(--accent-text); font-size: .87rem; font-weight: 680; }
.profile-tile h3 { font-size: clamp(1.4rem, 2.45vw, 2.13rem); }
.profile-tile:hover { border-color: #9c4929; background: #fff8f4; }
.profile-tile:hover h3 { text-decoration: underline; text-underline-offset: .15em; }
.info-card { padding: clamp(18px, 2.7vw, 34px); border: 1px solid #d7d7d1; border-top: 3px solid #cc754e; border-radius: 5px; background: var(--white); }
.info-card h3 { margin-bottom: 14px; font-size: clamp(1.38rem, 2.3vw, 2rem); }
.info-card p, .article-body p, .article-body li { color: var(--muted); }
.info-card a { display: inline-block; margin-top: 13px; }
.article-body { max-width: 799px; }
.article-body h2 { margin-bottom: 20px; }
.article-body p + p { margin-top: 13px; }
.article-body li + li { margin-top: 8px; }

.size-directory { background: #e8e7e2; }
.lookup { min-width: 0; }
.lookup-controls { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, .8fr) auto; align-items: end; gap: 13px; padding: clamp(15px, 2.5vw, 29px); border: 1px solid #cfcec8; border-radius: 6px; background: #fafaf8; }
.lookup-status { margin-block: 16px; font-size: .95rem; font-weight: 650; }
.lookup-note { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 7px 16px; padding-top: 18px; color: var(--muted); }
.lookup-note p { max-width: 68ch; }
.size-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 10px; }
.size-card { min-width: 0; border: 1px solid #cfcec8; border-radius: 5px; background: var(--white); }
.size-card summary { display: flex; align-items: baseline; gap: 7px 17px; flex-wrap: wrap; padding: 15px 17px; cursor: pointer; list-style: none; }
.size-card summary::-webkit-details-marker { display: none; }
.size-card[open] summary { border-bottom: 1px solid #deded7; }
.size-card summary:hover { background: #fbf2ed; }
.size-diameter { font-size: 1.19rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.size-basis { color: var(--muted); font-size: .9rem; }
.size-expand { margin-left: auto; color: var(--accent-text); font-size: 1.22rem; }
.size-expand::before { content: "+"; }
.size-card[open] .size-expand::before { content: "−"; }
.size-restriction { margin: 12px 14px; padding-left: 10px; border-left: 2px solid #ca744f; color: #4b4540; font-size: .9rem; }
.gost-table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
.gost-table thead { background: #efefec; font-size: .9rem; }
.gost-table th, .gost-table td { padding: 6px clamp(8px, 1.5vw, 17px); border-bottom: 1px solid #e3e4de; }
.gost-table tr > :last-child { text-align: right; }
.gost-table tbody tr:hover { background: #fbf5f0; }
.size-quote { display: inline-flex; align-items: center; min-height: 44px; color: #80300f; font-weight: 700; text-underline-offset: 3px; }
.size-mass { color: #754b38; text-decoration-style: dotted; text-underline-offset: 3px; }
.size-quote:hover, .size-mass:hover { color: #3e180a; }
#lookup-more { margin-top: 14px; }

.calculator-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 18px; }
.mass-form { border: 1px solid #d5d5cd; background: #fafaf8; }
.mass-form h2, .mass-result h2 { margin-bottom: 18px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.mass-result { padding: clamp(20px, 3vw, 39px); border-radius: 6px; color: #fff; background: #24292c; }
.mass-result .plain-link { color: #ffbfa2; }
.mass-result .button { margin-top: 18px; }
.mass-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.mass-values > div { padding-top: 11px; border-top: 1px solid #6c6d6c; }
.mass-values dt, .mass-note { color: #e0dfdc; }
.mass-values dd { margin-top: 3px; font-size: clamp(1.36rem, 2.8vw, 2.15rem); font-weight: 720; overflow-wrap: anywhere; }
.mass-note { margin: 16px 0 8px; }

.selection { background: #e7e6e0; }
.selection-inner, .request-grid, .answers-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(30px, 6.35vw, 99px); align-items: start; }
.selection-intro > p, .request-intro > p { max-width: 420px; margin-top: 21px; color: var(--muted); font-size: 1.07rem; }
.plain-link { color: #7d310f; font-weight: 650; text-underline-offset: .23em; }
.selection-intro > a { display: inline-block; margin-top: 22px; }
.selection-intro > a + a { display: block; width: fit-content; margin-top: 11px; }
.plain-link:hover { color: #431802; }
.spec-list { border-top: 1px solid #b9b9b1; }
.spec-list > div { display: grid; grid-template-columns: minmax(7.7rem, .45fr) minmax(0, 1fr); gap: 16px; border-bottom: 1px solid #b9b9b1; padding-block: 21px; }
.spec-list dt { font-weight: 700; }
.spec-list dd { color: #414547; }

.request { background: #1c2022; }
.request-intro { color: var(--white); }
.request-intro > p { color: #e2e1de; }
.request-intro .request-note { margin-top: 27px; padding-left: 17px; border-left: 3px solid var(--accent); color: #c9cac9; font-size: .96rem; }
.quote { padding: clamp(20px, 3vw, 40px); background: var(--paper); border-radius: 6px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; margin-bottom: 22px; }
.field { display: flex; min-width: 0; flex-wrap: wrap; gap: 3px 8px; align-content: start; align-items: baseline; font-size: .93rem; font-weight: 700; }
.field-wide { grid-column: 1 / -1; }
.optional { font-size: .83rem; font-weight: 400; color: var(--muted); }
.quote input, .quote select, .quote textarea, .lookup input, .lookup select { width: 100%; min-width: 0; min-height: 46px; padding: 9px 10px; margin: 0; background: var(--white); border: 1px solid #aeb1b0; border-radius: 3px; font-size: 1rem; font-weight: 450; }
.quote select, .lookup select { appearance: none; padding-right: 31px; background-image: linear-gradient(45deg, transparent 50%, #555 50%), linear-gradient(135deg, #555 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.quote textarea { resize: vertical; }
.quote ::placeholder { color: #606465; opacity: 1; }
.form-note, .quote-status { margin-top: 11px; color: #505456; font-size: .87rem; }
.quote-result { margin-top: 25px; padding-top: 20px; border-top: 1px solid #bfc1be; }
.quote-result h3 { margin-bottom: 12px; font-size: 1.4rem; letter-spacing: -.031em; }
.quote-result textarea { margin-bottom: 12px; font-family: ui-monospace, Consolas, monospace; font-size: .9rem; }

.answers { background: var(--white); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; cursor: pointer; padding: 17px 38px 17px 0; font-size: 1.06rem; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; content: "+"; right: 7px; top: 14px; font-size: 1.22rem; font-weight: 450; color: var(--accent-text); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 30px 19px 0; color: var(--muted); }
.footer { background: #141719; color: #f4f4f2; }
.footer-inner { display: flex; gap: 18px 34px; align-items: center; justify-content: space-between; min-height: 110px; padding-block: 23px; }
.footer p { color: #d3d4d2; font-size: .91rem; }
.footer-link { white-space: nowrap; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-button { min-height: 44px; padding-inline: 12px; color: var(--ink); overflow-wrap: anywhere; }
.contact-panel .contact-status { margin-top: 7px; font-size: .88rem; }
.contact-panel .contact-status:empty { display: none; }

@media (max-width: 1060px) {
  .top-inner { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 18px; min-height: 64px; }
  .top .brand { min-height: 64px; }
  .top-action { display: none; }
  .menu-toggle:not([hidden]) { display: inline-flex; gap: 8px; align-items: center; min-height: 42px; padding: 6px 9px; border: 1px solid #acafad; border-radius: 3px; background: transparent; font-size: .9rem; font-weight: 650; cursor: pointer; }
  .menu-toggle span { display: block; width: 15px; height: 9px; border-top: 2px solid; border-bottom: 2px solid; }
  .nav { width: 100%; padding: 6px 0 19px; justify-content: start; flex-wrap: wrap; gap: 8px 18px; }
  .nav a { display: flex; align-items: center; min-height: 35px; }
  .menu-toggle:not([hidden]) + .nav:not(.is-open) { display: none; }
  .selection-inner, .request-grid, .answers-grid { gap: 34px; }
}

@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 15px; margin-bottom: 25px; }
  .section-head > p { justify-self: start; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-feature { grid-column: 1 / -1; grid-row: auto; grid-template-rows: auto auto; }
  .product-feature .product-picture { aspect-ratio: 1.6; }
  .product-side { display: flex; flex-direction: column; }
  .product-side .product-body { flex: 1; }
  .lookup-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lookup-controls > .field:first-child { grid-column: 1 / -1; }
  .profile-intro, .calculator-grid, .info-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-links { grid-template-columns: minmax(0, 1fr); }
  .profile-tile { display: grid; grid-template-columns: minmax(100px, 32%) minmax(0, 1fr); align-items: center; }
  .profile-tile img { height: 100%; }
  .selection-inner, .request-grid, .answers-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .hero { display: flex; align-items: end; min-height: 600px; }
  .hero-inner { padding-block: 246px 42px; }
  .hero-media img { object-position: 55% 9%; }
  .hero::after { background: linear-gradient(0deg, #121417 0%, #121417fb 23%, #121417de 46%, #12141745 75%, #12141714 100%); }
  .hero-label { margin-bottom: 20px; font-size: .78rem; gap: 7px; }
  .hero h1 { font-size: clamp(2.72rem, 9.3vw, 4.7rem); }
  .hero-desc { margin-top: 20px; }
  .hero-actions { margin-top: 24px; }
}

@media (max-width: 510px) {
  .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .product-side { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr); }
  .product-side .product-body { padding: 14px; }
  .product-side h3 { font-size: 1.35rem; }
  .product-side .product-spec { font-size: .84rem; }
  .size-grid { grid-template-columns: minmax(0, 1fr); }
  .lookup-controls { grid-template-columns: minmax(0, 1fr); }
  .lookup-controls button { justify-self: start; }
  .spec-list > div { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .footer-inner { align-items: start; flex-direction: column; }
}

@media (max-width: 390px) {
  .page-intro > .shell:not(.profile-intro) h1 { font-size: clamp(2rem, 9.2vw, 2.55rem); }
  .hero-label { letter-spacing: .05em; }
  .hero-actions .button { padding-inline: 12px; }
  .fields { grid-template-columns: 1fr; }
  .product-side { grid-template-columns: minmax(0, 29%) minmax(0, 1fr); }
  .product-side h3 { font-size: 1.24rem; }
  .profile-tile { grid-template-columns: minmax(80px, 28%) minmax(0, 1fr); }
  .profile-tile h3 { font-size: 1.26rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
