/* =========================================================================
   SCHMOLL ASIA PACIFIC — Design System
   Precision-engineering aesthetic. Official Schmoll Maschinen palette.
   Type: Jost (display, uppercase) + Roboto Slab (body) + Roboto Mono (labels)
   ========================================================================= */

:root {
  /* Brand */
  --red: #C11819;
  --red-dark: #9d1314;
  --blue: #2C55A3;
  --blue-dark: #234582;

  /* Neutral ramp (from official color guide) */
  --ink: #1a1a1a;
  --grey-900: #333333;
  --grey-700: #4D4D4D;
  --grey-500: #7F8080;
  --grey-400: #B3B3B3;
  --grey-300: #D9D9D9;
  --grey-200: #E5E5E5;
  --grey-100: #F2F2F2;
  --grey-50:  #FAFAFA;
  --white: #FFFFFF;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--grey-50);
  --bg-dark: #141414;
  --text: var(--grey-900);
  --text-soft: var(--grey-700);
  --text-mute: var(--grey-500);
  --line: var(--grey-200);
  --line-dark: rgba(255,255,255,.12);

  /* Type */
  --font-display: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Roboto Slab", Georgia, serif;
  --font-mono: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Rhythm */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 80px);
  --section-y: clamp(72px, 10vw, 160px);
  --radius: 2px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ----- Type scale ----- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.04;
  color: var(--grey-900);
}
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.05rem; letter-spacing: .04em; }
p { color: var(--text-soft); }
strong { color: var(--grey-900); font-weight: 700; }

/* Eyebrow / technical micro-label */
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .22em;
  color: var(--red);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow--mute { color: var(--grey-500); }

/* ----- Layout ----- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--grey-300); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: var(--grey-400); }
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-soft); max-width: 60ch; }

/* Section header block */
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .eyebrow { margin-bottom: 20px; }
.sec-head h2 { margin-bottom: 18px; }

/* ----- Buttons ----- */
.btn {
  --bg: var(--red);
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .06em;
  font-size: .82rem;
  padding: 15px 28px;
  background: var(--bg);
  color: #fff;
  border: 1px solid var(--bg);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--grey-900); border-color: var(--grey-300); }
.btn--ghost:hover { background: var(--grey-900); border-color: var(--grey-900); color: #fff; }
.btn--light { background: #fff; color: var(--grey-900); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; }
.btn--lg { padding: 18px 34px; font-size: .9rem; }

/* Text link with arrow */
.tlink {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--grey-900); font-weight: 500;
  display: inline-flex; align-items: center; gap: .6em;
  border-bottom: 1px solid var(--grey-300); padding-bottom: 4px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.tlink:hover { color: var(--red); border-color: var(--red); }

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 4px solid var(--red);
}
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 92px; gap: 24px; }
.nav__right { display: flex; align-items: center; gap: 14px; justify-self: end; margin-right: calc(-1 * var(--gutter) + 8px); }
.nav .menu { justify-self: center; }
.nav .logo { justify-self: start; margin-left: calc(-1 * var(--gutter) + 8px); }

/* Logo — official Schmoll Asia Pacific wordmark (image) */
.logo { display: flex; align-items: center; gap: 6px; flex: none; }
.logo-img { height: 58px; width: auto; max-width: none; display: block; flex: none; }
.site-footer .logo-img { height: 54px; }
@media (max-width: 480px){ .logo-img { height: 46px; } }
.logo__word { font-family: var(--font-display); text-transform: lowercase; font-weight: 500; font-size: 1.2rem; letter-spacing: .05em; color: var(--grey-700); line-height: 1; white-space: nowrap; }
.logo__fid { width: 22px; height: 34px; flex: none; }
.site-footer .logo__word { color: #e8e8e8; }
@media (max-width: 380px){ .logo__word { font-size: 1rem; letter-spacing: .03em; } }

/* Primary menu */
.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: .82rem; font-weight: 500; letter-spacing: .05em;
  color: var(--grey-900); background: none; border: 0;
  padding: 10px 14px; display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s var(--ease);
}
.menu > li > a:hover, .menu > li > button:hover, .menu > li.is-open > button { color: var(--red); }
.menu .caret { width: 9px; height: 9px; transition: transform .25s var(--ease); }
.menu li.is-open .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.25);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.menu li.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  font-family: var(--font-body); font-size: .92rem; color: var(--text-soft);
  border-radius: var(--radius); transition: background .18s, color .18s;
}
.dropdown a::before { content: "+"; font-family: var(--font-mono); color: var(--grey-400); font-size: .8rem; }
.dropdown a:hover { background: var(--grey-50); color: var(--red); }
.dropdown a:hover::before { color: var(--red); }

/* Language switcher — globe icon in brand red */
.lang { position: relative; display: inline-flex; }
.lang__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; color: var(--red);
  border: 0; background: none; border-radius: var(--radius);
  cursor: pointer; transition: color .2s, transform .2s;
}
.lang__btn svg { width: 24px; height: 24px; }
.lang__btn:hover { color: var(--red-dark, #9c1314); transform: scale(1.08); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.25); padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; background: none; border: 0; border-radius: var(--radius);
  font-family: var(--font-body); font-size: .9rem; color: var(--text-soft);
  transition: background .16s, color .16s;
}
.lang__menu button:hover { background: var(--grey-50); color: var(--red); }
.lang__menu button[aria-current="true"] { color: var(--red); }
.lang__menu button span { font-family: var(--font-mono); font-size: .68rem; color: var(--grey-400); letter-spacing: .1em; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--grey-900); transition: transform .3s var(--ease), opacity .3s; }
.nav.is-mobile-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-mobile-open .burger span:nth-child(2) { opacity: 0; }
.nav.is-mobile-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; background: var(--bg-dark); color: #fff; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media > img:not(.hero__slide) { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
/* Slideshow */
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.02);
  transition: opacity 1.6s var(--ease);
  will-change: opacity;
}
.hero__slide.is-active { opacity: 1; animation: heroKen 8s ease-out forwards; }
@keyframes heroKen { from { transform: scale(1.02); } to { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: opacity .4s linear; }
  .hero__slide.is-active { animation: none; transform: none; }
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(10,10,10,.9) 6%, rgba(10,10,10,.62) 34%, rgba(10,10,10,.28) 58%, rgba(10,10,10,.06) 82%, rgba(10,10,10,0)),
    linear-gradient(0deg, rgba(10,10,10,.35), rgba(10,10,10,0) 32%);
}
.hero__inner { position: relative; padding-block: clamp(90px, 16vw, 200px); max-width: 940px; }
.hero h1 { color: #fff; margin: 22px 0 24px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero__sub { font-size: clamp(1.1rem, 1.8vw, 1.45rem); color: var(--grey-300); max-width: 48ch; margin-bottom: 40px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Animated technical grid overlay */
.hero__grid { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(120% 90% at 30% 30%, #000 30%, transparent 80%);
  animation: gridDrift 24s linear infinite; }
@keyframes gridDrift { to { background-position: 64px 64px; } }
/* Scanning drill line */
.hero__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(193,24,25,.9) 50%, transparent);
  box-shadow: 0 0 24px 2px rgba(193,24,25,.5); animation: scan 6s ease-in-out infinite; }
