/* ============================================================
   Kuwait Polyurethane Industry — "Closed Cell"
   A material-first identity derived from rigid closed-cell foam.
   Type: Bricolage Grotesque · Space Mono · Hanken Grotesk
   Brand: indigo #391b75 · gold #fab33f · thermal orange/ember
   ============================================================ */

:root {
  --void:        #160a33;   /* deepest — the polymer matrix   */
  --indigo-deep: #1e0f42;
  --indigo:      #391b75;
  --indigo-2:    #2b1456;
  --gold:        #fab33f;   /* cell walls / energy            */
  --gold-soft:   #ffd88f;
  --orange:      #f7931b;   /* action                         */
  --ember:       #ff5e3a;   /* thermal hot (used sparingly)   */
  --paper:       #f4f1e8;   /* warm off-white (chosen)        */
  --paper-2:     #eae5d9;
  --ink:         #1b1338;   /* indigo-biased near-black       */
  --steel:       #6b6680;
  --steel-d:     #46415c;
  --line:        rgba(27, 19, 56, 0.13);
  --line-d:      rgba(244, 241, 232, 0.16);

  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  --pad: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1440px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-bg: rgba(244, 241, 232, 0.9);
  --lite: #f4f1e8;           /* fixed light fg for permanently-dark surfaces */
  --logo-fs: none;               /* logo filter when nav is scrolled */
  --head: #391b75;               /* heading colour on light surfaces  */
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body { font-family: var(--font-body); background: var(--paper); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.0; letter-spacing: -0.025em; text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--gold); }
.accent { color: var(--gold); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--orange); color: #1a1200; padding: .6rem 1rem; font: 700 .8rem var(--font-mono); }
.skip-link:focus { left: 1rem; top: 1rem; }
::selection { background: var(--gold); color: var(--void); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.section-eyebrow, .section-tag, .datasheet, .hero__stats dt, .eyebrow, .prod__no,
.cert__code, .benefits__no, .bento__k, .value__k, .news__tag, .tech__infra span,
.datasheet__title, .datasheet__hint, .about__rail { font-family: var(--font-mono); }

/* ============ NAV ============ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; gap: 1.5rem; padding: 0 var(--pad); height: 80px; background: transparent; transition: height .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); }
.nav.is-scrolled { height: 62px; background: var(--nav-bg); backdrop-filter: blur(12px); box-shadow: 0 6px 30px rgba(22,10,51,.1); }
.nav__brand { margin-right: auto; display: flex; }
.nav__plate { background: var(--paper); padding: .4rem .6rem; border-radius: 3px; display: inline-flex; box-shadow: 0 2px 14px rgba(22,10,51,.18); }
.nav__logo { height: 40px; width: auto; display: block; transition: height .3s var(--ease); }
.nav.is-scrolled .nav__logo { height: 34px; }
.nav.is-scrolled .nav__plate { box-shadow: none; background: transparent; padding-left: 0; }
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a { font: 500 .88rem var(--font-body); color: var(--lite); position: relative; padding: .4rem 0; transition: color .2s; }
.nav.is-scrolled .nav__links a { color: var(--ink); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--gold); transition: width .3s var(--ease); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { font: 700 .74rem var(--font-mono); text-transform: uppercase; letter-spacing: .02em; background: var(--orange); color: #1a1200; padding: .58rem 1rem; transition: all .25s var(--ease); white-space: nowrap; }
.nav__cta:hover { background: var(--gold); transform: translateY(-1px); }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; width: 34px; height: 34px; padding: 6px; }
.nav__burger span { display: block; height: 2px; background: var(--paper); margin: 6px 0; transition: transform .3s var(--ease), background .3s; }
.nav.is-scrolled .nav__burger span { background: var(--ink); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.mobile { position: fixed; inset: 80px 0 auto 0; z-index: 99; background: var(--void); border-bottom: 1px solid var(--line-d); display: flex; flex-direction: column; padding: 1rem var(--pad) 2rem; transform: translateY(-130%); transition: transform .4s var(--ease); color: var(--lite); }
.mobile.is-open { transform: translateY(0); }
.mobile a { padding: .85rem 0; border-bottom: 1px solid var(--line-d); font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.mobile__cta { color: var(--gold) !important; border-bottom: 0 !important; }

/* ============ HERO — foam canvas ============ */
.hero { position: relative; background: var(--void); color: var(--lite); min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 0 var(--pad); }
.foam { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hero__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
    linear-gradient(100deg, rgba(22,10,51,.92) 0%, rgba(22,10,51,.6) 42%, rgba(22,10,51,.12) 70%, transparent 100%),
    linear-gradient(0deg, rgba(22,10,51,.95) 0%, rgba(22,10,51,.25) 30%, transparent 55%); }
.hero__inner { position: relative; z-index: 3; max-width: var(--maxw); width: 100%; margin: 0 auto; padding-top: 128px; padding-bottom: 2rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.6rem; }
.eyebrow__dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 4px rgba(250,179,63,.22), 0 0 16px var(--gold); }
.hero__title { font-size: clamp(2.8rem, 8vw, 7rem); letter-spacing: -0.04em; margin-bottom: 1.8rem; line-height: .98; }
.hero__title span { display: block; }
.hero__lede { max-width: 54ch; font-size: clamp(1rem, 1.4vw, 1.24rem); color: rgba(244,241,232,.85); margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.datasheet { position: absolute; z-index: 3; right: var(--pad); bottom: 92px; width: 300px; max-width: 42vw; background: rgba(22,10,51,.55); backdrop-filter: blur(8px); border: 1px solid var(--line-d); padding: 1.1rem 1.2rem; font-size: .72rem; color: var(--lite); }
.datasheet__title { display: block; color: var(--gold); letter-spacing: .1em; margin-bottom: .8rem; font-size: .64rem; }
.datasheet dl { display: grid; gap: .5rem; margin: 0; }
.datasheet dl > div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line-d); padding-bottom: .5rem; }
.datasheet dt { color: rgba(244,241,232,.55); text-transform: uppercase; letter-spacing: .04em; }
.datasheet dd { color: var(--gold-soft); text-align: right; }
.datasheet__hint { display: block; margin-top: .9rem; color: rgba(244,241,232,.4); font-size: .6rem; letter-spacing: .04em; }

.hero__ticker { position: relative; z-index: 3; margin: 0 calc(-1 * var(--pad)); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); overflow: hidden; }
.hero__ticker-track { display: inline-flex; align-items: center; gap: 1.4rem; white-space: nowrap; padding: .75rem 0; font: 700 .78rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--gold-soft); animation: marquee 36s linear infinite; }
.hero__ticker-track .sep { color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; gap: .6rem; font: 700 .8rem var(--font-mono); text-transform: uppercase; letter-spacing: .04em; padding: .95rem 1.5rem; transition: all .25s var(--ease); cursor: pointer; }
.btn--solid { background: var(--gold); color: var(--void); } .btn--solid:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(250,179,63,.28); }
.btn--ghost { border: 1px solid rgba(255,216,143,.45); color: var(--gold-soft); } .btn--ghost:hover { background: rgba(250,179,63,.12); border-color: var(--gold); }
.btn--lg { padding: 1.1rem 1.8rem; font-size: .88rem; }
.btn span { transition: transform .25s var(--ease); } .btn:hover span { transform: translateX(4px); }

