/* ==========================================================================
   JEMOE FLOW — design system
   White canvas, navy structure, copper reserved for the single primary action.
   Type: Manrope (display) + Inter (text) + IBM Plex Mono (spec data only).
   ========================================================================== */

/* Metric-matched local fallback so the header never changes width before Inter lands. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Segoe UI"), local("Segoe UI Variable Text"), local("Roboto"), local("Arial");
  size-adjust: 109.2%;
}

:root {
  --navy: #14243A;
  --navy-2: #1B3049;
  --navy-line: #2C4257;
  --ink: #17242F;
  --steel: #46586A;
  --mid: #7C8B99;
  --copper: #BE6631;
  --copper-dark: #9F5325;
  --mist: #F5F7F9;
  --pane: #FBFCFD;
  --rule: #E1E6EA;
  --rule-soft: #EDF1F4;
  --paper: #FFFFFF;
  --sky: #9DBAD6;
  --cloud: #D7E0E8;
  --maxw: 1180px;
  --hero-h: 410px;   /* one blue band height for the home hero and every inner page */

  --display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Inter Fallback", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "Consolas", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
  overflow-y: scroll; scrollbar-gutter: stable both-edges; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.68;
  color: var(--steel);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
p { max-width: 74ch; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  letter-spacing: -0.018em;
  font-weight: 800;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.15rem); line-height: 1.06; }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.15rem); line-height: 1.15; letter-spacing: -0.022em; }
h3 { font-size: 1.16rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.012em; }

a { color: var(--copper); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* section eyebrow — a short rule, not a badge */
.kicker {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.kicker::before { display: none; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--navy); color: #fff; padding: 10px 18px; }
.skip:focus { left: 8px; top: 8px; }

/* ---------------- header ---------------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--rule-soft);
}
.head-in { display: flex; align-items: center; gap: 18px; height: 86px; }
.brand { flex: none; }
.brand img { height: 41px; width: auto; }

.main-nav { margin-left: auto; margin-right: auto; display: none; }
.main-nav ul { list-style: none; display: flex; gap: 2px; align-items: center; }
.main-nav a {
  display: block; padding: 9px 11px;
  font-family: var(--body); font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.005em; color: var(--ink); text-decoration: none;
  white-space: nowrap; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px;
  height: 1.5px; background: var(--copper); transform: scaleX(0);
  transform-origin: left; transition: transform 0.18s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--copper); }

.nav-drop { position: relative; }
/* hover bridge: covers the 8px gap so the panel does not close on the way down */
.nav-drop::after {
  content: ""; position: absolute; left: -4px; right: -4px; top: 100%; height: 10px;
  display: none;
}
.nav-drop:hover::after, .nav-drop:focus-within::after { display: block; }
.nav-drop > ul {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 236px;
  background: #fff; border: 1px solid var(--rule); border-top: 2px solid var(--copper);
  display: none; padding: 6px 0; box-shadow: 0 18px 42px rgba(20,36,58,0.13);
}
.nav-drop:hover > ul, .nav-drop:focus-within > ul { display: block; }
.nav-drop > ul li { width: 100%; }
.nav-drop > ul a {
  display: block; width: 100%; padding: 12px 20px;
  font-size: 0.93rem; font-weight: 500; color: var(--ink);
}
.nav-drop > ul a:hover { background: var(--mist); color: var(--copper); }
.nav-drop > ul a::after { display: none; }

.head-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--rule); border-radius: 0; cursor: pointer;
  padding: 7px 10px; font-family: var(--body); font-size: 0.78rem;
  font-weight: 500; color: var(--steel); letter-spacing: 0.02em;
  white-space: nowrap;
}
.lang-btn:hover { border-color: var(--ink); color: var(--ink); }
.lang-btn svg { width: 9px; height: 6px; fill: currentColor; }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 170px;
  background: #fff; border: 1px solid var(--rule);
  box-shadow: 0 18px 42px rgba(20,36,58,0.13);
  list-style: none; display: none; padding: 6px 0; z-index: 61;
}
.lang.open .lang-list { display: block; }
.lang-list a { display: block; padding: 8px 15px; font-size: 0.88rem; color: var(--ink); text-decoration: none; }
.lang-list a:hover { background: var(--mist); }
.lang-list a[aria-current="true"] { color: var(--copper); font-weight: 600; }

