:root {
  --ink: #10161b;
  --ink-2: #1b242b;
  --paper: #f4f2ed;
  --paper-2: #ebe8e1;
  --white: #fff;
  --muted: #69737a;
  --line: rgba(16, 22, 27, .15);
  --signal: #ed4b2f;
  --signal-dark: #c8351e;
  --green: #b9dc55;
  --content: min(1320px, calc(100vw - 64px));
  --radius: 1.35rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { overflow-wrap: break-word; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 100; padding: .8rem 1rem; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header {
  width: var(--content);
  height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.4rem;
  position: relative;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { width: 28px; height: 27px; display: flex; align-items: flex-end; gap: 3px; }
.brand-mark i { display: block; width: 7px; background: var(--signal); }
.brand-mark i:nth-child(1) { height: 13px; }
.brand-mark i:nth-child(2) { height: 21px; }
.brand-mark i:nth-child(3) { height: 27px; }
.brand-name { font-size: 1.35rem; line-height: 1; }
.brand-legal { color: var(--muted); font-size: .72rem; align-self: flex-start; margin-top: .15rem; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(1rem, 2.2vw, 2rem); color: #3d474d; font-size: .9rem; }
.desktop-nav a, .text-link { position: relative; }
.desktop-nav a::after, .text-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.3rem; height: 1px; background: currentColor; transition: right .25s ease; }
.desktop-nav a:hover::after, .text-link:hover::after { right: 0; }
.header-cta { padding: .72rem 1rem; border: 1px solid var(--ink); font-size: .88rem; font-weight: 750; transition: .2s ease; }
.header-cta:hover { color: var(--white); background: var(--ink); }
.menu-toggle, .mobile-nav { display: none; }

.hero {
  width: var(--content);
  min-height: 700px;
  margin: 0 auto 1.2rem;
  padding: 44px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(500px, 1.09fr);
  gap: 4.5vw;
  align-items: center;
}
.eyebrow, .section-kicker { margin: 0 0 1.25rem; color: #4f5a61; font-size: .75rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .65rem; }
.eyebrow span { width: 30px; height: 2px; background: var(--signal); }
h1 { max-width: 680px; margin: 0; font-size: clamp(3.45rem, 5.35vw, 6.35rem); font-weight: 760; line-height: .92; letter-spacing: -.068em; }
.hero-text { max-width: 620px; margin: 1.65rem 0 0; color: #465158; font-size: 1.12rem; line-height: 1.55; }
.hero-actions { margin-top: 2rem; display: flex; align-items: center; gap: 1.65rem; }
.button { min-height: 52px; padding: .82rem 1.15rem .82rem 1.25rem; display: inline-flex; align-items: center; justify-content: space-between; gap: 1.6rem; border: 0; font-weight: 780; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--signal); }
.button-primary:hover { background: var(--signal-dark); }
.text-link { font-size: .95rem; font-weight: 750; }
.hero-facts { margin-top: 3rem; padding-top: 1.25rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero-facts div { padding-right: .75rem; display: flex; flex-direction: column; gap: .05rem; border-right: 1px solid var(--line); }
.hero-facts div + div { padding-left: 1rem; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts strong { font-size: 1.28rem; letter-spacing: -.04em; }
.hero-facts span { color: var(--muted); font-size: .78rem; }

.hero-schematic { min-height: 622px; color: #cad1d5; background: var(--ink); border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: 0 28px 70px rgba(16, 22, 27, .16); }
.schematic-head, .schematic-foot { padding: 1.15rem 1.3rem; display: flex; align-items: center; justify-content: space-between; color: #9da7ad; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.schematic-head { border-bottom: 1px solid rgba(255,255,255,.12); }
.schematic-head span { display: flex; align-items: center; gap: .55rem; }
.schematic-head i { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(185,220,85,.1); }
.schematic-head b { color: var(--white); }
.pipeline-map { width: 100%; display: block; color: rgba(255,255,255,.35); }
.pipe-base { stroke-width: 31; }
.fitting { fill: var(--ink); stroke: #f4f2ed; stroke-width: 3; }
.fitting-elbow { stroke-width: 3; }
.fitting-elbow .inner, .fitting-tee .seam { fill: none; stroke: rgba(244,242,237,.3); stroke-width: 2; }
.fitting .opening { fill: var(--ink); stroke: #f4f2ed; stroke-width: 2.5; }
.fitting-blind .blind-face { fill: #c8ced1; }
.pulse-dots { fill: var(--signal); }
.pulse-dots circle { transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-in-out infinite; }
.pulse-dots circle:nth-child(2) { animation-delay: .65s; }
.pulse-dots circle:nth-child(3) { animation-delay: 1.3s; }
.map-labels rect { fill: #242e35; stroke: rgba(255,255,255,.14); }
.map-labels text { fill: #d8dddf; text-anchor: middle; font: 700 12px Inter, Arial, sans-serif; letter-spacing: .08em; }
.schematic-foot { border-top: 1px solid rgba(255,255,255,.12); text-transform: none; letter-spacing: 0; }
.schematic-foot div { display: flex; flex-direction: column; gap: .15rem; }
.schematic-foot div:last-child { text-align: right; }
.schematic-foot strong { color: var(--white); font-size: .9rem; }
.status-ready { display: flex; align-items: center; justify-content: flex-end; gap: .45rem; }
.status-ready i { width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
@keyframes pulse { 0%, 100% { transform: scale(.75); opacity: .4; } 50% { transform: scale(1.35); opacity: 1; } }

.ticker { min-height: 74px; display: grid; grid-template-columns: minmax(250px, .72fr) 2.28fr; align-items: center; color: var(--white); background: var(--ink-2); overflow: hidden; }
.ticker > p { height: 100%; margin: 0; padding-left: max(32px, calc((100vw - min(1320px, calc(100vw - 64px))) / 2)); display: flex; align-items: center; background: var(--signal); font-size: .76rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.ticker-track { display: flex; align-items: center; justify-content: space-around; gap: 1.2rem; padding: 0 2rem; color: #c4cbcf; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ticker-track i { width: 4px; height: 4px; background: var(--signal); border-radius: 50%; }

.section { width: var(--content); margin: 0 auto; padding: 120px 0; }
.section-heading { margin-bottom: 3.2rem; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr); gap: 6vw; align-items: end; }
.section-heading.compact { grid-template-columns: minmax(0, 900px); }
.section-kicker { margin-bottom: 1rem; }
.section-heading h2, .sourcing h2, .urgent-band h2, .fire h2, .contacts h2 { margin: 0; font-size: clamp(2.55rem, 4.2vw, 4.7rem); font-weight: 730; line-height: .98; letter-spacing: -.055em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1rem; }

.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-card { min-height: 390px; padding: 1.35rem; display: flex; flex-direction: column; position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.18); transition: background .25s ease, transform .25s ease; }
.product-card:hover { z-index: 2; background: var(--white); transform: translateY(-5px); box-shadow: 0 18px 45px rgba(16,22,27,.08); }
.product-index { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.product-card svg { width: 150px; height: 120px; margin: 1.2rem auto 1.5rem; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.product-card svg .product-solid { fill: rgba(16,22,27,.08); }
.product-card h3 { margin: auto 0 .55rem; font-size: 1.45rem; letter-spacing: -.035em; }
.product-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.product-card-accent { color: var(--white); background: var(--signal); }
.product-card-accent:hover { background: var(--signal-dark); }
.product-card-accent .product-index, .product-card-accent p { color: rgba(255,255,255,.72); }
.product-card-accent svg { stroke: var(--white); }
.product-card-accent svg .product-solid { fill: rgba(255,255,255,.14); }

.sourcing { width: var(--content); margin: 0 auto; padding: 92px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); gap: 7vw; color: var(--white); background: var(--ink); border-radius: var(--radius); }
.light-kicker { color: #aeb7bc; }
.sourcing-copy > p:not(.section-kicker) { max-width: 610px; margin: 1.5rem 0 2rem; color: #aeb7bc; font-size: 1.05rem; }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { background: var(--green); }
.sourcing-matrix { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.sourcing-matrix > div { min-height: 215px; padding: 1.25rem; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.sourcing-matrix span { color: var(--signal); font-size: .72rem; font-weight: 850; letter-spacing: .12em; }
.sourcing-matrix strong { margin-top: auto; font-size: 1.12rem; }
.sourcing-matrix p { margin: .45rem 0 0; color: #9fa9ae; font-size: .84rem; }

.parameter-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.parameter-grid > div { min-height: 180px; padding: 1.45rem 1.2rem; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.parameter-grid > div:nth-child(3n) { border-right: 0; }
.parameter-grid span { color: var(--signal); font-size: .72rem; font-weight: 850; }
.parameter-grid strong { margin-top: auto; font-size: 1.25rem; }
.parameter-grid small { margin-top: .25rem; color: var(--muted); font-size: .86rem; }

.process { padding-top: 70px; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { min-height: 128px; display: grid; grid-template-columns: 84px 1fr auto; gap: 1.5rem; align-items: center; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.process-list li:hover { padding: 0 1.1rem; background: rgba(255,255,255,.42); }
.process-list > li > span { color: var(--signal); font-size: .76rem; font-weight: 850; letter-spacing: .12em; }
.process-list h3 { margin: 0 0 .25rem; font-size: 1.5rem; letter-spacing: -.035em; }
.process-list p { margin: 0; color: var(--muted); }
.process-list b { font-size: 1.25rem; font-weight: 500; }

.urgent-band { width: var(--content); margin: 0 auto 1.2rem; padding: 54px; display: grid; grid-template-columns: .42fr 1.1fr .8fr auto; gap: 2.3rem; align-items: center; background: var(--signal); color: var(--white); }
.urgent-band > span { font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.urgent-band h2 { font-size: clamp(2rem, 3vw, 3.2rem); }
.urgent-band p { margin: 0; color: rgba(255,255,255,.78); font-size: .92rem; }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { color: var(--ink); background: var(--white); }

.fire { display: grid; grid-template-columns: .65fr 1.35fr; gap: 8vw; align-items: center; }
.fire-badge { aspect-ratio: 1; max-width: 420px; padding: 2.2rem; display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--white); background: var(--signal); border-radius: 50%; text-align: center; box-shadow: 0 24px 60px rgba(237,75,47,.2); }
.fire-badge span { color: rgba(255,255,255,.76); font-size: .75rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.fire-badge strong { margin: .7rem 0 .25rem; font-size: clamp(1.5rem, 2.6vw, 2.6rem); letter-spacing: -.04em; }
.fire-badge small { color: rgba(255,255,255,.76); }
.fire-copy > p:not(.section-kicker) { max-width: 760px; margin: 1.4rem 0 1.5rem; color: var(--muted); font-size: 1.05rem; }

.contacts { width: var(--content); margin: 0 auto; padding: 84px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; align-items: center; color: var(--white); background: var(--ink); border-radius: var(--radius) var(--radius) 0 0; }
.contacts-copy > p:last-child { max-width: 650px; margin: 1.35rem 0 0; color: #aeb7bc; }
.contact-card { padding: 2rem; display: flex; flex-direction: column; background: var(--signal); }
.contact-label { margin-bottom: 2rem; color: rgba(255,255,255,.72); font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.contact-main { padding-bottom: 1rem; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.28); font-size: clamp(1.3rem, 2vw, 2rem); font-weight: 750; letter-spacing: -.03em; }
.contact-phone { margin-top: 1rem; font-size: 1.05rem; font-weight: 700; }
.copy-button { margin-top: 2rem; padding: .8rem; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.5); cursor: pointer; font-weight: 750; transition: .2s ease; }
.copy-button:hover { color: var(--ink); background: var(--white); }
.contact-note { margin: 1rem 0 0; color: rgba(255,255,255,.72); font-size: .8rem; }

.site-footer { width: var(--content); min-height: 155px; margin: 0 auto; padding: 2.2rem 0; display: grid; grid-template-columns: .65fr 1.3fr 1fr; gap: 2rem; align-items: start; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.site-footer p { margin: 0; }
.site-footer p:last-child { text-align: right; }

.back-to-top {
  --scroll-progress: 0deg;
  width: 58px;
  height: 58px;
  padding: 3px;
  display: grid;
  place-items: center;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  color: var(--white);
  background: conic-gradient(var(--signal) var(--scroll-progress), rgba(16,22,27,.18) 0);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease;
}
.back-to-top::before { content: ""; position: absolute; inset: 3px; background: var(--ink); border-radius: inherit; }
.back-to-top span { position: relative; z-index: 1; font-size: 1.35rem; line-height: 1; transform: translateY(-1px); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top:focus-visible { outline: 3px solid rgba(237,75,47,.35); outline-offset: 3px; }

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

@media (max-width: 1120px) {
  :root { --content: min(100% - 40px, 1060px); }
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: auto 1fr auto auto; }
  .header-cta { justify-self: end; }
  .menu-toggle { width: 46px; height: 46px; padding: 0; display: grid; place-content: center; gap: 6px; background: transparent; border: 1px solid var(--line); cursor: pointer; }
  .menu-toggle span { width: 20px; height: 2px; display: block; background: var(--ink); transition: transform .2s ease; }
  .mobile-nav { position: absolute; top: 78px; right: 0; left: 0; padding: 1rem; display: none; flex-direction: column; gap: 0; color: var(--white); background: var(--ink); }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.14); }
  .hero { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero-schematic { min-height: auto; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .sourcing { padding: 64px; gap: 4rem; }
  .urgent-band { grid-template-columns: .45fr 1.2fr .8fr; }
  .urgent-band .button { grid-column: 2 / 4; justify-self: start; }
}

@media (max-width: 820px) {
  :root { --content: calc(100vw - 28px); }
  .site-header { height: 76px; gap: .75rem; }
  .header-cta { display: none; }
  .hero { min-height: 0; padding: 44px 0 16px; grid-template-columns: 1fr; gap: 2.8rem; }
  h1 { font-size: clamp(3.25rem, 14vw, 5.5rem); }
  .hero-text { font-size: 1rem; }
  .hero-schematic { min-height: 0; }
  .ticker { grid-template-columns: 1fr; }
  .ticker > p { min-height: 56px; padding-left: 20px; }
  .ticker-track { min-height: 64px; justify-content: flex-start; overflow: hidden; }
  .section { padding: 84px 0; }
  .section-heading { margin-bottom: 2.3rem; grid-template-columns: 1fr; gap: 1rem; }
  .section-heading h2, .sourcing h2, .fire h2, .contacts h2 { font-size: clamp(2.5rem, 10vw, 4rem); }
  .catalog-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 330px; }
  .sourcing { padding: 48px 24px; grid-template-columns: 1fr; gap: 3rem; }
  .parameter-grid { grid-template-columns: 1fr 1fr; }
  .parameter-grid > div:nth-child(3n) { border-right: 1px solid var(--line); }
  .parameter-grid > div:nth-child(2n) { border-right: 0; }
  .urgent-band { padding: 40px 24px; grid-template-columns: 1fr; gap: 1.1rem; }
  .urgent-band .button { grid-column: auto; }
  .fire { grid-template-columns: 1fr; gap: 3rem; }
  .fire-badge { max-width: 330px; margin: 0 auto; }
  .contacts { padding: 52px 24px; grid-template-columns: 1fr; gap: 3rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1rem; }
  .site-footer p:last-child { text-align: left; }
}

@media (max-width: 520px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: flex-start; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div, .hero-facts div + div { padding: .75rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-facts div:last-child { border-bottom: 0; }
  .schematic-head { padding: .9rem 1rem; }
  .pipeline-map { margin: -1.5rem 0; }
  .schematic-foot { padding: 1rem; }
  .sourcing-matrix { grid-template-columns: 1fr; }
  .sourcing-matrix > div { min-height: 170px; }
  .parameter-grid { grid-template-columns: 1fr; }
  .parameter-grid > div { border-right: 0 !important; }
  .process-list li { min-height: 150px; grid-template-columns: 46px 1fr auto; gap: .7rem; }
  .process-list h3 { font-size: 1.25rem; }
  .process-list p { font-size: .88rem; }
  .contact-main { font-size: 1.2rem; }
  .back-to-top { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
