/* ENFLO Engineering — site styles */
:root {
  --navy: #2f3f66;
  --navy-dark: #1d2843;
  --coral: #e97d70;
  --coral-strong: #c8414c;
  --ink: #1c2233;
  --muted: #5b6478;
  --line: #e3e6ee;
  --surface: #f5f6f9;
  --navy-deep: #141c31;
  --white: #ffffff;
  --radius: 10px;
  --wrap: 1180px;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Barlow Semi Condensed", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
.hero-grid > *, .split > *, .contact-grid > *, .footer-grid > *, .ranges > * { min-width: 0; }
a { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy-dark); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block;
  font-size: .9rem; font-weight: 600; letter-spacing: .01em;
  color: var(--coral-strong); margin-bottom: .8em;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 40px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 6px;
  font-family: inherit; font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--coral-strong); color: #fff; }
.btn-primary:hover { background: #a9333d; }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--navy-dark); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--coral-strong); }
.nav .btn, .nav .btn[aria-current="page"] { color: var(--white); padding: .55em 1.1em; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-dark); margin: 5px 0; }

/* Hero */
.hero {
  background: var(--navy-dark);
  background-image: linear-gradient(115deg, var(--navy-dark) 0%, var(--navy) 60%, #3b4d7a 100%);
  color: #fff; padding: 72px 0 84px; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--coral); }
.hero p { color: #d5dbea; font-size: 1.15rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-img { border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); background: #fff; }
.page-hero { padding: 40px 0 44px; }
.page-hero p:last-child { margin-bottom: 0; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }

/* Stats strip */
.stats { background: #fff; border-bottom: 1px solid var(--line); padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--navy-dark); line-height: 1.2; }
.stat span { color: var(--muted); font-size: .95rem; }

/* Range cards */
.ranges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.range-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .15s, box-shadow .15s;
}
.range-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(29,40,67,.12); }
.range-card img { aspect-ratio: 900 / 767; object-fit: cover; width: 100%; }
.range-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.range-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.range-card .more { font-weight: 600; color: var(--coral-strong); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { padding: 28px; background: #fff; border-radius: var(--radius); border-top: 4px solid var(--coral); }
.feature p { color: var(--muted); margin: 0; }

/* Industries */
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.chips li {
  padding: .6em 1.2em; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 500; color: var(--navy-dark);
}

/* CTA band */
.cta-band { background: var(--coral-strong); color: #fff; padding: 56px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .2em; }
.cta-band p { margin: 0; color: #fde8ea; }

/* Products page */
.subnav { position: sticky; top: 76px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; }
.subnav a {
  white-space: nowrap; text-decoration: none; padding: .45em 1em; border-radius: 999px;
  color: var(--navy-dark); font-weight: 500; border: 1px solid var(--line);
}
.subnav a:hover { border-color: var(--navy); }
.subnav a.is-active, .subnav a[aria-selected="true"] { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.subnav a:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
@media (max-width: 760px) {
  .page-hero { padding: 28px 0 32px; }
  .subnav .wrap { padding-right: 56px; }
  .subnav::after {
    content: ""; position: absolute; top: 0; right: 0; bottom: 1px; width: 56px; pointer-events: none;
    background: linear-gradient(to right, rgba(255,255,255,0), #fff 75%);
  }
}
.range-panel { padding-top: 56px; }
.range-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 28px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.product img { aspect-ratio: 1; object-fit: contain; width: 100%; padding: 6px; }
.product .info { padding: 10px 14px 14px; border-top: 1px solid var(--line); }
.product h3 { font-size: 1rem; margin: 0 0 2px; }
.product .code { font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.product .size { font-size: .82rem; color: var(--muted); }
.note { font-size: .9rem; color: var(--muted); margin-top: 20px; }

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: 14px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list .label { display: block; font-size: .85rem; font-weight: 600; color: var(--coral-strong); }
.contact-list a { text-decoration: none; font-weight: 500; }
.form-card { background: var(--surface); border-radius: 14px; padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 14px; }
input, select, textarea {
  display: block; width: 100%; margin-top: 6px; padding: .7em .85em;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #cdd2de; border-radius: 6px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
textarea { min-height: 130px; resize: vertical; }
.form-hint { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.form-required-note { margin: -4px 0 18px; }
.req { color: var(--coral-strong); }
.optional { color: var(--muted); font-weight: 400; font-size: .85rem; }
.field-hint { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); margin-top: 6px; }
.field-error { display: block; font-weight: 500; font-size: .85rem; color: var(--coral-strong); margin-top: 4px; }
.field-error:empty { display: none; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--coral-strong); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-success {
  margin-top: 20px; padding: 20px 22px; background: var(--white);
  border: 1px solid var(--line); border-left: 4px solid var(--coral-strong); border-radius: var(--radius);
}
.form-success:focus { outline: none; }
.form-success h3 { margin-bottom: .3em; }
.form-success .form-actions { margin-top: 14px; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #c3cadb; padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; }
.site-footer a { color: #c3cadb; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; }
.footer-logo img { height: 44px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Responsive */
@media (max-width: 1000px) {
  .ranges { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  section { padding: 56px 0; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .features, .values { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .range-head { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; justify-content: center; border-bottom: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .ranges { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer li { margin-bottom: 0; }
  .site-footer li a, .contact-list a { display: inline-block; padding: 9px 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .logo img { height: 44px; }
}

/* Home redesign (index.html only, scoped to .home) */
.home :focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.home-hero {
  position: relative; padding: 88px 0 140px;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(115deg, var(--navy-dark) 0%, var(--navy) 60%, #3b4d7a 100%);
  background-size: 48px 48px, 48px 48px, auto;
}
.home-hero::after {
  content: "//"; position: absolute; right: -2vw; bottom: -6vw;
  font: italic 700 clamp(12rem, 26vw, 24rem)/1 var(--font-head); letter-spacing: -.08em;
  color: var(--coral); opacity: .07; pointer-events: none;
}
.home-hero .wrap { position: relative; z-index: 1; }
.home-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -.01em; }
.slashes { font-style: italic; font-weight: 700; letter-spacing: -.1em; margin-right: .35em; }
.hero-visual { position: relative; margin: 0; }
.home .hero-img { border: 6px solid rgba(255,255,255,.08); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.spec-tag {
  position: absolute; left: -18px; bottom: 26px; display: flex; flex-direction: column; gap: 2px;
  padding: 12px 18px; background: #fff; border-radius: 8px; border-left: 4px solid var(--coral-strong);
  box-shadow: 0 14px 30px rgba(0,0,0,.25); color: var(--navy-dark); font-size: .9rem;
}
.spec-tag span:first-child { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }

.home-stats { background: transparent; border: 0; padding: 0; margin-top: -72px; position: relative; z-index: 2; }
.stats-card { background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(29,40,67,.14); overflow: hidden; }
.stats-card .stat { padding: 30px 26px; }
.stats-card .stat strong { font-size: 1.75rem; }

/* Scroll-driven 3D assembly */
.assembly { position: relative; height: 200vh; padding: 0; margin-top: 80px; background: var(--navy-deep); color: #fff; }
.assembly-stage {
  position: sticky; top: 76px; height: calc(100vh - 76px); height: calc(100dvh - 76px);
  display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(ellipse at 65% 50%, #24325a 0%, var(--navy-deep) 65%);
}
.assembly-grid { width: 100%; display: grid; grid-template-columns: minmax(280px, .8fr) 1.2fr; gap: 40px; align-items: center; }
.assembly-grid > * { min-width: 0; }
.assembly h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.assembly .eyebrow { color: var(--coral); }
.assembly-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; }
.assembly-steps li {
  display: flex; gap: 16px; padding: 14px 16px; border-radius: var(--radius);
  border: 1px solid transparent; opacity: .5; transition: opacity .3s, background-color .3s, border-color .3s;
}
.assembly-steps li.is-active { opacity: 1; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.assembly-steps h3 { color: #fff; margin: 0 0 .2em; font-size: 1.3rem; }
.assembly-steps p { margin: 0; color: #c3cadb; font-size: .97rem; }
.step-num { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--coral); padding-top: 3px; }
.assembly-rail { height: 3px; margin: 22px 16px 0; background: rgba(255,255,255,.12); border-radius: 3px; overflow: hidden; }
.assembly-rail span { display: block; height: 100%; width: 100%; background: var(--coral); transform-origin: left; transform: scaleX(0); }
.assembly-caption { display: none; }
.assembly-canvas { position: relative; height: min(70vh, 620px); }
.assembly-canvas canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.assembly-canvas.is-3d { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.assembly-fallback { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.assembly-canvas.is-3d .assembly-fallback { display: none; }

/* Bento ranges */
.home-ranges { padding-top: 96px; }
.bento { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.bento .media {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #fff 0%, #f1f3f7 55%, #e4e8ef 100%);
  border-bottom: 1px solid var(--line);
}
.bento .media img { width: 92%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.bento .range-card:hover .media img { transform: scale(1.04); }
.bento .range-card h3 { font-size: 1.4rem; }
.home .range-card { transition: transform .2s, box-shadow .2s, border-color .2s; }
.home .range-card:hover { border-color: var(--coral); }
.home .range-card:hover .more { text-decoration: underline; text-underline-offset: 3px; }

/* Numbered features */

/* Industries */
.industries { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.industries h2 { margin: 0; }
.chips-lg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.chips-lg li {
  padding: 14px 0; background: none; border: 0; border-top: 1px solid #cdd2de; border-radius: 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--navy-dark);
}


@media (max-width: 1000px) {
}
@media (max-width: 860px) {
  .home-hero { padding: 56px 0 120px; }
  .spec-tag { left: 12px; bottom: 12px; }
  .assembly { height: 170vh; margin-top: 56px; }
  .assembly-stage { align-items: stretch; }
  .assembly-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 0; padding-top: 24px; padding-bottom: 16px; }
  .assembly-steps { margin-top: 12px; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .assembly-steps li { flex-direction: column; gap: 2px; padding: 10px; }
  .assembly-steps p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .assembly-steps h3 { font-size: 1.05rem; }
  .assembly-rail { margin: 14px 0 0; }
  .assembly-caption { display: block; margin: 12px 0 0; color: #c3cadb; font-size: .95rem; min-height: 3em; }
  .assembly-canvas { height: auto; min-height: 260px; }
  .industries { grid-template-columns: 1fr; gap: 24px; }
  .chips-lg { grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
  .home-ranges { padding-top: 64px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .stats-card .stat { padding: 20px 16px; }
  .stats-card .stat strong { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .assembly { height: auto; }
  .assembly-stage { position: relative; top: 0; height: auto; padding: 80px 0; }
  .assembly-steps li { opacity: 1; }
  .assembly-rail { display: none; }
  .assembly-caption { display: none; }
  .assembly-steps, .assembly-steps li.is-active { grid-template-columns: 1fr; }
  .assembly-steps p { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .home .range-card, .bento .media img { transition: none; }
  .bento .range-card:hover .media img { transform: none; }
}

/* Home theme: graphite hero + 3D section, light content sections (index.html only) */
.home {
  --g-950: #121419;
  --g-900: #181b21;
  --g-800: #20242b;
  --g-700: #2a2f38;
  --on-dark: #eef0f4;
  --on-dark-muted: #aab1be;
  --line-dark: rgba(255,255,255,.09);
  --studio: #eef1f5;
  background: var(--studio);
}

/* Light hero: paper background matching the catalogue-cover image */
.home { --paper: #f4f4f4; }
.home .home-hero { background: var(--paper); color: var(--ink); padding: 40px 0 130px; }
.home .home-hero::after { display: none; }
.home .home-hero h1 { color: var(--navy-dark); }
.home .home-hero .eyebrow { color: var(--coral-strong); }
.home .home-hero p { color: var(--muted); }
.home .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 32px; }
.hero-cover { position: relative; margin: 0 -20px 0 0; }
.hero-cover img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%), linear-gradient(to bottom, transparent 0, #000 6%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 16%), linear-gradient(to bottom, transparent 0, #000 6%, #000 82%, transparent 100%);
  mask-composite: intersect;
}
.hero-cover .spec-tag { left: 0; bottom: 14%; }

.home main section.home-stats {
  padding-bottom: 80px;
  background: linear-gradient(to bottom, var(--paper) 0 72px, var(--g-950) 72px);
}
.home .assembly { margin-top: 0; }
@media (max-width: 860px) {
  .home main section.home-stats { padding-bottom: 56px; }
  .home .home-hero { padding: 32px 0 110px; }
  .home .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-cover { margin: 0 auto; max-width: 520px; }
  .hero-cover .spec-tag { left: 12px; }
}
.home .stats-card { background: var(--g-800); border: 1px solid var(--line-dark); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.home .stats-card .stat { border-color: var(--line-dark); }
.home .stats-card .stat strong { color: #fff; }
.home .stats-card .stat span { color: var(--on-dark-muted); }
.home .assembly { background: var(--g-950); }
.home .assembly-stage { background: radial-gradient(ellipse at 65% 50%, #262c38 0%, var(--g-950) 68%); }

/* Light bands: products, why ENFLO, industries */
.home main section.home-ranges, .home main section.home-industries { background-color: var(--studio); }
.home main section.section-alt { background-color: #fff; }
.home .section-alt .feature { background: var(--studio); box-shadow: none; }

.home .site-footer { background: var(--g-950); }

/* Product page (product.html) */
.crumbs { padding-top: 22px; font-size: .95rem; color: var(--muted); }
.crumbs a { color: var(--navy); }
.product-hero { padding: 18px 0 56px; }
.product-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.viewer {
  position: relative; margin: 0; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 35%, #ffffff 0%, #f3f4f7 70%, #eceef3 100%);
  border: 1px solid var(--line);
}
.viewer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.viewer img:not([src]), .drawing img:not([src]) { visibility: hidden; }
.product-summary h1 { color: var(--navy-dark); font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 0 0 .3em; }
.part-code { font-size: 1.1rem; color: var(--muted); margin-bottom: .6em; }
.part-code strong { color: var(--navy-dark); font-variant-numeric: tabular-nums; }
.product-range { color: var(--muted); margin-bottom: 1.6em; }
.product-range a { color: var(--navy); }

.product-specs { background: var(--surface); padding: 64px 0; }
.product-specs h2 { margin-bottom: 28px; }
.specs-layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 32px; align-items: start; }
.specs-layout > * { min-width: 0; }
.drawing { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 96px; }
.drawing img { width: 100%; height: auto; }
.drawing figcaption { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.table-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 100px; }
.table-scroll { overflow-x: auto; background: #fff; }
.table-scroll:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.size-table { border-collapse: collapse; width: 100%; font-size: .92rem; font-variant-numeric: tabular-nums; }
.table-title { margin: 0; padding: 14px 16px 10px; font-weight: 600; color: var(--navy-dark); }
.swipe-hint { display: none; margin: 0; padding: 0 16px 10px; font-size: .85rem; color: var(--muted); }
.size-table th, .size-table td { padding: .55em .7em; text-align: center; white-space: nowrap; border-bottom: 1px solid var(--line); }
.size-table thead th { background: var(--navy-dark); color: #fff; font-weight: 600; font-size: .85rem; border: 1px solid rgba(255,255,255,.14); white-space: normal; min-width: 4.2em; }
.size-table tbody th { font-weight: 600; color: var(--navy-dark); text-align: left; }
.size-table tbody tr:nth-child(even) { background: var(--surface); }
.size-table tbody tr:hover { background: #fdecea; }
.specs-note { font-size: .88rem; color: var(--muted); margin: 20px 0 0; max-width: 80ch; }

.custom-size {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 28px; padding: 24px 28px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--coral-strong); border-radius: var(--radius);
}
.custom-size h3 { color: var(--navy-dark); font-size: 1.3rem; margin: 0 0 .2em; }
.custom-size p { margin: 0; color: var(--muted); }
.not-found { padding: 80px 20px; }

/* Product cards link to their product page */
.product-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.product:has(.product-link) { transition: border-color .15s, box-shadow .15s; }
.product:has(.product-link:hover) { border-color: var(--navy); box-shadow: 0 6px 18px rgba(29,40,67,.08); }
.product-link:focus-visible { outline: 3px solid var(--coral); outline-offset: -3px; border-radius: var(--radius); }

@media (max-width: 860px) {
  .product-top { grid-template-columns: 1fr; gap: 28px; }
  .specs-layout { grid-template-columns: minmax(0, 1fr); }
  .drawing { position: static; max-width: 420px; }
}
.specs-layout.no-drawing { grid-template-columns: minmax(0, 560px); }
.table-block + .table-block { margin-top: 20px; }
.table-note { margin: 14px 0 0; color: var(--navy-dark); }

/* Product page: quick facts, jump links, per-row enquiry, related products */
.quick-facts { margin: -.4em 0 1.6em; display: grid; gap: 6px; }
.quick-facts[hidden] { display: none; }
.quick-facts div { display: flex; gap: 14px; }
.quick-facts dt { min-width: 5.5em; color: var(--muted); }
.quick-facts dd { margin: 0; font-weight: 600; color: var(--navy-dark); font-variant-numeric: tabular-nums; }
.table-jump { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin: -8px 0 22px; }
.table-jump[hidden] { display: none; }
.table-jump::before { content: "Jump to"; color: var(--muted); }
.table-jump a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.size-table .enq-col { width: 1%; }
.row-enquire { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.row-enquire:hover { color: var(--coral-strong); }
.row-enquire:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 2px; }
.related { padding: 56px 0 64px; }
.related[hidden] { display: none; }
.related-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 24px; }
.related-head h2 { margin: 0; }
.related-all { color: var(--navy); font-weight: 600; }

@media (max-width: 860px) {
  .swipe-hint { display: block; }
  /* keep the part number in view while the other columns scroll */
  .size-table tbody th, .size-table thead tr:first-child th:first-child { position: sticky; left: 0; z-index: 1; }
  .size-table tbody th { background: #fff; box-shadow: 1px 0 0 var(--line); }
  .size-table tbody tr:nth-child(even) th { background: var(--surface); }
  .size-table tbody tr:hover th { background: #fdecea; }
  .size-table thead tr:first-child th:first-child { background: var(--navy-dark); z-index: 2; }
}
@media (max-width: 760px) {
  .site-footer { padding-bottom: 92px; }   /* keeps the WhatsApp button off the footer text */
}

/* About: industries are plain tags, not pill buttons (those mean "click me" on the Products page) */
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li { padding: .45em .9em; border-radius: 4px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--coral); font-weight: 500; color: var(--navy-dark); }

.split.split-top { align-items: start; }
