/* =========================================================
   Artec Lantec - site design (WordPress theme: Webbox)
   Brand: Manrope (display, Google Fonts) + Lato (text)
   Palette sampled from the network logo
   ========================================================= */


:root {
  /* brand */
  --plum-900: #2b0d2e;
  --plum: #481840;
  --magenta: #8a2a52;
  --red: #e83030;
  --japan-red: #bc002d;   /* Hinomaru red, used only for the five Japanese lines */
  --red-dark: #c9231f;
  --coral: #f8a880;
  --mint: #7cc3ab;
  --mint-light: #e9f5ef;
  /* neutrals */
  --ink: #2d2a2e;
  --ink-soft: #5f5a62;
  --muted: #8d8791;
  --line: #e8e3ea;
  --paper: #faf8fb;
  --white: #ffffff;
  /* type */
  --font-display: "Manrope", "Lato", Arial, sans-serif;
  --font-text: "Lato", "Helvetica Neue", Arial, sans-serif;
  /* layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --topbar-h: 44px; /* measured height of the electronica strip; the hero fills 100svh minus this */
  --header-h: 84px;
  --radius: 20px;
  --ease: cubic-bezier(.2, .65, .2, 1);
  --shadow: 0 20px 50px -24px rgba(43, 13, 46, .35);
  --shadow-sm: 0 10px 30px -18px rgba(43, 13, 46, .3);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-text); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 300; line-height: 1.08; letter-spacing: .005em; }
h3, h4 { font-weight: 500; } /* Manrope Light is too thin at card-title sizes */
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.ico { width: 1.1em; height: 1.1em; flex: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(72px, 7vw, 96px) 0; overflow: hidden; }

/* ---------- typography ---------- */
.h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); color: var(--plum); margin-bottom: .6em; }
.markets .h2, .video .h2, .electronica .h2 { color: var(--white); }
.electronica .h2 { color: var(--plum-900); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: var(--font-display); font-weight: 400; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--magenta); }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--red), var(--coral)); }
.eyebrow--light { color: var(--mint); }
.eyebrow--light::before { background: linear-gradient(90deg, var(--mint), rgba(124, 195, 171, .3)); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 4vw, 52px); }
.section-head--center { max-width: 880px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row .h2 { margin-bottom: 0; }
.section-head__lead { font-size: 1.12rem; color: var(--ink-soft); }
.markets .section-head__lead, .video .section-head__lead { color: rgba(255, 255, 255, .72); }

.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--plum); flex: none; }
.dot--mint { background: var(--mint); }
.dot--red { background: var(--red); }
.dot--coral { background: var(--coral); }
.dot--magenta { background: var(--magenta); }
.dot--plum { background: var(--plum); }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; letter-spacing: .03em; line-height: 1; white-space: nowrap; transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s, border-color .3s; }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ico { transform: translateX(4px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 14px 30px -14px rgba(232, 48, 48, .7); }
.btn--primary:hover { background: var(--red-dark); }
.btn--plum { background: var(--plum); color: #fff; box-shadow: 0 14px 30px -14px rgba(72, 24, 64, .7); }
.btn--plum:hover { background: var(--plum-900); }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--sm { padding: 11px 20px; font-size: .92rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 1.05rem; color: var(--red); transition: gap .3s var(--ease); }
.link-arrow:hover { gap: 14px; }
.link-arrow--light { color: #fff; }

/* ---------- top bar ---------- */
.topbar { background: var(--plum-900); color: #fff; font-size: .9rem; position: relative; z-index: 60; }
.topbar__inner { display: flex; align-items: center; gap: 18px; min-height: 44px; }
/* the menu has ten items since the Technical Catalog link: the top bar and the header get 40px more than the page column */
.topbar__inner, .header__inner { max-width: calc(var(--container) + 40px); }
.topbar__text { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--font-display); letter-spacing: .03em; }
.topbar__text strong { font-weight: 700; color: var(--mint); }
.topbar__sep { opacity: .4; }
.topbar__pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(124, 195, 171, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(124, 195, 171, .6); } 70% { box-shadow: 0 0 0 9px rgba(124, 195, 171, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 195, 171, 0); } }
.topbar__cta { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); color: #fff; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); transition: background .3s, border-color .3s; }
.topbar__cta:hover { background: var(--red); border-color: var(--red); }
.topbar__close { color: rgba(255, 255, 255, .6); padding: 6px; border-radius: 50%; transition: color .3s, background .3s; }
.topbar__close:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.topbar.is-hidden, .topbar-closed .topbar { display: none; }  /* .topbar-closed: set in <head> for a strip already dismissed this session */

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); transition: background .4s var(--ease), box-shadow .4s, height .4s var(--ease); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* Josia 25/10/2026: logo bigger. flex-shrink 0 keeps the box from being squeezed by the menu (it used to render at ~160px),
   the width follows the viewport so the menu still fits on one line down to the 1199px burger breakpoint */
.brand { position: relative; flex: 0 0 auto; width: clamp(176px, 16.4vw, 236px); aspect-ratio: 600 / 156; display: block; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity .4s; }
.brand__dark { opacity: 0; }
.brand__light { opacity: 1; }
.header.scrolled, .header.open { background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); box-shadow: 0 8px 30px -20px rgba(43, 13, 46, .35); height: 80px; }
.header.scrolled .brand__dark, .header.open .brand__dark { opacity: 1; }
.header.scrolled .brand__light, .header.open .brand__light { opacity: 0; }
.nav { display: flex; align-items: center; gap: clamp(8px, .85vw, 12px); }
.nav > a:not(.btn) { position: relative; white-space: nowrap; font-family: var(--font-display); font-weight: 500; font-size: .92rem; letter-spacing: .01em; color: #fff; padding: 6px 0; transition: color .3s; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav > a:not(.btn):hover::after, .nav > a.is-active::after { transform: scaleX(1); }
.header.scrolled .nav > a:not(.btn), .header.open .nav > a:not(.btn) { color: var(--plum); }
.nav__cta { margin-left: 4px; padding-left: 18px; padding-right: 18px; }
.burger { display: none; color: #fff; width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center; position: relative; }
.burger .ico { width: 28px; height: 28px; }
.burger .ico--close { display: none; }
.header.open .burger .ico--close { display: block; }
.header.open .burger .ico--menu { display: none; }
.header.scrolled .burger, .header.open .burger { color: var(--plum); }

/* ---------- hero: the "signal deck" ----------
   Layered instrument-panel hero: graded video → engineering mesh → the animated network symbol →
   scan sweep → cursor light → hatch, with a two-column deck (copy | line-card panel) centred in
   the space above the stats readout. */
.hero { position: relative; margin-top: calc(var(--header-h) * -1); min-height: calc(100vh - var(--topbar-h)); min-height: calc(100svh - var(--topbar-h)); display: flex; flex-direction: column; color: #fff; overflow: hidden; background: var(--plum-900); isolation: isolate; }
/* when the visitor dismisses the electronica strip the hero reclaims its height (falls back gracefully
   in browsers without :has(), where the rule above simply keeps applying) */
body:has(.topbar.is-hidden) .hero, .topbar-closed .hero { min-height: 100vh; min-height: 100svh; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
/* graded cooler and darker so the sunset clip reads as a technical backdrop, not a lifestyle stock shot */
.hero__video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.12) brightness(.74); animation: kenburns 38s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 7, 28, .88) 0%, rgba(43, 13, 46, .58) 36%, rgba(43, 13, 46, .74) 70%, rgba(18, 5, 20, .96) 100%), linear-gradient(100deg, rgba(22, 6, 24, .93) 0%, rgba(22, 6, 24, .74) 38%, rgba(22, 6, 24, .18) 70%, rgba(138, 42, 82, .28) 100%); }
/* engineering mesh: fine 26px cells over a brighter 130px major, faded out towards the edges */
.hero__grid { position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(to right, rgba(124, 195, 171, .1) 1px, transparent 1px), linear-gradient(to bottom, rgba(124, 195, 171, .1) 1px, transparent 1px); background-size: 26px 26px, 26px 26px, 130px 130px, 130px 130px; -webkit-mask-image: radial-gradient(125% 95% at 66% 42%, #000 0%, rgba(0, 0, 0, .5) 46%, transparent 78%); mask-image: radial-gradient(125% 95% at 66% 42%, #000 0%, rgba(0, 0, 0, .5) 46%, transparent 78%); }
/* the animated network symbol is now a headline element: bright, edge-faded, bleeding off the right behind the panel */
.hero__symbol { --sym: min(780px, 54vw, calc(100svh - 170px)); position: absolute; top: calc(50% - var(--sym) / 2); right: clamp(-140px, -5vw, -40px); width: var(--sym); height: var(--sym); display: block; opacity: .34; pointer-events: none; will-change: transform; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 34%, rgba(0, 0, 0, .55) 60%, transparent 76%); mask-image: radial-gradient(circle at 50% 50%, #000 34%, rgba(0, 0, 0, .55) 60%, transparent 76%); }
/* slow instrument sweep down the deck - a single pass on load, then it stays hidden (base opacity 0 + forwards) */
.hero__scan { position: absolute; left: 0; right: 0; top: 0; height: 200px; background: linear-gradient(180deg, transparent, rgba(124, 195, 171, .07) 52%, rgba(255, 255, 255, .14) 90%, transparent); opacity: 0; animation: scan 11s var(--ease) 1 forwards; pointer-events: none; }
@keyframes scan { 0% { transform: translateY(-200px); opacity: 0; } 6% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(105vh); opacity: 0; } }
/* cursor light - its transform is driven from js/main.js */
.hero__glow { position: absolute; left: 0; top: 0; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 195, 171, .2) 0%, rgba(232, 48, 48, .08) 40%, transparent 66%); opacity: 0; transform: translate3d(60vw, 34vh, 0) translate(-50%, -50%); transition: opacity .7s var(--ease); pointer-events: none; will-change: transform; }
.hero.is-live .hero__glow { opacity: 1; }
.hero__hatch { position: absolute; left: -10%; bottom: 0; width: 46%; height: 42%; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .11) 0 1px, transparent 1px 7px); clip-path: polygon(0 0, 100% 100%, 0 100%); opacity: .9; pointer-events: none; }
/* deck: copy on the left, instrument panel on the right, centred in the space above the stats.
   width:100% is required: .container's auto side margins cancel flex stretch, so without it the deck
   shrink-wraps to its max-content width instead of filling the 1200px container.
   The panel track is capped at 370px so the headline keeps the wide column it needs to stay on one line. */
