/* Fonts: Barlow and Barlow Semi Condensed, SIL Open Font License, served from this site */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }

/* Almoguera Injection & Blow Moulding — site styles */

:root {
  --steel: #2b3138;
  --steel-deep: #1f242a;
  --graphite: #22262b;
  --slate: #56606a;
  --mist: #eaedef;
  --mist-line: #d5dade;
  --white: #ffffff;
  --crimson: #b4232f;
  --crimson-dark: #8f1a24;
  --signal: #f2b705;

  --font: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Barlow Semi Condensed", "Barlow", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--crimson); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--crimson-dark); }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--steel-deep);
  line-height: 1.08;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; line-height: 1.2; }
h4 { font-size: 1.15rem; line-height: 1.3; }

p { margin: 0 0 1.1em; max-width: 68ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--steel-deep); color: var(--white); padding: 10px 16px; border-radius: 4px;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Header ---------- */

.topbar { background: var(--steel-deep); color: #c9cfd4; font-size: 0.875rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #e9ecee; text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar-contact { display: flex; gap: 24px; flex-wrap: wrap; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--mist-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand img { height: 52px; width: auto; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--mist-line); border-radius: 4px;
  min-height: 44px; padding: 0 14px; font: 600 1rem var(--font-display); color: var(--steel-deep); cursor: pointer;
}

.primary-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.primary-nav li { position: relative; }
.primary-nav a, .primary-nav .menu-btn {
  display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  font: 500 1.0625rem var(--font-display); color: var(--steel-deep); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.primary-nav a:hover, .primary-nav .menu-btn:hover { color: var(--crimson); }
.primary-nav a[aria-current="page"], .primary-nav .is-current > .menu-btn { color: var(--crimson); }
.menu-btn svg { transition: transform .2s ease; }
.menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.submenu {
  list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: 0; min-width: 280px;
  background: var(--white); border: 1px solid var(--mist-line); border-top: 3px solid var(--crimson);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 18px 40px -20px rgba(31, 36, 42, .35);
  display: none;
}
.submenu.open { display: block; }
.submenu a { padding: 8px 20px; min-height: 40px; font-family: var(--font); font-weight: 500; font-size: 1rem; }
.submenu a:hover { background: var(--mist); color: var(--steel-deep); }
.submenu .overview a { font-weight: 600; border-bottom: 1px solid var(--mist); margin-bottom: 6px; }

.nav-cta a.btn { margin-left: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  font: 600 1.0625rem var(--font-display); letter-spacing: 0.01em; text-decoration: none;
  border-radius: 4px; border: 2px solid transparent; transition: background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--crimson); color: var(--white); }
.btn-primary:hover { background: var(--crimson-dark); color: var(--white); }
.btn-outline { border-color: var(--steel-deep); color: var(--steel-deep); }
.btn-outline:hover { background: var(--steel-deep); color: var(--white); }
.btn-light { background: var(--white); color: var(--steel-deep); }
.btn-light:hover { background: var(--mist); color: var(--steel-deep); }
.primary-nav a.btn { color: var(--white); background: var(--crimson); padding: 0 20px; }
.primary-nav a.btn:hover { background: var(--crimson-dark); }

.text-link { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; }

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section-mist { background: var(--mist); }
.section-steel { background: var(--steel); color: #dfe3e6; }
.section-steel h2, .section-steel h3 { color: var(--white); }
.section-steel a:not(.btn) { color: var(--white); }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head h2 { margin: 0; max-width: 22ch; }
.section-head p { margin: 12px 0 0; color: var(--slate); }

.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--slate); max-width: 58ch; }

/* ---------- Media placeholders (replace with photographs) ---------- */

.media {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--mist);
  aspect-ratio: 4 / 3;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.tall { aspect-ratio: 4 / 5; }
.media.wide { aspect-ratio: 16 / 9; }
.media-placeholder {
  display: flex; align-items: flex-end; padding: 18px;
  background-color: #dfe3e6;
  background-image:
    linear-gradient(var(--mist-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--mist-line) 1px, transparent 1px);
  background-size: 32px 32px;
}
.media-placeholder span {
  background: var(--white); color: var(--slate); font-size: 0.875rem; padding: 6px 10px; border-radius: 3px;
}
.section-steel .media-placeholder { background-color: #353c44; background-image:
    linear-gradient(#414952 1px, transparent 1px), linear-gradient(90deg, #414952 1px, transparent 1px); }

/* ---------- Home hero ---------- */

.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 36px; }
.hero-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--mist-line); color: var(--slate); font-size: 0.95rem; max-width: 52ch; }

/* ---------- Credentials band ---------- */

.facts { background: var(--steel-deep); color: #c9cfd4; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 32px 28px 32px 0; }
.facts li + li { padding-left: 28px; border-left: 1px solid #3a424b; }
.facts strong { display: block; font: 600 1.4rem/1.2 var(--font-display); color: var(--white); margin-bottom: 6px; }
.facts span { font-size: 0.95rem; line-height: 1.5; display: block; }

/* ---------- Process ---------- */

.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.process li { counter-increment: step; position: relative; padding-top: 64px; }
.process li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  font: 600 2.75rem/1 var(--font-display); color: var(--crimson);
}
.process li::after { content: ""; position: absolute; top: 22px; left: 52px; right: -20px; height: 2px; background: var(--mist-line); }
.process li:last-child::after { display: none; }
.process h3 a { color: var(--steel-deep); text-decoration: none; }
.process h3 a:hover { color: var(--crimson); }
.process p { color: var(--slate); }

/* ---------- Product listings ---------- */

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; }
.product-item h3 { margin: 22px 0 8px; }
.product-item h3 a { color: var(--steel-deep); text-decoration: none; }
.product-item h3 a:hover { color: var(--crimson); }
.product-item p { color: var(--slate); margin-bottom: 12px; }
.media-link { display: block; text-decoration: none; }
.product-item .media { transition: opacity .2s ease; }
.product-item a.media-link:hover .media { opacity: .9; }