/* ============ SECTION HEAD ============ */
section[id] { scroll-margin-top: 80px; }
.section-head { display: flex; align-items: center; gap: 1.2rem; padding: 1.1rem var(--pad); border-bottom: 1px solid var(--line); max-width: var(--maxw); margin: 0 auto; width: 100%; }
.section-eyebrow { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); font-weight: 700; white-space: nowrap; }
.section-eyebrow--gold { color: var(--gold); }
.section-rule { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.section-tag { font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); white-space: nowrap; }
.section-head--invert { border-color: var(--line-d); }
.section-head--invert .section-rule { background: repeating-linear-gradient(90deg, var(--line-d) 0 6px, transparent 6px 12px); }
.section-head--invert .section-tag { color: var(--gold-soft); opacity: .65; }

/* ============ ABOUT ============ */
.about { background: var(--paper); padding-bottom: clamp(3rem, 7vw, 6rem); }
.about__body { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem,6vw,6rem) var(--pad) 0; display: grid; grid-template-columns: 140px 1fr; gap: clamp(1rem,4vw,3rem); }
.about__rail { display: flex; flex-direction: column; gap: .6rem; font-size: .62rem; letter-spacing: .1em; color: var(--steel); padding-top: .8rem; border-top: 2px solid var(--indigo); height: fit-content; margin-top: .5rem; }
.about__title { font-size: clamp(2rem, 5vw, 4rem); max-width: 20ch; margin-bottom: 2.5rem; color: var(--indigo); }
.about__cols { display: grid; grid-template-columns: repeat(2,1fr); gap: 2.5rem; }
.about__cols p { font-size: 1.02rem; color: var(--steel-d); }
.about__facts { list-style: none; padding: 0; margin: 3.2rem 0 0; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
.about__facts li { padding: 1.3rem 1.2rem 1.3rem 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: .5rem; }
.about__facts li:last-child { border-right: 0; }
.about__facts .k { font: 400 .62rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.about__facts .v { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink); }

/* ============ BENTO ============ */
.bento { background: var(--paper); padding: clamp(2rem,5vw,4rem) var(--pad) clamp(3rem,7vw,6rem); }
.bento__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: 12px; }
.bento__cell { background: var(--paper-2); border: 1px solid var(--line); padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.bento__cell:hover { transform: translateY(-3px); border-color: var(--gold); }
.bento__cell--lg { grid-column: span 2; grid-row: span 2; background: var(--indigo); color: var(--lite); border-color: var(--indigo); position: relative; overflow: hidden; }
.bento__cell--lg::after { content: ""; position: absolute; right: -30%; top: -30%; width: 80%; height: 80%; background: radial-gradient(circle, rgba(250,179,63,.28), transparent 65%); }
.bento__cell--accent { grid-column: span 2; background: linear-gradient(120deg, var(--gold), var(--orange)); border-color: var(--gold); color: var(--void); }
.bento__k { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); }
.bento__cell--lg .bento__v { color: #fff; }
.bento__v { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1; color: var(--indigo); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.bento__cell--lg .bento__v { font-size: clamp(3.4rem, 8vw, 6rem); position: relative; }
.bento__c { font-size: .84rem; color: var(--steel-d); }
.bento__cell--lg .bento__c { color: rgba(244,241,232,.8); font-size: .95rem; position: relative; }
.bento__cell--accent .bento__c { color: rgba(22,10,51,.82); font-weight: 500; }
.bento__cell--accent .bento__v { color: var(--void); }

/* ============ PRODUCTS ============ */
.products { background: var(--void); color: var(--lite); padding-bottom: clamp(3rem,6vw,5rem); position: relative; }
.products__title { max-width: var(--maxw); margin: clamp(3rem,6vw,5rem) auto clamp(2rem,4vw,3rem); padding: 0 var(--pad); font-size: clamp(2rem, 6vw, 4.6rem); }
.prod { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 360px 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.prod__list { display: flex; flex-direction: column; border-top: 1px solid var(--line-d); }
.prod__item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line-d); color: var(--lite); padding: 1.4rem .5rem; cursor: pointer; transition: padding .3s var(--ease); font-family: inherit; }
.prod__no { font-size: .78rem; color: var(--gold); font-weight: 700; }
.prod__name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.05; }
.prod__arrow { color: var(--gold); opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease); }
.prod__item:hover, .prod__item.is-active { padding-left: 1rem; }
.prod__item.is-active .prod__arrow { opacity: 1; transform: none; }
.prod__item:not(.is-active) .prod__name { color: rgba(244,241,232,.55); }
.prod__panels { position: relative; min-height: 320px; }
.prod__panel { display: none; animation: fadeUp .5s var(--ease); }
.prod__panel.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.prod__panel h3 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 800; margin-bottom: 1.2rem; color: #fff; letter-spacing: -.03em; }
.prod__lede { font-size: 1.1rem; color: rgba(244,241,232,.88); max-width: 60ch; margin-bottom: 1rem; }
.prod__note { color: rgba(244,241,232,.68); max-width: 60ch; margin-bottom: 1.8rem; }
.prod__lede b, .prod__note b { color: var(--gold-soft); font-weight: 700; }
.prod__grades { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.prod__grades li { background: var(--void); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .3rem; font-size: .95rem; color: #fff; }
.prod__grades span { font: 400 .6rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }

/* ============ BENEFITS ============ */
.benefits { background: var(--paper-2); padding: clamp(3rem,6vw,6rem) var(--pad) clamp(4rem,8vw,7rem); }
.benefits__head { max-width: var(--maxw); margin: 0 auto 2.5rem; }
.benefits__head h2 { font-size: clamp(1.8rem, 4.5vw, 3.4rem); color: var(--indigo); margin-top: .6rem; max-width: 20ch; }
.benefits__grid { max-width: var(--maxw); margin: 0 auto; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.benefits__grid li { border: 1px solid var(--line); padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: .9rem; font-size: .96rem; color: var(--steel-d); background: var(--paper); transition: transform .3s var(--ease), border-color .3s; position: relative; overflow: hidden; }
.benefits__grid li::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0%, rgba(255,94,58,.1), transparent 55%); opacity: 0; transition: opacity .3s; }
.benefits__grid li:hover { transform: translateY(-4px); border-color: var(--gold); }
.benefits__grid li:hover::before { opacity: 1; }
.benefits__no { font-size: .78rem; font-weight: 700; color: var(--orange); }

/* ============ TECH ============ */
.tech { background: var(--indigo-deep); color: var(--lite); padding-bottom: clamp(4rem,8vw,7rem); }
.tech__body { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem,6vw,5rem) var(--pad) 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.tech__intro h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); margin-bottom: 1.4rem; }
.tech__intro > p { color: rgba(244,241,232,.72); font-size: 1.04rem; margin-bottom: 2rem; }
.tech__infra { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.tech__infra li { background: var(--indigo-deep); padding: 1.4rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; font-size: .8rem; color: rgba(244,241,232,.7); }
.tech__infra span { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--gold); }
.tech__table-wrap { overflow-x: auto; }
.tech__table { min-width: 460px; border: 1px solid var(--line-d); font-size: .88rem; }
.tech__table .tr { display: grid; grid-template-columns: 1.3fr 1.6fr 1.1fr; }
.tech__table .tr span { padding: .85rem 1rem; border-bottom: 1px solid var(--line-d); border-right: 1px solid var(--line-d); color: rgba(244,241,232,.85); }
.tech__table .tr span:last-child { border-right: 0; }
.tech__table .th span { font: 700 .62rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); background: var(--indigo-2); }
.tech__table .tr:not(.th):hover span { background: var(--indigo-2); color: #fff; }
.tech__table .tr span:first-child { color: var(--gold-soft); }

/* ============ VALUES ============ */
.values { background: var(--paper); padding-bottom: clamp(4rem,8vw,7rem); }
.values__body { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem,6vw,5rem) var(--pad) 0; }
.values__title { font-size: clamp(2rem, 5vw, 4rem); max-width: 20ch; margin-bottom: 1.6rem; color: var(--indigo); }
.values__lede { max-width: 85ch; color: var(--steel-d); font-size: 1.08rem; margin-bottom: 3rem; }
.values__cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.value { border: 1px solid var(--line); padding: 1.8rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; background: var(--paper-2); transition: transform .3s var(--ease), border-color .3s; }
.value:hover { transform: translateY(-4px); border-color: var(--gold); }
.value__k { font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.value h3 { font-size: 1.4rem; font-weight: 700; color: var(--indigo); }
.value p { color: var(--steel-d); font-size: .96rem; }
.values__policy { margin: 2rem 0 0; padding: 2rem 2.2rem; background: var(--void); color: rgba(244,241,232,.85); font-size: 1rem; line-height: 1.75; border-left: 4px solid var(--gold); }
.values__policy .value__k { display: block; color: var(--gold); margin-bottom: .8rem; }

/* ============ CERTS ============ */
.certs { background: var(--paper-2); padding-bottom: clamp(4rem,8vw,7rem); }
.certs__title { max-width: var(--maxw); margin: clamp(3rem,6vw,5rem) auto clamp(2rem,4vw,3rem); padding: 0 var(--pad); font-size: clamp(1.8rem,4.5vw,3.6rem); color: var(--indigo); }
.certs__grid { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.cert { border: 1px solid var(--line); padding: 1.7rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; background: var(--paper); transition: transform .3s var(--ease), border-color .3s; position: relative; overflow: hidden; }
.cert::before { content: ""; position: absolute; left: 0; top: 0; width: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--orange)); transition: width .35s var(--ease); }
.cert:hover { transform: translateY(-3px); border-color: var(--gold); } .cert:hover::before { width: 100%; }
.cert__code { font-size: 1.1rem; font-weight: 700; color: var(--indigo); }
.cert__name { font-size: .82rem; color: var(--steel-d); }