.head-cta { display: none; }
.head-in .head-cta { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  font-family: var(--body); font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.055em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer; border-radius: 0;
  transition: background 0.16s, border-color 0.16s, color 0.16s;
}
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--copper-dark); }
.btn-ghost { border-color: rgba(255,255,255,0.34); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-outline { border-color: var(--rule); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-head { padding: 10px 18px; font-size: 0.78rem; }

.nav-toggle {
  background: none; border: 1px solid var(--rule); width: 42px; height: 42px;
  cursor: pointer; display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 18px; height: 1.6px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 1099px) {
  .main-nav {
    display: block; position: absolute; top: 86px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--rule);
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  body.nav-open .main-nav { max-height: calc(100vh - 86px); min-height: calc(100vh - 86px); overflow-y: auto; box-shadow: 0 18px 40px rgba(20,36,58,0.10); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 18px; }
  .main-nav a { padding: 13px 24px; font-size: 1.02rem; }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--copper); }
  .nav-drop::after, .nav-drop:hover::after, .nav-drop:focus-within::after { display: none; }
  .nav-drop > ul {
    position: static; display: block; border: none; box-shadow: none;
    border-left: 1px solid var(--rule); margin: 0 14px 8px 24px; padding: 0;
  }
  .nav-drop > ul a { padding: 9px 16px; font-size: 0.94rem; }
}
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .main-nav { display: block; }
  .lang { margin-left: 6px; }
  .head-right { margin-left: 6px; }
}
@media (min-width: 1200px) {
  .head-in .head-cta { display: inline-flex; }
}

/* ---------------- hero band (home + inner pages, one height) ---------------- */
.hero, .p-hero {
  position: relative; background: var(--navy); color: #fff;
  overflow: hidden; isolation: isolate;
  display: flex; align-items: center; min-height: var(--hero-h);
}
/* inner pages: text block is top-anchored, so the first line (crumb > H1)
   sits at the same height on every page regardless of how long the copy is */
.p-hero { align-items: flex-start; }
.hero-media {
  position: absolute; inset: 0 0 0 38%; z-index: 0;
  background-image: url("img/hero-field.webp");
  background-size: cover; background-position: 58% 50%;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.5) 22%, #000 56%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.5) 22%, #000 56%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--navy) 0%, var(--navy) 30%, rgba(20,36,58,0.72) 48%, rgba(20,36,58,0.12) 76%, rgba(20,36,58,0.3) 100%),
    linear-gradient(180deg, rgba(20,36,58,0.4) 0%, rgba(20,36,58,0) 34%, rgba(20,36,58,0.5) 100%);
}
.hero-in { position: relative; z-index: 2; width: 100%; padding-block: 76px 72px; }
.hero h1 {
  color: #fff; max-width: 34ch; text-transform: uppercase;
  font-weight: 800; letter-spacing: -0.026em; line-height: 1.08;
  font-size: clamp(1.8rem, 3.2vw, 2.45rem);
}
.hero .lead {
  margin: 24px 0 0; max-width: 52ch;
  color: rgba(255,255,255,0.82); font-size: 1.05rem; line-height: 1.7;
}
.hero .lead .ln { display: block; }
.hero .lead .ln + .ln { margin-top: 2px; }
/* Cyrillic runs longer — one step down keeps the hero to two lines */
html[lang="ru"] .hero h1 { max-width: 40ch; font-size: clamp(1.6rem, 2.85vw, 2.18rem); }