@keyframes scan { 0%,100% { top: 8%; opacity: 0; } 10% { opacity: 1; } 50% { top: 88%; opacity: 1; } 60%{opacity:0;} }
/* Animated crosshair that draws onto a target */
.hero__target { position: absolute; right: 7%; top: 26%; width: 130px; height: 130px; z-index: -1; opacity: .85; }
.hero__target circle, .hero__target line { stroke: var(--red); fill: none; stroke-width: 2; }
.hero__target .ring { stroke-dasharray: 360; stroke-dashoffset: 360; animation: draw 2.4s var(--ease) .4s forwards; }
.hero__target .tick { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 1s var(--ease) 1.4s forwards; }
.hero__target .spin { transform-origin: center; animation: spin 12s linear infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Fiducial crosshair decoration */
.fiducial { position: absolute; width: 64px; height: 64px; pointer-events: none; opacity: .5; }
.fiducial::before, .fiducial::after { content: ""; position: absolute; background: var(--red); }
.fiducial::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.fiducial::after { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-50%); }

/* Hero stats / ticker */
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 72px); margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.stat { }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 3rem); color: #fff; line-height: 1; }
.stat__num span { color: var(--red); }
.stat__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-500); margin-top: 10px; }

/* =========================================================================
   EXHIBITIONS TICKER
   ========================================================================= */
.exhibits { background: var(--red); color: #fff; }
.exhibits__inner { display: flex; align-items: stretch; gap: 0; padding-block: 0; position: relative; }
.exhibits__label {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; white-space: nowrap; flex: none; display: flex; align-items: center; gap: 12px;
  position: relative; z-index: 2; background: var(--bg-dark);
  margin-left: calc(-1 * var(--gutter)); padding: 18px 32px 18px var(--gutter);
}
.exhibits__label svg { width: 13px; height: 13px; }
.exhibits__label::before { content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: 100vw; background: var(--bg-dark); }
.exhibits__label svg { color: var(--red); }
.exhibits__viewport { flex: 1 1 auto; overflow: hidden; position: relative; z-index: 1; padding-block: 18px; margin-left: 34px; }
.exhibits__track { display: flex; width: max-content; gap: 48px; animation: marquee 40s linear infinite; white-space: nowrap; }
.exhibits:hover .exhibits__track { animation-play-state: paused; }
.exhibits__item { font-family: var(--font-display); text-transform: uppercase; font-size: .92rem; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; transition: opacity .2s var(--ease); }
.exhibits__item:hover { opacity: .72; }
.exhibits__item:hover b { text-decoration: underline; text-underline-offset: 3px; }
.exhibits__item b { font-weight: 700; }
.exhibits__item span { font-family: var(--font-mono); font-size: .76rem; opacity: .8; letter-spacing: .06em; }
.exhibits__item::after { content: "◇"; margin-left: 36px; opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================================
   EXHIBITION BOARD — "Where to Find Us"
   ========================================================================= */
.exboard { overflow: hidden; isolation: isolate; border-top: 3px solid var(--red); }
.exboard__grid { z-index: 0; mask-image: radial-gradient(120% 120% at 80% 0%, #000 25%, transparent 75%); }
.exboard .hero__scan { z-index: 0; }
.exboard__head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: clamp(24px, 5vw, 70px); align-items: end; max-width: none; }
.exboard__head .lead { margin: 0; }
@media (max-width: 820px){ .exboard__head { grid-template-columns: 1fr; gap: 18px; } }

.exlist { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.12); }
.exrow { border-bottom: 1px solid rgba(255,255,255,.12); }
.exrow__link {
  display: grid; grid-template-columns: 130px 1fr auto 56px; align-items: center;
  gap: clamp(16px, 3vw, 44px); padding: clamp(20px, 2.6vw, 30px) 8px;
  text-decoration: none; color: #fff; position: relative; isolation: isolate;
}
/* red wipe that scans in from the left on hover */
.exrow__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, rgba(193,24,25,.16), transparent 70%);
  transition: transform .5s var(--ease);
}
.exrow__link:hover::before, .exrow__link:focus-visible::before { transform: scaleX(1); }