/* ============ SUBSIDIARIES ============ */
.subs { background: var(--void); color: var(--lite); padding-bottom: clamp(4rem,8vw,7rem); }
.subs__body { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem,6vw,5rem) var(--pad) 0; }
.subs__body > h2 { font-size: clamp(2rem,5vw,3.8rem); margin-bottom: 2.5rem; max-width: 16ch; }
.subs__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sub { border: 1px solid var(--line-d); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; background: var(--indigo-2); transition: transform .3s var(--ease); }
.sub:hover { transform: translateY(-4px); }
.sub h3 { font-size: 1.5rem; font-weight: 700; color: var(--gold-soft); }
.sub p { color: rgba(244,241,232,.72); font-size: .98rem; }
.sub__link { margin-top: auto; font: 700 .78rem var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--gold); }
.sub__link:hover { color: var(--orange); }

/* ============ NEWS ============ */
.news { background: var(--paper); padding-bottom: clamp(4rem,8vw,7rem); }
.news__title { max-width: var(--maxw); margin: clamp(3rem,6vw,5rem) auto clamp(2rem,4vw,3rem); padding: 0 var(--pad); font-size: clamp(1.8rem,4.5vw,3.4rem); color: var(--indigo); }
.news__list { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); list-style: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.news__list li { border: 1px solid var(--line); border-top: 3px solid var(--indigo); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .8rem; background: var(--paper); transition: transform .3s var(--ease), border-top-color .3s; }
.news__list li:hover { transform: translateY(-4px); border-top-color: var(--gold); }
.news__tag { font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.news__list h3 { font-size: 1.2rem; font-weight: 700; color: var(--indigo); }
.news__list p { font-size: .9rem; color: var(--steel-d); }

/* ============ CONTACT ============ */
.contact { background: var(--paper-2); padding-bottom: clamp(4rem,8vw,7rem); }
.contact__wrap { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem,6vw,5rem) var(--pad) 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: start; }
.contact__title { font-size: clamp(2.2rem,5vw,4.2rem); margin-bottom: 2.2rem; color: var(--indigo); }
.contact__note { margin-top: 1.2rem; font: 400 .78rem var(--font-mono); color: var(--steel); }
.contact__offices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.office { border: 1px solid var(--line); padding: 1.5rem 1.5rem 1.6rem; background: var(--paper); transition: transform .3s var(--ease), border-color .3s; }
.office:hover { transform: translateY(-3px); border-color: var(--gold); }
.office h3 { font-size: 1.15rem; font-weight: 700; color: var(--indigo); display: flex; flex-direction: column; gap: .2rem; margin-bottom: .8rem; }
.office h3 span { font: 400 .58rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.office p { font-size: .86rem; color: var(--steel-d); margin-bottom: .4rem; }
.office a:hover { color: var(--orange); }

/* ============ FOOTER ============ */
.footer { background: var(--void); color: var(--lite); padding: 1rem var(--pad) 1.6rem; }
.footer__top { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-d); }
.footer__brand { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.footer__plate { background: var(--paper); padding: .7rem 1rem; border-radius: 4px; display: inline-flex; }
.footer__plate img { height: 44px; width: auto; display: block; }
.footer__brand p { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--gold-soft); }
.footer__brand span { font: 400 .95rem var(--font-body); color: rgba(244,241,232,.6); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.3rem; align-items: center; max-width: 420px; justify-content: flex-end; }
.footer__nav a { font: 400 .8rem var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: rgba(244,241,232,.75); }
.footer__nav a:hover { color: var(--gold); }
.footer__bar { max-width: var(--maxw); margin: 1.6rem auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font: 400 .7rem var(--font-mono); letter-spacing: .02em; text-transform: uppercase; color: rgba(244,241,232,.5); }
.footer__bar a { color: var(--gold-soft); } .footer__bar a:hover { color: var(--gold); }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--orange), var(--ember)); z-index: 200; transition: width .1s linear; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; } .nav__burger { display: block; }
  .datasheet { display: none; }
  .prod { grid-template-columns: 1fr; }
  .prod__list { flex-direction: row; overflow-x: auto; border-top: 0; }
  .prod__item { border-bottom: 0; border-right: 1px solid var(--line-d); min-width: 190px; }
  .tech__body { grid-template-columns: 1fr; }
  .about__body { grid-template-columns: 1fr; }
  .about__rail { flex-direction: row; gap: 1.2rem; border-top: 0; }
}
@media (max-width: 860px) {
  .hero__inner { padding-top: 116px; }
  .about__cols { grid-template-columns: 1fr; gap: 1.4rem; }
  .about__facts { grid-template-columns: repeat(2,1fr); }
  .about__facts li:nth-child(2) { border-right: 0; }
  .bento__grid { grid-template-columns: repeat(2,1fr); }
  .bento__cell--lg, .bento__cell--accent { grid-column: span 2; }
  .bento__cell--lg { grid-row: auto; }
  .benefits__grid, .certs__grid, .values__cards, .news__list, .subs__cards, .contact__offices { grid-template-columns: 1fr; }
  .benefits__grid, .certs__grid { grid-template-columns: repeat(2,1fr); }
  .contact__wrap { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .benefits__grid, .certs__grid, .about__facts, .prod__grades, .tech__infra { grid-template-columns: 1fr; }
  .about__facts li { border-right: 0; }
  .bento__grid { grid-template-columns: 1fr; }
  .bento__cell--lg, .bento__cell--accent { grid-column: auto; }
  .footer__bar { flex-direction: column; } .footer__nav { justify-content: flex-start; }
}

/* ============ MULTI-PAGE COMPONENTS ============ */
/* dropdown nav */
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a::after { content: " ▾"; font-size: .7em; opacity: .7; }
.sub { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); min-width: 220px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(22,10,51,.18); padding: .5rem; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: all .25s var(--ease); z-index: 120; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 2px); }
.sub a { font: 500 .86rem var(--font-body); color: var(--ink) !important; padding: .6rem .8rem; transition: background .2s, color .2s; }
.sub a:hover { background: var(--paper-2); color: var(--indigo) !important; }
.sub a::after { display: none; }
.nav__links a[aria-current="page"] { color: var(--gold); }
.nav.is-scrolled .nav__links a[aria-current="page"] { color: var(--orange); }