/* inner page hero — photo on the right, same treatment as the home hero */
.p-hero-media {
  position: absolute; inset: 0 0 0 50%; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.45) 14%, #000 44%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.45) 14%, #000 44%);
}
.p-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.p-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--navy) 0%, var(--navy) 32%, rgba(20,36,58,0.86) 46%, rgba(20,36,58,0.18) 70%, rgba(20,36,58,0.34) 100%),
    linear-gradient(180deg, rgba(20,36,58,0.34) 0%, rgba(20,36,58,0) 38%, rgba(20,36,58,0.34) 100%);
}
.p-hero .wrap { position: relative; z-index: 2; width: 100%; padding-block: 134px 56px; }
.crumb { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky); font-weight: 500; }
.crumb a { color: var(--sky); text-decoration: none; }
.crumb a:hover { color: #fff; }
.p-hero h1 { color: #fff; margin: 16px 0 12px; text-transform: uppercase; font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
.p-hero .sub { color: rgba(255,255,255,0.78); max-width: 54ch; font-size: 1rem; }
.std-line { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.03em; color: #DCA377; font-weight: 500; }

/* ---------------- sections ---------------- */
.sec { padding: 84px 0; }
.sec-alt { background: var(--mist); }
.sec-head { margin-bottom: 40px; max-width: none; }

/* section title — the eyebrow promoted to the heading, one rule, no stacked pair */
.sec-title {
  display: block;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  line-height: 1.16; letter-spacing: -0.005em;
  text-transform: uppercase; color: var(--copper);
}
.sec-sub {
  margin-top: 12px; max-width: 62ch;
  font-size: 0.98rem; color: var(--steel); line-height: 1.6;
}
.sec-note {
  margin-top: 14px; max-width: 68ch;
  font-size: 0.95rem; color: var(--mid); line-height: 1.65;
}

/* who we serve */
.serve-grid { display: grid; gap: 1px; background: var(--rule-soft); border: 1px solid var(--rule-soft); }
@media (min-width: 760px) { .serve-grid { grid-template-columns: repeat(3, 1fr); } }
.serve { background: #fff; padding: 30px 28px 32px; position: relative; }
.serve::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: var(--navy); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.serve:hover::before { transform: scaleX(1); background: var(--copper); }
.serve h3 { text-transform: uppercase; margin-bottom: 10px; font-size: 1.02rem; letter-spacing: 0.01em; }
.serve .mono { font-size: 0.66rem; letter-spacing: 0.1em; color: var(--mid); display: block; margin-bottom: 14px; text-transform: uppercase; }
.serve p { font-size: 0.94rem; line-height: 1.65; }

/* valve grid — one image system, equal optical weight */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.vcard {
  display: block; text-decoration: none; background: #fff;
  border: 1px solid var(--rule); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.vcard:hover { border-color: #C9D2D9; box-shadow: 0 16px 34px rgba(20,36,58,0.09); transform: translateY(-2px); }
.vcard .ph {
  padding: 0; background: #FBFCFD;
  position: relative; overflow: hidden;
}
.vcard .ph::after {
  content: ""; position: absolute; left: 27%; right: 27%; bottom: 7%; height: 10px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(20,36,58,0.10) 0%, rgba(20,36,58,0) 74%);
  filter: blur(5px); pointer-events: none;
}
.vcard .ph img {
  aspect-ratio: 1 / 1; object-fit: contain; width: 100%; height: auto;
  padding: 4%; position: relative; z-index: 1;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.vcard:hover .ph img { transform: translateY(-4px) scale(1.02); }
.vcard .cap {
  border-top: 1px solid var(--rule-soft); padding: 17px 20px 19px;
}
.vcard .cap h3 { font-size: 0.98rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink); font-weight: 700; }
.vcard:hover .cap h3 { color: var(--copper); }

/* industries — photo cards */
.ind-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
.ind {
  position: relative; border: 1px solid var(--rule); background: #fff;
  display: flex; flex-direction: column; overflow: hidden;
}
.ind .shot {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy);
}
.ind .shot img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.01); transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.ind:hover .shot img { transform: scale(1.05); }
.ind .shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,36,58,0.12) 0%, rgba(20,36,58,0.02) 45%, rgba(20,36,58,0.72) 100%);
}
.ind .shot h3 {
  position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2;
  color: #fff; text-transform: uppercase; font-size: 1.02rem; letter-spacing: 0.04em;
}
.ind .txt { padding: 22px 26px 26px; }
.ind .txt p { font-size: 0.94rem; }
.ind-note { margin-top: 20px; font-size: 0.9rem; color: var(--mid); }

/* challenges / solutions */
.cs-grid { display: grid; gap: 0; border: 1px solid var(--rule); }
@media (min-width: 820px) { .cs-grid { grid-template-columns: 1fr 1fr; } }
.cs-col { padding: 30px 28px; }
.cs-col + .cs-col { border-top: 1px solid var(--rule); }
@media (min-width: 820px) {
  .cs-col + .cs-col { border-top: none; border-left: 1px solid var(--rule); }
}
.cs-col h3 {
  font-family: var(--body); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid);
  margin-bottom: 18px;
}
.cs-col.solutions { background: var(--pane); }
.cs-col.solutions h3 { color: var(--copper); }
.cs-col ul { list-style: none; }
.cs-col li {
  padding: 14px 0 14px 24px; position: relative; font-size: 0.94rem;
  border-bottom: 1px solid var(--rule-soft); line-height: 1.62;
}
.cs-col li:last-child { border-bottom: none; }
.cs-col li::before {
  content: ""; position: absolute; left: 0; top: 22px;
  width: 10px; height: 1px; background: var(--mid);
}
.cs-col.solutions li::before { background: var(--copper); width: 12px; }