.hero__deck { position: relative; flex: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 370px); gap: clamp(24px, 3vw, 56px); align-items: center; padding-top: calc(var(--header-h) + clamp(20px, 4vh, 52px)); padding-bottom: clamp(22px, 3.5vh, 44px); }
.hero__content { position: relative; max-width: 860px; min-width: 0; }
.hero__content > *, .hero__panel { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; }
.hero__eyebrow { animation-delay: .1s; }
.hero__content > :nth-child(2) { animation-delay: .22s; }
.hero__content > :nth-child(3) { animation-delay: .3s; }
.hero__content > :nth-child(4) { animation-delay: .5s; }
.hero__content > :nth-child(5) { animation-delay: .66s; }
.hero__panel { animation-delay: .5s; }
@keyframes rise { to { opacity: 1; transform: none; } }
/* live status chips */
.hero__status { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); font-family: var(--font-display); font-weight: 500; font-size: .76rem; letter-spacing: .11em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.chip--live { border-color: rgba(124, 195, 171, .45); background: rgba(124, 195, 171, .12); color: #fff; }
.chip__pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(124, 195, 171, .6); animation: pulse 2.2s infinite; }
/* headline: heavy and tight, revealed line by line through a mask; the accent line is light + gradient.
   "Your partner in Israel." measures 10.07em wide at weight 600 with -.035em tracking. The copy column is
   1136px - gap - 370px ≈ 723px at >=1200px viewports, so 4.4rem (70.4px -> 709px) is the largest size that
   provably stays on one line; below ~1080px the panel drops away and the column widens instead. */