/* page hero */
.phero { position: relative; background: var(--void); color: var(--lite); padding: 150px var(--pad) 3.2rem; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(250,179,63,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(250,179,63,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 100% at 70% 0%, #000 20%, transparent 90%); }
.phero::after { content: ""; position: absolute; right: -14%; top: -40%; width: 46vw; height: 46vw; background: radial-gradient(circle, rgba(250,179,63,.16), transparent 65%); pointer-events: none; }
.phero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.phero__crumb { font: 400 .66rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft); opacity: .8; display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.phero__crumb a:hover { color: var(--gold); }
.phero__crumb .sep { color: var(--orange); }
.phero__title { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -.035em; max-width: 22ch; }
.phero__lede { max-width: 80ch; margin-top: 1.4rem; font-size: clamp(1rem,1.4vw,1.18rem); color: rgba(244,241,232,.82); }

/* page body / prose */
.page { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.5rem,5vw,4.5rem) var(--pad) clamp(4rem,8vw,6rem); }
.page--grid { display: grid; grid-template-columns: 250px 1fr; gap: clamp(2rem,4vw,4rem); align-items: start; }
.pnav { position: sticky; top: 96px; display: flex; flex-direction: column; border-top: 2px solid var(--indigo); }
.pnav a { font: 500 .86rem var(--font-body); color: var(--steel-d); padding: .8rem .2rem; border-bottom: 1px solid var(--line); transition: color .2s, padding .25s var(--ease); }
.pnav a:hover { color: var(--indigo); padding-left: .6rem; }
.pnav a.is-here { color: var(--orange); font-weight: 600; }
.prose { max-width: 88ch; }
.page--grid .prose { max-width: none; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--indigo); margin: 2.4rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--steel-d); font-size: 1.03rem; margin-bottom: 1.1rem; }
.prose ul { color: var(--steel-d); padding-left: 1.2rem; margin: 0 0 1.2rem; display: grid; gap: .5rem; }
.prose ul li::marker { color: var(--orange); }
.prose b, .prose strong { color: var(--ink); }
.prose .callout { background: var(--paper-2); border-left: 4px solid var(--gold); padding: 1.3rem 1.5rem; margin: 1.6rem 0; color: var(--steel-d); }
.prose .callout b { color: var(--indigo); }

/* spec chips + CTA row on detail pages */
.spec-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 1.8rem 0; }
.spec { border: 1px solid var(--line); background: var(--paper-2); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; }
.spec span { font: 400 .6rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.spec b { font-family: var(--font-display); font-weight: 700; color: var(--indigo); font-size: 1.05rem; }
.cta-band { background: var(--void); color: var(--lite); padding: clamp(1.8rem,3vw,2.6rem) var(--pad); }
.cta-band__inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); max-width: 24ch; }

@media (max-width: 900px) {
  .page--grid { grid-template-columns: 1fr; }
  .pnav { position: static; flex-direction: row; flex-wrap: wrap; border-top: 0; gap: .2rem; }
  .pnav a { border: 1px solid var(--line); padding: .5rem .8rem; }
}

/* ============ LIVE-SITE ASSETS: images + downloads ============ */
.pimg { width: 100%; border: 1px solid var(--line); margin: 0 0 1.8rem; aspect-ratio: 16/7; object-fit: cover; display: block; }
.downloads { max-width: var(--maxw); margin: 2.2rem auto 0; padding: 0 var(--pad); }
.downloads__title { font: 700 .68rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: .9rem; display: block; }
.downloads__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.downloads__list a { display: inline-flex; align-items: center; gap: .55rem; font: 500 .8rem var(--font-body); color: var(--steel-d); border: 1px solid var(--line); background: var(--paper); padding: .6rem .9rem; transition: all .25s var(--ease); }
.downloads__list a::before { content: "▤"; color: var(--orange); font-size: .9em; }
.downloads__list a:hover { border-color: var(--gold); color: var(--indigo); transform: translateY(-2px); }
.sub-logo { background: #fff; border: 1px solid var(--line); padding: .6rem .9rem; display: inline-flex; margin-bottom: 1rem; }
.sub-logo img { height: 54px; width: auto; display: block; }

/* ============ BANNER SLIDER ============ */
.hslides { display: grid; }
.hslide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: none; pointer-events: none; }
.hslide > * { opacity: 0; transform: translateY(26px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.hslide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.hslide.is-active > * { opacity: 1; transform: none; }
.hslide.is-active > *:nth-child(1) { transition-delay: .05s; }
.hslide.is-active > *:nth-child(2) { transition-delay: .14s; }
.hslide.is-active > *:nth-child(3) { transition-delay: .24s; }
.hslide.is-active > *:nth-child(4) { transition-delay: .34s; }
.hslide .hero__title { margin-bottom: 1.6rem; }

.hctrl { display: flex; align-items: center; gap: 1.1rem; margin-top: 2.4rem; }
.hctrl__arrow { background: none; border: 1px solid var(--line-d); color: var(--gold-soft); width: 42px; height: 42px; cursor: pointer; font-size: 1rem; transition: all .25s var(--ease); }
.hctrl__arrow:hover { border-color: var(--gold); color: var(--gold); background: rgba(250,179,63,.08); }
.hctrl__dots { display: flex; gap: 1.2rem; }
.hctrl__dots button { background: none; border: 0; cursor: pointer; padding: .2rem 0; display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; }
.hctrl__dots i { font: 700 .68rem var(--font-mono); font-style: normal; color: rgba(244,241,232,.45); transition: color .25s; }
.hctrl__dots span { display: block; width: 44px; height: 2px; background: var(--line-d); position: relative; overflow: hidden; }
.hctrl__dots span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), var(--orange)); transform: scaleX(0); transform-origin: left; }
.hctrl__dots button.is-active i { color: var(--gold); }
.hctrl__dots button.is-active span::after { animation: dotfill var(--slide-ms, 6500ms) linear forwards; }
@media (prefers-reduced-motion: reduce) { .hctrl__dots button.is-active span::after { transform: scaleX(1); animation: none; } }
@keyframes dotfill { to { transform: scaleX(1); } }

/* ============ HEX DECO (logo element) ============ */
.hexdeco { position: absolute; z-index: 2; right: 4%; top: 8%; width: min(44vw, 520px); aspect-ratio: 1; pointer-events: none; animation: hexfloat 11s ease-in-out infinite alternate; }
.hexdeco__spin { transform-origin: 200px 200px; animation: hexspin 70s linear infinite; }
@keyframes hexspin { to { transform: rotate(360deg); } }
@keyframes hexfloat { from { translate: 0 -12px; } to { translate: 0 14px; } }
@media (max-width: 860px) { .hexdeco { opacity: .5; right: -18%; top: 4%; width: 70vw; } }