/* process + packing photo */
.proc-wrap { display: grid; gap: 40px; align-items: start; }
@media (min-width: 940px) { .proc-wrap { grid-template-columns: 1.15fr 0.85fr; gap: 56px; } }
.process { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.step {
  display: grid; grid-template-columns: 54px 1fr; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.step .n {
  font-family: var(--display); font-size: 0.95rem; font-weight: 800;
  color: var(--copper); letter-spacing: 0.02em;
}
.step p { font-size: 0.95rem; line-height: 1.6; }
.proc-shot { position: relative; }
.proc-shot img { width: 100%; height: auto; aspect-ratio: 4 / 3.1; object-fit: cover; }
.proc-shot figcaption {
  margin-top: 12px; font-size: 0.76rem; color: var(--mid); line-height: 1.5;
  border-left: 2px solid var(--copper); padding-left: 12px; max-width: 40ch;
}

/* advantages list */
.adv { border-top: 1px solid var(--rule); }
.adv-item { display: grid; gap: 8px 40px; padding: 30px 2px; border-bottom: 1px solid var(--rule); }
@media (min-width: 800px) { .adv-item { grid-template-columns: 290px 1fr; } }
.adv-item h3 { text-transform: none; font-size: 1.05rem; }
.adv-item p { font-size: 0.96rem; }

/* closing statement at the foot of the about page */
.closing {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.02rem, 1.6vw, 1.24rem); line-height: 1.52;
  color: var(--ink); max-width: 56ch;
  border-top: 1px solid var(--rule); padding-top: 26px;
}

/* contact page */
.contact-grid .serve h3 { text-transform: none; letter-spacing: 0; font-size: 1.06rem; line-height: 1.4; }
.contact-grid .serve p { margin-top: 12px; }

/* contact page also carries the inquiry form — one page, two halves */
.inquiry-sec { padding-block: 64px 80px; scroll-margin-top: 96px; }
.inquiry-sec .sec-head { margin-bottom: 34px; }
.inquiry-sec .form-wrap { padding-block: 0; }
.form-panel { background: #fff; border: 1px solid var(--rule); padding: 30px 26px 32px; }
@media (min-width: 920px) { .form-panel { padding: 38px 40px 40px; } }
@media (max-width: 479px) { .form-panel { padding: 24px 18px 26px; } }

/* wide photo band (about / applications) */
.photo-band { position: relative; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
.photo-band .band-in { position: relative; }
/* the workshop band is capped to the content column and to one band height, so it
   reads as an illustration inside the page instead of swallowing the viewport */
.photo-band figure {
  margin: 0 auto; position: relative; overflow: hidden;
  max-width: var(--maxw); height: clamp(280px, 30vw, 430px);
}
.photo-band figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,36,58,0.3) 0%, rgba(20,36,58,0.1) 34%, rgba(20,36,58,0.72) 68%, rgba(20,36,58,0.93) 100%);
}
.photo-band .band-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 0 0 40px;
}
.photo-band .band-cap .kicker { color: #E3A87E; }
.photo-band .band-cap .kicker::before { background: #E3A87E; }
.photo-band .band-cap h2 { color: #fff; max-width: 26ch; }
.photo-band .band-cap p { color: rgba(255,255,255,0.78); margin-top: 12px; max-width: 60ch; font-size: 0.96rem; }

/* application photo cards (applications page) */
.app-cards { display: grid; gap: 26px; }
@media (min-width: 860px) { .app-cards { grid-template-columns: repeat(3, 1fr); } }
.app-card { border: 1px solid var(--rule); background: #fff; display: flex; flex-direction: column; }
.app-card .shot { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); position: relative; }
.app-card .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.app-card:hover .shot img { transform: scale(1.04); }
.app-card .body { padding: 22px 22px 24px; }
.app-card h3 { text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 10px; }
.app-card p { font-size: 0.9rem; }
.app-card p + p { margin-top: 10px; color: var(--steel); }

/* ---------------- product page ---------------- */
.p-body { display: grid; gap: 40px; padding-block: 56px 8px; }
@media (min-width: 880px) { .p-body { grid-template-columns: 400px 1fr; align-items: start; gap: 52px; } }
.p-photo {
  background: #FBFCFD;
  border: 1px solid var(--rule); padding: 4% 4% 2.5%; position: relative;
}
.p-photo::after {
  content: ""; position: absolute; left: 26%; right: 26%; bottom: 10%; height: 16px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(20,36,58,0.16) 0%, rgba(20,36,58,0) 72%);
  filter: blur(4px); pointer-events: none;
}
.p-photo img { aspect-ratio: 1 / 1; object-fit: contain; width: 100%; height: auto; position: relative; z-index: 1; }
.p-photo figcaption {
  font-size: 0.68rem; color: var(--mid); letter-spacing: 0.09em;
  text-align: center; margin-top: 10px; text-transform: uppercase; position: relative; z-index: 1;
}
.p-intro ul { list-style: none; border-top: 1px solid var(--rule); }
.p-intro ul li {
  padding: 13px 0 13px 22px; border-bottom: 1px solid var(--rule-soft);
  font-size: 0.93rem; line-height: 1.6; position: relative;
}
.p-intro ul li::before {
  content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 1px; background: var(--copper);
}
.p-intro p + p { margin-top: 14px; }
.p-intro p { font-size: 1rem; }

.sec-label {
  font-family: var(--body); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-dark);
  padding-bottom: 9px; border-bottom: 1px solid var(--rule);
  display: block; margin-bottom: 20px;
}

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table thead th {
  background: var(--ink); color: #fff; text-align: left;
  font-family: var(--body); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 13px 14px; font-weight: 600;
}
.spec-table thead th:nth-child(2) { width: 34%; }
.spec-table thead th:nth-child(3) { width: 26%; }
.spec-table td { padding: 11px 14px; font-size: 0.92rem; border-bottom: 1px solid var(--rule-soft); }
.spec-table td.cls { font-weight: 600; color: var(--ink); font-family: var(--display); font-size: 0.95rem; letter-spacing: -0.005em; }
.spec-table td.size, .spec-table td.ends { font-family: var(--mono); font-size: 0.78rem; color: var(--steel); }
.spec-table tbody tr:nth-child(even of :not(.div)) { background: #FAFBFC; }
.spec-table tr.div td {
  background: #FBF1E9; color: var(--copper-dark);
  font-family: var(--body); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; border-bottom: none; padding-top: 9px; padding-bottom: 9px;
}
.table-note { font-size: 0.84rem; color: var(--mid); margin-top: 14px; }

@media (max-width: 719px) {
  .spec-table thead { display: none; }
  .spec-table tr:not(.div) {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px;
    padding: 13px 2px; border-bottom: 1px solid var(--rule-soft);
  }
  .spec-table tr.div { display: block; padding: 9px 2px; }
  .spec-table td { border: none; padding: 0; }
  .spec-table td.cls { grid-column: 1 / -1; }
  .spec-table td.size::before { content: "SIZE — "; color: var(--mid); font-size: 0.6rem; letter-spacing: 0.1em; }
  .spec-table td.ends::before { content: "ENDS — "; color: var(--mid); font-size: 0.6rem; letter-spacing: 0.1em; }
}

/* key-value spec blocks */
.kv { border-top: 1px solid var(--rule); }
.kv-row { display: grid; padding: 16px 2px; border-bottom: 1px solid var(--rule-soft); gap: 4px 32px; }
@media (min-width: 700px) { .kv-row { grid-template-columns: 200px 1fr; } }
.kv-row dt {
  font-family: var(--body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); padding-top: 3px;
}
.kv-row dd { font-size: 0.94rem; }

.notes-band { background: var(--mist); padding: 20px 24px; margin-top: 24px; display: grid; gap: 6px 24px; border-left: 2px solid var(--copper); }
@media (min-width: 700px) { .notes-band { grid-template-columns: 90px 1fr; } }
.notes-band .kicker { color: var(--ink); margin: 0; padding-top: 3px; }
.notes-band .kicker::before { display: none; }
.notes-band p { font-size: 0.9rem; }

/* faq */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule-soft); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 2px;
  font-family: var(--display); font-size: 1.02rem; font-weight: 700;
  color: var(--ink); position: relative; letter-spacing: -0.008em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%); font-family: var(--body);
  font-size: 1.15rem; color: var(--copper); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 40px 20px 2px; font-size: 0.95rem; }