.hero__title { font-size: clamp(2.35rem, 5vw, 4.4rem); font-weight: 600; line-height: .98; letter-spacing: -.035em; margin-bottom: 22px; text-wrap: balance; }
.hero__line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__line > span { display: block; transform: translateY(112%); animation: lineUp 1.05s var(--ease) forwards; }
.hero__line:nth-of-type(1) > span { animation-delay: .28s; }
.hero__line:nth-of-type(2) > span { animation-delay: .4s; }
@keyframes lineUp { to { transform: none; } }
.hero__accent { font-weight: 300; letter-spacing: -.02em; background: linear-gradient(96deg, var(--mint) 0%, #a9dcc8 40%, var(--coral) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 28px rgba(124, 195, 171, .28)); }
.hero__lead { max-width: 620px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: rgba(255, 255, 255, .84); margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
/* instrument panel: the categories as a live readout, with corner brackets. Motif: a signal light travelling along a line (as in the hero symbol) */
.hero__panel { --scan: 2.4s; position: relative; padding: 20px 20px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; background: linear-gradient(165deg, rgba(28, 9, 30, .74), rgba(16, 5, 18, .6)); backdrop-filter: blur(14px); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .09); }
.hero__panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 7px); clip-path: polygon(58% 0, 100% 0, 100% 46%, 58% 46%); pointer-events: none; }
.hero__corner { position: absolute; width: 16px; height: 16px; border: 1.5px solid var(--mint); opacity: .65; pointer-events: none; }
.hero__corner--tl { left: -1px; top: -1px; border-right: 0; border-bottom: 0; border-radius: 18px 0 0 0; }
.hero__corner--tr { right: -1px; top: -1px; border-left: 0; border-bottom: 0; border-radius: 0 18px 0 0; }
.hero__corner--bl { left: -1px; bottom: -1px; border-right: 0; border-top: 0; border-radius: 0 0 0 18px; }
.hero__corner--br { right: -1px; bottom: -1px; border-left: 0; border-top: 0; border-radius: 0 0 18px 0; }
.hero__panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.hero__panel-title { font-family: var(--font-display); font-weight: 500; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }
.hero__panel-list { display: grid; gap: 2px; margin: 10px 0 0; }
.hero__panel-list li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) 40px; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; transition: background .45s var(--ease); }
.hero__panel-list li.is-active { background: rgba(124, 195, 171, .1); }
.hero__panel-n { font-family: var(--font-display); font-weight: 500; font-size: .74rem; letter-spacing: .1em; color: rgba(255, 255, 255, .4); font-variant-numeric: tabular-nums; transition: color .45s; }
.hero__panel-list li.is-active .hero__panel-n { color: var(--mint); }
.hero__panel-t { font-family: var(--font-display); font-weight: 400; font-size: .95rem; letter-spacing: .01em; color: rgba(255, 255, 255, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .45s; }
.hero__panel-list li.is-active .hero__panel-t { color: #fff; }
/* header trace: the light runs along a small five-node network line without pause (SMIL inside the svg; hidden for reduced motion / static) */
.hero__panel-trace { display: block; flex: 0 0 auto; width: 56px; height: 14px; overflow: visible; }
.hero__panel-trace-line { fill: none; stroke: rgba(124, 195, 171, .4); stroke-width: 1; stroke-linejoin: round; }
.hero__panel-trace-nodes circle { fill: rgba(124, 195, 171, .8); }
.hero__panel-trace-light circle { fill: #e6fff6; }
.hero__panel-trace-light .halo { fill: var(--mint); opacity: .28; }
/* row scanner, drawn like the header trace: a 1px line between two nodes. On the active row a light leaves the first node, travels to the second (--scan, also read by js/main.js) and lights the line behind it; the next row takes over when it arrives */
.hero__panel-bar { position: relative; height: 3px; background: radial-gradient(circle, rgba(124, 195, 171, .8) 1.1px, transparent 1.7px) left center / 3px 3px no-repeat, radial-gradient(circle, rgba(124, 195, 171, .8) 1.1px, transparent 1.7px) right center / 3px 3px no-repeat, linear-gradient(rgba(124, 195, 171, .4), rgba(124, 195, 171, .4)) center / 100% 1px no-repeat; }
.hero__panel-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 1px; background: linear-gradient(90deg, rgba(124, 195, 171, .5), #d2fff0); transform: scaleX(1); transform-origin: left; opacity: 0; transition: opacity .5s var(--ease); }
.hero__panel-bar::after { content: ""; position: absolute; left: -.5px; top: -.5px; width: 4px; height: 4px; border-radius: 50%; background: #e6fff6; box-shadow: 0 0 5px 1px rgba(124, 195, 171, .85); opacity: 0; }
.hero__panel-list li.is-active .hero__panel-bar::before { animation: barFill var(--scan) linear forwards; transition: none; }
.hero__panel-list li.is-active .hero__panel-bar::after { animation: barLight var(--scan) linear forwards; }
@keyframes barFill { from { transform: scaleX(0); opacity: 1; } to { transform: scaleX(1); opacity: 1; } }
@keyframes barLight { 0% { transform: translateX(0); opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(37px); opacity: 0; } }
.hero__panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero__panel-meta { font-size: .82rem; letter-spacing: .04em; color: rgba(255, 255, 255, .6); }
.hero__panel-meta b { font-family: var(--font-display); font-weight: 600; color: var(--mint); }
.hero__panel-link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: #fff; transition: gap .3s var(--ease), color .3s; }
.hero__panel-link:hover { gap: 12px; color: var(--mint); }
/* stats readout */
.hero__stats { position: relative; border-top: 1px solid rgba(255, 255, 255, .16); background: linear-gradient(180deg, rgba(28, 8, 30, .58), rgba(18, 5, 20, .82)); backdrop-filter: blur(12px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { position: relative; padding: 26px 24px 26px 0; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid rgba(255, 255, 255, .12); transition: background .4s var(--ease); }
.stat::before { content: ""; position: absolute; left: 0; top: -1px; width: 34px; height: 2px; border-radius: 2px; background: var(--accent, var(--mint)); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 95ms + .2s); }
.stat.in::before { transform: scaleX(1); }
.stat:hover { background: rgba(255, 255, 255, .045); }
.stat:hover::before { width: 64px; }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-display); font-weight: 300; font-size: 2.4rem; line-height: 1; color: var(--mint); font-variant-numeric: tabular-nums; }
.stat__label { font-size: .8rem; line-height: 1.45; letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.hero__scroll { position: absolute; left: 50%; bottom: 128px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 14px; display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- reveal on scroll ---------- */
/* content waits for js/main.js to reveal it; without scripts (no .js on <html>) it simply shows */
.reveal { transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: calc(var(--d, 0) * 95ms); will-change: opacity, transform; }
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal--left { transform: translateX(-44px); }
.js .reveal--right { transform: translateX(44px); }
.reveal.in { opacity: 1; transform: none; }   /* same weight as the hover rules after it, so card and button hovers still lift */
[data-delay="1"] { --d: 1; } [data-delay="2"] { --d: 2; } [data-delay="3"] { --d: 3; } [data-delay="4"] { --d: 4; } [data-delay="5"] { --d: 5; } [data-delay="6"] { --d: 6; }

/* decorative colour planes with the brochure's diagonal cut + hatching */
.plane { position: absolute; inset: -6% auto auto -8%; width: 78%; height: 100%; border-radius: 6px; z-index: 0; clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); }
.plane::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 7px); clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%); }
.plane--mint { background: var(--mint); }
.plane--coral { background: var(--coral); }
.plane--plum { background: var(--plum); }
.plane--plum::after { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .14) 0 1px, transparent 1px 7px); }
.line-draw { position: absolute; width: 58%; right: -6%; bottom: -4%; z-index: 2; overflow: visible; pointer-events: none; }
.line-draw line { stroke: var(--red); stroke-width: 1.4; stroke-dasharray: 440; stroke-dashoffset: 440; transition: stroke-dashoffset 1.5s ease .35s; }
.line-draw--plum line { stroke: var(--mint); }
.in .line-draw line { stroke-dashoffset: 0; }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__visual { position: relative; padding: 6% 0 8% 8%; }
.about__photo { position: relative; z-index: 1; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 0%; transition: transform 1.2s var(--ease); }
.about__visual:hover .about__photo img { transform: scale(1.04); }
.about__badge { position: absolute; z-index: 3; left: 0; bottom: 18%; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: #fff; border-radius: 999px; font-family: var(--font-display); font-size: .95rem; color: var(--plum); box-shadow: var(--shadow-sm); }
.about__text p { color: var(--ink-soft); }
.ticks { display: grid; gap: 12px; margin: 26px 0 30px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); line-height: 1.45; }
.ticks .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--mint-light); color: var(--plum); margin-top: 1px; }

/* ---------- products ---------- */
.products { background: linear-gradient(180deg, #fff 0, var(--paper) 180px, var(--paper) calc(100% - 180px), #fff 100%); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px 28px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--accent, var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__media { position: relative; display: grid; place-items: center; height: 156px; margin: -6px 0 4px; }
.card__media img { display: block; max-width: 70%; max-height: 124px; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(43, 13, 46, .16)); transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: translateY(-5px) scale(1.04); }
.card__icon { position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--plum); background: color-mix(in srgb, var(--accent, var(--red)) 14%, #fff); }
.card__icon .ico { width: 22px; height: 22px; }
.card h3 { font-size: 1.45rem; font-weight: 400; color: var(--plum); }
.card p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.card__more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); color: var(--red); font-size: .98rem; }
/* product spotlight (Xtal Ball Technologies): a dark deck in the hero's language, the parts on glass cards */
.spot { position: relative; margin-top: 26px; padding: clamp(28px, 4vw, 52px); border-radius: 26px; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--plum-900) 0%, var(--plum) 55%, #5b2452 100%); box-shadow: var(--shadow); }
.spot__hatch { position: absolute; right: -6%; top: 0; width: 38%; height: 100%; background: var(--magenta); clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%); opacity: .45; pointer-events: none; }
.spot__hatch::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 7px); }
.spot__symbol { position: absolute; right: -4%; top: -22%; width: 46%; opacity: .07; pointer-events: none; }
.spot__head { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: 34px; }
.spot__head .eyebrow { margin-bottom: 14px; }
.spot__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.1; color: #fff; margin: 0; text-wrap: balance; }
.spot__lead { color: rgba(255, 255, 255, .78); margin: 0; }
.spot__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.spot__card { position: relative; display: flex; flex-direction: column; padding: 26px 26px 24px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); }
.spot__media { position: relative; height: 230px; display: grid; place-items: center; margin: -6px 0 10px; }
.spot__media::before { content: ""; position: absolute; left: 50%; top: 55%; width: 70%; height: 60%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(124, 195, 171, .28), transparent); }
.spot__media img { position: relative; max-height: 200px; max-width: 62%; width: auto; height: auto; filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .45)); }
.spot__media .spot__media-alt { position: absolute; right: 4%; bottom: 0; max-height: 108px; max-width: 34%; }
.spot__kicker { font-family: var(--font-display); font-weight: 500; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mint); margin: 0 0 8px; }
.spot__card h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.2; color: #fff; margin: 0 0 18px; }
.spot__card > p { color: rgba(255, 255, 255, .78); font-size: .98rem; margin: 0 0 18px; }
.spot__lists { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px 22px; margin: 0 0 22px; flex: 1; }
.spot__lists h5 { font-family: var(--font-display); font-weight: 500; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); margin: 0 0 10px; }
.spot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; align-content: start; }
.spot__list li { position: relative; padding-left: 16px; font-size: .9rem; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.spot__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.spot__actions { display: grid; gap: 16px; justify-items: start; }
.spot__docs { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.spot__docs .link-arrow { font-size: .95rem; }
.spot__head .spot__more { margin-top: 16px; font-size: .98rem; }

/* ---------- line card ---------- */
.linecard { background: #fff; overflow: hidden; }
.linecard__symbol { position: absolute; right: -16%; top: -10%; width: min(60vw, 760px); opacity: .055; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 40px; }
@media (min-width: 1320px) {
  /* all six categories on one line on desktop: slightly tighter chips, row may bleed a little past the text column */
  .chips { flex-wrap: nowrap; gap: 8px; margin-left: -56px; margin-right: -56px; }
  .chips li { font-size: .88rem; padding: 8px 13px; white-space: nowrap; flex-shrink: 0; }
}
.chips li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-display); font-size: .95rem; color: var(--plum); background: #fff; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logo { flex: 0 0 calc((100% - 6 * 14px) / 7); height: 104px; display: grid; place-items: center; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.logo img { max-height: 46px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .4s, opacity .4s; }
.logo:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.logo:hover img { filter: none; opacity: 1; }
.linecard__actions { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- markets ---------- */
.markets { background: linear-gradient(160deg, var(--plum) 0%, var(--plum-900) 70%); color: #fff; overflow: hidden; }
.markets__hatch { position: absolute; right: -8%; top: 0; width: 42%; height: 100%; background: var(--magenta); clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%); opacity: .55; }
.markets__hatch::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 7px); }
.markets__symbol { position: absolute; left: -12%; bottom: -22%; width: min(55vw, 700px); opacity: .07; pointer-events: none; }
.markets .container { position: relative; }
.markets__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.market { padding: 28px 24px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); transition: background .4s, transform .5s var(--ease), border-color .4s; }
.market:hover { background: rgba(255, 255, 255, .11); transform: translateY(-5px); border-color: rgba(124, 195, 171, .5); }
.market .ico { width: 34px; height: 34px; color: var(--mint); margin-bottom: 16px; }
.market h3 { font-size: 1.3rem; font-weight: 400; margin-bottom: 8px; }
.market p { font-size: .93rem; color: rgba(255, 255, 255, .72); }
.market--hot { border-color: rgba(124, 195, 171, .6); background: rgba(124, 195, 171, .1); }
.market--hot h3::after { content: attr(data-badge); display: inline-block; margin-left: 10px; padding: 3px 9px; border-radius: 999px; background: var(--mint); color: var(--plum-900); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; }