/* ============ CAROUSEL ============ */
.carousel { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; }
.carousel__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding: 4px; cursor: grab; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel__track > * { scroll-snap-align: start; flex: 0 0 auto; width: clamp(260px, 30vw, 380px); }
.carousel__btn { background: var(--paper); border: 1px solid var(--line); color: var(--indigo); width: 42px; height: 42px; cursor: pointer; font-size: 1rem; transition: all .25s var(--ease); }
.carousel__btn:hover { border-color: var(--gold); background: var(--gold); color: var(--void); }
.carousel__btn[disabled] { opacity: .3; cursor: default; }
.carousel .cert { border: 1px solid var(--line); }
.ncard { border: 1px solid var(--line); border-top: 3px solid var(--indigo); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .8rem; background: var(--paper); transition: transform .3s var(--ease), border-top-color .3s; }
.ncard:hover { transform: translateY(-4px); border-top-color: var(--gold); }
.ncard h3 { font-size: 1.15rem; font-weight: 700; color: var(--indigo); }
.ncard p { font-size: .9rem; color: var(--steel-d); }
@media (max-width: 640px) { .carousel { grid-template-columns: 1fr; } .carousel__btn { display: none; } .carousel__track > * { width: 82vw; } }

/* ============ LOGO BLEND ============ */
.nav__plate { background: transparent; box-shadow: none; padding: 0; }
.nav__logo { filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(250,179,63,.25)); opacity: .96; }
.nav.is-scrolled .nav__plate { background: transparent; }
.nav.is-scrolled .nav__logo { filter: var(--logo-fs); opacity: 1; }
.footer__plate { background: transparent; padding: 0; border-radius: 0; }
.footer__plate img { filter: brightness(0) invert(1); opacity: .92; height: 48px; }

/* ============ ACCORDION (product sub-sections) ============ */
.acc { margin: 2.2rem 0 0; display: grid; gap: 10px; }
.acc details { border: 1px solid var(--line); background: var(--paper-2); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.3rem; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--indigo); transition: background .25s; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::before { content: "+"; font: 700 1rem var(--font-mono); color: var(--orange); width: 1.2rem; transition: transform .3s var(--ease); }
.acc details[open] summary::before { content: "–"; }
.acc summary:hover { background: var(--paper); }
.acc details[open] summary { border-bottom: 1px dashed var(--line); }
.acc__body { padding: 1.2rem 1.4rem 1.4rem; color: var(--steel-d); font-size: .97rem; }
.acc__body ul { padding-left: 1.2rem; display: grid; gap: .45rem; margin: .4rem 0; }
.acc__body ul li::marker { color: var(--orange); }
.acc__body table { border-collapse: collapse; width: 100%; margin: .6rem 0; font-size: .9rem; }
.acc__body th, .acc__body td { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; }
.acc__body th { font: 700 .64rem var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--indigo); background: var(--paper); }

/* ============ LIGHT TABLE VARIANT (technical page) ============ */
.tech__table--light { border-color: var(--line); }
.tech__table--light .tr span { border-color: var(--line); color: var(--steel-d); }
.tech__table--light .tr span:first-child { color: var(--head); font-weight: 500; }
.tech__table--light .th span { background: var(--indigo); color: var(--gold); }
.tech__table--light .tr:not(.th):hover span { background: var(--paper-2); color: var(--ink); }

/* ============ THEME TOGGLE ============ */
.theme-btn { background: none; border: 1px solid var(--line-d); color: var(--lite); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: all .25s var(--ease); }
.nav.is-scrolled .theme-btn { border-color: var(--line); color: var(--ink); }
.theme-btn:hover { border-color: var(--gold); color: var(--gold); }
.theme-btn__i { width: 15px; height: 15px; border-radius: 50%; box-shadow: inset -4.5px -4.5px 0 0 currentColor; transition: all .3s var(--ease); }
[data-theme="dark"] .theme-btn__i { box-shadow: none; background: currentColor; outline: 2px dotted currentColor; outline-offset: 2.5px; width: 9px; height: 9px; }

/* ============ DARK THEME — tokens ============ */
:root[data-theme="dark"] {
  --paper: #151024; --paper-2: #1e1735;
  --ink: #efeae0; --steel: #9790ad; --steel-d: #b8b1cb;
  --line: rgba(244, 241, 232, 0.15);
  --nav-bg: rgba(21, 16, 36, 0.92);
  --logo-fs: brightness(0) invert(1) drop-shadow(0 0 10px rgba(250,179,63,.2));
  --head: #cdbcf7;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #151024; --paper-2: #1e1735;
    --ink: #efeae0; --steel: #9790ad; --steel-d: #b8b1cb;
    --line: rgba(244, 241, 232, 0.15);
    --nav-bg: rgba(21, 16, 36, 0.92);
    --logo-fs: brightness(0) invert(1) drop-shadow(0 0 10px rgba(250,179,63,.2));
    --head: #cdbcf7;
  }
}

/* headings & indigo text on light surfaces follow --head so they stay legible in dark */
.about__title, .certs__title, .values__title, .news__title, .contact__title,
.benefits__head h2, .value h3, .news__list h3, .ncard h3, .office h3,
.cert__code, .prose h2, .acc summary, .spec b, .carousel__btn,
.phero + * .prose h2, .pnav a:hover, .downloads__list a:hover { color: var(--head); }
.sub a { color: var(--ink) !important; }
.sub a:hover { color: var(--head) !important; }

/* ============ INNER BANNERS — wide image heroes ============ */
.phero--img { background-image: linear-gradient(100deg, rgba(22,10,51,.93) 8%, rgba(22,10,51,.72) 45%, rgba(34,16,70,.55)), var(--ph); background-size: cover; background-position: center 38%; padding-top: 185px; padding-bottom: 4rem; }
.phero--img::after { opacity: .6; }

/* full-bleed image band */
.wideband { margin: clamp(2rem,5vw,3.5rem) calc(-1 * var(--pad)) 0; position: relative; }
.wideband img { width: 100%; height: clamp(240px, 36vw, 440px); object-fit: cover; display: block; filter: saturate(.92); }
.wideband::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22,10,51,.55), transparent 55%); pointer-events: none; }
.wideband figcaption { position: absolute; left: var(--pad); bottom: 1.1rem; font: 700 .66rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); }

/* image carousel cards */
.icard { position: relative; overflow: hidden; border: 1px solid var(--line); }
.icard img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.icard:hover img { transform: scale(1.05); }
.icard figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem .9rem; font: 700 .62rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft); background: linear-gradient(0deg, rgba(22,10,51,.85), transparent); }