/* cta band */
.cta-band { background: var(--navy); color: #fff; padding: 62px 0; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -14%; top: -60%; width: 58%; height: 220%;
  background: radial-gradient(closest-side, rgba(190,102,49,0.09) 0%, rgba(190,102,49,0) 74%);
  pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band .band-grid { display: grid; gap: 26px 48px; align-items: center; }
@media (min-width: 820px) {
  .cta-band .band-grid { grid-template-columns: 1fr auto; }
  .cta-band .band-grid .btn { justify-self: end; }
}
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,0.7); margin: 16px 0 28px; max-width: 54ch; font-size: 0.98rem; }
.cta-band.compact { padding: 42px 0; }
.cta-band.compact h2 { font-size: clamp(1.18rem, 2.2vw, 1.5rem); max-width: none; }
.cta-band.compact p { margin: 8px 0 0; font-size: 0.92rem; max-width: 52ch; }
.cta-band.compact .btn { flex: none; }

/* ---------------- inquiry form ---------------- */
.form-wrap { display: grid; gap: 40px; padding-block: 56px 68px; }
@media (min-width: 920px) { .form-wrap { grid-template-columns: 1fr 320px; align-items: start; gap: 52px; } }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 700px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field label, .field .sec-label { display: block; margin-bottom: 8px; }
.field label {
  font-family: var(--body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink);
}
.field .req { color: var(--copper); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px; font-family: var(--body); font-size: 0.95rem;
  color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--copper); box-shadow: 0 0 0 3px rgba(190,102,49,0.09);
}
.field textarea { min-height: 132px; resize: vertical; }
.field .hint { font-size: 0.79rem; color: var(--mid); margin-top: 6px; }
.file-drop {
  border: 1px dashed #CBD5DC; background: var(--pane); padding: 24px;
  text-align: center; font-size: 0.9rem; color: var(--mid);
}
.file-drop strong { color: var(--ink); font-weight: 600; }
.form-foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-note { font-size: 0.83rem; color: var(--mid); max-width: 46ch; }

