/* Somani Industries. One stylesheet for every page.
   Dark by design (the hero's hot wire needs darkness). Base rules first, then the round 10 visual layer (glass panels, soft radii) at the end.
   One accent: hot-wire red, for buttons, the cut line and active states.
   z-index scale: header 50, mobile menu 60, lightbox 65, grain 70, skip link 80. */

@font-face { font-family: 'Anybody'; font-style: normal; font-weight: 100 900; font-stretch: 50% 150%; font-display: swap; src: url(../assets/fonts/anybody-latin.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/geist-latin.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/geist-mono-latin.woff2) format('woff2'); }

:root {
  --basalt: #0d0e0f;
  --basalt-2: #15171a;
  --basalt-3: #1c1f23;
  --line: #2a2e33;
  --line-2: #3a3f45;
  --field: #6b7178;
  --marble: #ecedea;
  --dust: #9ba1a6;
  --ink: #141618;
  --ink-2: #4a4f54;
  --red: #f04a36;
  --red-deep: #b52e1f;

  --display: 'Anybody', 'Arial Black', Arial, sans-serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  margin: 0; background: var(--basalt); color: var(--marble);
  font: 400 1.0625rem/1.62 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--basalt); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* Fine film grain, fixed so it never repaints on scroll. */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip { position: fixed; left: 12px; top: -60px; z-index: 80; background: var(--red); color: var(--basalt); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.d1, .d2, .d3, h1, h2, h3 { font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -.012em; margin: 0; text-wrap: balance; line-height: 1.08; }
.d1 { font-size: clamp(2.4rem, 5.6vw, 5.4rem); line-height: .94; text-transform: uppercase; }
.d2 { font-size: clamp(1.8rem, 3.4vw, 3.1rem); line-height: .98; text-transform: uppercase; }
.d3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-stretch: 104%; font-weight: 700; letter-spacing: -.005em; }
/* Section titles on inner pages carry the short red wire (same mark as the machine-page section titles) */
h2.d3::before { content: ''; display: block; width: 28px; height: 2px; margin-bottom: 14px; background: var(--red); }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.5; color: #d4d6d2; max-width: 56ch; margin: 0; }
.body { color: var(--dust); max-width: 62ch; }
.body p { margin: 0 0 1em; }
.body p:last-child { margin-bottom: 0; }
.label { font: 500 .75rem/1.25 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dust); }

/* ---------- Buttons and links ---------- */
.btn {
  --bg: var(--red); --fg: var(--basalt);
  position: relative; display: inline-flex; align-items: center; gap: .7em; white-space: nowrap;
  min-height: 50px; padding: 0 1.35em; border: 0; background: var(--bg); color: var(--fg);
  font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), color .35s var(--ease);
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--marble); transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn .arr { width: 1.1em; height: 1.1em; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-ghost { --bg: transparent; --fg: var(--marble); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { color: var(--basalt); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font: 500 .82rem/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--marble); padding-block: .5em; border-bottom: 1px solid var(--line-2); transition: border-color .3s, color .3s; }
.link-arrow svg { width: 14px; height: 14px; }
.link-arrow:hover { color: var(--red); border-color: var(--red); }

/* ---------- Header ---------- */
.site-head { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.site-head.is-solid { background: rgb(13 14 15 / .86); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
@media (prefers-reduced-transparency: reduce) { .site-head.is-solid { background: var(--basalt); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.site-head .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 124px; height: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav .mm-toggle {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; background: none; border: 0; cursor: pointer;
  font: 500 .9rem/1 var(--sans); color: var(--marble); text-decoration: none; position: relative;
}
.nav > a::after, .nav .mm-toggle::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav > a:hover::after, .nav .mm-toggle:hover::after, .nav > a[aria-current='page']::after, .nav .mm-toggle.is-current::after { transform: scaleX(1); }
.mm-toggle svg { width: 10px; height: 10px; transition: transform .4s var(--ease); }
.mm-toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
.site-head .btn { min-height: 42px; margin-left: 10px; font-size: .88rem; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-2); background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--marble); transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded='true'] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded='true'] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* Products link + menu toggle (the link goes to the catalogue; the arrow, or hover, opens the menu) */
.nav-prod { display: flex; align-items: center; }
.nav-prod > a { display: inline-flex; align-items: center; height: 40px; padding: 0 4px 0 12px; font: 500 .9rem/1 var(--sans); color: var(--marble); text-decoration: none; position: relative; }
.nav-prod > a::after { content: ''; position: absolute; left: 12px; right: 4px; bottom: 6px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-prod > a:hover::after, .nav-prod > a.is-current::after { transform: scaleX(1); }
.nav-prod .mm-toggle { width: 30px; height: 40px; padding: 0; justify-content: center; }
.nav-prod .mm-toggle::after { display: none; }
.nav-prod .mm-toggle svg { width: 11px; height: 11px; }

/* Products mega menu: category headings bold and white; sub-groups, products and models in greys */
.mega { position: absolute; left: 0; right: 0; top: var(--nav-h); background: var(--basalt-2); box-shadow: 0 1px 0 var(--line), 0 30px 60px rgb(0 0 0 / .45); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease), visibility 0s .5s; }
.mega.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease), visibility 0s; }
.mega .wrap { display: grid; grid-template-columns: repeat(3, 1fr) .9fr; gap: 36px; padding-block: 32px 36px; height: auto; align-items: start; }
/* Headings bottom-aligned on one baseline, so the rules under them line up even when one wraps */
.mega .mega-h { display: flex; align-items: flex-end; min-height: calc(2.4em + 12px); margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font: 800 1.08rem/1.2 var(--display); }
.mega .mega-h a { font: 800 1.08rem/1.2 var(--display); font-stretch: 104%; letter-spacing: -.005em; color: var(--marble); text-decoration: none; transition: color .2s; }
.mega .mega-h a:hover { color: var(--red); }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.mega a.p { display: block; padding: 5px 0; text-decoration: none; font: 400 .93rem/1.3 var(--sans); color: #b9bec2; transition: color .2s var(--ease); }
.mega a.p[aria-current='page'] { color: var(--marble); font-weight: 600; }
/* Product names turn red on hover everywhere (menu, cards, star cards) */
.mega a.p:hover { color: var(--red); }
/* Labels: a sub-group, or a machine with models. Same red mono style in every column */
.mega li.sg { display: flex; align-items: center; gap: 8px; font: 500 .68rem/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--red); margin: 18px 0 4px; }
.mega li.sg a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
.mega li.sg a:hover, .mega li.sg a[aria-current='page'] { color: var(--marble); }
.mega li.sg::before { content: ''; width: 12px; height: 1px; background: var(--red); flex: none; }
.mega li.sg:first-child { margin-top: 0; }
.mega .mega-cta { border-left: 1px solid var(--line); padding-left: 28px; display: grid; gap: 14px; }
.mega .mega-cta .mega-h { border: 0; margin: 0; font: 800 1.08rem/1.2 var(--display); font-stretch: 104%; color: var(--marble); }
/* One entrance for every column: a short fade and rise, left to right; none with reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .mega .wrap > div { opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .4s var(--ease); }
  .mega.is-open .wrap > div { opacity: 1; transform: none; }
  .mega.is-open .wrap > div:nth-child(2) { transition-delay: 50ms; }
  .mega.is-open .wrap > div:nth-child(3) { transition-delay: 100ms; }
  .mega.is-open .wrap > div:nth-child(4) { transition-delay: 150ms; }
}
.mega .mega-cta p { color: var(--dust); margin: 0; font-size: .92rem; }

/* Mobile menu */
.mobile-nav { display: none; }
@media (max-width: 1080px) {
  .nav, .site-head > .wrap > .btn { display: none; }
  .menu-btn { display: block; }
  .mobile-nav { display: block; position: fixed; inset: var(--nav-h) 0 0; z-index: 60; background: var(--basalt); overflow-y: auto; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .55s var(--ease), visibility 0s .55s; }
  .mobile-nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .55s var(--ease), visibility 0s; }
  .mobile-nav .wrap { padding-block: 20px 48px; display: grid; gap: 26px; }
  .mobile-nav .m-main { display: grid; }
  .mobile-nav .m-main a { font: 800 clamp(1.6rem, 7vw, 2.3rem)/1.1 var(--display); font-stretch: 108%; text-transform: uppercase; text-decoration: none; padding: 11px 0; border-bottom: 1px solid var(--line); }
  .mobile-nav .m-main a { position: relative; transition: padding-left .3s var(--ease); }
  .mobile-nav .m-main a[aria-current='page'], .mobile-nav .m-main a.is-current { padding-left: 18px; }
  .mobile-nav .m-main a[aria-current='page']::before, .mobile-nav .m-main a.is-current::before { content: ''; position: absolute; left: 0; top: 50%; width: 4px; height: .8em; margin-top: -.4em; border-radius: 2px; background: var(--red); box-shadow: 0 0 10px rgb(240 74 54 / .5); }
  .mobile-nav details summary { list-style: none; cursor: pointer; font: 500 .8rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dust); padding: 13px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .mobile-nav details summary::-webkit-details-marker { display: none; }
  .mobile-nav details summary::after { content: '+'; font-size: 1.1rem; }
  .mobile-nav details[open] summary::after { content: '\2212'; }
  .mobile-nav details ul { list-style: none; margin: 6px 0 10px; padding: 0; display: grid; }
  .mobile-nav details a { display: block; padding: 9px 0; text-decoration: none; font-weight: 500; }
  .mobile-nav details li.sg { font: 500 .7rem/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--red); margin: 12px 0 2px; }
  .mobile-nav details li.sg a { color: inherit; font-weight: 500; padding: 4px 0; }
}
body.menu-open { overflow: hidden; }