/* ============ FORMS ============ */
.form { display: grid; gap: 14px; max-width: 560px; }
.form__row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form label { display: grid; gap: .45rem; font: 700 .64rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.form input, .form select, .form textarea { font: 500 .95rem var(--font-body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: .85rem 1rem; width: 100%; transition: border-color .25s, box-shadow .25s; border-radius: 0; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(250,179,63,.18); }
.form__hp { position: absolute; left: -9999px; }
.form__note { font-size: .85rem; color: var(--steel); }
.form__ok { display: none; border: 1px solid var(--gold); background: var(--paper-2); color: var(--steel-d); padding: 1rem 1.2rem; font-size: .92rem; }
.form__ok.is-on { display: block; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

/* ============ FOOTER v2 — live-site structure ============ */
.footer__cols { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1.3fr 1.1fr; gap: clamp(1.5rem,3vw,3rem); padding: .6rem 0 2rem; border-bottom: 1px solid var(--line-d); }
.fcol h4 { font: 700 .68rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.fcol p { font-size: .88rem; color: rgba(244,241,232,.72); margin-bottom: .5rem; }
.fcol ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.fcol ul a { font-size: .9rem; color: rgba(244,241,232,.78); transition: color .2s, padding .25s var(--ease); }
.fcol ul a:hover { color: var(--gold); padding-left: .4rem; }
.fcol .fct { display: grid; gap: .45rem; font-size: .88rem; color: rgba(244,241,232,.78); }
.fcol .fct a { color: var(--gold-soft); } .fcol .fct a:hover { color: var(--gold); }
.fcol .fct b { color: var(--gold-soft); font-weight: 600; }
.footer__badge { display: inline-flex; align-items: center; gap: .45rem; font: 700 .64rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-soft); border: 1px solid var(--line-d); padding: .4rem .7rem; }
.footer__badge::before { content: "🛡"; font-size: .85rem; }

/* ============ FIXED BOTTOM DOCK (menu + logo, always visible) ============ */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: flex; align-items: center; gap: 1.2rem; padding: 0 var(--pad); height: 52px; background: rgba(22,10,51,.88); backdrop-filter: blur(10px); border-top: 1px solid var(--line-d); transform: translateY(110%); transition: transform .4s var(--ease); }
.dock.is-on { transform: none; }
.dock__logo img { height: 24px; width: auto; display: block; filter: brightness(0) invert(1); opacity: .92; }
.dock__links { display: flex; gap: 1.2rem; margin-right: auto; }
.dock__links a { font: 700 .64rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(244,241,232,.72); transition: color .2s; }
.dock__links a:hover { color: var(--gold); }
.dock__top { display: inline-flex; align-items: center; gap: .5rem; font: 700 .64rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); background: none; border: 1px solid rgba(250,179,63,.4); padding: .42rem .8rem; cursor: pointer; transition: all .25s var(--ease); }
.dock__top:hover { background: var(--gold); color: var(--void); }
.footer { padding-bottom: calc(52px + 1.4rem); } /* exact dock clearance */
@media (max-width: 700px) { .dock__links { display: none; } .dock { gap: .8rem; } .dock__logo { margin-right: auto; } }

/* ============ BANNER SLIDE IMAGES ============ */
.hslide-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .9s var(--ease); }
.hslide-bg img { position: absolute; right: 0; top: 0; width: 58%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .34; mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.hero[data-slide="0"] .hslide-bg--0, .hero[data-slide="1"] .hslide-bg--1, .hero[data-slide="2"] .hslide-bg--2, .hero[data-slide="3"] .hslide-bg--3, .hero[data-slide="4"] .hslide-bg--4, .hero[data-slide="5"] .hslide-bg--5, .hero[data-slide="6"] .hslide-bg--6, .hero[data-slide="7"] .hslide-bg--7, .hero[data-slide="8"] .hslide-bg--8, .hero[data-slide="9"] .hslide-bg--9 { opacity: 1; }
@media (max-width: 860px) { .hslide-bg img { width: 100%; opacity: .22; } }

@media (max-width: 900px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr; } }

/* ============ BRAND LOCKUP (HD hexagon + wordmark) ============ */
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__hex { height: 44px; width: auto; display: block; filter: drop-shadow(0 2px 10px rgba(22,10,51,.35)); transition: height .3s var(--ease); }
.nav.is-scrolled .brand__hex { height: 36px; filter: none; }
.brand__wm { display: flex; flex-direction: column; line-height: 1.05; }
.brand__wm b { font: 800 1.05rem var(--font-display); letter-spacing: .02em; color: var(--lite); transition: color .3s; }
.brand__wm em { font: 400 .56rem var(--font-mono); font-style: normal; letter-spacing: .05em; text-transform: uppercase; color: rgba(244,241,232,.65); transition: color .3s; }
.nav.is-scrolled .brand__wm b { color: var(--ink); }
.nav.is-scrolled .brand__wm em { color: var(--steel); }
@media (max-width: 480px) { .brand__wm em { display: none; } }

/* footer brand + decluttered bar */
.fbrand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.fbrand img { height: 40px; width: auto; }
.fbrand span { display: flex; flex-direction: column; line-height: 1.15; }
.fbrand b { font: 800 1rem var(--font-display); color: var(--gold-soft); }
.fbrand i { font: 400 .78rem var(--font-body); font-style: normal; color: rgba(244,241,232,.6); }

/* ============ CERTIFICATE VAULT (protected) ============ */
.vault { max-width: var(--maxw); margin: 2.4rem auto 0; padding: 0 var(--pad); }
.vault__head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.vault__title { font: 700 .68rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.vault__note { font-size: .8rem; color: var(--steel); }
.vault__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.vcard { border: 1px solid var(--line); background: var(--paper); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .55rem; transition: transform .3s var(--ease), border-color .3s; }
.vcard:hover { transform: translateY(-3px); border-color: var(--gold); }
.vcard b { font-family: var(--font-display); font-weight: 700; color: var(--head); font-size: .98rem; }
.vcard span { font-size: .74rem; color: var(--steel); }
.vcard button { margin-top: .3rem; align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem; font: 700 .66rem var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--head); background: none; border: 1px solid var(--line); padding: .5rem .8rem; cursor: pointer; transition: all .25s var(--ease); }
.vcard button::before { content: "🔒"; font-size: .8rem; }
.vcard button:hover { border-color: var(--gold); background: var(--paper-2); }

/* protected viewer modal */
.cmodal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 2rem; background: rgba(22,10,51,.8); backdrop-filter: blur(6px); }
.cmodal.is-open { display: flex; }
.cmodal__box { position: relative; width: min(880px, 96vw); height: min(84vh, 900px); background: var(--void); border: 1px solid var(--line-d); display: flex; flex-direction: column; }
.cmodal__bar { display: flex; align-items: center; gap: 1rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line-d); color: var(--gold-soft); font: 700 .72rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.cmodal__bar .grow { flex: 1; }
.cmodal__close { background: none; border: 1px solid var(--line-d); color: var(--lite); width: 32px; height: 32px; cursor: pointer; font-size: 1rem; }
.cmodal__close:hover { border-color: var(--gold); color: var(--gold); }
.cmodal__view { position: relative; flex: 1; overflow: hidden; }
.cmodal__view iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.cmodal__wm { position: absolute; inset: 0; pointer-events: none; display: grid; place-items: center; overflow: hidden; }
.cmodal__wm span { white-space: nowrap; font: 800 2.6rem var(--font-display); color: rgba(57,27,117,.16); transform: rotate(-27deg); text-transform: uppercase; letter-spacing: .2em; text-shadow: 0 0 1px rgba(57,27,117,.1); }
.cmodal__foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .9rem 1.1rem; border-top: 1px solid var(--line-d); font-size: .78rem; color: rgba(244,241,232,.6); }

/* ============ HD FULL LOCKUP (nav + footer) ============ */
:root { --lock-light-o: 1; --lock-dark-o: 0; }
.nav.is-scrolled { --lock-light-o: 0; --lock-dark-o: 1; }
:root[data-theme="dark"] .nav.is-scrolled { --lock-light-o: 1; --lock-dark-o: 0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav.is-scrolled { --lock-light-o: 1; --lock-dark-o: 0; }
}
.brand--lock { position: relative; display: inline-flex; }
.brand__l { height: 54px; width: auto; display: block; transition: opacity .3s var(--ease), height .3s var(--ease); }
.nav.is-scrolled .brand__l { height: 44px; }
.brand__l--light { opacity: var(--lock-light-o); }
.brand__l--dark { position: absolute; left: 0; top: 0; opacity: var(--lock-dark-o); }
.fbrand--lock img { height: 64px; }
@media (max-width: 560px) { .brand__l { height: 44px; } .nav.is-scrolled .brand__l { height: 38px; } }