.aside-box { border: 1px solid var(--rule); padding: 24px; background: #fff; }
.aside-box h3 {
  font-family: var(--body); font-size: 0.7rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--copper); margin-bottom: 14px; font-weight: 600;
}
.aside-box ul { list-style: none; }
.aside-box li {
  font-size: 0.88rem; padding: 9px 0 9px 18px; position: relative;
  border-bottom: 1px solid var(--rule-soft); line-height: 1.55;
}
.aside-box li:last-child { border-bottom: none; }
.aside-box li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 6px; height: 1px; background: var(--copper); }
.aside-box p { font-size: 0.88rem; }
.aside-box p + p { margin-top: 8px; }

.form-status { margin-top: 16px; font-size: 0.9rem; color: var(--copper-dark); font-weight: 500; }
.form-status:empty { display: none; }
.file-drop p { font-size: 0.9rem; }
.file-drop p + p { margin-top: 6px; color: var(--mid); font-size: 0.85rem; }

/* interactive attachment field */
.field-note { font-size: 0.81rem; color: var(--mid); margin-top: -6px; line-height: 1.55; }
@media (min-width: 700px) { .field-note.full { grid-column: 1 / -1; } }
.field .file-drop {
  display: block; cursor: pointer;
  font-family: var(--body); font-size: 0.9rem; font-weight: 400;
  letter-spacing: normal; text-transform: none; color: var(--mid);
  transition: border-color 0.15s, background 0.15s;
}
.field .file-drop:hover, .field .file-drop.is-over { border-color: var(--copper); background: #fff; }
.file-drop input[type="file"] {
  position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0;
  pointer-events: none; border: 0;
}
.fd-main { display: block; font-weight: 600; color: var(--ink); font-size: 0.92rem; }
.fd-hint { display: block; margin-top: 6px; font-size: 0.82rem; color: var(--mid); }
.file-list { list-style: none; margin-top: 10px; display: grid; gap: 6px; }
.file-list li {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  background: var(--pane); border: 1px solid var(--rule-soft); font-size: 0.85rem;
}
.file-list .fl-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .fl-size { flex: 0 0 auto; color: var(--mid); font-variant-numeric: tabular-nums; }
.file-list .fl-x {
  flex: 0 0 auto; border: 0; background: none; cursor: pointer; padding: 2px 6px;
  font-family: var(--body); font-size: 1rem; line-height: 1; color: var(--mid);
}
.file-list .fl-x:hover { color: var(--copper); }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status.is-ok { color: #1f7a4d; }
.form-status.is-error { color: #b4402f; }
.enquiry-form.is-busy { opacity: 0.72; pointer-events: none; }


/* pager */
.pager { border-top: 1px solid var(--rule); margin-top: 60px; }
.pager-in { display: flex; justify-content: space-between; gap: 18px; padding-block: 24px; }
.pager a {
  text-decoration: none; font-family: var(--display); font-weight: 700;
  font-size: 0.98rem; color: var(--ink); letter-spacing: -0.01em;
}
.pager a:hover { color: var(--copper); }
.pager .mono { display: block; font-size: 0.62rem; color: var(--mid); letter-spacing: 0.1em; margin-bottom: 4px; font-weight: 500; text-transform: uppercase; }
.pager .next { text-align: right; margin-left: auto; }

/* ---------------- footer ---------------- */
.site-foot { background: var(--navy); color: rgba(255,255,255,0.7); padding: 56px 0 0; }
.foot-in { display: grid; gap: 34px; padding-bottom: 40px; }
@media (min-width: 860px) { .foot-in { grid-template-columns: 1.9fr 1fr 1fr 1.35fr; } }
.site-foot img { height: 30px; width: auto; }
.foot-in h4 {
  font-family: var(--body); font-size: 0.68rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: #DE9A6C; margin-bottom: 14px; font-weight: 600;
}
.foot-in ul { list-style: none; }
.foot-in li { margin-bottom: 9px; }
.foot-in a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.9rem; }
.foot-in a:hover { color: #fff; }
.foot-in p { font-size: 0.86rem; max-width: none; color: rgba(255,255,255,0.62); }
.foot-more {
  font-family: var(--mono); font-size: 0.9rem; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55); cursor: default; user-select: none;
}
.foot-base {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0 20px;
  font-size: 0.72rem; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.45);
  display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between;
}

/* small screens */
@media (max-width: 719px) {
  :root { --hero-h: 310px; }
  .sec { padding: 56px 0; }
  .hero-in { padding-block: 62px 54px; }
  .hero h1 { font-size: 1.62rem; letter-spacing: -0.022em; max-width: none; }
  .hero h1 br { display: none; }
  .hero .lead { font-size: 0.96rem; margin-top: 18px; }
  .sec-head { margin-bottom: 30px; }
  .sec-title { font-size: 1.24rem; }
  .sec-sub, .sec-note { margin-left: 0; font-size: 0.93rem; }
  .hero-media {
    inset: 0; opacity: 0.74; background-position: 50% 56%;
    -webkit-mask-image: none; mask-image: none;
  }
  .p-hero-media {
    inset: 0; opacity: 0.44;
    -webkit-mask-image: none; mask-image: none;
  }
  .p-hero::after {
    background: linear-gradient(180deg, rgba(20,36,58,0.86) 0%, rgba(20,36,58,0.68) 46%, rgba(20,36,58,0.92) 100%);
  }
  .hero-in { padding-block: 62px 54px; }
  .p-hero .wrap { padding-block: 80px 30px; }
  /* long breadcrumbs ("Home / Products / Butterfly Valve") wrap on phones;
     reserving two lines keeps the H1 first line at the same height everywhere */
  .p-hero .crumb { min-height: 3.4em; min-height: 2lh; }
  .hero::after {
    background: linear-gradient(180deg, rgba(20,36,58,0.82) 0%, rgba(20,36,58,0.64) 34%, rgba(20,36,58,0.76) 62%, rgba(20,36,58,0.94) 100%);
  }
  .cta-band { padding: 46px 0; }
  .photo-band figure { max-width: none; height: auto; }
  .photo-band img { height: 232px; }
  .photo-band figure::after { display: none; }
  .photo-band .band-cap { position: static; padding: 24px 0 28px; background: var(--navy); }
  .photo-band .band-cap h2 { font-size: 1.3rem; }
  .photo-band .band-cap p { font-size: 0.9rem; margin-top: 10px; }
}
@media (max-width: 479px) {
  .btn { width: 100%; }
  .form-wrap { padding-block: 40px 52px; }
  /* keep the 310px band on small phones even with long translations */
  .p-hero .wrap { padding-block: 72px 18px; }
  .p-hero h1 { margin: 12px 0 10px; font-size: 1.72rem; }
  .p-hero .sub { font-size: 0.94rem; }
}