.exrow__date { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; border-left: 2px solid var(--red); padding-left: 16px; }
.exrow__date b { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.01em; color: #fff; }
.exrow__date i { font-family: var(--font-mono); font-style: normal; text-transform: uppercase; font-size: .72rem; letter-spacing: .22em; color: var(--red); margin-top: 8px; }

.exrow__main { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.exrow__flag { align-self: flex-start; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; background: var(--red); padding: 3px 9px; border-radius: 2px; margin-bottom: 3px; }
.exrow__name { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.85rem); letter-spacing: .02em; color: #fff; transition: color .25s var(--ease); }
.exrow__link:hover .exrow__name { color: var(--red); }
.exrow__full { font-family: var(--font-body); font-size: .92rem; color: var(--grey-400); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.exrow__loc { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; color: var(--grey-300); white-space: nowrap; }
.exrow__loc svg { width: 15px; height: 17px; color: var(--red); flex: none; }

.exrow__go { justify-self: end; }
.exrow__go svg { width: 40px; height: 40px; color: var(--grey-400); fill: none; stroke: currentColor; stroke-width: 1.4; transition: color .3s var(--ease), transform .4s var(--ease); }
.exrow__go .exrow__ring { stroke: rgba(255,255,255,.25); transition: stroke .3s var(--ease); transform-box: fill-box; transform-origin: center; }
.exrow__link:hover .exrow__go svg { color: #fff; transform: rotate(90deg); }
.exrow__link:hover .exrow__go .exrow__ring { stroke: var(--red); }

@media (max-width: 680px){
  .exrow__link { grid-template-columns: 92px 1fr 44px; row-gap: 6px; }
  .exrow__loc { grid-column: 2 / 3; }
  .exrow__go { grid-row: 1 / 3; grid-column: 3; }
  .exrow__full { white-space: normal; }
}

/* =========================================================================
   PRODUCT GRID
   ========================================================================= */
.prod-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.prod-card {
  grid-column: span 4; background: #fff; padding: 34px 30px 30px; position: relative;
  display: flex; flex-direction: column; min-height: 260px;
  transition: background .3s var(--ease);
}
.prod-card:hover { background: var(--grey-50); }
.prod-card__no { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: var(--grey-400); }
.prod-card h3 { margin: 16px 0 6px; transition: color .25s var(--ease); }
.prod-card:hover h3 { color: var(--red); }
.prod-card__cat { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.prod-card p { font-size: .94rem; color: var(--text-mute); }
.prod-card__arrow { margin-top: auto; padding-top: 22px; color: var(--grey-400); transition: color .25s, transform .25s var(--ease); }
.prod-card:hover .prod-card__arrow { color: var(--red); transform: translateX(6px); }
.prod-card--wide { grid-column: span 8; }
.prod-card--feature { grid-column: span 4; grid-row: span 2; background: var(--bg-dark); color: #fff; }
.prod-card--feature h3, .prod-card--feature .prod-card__no { color: #fff; }
.prod-card--feature p { color: var(--grey-400); }

/* =========================================================================
   PRODUCT CARDS (image)
   ========================================================================= */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(16px, 2vw, 26px); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.pcard:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -28px rgba(0,0,0,.35); border-color: var(--grey-300); }
.pcard__img { position: relative; aspect-ratio: 5/4; overflow: hidden; background: var(--grey-100); border-bottom: 1px solid var(--line); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transition: transform .7s var(--ease); }
/* clean machine renders sit on a dark studio backdrop, shown in full */
.pcard__img--render { aspect-ratio: 3 / 2; background: radial-gradient(120% 100% at 50% 35%, #2c2c30 0%, #141416 70%); border-bottom-color: #1f1f22; display: flex; align-items: center; justify-content: center; padding: clamp(22px, 5%, 48px); }
.pcard__img--render img { max-width: 92%; max-height: 84%; width: auto; height: auto; object-fit: contain !important; }
.pcard:hover .pcard__img--render img { transform: scale(1.05); }
.pcard:hover .pcard__img img { transform: scale(1.07); }
.pcard__cat { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--red); padding: 5px 9px; border-radius: 2px; }
.pcard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard__no { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; color: var(--grey-400); }
.pcard h3 { margin: 8px 0 8px; font-size: 1.3rem; transition: color .25s; }
.pcard:hover h3 { color: var(--red); }
.pcard p { font-size: .9rem; color: var(--text-mute); }
.pcard__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; }
.pcard__foot .tlink { border: 0; padding: 0; }
.pcard__arrow { color: var(--grey-400); transition: color .25s, transform .25s var(--ease); }
.pcard:hover .pcard__arrow { color: var(--red); transform: translateX(5px); }

/* =========================================================================
   BROCHURE FLIP GRID (homepage products) — A4 sheets, flip on hover
   ========================================================================= */
/* PCB signal lines — after schmoll-maschinen.de's pathAnimation (built by main.js):
   horizontal traces with 45° jogs draw in on view; a red dot travels each route. */
#products { overflow: hidden; }
#products > .container { position: relative; z-index: 1; }
.pcb-lines { position: absolute; left: 0; right: 0; width: 100%; pointer-events: none; display: none; }
@media (min-width: 1024px) { .pcb-lines { display: block; } }
.pcb-lines--head { top: 34px; }
/* Fixed board-artwork layer revealed under the cursor (built by main.js) */
.pcb-pattern { display: none; }
@media (hover: hover) and (min-width: 1024px) {
  .pcb-pattern {
    display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: url(/wp-content/plugins/schmoll-assets-3/img/pcb-pattern.png);
    opacity: 0; transition: opacity .5s ease-out;
    -webkit-mask: radial-gradient(#000 0%, rgba(0, 0, 0, .25) 40%, rgba(0, 0, 0, .1) 50%, transparent 70%) center center / 576px 576px no-repeat;
            mask: radial-gradient(#000 0%, rgba(0, 0, 0, .25) 40%, rgba(0, 0, 0, .1) 50%, transparent 70%) center center / 576px 576px no-repeat;
  }
  .pcb-pattern.is--visible { opacity: .1; }
}
.pcb-line {
  fill: none; stroke: rgba(0, 0, 0, .15); stroke-width: 2;
  transition: stroke-dashoffset 1.5s cubic-bezier(.3, .1, .25, 1);
}
.pcb-dot { fill: hsl(0 0% 90%); opacity: 0; transition: opacity .5s ease-out; }
.pcb-dot--end { fill: rgba(0, 0, 0, .15); }
.pcb-dot--red { fill: var(--red); }
.is-drawn .pcb-dot { opacity: 1; }

.bro-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(34px, 3.8vw, 54px) clamp(26px, 3vw, 44px); padding-top: 14px;
}
/* 3-3-3-1 — a lone card on the last row sits centered */
.bro-grid > .bro-item:last-child:nth-child(3n + 1) { grid-column: 2; }
@media (max-width: 920px){
  .bro-grid { grid-template-columns: repeat(2, 1fr); }
  .bro-grid > .bro-item:last-child:nth-child(3n + 1) { grid-column: auto; }
}
@media (max-width: 540px){ .bro-grid { grid-template-columns: 1fr; } }

/* the sheet — A4 ratio, 3D flip */
.bro-card { position: relative; aspect-ratio: 1 / 1.414; perspective: 1500px; cursor: pointer; }
.bro-card:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
/* print registration marks — fixed to the press table, not the sheet */
.bro-card::before, .bro-card::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none; opacity: .55;
  background:
    linear-gradient(var(--grey-400), var(--grey-400)) center/1px 100% no-repeat,
    linear-gradient(var(--grey-400), var(--grey-400)) center/100% 1px no-repeat;
}
.bro-card::before { top: -11px; left: -11px; }
.bro-card::after { bottom: -11px; right: -11px; }
.bro-card__inner {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transition: transform .85s cubic-bezier(.2, .7, .25, 1);
}
.bro-item.is-flipped .bro-card__inner { transform: rotateY(-180deg); }
.bro-item.is-flipped .bro-face--front { pointer-events: none; }
.bro-face {
  position: absolute; inset: 0; overflow: hidden; background: #fff;
  border: 1px solid var(--line); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 34px 60px -36px rgba(0,0,0,.45);
}
.bro-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bro-face--back { transform: rotateY(180deg); }
/* meta row under the sheet */
.bro-item__meta { margin-top: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.bro-item__idx { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.bro-item__name { display: inline-block; margin-top: 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; letter-spacing: .01em; color: var(--grey-900); transition: color .25s; }
.bro-item__name:hover { color: var(--red); }
.bro-item__pdf {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--red); border: 1px solid var(--red); border-radius: 2px; padding: 10px 14px;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.bro-item__pdf svg { width: 14px; height: 14px; }
.bro-item__pdf:hover { background: #e04243; border-color: #e04243; transform: scale(1.07); }

/* =========================================================================
   PRODUCT DETAIL
   ========================================================================= */
.pd-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.pd-figure { position: relative; border: 1px solid var(--line); background: radial-gradient(120% 100% at 50% 35%, #2c2c30 0%, #141416 70%); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; padding: 18px; }
.pd-figure img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .6s var(--ease); }
.pd-figure:hover img { transform: scale(1.03); }
.pd-figure__tag { position: absolute; top: 14px; left: 14px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(20,20,20,.7); padding: 6px 10px; border-radius: 2px; }
.pd-cat { color: var(--red); }
.pd-tagline { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--text-soft); margin: 16px 0 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tag { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-700); border: 1px solid var(--line); padding: 6px 11px; border-radius: 2px; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Feature chips */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: #fff; padding: 20px 22px; display: flex; gap: 12px; align-items: flex-start; }
.feature svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 3px; }
.feature span { font-size: .92rem; color: var(--text-soft); }

/* Spec table */
.spec { width: 100%; border-collapse: collapse; border: 1px solid var(--line); background: #fff; }
.spec th { text-align: left; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-500); padding: 14px 20px; width: 38%; vertical-align: top; border-bottom: 1px solid var(--line); background: var(--grey-50); }
.spec td { padding: 14px 20px; font-size: .94rem; color: var(--grey-900); border-bottom: 1px solid var(--line); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }

/* =========================================================================
   VIDEO GRID
   ========================================================================= */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.video-card--feature { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.video-card--feature video { flex: 1; aspect-ratio: auto; min-height: 0; }
.video-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.video-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -18px rgba(20, 20, 20, .28); }
.video-card video { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: var(--grey-100); }
.video-card__cap {
  background: #fff; padding: 16px 20px; font-family: var(--font-mono); font-size: .76rem;
  letter-spacing: .06em; color: var(--grey-700); text-transform: uppercase;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}

/* =========================================================================
   GALLERY
   ========================================================================= */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery a { overflow: hidden; border-radius: var(--radius); cursor: zoom-in; position: relative; background: var(--grey-100); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery a:hover img { transform: scale(1.08); }
.gallery a.span2 { grid-column: span 2; grid-row: span 2; }
.gallery a.tall { grid-row: span 2; }
@media (max-width: 860px){ .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } .gallery a.span2 { grid-column: span 2; } .pd-hero { grid-template-columns: 1fr; } }

/* =========================================================================
   APPLICATIONS
   ========================================================================= */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.app-card { background: #fff; padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; transition: background .3s, color .3s; }
.app-card:hover { background: var(--grey-900); color: #fff; }
.app-card__icon { width: 38px; height: 38px; color: var(--red); }
.app-card:hover .app-card__icon { color: #fff; }
.app-card h3 { font-size: 1.15rem; transition: color .3s; }
.app-card:hover h3 { color: #fff; }
.app-card p { font-size: .9rem; color: var(--text-mute); transition: color .3s; }
.app-card:hover p { color: var(--grey-400); }

/* =========================================================================
   SERVICES (split)
   ========================================================================= */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.svc-item { background: var(--bg-dark); padding: 40px 36px; position: relative; }
.svc-item__no { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: var(--red); }
.svc-item h3 { color: #fff; margin: 16px 0 10px; }
.svc-item p { color: var(--grey-400); font-size: .94rem; }

/* =========================================================================
   TIMELINE
   ========================================================================= */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding: 22px 0 22px 40px; border-bottom: 1px dashed var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: baseline; }
.tl-item:last-child { border-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -4px; top: 30px; width: 9px; height: 9px; background: var(--red); border-radius: 50%; }
.tl-year { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--grey-900); }
.tl-text { color: var(--text-soft); }



/* Continuous rail across the tops, with a drill-via node per milestone */

/* Image mounted as a white archive print, caption on the dark board */

/* =========================================================================
   TEAM
   ========================================================================= */
.lead-card { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.lead-card__cell { background: #fff; padding: clamp(28px, 4vw, 48px); }
.lead-card__role { color: var(--red); }
.lead-card h3 { margin: 14px 0 16px; }
.lead-card blockquote { font-size: 1.15rem; color: var(--grey-700); border-left: 2px solid var(--red); padding-left: 22px; font-style: italic; }
.roster { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 1px; }
.roster__item { background: #fff; padding: 24px 22px; flex: 1 1 220px; }
.roster__item b { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1rem; color: var(--grey-900); letter-spacing: .02em; }
.roster__item span { font-size: .85rem; color: var(--text-mute); }
.roster__group { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 48px 0 18px; }

/* Leadership feature card photos */
.lead-card__cell { display: flex; flex-direction: column; }
.lead-card__photo { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: center 22%; margin: 0 0 22px; border-radius: 2px; }

/* CEO — large individual sections */
.ceo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.ceo + .ceo { margin-top: clamp(56px, 8vw, 110px); }
.ceo--flip .ceo__media { order: 2; }
.ceo__media { position: relative; }
.ceo__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; display: block; }
.ceo__media::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 120px; height: 120px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); pointer-events: none; }
.ceo__role { color: var(--red); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; display: block; margin-bottom: 14px; }
.ceo__name { font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1; color: var(--grey-900); margin: 0 0 20px; text-transform: uppercase; letter-spacing: .01em; }
.ceo__lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--grey-700); }
.ceo__body p { color: var(--text-soft); margin-bottom: 14px; max-width: 60ch; }
.ceo__body blockquote { border-left: 2px solid var(--red); padding-left: 22px; font-style: italic; color: var(--grey-700); margin-bottom: 14px; }
.ceo__sign { margin-top: 22px; display: flex; align-items: center; gap: 18px; }
.ceo__sign img { height: 68px; width: auto; }
.ceo__sign span { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-400); }
@media (max-width: 820px){
  .ceo { grid-template-columns: 1fr; gap: 26px; }
  .ceo--flip .ceo__media { order: 0; }
  .ceo__media { max-width: 420px; }
}

/* Team photo grid */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: 4px; }
.team-card { background: #fff; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 10px 28px -22px rgba(0,0,0,.4); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(0,0,0,.5); }
.team-card__img { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.team-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.team-card:hover .team-card__img img { transform: scale(1.05); }
.team-card__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.team-card:hover .team-card__bar { transform: scaleX(1); }
.team-card__body { padding: 16px 14px 20px; text-align: center; }
.team-card__body b { display: block; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .01em; color: var(--grey-900); }
.team-card__body span { display: block; margin-top: 5px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--red); line-height: 1.4; }

/* =========================================================================
   GLOBE — interactive global presence
   ========================================================================= */
.globe-sec { position: relative; z-index: 5; }
.globe-sec.section { padding-block: clamp(22px, 3vw, 40px); }
.globe-sec .sec-head { margin-bottom: clamp(10px, 1.5vw, 18px); }
.globe-sec .sec-head h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.globe-sec .sec-head .lead { font-size: .98rem; }
/* globe centered on the page; legend floats to its left */
.globe-wrap { position: relative; display: block; }
#globeViz {
  width: min(100%, 940px); margin-left: auto; margin-right: clamp(-120px, -6vw, 0px);
  min-height: 400px; height: clamp(400px, 58vh, 560px); cursor: grab;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;  /* canvas is rendered taller than this box so sphere + aura bleed over the sections */
}
#globeViz:active { cursor: grabbing; }
#globeViz canvas { display: block; flex: none; }
.globe-legend {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 230px;
}
.globe-legend__item { display: flex; align-items: flex-start; gap: 12px; }
.globe-legend__dot { width: 13px; height: 13px; flex: none; margin-top: 3px; }
.globe-legend__dot--ap { border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px rgba(255,255,255,.7), 0 0 10px 1px rgba(193,24,25,.7); }
.globe-legend__dot--office { width: 12px; height: 12px; border-radius: 2px; background: #fff; transform: rotate(45deg); box-shadow: 0 0 0 2px var(--red); margin-top: 4px; }
.globe-legend__t b { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: .86rem; letter-spacing: .03em; color: #fff; }
.globe-legend__t span { font-size: .78rem; color: var(--grey-400); }
/* Globe pins — always-visible dot markers; office name pops up only on hover */
.gpin { pointer-events: none; user-select: none; }
.gpin__hit { pointer-events: auto; cursor: pointer; text-decoration: none; position: relative; display: block; width: 16px; height: 16px; }
/* Asia Pacific office — solid red circle */
.gpin__dot { position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 0 10px 2px rgba(255,60,50,.85); transition: transform .18s var(--ease), background .18s var(--ease); }
.gpin__hit:hover .gpin__dot { background: #fff; transform: scale(1.25); }
/* Schmoll Group office (Germany HQ, America) — white diamond, clearly distinct */
.gpin--hq .gpin__dot { width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 2px; background: #fff; transform: rotate(45deg); box-shadow: 0 0 0 2.5px var(--red), 0 0 10px 2px rgba(255,255,255,.55); }
.gpin--hq .gpin__hit:hover .gpin__dot { background: #fff; transform: rotate(45deg) scale(1.22); }
.gpin__label { position: absolute; left: 50%; bottom: calc(50% + 16px); transform: translate(-50%, 6px); opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), transform .18s var(--ease); background: #141414; color: #fff; border: 1px solid rgba(255,255,255,.2); font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; padding: 5px 11px; border-radius: 3px; white-space: nowrap; box-shadow: 0 12px 26px rgba(0,0,0,.6); }
.gpin__label::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: #141414; }
.gpin__hit:hover .gpin__label { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (max-width: 1080px){
  .globe-legend { position: static; transform: none; flex-direction: row; flex-wrap: wrap; gap: 14px 28px; max-width: none; margin-bottom: 18px; }
  #globeViz { margin-inline: auto; }
}

/* =========================================================================
   CONTACT / OFFICES
   ========================================================================= */
.office-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; padding: 1px; }
.office-grid .office { outline: 1px solid var(--line); }
.office { background: #fff; padding: 30px 28px; scroll-margin-top: 110px; }
.office:target { box-shadow: inset 0 0 0 2px var(--red); animation: officeFlash 1.8s var(--ease); }
@keyframes officeFlash { 0% { box-shadow: inset 0 0 0 2px var(--red), 0 0 0 6px rgba(193,24,25,.28); } 100% { box-shadow: inset 0 0 0 2px var(--red), 0 0 0 6px rgba(193,24,25,0); } }
.office__region { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.office__region > svg { width: 13px; height: 13px; flex: none; }
.office h3 { font-size: 1.05rem; margin-bottom: 14px; }
.office__row { display: flex; gap: 10px; font-size: .9rem; color: var(--text-soft); margin-bottom: 8px; align-items: flex-start; }
.office__row svg { width: 15px; height: 15px; color: var(--grey-400); flex: none; margin-top: 4px; }
.office--soon { opacity: .6; }
.badge-soon { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; background: var(--grey-200); color: var(--grey-700); padding: 2px 7px; border-radius: 2px; }

/* =========================================================================
   FORM
   ========================================================================= */
.form { display: grid; gap: 18px; max-width: 520px; }
.form__row { display: grid; gap: 8px; }
.form label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-500); }
.form input, .form textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--grey-900);
  padding: 14px 16px; border: 1px solid var(--grey-300); border-radius: var(--radius);
  background: #fff; transition: border-color .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--red); }
.form textarea { min-height: 120px; resize: vertical; }
.form__note { font-family: var(--font-mono); font-size: .72rem; color: var(--grey-400); letter-spacing: .04em; }
.section--dark .form input, .section--dark .form textarea { background: #1d1d1d; border-color: #333; color: #fff; }

/* CTA band */
.cta-band { background: var(--bg-dark); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--grey-400); margin: 14px auto 30px; max-width: 46ch; }

/* =========================================================================
   FOOTER — the exact #4D4D4D ground used by schmoll-maschinen.de, with one
   quiet routed net at the top edge as the sole PCB reference.
   ========================================================================= */
.site-footer { position: relative; overflow: hidden; background: #4D4D4D; color: var(--grey-300); padding-block: clamp(82px,9vw,132px) 30px; }
.site-footer .container { position: relative; z-index: 1; }

.footer-pcb { position: absolute; top: 0; left: 0; width: 100%; height: 6.6667vw; min-height: 28px; max-height: 128px; pointer-events: none; }
.footer-pcb__trace { stroke: rgba(255,255,255,.16); stroke-width: 1; vector-effect: non-scaling-stroke; }
.footer-pcb__signal {
  stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: .8 99.2; animation: footerSignal 12s linear infinite;
  filter: drop-shadow(0 0 3px rgba(193,24,25,.65));
}
.footer-pcb__via-ring { fill: #4D4D4D; stroke: rgba(255,255,255,.34); stroke-width: 1.5; }
.footer-pcb__via-hole { fill: #3B3B3B; stroke: var(--red); stroke-width: 1; }
@keyframes footerSignal { to { stroke-dashoffset: -100; } }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.15fr; gap: clamp(32px,5vw,64px); padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.16); }
.footer-brand__word { height: 46px; width: auto; }
.footer-brand__tag { margin-top: 22px; max-width: 32ch; font-size: .92rem; line-height: 1.7; color: var(--grey-300); }
.footer-wechat { margin-top: 28px; }
.footer-wechat img { display: block; margin-top: 12px; background: #fff; padding: 6px; width: 92px; height: 92px; }
.footer-tick { display: block; color: #fff; font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col a { display: block; padding: 7px 0; font-size: .92rem; color: var(--grey-300); transition: color .2s, transform .2s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-col .footer-mail { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .01em; overflow-wrap: anywhere; }
.footer-col .footer-mail:first-of-type { margin-top: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 22px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; color: var(--grey-300); }

@media (prefers-reduced-motion: reduce) { .footer-pcb__signal { animation: none; } }

/* =========================================================================
   LIGHTBOX
   ========================================================================= */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,10,.92); display: flex; align-items: center; justify-content: center; padding: 5vw; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; cursor: zoom-out; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__x { position: absolute; top: 24px; right: 30px; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; opacity: .8; }
.lightbox__x:hover { opacity: 1; color: var(--red); }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* =========================================================================
   PAGE BANNER (interior pages)
   ========================================================================= */
.page-banner { background: var(--bg-dark); color: #fff; padding-block: clamp(80px, 12vw, 150px) clamp(50px, 7vw, 90px); position: relative; overflow: hidden; }
.page-banner__media { position: absolute; inset: 0; z-index: 0; }
.page-banner__media img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.page-banner__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(20,20,20,.06), rgba(20,20,20,.5)); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; }
/* Team page: slightly taller block */
.page-banner--team { padding-block: clamp(110px, 15vw, 195px) clamp(75px, 9vw, 120px); }
/* About: title rides high over the clean upper area; group sits lower in a taller block */
.breadcrumb { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 22px; display: flex; gap: 10px; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--grey-700); }
.breadcrumb span:last-child { color: var(--red); }

/* Prose */
.prose p { margin-bottom: 1.2em; max-width: 68ch; }
.prose h2 { margin: 1.6em 0 .6em; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .prod-card, .prod-card--wide, .prod-card--feature { grid-column: span 6; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 48px; }
}
@media (max-width: 860px) {
  .burger { display: flex; }
  .menu, .nav__connect { display: none; }
  .nav__right { gap: 10px; }
  .menu {
    position: fixed; inset: 92px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 28px; gap: 0;
    max-height: calc(100vh - 76px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  }
  .nav.is-mobile-open .menu { display: flex; transform: none; opacity: 1; visibility: visible; }
  .menu > li > a, .menu > li > button { padding: 16px 0; font-size: 1rem; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-bottom: 1px solid var(--line); padding: 0 0 12px 14px; min-width: 0; display: none; }
  .menu li.is-open .dropdown { display: block; }
  .svc-list, .lead-card { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 80px 1fr; gap: 14px; }
  .hero__stats { gap: 28px; }
}
/* =========================================================================
   SITE-WIDE MOBILE ADAPTATIONS
   ========================================================================= */
@media (max-width: 760px) {
  /* Every inline two-column .grid block (contact, mission, alternating
     sections across all pages) collapses to a single column. !important is
     required to beat the inline grid-template-columns. */
  .grid { grid-template-columns: 1fr !important; }
  .grid > * { min-width: 0; }
  /* 3D globe: centered, no side bleed, legend lifted above it */
  #globeViz { margin-left: auto !important; margin-right: auto !important; height: clamp(300px, 52vh, 430px); min-height: 300px; }
  .globe-legend { position: static; transform: none; flex-direction: row; flex-wrap: wrap; max-width: none; gap: 14px 24px; margin-bottom: 16px; }
  .globe-wrap { text-align: center; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .prod-card, .prod-card--wide, .prod-card--feature { grid-column: span 12; }
  .site-footer { padding-top: 72px; }
}

/* =========================================================================
   NEWS / BLOG / LINKEDIN
   ========================================================================= */
/* Dateline stamp (news tiles, LinkedIn tiles, article pages) */
.news-card__meta {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--grey-500);
  display: inline-flex; align-items: center; gap: 10px;
}

/* LinkedIn header row */
.li-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; margin-bottom: clamp(36px, 5vw, 56px); flex-wrap: wrap;
}

/* =========================================================================
   PRECISION MEDIA HUB
   ========================================================================= */
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  background: var(--grey-900); color: #fff; padding: 10px 18px;
  font-family: var(--font-display); font-size: .85rem; border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.media-section { padding-block: clamp(48px, 6vw, 88px); }
.media-section--alt { background: var(--bg-alt); }
.sec-head--tight { margin-bottom: clamp(24px, 3vw, 40px); }
.media-h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); text-transform: none; letter-spacing: 0; }

/* ---- type labels ---- */
.media-card__type {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em;
  text-transform: uppercase; padding: 3px 8px; border-radius: var(--radius);
  background: var(--grey-100); color: var(--grey-700); white-space: nowrap;
}
.media-card__type--news { background: var(--red); color: #fff; }
.media-card__type--insight { background: var(--blue); color: #fff; }
.media-card__type--video { background: var(--grey-900); color: #fff; }
.media-card__type--event { background: var(--grey-200); color: var(--grey-900); }
.media-card__type--company { background: none; border: 1px solid var(--grey-400); color: var(--grey-700); }
.media-card__meta {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--grey-500);
  display: inline-flex; align-items: center; gap: 8px;
}
.media-card__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.media-card__action {
  display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .07em; text-transform: uppercase; color: var(--red);
}

/* ---- feed cards ---- */
.media-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.media-card { min-width: 0; }
.media-card[hidden] { display: none; }
.media-card__link {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .22s var(--ease);
}
.media-card__link:hover { border-color: var(--grey-400); }
.media-card__link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.media-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--grey-100); position: relative; }
.media-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .28s var(--ease); }
.media-card__link:hover .media-card__media img { transform: scale(1.025); }
.media-card__play { position: absolute; inset: 0; display: grid; place-items: center; }
.media-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.media-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.35; color: var(--grey-900); }
.media-card__link:hover .media-card__title { color: var(--red); }
.media-card__excerpt { font-size: .9rem; color: var(--grey-600); line-height: 1.55; }

/* ---- empty / load more ---- */
.media-empty { padding: 40px 0; font-size: 1rem; color: var(--grey-600); }
.media-empty button { background: none; border: 0; color: var(--red); font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.media-more { margin-top: clamp(28px, 4vw, 44px); text-align: center; }


/* =========================================================================
   FAMILY MEDIA PAGE — schmoll-maschinen design language, light theme
   ========================================================================= */
.fam-head { padding: clamp(40px, 6vw, 80px) 0 clamp(26px, 3vw, 44px); }
.fam-head h1 {
  font-size: clamp(3rem, 7vw, 5.6rem); line-height: .95; position: relative; display: inline-block;
}
.fam-head h1::after { content: ""; position: absolute; left: 3px; bottom: -14px; width: 56px; height: 4px; background: var(--red); }
.fam-head p { margin-top: 30px; font-size: .98rem; color: var(--grey-600); max-width: 52ch; }

/* clipped corner — the family notch */
.fam-notch { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }

.fam-feat { position: relative; margin-bottom: clamp(56px, 6vw, 90px); }
.fam-feat__img { width: 100%; aspect-ratio: 21 / 9; min-height: 300px; object-fit: cover; display: block; }
.fam-feat__panel {
  position: absolute; left: var(--gutter); bottom: -30px; max-width: 520px;
  background: var(--red); color: #fff; padding: 26px 30px 24px;
  display: flex; flex-direction: column; gap: 10px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  transition: background .25s ease-out;
}
.fam-feat__panel:hover { background: var(--red-dark); }
.fam-feat__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.2; text-transform: uppercase; }
.fam-feat__body { font-size: .88rem; line-height: 1.55; color: rgba(255,255,255,.88); }
.fam-feat__panel .fam-panel__more { color: #fff; }

.fam-row { padding: clamp(26px, 3.5vw, 46px) 0 clamp(18px, 2.5vw, 30px); }
.fam-row__h { font-size: clamp(1.15rem, 1.8vw, 1.55rem); margin-bottom: 20px; }
.fam-row__wrap { position: relative; }
.fam-row__slider {
  display: flex; gap: 16px; overflow-x: auto; padding-bottom: 6px;
  scrollbar-width: none; scroll-behavior: smooth;
}
.fam-row__slider::-webkit-scrollbar { display: none; }
.fam-row__next {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--red); color: #fff; border: 0; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: background .2s, opacity .25s, visibility .25s;
}
.fam-row__next::after {
  content: ""; position: absolute; right: 100%; top: -30px; bottom: -30px; width: 70px;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,.9)); pointer-events: none;
}
.fam-row__next:hover { background: var(--red-dark); }
.fam-row__next:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.fam-row__next.is-hidden { opacity: 0; visibility: hidden; }
.fam-row__prev {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--red); color: #fff; border: 0; cursor: pointer;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
  transition: background .2s, opacity .25s, visibility .25s;
}
.fam-row__prev::after {
  content: ""; position: absolute; left: 100%; top: -30px; bottom: -30px; width: 70px;
  background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,.9)); pointer-events: none;
}
.fam-row__prev:hover { background: var(--red-dark); }
.fam-row__prev:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.fam-row__prev.is-hidden { opacity: 0; visibility: hidden; }
.fam-row--diary .fam-row__next::after { background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,.9)); }

.fam-panel {
  flex: 0 0 clamp(270px, 24vw, 360px); display: flex; flex-direction: column;
  background: var(--grey-100); color: var(--grey-900); padding: 24px 26px; min-height: 230px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  transition: background .3s ease-out, color .3s ease-out;
}
.fam-panel:hover { background: var(--red); color: #fff; }
.fam-panel__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .72rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--red);
  transition: color .2s;
}
.fam-panel__head svg { vertical-align: -1px; }
.fam-panel:hover .fam-panel__head { color: #fff; }
.fam-panel__title {
  margin-top: 12px; font-family: var(--font-display); font-weight: 600;
  font-size: 1.1rem; line-height: 1.25; text-transform: uppercase;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.fam-panel__title--s { font-size: .95rem; text-transform: none; }
.fam-panel__body {
  margin-top: 12px; font-size: .84rem; line-height: 1.55; color: var(--grey-600);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .2s;
}
.fam-panel:hover .fam-panel__body { color: rgba(255,255,255,.88); }
.fam-panel__more {
  margin-top: auto; padding-top: 16px; font-family: var(--font-display); font-weight: 600;
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
}
.fam-panel__more [aria-hidden] { color: var(--red); transition: color .2s; }
.fam-panel:hover .fam-panel__more [aria-hidden] { color: #fff; }
.fam-panel:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.fam-row--diary .fam-panel { background: var(--grey-200); }
.fam-row--diary .fam-panel:hover { background: var(--red); }

.fam-panel--img { padding: 0; overflow: hidden; min-height: 0; }
.fam-panel--img > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.fam-panel__inner { display: flex; flex-direction: column; padding: 16px 20px 20px; flex: 1; }
.fam-panel--follow { align-items: center; justify-content: center; text-align: center; gap: 12px; background: var(--grey-200); }

.fam-vtile {
  flex: 0 0 clamp(300px, 30vw, 440px); display: flex; flex-direction: column;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  overflow: hidden; background: var(--grey-100);
}
.fam-vtile__img { position: relative; display: block; padding: 0; border: 0; background: #000; cursor: pointer; width: 100%; }
.fam-vtile__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.fam-vtile__img:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.fam-vtile__play {
  position: absolute; inset: 0; display: grid; place-items: center; color: #fff;
}
.fam-vtile__play::before {
  content: ""; position: absolute; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(10,10,10,.55); border: 1px solid rgba(255,255,255,.45);
  transition: background .2s;
}
.fam-vtile__img:hover .fam-vtile__play::before { background: var(--red); border-color: var(--red); }
.fam-vtile__play svg { position: relative; }
.fam-vtile video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; }
.fam-vtile__cap {
  padding: 14px 18px; font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--grey-900);
  transition: background .25s, color .25s;
}
.fam-vtile:hover .fam-vtile__cap { background: var(--red); color: #fff; }

@media (max-width: 700px) {
  .fam-feat__panel { position: static; max-width: none; margin-top: -6px; }
  .fam-panel { flex-basis: 82vw; }
  .fam-vtile { flex-basis: 86vw; }
}

/* ---- article header ---- */
.article__wrap { max-width: 760px; }
.article-header { padding-top: clamp(16px, 2vw, 24px); }
.breadcrumb--onlight { position: static; margin-bottom: 22px; }
.breadcrumb--onlight a, .breadcrumb--onlight span { color: var(--grey-500); }
.breadcrumb--onlight span:last-child { color: var(--red); }
.breadcrumb--onlight a:hover { color: var(--red); }
.article-header__title {
  text-transform: none; letter-spacing: -.01em; line-height: 1.12;
  font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 18px;
}
.article-header__standfirst { font-size: 1.12rem; line-height: 1.6; color: var(--grey-600); max-width: 60ch; margin-bottom: 20px; }
.article-header__meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.article-hero { margin: clamp(24px, 4vw, 40px) 0; }
.article-hero img { width: 100%; border-radius: var(--radius); }
.article__body p { font-size: 1.02rem; line-height: 1.75; margin-bottom: 1.4em; }

/* ---- related blocks ---- */
.related-products { margin-top: clamp(36px, 5vw, 56px); }
.related-products__row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 14px; }
.related-products__row a { background: #fff; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.related-products__row a:hover b { color: var(--red); }
.related-products__row b { font-family: var(--font-display); font-weight: 600; transition: color .2s; }
.related-products__row a > span:first-of-type { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-500); }
.related-media { margin-top: clamp(40px, 6vw, 64px); }
.related-media .media-h2 { margin-bottom: 20px; font-size: 1.4rem; }
.media-feed--related { grid-template-columns: repeat(3, 1fr); }

/* ---- media hub responsive ---- */
@media (max-width: 1080px) {
  .media-feed, .media-feed--related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .media-feed, .media-feed--related { grid-template-columns: 1fr; }
  .media-cta { flex-direction: column; align-items: flex-start; }
}

/* Article pages */
.article__wrap { max-width: 820px; }
.article__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 44px);
}
.article__back {
  display: inline-flex; align-items: center; gap: 8px; color: var(--grey-600);
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.article__back:hover { color: var(--red); }
.article__back-ico { transform: scaleX(-1); display: inline-flex; }
.article__body h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.article__body h3 { font-size: 1.1rem; margin: 1.4em 0 .5em; }
.article__body ul { margin: 0 0 1.2em 1.2em; max-width: 68ch; }
.article__body li { margin-bottom: .45em; }
.article__body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.article__body figure { margin: clamp(24px, 4vw, 40px) 0; }
.article__body figure img {
  width: 100%; display: block; border: 1px solid var(--line); border-radius: var(--radius);
}
.article__body figcaption {
  font-family: var(--font-mono); font-size: .74rem; color: var(--grey-500);
  letter-spacing: .04em; margin-top: 10px;
}
.article__ttitle { margin-bottom: .8em; }
.article__nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); margin-top: clamp(40px, 6vw, 64px);
}
.article__nav a { background: #fff; padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; color: inherit; }
.article__nav a:hover b { color: var(--red); }
.article__nav b { font-family: var(--font-display); font-weight: 600; font-size: .95rem; line-height: 1.4; transition: color .2s; }
.article__nav span:empty { background: var(--bg); }
.article__nav-next { text-align: right; align-items: flex-end; }

@media (max-width: 1080px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .video-card--feature { grid-column: span 2; }
}
@media (max-width: 700px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-card--feature { grid-column: span 1; }
  .article__nav { grid-template-columns: 1fr; }
  .article__nav-next { text-align: left; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---- careers: open positions ---- */
.jobs__intro { max-width: 760px; color: var(--grey-700); margin: 0 0 28px; }
.jobs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(16px, 2.5vw, 28px); align-items: start; }
.job { position: relative; background: #fff; padding: clamp(22px, 3vw, 34px); }
.job::before { content: ""; position: absolute; left: 0; top: 0; width: 6px; height: 100%; background: var(--red); }
.job__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; text-transform: uppercase; margin: 12px 0 10px; }
.job__tag { color: var(--grey-700); margin: 0 0 18px; }
.job__meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .9rem; margin: 0 0 20px; padding: 14px 0; border-top: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); }
.job__meta dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--grey-500); padding-top: 3px; }
.job__meta dd { margin: 0; }
.job__details { margin: 0 0 18px; }
.job__details summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red); padding: 4px 0; user-select: none; }
.job__details summary::-webkit-details-marker { display: none; }
.job__details summary::before { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.job__details[open] summary::before { transform: rotate(225deg) translateY(-3px); }
.job__close, .job__details[open] .job__open { display: none; }
.job__details[open] .job__close { display: inline; }
.job__body { padding-top: 14px; font-size: .93rem; }
.job__body h4 { font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin: 22px 0 8px; padding-top: 14px; border-top: 1px solid var(--grey-200); }
.job__body h5 { font-family: var(--font-display); font-weight: 600; font-size: .88rem; margin: 16px 0 6px; }
.job__body p { margin: 0 0 10px; }
.job__body ul { margin: 0 0 12px; padding-left: 1.2em; }
.job__body li { margin: 0 0 6px; }
.job__closing { font-family: var(--font-display); font-weight: 600; margin-top: 18px; }
.job__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.job__note { font-size: .84rem; color: var(--grey-700); }
.job__note a { color: var(--red); font-weight: 600; text-decoration: none; }
.jobs__address { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .03em; color: var(--grey-500); margin: 28px 0 0; }
@media (max-width: 640px) { .job__meta { grid-template-columns: 1fr; gap: 2px 0; } .job__meta dd { margin-bottom: 8px; } }

/* =========================================================================
   Service and contact pages (Nov 2026)
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split__media { margin: 0; position: relative; }
.split__media img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 38%; height: 38%; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); pointer-events: none; }

.svc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.svc-card { background: #fff; border: 1px solid var(--line); display: grid; grid-template-columns: 42% 1fr; min-height: 260px; transition: border-color .3s, transform .4s cubic-bezier(.2,.7,.2,1); }
.svc-card:hover { border-color: var(--grey-900); transform: translateY(-3px); }
.svc-card__media { overflow: hidden; background: var(--bg-dark); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__body { padding: 30px 28px 26px; position: relative; display: flex; flex-direction: column; }
.svc-card__ico { width: 34px; height: 34px; color: var(--red); display: block; margin-bottom: 18px; }
.svc-card__ico svg { width: 100%; height: 100%; }
.svc-card__no { position: absolute; top: 30px; right: 28px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: var(--grey-400); }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { font-size: .95rem; color: var(--text-soft); }
.svc-card__link { margin-top: auto; padding-top: 18px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.svc-card__link::after { content: " \2192"; }

.svc-near { background: var(--bg-dark); color: #fff; }
.svc-near h2 { color: #fff; }
.svc-near .lead { color: var(--grey-300); }
.svc-near .eyebrow { color: #ff9d96; }
.svc-near__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.svc-near__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); }
.svc-near__list li { border-bottom: 1px solid var(--line-dark); }
.svc-near__list li:nth-child(odd) { border-right: 1px solid var(--line-dark); }
.svc-near__list a { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; color: #fff; font-family: var(--font-display, inherit); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: .92rem; transition: background .25s, padding-left .3s; }
.svc-near__list a::after { content: "\2192"; color: var(--red); }
.svc-near__list a:hover { background: rgba(255,255,255,.06); padding-left: 26px; }

.req { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.req__list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.req__list li { border-bottom: 1px solid var(--line); }
.req__list a { display: flex; justify-content: space-between; padding: 14px 2px; color: var(--text); }
.req__list a::after { content: "\2192"; color: var(--red); }
.req__list a:hover { color: var(--red); }
.form--wide { max-width: none; }
.form--card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); padding: clamp(24px, 3.4vw, 44px); }
.form__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form select, .form textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 1px solid var(--line); padding: 13px 14px; border-radius: 0; }
.form textarea { resize: vertical; min-height: 120px; }
.form select:focus, .form textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: transparent; }
.chips { border: 0; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 12px; padding: 0; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chips span { display: block; padding: 10px 18px; border: 1px solid var(--line); font-size: .9rem; transition: background .2s, color .2s, border-color .2s; }
.chips label:hover span { border-color: var(--grey-900); }
.chips input:checked + span { background: var(--grey-900); border-color: var(--grey-900); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.lines { margin-top: 32px; border-top: 1px solid var(--line); }
.line { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 2px; border-bottom: 1px solid var(--line); color: var(--text); }
.line__k { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); }
.line__v { font-weight: 500; }
a.line:hover .line__v { color: var(--red); }
.line--qr img { border: 1px solid var(--line); }

.office-group { font-size: 1rem; letter-spacing: .08em; margin: clamp(28px, 4vw, 44px) 0 14px; display: flex; align-items: center; gap: 14px; }
.office-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.office-group:first-of-type { margin-top: 0; }
.office { display: flex; flex-direction: column; transition: background .25s; }
.office:hover { background: var(--grey-50); }
.office__map { margin-top: auto; padding-top: 14px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.office__map::after { content: " \2197"; }

@media (max-width: 900px) {
  .split, .req, .svc-near__grid { grid-template-columns: 1fr; }
  .svc-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .svc-card { grid-template-columns: 1fr; }
  .svc-card__media { aspect-ratio: 16 / 9; }
  .form__cols, .svc-near__list { grid-template-columns: 1fr; }
  .svc-near__list li:nth-child(odd) { border-right: 0; }
}

/* exhibitions: shows that are over stay listed, dimmed, below the upcoming ones */
.exrow.is-past .exrow__date b, .exrow.is-past .exrow__name { color: var(--grey-500); }
.exrow.is-past .exrow__date { border-left-color: rgba(255,255,255,.2); }
.exrow.is-past .exrow__date i, .exrow.is-past .exrow__loc svg { color: var(--grey-500); }
.exrow.is-past .exrow__full, .exrow.is-past .exrow__loc { color: var(--grey-500); }

/* About hero: the exhibition picture fills the whole head; the headline sits on the hall ceiling, above the team */
.page-banner--about { padding-block: clamp(40px, 4.5vw, 72px) clamp(250px, 36vw, 640px); }
.page-banner--about .page-banner__media img { opacity: 1; object-position: center 100%; }
.page-banner--about .page-banner__media::after { background: linear-gradient(180deg, rgba(20,20,20,.86) 0%, rgba(20,20,20,.6) 26%, rgba(20,20,20,0) 52%); }

/* History: one horizontal storyline. Large years on a rail that fills red as you move along. */
.htl-sec { background: var(--bg-dark); color: var(--grey-300); overflow: hidden; }
.htl-sec .sec-head h2 { color: #fff; }
.htl-sec .sec-head .lead { color: var(--grey-300); }
.htl-sec .sec-head .eyebrow { color: #ff9d96; }
.htl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 52px); }
.htl-head .sec-head { margin-bottom: 0; }
.htl-nav { display: flex; gap: 8px; }
.htl-btn { width: 54px; height: 54px; display: grid; place-items: center; background: transparent; border: 1px solid rgba(255,255,255,.6); color: #fff; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.htl-btn svg { width: 22px; height: 22px; }
.htl-btn:hover:not(:disabled), .htl-btn:focus-visible { background: var(--red); border-color: var(--red); color: #fff; }
.htl-btn:disabled { border-color: rgba(255,255,255,.2); color: var(--grey-500); cursor: default; }
.htl { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
.htl::-webkit-scrollbar { display: none; }
.htl.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.htl:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.htl__item { flex: 0 0 clamp(250px, 25vw, 310px); padding-right: 40px; scroll-snap-align: start; }
.htl__year { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 5.2vw, 4.5rem); line-height: 1; letter-spacing: -.02em; color: #fff; }
.htl__node { display: block; position: relative; height: 2px; margin: 20px -40px 28px 0; background: rgba(255,255,255,.22); }
.htl__item:last-child .htl__node { margin-right: 0; }
.htl__node::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.htl__node::before { content: ""; position: absolute; z-index: 1; left: 0; top: -6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg-dark); border: 2px solid var(--grey-400); transition: background .3s var(--ease), border-color .3s var(--ease); }
.htl__item.is-active .htl__node::after { transform: none; }
.htl__item.is-active .htl__node::before { background: var(--red); border-color: var(--red); }
.htl__media { height: 180px; background: #232323; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.htl__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; pointer-events: none; }
.htl__media--face img { object-position: center 12%; }
/* cut-out drawings without a background sit on the dark tile; the dark logo mark is inverted so it reads on it */
.htl__media--cut, .htl__media--mark { padding: 18px; }
.htl__media--photo img { transform: scale(1.04); } /* hides the thin white edge some scans carry */
.htl__media--cut img, .htl__media--mark img { object-fit: contain; object-position: center; }
.htl__media--mark img { filter: invert(1) hue-rotate(180deg); }
.htl__title { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: 1.12rem; line-height: 1.2; margin: 20px 0 8px; color: #fff; }
.htl__text { font-size: .92rem; line-height: 1.6; color: var(--grey-300); }
.htl-bar { height: 2px; background: rgba(255,255,255,.16); margin-top: clamp(30px, 4vw, 48px); }
.htl-bar i { display: block; height: 100%; width: var(--p, 8%); background: var(--red); transition: width .2s linear; }
@media (max-width: 760px) {
  .page-banner--about { padding-block: 32px 62vw; }
  .page-banner--about .page-banner__media img { object-position: 58% 100%; }
  .htl-nav { display: none; }
  .htl__item { flex-basis: 74vw; padding-right: 26px; }
  .htl__node { margin-right: -26px; }
  .htl__media { height: 160px; }
}
@media (prefers-reduced-motion: reduce) { .htl__node::after, .htl-bar i { transition: none; } }

/* ---- WordPress additions ---- */
.sap-doc { max-width: 820px; }
.sap-doc h2 { font-size: 1.35rem; margin: 2.2em 0 .6em; }
.sap-doc h3 { font-size: 1.08rem; margin: 1.8em 0 .5em; }
.sap-doc p, .sap-doc li { line-height: 1.7; }
.sap-doc p + p { margin-top: 1em; }
.sap-doc ul, .sap-doc ol { margin: 1em 0 1em 1.3em; }
.form__status { margin-top: 12px; font-size: .9rem; min-height: 1.4em; }
.form__status.is-error { color: var(--red); }
.form .sap-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sap-404 { padding: clamp(120px, 18vw, 220px) 0 clamp(80px, 12vw, 160px); text-align: center; }
.sap-404 h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.sap-404 p { margin: 18px auto 32px; max-width: 46ch; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* ---- loading screen: 30-year logo, once per browser session (recovered from the July prototype) ---- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: #fff;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.pl-skip .preloader { display: none; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 34px; padding: 24px; }
.preloader__logo {
  width: clamp(280px, 46vw, 520px); height: auto; display: block;
  opacity: 0; transform: translateY(8px) scale(.985);
  animation: plLogo 1.1s var(--ease) .05s forwards;
}
@keyframes plLogo { to { opacity: 1; transform: none; } }
.preloader__bar { position: relative; width: 210px; height: 2px; overflow: hidden; background: rgba(0,0,0,.1); }
.preloader__bar::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%;
  background: var(--red); box-shadow: 0 0 14px 1px rgba(193,24,25,.45);
  animation: plBar 1.3s var(--ease) infinite;
}
@keyframes plBar { 0% { left: -40%; } 100% { left: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .preloader__logo { animation: none; opacity: 1; transform: none; }
  .preloader__bar::after { animation-duration: 2s; }
}