.product-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
@media (max-width: 900px) { .product-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .product-grid.three { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Feature band ---------- */

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature .patent { display: inline-block; font: 600 1rem var(--font-display); color: var(--signal); margin-bottom: 16px; }
.stripe { height: 10px; background: repeating-linear-gradient(-45deg, var(--signal) 0 14px, var(--steel-deep) 14px 28px); }

/* ---------- Industries list ---------- */

.industry-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.industry-list li { padding: 18px 0; border-top: 1px solid var(--mist-line); display: grid; grid-template-columns: 14ch minmax(0, 1fr); gap: 16px; }
.industry-list strong { font: 600 1.15rem var(--font-display); color: var(--steel-deep); }
.industry-list span { color: var(--slate); }

/* ---------- CTA band ---------- */

.cta { background: var(--crimson); color: #fbe9ea; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 64px; padding-bottom: 64px; }
.cta h2 { color: var(--white); margin-bottom: 10px; }
.cta p { margin: 0; max-width: 56ch; }

/* ---------- Inner page hero ---------- */

.page-hero { background: var(--mist); padding: 40px 0 clamp(48px, 7vw, 88px); }
.breadcrumb ol { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.925rem; color: var(--slate); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #9aa3ab; }
.breadcrumb a { color: var(--slate); }
.breadcrumb [aria-current] { color: var(--steel-deep); }
.page-hero .wrap > .grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-bottom: 0; }

/* ---------- Content layouts ---------- */

.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); }
.split h2 { position: sticky; top: 120px; }
.split-even { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.prose h3 { margin-top: 1.6em; }
.prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; max-width: 64ch; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--crimson); }