/* ---------- Sliced headings (the cut line), played once when they come into view ---------- */
.slice { position: relative; }
.slice .sl-a, .slice .sl-b { display: block; }
.slice .sl-b { position: absolute; inset: 0; }
.js .slice .sl-a { clip-path: inset(0 0 50% 0); }
.js .slice .sl-b { clip-path: inset(50% 0 0 0); }
.js .slice .sl-line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--red); transform: scaleX(0); transform-origin: left; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .slice:not(.is-cut) .sl-a { transform: translateX(-.3em); opacity: 0; }
  .js .slice:not(.is-cut) .sl-b { transform: translateX(.3em); opacity: 0; }
  .js .slice .sl-a, .js .slice .sl-b { transition: transform 1s var(--ease) .15s, opacity .5s var(--ease) .15s; }
  .js .slice.is-cut .sl-line { animation: cut 1.1s var(--ease-io) forwards; }
}
@keyframes cut { 0% { transform: scaleX(0); transform-origin: left; } 45% { transform: scaleX(1); transform-origin: left; } 46% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

/* ---------- Reveal (subtle fade; final state under reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding-block: clamp(50px, 6.3vw, 90px); }
.sec-tight { padding-block: clamp(34px, 4.2vw, 56px); }
.sec-alt { background: var(--basalt-2); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 860px; }
.sec-head.row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
@media (max-width: 700px) { .sec-head.row { grid-template-columns: 1fr; } }

/* ---------- Home hero: a wire saw cutting a marble block, playing on its own ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.hero-canvas, .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster { object-fit: cover; object-position: 70% 50%; opacity: 0; }
.no-webgl .hero-poster { opacity: 1; }
.hero-canvas { opacity: 0; transition: opacity .9s var(--ease); }
.hero-canvas.is-ready { opacity: 1; }
.hero-canvas.is-resetting { opacity: 0; transition-duration: .6s; }
.hero-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(13 14 15 / .92) 0%, rgb(13 14 15 / .55) 34%, rgb(13 14 15 / 0) 60%), linear-gradient(0deg, rgb(13 14 15 / .95), rgb(13 14 15 / 0) 28%); }
.hero-main { position: relative; flex: 1; display: flex; align-items: center; padding-top: var(--nav-h); }
.hero-main .inner { max-width: 620px; }
.hero .d1 { margin-bottom: 24px; }
.hero .lede { margin-bottom: 32px; }
.hero-cats { position: relative; border-top: 1px solid var(--line); }
.hero-cats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-cats li + li { border-left: 1px solid var(--line); }
.hero-cats a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 20px 24px; text-decoration: none; transition: color .3s; }
.hero-cats li:first-child a { padding-left: 0; }
.hero-cats a:hover { color: var(--red); }
.hero-cats b { font: 700 1rem/1.2 var(--display); font-stretch: 100%; }
.hero-cats span { font: 500 .72rem/1 var(--mono); color: var(--dust); }
@media (max-width: 820px) {
  .hero-scrim { background: linear-gradient(180deg, rgb(13 14 15 / .92) 0%, rgb(13 14 15 / .5) 42%, rgb(13 14 15 / 0) 62%), linear-gradient(0deg, rgb(13 14 15 / .95), rgb(13 14 15 / 0) 40%); }
  .hero-main { align-items: flex-start; padding-top: calc(var(--nav-h) + 28px); }
  .hero .lede { font-size: 1.02rem; margin-bottom: 22px; }
  .hero-cats ul { grid-template-columns: 1fr; }
  .hero-cats li + li { border-left: 0; border-top: 1px solid var(--line); }
  .hero-cats li a { padding: 14px 0; }
  .hero-cats b { font-size: .92rem; }
}

/* ---------- Home: star products (two featured machines, equal height) ---------- */
.stars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
/* Same hover as the product cards: panel darkens, photo grows slightly, name turns red */
.star { display: flex; flex-direction: column; background: var(--basalt-2); transition: background .3s var(--ease); }
.star:hover { background: var(--basalt-3); }
.star-media { aspect-ratio: 2 / 1; max-height: 270px; }
.star-media img { width: 72%; height: 82%; transition: transform .7s var(--ease); }
.star:hover .star-media img { transform: scale(1.04); }
.star:hover h3 a { color: var(--red); }
.star-body { flex: 1; display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 32px); }
.star-body h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin: 10px 0; }
.star-body h3 a { text-decoration: none; transition: color .2s; }
.star-text { margin: 0; color: var(--dust); max-width: 46ch; }
/* Stat rows: however many stats a machine has, they share the row equally (no gap where one was removed) */
.star-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 22px 0 0; border-top: 1px solid var(--line); }
.star-stats div { padding: 14px 12px 0 0; }
.star-stats div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.star-stats dt { font: 700 clamp(1.2rem, 1.8vw, 1.5rem)/1 var(--display); font-stretch: 84%; color: var(--marble); margin-bottom: 6px; }
.star-stats dd { margin: 0; font: 500 .68rem/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--dust); }
.star-range { margin: 18px 0 0; font-size: .9rem; color: #c3c7c3; }
.star-range b { color: var(--marble); font-weight: 600; }
.star-foot { margin-top: auto; padding-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
@media (max-width: 900px) { .stars { grid-template-columns: 1fr; } }

/* ---------- Why Somani: five points, 3 + 2 ---------- */
.why { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.why li { grid-column: span 2; background: var(--basalt-3); padding: 26px 24px 28px; display: flex; flex-direction: column; }
.why li:nth-child(n+4) { grid-column: span 3; }
.sec-alt .why li { background: var(--basalt); }
.why .n { display: block; font: 800 clamp(2rem, 3.4vw, 2.9rem)/1 var(--display); font-stretch: 76%; color: var(--marble); margin-bottom: 16px; }
.why .n small { font: 500 .8rem/1 var(--mono); letter-spacing: .04em; color: var(--red); margin-left: 6px; vertical-align: .55em; }
.why h3 { font-size: 1.12rem; font-stretch: 100%; margin-bottom: 8px; color: var(--marble); }
.why p { margin: 0; color: var(--dust); font-size: .94rem; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } .why li, .why li:nth-child(n+4) { grid-column: span 1; } .why li:last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } .why li:last-child { grid-column: auto; } }

/* ---------- Media: plates and photos (sized with care) ---------- */
.plate { position: relative; background: var(--marble); overflow: hidden; display: grid; place-items: center; }
.plate img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.plate.dark { background: var(--basalt-3); }
.plate.dark img { mix-blend-mode: normal; }
.plate.photo img { mix-blend-mode: normal; width: 100%; height: 100%; object-fit: cover; }
.plate.none { background: var(--basalt-3); }
.plate.none span { font: 800 1.4rem/1 var(--display); font-stretch: 70%; color: #5b6168; text-align: center; padding: 8px; }
.thumb { width: 100%; }
.photo-frame { overflow: hidden; background: var(--basalt-2); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Home: about teaser */
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.teaser .photo-frame { aspect-ratio: 3 / 2; max-height: 440px; }
.teaser .btn-row { margin-top: 26px; }
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; } .teaser .photo-frame { order: -1; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-band .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px 64px; align-items: end; padding-block: clamp(72px, 9vw, 120px); }
.cta-band .d1 { font-size: clamp(2rem, 4.2vw, 3.8rem); }
.cta-side { display: grid; gap: 22px; }
.cta-lines { display: grid; gap: 10px; }
.cta-lines a { font: 600 clamp(1.1rem, 1.7vw, 1.35rem)/1.2 var(--display); font-stretch: 100%; text-decoration: none; display: inline-flex; gap: 12px; align-items: baseline; overflow-wrap: anywhere; }
.cta-lines a:hover { color: var(--red); }
.cta-lines .label { min-width: 64px; }
.cta-band .glow { position: absolute; right: -10vw; bottom: -30vw; width: 70vw; height: 70vw; background: radial-gradient(closest-side, rgb(240 74 54 / .14), transparent); pointer-events: none; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-foot { background: var(--basalt-2); border-top: 1px solid var(--line); padding-top: 64px; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 52px; }
.foot-grid h2 { font: 500 .72rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dust); margin: 0 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; color: var(--marble); }
.foot-grid a:hover { color: var(--red); }
.foot-about p { color: var(--dust); margin: 14px 0 0; max-width: 30ch; }
.foot-about img { width: 132px; }
.foot-contact address { font-style: normal; color: var(--dust); margin-bottom: 12px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 26px; border-top: 1px solid var(--line); color: var(--dust); font-size: .85rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about, .foot-contact { grid-column: 1 / -1; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding-top: calc(var(--nav-h) + clamp(32px, 5vw, 72px)); padding-bottom: clamp(36px, 5vw, 64px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 0 0 22px; padding: 0; font: 500 .74rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dust); }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--line-2); }
.crumbs a { text-decoration: none; color: var(--dust); }
.crumbs a:hover { color: var(--marble); }
.page-hero .d1 { margin-bottom: 20px; }
@media (max-width: 600px) { .page-hero .d1 { font-size: min(8.6vw, 2.8rem); font-stretch: 100%; } }

/* ---------- Product page: one clean template ---------- */
.pp-hero { padding-top: calc(var(--nav-h) + clamp(28px, 4vw, 56px)); padding-bottom: clamp(32px, 4vw, 52px); }
.pp-hero .crumbs { margin-bottom: 26px; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pp-copy .label { margin: 0 0 12px; }
.pp-title { font: 800 clamp(2rem, 4.2vw, 3.6rem)/.98 var(--display); font-stretch: 108%; letter-spacing: -.012em; text-transform: uppercase; color: var(--marble); margin: 0; }
.pp-sum { margin: 20px 0 30px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; color: #c3c7c3; max-width: 48ch; }
.pp-media { display: block; width: 100%; max-width: 480px; justify-self: end; }
.pp-media .plate { aspect-ratio: 4 / 3; }
.pp-media .plate img { width: 84%; height: 84%; }
.pp-media .plate.photo img { width: 100%; height: 100%; }
/* Workshop and site photos: the plate takes the photo's own shape (--ar, set per page) so nothing is cropped */
.pp-media.is-photo .plate { aspect-ratio: var(--ar, 4 / 3); }
.pp-media.is-photo .plate img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pp-media .plate.none { gap: 10px; align-content: center; }
.pp-media .plate.none span { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.pp-media .plate.none em { font: 500 .72rem/1 var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--dust); }
.pp-high { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: clamp(32px, 4vw, 48px) 0 0; border-top: 1px solid var(--line); }
.pp-high div { padding: 18px 16px 0 0; }
.pp-high div + div { padding-left: 20px; border-left: 1px solid var(--line); }
@media (max-width: 520px) {
  .pp-high { grid-auto-flow: row; grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .pp-high div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .pp-high div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.pp-high dt { font: 700 clamp(1.4rem, 2.2vw, 2rem)/1 var(--display); font-stretch: 84%; color: var(--marble); margin-bottom: 8px; }
.pp-high dd { margin: 0; font: 500 .72rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dust); }
@media (max-width: 860px) {
  .pp-grid { grid-template-columns: 1fr; }
  .pp-media { justify-self: start; max-width: 420px; }
}

/* Versions (LD4 Grease Type / Oil Type): one photo per version, switched from the hero */
.variant-switch { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-2); margin: 0 0 26px; }
.variant-switch button { min-height: 44px; padding: 0 18px; background: none; border: 0; border-right: 1px solid var(--line-2); font: 600 .9rem/1 var(--mono); color: var(--dust); cursor: pointer; transition: color .25s, background .25s; }
.variant-switch button:last-child { border-right: 0; }
.variant-switch button:hover { color: var(--marble); }
.variant-switch button[aria-pressed='true'] { background: var(--red); color: var(--basalt); }
.pp-variants { display: grid; }
.pp-variants .pp-photo { grid-area: 1 / 1; display: block; transition: opacity .45s var(--ease); }
.js .pp-variants .pp-photo:not(.is-on) { opacity: 0; visibility: hidden; }
.pp-variants .plate { aspect-ratio: 1; }
.pp-variants .plate img { position: absolute; inset: 7%; width: 86%; height: 86%; }
.pp-caption { grid-area: 2 / 1; margin: 10px 0 0; font: 500 .72rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dust); }
.no-js .pp-variants .pp-photo + .pp-photo { display: none; }
@media (prefers-reduced-motion: reduce) { .pp-variants .pp-photo { transition: none; } }
/* One photo set per version (LD4): only the chosen version shows; without JS both show, labelled */
.no-js .variant-switch { display: none; }
.js .v-gallery[data-off], .v-gallery[hidden] { display: none; }
.v-gallery + .v-gallery { margin-top: 28px; }
.v-gallery-name { margin: 0 0 12px; font: 500 .72rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dust); }
.psec .variant-switch { margin-bottom: 20px; }
.spec-note { margin: 14px 0 0; color: var(--dust); font-size: .92rem; max-width: 70ch; }
.pp-about p { max-width: 68ch; }

/* Sections: title on the left (marked with a short red wire), content on the right.
   Photos, Videos and Related machines use the full width (.wide): title on top, media below. */
.psec { padding-block: clamp(32px, 3.6vw, 50px); border-top: 1px solid var(--line); }
.psec-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 20px clamp(24px, 4vw, 56px); align-items: start; }
.psec-grid.wide { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.psec-title { font: 700 1.2rem/1.2 var(--display); font-stretch: 104%; color: var(--marble); margin: 0; }
.psec-title::before { content: ''; display: block; width: 28px; height: 2px; margin-bottom: 14px; background: var(--red); }
.psec .sec-head.row { margin-bottom: 24px; }
@media (max-width: 760px) { .psec-grid { grid-template-columns: minmax(0, 1fr); } }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.ticks li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); color: #d4d6d2; font-size: .98rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 1.15em; width: 10px; height: 2px; background: var(--red); }
@media (max-width: 640px) { .ticks { grid-template-columns: 1fr; } }
.pp-uses { margin: 18px 0 0; color: #c3c7c3; font-size: .95rem; }
.pp-uses .label { margin-right: 12px; }

/* Model switch (e.g. Normal / Single shaft) */
.model-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.model-tabs button { display: grid; gap: 4px; text-align: left; padding: 12px 16px; background: none; border: 1px solid var(--line-2); cursor: pointer; font: 600 .95rem/1.2 var(--sans); color: #b9bec2; transition: border-color .25s, color .25s, background .25s; }
.model-tabs button span { font: 500 .72rem/1 var(--mono); color: var(--dust); }
.model-tabs button:hover { color: var(--marble); border-color: #6b7178; }
.model-tabs button[aria-selected='true'] { color: var(--marble); border-color: var(--red); background: rgb(240 74 54 / .08); }
.model-panel + .model-panel { margin-top: 32px; }
.js [data-models] .model-panel + .model-panel { margin-top: 0; }
.js [data-models] .model-panel[hidden] { display: none; }
.model-name { font: 700 1.02rem/1.3 var(--sans); color: var(--marble); margin: 0 0 6px; }
.js .model-tabs ~ .model-panel .model-name { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.model-sizes { margin: 0 0 18px; color: var(--dust); font-size: .95rem; }
.js .model-tabs ~ .model-panel .model-sizes { display: none; }
.model-panel .ticks { margin-top: 4px; }
.model-panel .spec-wrap + .ticks { margin-top: 22px; }
.model-note { margin: 18px 0 0; padding: 14px 16px; border-left: 2px solid var(--red); background: var(--basalt-2); color: #c3c7c3; font-size: .95rem; }
.model-note a { color: var(--marble); }

/* Shared: two-column split (title left, content right) and plain chips */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.hr { border-top: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { border: 1px solid var(--line-2); padding: 8px 13px; font-size: .9rem; }

/* Photo galleries (machine pages, plant): even tiles. Every tile in a gallery has the same size and shape (--tile,
   the average shape of that gallery's photos, set by the page), so the set reads as one tidy grid. Each photo sits
   whole inside its tile: studio shots on the marble plate, workshop photos on a blurred copy of themselves. */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 44%), 1fr)); gap: 12px; max-width: 1200px; }
.gallery figure { margin: 0; min-width: 0; }
.gallery a { display: block; text-decoration: none; border-radius: var(--r-md); }
.g-media { position: relative; display: block; aspect-ratio: var(--tile, 4 / 3); overflow: hidden; border-radius: var(--r-md); background: var(--marble); isolation: isolate; box-shadow: inset 0 0 0 1px var(--edge); }
.g-media img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.g-media.photo, .g-media.dark { background: var(--basalt-3); }
.g-media.photo::before { content: ''; position: absolute; inset: -14%; z-index: -1; background: var(--bg) center / cover no-repeat; filter: blur(22px) brightness(.38) saturate(.85); }
.g-media.photo img, .g-media.dark img { inset: 0; width: 100%; height: 100%; mix-blend-mode: normal; }
.g-media.photo img { filter: drop-shadow(0 10px 20px rgb(0 0 0 / .45)); }
.gallery a:hover img { transform: scale(1.04); }
.gallery a:hover .g-media { box-shadow: inset 0 0 0 1px rgb(240 74 54 / .55), 0 12px 40px -12px rgb(240 74 54 / .4); }
.gallery a:focus-visible { outline-offset: 3px; }
/* Four tiles a row on wide screens (three when that gives even rows, kept to the same tile size), two on phones */
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); } }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