/* ---------- customers ---------- */
.customers { background: var(--paper); }
.customers__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.customers__text { max-width: 760px; }
.customers__text p { color: var(--ink-soft); }
.cust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cust { min-height: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 12px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.cust:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.cust b { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1.15; letter-spacing: .02em; color: var(--plum); }
.cust b small { display: block; font-family: var(--font-text); font-weight: 400; font-size: .72rem; letter-spacing: 0; color: var(--ink-soft); margin-top: 2px; }
.cust span { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cust .dot { width: 7px; height: 7px; }
.cust--military .dot { background: var(--red); } .cust--telecom .dot { background: var(--mint); } .cust--medical .dot { background: var(--coral); } .cust--ems .dot { background: var(--magenta); } .cust--industry .dot { background: var(--plum); }
.cust--logo img { max-height: 46px; max-width: 86%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .4s, opacity .4s; }
.cust--logo:hover img { filter: none; opacity: 1; }
.cust-grid--key { grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 18px; }
.cust--key { min-height: 136px; padding: 18px 16px; border-color: rgba(72, 24, 64, .16); box-shadow: 0 14px 34px -26px rgba(43, 13, 46, .5); }
.cust--key img { max-height: 60px; max-width: 70%; opacity: .78; }
.cust-grid--flow { display: flex; flex-wrap: wrap; justify-content: center; }
.cust-grid--flow .cust { flex: 0 0 calc((100% - 4 * 14px) / 5); }
.customers__note { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .86rem; font-style: italic; color: var(--muted); }

/* ---------- video ---------- */
.video { background: var(--plum-900); color: #fff; }
.video__poster { position: relative; display: block; width: min(100%, 1000px); margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); text-align: left; }
.video__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.video__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 13, 46, .05) 40%, rgba(43, 13, 46, .85) 100%); }
.video__poster:hover img { transform: scale(1.04); }
.video__play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); animation: ring 2.4s infinite; transition: transform .4s var(--ease); }
.video__play .ico { width: 42px; height: 42px; margin-left: 4px; }
.video__poster:hover .video__play { transform: scale(1.08); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); } 100% { box-shadow: 0 0 0 28px rgba(255, 255, 255, 0); } }
.video__caption { position: absolute; z-index: 1; left: 32px; bottom: 28px; right: 32px; font-size: 1rem; color: rgba(255, 255, 255, .85); }
.video__caption strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: #fff; display: block; }