.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.col-item { border-top: 2px solid var(--steel-deep); padding-top: 20px; }
.col-item p { color: var(--slate); margin: 0; }
.section-steel .col-item { border-top-color: #4a535d; }
.section-steel .col-item p { color: #c9cfd4; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--mist-line); }
.steps li::before { content: counter(s); font: 600 1.75rem/1 var(--font-display); color: var(--crimson); }
.steps h3 { font-size: 1.3rem; margin-bottom: 6px; }
.steps p { color: var(--slate); margin: 0; }

.spec { width: 100%; border-collapse: collapse; font-size: 1rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 16px 0; border-top: 1px solid var(--mist-line); }
.spec th { width: 34%; font: 600 1.05rem var(--font-display); color: var(--steel-deep); padding-right: 24px; }
.spec td { color: var(--slate); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--mist-line); }
.todo { background: #fff4cc; color: #6b4e00; padding: 1px 6px; border-radius: 3px; font-size: 0.9em; }

.category-rows { display: grid; gap: 0; }
.category-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: 48px 0; border-top: 1px solid var(--mist-line); }
.category-row:last-child { border-bottom: 1px solid var(--mist-line); }
.category-row h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.category-row h2 a { color: var(--steel-deep); text-decoration: none; }
.category-row h2 a:hover { color: var(--crimson); }
.category-row p { color: var(--slate); }

.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.person .media { aspect-ratio: 4 / 5; margin-bottom: 20px; }
.person h3 { font-size: 1.3rem; margin-bottom: 4px; }
.person .role { color: var(--crimson); font-weight: 600; margin-bottom: 12px; }
.person p { color: var(--slate); font-size: 1rem; }

.callout { background: var(--white); border: 1px solid var(--mist-line); border-radius: var(--radius); padding: 28px 32px; }
.callout h3 { margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); }
.contact-details dl { margin: 0; }
.contact-details dt { font: 600 1.05rem var(--font-display); color: var(--steel-deep); margin-top: 24px; }
.contact-details dd { margin: 4px 0 0; color: var(--slate); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 600 1rem var(--font-display); color: var(--steel-deep); }
.field .hint { font-size: 0.9rem; color: var(--slate); margin-top: -4px; }
.field input, .field select, .field textarea {
  font: 400 1rem var(--font); color: var(--graphite); background: var(--white);
  border: 1px solid #b9c1c8; border-radius: 4px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--signal); outline-offset: 1px; border-color: var(--steel-deep); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { grid-column: 1 / -1; font-size: 0.925rem; color: var(--slate); margin: 0; }

/* ---------- Footer ---------- */

.site-footer { background: var(--steel-deep); color: #b8c0c7; font-size: 0.975rem; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 36ch; }
.site-footer h2 { font: 600 1.1rem var(--font-display); color: var(--white); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #dfe3e6; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-legal { border-top: 1px solid #343b43; }
.footer-legal .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: 0.875rem; color: #8f99a3; }
.footer-legal p { margin: 0; max-width: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--mist-line); max-height: calc(100vh - 88px); overflow-y: auto; }
  .primary-nav.open { display: block; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 24px; gap: 0; }
  .primary-nav > ul > li { border-bottom: 1px solid var(--mist); }
  .primary-nav a, .primary-nav .menu-btn { width: 100%; justify-content: space-between; padding: 0 4px; min-height: 52px; }
  .submenu { position: static; box-shadow: none; border: 0; border-left: 3px solid var(--crimson); border-radius: 0; margin: 0 0 12px 4px; padding: 4px 0; min-width: 0; }
  .nav-cta { border-bottom: 0 !important; padding-top: 16px; }
  .nav-cta a.btn { margin-left: 0; width: 100%; justify-content: center; }
}

@media (max-width: 900px) {
  .hero .wrap, .page-hero .wrap > .grid, .feature, .split, .split-even, .contact-grid, .category-row { grid-template-columns: minmax(0, 1fr); }
  .split h2 { position: static; }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid #3a424b; }
  .process, .cols-3, .people { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .process li::after { display: none; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand img { height: 42px; }
  .site-header .wrap { min-height: 72px; }
  .topbar .wrap { justify-content: center; text-align: center; padding-top: 8px; padding-bottom: 8px; }
  .topbar-tag { display: none; }
  .facts ul, .product-grid, .industry-list, .cols-2, .form { grid-template-columns: minmax(0, 1fr); }
  .facts li, .facts li + li { padding: 24px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid #3a424b; }
  .industry-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .spec th { width: 42%; }
  .footer-main { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.field.full .btn { align-self: flex-start; padding: 0 36px; }

/* ---------- Motion: hero arrival and process line (skipped when reduced motion is set) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .motion .hero h1,
  .motion .hero .lead,
  .motion .hero-actions,
  .motion .hero-note,
  .motion .hero .media {
    opacity: 0;
    transform: translateY(18px);
    animation: settle .8s cubic-bezier(.2, .7, .2, 1) forwards;
  }
  .motion .hero h1 { animation-delay: .05s; }
  .motion .hero .lead { animation-delay: .2s; }
  .motion .hero-actions { animation-delay: .32s; }
  .motion .hero-note { animation-delay: .44s; }
  .motion .hero .media { transform: translateY(0) scale(.97); animation-delay: .15s; animation-duration: 1.1s; }

  @keyframes settle { to { opacity: 1; transform: none; } }

  .motion .process li::after { transform: scaleX(0); transform-origin: left center; transition: transform .9s cubic-bezier(.6, 0, .2, 1); }
  .motion .process li::before { opacity: .25; transition: opacity .5s ease; }
  .motion .process.in-view li::before { opacity: 1; }
  .motion .process.in-view li::after { transform: scaleX(1); }
  .motion .process.in-view li:nth-child(2)::before { transition-delay: .75s; }
  .motion .process.in-view li:nth-child(2)::after { transition-delay: .9s; }
  .motion .process.in-view li:nth-child(3)::before { transition-delay: 1.65s; }
}
.person { border-top: 2px solid var(--steel-deep); padding-top: 20px; }
.btn { white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1320px) {
  .primary-nav a, .primary-nav .menu-btn { padding: 0 8px; font-size: 1rem; }
  .nav-cta a.btn { margin-left: 6px; padding: 0 16px; }
  .brand img { height: 46px; }
}

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px;
  border-radius: 999px; background: #157347; color: #fff; text-decoration: none;
  font: 600 1rem var(--font-display); box-shadow: 0 12px 28px -10px rgba(15, 30, 20, .45);
  transition: background-color .15s ease, transform .15s ease;
}
.wa-float:hover { background: #0f5c38; color: #fff; transform: translateY(-2px); }
.wa-float svg { flex-shrink: 0; }
@media (max-width: 640px) {
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; right: 16px; }
  .wa-float span { display: none; }
}
.footer-contact { margin-top: 16px; line-height: 1.75; }

/* ---------- Home page movement (skipped when reduced motion is set) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .motion .hero .media img { animation: heroZoom 7s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1); } }

  .motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
  .motion .reveal.in { opacity: 1; transform: none; }

  .product-item .media img, .category-row .media img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
  .product-item:hover .media img, .category-row:hover .media img { transform: scale(1.045); }

  .motion .wa-float { animation: waIn .5s cubic-bezier(.2, .7, .2, 1) 1.2s both; }
  @keyframes waIn { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
}

/* ---------- Privacy Policy ---------- */
.policy-meta { margin-top: 18px; color: var(--slate); font-size: 0.95rem; }
.policy-layout { display: grid; grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.policy-nav { position: sticky; top: 120px; max-height: calc(100vh - 140px); overflow-y: auto; }
.policy-nav h2 { font-size: 1.1rem; margin-bottom: 12px; }
.policy-toc { margin: 0; padding-left: 1.4em; font-size: 0.95rem; }
.policy-toc li { margin-bottom: 6px; }
.policy-toc a { color: var(--slate); text-decoration: none; }
.policy-toc a:hover { color: var(--crimson); text-decoration: underline; }
.policy { max-width: 760px; }
.policy-clause { padding-top: 8px; margin-bottom: 40px; scroll-margin-top: 120px; }
.policy-clause h2 { font-size: 1.6rem; margin-bottom: 16px; }
.cl-num { color: var(--crimson); margin-right: 4px; }
.cl-sub { font-weight: 600; color: var(--steel-deep); margin-right: 6px; }
.policy p { max-width: none; }
.policy-list { list-style: none; margin: 0 0 1.2em; padding-left: 1.6em; }
.policy-list li { margin-bottom: 0.6em; text-indent: -1.6em; padding-left: 0; }
.cl-letter { display: inline-block; width: 1.6em; text-indent: 0; color: var(--steel-deep); font-weight: 600; }
.policy .spec { margin-bottom: 1.2em; }
.consent { flex-direction: row; align-items: flex-start; gap: 12px; }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; flex-shrink: 0; accent-color: var(--crimson); }
.consent label { font: 400 0.95rem var(--font); color: var(--graphite); }
.small-note { display: inline-block; margin-top: 6px; font-size: 0.875rem; color: var(--slate); }
@media (max-width: 900px) { .policy-layout { grid-template-columns: minmax(0, 1fr); } .policy-nav { position: static; max-height: none; } }

/* ---------- Video hero ---------- */
.hero.hero-video { position: relative; padding: 0; min-height: min(86vh, 820px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--steel-deep); }
.hero.hero-video .wrap { display: block; position: relative; width: 100%; padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(72px, 10vw, 140px); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img, .hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg video { opacity: 0; transition: opacity 1.2s ease; }
.hero-bg video.ready { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 21, 25, .88) 0%, rgba(17, 21, 25, .66) 48%, rgba(17, 21, 25, .3) 100%); }
.hero-content { max-width: 660px; }
.hero-video h1 { color: #fff; max-width: 16ch; }
.hero-video .lead { color: #e2e6e9; }
.hero-video .text-link { color: #fff; }
.hero-video .text-link:hover { color: #fff; opacity: .85; }
.hero-video .hero-note { color: #c9cfd4; border-top-color: rgba(255, 255, 255, .25); }

/* ---------- Process ring ---------- */
.cycle { position: relative; width: min(100%, 620px); aspect-ratio: 1 / 1; margin: 40px auto 0; }
.cycle-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.cycle-track { fill: none; stroke: var(--mist-line); stroke-width: .5; }
.cycle-progress { fill: none; stroke: var(--crimson); stroke-width: .9; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .9s cubic-bezier(.6, 0, .2, 1); }
.cycle-steps { list-style: none; margin: 0; padding: 0; }
.cycle-steps li { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.cycle-node { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); background: none; border: 0; padding: 0; cursor: pointer; display: block; font: inherit; }
.cycle-n { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--steel-deep); font: 600 1.15rem var(--font-display); color: var(--steel-deep); transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .3s ease; }
.cycle-t { position: absolute; top: 50%; width: 150px; transform: translateY(-50%); font: 600 1.02rem/1.25 var(--font-display); color: var(--steel-deep); transition: color .3s ease; }
.pos-r .cycle-t { left: 60px; text-align: left; }
.pos-l .cycle-t { right: 60px; text-align: right; }
.pos-t .cycle-t { left: 50%; top: auto; bottom: 60px; transform: translateX(-50%); text-align: center; }
.pos-b .cycle-t { left: 50%; top: 60px; transform: translateX(-50%); text-align: center; }
.cycle-d { display: none; }
.cycle-node:hover .cycle-n { border-color: var(--crimson); }
.cycle-node.is-done .cycle-n { border-color: var(--crimson); color: var(--crimson); }
.cycle-node.is-active .cycle-n { background: var(--crimson); border-color: var(--crimson); color: #fff; transform: scale(1.14); }
.cycle-node.is-active .cycle-t { color: var(--crimson); }
.cycle-node:focus-visible { outline: none; }
.cycle-node:focus-visible .cycle-n { outline: 3px solid var(--signal); outline-offset: 3px; }
.cycle-centre { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46%; text-align: center; }
.cycle-num { font-size: .9rem; font-weight: 600; color: var(--crimson); margin: 0 0 6px; }
.cycle-title { font-size: 1.7rem; margin: 0 0 10px; }
.cycle-desc { color: var(--slate); font-size: 1rem; margin: 0 auto; }
.cycle-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-top: 64px; }

@media (max-width: 900px) {
  .cycle { aspect-ratio: auto; width: 100%; margin-top: 24px; }
  .cycle-ring, .cycle-centre { display: none; }
  .cycle-steps li { position: static; width: auto; height: auto; padding: 16px 0; border-top: 1px solid var(--mist-line); }
  .cycle-node { position: static; transform: none; display: flex; align-items: center; gap: 16px; text-align: left; cursor: default; }
  .cycle-t, .pos-r .cycle-t, .pos-l .cycle-t, .pos-t .cycle-t, .pos-b .cycle-t { position: static; transform: none; width: auto; text-align: left; font-size: 1.15rem; }
  .cycle-d { display: block; margin: 6px 0 0 64px; color: var(--slate); }
  .cycle-node.is-active .cycle-n { transform: none; }
  .cycle-links { justify-content: flex-start; margin-top: 32px; }
}

/* ---------- Parallax band ---------- */
.band { position: relative; overflow: hidden; min-height: clamp(300px, 40vw, 480px); display: flex; align-items: center; background: var(--steel-deep); }
.band img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; will-change: transform; }
.band-overlay { position: absolute; inset: 0; background: rgba(17, 21, 25, .58); }
.band-content { position: relative; width: 100%; text-align: center; }
.band-title { font: 600 clamp(1.9rem, 3.8vw, 3.1rem)/1.15 var(--font-display); color: #fff; max-width: 22ch; margin: 0 auto; }

@media (prefers-reduced-motion: no-preference) {
  .motion .hero-bg img { animation: heroZoom 9s cubic-bezier(.2, .7, .2, 1) both; }
  .motion .cycle .cycle-track { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2.2s cubic-bezier(.6, 0, .2, 1); }
  .motion .cycle.in-view .cycle-track { stroke-dashoffset: 0; }
  .motion .cycle .cycle-steps li { opacity: 0; transform: scale(.5); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 170ms + 250ms); }
  .motion .cycle.in-view .cycle-steps li { opacity: 1; transform: none; }
  .motion .cycle .cycle-centre { opacity: 0; transition: opacity .8s ease 1.9s; }
  .motion .cycle.in-view .cycle-centre { opacity: 1; }
  .motion .band-title { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
  .motion .band.in-view .band-title { opacity: 1; transform: none; }
}

/* ---------- Larger logo, shrinking header, hero logo ---------- */
.site-header .wrap { min-height: 116px; transition: min-height .35s ease; }
.brand img { height: 86px; width: auto; transition: height .35s ease; }
.scrolled .site-header .wrap { min-height: 76px; }
.scrolled .brand img { height: 54px; }
.site-header { transition: box-shadow .35s ease; }
.scrolled .site-header { box-shadow: 0 8px 24px -18px rgba(31, 36, 42, .45); }
@media (min-width: 1081px) and (max-width: 1320px) {
  .brand img { height: 66px; }
  .scrolled .brand img { height: 48px; }
}
@media (max-width: 1080px) {
  .site-header .wrap { min-height: 92px; }
  .brand img { height: 66px; }
  .scrolled .site-header .wrap { min-height: 68px; }
  .scrolled .brand img { height: 46px; }
}
@media (max-width: 640px) {
  .site-header .wrap { min-height: 80px; }
  .brand img { height: 54px; }
  .scrolled .brand img { height: 42px; }
}
.hero-logo { display: block; width: clamp(260px, 40vw, 580px); height: auto; margin: 0 0 40px; filter: drop-shadow(0 8px 28px rgba(0, 0, 0, .35)); }
.hero-video h1 { font-size: clamp(2rem, 3.9vw, 3.3rem); }
@media (prefers-reduced-motion: no-preference) {
  .motion .hero-logo { animation: logoIn 1.3s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes logoIn { from { opacity: 0; transform: translateY(18px) scale(.94); filter: blur(6px) drop-shadow(0 8px 28px rgba(0,0,0,.35)); } to { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 8px 28px rgba(0,0,0,.35)); } }
  .motion .hero-video h1 { animation-delay: .45s; }
  .motion .hero-video .lead { animation-delay: .6s; }
  .motion .hero-video .hero-actions { animation-delay: .72s; }
  .motion .hero-video .hero-note { animation-delay: .84s; }
}

/* ---------- Inner page arrival, moving hazard stripe, hero photo parallax ---------- */
.stripe { background: linear-gradient(-45deg, var(--signal) 25%, var(--steel-deep) 25%, var(--steel-deep) 50%, var(--signal) 50%, var(--signal) 75%, var(--steel-deep) 75%); background-size: 40px 40px; }
@media (prefers-reduced-motion: no-preference) {
  .motion .stripe { animation: stripeMove 2.4s linear infinite; }
  @keyframes stripeMove { from { background-position: 0 0; } to { background-position: 40px 0; } }

  .motion .page-hero .breadcrumb,
  .motion .page-hero h1,
  .motion .page-hero .lead,
  .motion .page-hero .policy-meta,
  .motion .page-hero .media { opacity: 0; transform: translateY(18px); animation: settle .8s cubic-bezier(.2, .7, .2, 1) forwards; }
  .motion .page-hero .breadcrumb { animation-delay: .02s; }
  .motion .page-hero h1 { animation-delay: .1s; }
  .motion .page-hero .lead { animation-delay: .25s; }
  .motion .page-hero .policy-meta { animation-delay: .35s; }
  .motion .page-hero .media { transform: scale(.97); animation-delay: .2s; animation-duration: 1.1s; }

  .motion .page-hero .media img { height: 120%; position: relative; top: -10%; will-change: transform; }
}

/* ---------- Product video and real product photography ---------- */
.media-video { background: #1c2229; }
.media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero .media-video video { height: 100%; }
.media.tall img[src*="sleeper-pads-clips"] { object-position: 50% 45%; }

/* ---------- Products mega menu (desktop) ---------- */
.mega .mega-img, .mega .mega-desc { display: none; }
.mega .mega-text { display: block; }
@media (min-width: 1081px) {
  .submenu.mega {
    left: 50%; width: min(820px, calc(100vw - 48px)); min-width: 0; padding: 18px;
    transform: translateX(-50%);
  }
  .submenu.mega.open { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .submenu.mega .overview { grid-column: 1 / -1; }
  .submenu.mega .overview a { border-bottom: 1px solid var(--mist); margin: 0 0 6px; padding: 4px 6px 12px; min-height: 0; }
  .submenu.mega .overview a::after { content: " \2192"; color: var(--crimson); }
  .submenu.mega a.mega-card {
    display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; min-height: 0;
    border: 1px solid var(--mist-line); border-radius: var(--radius); overflow: hidden; height: 100%;
    background: var(--white); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }
  .submenu.mega a.mega-card:hover, .submenu.mega a.mega-card:focus-visible {
    background: var(--white); border-color: var(--crimson); transform: translateY(-2px);
    box-shadow: 0 12px 24px -16px rgba(31, 36, 42, .45);
  }
  .submenu.mega a[aria-current="page"] { border-color: var(--crimson); }
  .mega .mega-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); }
  .mega .mega-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
  .mega a.mega-card:hover .mega-img img { transform: scale(1.05); }
  .mega .mega-text { padding: 10px 12px 12px; }
  .mega .mega-title { display: block; font: 600 1rem/1.25 var(--font-display); color: var(--steel-deep); }
  .mega a.mega-card:hover .mega-title { color: var(--crimson); }
  .mega .mega-desc { display: block; margin-top: 4px; font-size: .875rem; line-height: 1.4; color: #5d6670; }
  .motion .submenu.mega.open { animation: megaIn .22s ease both; }
  @keyframes megaIn { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
}

/* ---------- Numbered benefits slider ---------- */
.benefits-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.benefits .eyebrow { display: inline-block; font: 600 1rem var(--font-display); color: var(--signal); margin-bottom: 14px; letter-spacing: .02em; }
.benefits-head h2 { margin-top: 0; }
.slides { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.slide { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; border-top: 1px solid #4a535d; padding-top: 24px; }
.slide-num { font: 600 clamp(4rem, 8vw, 7rem)/.85 var(--font-display); color: var(--signal); letter-spacing: -.02em; min-width: 1.6ch; }
.slide-body h3 { margin: 6px 0 10px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.slide-body p { margin: 0; font-size: 1.125rem; line-height: 1.6; max-width: 46ch; }
.slider.is-ready .slides { gap: 0; }
.slider.is-ready .slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s; }
.slider.is-ready .slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease, transform .5s ease, visibility 0s; }
.slider.is-ready .slide .slide-num { transition: transform .6s cubic-bezier(.2, .7, .2, 1); transform: translateX(-12px); }
.slider.is-ready .slide.is-active .slide-num { transform: none; }
.slider-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; }
.slider-nav[hidden] { display: none; }
.slider-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.slider-dot, .slider-arrows button {
  min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 4px; cursor: pointer;
  font: 600 1rem var(--font-display); color: #c9cfd4; background: transparent; border: 1px solid #4a535d;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.slider-dot:hover, .slider-arrows button:hover { color: var(--white); border-color: #8a939c; }
.slider-dot[aria-pressed="true"] { color: var(--steel-deep); background: var(--signal); border-color: var(--signal); }
.slider-arrows { display: flex; gap: 6px; }
.slider-bar { height: 3px; margin-top: 18px; background: #4a535d; overflow: hidden; display: none; }
.slider.is-ready .slider-bar { display: block; }
.slider-bar span { display: block; height: 100%; width: 100%; background: var(--signal); transform-origin: left; transform: scaleX(0); }
.slider-bar span.run { animation: sliderBar var(--slide-time, 6s) linear both; }
.slider.is-paused .slider-bar span.run { animation-play-state: paused; }
@keyframes sliderBar { to { transform: scaleX(1); } }
@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr; gap: 28px; }
  .slide { grid-template-columns: 1fr; gap: 8px; }
  .slider-nav { flex-wrap: wrap; }
}
@media (min-width: 1081px) {
  .submenu.mega .overview { grid-column: auto; order: 99; }
  .submenu.mega .overview a {
    height: 100%; margin: 0; padding: 20px; border: 0; border-radius: var(--radius);
    display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px;
    background: var(--steel); color: var(--white); font: 600 1.25rem/1.2 var(--font-display);
    background-image: repeating-linear-gradient(-45deg, rgba(242, 183, 5, .14) 0 12px, transparent 12px 24px);
    transition: background-color .2s ease;
  }
  .submenu.mega .overview a::before { content: "See the full range"; font: 500 .875rem var(--font); color: #c9cfd4; order: 2; }
  .submenu.mega .overview a::after { color: var(--signal); }
  .submenu.mega .overview a:hover { background-color: var(--crimson); color: var(--white); }
}
@media (min-width: 1081px) {
  .submenu.mega .overview a::after { content: none; }
  .submenu.mega .overview a::before { content: "See the full range \2192"; color: var(--signal); }
}

/* ---------- Headline block reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .motion h1.blocked { opacity: 1; transform: none; animation: none; }
  h1.blocked .bw { display: inline-block; position: relative; overflow: hidden; vertical-align: top; padding: 0 .02em .08em; margin-bottom: -.08em; }
  h1.blocked .bw-i { display: inline-block; opacity: 0; animation: bwText .01s linear forwards; animation-delay: calc(var(--d) + .34s); }
  h1.blocked .bw::after {
    content: ""; position: absolute; left: 0; right: 0; top: .1em; bottom: .06em; background: var(--crimson);
    transform: scaleX(0); transform-origin: left center;
    animation: bwBlock .72s cubic-bezier(.7, 0, .2, 1) forwards; animation-delay: var(--d);
  }
  h1.blocked .bw:nth-child(3n)::after { background: var(--signal); }
  .page-hero h1.blocked .bw:nth-child(3n+2)::after, main > .section:first-child h1.blocked .bw:nth-child(3n+2)::after { background: var(--steel-deep); }
  @keyframes bwBlock {
    0% { transform: scaleX(0); transform-origin: left center; }
    48% { transform: scaleX(1); transform-origin: left center; }
    52% { transform: scaleX(1); transform-origin: right center; }
    100% { transform: scaleX(0); transform-origin: right center; }
  }
  @keyframes bwText { to { opacity: 1; } }
}

/* ---------- Floating blocks behind page headers ---------- */
.has-blocks { position: relative; overflow: hidden; }
.page-hero.has-blocks > .wrap, .section.has-blocks > .wrap { position: relative; z-index: 1; }
.hero-video .blocks { z-index: 1; }
.hero-video .wrap { z-index: 2; }
.blocks { position: absolute; inset: 0; pointer-events: none; --mx: 0; --my: 0; }
.blk {
  position: absolute; display: block; border-radius: 3px;
  translate: calc(var(--mx) * var(--depth, 30px)) calc(var(--my) * var(--depth, 30px));
  transition: translate .9s cubic-bezier(.2, .7, .2, 1);
  opacity: 0; animation: blkIn 1.2s cubic-bezier(.2, .7, .2, 1) forwards, blkFloat 11s ease-in-out infinite alternate;
}
.blk.b1 { width: 120px; height: 120px; top: 12%; right: 6%; border: 2px solid rgba(255, 255, 255, .22); --depth: 46px; animation-delay: .5s, 0s; }
.blk.b2 { width: 54px; height: 54px; top: 58%; right: 14%; background: rgba(180, 35, 47, .55); --depth: 70px; animation-delay: .7s, -3s; animation-duration: 1.2s, 9s; }
.blk.b3 { width: 22px; height: 22px; top: 26%; right: 30%; background: var(--signal); --depth: 90px; animation-delay: .9s, -6s; animation-duration: 1.2s, 13s; }
.blk.b4 { width: 200px; height: 34px; bottom: 9%; right: 24%; border: 2px solid rgba(242, 183, 5, .35); --depth: 28px; animation-delay: 1.1s, -2s; }
.blk.b5 { width: 76px; height: 76px; bottom: 22%; right: 3%; background: rgba(255, 255, 255, .07); --depth: 56px; animation-delay: 1s, -8s; animation-duration: 1.2s, 15s; }
.blk.b6 { width: 14px; height: 14px; top: 9%; right: 42%; background: rgba(255, 255, 255, .5); --depth: 110px; animation-delay: 1.2s, -4s; }
.blk.b7 { width: 40px; height: 40px; top: 44%; right: 46%; border: 2px solid rgba(180, 35, 47, .6); --depth: 80px; animation-delay: 1.3s, -7s; animation-duration: 1.2s, 12s; }
/* light headers on inner pages */
.page-hero .blk.b1, .section .blk.b1 { border-color: rgba(31, 36, 42, .12); top: 8%; right: 44%; }
.page-hero .blk.b2, .section .blk.b2 { background: rgba(180, 35, 47, .14); top: auto; bottom: 10%; right: 47%; }
.page-hero .blk.b3, .section .blk.b3 { top: 18%; right: 2%; }
.page-hero .blk.b4, .section .blk.b4 { border-color: rgba(242, 183, 5, .7); bottom: 5%; right: 8%; }
.page-hero .blk.b5, .section .blk.b5 { background: rgba(31, 36, 42, .05); bottom: auto; top: 62%; right: 40%; }
.page-hero .blk.b6, .section .blk.b6 { background: rgba(180, 35, 47, .5); top: 14%; right: 28%; }
.page-hero .blk.b7, .section .blk.b7 { border-color: rgba(31, 36, 42, .14); top: auto; bottom: 18%; right: 1%; }
@keyframes blkIn { from { opacity: 0; transform: translateY(30px) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes blkFloat { from { transform: translateY(0) rotate(0); } to { transform: translateY(-18px) rotate(6deg); } }
@media (max-width: 760px) { .blk.b1, .blk.b4, .blk.b7 { display: none; } }
@media (prefers-reduced-motion: reduce) { .blocks { display: none; } }

/* ---------- Hover movement ---------- */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  /* Industries */
  .industry-list li {
    position: relative; padding-left: 0; padding-right: 12px;
    background: linear-gradient(90deg, var(--mist), rgba(232, 235, 238, 0)) no-repeat 0 0 / 0 100%;
    transition: background-size .5s cubic-bezier(.2, .7, .2, 1), padding-left .4s cubic-bezier(.2, .7, .2, 1);
  }
  .industry-list li::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--crimson); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
  .industry-list li:hover { background-size: 100% 100%; padding-left: 16px; }
  .industry-list li:hover::before { transform: scaleX(1); }
  .industry-list strong { transition: color .25s ease; }
  .industry-list li:hover strong { color: var(--crimson); }

  /* Credentials band */
  .facts li { position: relative; transition: background-color .3s ease; }
  .facts li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
  .facts li + li::before { left: 0; }
  .facts li:hover { background-color: rgba(255, 255, 255, .03); }
  .facts li:hover::before { transform: scaleX(1); }
  .facts strong { transition: transform .35s cubic-bezier(.2, .7, .2, 1), color .25s ease; }
  .facts li:hover strong { transform: translateY(-3px); color: var(--signal); }

  /* Columns and cards on every page */
  .col-item { position: relative; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
  .col-item::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--crimson); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
  .section-steel .col-item::before { background: var(--signal); }
  .col-item:hover { transform: translateY(-4px); }
  .col-item:hover::before { transform: scaleX(1); }
  .col-item h3 { transition: color .25s ease; }
  .col-item:hover h3 { color: var(--crimson); }
  .section-steel .col-item:hover h3 { color: var(--signal); }

  .product-item { transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
  .product-item:hover { transform: translateY(-6px); }
  .product-item .media { position: relative; }
  .product-item .media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--crimson); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
  .product-item:hover .media::after { transform: scaleX(1); }
  .product-item:hover h3 a { color: var(--crimson); }

  .category-row h2 a { display: inline-block; transition: transform .35s cubic-bezier(.2, .7, .2, 1), color .2s ease; }
  .category-row:hover h2 a { transform: translateX(8px); color: var(--crimson); }

  .feature .media img, .split-even .media img { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
  .feature .media:hover img, .split-even .media:hover img { transform: scale(1.04); }

  .person, .steps li, .contact-grid > * { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
  .person:hover, .steps li:hover { transform: translateY(-5px); }
  .person .media img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
  .person:hover .media img { transform: scale(1.05); }

  .spec tr { transition: background-color .2s ease; }
  .spec tr:hover { background-color: rgba(180, 35, 47, .05); }
  .spec tr:hover th { color: var(--crimson); }

  /* Buttons and links */
  .btn { position: relative; overflow: hidden; transition: background-color .15s ease, color .15s ease, transform .25s ease, box-shadow .25s ease; }
  .btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0)); transform: skewX(-20deg); pointer-events: none; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(31, 36, 42, .6); }
  .btn:hover::after { left: 130%; transition: left .7s ease; }
  .text-link { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px; padding-bottom: 2px; transition: background-size .35s ease; text-decoration: none; }
  .text-link:hover { background-size: 100% 2px; }
  .site-footer a:not(.btn) { transition: color .2s ease, padding-left .25s ease; }
  .site-footer ul a:hover { padding-left: 4px; }
}
.page-hero .blk.b2, .section .blk.b2 { bottom: 5%; right: 34%; }
.page-hero .blk.b5, .section .blk.b5 { top: 5%; right: 54%; width: 60px; height: 60px; }

/* ---------- Split home hero: text and logo left, video right ---------- */
.hero.hero-split { position: relative; padding: clamp(48px, 6vw, 80px) 0; background: var(--steel-deep); color: #fff; overflow: hidden; }
.hero-split::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .025) 0 14px, transparent 14px 28px); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-split .hero-content { max-width: 640px; }
.hero-lockup { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); margin: 0 0 32px; }
.hero-mark { width: auto; height: clamp(92px, 10vw, 150px); flex: none; filter: drop-shadow(0 6px 22px rgba(0, 0, 0, .35)); }
.hero-word { width: clamp(220px, 27vw, 400px); height: auto; min-width: 0; }
.hero-split h1 { color: #fff; font-size: clamp(2rem, 3.4vw, 3rem); max-width: 18ch; }
.hero-split .lead { color: #d6dbdf; }
.hero-split .text-link { color: #fff; }
.hero-media { position: relative; justify-self: end; width: 100%; max-width: 500px; }
.hero-frame { position: relative; aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; background: #111519; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.hero-media::before { content: ""; position: absolute; top: -14px; right: -14px; width: 46%; height: 46%; border-top: 4px solid var(--signal); border-right: 4px solid var(--signal); border-radius: 0 6px 0 0; pointer-events: none; }
.hero-media::after { content: ""; position: absolute; bottom: 38px; left: -14px; width: 30%; height: 30%; border-bottom: 4px solid var(--crimson); border-left: 4px solid var(--crimson); pointer-events: none; }
.hero-frame img, .hero-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-frame video { opacity: 0; transition: opacity 1s ease; }
.hero-frame video.ready { opacity: 1; }
.hero-caption { margin: 14px 0 0; font-size: .875rem; color: #9aa4ad; letter-spacing: .02em; }
.hero-caption::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--crimson); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(180, 35, 47, .6); }
@media (prefers-reduced-motion: no-preference) {
  .motion .hero-caption::before { animation: livePulse 1.8s ease-out infinite; }
  @keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(180, 35, 47, .6); } 100% { box-shadow: 0 0 0 10px rgba(180, 35, 47, 0); } }
  .motion .hero-lockup { opacity: 0; transform: translateX(-24px); animation: settle .9s cubic-bezier(.2, .7, .2, 1) .05s forwards; }
  .motion .hero-mark { animation: markIn 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes markIn { from { transform: scale(.7) rotate(-12deg); } to { transform: none; } }
  .motion .hero-split h1 { animation-delay: .3s; }
  .motion .hero-split .lead { animation-delay: .45s; }
  .motion .hero-split .hero-actions { animation-delay: .58s; }
  .motion .hero-media { opacity: 0; transform: translateX(30px); animation: settle 1s cubic-bezier(.2, .7, .2, 1) .25s forwards; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { justify-self: start; max-width: 460px; }
}
@media (max-width: 520px) {
  .hero-mark { height: 70px; }
  .hero-word { width: 200px; }
}

/* ---------- Moving B-BBEE banner ---------- */
.ticker { background: var(--signal); color: var(--steel-deep); overflow: hidden; border-top: 1px solid rgba(0, 0, 0, .15); border-bottom: 1px solid rgba(0, 0, 0, .15); }
.ticker-track { display: flex; width: max-content; }
.ticker-list { display: flex; list-style: none; margin: 0; padding: 0; flex: none; }
.ticker-list li { display: flex; align-items: center; white-space: nowrap; padding: 15px 0; font: 500 1.05rem var(--font-display); letter-spacing: .02em; }
.ticker-list li strong { font-weight: 700; margin-right: .35em; text-transform: uppercase; }
.ticker-list li::after { content: ""; width: 9px; height: 9px; background: var(--crimson); transform: rotate(45deg); margin: 0 34px; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: tickerMove 32s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  @keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { width: auto; }
  .ticker-list { flex-wrap: wrap; justify-content: center; }
  .ticker-list[aria-hidden="true"] { display: none; }
}
.hero-split h1 { max-width: 21ch; }
.hero-media { max-width: 440px; }

/* ---------- Slim full width video header ---------- */
.hero.hero-video.hero-slim { min-height: 0; }
.hero-slim .wrap { padding-top: clamp(44px, 5vw, 64px); padding-bottom: clamp(48px, 5.5vw, 72px); }
.hero-slim .hero-content { max-width: 720px; }
.hero-slim .hero-lockup { margin-bottom: 24px; }
.hero-slim .hero-mark { height: clamp(84px, 8.5vw, 124px); }
.hero-slim .hero-word { width: clamp(220px, 26vw, 380px); }
.hero-slim h1 { font-size: clamp(1.9rem, 3vw, 2.7rem); max-width: 24ch; margin-bottom: 14px; }
.hero-slim .lead { max-width: 60ch; font-size: 1.12rem; margin-bottom: 26px; }
.hero-slim .hero-overlay { background: linear-gradient(90deg, rgba(17, 21, 25, .9) 0%, rgba(17, 21, 25, .72) 50%, rgba(17, 21, 25, .35) 100%); }
.hero-slim .hero-caption { position: absolute; right: var(--gutter, 24px); bottom: 16px; margin: 0; z-index: 2; color: #c9cfd4; font-size: .8rem; }
@media (min-width: 1300px) { .hero-slim .hero-caption { right: calc((100vw - 1200px) / 2); } }
@media (max-width: 700px) { .hero-slim .hero-caption { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .motion .hero-slim h1 { animation-delay: .3s; }
  .motion .hero-slim .lead { animation-delay: .45s; }
  .motion .hero-slim .hero-actions { animation-delay: .58s; }
}

/* ---------- Process section background: engineering drawing grid ---------- */
.cycle-section {
  position: relative; overflow: hidden;
  background-color: #f3f5f7;
  background-image:
    radial-gradient(circle at 50% 62%, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, .6) 26%, rgba(243, 245, 247, 0) 52%),
    linear-gradient(rgba(31, 36, 42, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 36, 42, .06) 1px, transparent 1px),
    linear-gradient(rgba(31, 36, 42, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 36, 42, .03) 1px, transparent 1px);
  background-size: 100% 100%, 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  background-position: center, -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}
.cycle-section::before, .cycle-section::after {
  content: ""; position: absolute; pointer-events: none; border: 2px solid rgba(180, 35, 47, .14); border-radius: 50%;
}
.cycle-section::before { width: 520px; height: 520px; left: -220px; top: 18%; }
.cycle-section::after { width: 360px; height: 360px; right: -140px; bottom: -80px; border-color: rgba(242, 183, 5, .35); border-style: dashed; }
.cycle-section > .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .motion .cycle-section::after { animation: slowSpin 60s linear infinite; }
  .motion .cycle-section::before { animation: slowSpin 90s linear infinite reverse; border-style: dashed; }
  @keyframes slowSpin { to { transform: rotate(360deg); } }
}
.hero-slim h1 { max-width: 30ch; }
.hero-slim .hero-caption { bottom: auto; top: 18px; }
@media (min-width: 1081px) { .hero-slim .hero-content { max-width: 780px; } }
.hero.hero-video.hero-slim .wrap { padding-top: clamp(40px, 4.5vw, 60px); padding-bottom: clamp(44px, 5vw, 64px); }
/* lighter overlay so the footage reads clearly; dark only behind the text */
.hero-slim .hero-overlay { background: linear-gradient(90deg, rgba(17, 21, 25, .82) 0%, rgba(17, 21, 25, .55) 36%, rgba(17, 21, 25, .12) 62%, rgba(17, 21, 25, 0) 100%); }
.hero-slim .hero-content { text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.hero-slim .hero-bg video, .hero-slim .hero-bg img { object-position: 70% 50%; }

/* =========================================================
   Mobile clean up (phones)
   ========================================================= */
@media (max-width: 640px) {
  /* One slim contact row instead of two cluttered lines */
  .topbar .wrap { min-height: 34px; padding-top: 6px; padding-bottom: 6px; }
  .topbar-contact { gap: 18px; justify-content: center; flex-wrap: nowrap; font-size: .82rem; }
  .topbar-contact a[href^="mailto:"] { display: none; }

  /* Header logo already shows the brand, so the hero opens with the headline */
  .hero-slim .hero-lockup { display: none; }
  .hero.hero-video.hero-slim .wrap { padding-top: 40px; padding-bottom: 44px; }
  .hero-slim .hero-overlay { background: linear-gradient(180deg, rgba(17, 21, 25, .72) 0%, rgba(17, 21, 25, .6) 55%, rgba(17, 21, 25, .82) 100%); }
  .hero-slim h1 { font-size: 1.85rem; line-height: 1.12; }
  .hero-slim .lead { font-size: 1.02rem; line-height: 1.6; }
  .hero-actions { gap: 18px; flex-wrap: wrap; }

  .ticker-list li { padding: 11px 0; font-size: .95rem; }
  .ticker-list li::after { margin: 0 22px; }

  /* Credentials as a tidy two by two grid */
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li, .facts li + li { padding: 20px 14px 20px 0; border-left: 0; border-top: 0; }
  .facts li:nth-child(even) { padding-left: 14px; border-left: 1px solid #3a424b; }
  .facts li:nth-child(n+3) { border-top: 1px solid #3a424b; }
  .facts strong { font-size: 1.08rem; }
  .facts span { font-size: .85rem; }

  /* Process: compact number strip plus one panel that changes by itself */
  .cycle { display: flex; flex-direction: column; margin-top: 20px; }
  .cycle-steps { order: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px 0; justify-items: center; }
  .cycle-steps li { padding: 0; border: 0; }
  .cycle-node { display: block; cursor: pointer; }
  .cycle-t, .cycle-d { display: none !important; }
  .cycle-n { width: 44px; height: 44px; font-size: 1.05rem; }
  .cycle-node.is-active .cycle-n { transform: scale(1.1); }
  .cycle-centre { order: 2; display: block !important; position: static; transform: none; width: auto; margin-top: 22px; padding: 22px 20px; text-align: left; background: #fff; border: 1px solid var(--mist-line); border-top: 3px solid var(--crimson); border-radius: var(--radius); min-height: 170px; box-shadow: 0 14px 30px -24px rgba(31, 36, 42, .5); }
  .motion .cycle .cycle-centre { opacity: 1; }
  .cycle-title { font-size: 1.4rem; }
  .cycle-links { gap: 10px 22px; }

  /* Products: swipe sideways instead of a very long scroll */
  .product-grid.three { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-right: calc(var(--gutter, 20px) * -1); padding-right: var(--gutter, 20px); padding-bottom: 8px; scrollbar-width: none; }
  .product-grid.three::-webkit-scrollbar { display: none; }
  .product-grid.three > .product-item { flex: 0 0 82%; scroll-snap-align: start; }
  .product-item h3 { margin-top: 16px; font-size: 1.25rem; }
  .swipe-hint { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: .85rem; color: var(--slate); }
  .swipe-hint::after { content: "\2192"; color: var(--crimson); }

  /* Industries: tighter rows */
  .industry-list li { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
  .industry-list span { font-size: .95rem; }

  /* Section spacing a little tighter on small screens */
  .section { padding-top: 56px; padding-bottom: 56px; }
  .parallax { min-height: 0; }

  /* Footer: link columns side by side */
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding-top: 48px; padding-bottom: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-legal .wrap { flex-direction: column; gap: 6px; }

}
@media (min-width: 641px) { .swipe-hint { display: none; } }
@media (max-width: 640px) {
  .parallax { padding-top: 64px !important; padding-bottom: 64px !important; }
  .parallax h2, .parallax p { font-size: 1.55rem !important; line-height: 1.25 !important; }
  .feature .media.tall { aspect-ratio: 4 / 3; }
  .feature .media.tall img { object-position: 50% 60%; }
}

/* ---------- Home intro: about the company ---------- */
.intro { background: #fff; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.intro .eyebrow { display: inline-block; font: 600 .95rem var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--crimson); margin-bottom: 12px; }
.intro-text { border-left: 4px solid var(--crimson); padding-left: clamp(18px, 2.4vw, 32px); }
.intro-text h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); max-width: 26ch; margin-bottom: 16px; }
.intro-text p { color: var(--slate); max-width: 62ch; }
.intro-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.intro-facts li { position: relative; background: var(--mist); border-radius: var(--radius); padding: 20px 18px 18px; border-top: 3px solid var(--steel-deep); transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.intro-facts li:nth-child(1) { border-top-color: var(--signal); }
.intro-facts li:nth-child(3) { border-top-color: var(--crimson); }
.intro-facts strong { display: block; font: 600 1.15rem/1.2 var(--font-display); color: var(--steel-deep); margin-bottom: 6px; }
.intro-facts span { display: block; font-size: .92rem; line-height: 1.5; color: var(--slate); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .intro-facts li:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -22px rgba(31, 36, 42, .55); border-top-color: var(--crimson); }
}
@media (max-width: 900px) { .intro-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .intro-facts li { padding: 16px 14px; } .intro-facts strong { font-size: 1rem; } .intro-facts span { font-size: .84rem; } }

/* Faster process diagram */
.cycle-progress { transition-duration: .45s; }
.cycle-n, .cycle-t { transition-duration: .2s; }

/* ---------- Closing contact panel ---------- */
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cta-contact .wrap.cta-grid { display: grid; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--crimson); }
.cta-details { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; background: rgba(0, 0, 0, .14); border-radius: var(--radius); padding: 26px 28px; }
.cta-details dt { font: 600 .82rem var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 4px; }
.cta-details dd { margin: 0; color: #fff; line-height: 1.55; font-size: .97rem; }
.cta-details a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .cta-details { grid-template-columns: minmax(0, 1fr); } }