/* Spec tables */
.spec-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--line); }
.spec { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }
.spec th, .spec td { text-align: left; padding: 14px 16px 14px 0; vertical-align: top; }
.spec thead th { font: 500 .72rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dust); border-bottom: 1px solid var(--line-2); padding-top: 16px; }
.spec tbody th { font: 500 .78rem/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--dust); width: 26%; font-weight: 500; }
.spec tbody td { font: 600 1rem/1.4 var(--sans); }
.spec tbody tr { border-bottom: 1px solid var(--line); }
.spec[data-cols] td:not(.col-on), .spec[data-cols] thead th:not(:first-child):not(.col-on) { color: #7f858a; transition: color .3s; }
.spec[data-cols] thead th.col-on { color: var(--red); }
.spec-single { min-width: 0; max-width: 760px; }
.variant-tabs { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-2); margin-bottom: 22px; }
.variant-tabs button { height: 44px; padding: 0 18px; background: none; border: 0; border-right: 1px solid var(--line-2); font: 600 .9rem/1 var(--mono); color: var(--dust); cursor: pointer; }
.variant-tabs button:last-child { border-right: 0; }
.variant-tabs button[aria-selected='true'] { background: var(--red); color: var(--basalt); }
/* Size buttons only matter where the table shows one size at a time (phones) */
@media (min-width: 701px) { .variant-tabs { display: none; } }
@media (max-width: 700px) {
  .spec[data-cols] { min-width: 0; }
  .spec[data-cols] thead th:not(:first-child):not(.col-on), .spec[data-cols] td:not(.col-on) { display: none; }
}

/* ---------- Product cards: one design for every machine (catalogue, related) ----------
   The picture frame is always 4:3 and the photo sits whole inside it, never cropped or stretched:
   studio shots on the marble plate, workshop and site photos on a blurred, darkened copy of themselves (--bg). */
.pcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pcards.rel { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pcards > li { display: flex; }
.pcard { flex: 1; display: flex; flex-direction: column; background: var(--basalt-2); border: 1px solid var(--line); text-decoration: none; transition: background .3s var(--ease), border-color .3s var(--ease); }
.pcard:hover { background: var(--basalt-3); border-color: var(--line-2); }
.cm { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; background: var(--marble); isolation: isolate; }
.cm img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.cm.dark { background: #000; }
.cm.dark img { mix-blend-mode: normal; }
.cm.photo { background: var(--basalt-3); }
.cm.photo::before { content: ''; position: absolute; inset: -14%; z-index: -1; background: var(--bg) center / cover no-repeat; filter: blur(22px) brightness(.4) saturate(.85); }
.cm.photo img { inset: 0; width: 100%; height: 100%; mix-blend-mode: normal; filter: drop-shadow(0 12px 22px rgb(0 0 0 / .45)); }
.cm.none { background: var(--basalt-3); }
.cm.none span { font: 800 clamp(1.6rem, 2.4vw, 2.2rem)/1 var(--display); font-stretch: 70%; color: #5b6168; text-align: center; padding: 8px; }
.pcard:hover .cm img { transform: scale(1.04); }
.pc-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.pc-tag { font: 500 .68rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dust); }
.pc-body h3 { font-size: 1.14rem; font-stretch: 102%; line-height: 1.2; color: var(--marble); transition: color .2s; }
.pcard:hover h3 { color: var(--red); }
.pc-body p { margin: 0; color: var(--dust); font-size: .92rem; line-height: 1.45; }
.pc-models { list-style: none; margin: 6px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: grid; gap: 3px; font-size: .86rem; color: var(--dust); }
.pc-models b { color: #d4d6d2; font-weight: 600; margin-right: 6px; }
.pc-go { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font: 500 .72rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--dust); transition: color .2s; }
.pc-go svg { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.pcard:hover .pc-go { color: var(--red); }
.pcard:hover .pc-go svg { transform: translateX(4px); }
.pcards.rel .pc-body { padding: 14px 16px 16px; }
.pcards.rel .pc-body h3 { font-size: 1.02rem; }
.pcards.rel .pc-models { display: none; }
/* Equipment and spares: picture and name only, not a link, so no hover */
.pcard.is-static, .pcard.is-static:hover { background: var(--basalt-2); border-color: var(--line); }
.pcard.is-static:hover .cm img { transform: none; }
.pcard.is-static:hover h3 { color: var(--marble); }
.pcard.is-static .pc-body { justify-content: center; }
@media (max-width: 1100px) { .pcards.rel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Phones: two cards a row, picture on top, so every machine stays recognisable */
@media (max-width: 520px) {
  .pcards, .pcards.rel { gap: 8px; }
  .pc-body, .pcards.rel .pc-body { padding: 11px 12px 13px; gap: 4px; }
  .pc-body h3, .pcards.rel .pc-body h3 { font-size: .94rem; }
  .pc-body p { font-size: .82rem; }
  .pc-models { font-size: .78rem; padding-top: 7px; }
  .pc-models b { display: block; margin: 0; }
  .pc-go { display: none; }
}

/* ---------- Products page: category tabs (one category shown at a time; all stacked without JS) ---------- */
.cat-bar { position: sticky; top: var(--nav-h); z-index: 5; background: rgb(13 14 15 / .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.cat-bar [role='tablist'] { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.cat-bar [role='tablist']::-webkit-scrollbar { display: none; }
.cat-bar [role='tab'] { display: inline-flex; align-items: center; gap: 10px; padding: 17px 18px 15px; white-space: nowrap; text-decoration: none; font: 600 .95rem/1 var(--sans); color: #9ba1a6; border-bottom: 2px solid transparent; transition: color .25s, border-color .25s; }
.cat-bar [role='tab']:first-child { padding-left: 0; }
.cat-bar [role='tab'] span { font: 500 .72rem/1 var(--mono); color: var(--dust); }
.cat-bar [role='tab']:hover { color: var(--marble); }
.cat-bar [role='tab'][aria-selected='true'] { color: var(--marble); border-bottom-color: var(--red); }
.pcat { padding-block: clamp(36px, 5vw, 60px) clamp(48px, 6vw, 80px); scroll-margin-top: calc(var(--nav-h) + 60px); outline: none; }
.no-js .pcat + .pcat, .pcat + .pcat:not([hidden]) { border-top: 1px solid var(--line); }
.pcat[hidden] { display: none; }
.pcat-head { display: grid; gap: 8px; margin-bottom: 24px; max-width: 760px; }
.pcat-head p { margin: 0; color: var(--dust); }
.psub { scroll-margin-top: calc(var(--nav-h) + 60px); }
.psub + .psub { margin-top: 34px; }
/* Sub-group labels look like the ones in the Products menu: small red mono with a short line */
.psub-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 14px; font: 500 .74rem/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--red); }
.psub-title::before { content: ''; width: 14px; height: 1px; background: var(--red); flex: none; }
.psub-title span { font: 400 .9rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--dust); }
@media (max-width: 560px) {
  .cat-bar [role='tablist'] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; overflow: visible; }
  .cat-bar [role='tab'], .cat-bar [role='tab']:first-child { flex-direction: column; justify-content: center; gap: 4px; padding: 12px 6px 10px; white-space: normal; text-align: center; font-size: .86rem; line-height: 1.2; }
}
@media (prefers-reduced-motion: no-preference) { .js .pcat.is-showing { animation: tabIn .45s var(--ease); } }
@keyframes tabIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Company pages ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.story .photo-frame { aspect-ratio: 3 / 2; max-height: 420px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; list-style: none; margin: 0; padding: 0; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 13px; height: 1px; background: var(--line-2); }
.timeline li { position: relative; padding: 44px 28px 0 0; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 7px; width: 13px; height: 13px; background: var(--basalt-2); border: 1px solid var(--marble); transform: rotate(45deg); }
.timeline li:last-child::before { background: var(--red); border-color: var(--red); }
.timeline .yr { display: block; font: 800 clamp(2.6rem, 5vw, 4.4rem)/.9 var(--display); font-stretch: 70%; margin-bottom: 14px; }
.timeline h3 { font-size: 1.15rem; font-stretch: 100%; margin-bottom: 8px; }
.timeline p { color: var(--dust); margin: 0; max-width: 34ch; font-size: .95rem; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 32px; padding-left: 30px; }
  .timeline::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { padding: 0; }
  .timeline li::before { left: -30px; top: 8px; }
}

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; margin: 0; padding: 0; }
.reasons li { background: var(--basalt-2); padding: 26px 24px 28px; display: grid; gap: 10px; align-content: start; }
.reasons h3 { font-size: 1.25rem; font-stretch: 104%; }
.reasons p { margin: 0; color: var(--dust); font-size: .95rem; }
.reasons .n { font: 500 .76rem/1 var(--mono); color: var(--red); }
@media (max-width: 900px) { .reasons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .reasons { grid-template-columns: 1fr; } }

.why-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.why-rows li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 12px clamp(24px, 5vw, 80px); padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.why-rows .n { font: 800 clamp(2.4rem, 4.4vw, 3.8rem)/1 var(--display); font-stretch: 74%; color: var(--marble); }
.why-rows .n small { font: 500 .8rem/1 var(--mono); letter-spacing: .04em; color: var(--red); margin-left: 8px; vertical-align: .9em; }
.why-rows h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-stretch: 102%; color: var(--marble); margin-bottom: 8px; }
.why-rows p { margin: 0; color: var(--dust); max-width: 60ch; }
@media (max-width: 700px) { .why-rows li { grid-template-columns: 1fr; gap: 10px; } }

.dept { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.dept > div { padding: 22px 20px 26px 0; }
.dept > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.dept h3 { font-size: 1.15rem; font-stretch: 100%; margin: 10px 0 6px; }
.dept p { color: var(--dust); margin: 0; font-size: .93rem; }

/* Infrastructure: title and plant video side by side, stacked on phones */
.infra-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.infra-hero .lede { max-width: 46ch; }
@media (min-width: 861px) { .infra-hero .d1 { font-size: clamp(2rem, 3.8vw, 4.4rem); } }
.video-frame { position: relative; width: 100%; max-width: 560px; justify-self: end; aspect-ratio: 16 / 9; background: var(--basalt-3); border: 1px solid var(--line); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .infra-hero { grid-template-columns: 1fr; } .video-frame { justify-self: start; max-width: none; } }
/* Videos on machine pages, kept modest (at most 640px wide). The block is a size container: with 16:9 videos and
   Shorts together, the Shorts column is --s wide (set by the page in container units) so the 9:16 frame matches the
   height of the 16:9 stack exactly. Shorts on their own sit in a row at a fixed width. Narrow: one column, still portrait. */
.videos { container-type: inline-size; max-width: 640px; }
.v-grid { display: grid; gap: 12px; }
.v-grid.mix { grid-template-columns: minmax(0, 1fr) var(--s); align-items: start; }
.v-grid .v-col { display: grid; gap: 12px; }
.v-grid .video-frame { max-width: none; justify-self: stretch; }
.video-frame.is-short { aspect-ratio: 9 / 16; }
.v-grid.shorts { grid-template-columns: repeat(auto-fill, 230px); }
@container (max-width: 520px) {
  .v-grid.mix { grid-template-columns: minmax(0, 1fr); }
  .v-grid.mix .v-col + .v-col { grid-template-columns: repeat(auto-fill, minmax(0, 220px)); }
  .v-grid.shorts { grid-template-columns: minmax(0, 230px); }
}
@media (max-width: 860px) { .dept { grid-template-columns: 1fr 1fr; } .dept > div:nth-child(3) { padding-left: 0; border-left: 0; } .dept > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.lightbox { position: fixed; inset: 0; z-index: 65; background: rgb(8 9 10 / .94); display: grid; place-items: center; padding: 5vw; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.lightbox img { max-height: 84vh; width: auto; max-width: 100%; }
.lightbox.on-light img { background: var(--marble); padding: 3vw; }
.lightbox button { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; background: var(--basalt-2); border: 1px solid var(--line-2); cursor: pointer; font-size: 1.4rem; color: var(--marble); transition: border-color .25s, color .25s; }
.lightbox button:hover { border-color: var(--red); color: var(--red); }
.lightbox button[hidden] { display: none; }
.lb-close { top: 16px; right: 16px; }
.lb-nav { top: 50%; margin-top: -24px; }
.lb-prev { left: 16px; }
.lb-prev svg { transform: scaleX(-1); }
.lb-next { right: 16px; }
.lb-count { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; font: 500 .78rem/1 var(--mono); letter-spacing: .08em; color: var(--dust); }
@media (max-width: 700px) {
  .lightbox { padding: 64px 12px; }
  .lb-nav { top: auto; bottom: 10px; margin-top: 0; }
  .lb-count { bottom: 26px; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 .78rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #c3c7c3; }
.field label .req { color: var(--red); }
.field input, .field textarea { width: 100%; background: var(--basalt-2); border: 1px solid var(--field); color: var(--marble); padding: 14px 16px; font: 400 1rem/1.4 var(--sans); border-radius: 0; transition: border-color .25s, background .25s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #8a9097; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: var(--basalt-3); }
.field .hint { font-size: .85rem; color: var(--dust); }
.field .err { font-size: .85rem; color: #ff8a7a; display: none; }
.field.is-bad input, .field.is-bad textarea { border-color: #ff8a7a; }
.field.is-bad .err { display: block; }
.form .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 4px; }
.form-status { font-size: .95rem; color: var(--dust); margin: 0; }
.form-status.bad { color: #ff8a7a; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }
.form-done { display: none; padding: 30px; background: var(--basalt-2); border-left: 2px solid var(--red); }
.form-done.is-on { display: block; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.direct { display: grid; gap: 12px; margin-bottom: 34px; }
.direct a { font: 700 clamp(1.3rem, 2.3vw, 1.8rem)/1.1 var(--display); font-stretch: 96%; text-decoration: none; overflow-wrap: anywhere; }
.direct a:hover { color: var(--red); }
.office { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.office:last-of-type { border-bottom: 1px solid var(--line); }
.office h3 { font-size: 1.08rem; font-stretch: 100%; }
.office address { font-style: normal; color: var(--dust); }

/* 404 */
.nf { min-height: 100vh; min-height: 100dvh; display: grid; align-items: center; padding-top: var(--nav-h); }
.nf .code { font: 900 clamp(6rem, 22vw, 18rem)/.8 var(--display); font-stretch: 60%; color: transparent; -webkit-text-stroke: 1px var(--line-2); display: block; margin-bottom: 20px; }

.mt-s { margin-top: 16px; } .mt-m { margin-top: 30px; }

/* =====================================================================================================
   Visual layer (round 10, 2026-11-07). Same palette, fonts and content; a more current, technical look:
   soft radii and glass panels, a floating pill nav, faint engineering grids behind page heroes, HUD corner
   brackets on hero photos, numbered sections, glowing red accents on hover. Rules here override the base above.
   ===================================================================================================== */
:root {
  --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
  --edge: rgb(255 255 255 / .075);
  --edge-2: rgb(255 255 255 / .14);
  --glass: linear-gradient(180deg, rgb(255 255 255 / .05), rgb(255 255 255 / .016));
  --grid-line: rgb(255 255 255 / .04);
  --nav-h: 86px;
  --bar-h: 60px;
}

/* Ambient light behind every page: a warm glow top right, a cool one left. Fixed, so it never repaints. */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 540px at 92% -10%, rgb(240 74 54 / .10), transparent 65%),
    radial-gradient(760px 620px at -14% 40%, rgb(120 140 160 / .07), transparent 62%),
    radial-gradient(700px 520px at 60% 115%, rgb(240 74 54 / .05), transparent 60%);
}
.sec-alt { background: linear-gradient(180deg, rgb(255 255 255 / .022), rgb(255 255 255 / .006)); border-block: 1px solid var(--edge); }

/* Gradient display headings (not on the sliced ones, which split into layers) */
.hero .d1, .page-hero .d1, .pp-title {
  background: linear-gradient(180deg, #ffffff 25%, #a9afb4 110%); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Eyebrow: a small pill label above headings, with a number or a live red dot */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 13px 7px 10px; border: 1px solid var(--edge); border-radius: 999px; background: rgb(255 255 255 / .03); font: 500 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #c3c7c3; }
.eyebrow .eb-n { color: var(--red); padding: 0 10px 0 3px; border-right: 1px solid var(--edge-2); }
.eyebrow .dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgb(240 74 54 / .55); }
@media (prefers-reduced-motion: no-preference) { .eyebrow .dot { animation: pulse 2.4s var(--ease) infinite; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(240 74 54 / .55); } 70%, 100% { box-shadow: 0 0 0 9px rgb(240 74 54 / 0); } }
.sec-head.row > div .eyebrow { margin-bottom: 16px; }

/* Buttons: pills, the red one with a soft glow */
.btn { border-radius: 999px; min-height: 48px; padding: 0 1.45em; box-shadow: 0 12px 32px -14px rgb(240 74 54 / .75), inset 0 1px 0 rgb(255 255 255 / .22); }
.btn-ghost { --bg: rgb(255 255 255 / .035); box-shadow: inset 0 0 0 1px var(--edge-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.link-arrow { border-bottom-color: var(--edge-2); }

/* ---------- Floating pill header ---------- */
.site-head { inset: 12px 0 auto; height: var(--bar-h); }
.site-head.is-solid { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.site-head > .wrap {
  width: calc(100% - 24px); max-width: calc(var(--wrap) - 24px); padding-inline: 20px 7px; gap: 18px;
  border-radius: 999px; border: 1px solid var(--edge); background: rgb(17 19 22 / .5);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 16px 40px -22px rgb(0 0 0 / .9), inset 0 1px 0 rgb(255 255 255 / .05); transition: background .4s var(--ease);
}
.site-head.is-solid > .wrap { background: rgb(16 18 21 / .84); }
@media (prefers-reduced-transparency: reduce) { .site-head > .wrap { background: #121417; -webkit-backdrop-filter: none; backdrop-filter: none; } }
.brand img { width: 112px; }
.nav > a, .nav-prod > a { border-radius: 999px; transition: background .25s, color .25s; }
.nav > a:hover, .nav-prod > a:hover { background: rgb(255 255 255 / .06); }
/* Current page: the label turns full white with a short red bar under it, as wide as the word.
   Hover only lights the pill, so hover and "you are here" never look alike. */
.nav > a, .nav-prod > a { color: rgb(236 237 234 / .78); }
.nav > a:hover, .nav-prod > a:hover, .nav > a[aria-current='page'], .nav-prod > a.is-current { color: var(--marble); }
.nav > a::after, .nav-prod > a::after { left: 12px; right: 12px; bottom: 5px; width: auto; height: 2px; margin: 0; border-radius: 2px; background: var(--red); box-shadow: 0 0 10px rgb(240 74 54 / .5); transform: scaleX(0); transform-origin: center; transition: transform .35s var(--ease); }
.nav-prod > a::after { right: 4px; }
.nav > a:hover::after, .nav-prod > a:hover::after { transform: scaleX(0); }
.nav > a[aria-current='page']::after, .nav-prod > a.is-current::after { transform: scaleX(1); }
.nav-prod .mm-toggle { border-radius: 999px; }
.site-head .btn { min-height: 46px; margin-left: 6px; }
.menu-btn { width: 46px; height: 46px; border-radius: 50%; border-color: var(--edge-2); background: rgb(255 255 255 / .03); }
@media (max-width: 1080px) { .site-head > .wrap { padding-inline: 18px 7px; } }

/* Products menu: a floating glass panel under the bar */
.mega {
  left: 12px; right: 12px; top: calc(var(--bar-h) + 10px); max-width: calc(var(--wrap) - 24px); margin-inline: auto;
  border-radius: var(--r-lg); border: 1px solid var(--edge); background: rgb(17 19 22 / .94);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 40px 90px -30px rgb(0 0 0 / .85);
  clip-path: inset(0 0 100% 0 round var(--r-lg));
}
.mega.is-open { clip-path: inset(0 round var(--r-lg)); }
.mega .wrap { padding-inline: 32px; }
.mega .mega-h { border-bottom-color: var(--edge-2); }
.mega .mega-cta { border-left-color: var(--edge); }

/* Phone menu: a floating sheet */
@media (max-width: 1080px) {
  .mobile-nav { inset: calc(var(--bar-h) + 22px) 12px 12px; border-radius: var(--r-lg); border: 1px solid var(--edge); background: #0f1114; clip-path: inset(0 0 100% 0 round var(--r-lg)); }
  .mobile-nav.is-open { clip-path: inset(0 round var(--r-lg)); }
  .mobile-nav .m-main a, .mobile-nav details summary { border-bottom-color: var(--edge); }
}

/* ---------- HUD details: corner brackets on hero photos ---------- */
.pp-media, .photo-frame { position: relative; }
.pp-media::after, .teaser .photo-frame::after, .story .photo-frame::after {
  --c: rgb(240 74 54 / .9); --l: 18px;
  content: ''; position: absolute; inset: -9px; pointer-events: none; z-index: 1;
  background:
    linear-gradient(var(--c) 0 0) 0 0 / var(--l) 1.5px, linear-gradient(var(--c) 0 0) 0 0 / 1.5px var(--l),
    linear-gradient(var(--c) 0 0) 100% 0 / var(--l) 1.5px, linear-gradient(var(--c) 0 0) 100% 0 / 1.5px var(--l),
    linear-gradient(var(--c) 0 0) 0 100% / var(--l) 1.5px, linear-gradient(var(--c) 0 0) 0 100% / 1.5px var(--l),
    linear-gradient(var(--c) 0 0) 100% 100% / var(--l) 1.5px, linear-gradient(var(--c) 0 0) 100% 100% / 1.5px var(--l);
  background-repeat: no-repeat;
}
.teaser .photo-frame::after, .story .photo-frame::after { inset: 12px; --c: rgb(255 255 255 / .7); }
.pp-variants::after { bottom: 22px; }
.photo-frame { border-radius: var(--r-lg); border: 1px solid var(--edge); box-shadow: 0 30px 80px -40px rgb(0 0 0 / .9); }

/* ---------- Home hero ---------- */
.hero-hud { position: absolute; top: calc(var(--nav-h) + 16px); bottom: 150px; right: var(--gutter); width: 260px; pointer-events: none; font: 500 .66rem/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgb(236 237 234 / .55); }
.hero-hud span { position: absolute; right: 0; white-space: nowrap; }
.hud-tl { top: 0; color: var(--red); }
.hud-tr { top: 22px; }
.hud-br { bottom: 0; padding-right: 26px; }
.hud-br::after { content: ''; position: absolute; right: 0; top: 50%; width: 18px; height: 1px; background: currentColor; }
.hero-hud::before { content: ''; position: absolute; right: 0; top: 52px; bottom: 26px; width: 1px; background: linear-gradient(180deg, rgb(255 255 255 / .25), transparent 40%, transparent 60%, rgb(255 255 255 / .25)); }
@media (max-width: 1080px) { .hero-hud { display: none; } }
.hero .eyebrow { background: rgb(13 14 15 / .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-cats { border-top: 0; padding-bottom: 24px; }
.hero-cats ul { gap: 12px; }
.hero-cats li + li { border-left: 0; }
.hero-cats a, .hero-cats li:first-child a {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 16px; row-gap: 4px; align-items: center;
  padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--edge); background: rgb(17 19 22 / .55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: border-color .3s, box-shadow .4s, transform .5s var(--ease), color .3s;
}
.hero-cats a:hover { color: var(--marble); border-color: rgb(240 74 54 / .5); box-shadow: 0 18px 40px -24px rgb(240 74 54 / .7); transform: translateY(-2px); }
.hero-cats .hc-n { grid-row: 1 / 3; align-self: center; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--edge-2); color: var(--red); font-size: .72rem; }
.hero-cats b { grid-column: 2; }
.hero-cats .hc-c { grid-column: 2; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-cats a > svg { grid-column: 3; grid-row: 1 / 3; transition: transform .45s var(--ease), color .3s; }
.hero-cats a:hover > svg { transform: translateX(4px); color: var(--red); }
@media (max-width: 820px) {
  .hero-cats ul { gap: 8px; }
  .hero-cats li + li { border-top: 0; }
  .hero-cats li a, .hero-cats li:first-child a { padding: 11px 14px; }
  .hero-cats .hc-n { width: 32px; height: 32px; }
}

/* ---------- Glass panels: star products, why points, cards ---------- */
.star, .why li, .pcard, .reasons li, .dept > div, .dept > div + div, .dept > div:nth-child(n) {
  position: relative; border-radius: var(--r-lg); border: 1px solid var(--edge); background: var(--glass); overflow: hidden;
}
/* A soft light follows the pointer across panels (set by somani.js as --mx / --my) */
.star::after, .why li::after, .pcard::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / .07), transparent 45%);
}
.star:hover::after, .why li:hover::after, .pcard:hover::after { opacity: 1; }
.star { transition: border-color .3s, box-shadow .45s var(--ease); }
.star:hover { background: var(--glass); border-color: rgb(240 74 54 / .42); box-shadow: 0 30px 70px -36px rgb(240 74 54 / .6); }
.star-media { margin: 10px 10px 0; border-radius: var(--r-md); }
.star-stats { border-top-color: var(--edge); }
.star-stats div + div { border-left-color: var(--edge); }

.why { gap: 14px; }
.why li, .sec-alt .why li { background: var(--glass); padding: 28px 26px 30px; transition: border-color .3s; }
.why li:hover { border-color: var(--edge-2); }
.why li::before { content: ''; position: absolute; left: 26px; top: 0; width: 34px; height: 2px; background: var(--red); box-shadow: 0 0 12px rgb(240 74 54 / .8); }
.why .n { background: linear-gradient(180deg, #ffffff 20%, #858b90); -webkit-background-clip: text; background-clip: text; color: transparent; }

.pcards { gap: 18px; }
.pcards.rel { gap: 14px; }
.pcard { transition: border-color .3s, box-shadow .45s var(--ease), transform .55s var(--ease); }
.pcard:hover { background: linear-gradient(180deg, rgb(255 255 255 / .035), rgb(0 0 0 / .12)); border-color: rgb(240 74 54 / .45); box-shadow: 0 26px 60px -34px rgb(240 74 54 / .65); transform: translateY(-3px); }
.cm { margin: 8px 8px 0; border-radius: var(--r-md); }
.pc-body { padding: 18px 20px 20px; }
.pc-models { border-top-color: var(--edge); }
.pcard.is-static, .pcard.is-static:hover { background: var(--glass); border-color: var(--edge); box-shadow: none; transform: none; }
.pcard.is-static::after { display: none; }
@media (max-width: 520px) { .pcards, .pcards.rel { gap: 10px; } .pcard { border-radius: var(--r-md); } .cm { margin: 6px 6px 0; border-radius: var(--r-sm); } .pc-body, .pcards.rel .pc-body { padding: 11px 12px 13px; } }
@media (prefers-reduced-motion: reduce) { .pcard:hover, .hero-cats a:hover { transform: none; } }

/* Missing photos: a blueprint slot (grid and the machine's code), never another machine's photo */
.cm.none, .plate.none {
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(circle at 50% 45%, rgb(240 74 54 / .09), transparent 62%), #111316;
}
.cm.none span, .plate.none span { color: rgb(236 237 234 / .3); }

/* ---------- Page heroes: an engineering grid fading out from the top right, and a glowing base line ---------- */
.page-hero, .pp-hero { position: relative; isolation: isolate; }
.page-hero::before, .pp-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 95% at 75% 0%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse 75% 95% at 75% 0%, #000 15%, transparent 72%);
}
.pp-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(240 74 54 / .55) 50%, transparent); }
.crumbs li:last-child { color: var(--marble); }

/* Machine hero photo: rounded, lifted */
.pp-media .plate { border-radius: var(--r-lg); box-shadow: 0 40px 90px -40px rgb(0 0 0 / .95); }
.pp-caption { margin-top: 14px; }
/* Key numbers: readout tiles that share the row equally */
.pp-high { border-top: 0; gap: 12px; }
.pp-high div, .pp-high div + div { position: relative; padding: 20px 22px 18px; border: 1px solid var(--edge); border-radius: var(--r-md); background: var(--glass); }
.pp-high div::before { content: ''; position: absolute; left: 22px; top: -1px; width: 26px; height: 2px; background: var(--red); box-shadow: 0 0 10px rgb(240 74 54 / .8); }
.pp-high dt { background: linear-gradient(180deg, #ffffff 30%, #9aa0a5); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 520px) {
  .pp-high { gap: 8px; }
  .pp-high div, .pp-high div:nth-child(odd) { padding: 16px 16px 14px; border: 1px solid var(--edge); }
  .pp-high div::before { left: 16px; }
}

/* ---------- Machine page sections: numbered titles, content in panels ---------- */
main { counter-reset: psec; }
.psec { border-top: 1px solid; border-image: linear-gradient(90deg, transparent, var(--edge-2) 15%, var(--edge-2) 85%, transparent) 1; }
.psec-title { display: grid; gap: 12px; }
.psec-title::before {
  counter-increment: psec; content: counter(psec, decimal-leading-zero);
  width: auto; height: auto; margin: 0; padding-right: 40px; justify-self: start;
  background: linear-gradient(var(--red) 0 0) right center / 28px 1px no-repeat;
  font: 500 .72rem/1 var(--mono); letter-spacing: .12em; color: var(--red);
}
.spec-wrap { border: 1px solid var(--edge); border-radius: var(--r-lg); background: var(--glass); padding: 2px 22px; }
.spec-wrap:has(.spec-single) { max-width: 760px; }
.spec-single { max-width: none; }
.spec thead th { border-bottom-color: var(--edge-2); }
.spec tbody tr { border-bottom-color: var(--edge); transition: background .2s; }
.spec tbody tr:last-child { border-bottom: 0; }
.spec tbody tr:hover { background: rgb(255 255 255 / .025); }
.spec th:first-child { padding-left: 4px; }
@media (max-width: 520px) { .spec-wrap { padding: 2px 14px; border-radius: var(--r-md); } }

.ticks { gap: 8px 10px; }
.ticks li { border: 1px solid var(--edge); border-radius: var(--r-sm); background: rgb(255 255 255 / .022); padding: 13px 16px 13px 38px; }
.ticks li::before { left: 16px; top: calc(13px + .62em); width: 7px; height: 7px; margin-top: -3.5px; transform: rotate(45deg); box-shadow: 0 0 10px rgb(240 74 54 / .7); }
.chips li { border-radius: 999px; border-color: var(--edge-2); background: rgb(255 255 255 / .03); padding: 9px 16px; }
.model-tabs button { border-radius: var(--r-md); border-color: var(--edge-2); background: rgb(255 255 255 / .02); }
.model-tabs button[aria-selected='true'] { box-shadow: 0 14px 34px -20px rgb(240 74 54 / .8); }
.model-note { border-radius: 0 var(--r-sm) var(--r-sm) 0; background: rgb(255 255 255 / .03); }
.variant-switch, .variant-tabs { gap: 4px; padding: 4px; border-radius: 999px; border-color: var(--edge-2); background: rgb(255 255 255 / .03); }
.variant-switch button, .variant-tabs button { border-right: 0; border-radius: 999px; min-height: 40px; height: auto; }
.variant-switch button[aria-pressed='true'], .variant-tabs button[aria-selected='true'] { box-shadow: 0 8px 22px -10px rgb(240 74 54 / .9); }

/* ---------- Videos: rounded frames with a poster and a glowing play button ---------- */
.video-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--edge); background: #0a0b0c; box-shadow: 0 30px 70px -40px rgb(0 0 0 / .95); }
.infra-hero .video-frame { max-width: 520px; }
.yt { position: absolute; inset: 0; display: block; color: var(--marble); text-decoration: none; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8) saturate(.92); transition: transform .8s var(--ease), filter .4s; }
.yt-play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--basalt); box-shadow: 0 0 0 8px rgb(240 74 54 / .2), 0 16px 40px -8px rgb(240 74 54 / .8); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.yt-play svg { margin-left: 3px; }
.yt:hover .yt-play, .yt:focus-visible .yt-play { transform: scale(1.08); box-shadow: 0 0 0 14px rgb(240 74 54 / .14), 0 18px 48px -8px rgb(240 74 54 / .9); }
.yt:hover img { transform: scale(1.03); filter: none; }
.yt:focus-visible { outline-offset: -4px; border-radius: inherit; }
.is-short .yt-play { width: 54px; height: 54px; margin: -27px 0 0 -27px; }

/* ---------- Products catalogue: a floating segmented tab bar ---------- */
.cat-bar { top: calc(var(--bar-h) + 20px); background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; padding-block: 4px; pointer-events: none; }
.cat-bar [role='tablist'] { pointer-events: auto; display: inline-flex; max-width: 100%; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid var(--edge); background: rgb(17 19 22 / .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 16px 34px -20px rgb(0 0 0 / .9); }
.cat-bar [role='tab'], .cat-bar [role='tab']:first-child { padding: 11px 18px; border-radius: 999px; border-bottom: 0; transition: color .25s, background .25s, box-shadow .25s; }
.cat-bar [role='tab'] span { padding: 3px 7px; border-radius: 999px; background: rgb(255 255 255 / .07); }
.cat-bar [role='tab']:hover { background: rgb(255 255 255 / .05); }
.cat-bar [role='tab'][aria-selected='true'] { background: rgb(240 74 54 / .14); box-shadow: inset 0 0 0 1px rgb(240 74 54 / .55); }
.cat-bar [role='tab'][aria-selected='true'] span { background: var(--red); color: var(--basalt); }
@media (max-width: 560px) {
  .cat-bar [role='tablist'] { display: grid; width: 100%; border-radius: var(--r-md); }
  .cat-bar [role='tab'], .cat-bar [role='tab']:first-child { padding: 9px 4px 8px; border-radius: var(--r-sm); }
}
.pcat { scroll-margin-top: calc(var(--nav-h) + 70px); }
.no-js .pcat + .pcat, .pcat + .pcat:not([hidden]) { border-top-color: var(--edge); }

/* ---------- CTA band: one glass panel with a grid and a red glow ---------- */
.cta-band { border-top: 0; }
.cta-band > .wrap { display: block; padding-block: clamp(28px, 4.2vw, 60px); }
.cta-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px 64px; align-items: end; padding: clamp(28px, 5vw, 64px); border-radius: 28px; border: 1px solid var(--edge); background: linear-gradient(135deg, rgb(255 255 255 / .05), rgb(255 255 255 / .012)); }
.cta-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 44px 44px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.cta-panel .glow { z-index: -1; right: -20%; bottom: -60%; width: 80%; height: auto; aspect-ratio: 1; background: radial-gradient(closest-side, rgb(240 74 54 / .2), transparent); }
.cta-panel .cta-lines a .label { color: var(--red); }
@media (max-width: 860px) { .cta-panel { grid-template-columns: minmax(0, 1fr); border-radius: var(--r-lg); } }

/* ---------- Footer: a large outlined wordmark ---------- */
.site-foot { background: linear-gradient(180deg, transparent, rgb(255 255 255 / .022)); border-top: 1px solid var(--edge); }
.foot-base { border-top-color: var(--edge); }
.foot-mark { overflow: hidden; margin-bottom: -.06em; text-align: center; white-space: nowrap; user-select: none; font: 900 clamp(3.2rem, 15vw, 14rem)/.82 var(--display); font-stretch: 125%; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .1); background: linear-gradient(180deg, rgb(255 255 255 / .07), transparent 85%); -webkit-background-clip: text; background-clip: text; }

/* ---------- Company pages ---------- */
.reasons { gap: 14px; }
.reasons li { padding: 28px 26px 30px; }
.dept { border-top: 0; gap: 14px; }
.dept > div, .dept > div + div, .dept > div:nth-child(n) { padding: 24px 22px 26px; }
.timeline::before { background: linear-gradient(90deg, var(--red), var(--edge-2) 40%); }
.timeline li::before { border-radius: 3px; box-shadow: 0 0 0 5px var(--basalt); }
.timeline li:last-child::before { box-shadow: 0 0 0 5px var(--basalt), 0 0 18px rgb(240 74 54 / .9); }
.why-rows, .why-rows li { border-color: var(--edge); }
.why-rows .n { background: linear-gradient(180deg, #ffffff 20%, #858b90); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 760px) { .timeline::before { background: linear-gradient(180deg, var(--red), var(--edge-2) 40%); } }

/* ---------- Forms, lightbox, misc ---------- */
.field input, .field textarea { border-radius: var(--r-sm); border-color: rgb(255 255 255 / .16); background: rgb(255 255 255 / .03); }
.field input:focus, .field textarea:focus { box-shadow: 0 0 0 4px rgb(240 74 54 / .16); }
.form-done { border-radius: 0 var(--r-md) var(--r-md) 0; }
.office { border-top-color: var(--edge); }
.office:last-of-type { border-bottom-color: var(--edge); }
.lightbox { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox img { border-radius: var(--r-md); }
.lightbox button { border-radius: 50%; border-color: var(--edge-2); background: rgb(17 19 22 / .8); }
.hr { border-top-color: var(--edge); }

/* ---------- Round 12 (2026-11-11) ---------- */
/* Desktop nav: the catalogue link says it is a PDF */
.nav .pdf { font: 500 .62rem/1 var(--mono); letter-spacing: .06em; color: var(--dust); padding: 3px 5px; border: 1px solid var(--edge-2); border-radius: 4px; }
@media (max-width: 1240px) { .nav > a, .nav .mm-toggle { padding-inline: 9px; } .nav > a::after { left: 9px; right: 9px; } .site-head .btn { padding-inline: 18px; } }
/* Footer: back to top */
.foot-base .to-top { color: var(--marble); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.foot-base .to-top:hover { color: var(--red); }
/* Phones: compact home, one variant switch, shorter CTA lines, wider spec labels */
@media (max-width: 860px) {
  .pp-copy > .label, .pp-copy > .variant-switch { display: none; }
}
@media (max-width: 520px) {
  .star-media { aspect-ratio: auto; height: 150px; max-height: none; }
  .star-range { display: none; }
  .star-body { padding: 18px 18px 20px; }
  .star-text { font-size: .95rem; }
  .star-foot { padding-top: 16px; }
  /* Why points: the value beside the text; all five share one value column, as wide as the widest value */
  .why { grid-template-columns: max-content minmax(0, 1fr); gap: 8px 0; }
  .why li, .why li:nth-child(n+4), .why li:last-child { grid-column: 1 / -1; }
  .why li, .sec-alt .why li { display: grid; grid-template-columns: subgrid; column-gap: 14px; padding: 16px 16px 18px; }
  @supports not (grid-template-columns: subgrid) { .why li, .sec-alt .why li { grid-template-columns: 96px minmax(0, 1fr); } }
  .why li::before { left: 16px; }
  .why li > .n { grid-row: 1 / span 2; margin: 0; font-size: 1.6rem; }
  .why li > .n small { display: block; margin: 6px 0 0; vertical-align: 0; }
  .why h3 { font-size: 1rem; margin: 0 0 4px; }
  .why p { font-size: .88rem; }
  .cta-lines a { font-size: .98rem; gap: 8px; }
  .cta-lines .label { min-width: 50px; }
  .spec tbody th { width: 46%; }
}

/* ---------- Round 13 (2026-11-14): YouTube channel links ---------- */
.yt-channel { margin-top: 22px; gap: 10px; }
.yt-channel .yt-ic { width: 20px; height: 20px; color: var(--red); }
.yt-channel svg:last-child { width: 14px; height: 14px; color: var(--dust); transition: transform .3s var(--ease), color .3s; }
.yt-channel:hover svg:last-child { transform: translate(2px, -2px); color: var(--red); }
.psec .videos + .yt-channel { margin-top: 20px; }
.teaser .yt-channel { margin-top: 20px; }
.infra-hero .yt-channel { margin-top: 26px; }
.foot-yt { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; color: var(--marble); text-decoration: none; font-size: .9rem; }
.foot-yt svg { width: 20px; height: 20px; color: var(--red); }
.foot-yt:hover { color: var(--red); }

/* ---------- Round 14 (2026-11-24): model toggle (RCC Track / Crawler type, quarry wire saw Standard / Single shaft) ---------- */
/* Hero: one 4:3 frame, each model's photo whole inside it, so switching never moves the page */
.pp-models { display: grid; }
.pp-models .pp-photo { grid-area: 1 / 1; display: block; transition: opacity .45s var(--ease); }
.js .pp-models .pp-photo:not(.is-on) { opacity: 0; visibility: hidden; }
.no-js .pp-models .pp-photo + .pp-photo { display: none; }
.pp-models .plate { aspect-ratio: 4 / 3; isolation: isolate; }
.pp-models .plate img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.pp-models .plate.photo { background: var(--basalt-3); }
.pp-models .plate.photo::before { content: ''; position: absolute; inset: -14%; z-index: -1; background: var(--bg) center / cover no-repeat; filter: blur(22px) brightness(.4) saturate(.85); }
.pp-models .plate.photo img { inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
.pp-models::after { bottom: 22px; }
@media (prefers-reduced-motion: reduce) { .pp-models .pp-photo { transition: none; } }
/* The toggle: shown on every screen size (unlike the LD4 hero switch, which phones hide) */
.model-switch { align-items: center; }
.model-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; line-height: 1; }
.model-switch button span { font: 500 .7rem/1 var(--mono); letter-spacing: .04em; opacity: .75; }
.no-js .model-switch { display: none; }
@media (max-width: 860px) { .pp-copy > .model-switch { display: inline-flex; } }
@media (max-width: 400px) { .model-switch button { padding-inline: 12px; } .model-switch button span { display: none; } }
/* Blocks that belong to one model: only the chosen model's show */
.js [data-model-block][data-off], .js [data-model-block][hidden], .psec[hidden] { display: none !important; }
.no-js .pp-high[data-model-block] ~ .pp-high[data-model-block] { display: none; }

/* Round 15: "All machines" tab first (the default view: every category stacked); phones get four equal columns */
[data-tabs] { scroll-margin-top: calc(var(--nav-h) + 70px); }
@media (max-width: 560px) {
  .cat-bar [role='tablist'] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-bar [role='tab'], .cat-bar [role='tab']:first-child { font-size: .8rem; padding-inline: 2px; }
}

/* Equipment: spare-parts panel fills the last row beside a lone card (2026-11-25) */
.pcards > li.eq-spares { grid-column: span var(--s3, 1); display: block; }
.eq-spares > div { height: 100%; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 32px 36px; border-radius: var(--r-lg); border: 1px solid var(--line); background: radial-gradient(120% 140% at 0% 0%, rgb(240 74 54 / .12), transparent 55%), var(--basalt-2); }
.eq-sp-n { margin: 0; font: 700 clamp(3rem, 5vw, 4.4rem)/.9 var(--display); font-stretch: 80%; color: var(--marble); }
.eq-sp-n span { display: block; margin-top: 8px; font: 500 .72rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.eq-spares h3 { margin: 0 0 8px; font: 700 1.25rem/1.2 var(--display); color: var(--marble); }
.eq-spares p:not(.eq-sp-n) { margin: 0 0 18px; color: var(--dust); max-width: 46ch; line-height: 1.55; }
@media (max-width: 900px) { .pcards > li.eq-spares { grid-column: span var(--s2, 2); } }
@media (max-width: 520px) { .eq-spares > div { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; } .eq-sp-n { font-size: 2.8rem; } }

/* Hero headline: one sentence a line (2026-11-25) */
#hero-title > span { display: block; }
#hero-title { max-width: none; font-size: clamp(min(2.4rem, 8.9vw), 5.3vw, 4.8rem); }
#hero-title > span { white-space: nowrap; }
.hero-main .inner { max-width: 720px; }
.hero-main .inner > :not(h1) { max-width: 620px; }
@media (max-width: 860px) { #hero-title { font-size: min(10vw, 4.6rem); } }

/* ---------- Phone and tablet hero (2026-11-26, owner: "looks a bit off", then "make me see it"). Up to 820px the 3D scene
   never runs. No picture here: the poster read as a stock image on a small screen. Instead the site's own language:
   the faint engineering grid behind the text, a soft red heat glow, the HUD facts (est. 1990, Udaipur) as a mono line,
   and a glowing red wire with a spark running along it above the three product ranges. The poster is not downloaded
   below 821px (somani.js). Desktop is unchanged. ---------- */
@media (max-width: 820px) {
  .hero { min-height: 0; isolation: isolate; }
  .hero-canvas, .hero-scrim, .hero-poster { display: none; }
  .hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 85% 8%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 90% 70% at 85% 8%, #000 10%, transparent 75%); }
  .hero::after { content: ''; position: absolute; z-index: -1; pointer-events: none; width: 520px; height: 520px; right: -260px; top: -180px; border-radius: 50%;
    background: radial-gradient(circle, rgb(240 74 54 / .16), rgb(240 74 54 / .05) 40%, transparent 70%); }
  .hero-main { order: 1; flex: none; }
  .hero .eyebrow { align-items: flex-start; line-height: 1.5; border-radius: 16px; }
  .hero .eyebrow .dot { margin-top: 5px; }
  /* The HUD facts as one quiet line, left aligned with the text */
  .hero-hud { order: 2; display: flex; flex-wrap: wrap; gap: 6px 18px; position: static; width: auto; margin: 34px var(--gutter) 0; padding: 0; max-width: 720px; }
  .hero-hud::before { display: none; }
  .hero-hud span, .hud-tl, .hud-tr, .hud-br { position: static; padding: 0; }
  .hud-br::after { display: none; }
  .hud-tr::before, .hud-br::before { content: ""; display: inline-block; width: 12px; height: 1px; margin: 0 12px 0 0; vertical-align: middle; background: var(--edge-2); }
  /* The wire: a glowing red line across the screen with a spark travelling along it */
  .hero-cats { order: 3; margin-top: 16px; padding-top: 22px; }
  .hero-cats::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: linear-gradient(90deg, rgb(240 74 54 / .15), rgb(240 74 54 / .95) 25%, rgb(240 74 54 / .95) 75%, rgb(240 74 54 / .15));
    box-shadow: 0 0 12px 1px rgb(240 74 54 / .5); }
  .hero-cats::after { content: ''; position: absolute; left: 0; top: -2px; width: 70px; height: 5px; border-radius: 3px; pointer-events: none;
    background: radial-gradient(ellipse at 80% 50%, #fff 0, #ffd2c8 18%, rgb(240 74 54 / .9) 40%, transparent 72%);
    filter: drop-shadow(0 0 6px rgb(240 74 54 / .9)); transform: translateX(-80px); animation: wire-spark 4.2s cubic-bezier(.45, .05, .55, .95) 1s infinite; }
}
@media (max-width: 820px) and (prefers-reduced-motion: reduce) { .hero-cats::after { display: none; } }
@keyframes wire-spark { 0% { transform: translateX(-80px); opacity: 0; } 8% { opacity: 1; } 70% { opacity: 1; } 78%, 100% { transform: translateX(calc(100vw + 10px)); opacity: 0; } }
@media (max-width: 560px) { .hero .btn-row .btn { flex: 1 1 100%; justify-content: center; } .hero-hud .hud-br { display: none; } }

/* ---------- Phone and tablet hero, third pass (2026-11-26, owner: "too basic... bold, futuristic"). Behind the heading:
   a line drawing of the wire saw's flywheel (inline SVG from heroHolo() in build-pages.js), turning slowly, with the
   red diamond wire running round its groove and off across the screen behind the headline, a tick ring turning the
   other way and a soft ping from the hub. Transforms and dash offsets only; still under reduced motion. Desktop never
   shows it (the 3D scene is there). ---------- */
.hero-holo { display: none; }
@media (max-width: 820px) {
  .hero-holo { display: block; position: absolute; z-index: -1; pointer-events: none; overflow: visible;
    width: clamp(340px, 108vw, 600px); height: auto; aspect-ratio: 1; top: calc(var(--nav-h) - 50px); right: calc(-1 * clamp(110px, 30vw, 170px));
    fill: none; stroke-linecap: round; animation: holo-in 1.4s var(--ease) both; }
  .hero-holo * { transform-box: view-box; transform-origin: 200px 200px; }
  .holo-halo { stroke: none; }
  .holo-cross { stroke: rgb(255 255 255 / .1); stroke-width: .8; stroke-dasharray: 2 5; }
  .holo-ticks { stroke: rgb(236 237 234 / .42); stroke-width: 1; animation: holo-spin 90s linear infinite reverse; }
  .holo-orbit { stroke: rgb(236 237 234 / .3); stroke-width: 1; stroke-dasharray: 1 7; }
  .holo-wheel { stroke: rgb(236 237 234 / .62); stroke-width: 1.3; animation: holo-spin 18s linear infinite; }
  .holo-wheel path, .holo-wheel circle:nth-of-type(n+3) { stroke: rgb(236 237 234 / .26); }
  .holo-wheel circle:nth-of-type(n+5) { fill: rgb(240 74 54 / .6); stroke: none; }
  .holo-groove { stroke: rgb(240 74 54 / .55); stroke-width: 1.6; }
  .holo-groove-glow { stroke: rgb(240 74 54 / .28); stroke-width: 9; stroke-dasharray: 46 54; animation: holo-run 2.6s linear infinite; }
  .holo-arcs { stroke: rgb(240 74 54 / .75); stroke-width: 2.4; animation: holo-spin 26s linear infinite reverse; }
  .holo-groove-run { stroke: #ffb3a6; stroke-width: 2.6; stroke-dasharray: 46 54; animation: holo-run 2.6s linear infinite; }
  .holo-wire-base { stroke: rgb(240 74 54 / .4); stroke-width: 1.3; }
  .holo-wire-run { stroke: #ff8a78; stroke-width: 2; stroke-dasharray: 30 70; animation: holo-run 2.6s linear infinite; }
  .holo-ping { stroke: rgb(240 74 54 / .7); stroke-width: 1.2; opacity: 0; animation: holo-ping 4.5s var(--ease) 1.2s infinite; }
  /* The heading stays on top and readable: a dark fade behind the text column */
  .hero-main .inner { position: relative; }
  .hero-main .inner::before { content: ''; position: absolute; z-index: -1; inset: -40px -30px -20px calc(-1 * var(--gutter)); pointer-events: none;
    background: radial-gradient(ellipse 100% 58% at 30% 60%, rgb(13 14 15 / .82), rgb(13 14 15 / .55) 60%, transparent 92%); }
}
@media (min-width: 561px) and (max-width: 820px) { .hero-holo { width: 470px; right: -110px; top: calc(var(--nav-h) - 40px); } }
@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
  .hero-holo, .holo-ticks, .holo-wheel, .holo-groove-run, .holo-groove-glow, .holo-arcs, .holo-wire-run { animation: none; }
  .holo-ping { display: none; }
}
@keyframes holo-spin { to { transform: rotate(360deg); } }
@keyframes holo-run { to { stroke-dashoffset: -100; } }
@keyframes holo-ping { 0% { transform: scale(.25); opacity: .9; } 70%, 100% { transform: scale(1.3); opacity: 0; } }
@keyframes holo-in { from { opacity: 0; transform: scale(.92) rotate(-8deg); } to { opacity: 1; transform: none; } }

/* ---------- Contact details (2026-11-26, owner): both phone numbers on every machine page; one office and two
   factories on the contact page, each with its own map link. ---------- */
.btn-call svg { width: 1.05em; height: 1.05em; flex: none; color: var(--red); }
.office .link-arrow { justify-self: start; margin-top: 8px; font-size: .9rem; }
@media (max-width: 560px) {
  .pp-copy .btn-row { gap: 10px; }
  .pp-copy .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  .pp-copy .btn-row .btn-call { flex: 1 1 0; min-width: 0; gap: 6px; padding-inline: 8px; font-size: clamp(.78rem, 3.6vw, .9rem); white-space: nowrap; }
}