/* ---------- ceo ---------- */
.ceo__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.ceo__quote { margin: 0 0 22px; position: relative; padding-left: 28px; border-left: 3px solid var(--coral); }
.ceo__quote p { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.35; color: var(--plum); }
.ceo__text > p { color: var(--ink-soft); }
.ceo__sig { margin-top: 28px; display: flex; flex-direction: column; font-family: var(--font-display); }
.ceo__sig strong { font-weight: 700; font-size: 1.25rem; color: var(--plum); }
.ceo__sig span { color: var(--muted); font-size: .95rem; letter-spacing: .04em; }
.ceo__visual { position: relative; padding: 8% 10% 6% 0; }
.ceo__visual .plane { inset: auto -8% -6% auto; width: 80%; height: 92%; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.ceo__photo { position: relative; z-index: 1; margin: 0; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ceo__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ceo__text .h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 26px; }
.ceo__body p { color: var(--ink-soft); margin: 0 0 14px; }
.ceo__body p:last-child { margin-bottom: 0; }

/* ---------- electronica ---------- */
.electronica { background: var(--mint); color: var(--plum-900); overflow: hidden; }
.electronica::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 55%; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 7px); clip-path: polygon(0 0, 100% 0, 0 100%); opacity: .8; pointer-events: none; }
.electronica .eyebrow--light { color: var(--plum); }
.electronica .eyebrow--light::before { background: linear-gradient(90deg, var(--red), var(--coral)); }
.electronica__grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.electronica__photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.3; box-shadow: var(--shadow); }
.electronica__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; }
.electronica__text > p { color: rgba(43, 13, 46, .8); font-size: 1.08rem; }
.electronica__facts { display: grid; gap: 10px; margin: 24px 0 30px; font-family: var(--font-display); font-size: 1.05rem; }
.electronica__facts li { display: flex; align-items: center; gap: 12px; }
.electronica__facts .ico { width: 22px; height: 22px; color: var(--plum); }
.electronica__facts .dot { margin: 0 6px; }
.countdown { display: flex; gap: 12px; margin-bottom: 32px; }
.countdown div { min-width: 86px; padding: 14px 12px; background: #fff; border-radius: 14px; text-align: center; box-shadow: var(--shadow-sm); }
.countdown b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--plum); }
.countdown span { display: block; margin-top: 4px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- partner ---------- */
.partner__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.partner__text > p { color: var(--ink-soft); }
.partner__points { display: grid; gap: 22px; margin: 32px 0 36px; }
.point { display: flex; gap: 20px; align-items: flex-start; }
.point__num { font-family: var(--font-display); font-weight: 300; font-size: 2rem; line-height: 1; color: var(--red); padding-top: 2px; min-width: 44px; }
.point h3 { font-size: 1.25rem; font-weight: 400; color: var(--plum); margin-bottom: 4px; }
.point p { color: var(--ink-soft); font-size: .98rem; }
.partner__visual { position: relative; padding: 8% 0 8% 10%; }
.partner__visual .plane { inset: auto auto -6% -4%; width: 80%; height: 90%; clip-path: polygon(0 0, 100% 0, 100% 100%, 22% 100%); }
.partner__photo { position: relative; z-index: 1; margin: 0; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.partner__photo img { width: 100%; height: 100%; object-fit: cover; }
.partner .line-draw { top: -2%; bottom: auto; left: -8%; right: auto; }

/* ---------- news ---------- */
.news { background: linear-gradient(180deg, #fff 0, var(--paper) 180px, var(--paper) calc(100% - 180px), #fff 100%); }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post__tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-family: var(--font-display); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--plum); }
.post__tag--red { background: var(--red); }
.post__tag--mint { background: var(--mint); color: var(--plum-900); }
.post__tag--coral { background: var(--coral); color: var(--plum-900); }
.post h3 { font-size: 1.3rem; font-weight: 400; color: var(--plum); line-height: 1.25; }
.post p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.post__meta { font-size: .85rem; color: var(--muted); letter-spacing: .03em; }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 90px); align-items: stretch; }
.contact__text { display: flex; flex-direction: column; }
.contact__text > p { color: var(--ink-soft); }
/* details sit on the same baseline as the form card: auto top margin absorbs any spare height */
.contact__details { display: grid; gap: 24px; margin: auto 0 0; padding-top: 32px; }
.contact__details li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; }
.contact__details .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--mint-light); color: var(--plum); flex: none; }
.contact__details a { color: var(--plum); border-bottom: 1px solid rgba(72, 24, 64, .25); }
.contact__details small { color: var(--muted); }
.contact__details .contact__dir { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: .9rem; border-bottom: 0; }
.contact__dir span { border-bottom: 1px solid rgba(72, 24, 64, .25); }
.contact__details .contact__dir .ico { width: 15px; height: 15px; padding: 0; border-radius: 0; background: none; transition: transform .3s; }
.contact__dir:hover .ico { transform: translateX(3px); }
.form { display: flex; flex-direction: column; gap: 16px; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.form__tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: var(--paper); border-radius: 16px; margin-bottom: 6px; }
.form__track { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; border-radius: 12px; font-family: var(--font-display); font-size: 1.02rem; color: var(--ink-soft); text-align: left; transition: background .3s, color .3s, box-shadow .3s; }
.form__track small { font-family: var(--font-text); font-size: .8rem; color: var(--muted); }
.form__track.is-active { background: var(--plum); color: #fff; box-shadow: var(--shadow-sm); }
.form__track.is-active small { color: rgba(255, 255, 255, .7); }
.form label { display: grid; gap: 6px; font-family: var(--font-display); font-size: .95rem; letter-spacing: .03em; color: var(--plum); }
.form input, .form select, .form textarea { width: 100%; padding: 13px 15px; font: inherit; font-family: var(--font-text); font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #d8d1db; border-radius: 12px; transition: border-color .3s, box-shadow .3s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgba(72, 24, 64, .1); }
.form textarea { resize: vertical; min-height: 120px; }
/* when the text column is taller than the form, the message field takes the spare height */
.form__message { flex: 1; grid-template-rows: auto 1fr; }
.form__message textarea { height: 100%; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label.form__only-vendor { display: none; }
.form[data-track="vendor"] label.form__only-vendor { display: grid; }
.form[data-track="vendor"] label.form__only-customer { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__footer { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form__note { font-size: .85rem; color: var(--muted); }
.form__success { padding: 14px 18px; border-radius: 12px; background: var(--mint-light); color: var(--plum); font-family: var(--font-display); }
.form.is-sent .form__footer, .form.is-sent .form__tracks, .form.is-sent label { display: none; }
.form.is-sent { align-self: start; } /* collapsed card after sending should not stretch to the text column */
.form input:invalid.touched { border-color: var(--red); }

/* ---------- footer ---------- */
.footer { background: var(--plum-900); color: rgba(255, 255, 255, .72); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.footer__brand img { width: 230px; height: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 360px; }
.footer h4 { font-size: 1.05rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a, .footer__contact a { transition: color .3s; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--mint); }
.footer__contact p { margin-bottom: 10px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.social .ico { width: 20px; height: 20px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer__top { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: background .3s, transform .3s var(--ease); }
.footer__top .ico { transform: rotate(-90deg); }
.footer__top:hover { background: var(--plum); transform: translateY(-3px); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(20, 5, 24, .92); backdrop-filter: blur(6px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.lightbox__dialog { position: relative; width: min(100%, 1100px); animation: rise .5s var(--ease); }
.lightbox__frame { aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8); }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox__close { position: absolute; right: 0; top: -52px; color: #fff; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); transition: background .3s; }
.lightbox__close:hover { background: var(--red); border-color: var(--red); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* ---------- inner pages (generated by tools/pages.py): page hero, breadcrumbs, text blocks, vendor cards, market detail, CTA band ---------- */
.page-hero { position: relative; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(56px, 7vw, 96px)) 0 clamp(56px, 6vw, 84px); color: #fff; background: linear-gradient(135deg, var(--plum-900) 0%, var(--plum) 60%, #5b2452 100%); overflow: hidden; }
.page-hero__hatch { position: absolute; right: -6%; top: 0; width: 40%; height: 100%; background: var(--magenta); clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%); opacity: .45; pointer-events: none; }
.page-hero__hatch::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 7px); }
.page-hero__symbol { position: absolute; right: -3%; top: -30%; width: min(44%, 620px); opacity: .07; pointer-events: none; }
.page-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.page-hero--plain .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
.page-hero--plain .page-hero__text { max-width: 820px; }
.page-hero .eyebrow--light { margin-bottom: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-family: var(--font-display); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .35); }
.page-hero h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.05; letter-spacing: -.01em; margin: 0 0 18px; color: #fff; text-wrap: balance; }
.page-hero__lead { font-size: 1.12rem; line-height: 1.6; color: rgba(255, 255, 255, .78); max-width: 640px; margin: 0; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .9rem; color: rgba(255, 255, 255, .62); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.page-hero__media { position: relative; display: grid; place-items: center; min-height: 280px; }
.page-hero__media::before { content: ""; position: absolute; left: 50%; top: 55%; width: 72%; height: 64%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(124, 195, 171, .3), transparent); }
.page-hero__media img { position: relative; max-width: 76%; max-height: 300px; width: auto; height: auto; filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .5)); }
.page-hero__photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.prose { max-width: 760px; }
.prose > p { color: var(--ink-soft); margin: 0 0 18px; }
.prose h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; color: var(--plum); margin: 0 0 16px; }
.prose h2:not(:first-child) { margin-top: 40px; }
.prose h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: var(--plum); margin: 28px 0 10px; }
.prose blockquote { margin: 28px 0; padding-left: 24px; border-left: 2px solid var(--coral); font-family: var(--font-display); font-weight: 300; font-size: 1.3rem; line-height: 1.45; color: var(--plum); }
.prose blockquote p { margin: 0; }
.prose blockquote footer { margin-top: 10px; font-family: var(--font-text); font-size: .92rem; color: var(--muted); }
.prose .ticks { margin: 18px 0 26px; }
.prose .vendor-grid { grid-template-columns: repeat(2, 1fr); }
.aside-card { padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.aside-card + .aside-card { margin-top: 18px; }
.aside-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; letter-spacing: .02em; color: var(--plum); margin: 0 0 14px; }
.aside-card p { color: var(--ink-soft); font-size: .96rem; margin: 0 0 10px; }
.aside-card .ticks { margin: 0; gap: 10px; }
.aside-card .ticks li { font-size: .95rem; }
.aside-card .btn { margin-top: 8px; }
.aside-card--dark { background: var(--plum-900); border-color: transparent; color: #fff; }
.aside-card--dark h3 { color: var(--mint); }
.aside-card--dark p { color: rgba(255, 255, 255, .75); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 0; }
.facts div { padding: 18px 18px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.facts b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.1; color: var(--plum); }
.facts span { display: block; margin-top: 6px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vendor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vendor { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 26px 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.vendor:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.vendor__logo { height: 60px; display: flex; align-items: center; }
.vendor__logo img { max-height: 46px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
.vendor h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; color: var(--plum); margin: 0; }
.vendor p { font-size: .94rem; color: var(--ink-soft); margin: 0; }
.vendor__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--mint-light); color: var(--plum); font-family: var(--font-display); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
a.tag:hover { background: var(--mint); }
.vendor__site { font-size: .88rem; }
/* featured line (Xtal Ball): a full-width card carrying the manufacturer's own headline and its four product families, Yoram via Josia, 28/10/2026 */
.vendor--featured { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-rows: 4px 1fr; gap: 0; padding: 0; overflow: hidden; border-color: rgba(72, 24, 64, .16); }
.vendor--featured::before { content: ""; grid-column: 1 / -1; background: linear-gradient(90deg, var(--red), var(--coral) 50%, var(--mint)); }
.vendor__main { display: flex; flex-direction: column; gap: 12px; padding: 30px 34px 30px 30px; }
.vendor__main .eyebrow { margin: 0; font-size: .74rem; letter-spacing: .18em; }
.vendor__main .eyebrow::before { width: 22px; }
.vendor--featured .vendor__logo { height: auto; margin-top: 4px; }
.vendor--featured .vendor__logo img { max-height: 54px; max-width: 230px; }
.vendor .vendor__headline { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 1.7vw, 1.55rem); line-height: 1.22; color: var(--plum); margin: 2px 0 0; text-wrap: balance; }
.vendor--featured .vendor__main > p:not(.eyebrow):not(.vendor__headline) { font-size: .96rem; }
.vendor--featured .vendor__foot { margin-top: auto; padding-top: 10px; }
.vendor--featured .vendor__foot .link-arrow { font-size: .95rem; }
.vendor__families { padding: 30px 30px 28px; background: var(--paper); border-left: 1px solid var(--line); }
.vendor__families h4 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 14px; font-family: var(--font-display); font-weight: 500; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--magenta); }
.vendor__families h4 span { color: var(--muted); letter-spacing: .08em; }
.families { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.families li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; align-items: start; padding: 13px 16px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.families b { font-family: var(--font-display); font-weight: 500; font-size: .97rem; line-height: 1.3; color: var(--plum); }
.families__count { padding: 3px 9px; border-radius: 999px; background: var(--mint-light); color: var(--plum); font-family: var(--font-display); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.families small { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 600; font-size: .72rem; letter-spacing: .06em; color: var(--muted); }
.vendor .families p { grid-column: 1 / -1; font-size: .88rem; line-height: 1.5; }
@media (max-width: 900px) {
  .vendor--featured { grid-template-columns: 1fr; grid-template-rows: 4px auto auto; }
  .vendor__families { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .vendor__main { padding: 24px 20px 22px; }
  .vendor__families { padding: 22px 20px 20px; }
  .families li { padding: 12px 14px; }
}
.market-detail { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; padding: 40px 0; border-top: 1px solid var(--line); align-items: start; scroll-margin-top: calc(var(--header-h) + 16px); }
.market-detail:first-of-type { border-top: 0; padding-top: 0; }
.market-detail > .ico { width: 44px; height: 44px; color: var(--magenta); }
.market-detail h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--plum); margin: 0 0 12px; }
.market-detail p { color: var(--ink-soft); margin: 0; }
.market-detail__side h3 { font-family: var(--font-display); font-weight: 500; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 6px 0 12px; }
.market-detail__side .cust-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.market-detail__side .tags { margin-top: 16px; }
.cta { position: relative; color: #fff; background: linear-gradient(135deg, var(--plum) 0%, var(--plum-900) 70%); overflow: hidden; }
.cta__symbol { position: absolute; right: -6%; bottom: -40%; width: min(46%, 640px); opacity: .07; pointer-events: none; }
.cta__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.cta h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; color: #fff; margin: 0 0 14px; }
.cta p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 620px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.article { max-width: 780px; margin: 0 auto; }
.article__back { margin-bottom: 28px; }
a.market { color: inherit; text-decoration: none; display: block; }
.partner__text .btn + .link-arrow { margin-left: 22px; }
.chips a { color: inherit; text-decoration: none; }

@media (max-width: 1199px) {
  .burger { display: flex; }
  .brand { width: 236px; }  /* the menu is behind the burger here, so the logo keeps its full size */
  /* the header has backdrop-filter, so it is the containing block: position the panel under it */
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); padding: 24px var(--gutter) 40px; flex-direction: column; align-items: flex-start; gap: 6px; background: #fff; box-shadow: 0 30px 40px -30px rgba(43, 13, 46, .4); overflow-y: auto; clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .5s var(--ease), visibility 0s .5s; }
  .header.open .nav { clip-path: inset(0); visibility: visible; transition: clip-path .5s var(--ease), visibility 0s; }
  .nav > a { opacity: 0; transform: translateX(28px); transition: opacity .4s, transform .5s var(--ease); }
  .header.open .nav > a { opacity: 1; transform: none; transition-delay: .12s; }
  .header.open .nav > a:nth-child(2) { transition-delay: .16s; } .header.open .nav > a:nth-child(3) { transition-delay: .2s; } .header.open .nav > a:nth-child(4) { transition-delay: .24s; } .header.open .nav > a:nth-child(5) { transition-delay: .28s; } .header.open .nav > a:nth-child(6) { transition-delay: .32s; } .header.open .nav > a:nth-child(7) { transition-delay: .36s; } .header.open .nav > a:nth-child(8) { transition-delay: .4s; } .header.open .nav > a:nth-child(9) { transition-delay: .44s; } .header.open .nav > a:nth-child(10) { transition-delay: .48s; }
  .header.open .nav { transform: none; }
  .nav > a:not(.btn) { color: var(--plum) !important; font-size: 1.6rem; padding: 10px 0; }
  .nav__cta { margin: 18px 0 0; }
  .header.scrolled, .header.open { height: var(--header-h); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .logo { flex-basis: calc((100% - 4 * 14px) / 5); }
  .markets__grid { grid-template-columns: repeat(2, 1fr); }
  .cust-grid { grid-template-columns: repeat(4, 1fr); }
  .cust-grid--flow .cust { flex-basis: calc((100% - 3 * 14px) / 4); }
  /* the deck loses the instrument panel and becomes a single column */
  .hero__deck { grid-template-columns: minmax(0, 1fr); }
  .hero__panel { display: none; }
  .hero__content { max-width: 860px; }
  .hero__symbol { opacity: .22; }
}
@media (max-width: 900px) {
  .page-hero__grid, .split, .split--even, .cta__grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero__media { min-height: 220px; order: -1; }
  .page-hero__media img { max-height: 220px; }
  /* a portrait photo gets a portrait frame once the hero is a single column (About: Yoram at the stand) */
  .page-hero__photo--portrait { aspect-ratio: 3 / 4; max-width: 480px; }
  .cta__actions { justify-content: flex-start; }
  .market-detail { grid-template-columns: 56px minmax(0, 1fr); }
  .market-detail__side { grid-column: 2; }
  .vendor-grid { grid-template-columns: repeat(2, 1fr); }
  .spot__head { grid-template-columns: 1fr; align-items: start; }
  .spot__grid { grid-template-columns: 1fr; }
  :root { --header-h: 72px; }
  .about__grid, .ceo__grid, .partner__grid, .electronica__grid, .contact__grid { grid-template-columns: 1fr; }
  .cust-grid { grid-template-columns: repeat(3, 1fr); }
  .cust-grid--flow .cust { flex-basis: calc((100% - 2 * 14px) / 3); }
  .cust-grid--key { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .about__visual, .ceo__visual, .partner__visual { max-width: 520px; margin: 0 auto; }
  .ceo__grid .ceo__visual { order: -1; }
  .news__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero__deck { padding-top: calc(var(--header-h) + 32px); padding-bottom: 28px; }
  .hero__eyebrow { font-size: .78rem; letter-spacing: .16em; margin-bottom: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; padding: 18px 0; }
  .stat + .stat { padding-left: 0; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .12); padding-right: 18px; }
  .stat:nth-child(even) { padding-left: 18px; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .topbar__hide-sm { display: none; }
}
@media (max-width: 640px) {
  .vendor-grid, .prose .vendor-grid { grid-template-columns: 1fr; }
  .market-detail { grid-template-columns: 1fr; gap: 16px; padding: 30px 0; }
  .market-detail__side { grid-column: auto; }
  .market-detail > .ico { width: 36px; height: 36px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .partner__text .btn + .link-arrow { margin: 14px 0 0; display: inline-flex; }
  .spot { border-radius: 20px; }
  .spot__symbol { display: none; }
  .spot__lists { grid-template-columns: 1fr; }
  .spot__media { height: 190px; }
  .spot__media img { max-height: 160px; }
  .spot__card { padding: 20px 18px 18px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .cards { grid-template-columns: 1fr; }
  .logos { gap: 10px; }
  .logo { flex-basis: calc((100% - 2 * 10px) / 3); }
  .logo { height: 84px; padding: 14px; }
  .logo img { max-height: 36px; }
  .markets__grid, .cust-grid { grid-template-columns: repeat(2, 1fr); }
  .cust-grid--flow .cust { flex-basis: calc((100% - 14px) / 2); }
  .cust--key { min-height: 104px; }
  .cust--key img { max-height: 44px; }
  .cust { min-height: 80px; padding: 12px 8px; }
  .cust b { font-size: .95rem; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .form__tracks { grid-template-columns: 1fr; }
  .countdown { gap: 8px; }
  .countdown div { min-width: 0; flex: 1; padding: 12px 6px; }
  .countdown b { font-size: 1.5rem; }
  .hero__lead { font-size: .95rem; line-height: 1.5; margin-bottom: 20px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  /* 8.8vw keeps "Your partner in Israel." on a single line down to a 320px phone
     (natural width is 10.07em, and the copy column is 100vw - 32px gutters) */
  .hero__title { font-size: clamp(1.75rem, 8.8vw, 2.6rem); letter-spacing: -.025em; margin-bottom: 16px; }
  .hero__status { gap: 6px; margin-bottom: 16px; }
  .hero__eyebrow { font-size: .74rem; margin-bottom: 12px; }
  .stat { padding: 12px 14px 12px 0; } /* keep text off the column divider */
  .stat__num { font-size: 1.6rem; }
  .stat__label { font-size: .68rem; line-height: 1.35; letter-spacing: .05em; }
  .chip { padding: 6px 11px; font-size: .7rem; letter-spacing: .08em; }
  .chip--hide-sm { display: none; }
  .video__play { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .video__play .ico { width: 32px; height: 32px; }
  .video__caption { left: 18px; right: 18px; bottom: 16px; font-size: .9rem; }
  .video__caption strong { font-size: 1.05rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 56px; padding-bottom: 36px; }
  .topbar__cta { display: none; }
  .topbar__hide-xs, .topbar__long { display: none; }
  .topbar__inner { min-height: 40px; gap: 10px; }
  .topbar { font-size: .82rem; }
  :root { --topbar-h: 40px; } /* keeps the hero exactly filling the viewport on phones too */
  /* one line on phones: "electronica 2026 · 10–13 Nov 2026" + close */
  .topbar__text { flex-wrap: nowrap; white-space: nowrap; gap: 6px; min-width: 0; overflow: hidden; }
  .topbar__close { margin-left: auto; flex: none; }
  .brand { width: 206px; }
  .linecard__actions { gap: 18px; }
  .linecard__actions .btn { width: 100%; justify-content: center; }
  .market--hot h3::after { display: block; margin: 8px 0 0; width: max-content; }
  .about__badge { font-size: .85rem; padding: 10px 14px; bottom: 10%; }
}

@media (max-width: 760px) {
  .hero__symbol { display: none; }
}

@media (max-width: 480px) {
  .markets__grid { grid-template-columns: 1fr; }
  .logo { flex-basis: calc((100% - 10px) / 2); }
}

/* on the narrowest phones the two status chips only fit on one line without the town name;
   the full address is in the contact section, and "MoD approved supplier" is already hidden here */
@media (max-width: 400px) {
  .chip__loc { display: none; }
}

/* short viewports (1366x768 / 1280x720 laptops, and landscape phones): compress the vertical rhythm so the
   whole hero - headline, CTAs and the stats readout - still fits above the fold. Declared last so it wins
   over the width blocks above, which are written for tall screens. */
@media (max-height: 820px) {
  .hero__deck { padding-top: calc(var(--header-h) + 12px); padding-bottom: 14px; }
  .hero__eyebrow { margin-bottom: 10px; }
  .hero__status { margin-bottom: 14px; }
  .hero__title { margin-bottom: 14px; }
  .hero__lead { line-height: 1.5; margin-bottom: 20px; }
  .hero__panel { padding: 15px 16px 12px; }
  .hero__panel-list li { padding: 5px 8px; }
  .hero__panel-head { padding-bottom: 10px; }
  .hero__panel-foot { margin-top: 10px; padding-top: 10px; }
  .stat { padding-top: 13px; padding-bottom: 13px; }
  .stat__num { font-size: 1.7rem; }
  .stat__label { font-size: .7rem; line-height: 1.35; letter-spacing: .05em; }
}

/* static render (screenshots / print) */
body.is-static .reveal, body.is-static .hero__content > *, body.is-static .hero__panel { opacity: 1; transform: none; transition: none; animation: none; }
body.is-static .hero__line > span { transform: none; animation: none; }
body.is-static .hero__video, body.is-static .hero__scan, body.is-static .chip__pulse { animation: none; }
body.is-static .hero__glow { display: none; }
body.is-static .stat::before { transform: scaleX(1); transition: none; }
body.is-static .hero__panel-list li.is-active .hero__panel-bar::before { animation: none; transform: scaleX(1); opacity: 1; }
body.is-static .hero__panel-bar::after { animation: none; }
body.is-static .hero__panel-trace-light { display: none; }
body.is-static .hero__symbol { --sym: min(780px, 54vw, 640px); } /* static hero is capped at 880px, so size the symbol as on a 900px-tall screen */
body.is-static .hero { min-height: 880px; }
@media (max-width: 640px) { body.is-static .hero { min-height: 780px; } }
body.is-static .line-draw line { stroke-dashoffset: 0; transition: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero__content > *, .hero__panel { opacity: 1; transform: none; transition: none; animation: none; }
  .js .reveal:not(.in) { opacity: 1; transform: none; }
  .hero__line > span { transform: none; animation: none; }
  .hero__video, .hero__scan, .chip__pulse, .video__play, .topbar__pulse, .hero__scroll span { animation: none; }
  .hero__panel-list li.is-active .hero__panel-bar::before { animation: none; transform: scaleX(1); opacity: 1; }
  .hero__panel-bar::after { animation: none; }
  .hero__panel-trace-light { display: none; }
  .hero__glow { display: none; }
  .line-draw line { stroke-dashoffset: 0; transition: none; }
  .parallax { transform: none !important; }
}

/* ---------- flow: colour bands meet their neighbours on the brand diagonal (/) instead of a flat edge ---------- */
@media (min-width: 761px) {
  .markets, .video, .electronica, .cta { --slant: 3.2vw; margin-top: calc(var(--slant) * -1); margin-bottom: calc(var(--slant) * -1); padding-top: calc(clamp(72px, 7vw, 96px) + var(--slant)); padding-bottom: calc(clamp(72px, 7vw, 96px) + var(--slant)); clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%); z-index: 1; }
  .ceo { z-index: 2; }
  .footer { --slant: 3.2vw; position: relative; z-index: 1; margin-top: calc(var(--slant) * -1); padding-top: var(--slant); clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); }
}

/* ---- team photos (About page) ---- */
.team-mosaic { display: grid; grid-template-columns: 16fr 9fr; gap: 18px; }
.team-mosaic figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #e9e4ea; }
.team-mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.team-mosaic figure:hover img { transform: scale(1.03); }
.team-mosaic__wide { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; }
.team-mosaic__tall { grid-column: 2; grid-row: 1; aspect-ratio: 3 / 4; }
.team-mosaic__strip { grid-column: 1; grid-row: 2; aspect-ratio: 16 / 9; }
.team-mosaic__square { grid-column: 2; grid-row: 2; aspect-ratio: 1 / 1; }
.team-mosaic__caption { margin: 16px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) {
  .team-mosaic { grid-template-columns: 1fr 1fr; gap: 10px; }
  .team-mosaic figure { grid-column: auto; grid-row: auto; }
  .team-mosaic__wide, .team-mosaic__strip { grid-column: 1 / -1; }
  .team-mosaic__tall, .team-mosaic__square { aspect-ratio: 1 / 1; }
}

/* Japan: the five Japanese lines (Hirose, Murata, Alps Alpine, JST, JAE), 26/10/2026 */
.tag--japan { background: rgba(188, 0, 45, .1); }
.tag--japan::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--japan-red); margin-right: 6px; vertical-align: 1px; }
.logos__label { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 30px 0 14px; font-family: var(--font-display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.logos__label::before, .logos__label::after { content: ""; flex: 0 0 48px; height: 1px; background: rgba(43, 13, 46, .14); }
.japan { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; margin-top: 52px; padding: 40px 44px; border-radius: var(--radius); background: var(--plum-900); color: #fff; }
.japan .eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; }
.japan .eyebrow::before { display: none; }   /* the Hinomaru coin replaces the dash */
.dot--japan { background: var(--japan-red); }
.japan .dot--japan { position: relative; width: 16px; height: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.japan .dot--japan::after { content: ""; position: absolute; inset: 3.5px; border-radius: 50%; background: var(--japan-red); }
.japan h3 { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.15; margin: 12px 0 14px; color: #fff; }
.japan p { color: rgba(255, 255, 255, .75); margin: 0; }
.japan__tags { margin-top: 18px; }
.japan__tags .tag { background: rgba(255, 255, 255, .1); color: #fff; }
.japan__logos { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.japan__logos div { grid-column: span 4; height: 86px; display: grid; place-items: center; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.japan__logos div:nth-child(4) { grid-column: 3 / span 4; }
.japan__logos div:nth-child(5) { grid-column: 7 / span 4; }
.japan__logos img { max-height: 32px; max-width: 78%; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .92; }
@media (max-width: 900px) {
  .japan { grid-template-columns: 1fr; gap: 28px; padding: 30px 24px; margin-top: 40px; }
}
@media (max-width: 640px) {
  .japan__logos div { grid-column: span 6; height: 72px; }
  .japan__logos div:nth-child(4) { grid-column: 7 / span 6; }
  .japan__logos div:nth-child(5) { grid-column: 4 / span 6; }
  .logos__label::before, .logos__label::after { flex-basis: 28px; }
}

/* =========================================================
   WORDPRESS BUILD
   ========================================================= */
/* ---------- classes that replace the static generator's inline styles ---------- */
.prose__muted { color: var(--muted); }
.page-hero__photo--ceo { aspect-ratio: 3 / 4; max-width: 420px; }
.feature-card .split { align-items: center; }
.feature-card .feature-card__title { font-size: 1.6rem; font-weight: 300; color: #fff; margin: 10px 0 12px; }
.feature-card .feature-card__title--lg { font-size: 1.7rem; }
.feature-card .page-hero__actions { margin-top: 18px; }
.feature-card .page-hero__media { min-height: 220px; }
.feature-card .page-hero__media img { max-height: 220px; }
.vendor-grid--fit { margin-top: 18px; }
.section-more { margin-top: 26px; }
a.aside-card { text-decoration: none; }
.vendor-group { scroll-margin-top: calc(var(--header-h) + 16px); }
.vendor-group .vendor-grid { margin-bottom: 56px; }
.tags--jump { margin: 22px 0 18px; }
.tag--priority { vertical-align: middle; background: var(--mint); }
.market-detail__side .cust-grid + h3 { margin-top: 18px; }
.partner__figure { margin-bottom: 22px; }
.partner__points--grid { grid-template-columns: repeat(2, 1fr); gap: 22px 48px; }
.page-hero__countdown { margin-top: 26px; }
@media (max-width: 640px) {
  .partner__points--grid { grid-template-columns: 1fr; }
}

/* ---------- WordPress chrome ---------- */
.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media screen and (max-width: 600px) { .admin-bar .header { top: 0; } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); border: 0; word-wrap: normal !important; }
.skip-link:focus { z-index: 1000; top: 12px; left: 12px; width: auto; height: auto; margin: 0; padding: 12px 20px; clip: auto; clip-path: none; border-radius: 999px; background: #fff; color: var(--plum); font-family: var(--font-display); box-shadow: var(--shadow-sm); }

/* ---------- editor content ---------- */
.prose p a:not([class]), .prose li a:not([class]) { color: var(--red); border-bottom: 1px solid rgba(232, 48, 48, .3); transition: border-color .3s; }
.prose p a:not([class]):hover, .prose li a:not([class]):hover { border-color: var(--red); }
.prose blockquote cite { display: block; margin-top: 10px; font-family: var(--font-text); font-style: normal; font-size: .92rem; color: var(--muted); }
.prose ol { margin: 18px 0 26px; padding-left: 1.3em; color: var(--ink-soft); }
.prose img { height: auto; border-radius: 14px; }
.prose .alignleft { float: left; margin: 6px 24px 16px 0; }
.prose .alignright { float: right; margin: 6px 0 16px 24px; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose .wp-caption { max-width: 100%; }
.prose .wp-caption-text { margin-top: 8px; font-size: .88rem; color: var(--muted); }

/* ---------- news pagination ---------- */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-family: var(--font-display); color: var(--plum); transition: background .3s, color .3s, border-color .3s; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--plum); border-color: var(--plum); color: #fff; }

/* ---------- Contact Form 7 (its own stylesheet is not loaded) ---------- */
.contact__grid > .wpcf7 { display: flex; flex-direction: column; }
.contact__grid > .wpcf7 > .form { flex: 1; }
.contact__grid > .wpcf7 > .form.is-sent { flex: 0 0 auto; }
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); border: 0; word-wrap: normal !important; }
.wpcf7 .hidden-fields-container { display: none; }
.form .wpcf7-form-control-wrap { display: block; position: relative; }
/* CF7 wraps each control in a span: keep the controls block-level, as when they were the label's grid items */
.form .wpcf7-form-control-wrap > input, .form .wpcf7-form-control-wrap > select, .form .wpcf7-form-control-wrap > textarea { display: block; }
.form__message .wpcf7-form-control-wrap { height: 100%; }
.form .wpcf7-not-valid { border-color: var(--red); }
.form .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-family: var(--font-text); font-size: .82rem; letter-spacing: 0; color: var(--red-dark); }
.form .wpcf7-spinner { display: none; width: 22px; height: 22px; border: 2px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: spin .8s linear infinite; }
.form.submitting .wpcf7-spinner { display: inline-block; }
.form.submitting .btn { opacity: .7; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form .wpcf7-response-output { margin: 0; padding: 14px 18px; border-radius: 12px; font-family: var(--font-display); }
.form .wpcf7-response-output:empty { display: none; }
.form.sent .wpcf7-response-output { background: var(--mint-light); color: var(--plum); }
.form.invalid .wpcf7-response-output, .form.unaccepted .wpcf7-response-output, .form.payment-required .wpcf7-response-output { background: rgba(232, 48, 48, .08); color: var(--red-dark); }
.form.failed .wpcf7-response-output, .form.aborted .wpcf7-response-output, .form.spam .wpcf7-response-output { background: rgba(248, 168, 128, .2); color: var(--plum-900); }
@media (prefers-reduced-motion: reduce) {
  .form .wpcf7-spinner { animation: none; }
}