/* ============ BRAND MIX — HD hex + site-font text ============ */
.brand--mix { display: inline-flex; align-items: center; gap: .75rem; }
.brand--mix .bx__hex { height: 48px; width: auto; display: block; transition: height .3s var(--ease); }
.nav.is-scrolled .brand--mix .bx__hex { height: 40px; }
.bx__t { display: flex; flex-direction: column; line-height: 1.18; }
.bx__en { font: 700 .92rem var(--font-display); letter-spacing: .01em; color: var(--lite); transition: color .3s; }
.bx__en small { font-size: .68em; font-weight: 700; opacity: .85; }
.bx__ar { font: 500 .7rem var(--font-body); color: rgba(244,241,232,.75); transition: color .3s; }
.bx__iso { font: 700 .5rem var(--font-mono); letter-spacing: .06em; color: var(--gold); margin-top: .1rem; }
.nav.is-scrolled .bx__en { color: var(--ink); }
.nav.is-scrolled .bx__ar { color: var(--steel-d); }
.footer .bx__en { color: var(--gold-soft); }
.footer .bx__ar { color: rgba(244,241,232,.65); }
.footer .brand--mix .bx__hex { height: 52px; }
@media (max-width: 640px) { .bx__ar, .bx__iso { display: none; } .brand--mix .bx__hex { height: 40px; } }

/* ============ ARABIC TYPE — clean & proportionate ============ */
.bx__ar { font-family: "IBM Plex Sans Arabic", "Hanken Grotesk", system-ui, sans-serif; font-size: .82rem; font-weight: 500; letter-spacing: 0; line-height: 1.5; }
.fcol .fbrand i, [dir="rtl"] { font-family: "IBM Plex Sans Arabic", "Hanken Grotesk", system-ui, sans-serif; }
/* Brand lockup: make the English and Arabic lines the SAME WIDTH — justified so both
   share the same left AND right edge. Arabic keeps RTL reading order. ISO tag stays flush-left. */
.bx__t { align-items: stretch; }
.bx__en, .bx__ar { text-align: justify; text-align-last: justify; width: 100%; }
.bx__ar { direction: rtl; }
.bx__iso { text-align: left; width: 100%; }

/* ============ IMAGE BOXES ============ */
.cardimg { margin: -1.8rem -1.6rem 1.1rem; overflow: hidden; }
.cardimg img { width: 100%; height: 170px; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.value:hover .cardimg img { transform: scale(1.05); }
.imgrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.8rem 0; }
@media (max-width: 640px) { .imgrow { grid-template-columns: 1fr; } }

/* ============ NEWS INDEX v2 ============ */
.newsx { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.5rem,5vw,4rem) var(--pad) clamp(4rem,8vw,6rem); display: grid; gap: 14px; }
.nfeat { display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid var(--line); background: var(--paper); transition: transform .3s var(--ease), border-color .3s; overflow: hidden; }
.nfeat:hover { transform: translateY(-3px); border-color: var(--gold); }
.nfeat__img img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.nfeat__body { padding: 2rem; display: flex; flex-direction: column; gap: .8rem; }
.nfeat__body h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--head); }
.nfeat__body p { color: var(--steel-d); }
.nmeta { display: flex; gap: .9rem; align-items: center; font: 700 .6rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.nmeta .tag { color: var(--orange); } .nmeta .date { color: var(--steel); }
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ncard2 { border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s; overflow: hidden; }
.ncard2:hover { transform: translateY(-4px); border-color: var(--gold); }
.ncard2 img { width: 100%; height: 150px; object-fit: cover; display: block; }
.ncard2__b { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.ncard2 h3 { font-size: 1.05rem; color: var(--head); }
.ncard2 p { font-size: .86rem; color: var(--steel-d); }
.ncard2 .more { margin-top: auto; font: 700 .68rem var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--orange); }
.artnav { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: 1.4rem; font: 700 .74rem var(--font-mono); text-transform: uppercase; letter-spacing: .04em; }
.artnav a { color: var(--head); } .artnav a:hover { color: var(--orange); }
@media (max-width: 860px) { .nfeat { grid-template-columns: 1fr; } .ngrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ngrid { grid-template-columns: 1fr; } }

/* ============ DROPDOWN — single-line items ============ */
.sub { min-width: 300px; }
.sub a { white-space: nowrap; }

/* ============ PRODUCT TOPIC CARDS (explore grid v2) ============ */
.topix { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 1.2rem; }
.topix a { position: relative; border: 1px solid var(--line); background: var(--paper); padding: 1.5rem 1.5rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; transition: transform .3s var(--ease), border-color .3s; overflow: hidden; }
.topix a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--gold), var(--orange)); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.topix a:hover { transform: translateY(-4px); border-color: var(--gold); }
.topix a:hover::before { transform: scaleY(1); }
.topix .no { font: 700 .68rem var(--font-mono); color: var(--orange); letter-spacing: .08em; }
.topix b { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--head); }
.topix p { font-size: .84rem; color: var(--steel-d); margin: 0; }
.topix .go { margin-top: .4rem; font: 700 .64rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }

/* ============ EMBEDDED QUOTATION SECTION ============ */
.qsec { background: var(--indigo); color: var(--lite); padding: clamp(2rem,4vw,3.2rem) var(--pad); }
.qsec__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem,5vw,5rem); align-items: start; }
.qsec h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1.1rem; }
.qsec h2 em { font-style: normal; color: var(--gold); }
.qsec__points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .8rem; }
.qsec__points li { display: flex; gap: .7rem; align-items: baseline; color: rgba(244,241,232,.82); font-size: .95rem; }
.qsec__points li::before { content: "◆"; color: var(--gold); font-size: .7rem; }
.qsec__card { background: var(--paper); color: var(--ink); padding: clamp(1.4rem,3vw,2.2rem); border: 1px solid var(--line); }
.qsec__card .form { max-width: none; }
@media (max-width: 900px) { .qsec__inner { grid-template-columns: 1fr; } }

/* ============ DATATABLE SKIN (spec & grade tables) ============ */
.prose--sub .acc__body { padding: .2rem 0 1.2rem; }
.acc__body { overflow-x: auto; }
.acc__body table { width: 100%; min-width: 560px; border-collapse: collapse; margin: .8rem 0 1.4rem; font-size: .92rem; background: var(--paper); border: 1px solid var(--line); }
.acc__body th { background: var(--indigo); color: var(--gold); font: 700 .62rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; padding: .85rem 1rem; text-align: left; border: 0; white-space: nowrap; }
.acc__body td { padding: .8rem 1rem; border: 0; border-top: 1px solid var(--line); color: var(--steel-d); vertical-align: top; line-height: 1.5; }
.acc__body tr:nth-child(even) td { background: var(--paper-2); }
.acc__body tr:hover td { background: rgba(250, 179, 63, 0.09); }
.acc__body td:first-child { color: var(--head); font-family: var(--font-display); font-weight: 700; white-space: nowrap; }
.acc__body p > b { color: var(--head); font-family: var(--font-display); font-size: 1.05rem; }

/* ===== Product Sponsors (CMS section type: sponsors) ===== */
.sponsors { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem,6vw,5rem) var(--pad); }
.sponsors__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem,4vw,3rem); color: var(--indigo); letter-spacing: -.02em; margin-top: .5rem; }
.sponsors__title em { color: var(--orange); font-style: normal; }
.sponsors__lede { max-width: none; color: var(--steel-d); margin: .9rem 0 2.2rem; font-size: clamp(1rem,1.3vw,1.1rem); white-space: nowrap; }
@media (max-width: 900px) { .sponsors__lede { white-space: normal; } }
.sponsors__strip { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent); mask-image: linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent); }
.sponsors__track { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: kpi-sponsor 30s linear infinite; }
.sponsors__strip:hover .sponsors__track { animation-play-state: paused; }
.sponsor-tile { flex: 0 0 auto; width: 190px; height: 118px; display: flex; align-items: center; justify-content: center; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; transition: border-color .3s, transform .3s var(--ease); }
.sponsor-tile:hover { border-color: var(--gold); transform: translateY(-3px); }
.sponsor-tile img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .68; transition: filter .3s, opacity .3s; }
.sponsor-tile:hover img { filter: none; opacity: 1; }
@keyframes kpi-sponsor { from { transform: translateX(0); } to { transform: translateX(calc(-50% - .8rem)); } }
html[data-theme="dark"] .sponsors__title { color: var(--gold-soft); }
html[data-theme="dark"] .sponsor-tile { background: rgba(255,255,255,.04); }
@media (prefers-reduced-motion: reduce) { .sponsors__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .sponsor-tile[aria-hidden="true"] { display: none; } }

/* ============================================================
   RESPONSIVE HARDENING — kill horizontal scroll on phones/tablets.
   Root cause was the .page--grid track using min-width:auto, so wide
   content (tables/images) couldn't shrink and pushed the page sideways.
   ============================================================ */
html, body { max-width: 100%; overflow-x: clip; }
img, svg, video, iframe, table, canvas { max-width: 100%; }
.page, .page--grid, .prose, .about__body, .prod, .contact__wrap, .values__body, .tech__body { min-width: 0; max-width: 100%; }
.page--grid { grid-template-columns: 250px minmax(0, 1fr); }
.page--grid > * { min-width: 0; }
.prose { overflow-wrap: anywhere; }
.prose img, figure img, .wideband img { height: auto; }
@media (max-width: 900px) {
  .page--grid { grid-template-columns: minmax(0, 1fr); }
}

/* Mobile dock: clear the iOS Safari bottom toolbar (safe-area) so the ↑ Top button
   is never hidden behind it, and keep it comfortably tappable. */
.dock { height: auto; min-height: 52px; padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 700px) {
  .dock { justify-content: space-between; }
  .dock__top { padding: .55rem 1rem; font-size: .7rem; }
}

/* Mobile tables: let cells wrap and shrink so they FIT instead of scrolling sideways */
@media (max-width: 640px) {
  .acc__body table { min-width: 0 !important; font-size: .8rem; }
  .acc__body th, .acc__body td { white-space: normal !important; padding: .45rem .5rem; word-break: break-word; }
  .tech__table { min-width: 0; font-size: .74rem; }
  .tech__table .tr { grid-template-columns: 1.1fr 1.3fr 1fr; }
  .tech__table .tr span { padding: .5rem .45rem; }
  .tech__table-wrap, .acc__body { -webkit-overflow-scrolling: touch; }
  .spec-row { grid-template-columns: 1fr 1fr; }
}

/* ── CMS structured blocks: Image+Text & Image Gallery ── */
.itx{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,4vw,54px);align-items:center}
.itx--solo{grid-template-columns:minmax(0,1fr)}
.itx__media img{width:100%;height:100%;max-height:460px;object-fit:cover;border-radius:16px;display:block}
.itx__title{color:var(--indigo);margin:.1rem 0 1rem;font-size:clamp(1.5rem,3vw,2.1rem);line-height:1.15}
.itx__cta{margin-top:1.4rem}
@media (max-width:820px){.itx{grid-template-columns:minmax(0,1fr)}}
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.gtile{margin:0;border-radius:14px;overflow:hidden;background:var(--surface,#fff);border:1px solid rgba(0,0,0,.08)}
.gtile img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.gtile figcaption{padding:10px 12px;font-size:13px;color:var(--muted,#666);font-weight:600}

/* ── News filter chips (data-driven News index) ── */
.news-wrap{padding-top:26px}
.news-filter{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px}
.news-filter__b{font:700 .72rem var(--font-mono,monospace);letter-spacing:.05em;text-transform:uppercase;
  padding:8px 15px;border-radius:999px;border:1px solid var(--line,#ddd);background:transparent;color:var(--indigo,#160a33);cursor:pointer;transition:.16s}
.news-filter__b:hover{border-color:var(--orange,#f5a623)}
.news-filter__b.is-on{background:var(--orange,#f5a623);border-color:var(--orange,#f5a623);color:#160a33}
[data-theme="dark"] .news-filter__b{color:#fff}

/* ── Home facts row: align text off the column dividers ── */
.about__facts li { padding: 1.3rem 1.4rem; }
.about__facts li:first-child { padding-left: 0; }
@media (max-width: 860px) { .about__facts li:nth-child(odd) { padding-left: 0; } }
@media (max-width: 520px) { .about__facts li { padding-left: 0; padding-right: 0; } }

/* ── Quote / contact form stacks cleanly on phones ── */
@media (max-width: 600px) {
  .form { max-width: none; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { width: 100%; justify-content: center; }
}

/* ── Contact page polish ── */
.office { position: relative; border-radius: 14px; overflow: hidden; }
.office::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--orange)); opacity: 0; transition: opacity .3s; }
.office:hover { box-shadow: 0 14px 34px rgba(22,10,51,.10); }
.office:hover::before { opacity: 1; }
.office a { font-weight: 600; }
.cmap__wrap { border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(22,10,51,.10); aspect-ratio: 16 / 7; background: var(--paper-2); }
.cmap__wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.92); }
@media (max-width: 700px) { .cmap__wrap { aspect-ratio: 4 / 3; border-radius: 12px; } }

/* ── Photo strip (Profile "Plant & operations") polish ──
   Rounded cards, richer captions, and soft edge fades so a half-scrolled
   card looks intentional instead of clipped. */
.icard { border-radius: 14px; }
.icard img { height: 280px; }
.icard figcaption { padding: 2.2rem .95rem .8rem; background: linear-gradient(0deg, rgba(22,10,51,.92) 0%, rgba(22,10,51,.55) 55%, transparent); }
.carousel__track { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent); }
@media (max-width: 640px) { .icard img { height: 220px; } }

/* ── Photo strip: exactly 3 full cards per view (2 on tablets, 1 on phones) ── */
.carousel__track { -webkit-mask-image: none; mask-image: none; }
.carousel__track > * { width: calc((100% - 24px) / 3); }
@media (max-width: 900px) { .carousel__track > * { width: calc((100% - 12px) / 2); } }
@media (max-width: 640px) { .carousel__track > * { width: 82vw; } }

/* ── Mobile: keep Products / Technical / News / Contact in the bottom dock ── */
@media (max-width: 700px) {
  .dock__links { display: flex; flex-wrap: wrap; gap: .3rem .75rem; margin-right: auto; }
  .dock__links a { font-size: .56rem; letter-spacing: .06em; }
  .dock { justify-content: flex-start; gap: .7rem; }
  .dock__logo { margin-right: 0; }
  .dock__top { flex: none; padding: .4rem .6rem; font-size: .6rem; white-space: nowrap; }
}
@media (max-width: 380px) { .dock__logo { display: none; } }
