/* ============================================================================
   MYM Technology — design system
   ----------------------------------------------------------------------------
   The palette is the one the company already owns: MYM green (#3C7D29, the
   exact green in the MYM logo mark) and MYM navy (#132843). Everything else
   is built around them — a deep navy ground for drama, a brushed-chrome
   gradient that nods to what the factory actually does (making plastic look
   like metal), and a lot of white space for the technical content.
   ========================================================================== */

/* ------------------------------------------------------------- 1. tokens */
:root {
  /* brand — matched to the green in images/logo.png */
  --green:        #3C7D29;
  --green-lite:   #45AA27;
  --green-deep:   #2A6419;
  --green-glow:   rgba(60, 125, 41, .45);
  --navy:         #132843;
  --navy-900:     #08131F;
  --navy-800:     #0D1F33;
  --navy-700:     #16304E;
  --navy-600:     #1F4066;

  /* neutrals */
  --ink:          #0F1519;
  --ink-2:        #2A3339;
  --grey:         #656161;
  --grey-2:       #8A9198;
  --line:         #E2E7EA;
  --line-dark:    rgba(255,255,255,.12);
  --paper:        #FFFFFF;
  --paper-2:      #F4F7F8;
  --paper-3:      #EBF2EA;

  /* chrome — the metallized look */
  --chrome: linear-gradient(105deg,#ffffff 0%,#d6dee4 18%,#f6f9fb 32%,#a9b6c0 52%,#ffffff 68%,#c3ced6 86%,#eef3f6 100%);
  --chrome-dark: linear-gradient(105deg,#5c6c7a 0%,#c8d5de 20%,#8d9daa 38%,#eef4f8 55%,#7d8d9b 75%,#cfdae2 100%);

  /* type */
  --f-display: 'Archivo', 'Gotham', 'Helvetica Neue', Arial, sans-serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* rhythm */
  --wrap:      1240px;
  --gut:       clamp(18px, 4vw, 44px);
  --sec-y:     clamp(64px, 9vw, 128px);
  --r-sm:      8px;
  --r:         14px;
  --r-lg:      22px;
  --r-xl:      32px;

  /* motion */
  --ease:      cubic-bezier(.22,.61,.36,1);
  --ease-out:  cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --t:         .45s var(--ease-out);

  /* elevation */
  --sh-1: 0 2px 8px rgba(15,32,52,.06), 0 12px 32px rgba(15,32,52,.06);
  --sh-2: 0 4px 14px rgba(15,32,52,.08), 0 26px 60px rgba(15,32,52,.12);
  --sh-3: 0 30px 90px rgba(8,19,31,.34);
}

/* Fonts are served from this site — no third-party request, nothing to block. */
@font-face{font-family:'Archivo';font-style:normal;font-weight:600;font-display:swap;src:url('../../font/web/archivo-latin-600-normal.woff2') format('woff2');}
@font-face{font-family:'Archivo';font-style:normal;font-weight:700;font-display:swap;src:url('../../font/web/archivo-latin-700-normal.woff2') format('woff2');}
@font-face{font-family:'Archivo';font-style:normal;font-weight:800;font-display:swap;src:url('../../font/web/archivo-latin-800-normal.woff2') format('woff2');}
@font-face{font-family:'Archivo';font-style:normal;font-weight:900;font-display:swap;src:url('../../font/web/archivo-latin-900-normal.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url('../../font/web/inter-latin-300-normal.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../../font/web/inter-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../../font/web/inter-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../../font/web/inter-latin-600-normal.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('../../font/web/inter-latin-700-normal.woff2') format('woff2');}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('../../font/web/ibm-plex-mono-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('../../font/web/ibm-plex-mono-latin-500-normal.woff2') format('woff2');}
/* the two typefaces the previous site shipped, kept as a local fallback */
@font-face{font-family:'Gotham';src:url('../../font/Gotham-Font/GothamBold.ttf') format('truetype');font-weight:700;font-display:swap;}

/* --------------------------------------------------------------- 2. base */
*, *::before, *::after { box-sizing: border-box; }

/* A class like .lightbox{display:grid} out-specifies the browser's own rule
   for [hidden], which would leave a full-screen overlay sitting invisibly on
   top of the page swallowing every click. This keeps `hidden` authoritative. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(15.5px, .42vw + 14.6px, 17px);
  line-height: 1.68;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.is-locked { overflow: hidden; }

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

a { color: var(--green-deep); text-decoration: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.025em;
  margin: 0 0 .5em;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 700; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

::selection { background: var(--green); color: #fff; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skiplink {
  position: fixed; top: -100px; left: 16px; z-index: 999;
  background: var(--green); color: #fff; padding: 12px 20px;
  border-radius: 0 0 10px 10px; font-weight: 600;
  transition: top .25s var(--ease);
}
.skiplink:focus { top: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------- 3. type helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--green-deep); margin: 0 0 18px;
}
.eyebrow--light { color: var(--green-lite); }
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 0 currentColor; animation: pulseDot 2.4s var(--ease-out) infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 var(--green-glow); }
  70%  { box-shadow: 0 0 0 12px rgba(60,125,41,0); }
  100% { box-shadow: 0 0 0 0 rgba(60,125,41,0); }
}

/* the metal sweep that gives the site its signature */
.shimmer {
  background: var(--chrome);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: sweep 7s linear infinite;
  /* a readable fallback where background-clip:text is unsupported */
  -webkit-text-fill-color: transparent;
}
.on-light .shimmer, .shimmer--dark {
  background: linear-gradient(105deg,#37474F 0%,#8fa0ad 22%,#132843 42%,#9fb3c1 60%,#37474F 82%,#6e7f8c 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
}
@keyframes sweep { to { background-position: 300% 0; } }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.24rem); color: var(--grey); line-height: 1.7; max-width: 62ch; }
.on-dark .lead, .sec--dark .lead { color: rgba(255,255,255,.72); }

.rule {
  width: 62px; height: 4px; border-radius: 4px; margin: 0 0 26px;
  background: linear-gradient(90deg, var(--green), var(--green-lite));
}

/* -------------------------------------------------------- 4. page loader */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--navy-900);
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; width: min(320px, 70vw); }
.loader-mark { position: relative; display: inline-block; overflow: hidden; margin-bottom: 26px; }
.loader-mark img { filter: brightness(0) invert(1); opacity: .92; }
.loader-sweep {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(116,210,87,.85) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: loadSweep 1.5s var(--ease-in-out) infinite;
}
@keyframes loadSweep { to { transform: translateX(120%); } }
.loader-bar { height: 2px; background: rgba(255,255,255,.14); border-radius: 2px; overflow: hidden; }
.loader-bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--green), var(--green-lite));
  transition: width .3s var(--ease-out);
}
.loader-txt {
  margin: 14px 0 0; font-family: var(--f-mono); font-size: .68rem;
  letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.5);
}
.loader-dots i { animation: blinkDot 1.2s infinite; font-style: normal; }
.loader-dots i:nth-child(2) { animation-delay: .2s; }
.loader-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blinkDot { 0%,100%{opacity:.2} 50%{opacity:1} }

/* --------------------------------------------------- 5. progress + cursor */
.progressbar {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 900;
  pointer-events: none;
}
.progressbar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--green), var(--green-lite), #9BE87F);
  box-shadow: 0 0 14px var(--green-glow);
}

.cursor {
  position: fixed; inset: 0; z-index: 950; pointer-events: none; display: none;
  opacity: 0; transition: opacity .3s var(--ease);
}
.cursor.is-live { opacity: 1; }
.cursor-dot, .cursor-ring {
  position: absolute; top: 0; left: 0; border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot { width: 7px; height: 7px; background: var(--green); }
.cursor-ring {
  width: 38px; height: 38px; border: 1.5px solid rgba(60,125,41,.55);
  transition: width .28s var(--ease-out), height .28s var(--ease-out),
              background-color .28s var(--ease-out), border-color .28s var(--ease-out);
}
.cursor.is-hot .cursor-ring {
  width: 62px; height: 62px;
  background: rgba(60,125,41,.13); border-color: rgba(60,125,41,.85);
}
.cursor.is-hot .cursor-dot { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
}

/* ---------------------------------------------------------- 6. buttons */
.btn {
  --btn-bg: var(--green);
  --btn-fg: #fff;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border: 0; border-radius: 100px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-body); font-size: .94rem; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), color .3s var(--ease);
  box-shadow: 0 8px 24px rgba(60,125,41,.28);
  text-decoration: none;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--navy);
  transform: translateY(101%); border-radius: inherit;
  transition: transform .45s var(--ease-out);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(19,40,67,.28); color: #fff; }
.btn:hover::before { transform: translateY(0); }
.btn svg { transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--lg { padding: 17px 32px; font-size: 1rem; }
.btn--sm { padding: 10px 18px; font-size: .84rem; }
.btn--full { width: 100%; justify-content: center; }
.btn--ghost {
  background: transparent; color: var(--navy);
  box-shadow: inset 0 0 0 1.6px rgba(19,40,67,.22);
}
.btn--ghost::before { background: var(--navy); }
.btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.6px transparent; }
.on-dark .btn--ghost, .sec--dark .btn--ghost, .sec--navy .btn--ghost,
.cta .btn--ghost, .hero .btn--ghost, .pagehead .btn--ghost {
  color: #fff; box-shadow: inset 0 0 0 1.6px rgba(255,255,255,.3);
}
.on-dark .btn--ghost::before, .sec--dark .btn--ghost::before, .sec--navy .btn--ghost::before,
.cta .btn--ghost::before, .hero .btn--ghost::before, .pagehead .btn--ghost::before { background: #fff; }
.on-dark .btn--ghost:hover, .sec--dark .btn--ghost:hover, .sec--navy .btn--ghost:hover,
.cta .btn--ghost:hover, .hero .btn--ghost:hover, .pagehead .btn--ghost:hover {
  color: var(--navy); box-shadow: inset 0 0 0 1.6px transparent;
}

/* text link with a wiping underline */
.tlink {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--navy);
  background-image: linear-gradient(var(--green), var(--green));
  background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .4s var(--ease-out), color .3s var(--ease);
  padding-bottom: 2px;
}
.tlink:hover { background-size: 100% 2px; color: var(--green-deep); }
.tlink svg { transition: transform .35s var(--ease-out); }
.tlink:hover svg { transform: translateX(5px); }
.on-dark .tlink, .sec--dark .tlink { color: #fff; }

/* -------------------------------------------------------- 7. navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease),
              backdrop-filter .4s var(--ease), transform .5s var(--ease-out);
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
body.has-hero .nav { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.has-hero .nav .nav-link, body.has-hero .nav .burger span { color: #fff; }
body.has-hero .nav .nav-logo img { filter: brightness(0) invert(1); }
body.has-hero .nav .burger span { background: #fff; }

.nav.is-stuck {
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 6px 30px rgba(15,32,52,.10);
}
body.has-hero .nav.is-stuck .nav-link { color: var(--navy); }
body.has-hero .nav.is-stuck .nav-logo img { filter: none; }
body.has-hero .nav.is-stuck .burger span { background: var(--navy); }
/* The bar sits still at the very top of the page. As soon as you scroll away
   from the top it slides up out of view and stays gone — it does not flick
   back in on every small upward scroll. It returns only once you are back at
   the very top again (or via the back-to-top button). */
.nav.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) {
  .nav.is-hidden { transition: none; }
}

.nav-inner {
  display: flex; align-items: center; gap: clamp(14px, 2vw, 34px);
  height: 92px; transition: height .4s var(--ease);
}
.nav.is-stuck .nav-inner { height: 70px; }

.nav-logo { flex: 0 0 auto; display: block; }
.nav-logo img { height: 52px; width: auto; transition: height .4s var(--ease), filter .4s var(--ease); }
.nav.is-stuck .nav-logo img { height: 42px; }

.nav-links { margin-left: auto; }
.nav-links > ul { display: flex; align-items: center; gap: clamp(2px, .9vw, 12px); list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; margin: 0; }

.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 10px;
  font-size: .92rem; font-weight: 500; color: var(--navy);
  transition: color .3s var(--ease), background-color .3s var(--ease);
  white-space: nowrap;
}
/* the letters lift one at a time on hover — .nav-link-txt gets its
   per-letter spans from mym.js so this stays CSP-clean */
.nav-link-txt { position: relative; display: inline-block; overflow: hidden; }
.nav-link-txt .ch { display: inline-block; transition: transform .34s var(--ease-out); }
.nav-link-txt .ch--sp { width: .28em; }
.nav-item:hover .nav-link-txt .ch { transform: translateY(-100%); }
.nav-link-txt::after {
  content: attr(data-txt); position: absolute; left: 0; top: 100%;
  color: var(--green); white-space: pre;
  transition: transform .34s var(--ease-out);
}
.nav-item:hover .nav-link-txt::after { transform: translateY(-100%); }
.nav-item.is-active > .nav-link { color: var(--green-deep); }
body.has-hero .nav:not(.is-stuck) .nav-item.is-active > .nav-link { color: var(--green-lite); }
.nav-item.is-active > .nav-link::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--green);
}
.nav-caret { transition: transform .3s var(--ease); opacity: .55; }
.nav-item:hover .nav-caret { transform: rotate(180deg); opacity: 1; }

/* dropdowns */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translate(-50%, 12px);
  min-width: 268px; padding-top: 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .32s var(--ease-out), transform .32s var(--ease-out), visibility .32s;
}
.nav-item.has-kids:hover .dropdown,
.nav-item.has-kids:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.dropdown-in {
  background: #fff; border-radius: var(--r-lg); padding: 12px;
  box-shadow: var(--sh-2); border: 1px solid var(--line);
  display: grid; gap: 4px;
}
.dropdown--mega { min-width: min(760px, 92vw); }
.dropdown--mega .dropdown-in { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }

.dd-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--r);
  color: var(--navy); transition: background-color .28s var(--ease), transform .28s var(--ease-out);
}
.dd-item:hover { background: var(--paper-2); transform: translateX(3px); }
.dropdown--mega .dd-item { flex-direction: column; gap: 10px; padding: 10px; }
.dropdown--mega .dd-item:hover { transform: translateY(-3px); }
.dd-item.is-on { background: var(--paper-3); }
.dd-thumb {
  display: block; width: 100%; aspect-ratio: 16/10; overflow: hidden;
  border-radius: 10px; background: var(--paper-2);
}
.dd-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.dd-item:hover .dd-thumb img { transform: scale(1.08); }
.dd-title {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--f-display); font-weight: 700; font-size: .98rem; color: var(--navy);
}
.dd-title svg { opacity: 0; transform: translateX(-5px); transition: all .3s var(--ease-out); }
.dd-item:hover .dd-title { color: var(--green-deep); }
.dd-item:hover .dd-title svg { opacity: 1; transform: translateX(0); }
.dd-desc { display: block; font-size: .81rem; color: var(--grey-2); line-height: 1.45; margin-top: 3px; }

.nav-cta { flex: 0 0 auto; }
body.has-hero .nav:not(.is-stuck) .nav-cta { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1.4px rgba(255,255,255,.34); color:#fff; }
body.has-hero .nav:not(.is-stuck) .nav-cta::before { background: var(--green); }

/* burger + drawer */
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px; border: 0; border-radius: 12px;
  background: transparent; cursor: pointer;
}
.burger span {
  display: block; height: 2px; width: 100%; border-radius: 2px; background: var(--navy);
  transition: transform .38s var(--ease-out), opacity .25s var(--ease), width .38s var(--ease-out);
}
.burger span:nth-child(2) { width: 70%; margin-left: auto; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 790;
  background: rgba(8,19,31,.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .4s var(--ease);
}
.drawer.is-open { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 88vw); background: var(--navy-900);
  padding: 108px var(--gut) 40px; overflow-y: auto;
  transform: translateX(100%); transition: transform .5s var(--ease-out);
  display: flex; flex-direction: column; gap: 30px;
}
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-list { list-style: none; margin: 0; padding: 0; }
.drawer-li {
  border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateX(26px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.drawer.is-open .drawer-li { opacity: 1; transform: none; }
.drawer-li > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 2px; color: #fff;
  font-family: var(--f-display); font-size: 1.28rem; font-weight: 700;
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.drawer-li > a:hover { color: var(--green-lite); padding-left: 8px; }
.drawer-li > a svg { opacity: .35; transition: all .3s var(--ease-out); }
.drawer-li > a:hover svg { opacity: 1; transform: translateX(4px); color: var(--green-lite); }
.drawer-sub { list-style: none; margin: -6px 0 14px; padding: 0 0 0 2px; }
.drawer-sub a { display: block; padding: 6px 0; color: rgba(255,255,255,.55); font-size: .93rem; }
.drawer-sub a:hover { color: var(--green-lite); }
.drawer-foot {
  opacity: 0; transform: translateX(26px);
  transition: opacity .5s var(--ease-out) .2s, transform .5s var(--ease-out) .2s;
  margin-top: auto;
}
.drawer.is-open .drawer-foot { opacity: 1; transform: none; }
.drawer-foot p { margin: 12px 0 0; }
.drawer-foot a:not(.btn) { color: rgba(255,255,255,.7); font-family: var(--f-mono); font-size: .86rem; }
.drawer-foot a:not(.btn):hover { color: var(--green-lite); }

@media (max-width: 1100px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; margin-left: auto; }
}

/* ---------------------------------------------------- 8. reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal--left  { transform: translateX(-46px); }
.reveal--right { transform: translateX(46px); }
.reveal--zoom  { transform: scale(.93); }
.reveal--clip  { clip-path: inset(0 0 100% 0); transform: none; opacity: 1; transition: clip-path 1.1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* per-word headline reveal, built by mym.js */
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-word > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform .95s var(--ease-out);
  transition-delay: var(--wd, 0ms);
}
.is-in .split-word > span, .split-ready .split-word > span { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .split-word > span { transform: none !important; }
  .cursor { display: none !important; }
}

/* --------------------------------------------------------- 9. sections */
.sec { padding-block: var(--sec-y); position: relative; }
.sec--tight { padding-block: clamp(44px, 6vw, 78px); }
.sec--paper { background: var(--paper-2); }
.sec--mint  { background: var(--paper-3); }
.sec--dark  { background: var(--navy-900); color: rgba(255,255,255,.76); }
.sec--dark h1, .sec--dark h2, .sec--dark h3, .sec--dark h4 { color: #fff; }
.sec--navy  { background: var(--navy); color: rgba(255,255,255,.76); }
.sec--navy h2, .sec--navy h3 { color: #fff; }

/* a faint engineering grid used behind dark sections */
.gridlines {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 40%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 78% 62% at 50% 40%, #000 30%, transparent 78%);
}
.gridlines--light {
  background-image:
    linear-gradient(rgba(19,40,67,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,40,67,.05) 1px, transparent 1px);
}

.sechead { max-width: 760px; margin-bottom: clamp(34px, 4.4vw, 62px); }
.sechead--center { margin-inline: auto; text-align: center; }
.sechead--center .rule { margin-inline: auto; }
.sechead--split { max-width: none; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 70px); align-items: end; }
@media (max-width: 860px) { .sechead--split { grid-template-columns: 1fr; align-items: start; } }

/* --------------------------------------------------------- 10. the hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding-bottom: clamp(48px, 7vw, 96px); padding-top: 140px;
  background: var(--navy-900); color: #fff; overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.6s var(--ease);
  transform: scale(1.06);
}
.hero-video.is-on { opacity: .5; }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(8,19,31,.86) 0%, rgba(8,19,31,.42) 34%, rgba(8,19,31,.92) 100%),
    radial-gradient(ellipse 70% 55% at 22% 68%, rgba(60,125,41,.20), transparent 68%);
}
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .85; }

.hero-in { position: relative; width: 100%; }
.hero-title {
  font-size: clamp(2.7rem, 8.2vw, 6.4rem);
  line-height: .96; letter-spacing: -.035em; color: #fff;
  margin: 0 0 26px; max-width: 15ch;
}
.hero-title .line { display: block; }
.hero-lead {
  max-width: 56ch; font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  color: rgba(255,255,255,.74); margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: clamp(22px, 4vw, 64px);
  margin-top: clamp(42px, 6vw, 76px);
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14);
}
.hero-meta-item { min-width: 130px; }
.hero-meta-n {
  font-family: var(--f-display); font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em;
}
.hero-meta-n em { font-style: normal; color: var(--green-lite); }
.hero-meta-l {
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 8px; display: block;
}

.hero-scroll {
  position: absolute; right: var(--gut); bottom: clamp(48px, 7vw, 96px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .24em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
  writing-mode: vertical-rl; cursor: pointer; background: none; border: 0; padding: 0;
  transition: color .3s var(--ease);
}
.hero-scroll:hover { color: var(--green-lite); }
.hero-scroll::after {
  content: ''; width: 1px; height: 54px;
  background: linear-gradient(180deg, var(--green-lite), transparent);
  animation: scrollLine 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollLine { 0%,100%{transform:scaleY(.3);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} }
@media (max-width: 860px) { .hero-scroll { display: none; } }

/* the little chips floating over the hero */
.hero-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 100px;
  background: rgba(255,255,255,.07);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.16);
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.86);
  animation: floaty 7s var(--ease-in-out) infinite;
}
.hero-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-lite); }
.hero-chip--1 { top: 24%; right: 10%; animation-delay: -1s; }
.hero-chip--2 { top: 40%; right: 22%; animation-delay: -3.5s; }
.hero-chip--3 { top: 56%; right: 6%; animation-delay: -5s; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }
@media (max-width: 1100px) { .hero-chip { display: none; } }

/* --------------------------------------------------------- 11. marquee */
.marquee {
  overflow: hidden; padding-block: 22px;
  background: var(--green);
  border-block: 1px solid rgba(0,0,0,.06);
  --mq-speed: 40s;
}
.marquee--dark { background: var(--navy); }
.marquee--line { background: transparent; border-block: 1px solid var(--line); }
.marquee-track {
  display: flex; width: max-content; gap: 0;
  animation: mq var(--mq-speed) linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 26px; padding-inline: 26px;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(1rem, 1.7vw, 1.4rem);
  letter-spacing: -.01em; color: #fff; white-space: nowrap; text-transform: uppercase;
}
.marquee--line .marquee-item { color: var(--navy); }
.marquee-item::after {
  content: ''; width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.55); flex: 0 0 auto;
}
.marquee--line .marquee-item::after { background: var(--green); }

/* ---------------------------------------------------------- 12. stats */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.sec--dark .stats, .sec--navy .stats { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.12); }
.stat { background: var(--paper); padding: clamp(26px, 3vw, 40px); position: relative; overflow: hidden; }
.sec--dark .stat, .sec--navy .stat { background: var(--navy-900); }
.sec--navy .stat { background: var(--navy); }
.stat::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-lite));
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.stat:hover::after { transform: scaleX(1); }
.stat-n {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(2.4rem, 4.4vw, 3.7rem); line-height: 1;
  letter-spacing: -.04em; color: var(--navy);
}
.sec--dark .stat-n, .sec--navy .stat-n { color: #fff; }
.stat-n .suffix { color: var(--green); }
.stat-l {
  display: block; margin-top: 12px; font-size: .88rem; color: var(--grey);
  line-height: 1.45;
}
.sec--dark .stat-l, .sec--navy .stat-l { color: rgba(255,255,255,.56); }

/* ------------------------------------------------------- 13. media split */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 82px); align-items: center;
}
.split--rev > .split-media { order: 2; }
@media (max-width: 900px) { .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev > .split-media { order: 0; } }

.split-media { position: relative; }
.frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-2); background: var(--paper-2);
}
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.frame:hover img { transform: scale(1.05); }
.frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.22) 0%, transparent 38%, transparent 62%, rgba(60,125,41,.16) 100%);
}
.frame--tall { aspect-ratio: 4/5; }
.frame--wide { aspect-ratio: 16/10; }

.badge-float {
  position: absolute; z-index: 2; padding: 18px 22px; border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--sh-2); max-width: 230px;
}
.badge-float--br { right: -14px; bottom: -20px; }
.badge-float--bl { left: -14px; bottom: -20px; }
.badge-float strong {
  display: block; font-family: var(--f-display); font-size: 1.9rem;
  font-weight: 900; color: var(--green); line-height: 1; letter-spacing: -.03em;
}
.badge-float span { display: block; font-size: .78rem; color: var(--grey); margin-top: 6px; line-height: 1.4; }
@media (max-width: 560px) { .badge-float { position: static; margin-top: 16px; max-width: none; } }

/* ------------------------------------------------------- 14. cards grid */
.cards {
  display: grid; gap: clamp(14px, 1.8vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards--4 { grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }

.card {
  position: relative; isolation: isolate; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 34px);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s var(--ease);
  transform-style: preserve-3d;
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(60,125,41,.12), transparent 62%);
  transition: opacity .45s var(--ease);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--sh-2); border-color: rgba(60,125,41,.35); }
.card:hover::before { opacity: 1; }
.card-no {
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em;
  color: var(--green); display: block; margin-bottom: 16px;
}
.card-ico {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--paper-3); margin-bottom: 20px;
  transition: background-color .4s var(--ease), transform .5s var(--ease-out);
}
.card-ico img { width: 34px; height: 34px; object-fit: contain; }
.card:hover .card-ico { background: var(--green); transform: rotate(-6deg) scale(1.06); }
.card:hover .card-ico img { filter: brightness(0) invert(1); }
.card h3 { margin-bottom: 10px; color: var(--navy); transition: color .3s var(--ease); }
.card:hover h3 { color: var(--green-deep); }
.card p { font-size: .94rem; color: var(--grey); margin: 0; }
.card-more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--navy);
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.card:hover .card-more { opacity: 1; transform: none; color: var(--green-deep); }

/* dark variant used on the home page */
.card--dark { background: var(--navy-800); border-color: rgba(255,255,255,.10); }
.card--dark h3 { color: #fff; }
.card--dark p { color: rgba(255,255,255,.6); }
.card--dark .card-ico { background: rgba(255,255,255,.07); }
.card--dark:hover { border-color: rgba(60,125,41,.5); }

/* -------------------------------------------------- 15. process timeline */
.flow { position: relative; }
.flow-line {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  transform: translateX(-50%); background: var(--line); overflow: hidden;
}
.sec--dark .flow-line { background: rgba(255,255,255,.10); }
.flow-line span {
  position: absolute; top: 0; left: 0; right: 0; height: 0%;
  background: linear-gradient(180deg, var(--green-lite), var(--green));
  box-shadow: 0 0 18px var(--green-glow);
}
.flow-step {
  position: relative; display: grid; grid-template-columns: 1fr 92px 1fr;
  align-items: center; gap: 10px; padding-block: clamp(16px, 2.4vw, 30px);
}
.flow-step:nth-child(even) .flow-body { grid-column: 3; text-align: left; }
.flow-step:nth-child(odd)  .flow-body { grid-column: 1; text-align: right; }
.flow-dot {
  grid-column: 2; justify-self: center;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line); position: relative; z-index: 2;
  font-family: var(--f-mono); font-size: .8rem; font-weight: 600; color: var(--green-deep);
  transition: all .5s var(--ease-out);
}
.sec--dark .flow-dot { background: var(--navy-900); border-color: rgba(255,255,255,.14); color: var(--green-lite); }
.flow-step.is-in .flow-dot {
  border-color: var(--green); background: var(--green); color: #fff;
  box-shadow: 0 0 0 8px rgba(60,125,41,.14);
}
.flow-body h3 { margin-bottom: 6px; font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
.flow-body p { font-size: .92rem; color: var(--grey); margin: 0; }
.sec--dark .flow-body p { color: rgba(255,255,255,.58); }
@media (max-width: 760px) {
  .flow-line { left: 27px; }
  .flow-step { grid-template-columns: 54px 1fr; gap: 18px; }
  .flow-step .flow-dot { grid-column: 1; }
  .flow-step:nth-child(even) .flow-body,
  .flow-step:nth-child(odd)  .flow-body { grid-column: 2; text-align: left; }
}

/* ------------------------------------------------- 16. certificate cards */
.certgrid {
  display: grid; gap: clamp(12px, 1.6vw, 20px);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.certcard {
  display: flex; flex-direction: column; gap: 4px; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; cursor: pointer; font: inherit; color: inherit;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .4s var(--ease);
}
.certcard:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: rgba(60,125,41,.4); }
.certcard-media {
  position: relative; display: grid; place-items: center; overflow: hidden;
  aspect-ratio: 4/3; border-radius: var(--r); background: var(--paper-2); margin-bottom: 14px;
}
.certcard-media img {
  max-width: 76%; max-height: 76%; width: auto; object-fit: contain;
  transition: transform .55s var(--ease-out), filter .4s var(--ease);
  filter: saturate(.25) contrast(1.02);
}
.certcard:hover .certcard-media img { transform: scale(1.06); filter: none; }
.certcard-view {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(19,40,67,.86); color: #fff;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transition: opacity .38s var(--ease);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.certcard:hover .certcard-view, .certcard:focus-visible .certcard-view { opacity: 1; }
.certcard-name { font-family: var(--f-display); font-weight: 700; font-size: .96rem; color: var(--navy); }
.certcard-about { font-size: .8rem; color: var(--grey-2); line-height: 1.4; }

/* the looping logo strip */
.certstrip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
             mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.certstrip-track { display: flex; width: max-content; animation: mq 46s linear infinite; }
.certstrip:hover .certstrip-track { animation-play-state: paused; }
.certstrip-item {
  flex: 0 0 auto; width: 180px; padding: 18px 22px; margin-inline: 6px;
  background: transparent; border: 0; cursor: pointer; font: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  border-radius: var(--r); transition: background-color .35s var(--ease);
}
.certstrip-item:hover { background: rgba(255,255,255,.06); }
.certstrip-item img {
  height: 62px; width: auto; object-fit: contain;
  filter: grayscale(1) brightness(1.9) contrast(.8); opacity: .62;
  transition: filter .4s var(--ease), opacity .4s var(--ease), transform .45s var(--ease-out);
}
.certstrip-item:hover img { filter: none; opacity: 1; transform: scale(1.07); }
.certstrip-name {
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.45); text-align: center;
  transition: color .35s var(--ease);
}
.certstrip-item:hover .certstrip-name { color: var(--green-lite); }

/* ------------------------------------------------------- 17. page header */
.pagehead {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: #fff;
  padding: clamp(140px, 16vw, 210px) 0 clamp(52px, 7vw, 90px);
  isolation: isolate;
}
.pagehead-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; opacity: .34;
}
.pagehead-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,19,31,.9) 0%, rgba(8,19,31,.55) 50%, rgba(8,19,31,.95) 100%);
}
.pagehead-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .55;
  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: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 74% 80% at 18% 50%, #000 10%, transparent 74%);
  mask-image: radial-gradient(ellipse 74% 80% at 18% 50%, #000 10%, transparent 74%);
}
.pagehead::after {
  content: ''; position: absolute; left: -10%; bottom: -40%;
  width: 62%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(60,125,41,.22), transparent 64%);
}
.pagehead-title { color: #fff; margin: 0 0 16px; max-width: 18ch; }
.pagehead-lead { max-width: 60ch; color: rgba(255,255,255,.7); font-size: clamp(1rem, 1.3vw, 1.14rem); margin: 0; }

.crumbs { margin-bottom: 26px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.42); }
.crumbs li + li::before { content: '/'; color: rgba(255,255,255,.24); }
.crumbs a { color: rgba(255,255,255,.62); transition: color .3s var(--ease); }
.crumbs a:hover { color: var(--green-lite); }
.crumbs li[aria-current] span { color: var(--green-lite); }

/* ------------------------------------------------------- 18. accordions */
.acc { border-top: 1px solid var(--line); }
.sec--dark .acc { border-color: rgba(255,255,255,.12); }
.acc-item { border-bottom: 1px solid var(--line); }
.sec--dark .acc-item { border-color: rgba(255,255,255,.12); }
.acc-btn {
  width: 100%; display: flex; align-items: center; gap: 18px; text-align: left;
  padding: clamp(20px, 2.4vw, 30px) 0; background: none; border: 0; cursor: pointer;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.02rem, 1.6vw, 1.32rem); color: var(--navy);
  transition: color .3s var(--ease), padding-left .4s var(--ease-out);
}
.sec--dark .acc-btn { color: #fff; }
.acc-btn:hover { color: var(--green-deep); padding-left: 8px; }
.sec--dark .acc-btn:hover { color: var(--green-lite); }
.acc-n { font-family: var(--f-mono); font-size: .74rem; color: var(--green); flex: 0 0 auto; letter-spacing: .1em; }
.acc-txt { flex: 1; }
.acc-sign {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--line); display: grid; place-items: center;
  transition: all .4s var(--ease-out);
}
.sec--dark .acc-sign { border-color: rgba(255,255,255,.2); }
.acc-sign::before, .acc-sign::after {
  content: ''; position: absolute; width: 14px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .4s var(--ease-out);
}
.acc-sign::after { transform: rotate(90deg); }
.acc-item.is-open .acc-sign { background: var(--green); border-color: var(--green); color: #fff; transform: rotate(180deg); }
.acc-item.is-open .acc-sign::after { transform: rotate(0deg); }
.acc-panel { overflow: hidden; height: 0; transition: height .5s var(--ease-out); }
.acc-panel-in { padding: 0 0 clamp(22px, 2.6vw, 34px); max-width: 76ch; color: var(--grey); }
.sec--dark .acc-panel-in { color: rgba(255,255,255,.66); }
.acc-panel-in h4 {
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green-deep); margin: 0 0 12px;
}
.sec--dark .acc-panel-in h4 { color: var(--green-lite); }

/* --------------------------------------------------- 19. tabs / filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 40px); }
.filter {
  padding: 10px 20px; border-radius: 100px; border: 1.4px solid var(--line);
  background: #fff; color: var(--navy); cursor: pointer;
  font-family: var(--f-body); font-size: .87rem; font-weight: 500;
  transition: all .35s var(--ease-out);
}
.filter:hover { border-color: var(--green); color: var(--green-deep); transform: translateY(-2px); }
.filter.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter .n { font-family: var(--f-mono); font-size: .72rem; opacity: .55; margin-left: 6px; }

/* --------------------------------------------------------- 20. lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 990;
  display: grid; place-items: center; padding: clamp(20px, 5vw, 64px);
  background: rgba(8,19,31,.93);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .38s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox-fig {
  margin: 0; max-width: min(1040px, 100%); max-height: 100%;
  display: flex; flex-direction: column; gap: 16px; align-items: center;
  transform: scale(.94); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .4s var(--ease);
}
.lightbox.is-open .lightbox-fig { transform: scale(1); opacity: 1; }
.lightbox-fig img {
  max-width: 100%; max-height: 72vh; width: auto; object-fit: contain;
  border-radius: var(--r); background: #fff; box-shadow: var(--sh-3);
}
.lightbox-fig figcaption { text-align: center; color: rgba(255,255,255,.6); font-size: .88rem; }
.lightbox-fig strong {
  display: block; font-family: var(--f-display); font-size: 1.15rem;
  font-weight: 700; color: #fff; margin-bottom: 4px;
}
.lightbox-open {
  display: inline-block; margin-top: 10px; color: var(--green-lite);
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
}
.lightbox-close, .lightbox-nav {
  position: absolute; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff;
  transition: all .35s var(--ease-out);
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--green); border-color: var(--green); transform: scale(1.08); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: clamp(10px, 3vw, 34px); top: 50%; margin-top: -26px; }
.lightbox-next { right: clamp(10px, 3vw, 34px); top: 50%; margin-top: -26px; }
@media (max-width: 620px) {
  .lightbox-prev { left: 14px; } .lightbox-next { right: 14px; }
  .lightbox-close, .lightbox-nav { width: 44px; height: 44px; }
}

/* --------------------------------------------------------- 21. CTA band */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: rgba(255,255,255,.74);
  padding-block: clamp(56px, 8vw, 104px);
}
.cta::before {
  content: ''; position: absolute; right: -12%; top: -60%;
  width: 58%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(60,125,41,.28), transparent 62%);
}
.cta-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .6;
  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: 54px 54px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.cta-in { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .cta-in { grid-template-columns: 1fr; } }
.cta-title { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3.4rem); margin: 0 0 16px; }
.cta-lead { color: rgba(255,255,255,.66); max-width: 52ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------- 22. footer */
.foot { background: var(--navy-900); color: rgba(255,255,255,.6); padding-block: clamp(48px, 6vw, 80px) 28px; }
.foot-top {
  display: grid; gap: clamp(26px, 3vw, 44px);
  grid-template-columns: 1.6fr repeat(3, .8fr) 1fr;
  padding-bottom: clamp(34px, 4vw, 54px);
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 1080px) { .foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot-top { grid-template-columns: 1fr 1fr; } }
.foot-brand img { height: 58px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 20px; }
.foot-brand p { font-size: .9rem; max-width: 46ch; color: rgba(255,255,255,.52); line-height: 1.62; }
.foot-social { display: flex; gap: 10px; margin-top: 22px; }
.foot-social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  transition: all .4s var(--ease-out);
}
.foot-social a:hover { background: var(--green); border-color: var(--green); transform: translateY(-3px); }
.foot-social a { color: rgba(255,255,255,.62); }
.foot-social a:hover { color: #fff; }
.foot-social svg { width: 19px; height: 19px; }
.foot-col h3 {
  font-family: var(--f-mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--green-lite);
  margin: 0 0 18px;
}
.foot-col a {
  display: block; padding: 6px 0; color: rgba(255,255,255,.58); font-size: .91rem;
  transition: color .3s var(--ease), transform .3s var(--ease-out);
}
.foot-col a:hover { color: #fff; transform: translateX(4px); }
.foot-col address { font-style: normal; margin-bottom: 16px; }
.foot-col address span { display: block; font-size: .88rem; color: rgba(255,255,255,.5); line-height: 1.6; }
.foot-strong { font-family: var(--f-mono); font-size: .86rem; color: rgba(255,255,255,.78) !important; }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between;
  align-items: center; padding-top: 24px;
}
.foot-bottom p { margin: 0; font-size: .82rem; color: rgba(255,255,255,.36); }
.foot-legal { display: flex; gap: 22px; }
.foot-legal a { font-size: .82rem; color: rgba(255,255,255,.44); }
.foot-legal a:hover { color: var(--green-lite); }

/* ------------------------------------------------------ 23. back to top */
.totop {
  position: fixed; right: clamp(16px, 2.4vw, 30px); bottom: clamp(16px, 2.4vw, 30px);
  z-index: 700; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  border: 0; background: var(--navy); color: #fff; display: grid; place-items: center;
  box-shadow: var(--sh-2);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.85);
  transition: opacity .4s var(--ease), transform .45s var(--ease-out), visibility .4s, background-color .3s var(--ease);
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--green); }
.totop-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop-ring circle { fill: none; stroke-width: 2; }
.totop-track { stroke: rgba(255,255,255,.16); }
.totop-fill { stroke: var(--green-lite); stroke-linecap: round; stroke-dasharray: 126; stroke-dashoffset: 126; }
.totop-arrow { position: relative; z-index: 1; }

/* --------------------------------------------- 24. forms (contact page) */
.formcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(26px, 3.4vw, 46px); box-shadow: var(--sh-1);
}
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
@media (max-width: 700px) { .fgrid { grid-template-columns: 1fr; } }
.f-wide { grid-column: 1 / -1; }
.field { position: relative; }
.field > label {
  display: block; font-family: var(--f-mono); font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--grey-2); margin-bottom: 8px;
}
.field .req { color: var(--green); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; border-radius: var(--r);
  border: 1.5px solid var(--line); background: var(--paper-2);
  font-family: var(--f-body); font-size: .96rem; color: var(--ink);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { min-height: 156px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); background: #fff;
  box-shadow: 0 0 0 4px rgba(60,125,41,.13);
}
.field input::placeholder, .field textarea::placeholder { color: #A9B2B8; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.infocard {
  background: var(--navy); color: rgba(255,255,255,.72);
  border-radius: var(--r-xl); padding: clamp(26px, 3.4vw, 42px);
  position: relative; overflow: hidden;
}
.infocard h3 { color: #fff; }
.infoline {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.infoline:last-child { border-bottom: 0; }
.infoline-ico {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,.07); display: grid; place-items: center; color: var(--green-lite);
  transition: background-color .35s var(--ease), transform .4s var(--ease-out);
}
.infoline:hover .infoline-ico { background: var(--green); color: #fff; transform: rotate(-8deg); }
.infoline-k {
  display: block; font-family: var(--f-mono); font-size: .66rem;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 4px;
}
.infoline-v { color: #fff; font-size: .96rem; }
.infoline-v a { color: #fff; }
.infoline-v a:hover { color: var(--green-lite); }

.mapframe {
  border: 0; width: 100%; height: clamp(300px, 42vw, 460px);
  border-radius: var(--r-xl); filter: grayscale(.35) contrast(1.02);
  transition: filter .5s var(--ease);
}
.mapframe:hover { filter: none; }

.alert {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px;
  border-radius: var(--r); margin-bottom: 22px; font-size: .92rem;
}
.alert--ok  { background: var(--paper-3); color: var(--green-deep); border: 1px solid rgba(60,125,41,.3); }
.alert--bad { background: #FDECEA; color: #B3261E; border: 1px solid rgba(179,38,30,.22); }

.acc-sign { position: relative; }

/* -------------------------------------------- 25. interactive product map */
.mapwrap { position: relative; }
.mapstage {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: var(--paper-2); box-shadow: var(--sh-1);
  border: 1px solid var(--line);
}
.mapstage img.map-image { width: 100%; height: auto; display: block; }
.imagemap-pointer {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3;
}
.imagemap-pointer a { cursor: pointer; outline: none; }
.imagemap-pointer path.enabled {
  fill: rgba(60,125,41,.16);
  stroke: rgba(60,125,41,.85);
  stroke-width: 1.4;
  transition: fill .3s var(--ease), stroke .3s var(--ease), filter .3s var(--ease);
  animation: hotBreathe 3.4s var(--ease-in-out) infinite;
}
@keyframes hotBreathe { 0%,100% { fill: rgba(60,125,41,.10); } 50% { fill: rgba(60,125,41,.26); } }
.imagemap-pointer a:hover path.enabled,
.imagemap-pointer a:focus-visible path.enabled {
  fill: rgba(60,125,41,.52);
  stroke: #fff; stroke-width: 2;
  filter: drop-shadow(0 0 12px rgba(60,125,41,.9));
  animation: none;
}
.mapstage.is-quiet .imagemap-pointer path.enabled { animation: none; fill: rgba(60,125,41,.04); stroke: rgba(60,125,41,.35); }


.maptip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 100px; margin-bottom: 20px;
  background: var(--paper-3); color: var(--green-deep);
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
}
.maptip svg { flex: 0 0 auto; }

/* the switcher above the map */
.switcher { display: flex; flex-wrap: wrap; gap: clamp(14px, 2vw, 34px); margin-bottom: clamp(22px, 3vw, 38px); }
.switcher-group { display: flex; flex-direction: column; gap: 10px; }
.switcher-label {
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--grey-2);
}
.switcher-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 9px 18px; border-radius: 100px; border: 1.4px solid var(--line);
  background: #fff; color: var(--navy); font-size: .86rem; font-weight: 500;
  transition: all .35s var(--ease-out);
}
.pill:hover { border-color: var(--green); color: var(--green-deep); transform: translateY(-2px); }
.pill.is-on { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(60,125,41,.3); }

/* the product detail modal */
.pmodal {
  position: fixed; inset: 0; z-index: 980; display: grid; place-items: center;
  padding: clamp(16px, 4vw, 50px);
  background: rgba(8,19,31,.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.pmodal.is-open { opacity: 1; }
.pmodal-card {
  position: relative; width: min(920px, 100%); max-height: 88vh; overflow: auto;
  background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-3);
  display: grid; grid-template-columns: 1.05fr .95fr;
  transform: translateY(22px) scale(.97); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .4s var(--ease);
}
.pmodal.is-open .pmodal-card { transform: none; opacity: 1; }
@media (max-width: 760px) { .pmodal-card { grid-template-columns: 1fr; } }
.pmodal-media { background: var(--paper-2); position: relative; overflow: hidden; min-height: 240px; }
.pmodal-media img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .6s var(--ease-out); }
.pmodal-media img.is-zoom { transform: scale(1.6); cursor: zoom-out; }
.pmodal-body { padding: clamp(24px, 3vw, 40px); }
.pmodal-body h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 14px; }
.pmodal-body p { color: var(--grey); font-size: .95rem; }
.pmodal-links { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.pmodal-links h4 {
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--grey-2); margin: 0 0 12px;
}
.pmodal-links a {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 8px 8px 0;
  padding: 7px 14px; border-radius: 100px; background: var(--paper-3);
  color: var(--green-deep); font-size: .82rem; font-weight: 500;
  transition: all .3s var(--ease-out);
}
.pmodal-links a:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.pmodal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--navy); display: grid; place-items: center;
  box-shadow: var(--sh-1); transition: all .35s var(--ease-out);
}
.pmodal-close:hover { background: var(--green); color: #fff; transform: rotate(90deg); }

/* ---------------------------------------------------------- 26. gallery */
.gal {
  display: grid; gap: clamp(12px, 1.6vw, 20px);
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
}
.gal-item {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--navy-900); aspect-ratio: 4/3; cursor: pointer;
  border: 0; padding: 0; text-align: left; font: inherit; display: block;
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.gal-item.is-hidden { display: none; }
.gal-item:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.gal-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out), filter .5s var(--ease);
}
.gal-item:hover img { transform: scale(1.08); filter: brightness(.55); }
.gal-over {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(16px, 2vw, 24px); color: #fff;
  background: linear-gradient(180deg, transparent 30%, rgba(8,19,31,.9) 100%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.gal-item:hover .gal-over, .gal-item:focus-visible .gal-over { opacity: 1; }
.gal-tag {
  align-self: flex-start; padding: 5px 12px; border-radius: 100px; margin-bottom: auto;
  background: rgba(60,125,41,.9); font-family: var(--f-mono);
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  transform: translateY(-10px); transition: transform .45s var(--ease-out);
}
.gal-item:hover .gal-tag { transform: none; }
.gal-desc {
  font-size: .87rem; line-height: 1.5; color: rgba(255,255,255,.9);
  transform: translateY(14px); transition: transform .5s var(--ease-out);
}
.gal-item:hover .gal-desc { transform: none; }
.gal-tech {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px;
  transform: translateY(18px); transition: transform .55s var(--ease-out);
}
.gal-item:hover .gal-tech { transform: none; }
.gal-tech span {
  padding: 4px 10px; border-radius: 100px; background: rgba(255,255,255,.14);
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase;
}

/* -------------------------------------------------- 27. value flip cards */
.values { display: grid; gap: clamp(12px, 1.6vw, 18px); grid-template-columns: repeat(auto-fit, minmax(216px, 1fr)); }
.value {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  min-height: 300px; cursor: pointer; border: 0; padding: 0;
  text-align: left; font: inherit; color: #fff; display: block;
  background: var(--navy);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.value:hover { transform: translateY(-7px); box-shadow: var(--sh-2); }
.value-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .42; transition: transform .9s var(--ease-out), opacity .5s var(--ease);
}
.value:hover .value-bg, .value.is-open .value-bg { transform: scale(1.08); opacity: .2; }
.value-in {
  position: relative; z-index: 1; height: 100%; min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(20px, 2.4vw, 28px);
  background: linear-gradient(180deg, rgba(8,19,31,.15) 0%, rgba(8,19,31,.88) 72%);
}
.value-n {
  position: absolute; top: 20px; left: 24px;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .18em; color: var(--green-lite);
}
.value h3 { color: #fff; margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.value-body {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .55s var(--ease-out), opacity .45s var(--ease), margin-top .5s var(--ease-out);
  margin-top: 0;
}
.value.is-open .value-body { grid-template-rows: 1fr; opacity: 1; margin-top: 14px; }
/* a grid item defaults to min-height:auto, so a 0fr row still grows to fit its
   content — this is what actually keeps the collapsed panel collapsed */
.value-body > * { overflow: hidden; min-height: 0; }
.value-body ul { margin: 0; padding-left: 1.1em; font-size: .88rem; color: rgba(255,255,255,.82); }
.value-body li { margin-bottom: .35em; }
.value-hint {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green-lite);
}
.value-hint svg { transition: transform .4s var(--ease-out); }
.value.is-open .value-hint svg { transform: rotate(180deg); }

/* -------------------------------------------------------- 28. news cards */
.newsgrid { display: grid; gap: clamp(16px, 2vw, 26px); grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
.newscard {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s var(--ease);
}
.newscard:hover { transform: translateY(-7px); box-shadow: var(--sh-2); border-color: rgba(60,125,41,.34); }
.newscard-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.newscard-media img, .newscard-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.newscard:hover .newscard-media img { transform: scale(1.07); }
.newscard-ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: var(--navy); color: rgba(255,255,255,.25);
  font-family: var(--f-display); font-weight: 900; font-size: 2.6rem; letter-spacing: .1em;
}
.newscard-badge {
  position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 100px;
  background: var(--green); color: #fff; font-family: var(--f-mono);
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
}
.newscard-body { padding: clamp(18px, 2.2vw, 26px); display: flex; flex-direction: column; flex: 1; }
.newscard-date {
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green-deep); margin-bottom: 10px;
}
.newscard-title { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; line-height: 1.28; margin-bottom: 10px; }
.newscard-title a { color: var(--navy); transition: color .3s var(--ease); }
.newscard:hover .newscard-title a { color: var(--green-deep); }
.newscard-desc { font-size: .9rem; color: var(--grey); margin-bottom: 16px; }
.newscard-foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.newscard-attach { font-family: var(--f-mono); font-size: .68rem; color: var(--grey-2); }

.empty {
  text-align: center; padding: clamp(48px, 8vw, 90px) 20px;
  border: 1.5px dashed var(--line); border-radius: var(--r-xl); background: var(--paper-2);
}
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--grey); margin: 0; }

/* ------------------------------------------------------- 29. misc utils */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack > * + * { margin-top: 18px; }
.pill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-tag {
  padding: 7px 15px; border-radius: 100px; background: var(--paper-3);
  color: var(--green-deep); font-family: var(--f-mono); font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.sec--dark .pill-tag { background: rgba(255,255,255,.07); color: var(--green-lite); }

.prose h3 { margin-top: 1.6em; }
.prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li::marker { color: var(--green); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.pdfframe {
  width: 100%; height: clamp(360px, 52vw, 560px); border: 1px solid var(--line);
  border-radius: var(--r); background: var(--paper-2);
}

.imgfull { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--sh-1); }

/* tilt is applied by JS via a CSS variable so no inline styles are needed */
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); }

/* the "now hiring" panel on the careers page */
.openbox {
  display: grid; grid-template-columns: 1fr auto; gap: clamp(22px, 4vw, 54px);
  align-items: center; padding: clamp(28px, 4vw, 52px);
  background: linear-gradient(120deg, rgba(60,125,41,.14), rgba(60,125,41,.02));
  border: 1px solid rgba(60,125,41,.28); border-radius: var(--r-xl);
}
@media (max-width: 760px) { .openbox { grid-template-columns: 1fr; } }
.openbox-title { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin: 0 0 12px; }

/* contact page layout */
.contactgrid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 940px) { .contactgrid { grid-template-columns: 1fr; } }
.contact-h { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 10px; }
.contact-sub { margin-bottom: 30px; font-size: 1rem; }
.formfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }
.formnote { margin: 0; font-size: .82rem; color: var(--grey-2); }
.infocard-reg { font-family: var(--f-mono); font-size: .78rem; color: rgba(255,255,255,.42); margin: -6px 0 18px; }
.infocard-social { display: flex; gap: 10px; margin-top: 24px; }
.infocard-social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  transition: all .4s var(--ease-out);
}
.infocard-social a:hover { background: var(--green); border-color: var(--green); transform: translateY(-3px); }
.infocard-social a { color: rgba(255,255,255,.7); }
.infocard-social a:hover { color: #fff; }
.infocard-social svg { width: 18px; height: 18px; }

/* standalone confirmation page rendered by send.php */
.notice {
  min-height: 100svh; display: grid; place-items: center; padding: 40px 20px;
  background: var(--navy-900); text-align: center;
}
.notice-card {
  max-width: 560px; background: #fff; border-radius: var(--r-xl);
  padding: clamp(34px, 5vw, 58px); box-shadow: var(--sh-3);
}
.notice-ico {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 24px;
  display: grid; place-items: center; background: var(--paper-3); color: var(--green-deep);
}
.notice-ico--bad { background: #FDECEA; color: #B3261E; }
.notice h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 12px; }
.notice p { color: var(--grey); }
.notice .btn { margin-top: 24px; }

.galnote {
  margin-top: clamp(24px, 3vw, 40px); color: var(--grey);
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}

.pagehead--404 { min-height: 62svh; display: flex; align-items: center; }
.err-actions { margin-top: 30px; }

/* ---------------------------------------------------------- 30. patches */

/* A split headline puts each word in its own span, and background-clip:text
   only paints the element that owns the background — so the gradient has to
   live on the word, not the line, or the text renders invisible. */
.shimmer .split-word > span {
  background: var(--chrome);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: sweep 7s linear infinite;
}
.shimmer--dark .split-word > span,
.on-light .shimmer .split-word > span {
  background: linear-gradient(105deg,#37474F 0%,#8fa0ad 22%,#132843 42%,#9fb3c1 60%,#37474F 82%,#6e7f8c 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
}

/* Three feature cards should share the row rather than leave a hole where a
   fourth auto-fill track would have been. */
.gal--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

/* The certification marks are dark artwork on white. Filtering them to sit on
   a navy band only made them vanish, so each one gets its own white plate —
   which is also how these marks are meant to be reproduced. */
.certstrip-item { width: 210px; padding: 0 0 14px; }
.certstrip-item img {
  width: 100%; height: 118px; padding: 16px 20px;
  background: #fff; border-radius: var(--r);
  object-fit: contain; filter: none; opacity: .88;
  transition: opacity .4s var(--ease), transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.certstrip-item:hover { background: transparent; }
.certstrip-item:hover img {
  opacity: 1; transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}
.certstrip-name { color: rgba(255,255,255,.5); line-height: 1.5; }

.lightbox-fig figcaption { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lightbox-open { margin-top: 6px; }

/* when a card opens, its content grows up past the corner number */
.value-n { transition: opacity .35s var(--ease); }
.value.is-open .value-n { opacity: 0; }

/* On a narrow screen a sideways reveal starts 46px off-canvas, which makes the
   whole page scroll horizontally until it animates in. Below the tablet
   breakpoint these become plain rises. */
@media (max-width: 900px) {
  .reveal--left, .reveal--right { transform: translateY(30px); }
}

/* the map instruction changes wording where there is no pointer to hover with */
.tip-tap { display: none; }
@media (hover: none) {
  .tip-hover { display: none; }
  .tip-tap { display: inline; }
}

/* --------------------------------------------------- capabilities bento
 *
 * The "eight processes" grid on the home page. Photo-first: each tile is a
 * photograph of the process with the text laid over a scrim, rather than a
 * text card with a 34px thumbnail. PVD takes a 2x2 tile, assembly a 2x1, and
 * the rest are single cells — the layout says out loud what the numbers
 * already say, that one of these eight is the reason customers arrive.
 *
 * Every tile is an <a>; the scrim is a ::after so the photo can zoom under it
 * without the text moving. Hover warms the scrim green instead of bleaching
 * the picture, which is what the old icon filter did.
 */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: clamp(12px, 1.4vw, 18px);
}

.bento-hero,
.bento-cell {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-dark);
  text-decoration: none; color: #fff;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s var(--ease);
}
.bento-hero { grid-column: span 2; grid-row: span 2; border-color: rgba(60,125,41,.4); }
.bento-cell--wide { grid-column: span 2; }

.bento-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
  transform: scale(1.02);
  filter: saturate(.84) contrast(1.04);
  transition: transform .8s var(--ease-out), filter .5s var(--ease);
}
.bento-hero::after,
.bento-cell::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transition: background .45s var(--ease);
}
.bento-hero::after {
  background: linear-gradient(115deg, rgba(6,15,24,.92) 0%, rgba(6,15,24,.74) 40%, rgba(6,15,24,.18) 100%);
}
.bento-cell::after {
  background: linear-gradient(to top, rgba(6,15,24,.93) 0%, rgba(6,15,24,.44) 58%, rgba(6,15,24,.06) 100%);
}

.bento-in {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; height: 100%;
  padding: clamp(16px, 1.6vw, 20px);
}
.bento-hero .bento-in { padding: clamp(22px, 2.3vw, 30px); }

.bento-cell .bento-in { justify-content: flex-end; }

.bento-no,
.bento-kicker {
  font-family: var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
}
.bento-no {
  position: absolute; top: 14px; left: 18px; z-index: 1;
  font-size: .7rem; color: rgba(255,255,255,.5);
}
.bento-kicker { font-size: .74rem; color: var(--green-lite); }

.bento-h { margin: 0 0 6px; line-height: 1.2; color: #fff; }
.bento-cell .bento-h { font-size: 1rem; }
.bento-hero .bento-h { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.04; margin: 6px 0 10px; }

/* The word for metallizing, filled with the metallized finish. Falls back to
   plain white wherever background-clip: text is unsupported. */
.bento-h--chrome {
  background: var(--chrome);
  -webkit-background-clip: text; background-clip: text;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  /* `.sec--dark h3 { color:#fff }` (line ~542) outranks a lone class, so this
     has to match at least as tightly or the fill never shows. */
  .sec--dark .bento-h--chrome, .bento-h--chrome { color: transparent; }
}

.bento-lead { margin: 0; font-size: .82rem; line-height: 1.45; color: rgba(255,255,255,.68); }
.bento-hero .bento-lead { font-size: .95rem; line-height: 1.55; margin-bottom: auto; max-width: 38ch; color: rgba(255,255,255,.72); }

.bento-metric {
  margin-top: 10px;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--green-lite);
}

.bento-chips {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.bento-chips span { display: flex; align-items: baseline; gap: 8px; font-size: .84rem; color: rgba(255,255,255,.82); }
.bento-chips span::before {
  content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); transform: translateY(-2px);
}

/* hover / keyboard focus */
.bento-hero:hover, .bento-cell:hover,
.bento-hero:focus-visible, .bento-cell:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(60,125,41,.55);
  box-shadow: var(--sh-2);
}
.bento-hero:hover .bento-img, .bento-cell:hover .bento-img,
.bento-hero:focus-visible .bento-img, .bento-cell:focus-visible .bento-img {
  transform: scale(1.08);
  filter: saturate(1) contrast(1.06);
}
.bento-cell:hover::after, .bento-cell:focus-visible::after {
  background: linear-gradient(to top, rgba(6,15,24,.95) 0%, rgba(8,22,14,.58) 42%, rgba(60,125,41,.2) 100%);
}
.bento-hero:hover::after, .bento-hero:focus-visible::after {
  background: linear-gradient(115deg, rgba(6,15,24,.92) 0%, rgba(8,24,16,.76) 46%, rgba(60,125,41,.24) 100%);
}

/* --- narrower screens ---------------------------------------------------
 * Two columns keeps the hero at 2x2 and the wide cell at 2x1 without any of
 * them becoming a letterbox slot; below that everything stacks, and the tiles
 * get their height from their own aspect ratio rather than a fixed row. */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-hero, .bento-cell { grid-column: span 1 !important; grid-row: span 1; }
  .bento-cell { min-height: 210px; }
  .bento-hero { min-height: 420px; }
  .bento-chips { grid-template-columns: 1fr; gap: 6px; }
}

/* ------------------------------------------------ vision / mission rail
 *
 * The three statements on the About page. They were three identical cards
 * with the sentences in small grey body copy — the company's own vision,
 * mission and passion set smaller than the paragraphs around them. Here the
 * sentence itself is the design: display type, one per row, chained down the
 * left by a single continuous rule that runs from the first dot to the
 * priorities link, because these three follow from one another rather than
 * sitting side by side.
 */
.manifesto {
  --man-pad: clamp(22px, 3.2vw, 40px);
  position: relative;
  margin-top: clamp(18px, 2.2vw, 30px);
}

/* one line for the whole rail, so there is no seam between rows */
.manifesto::before {
  content: ""; position: absolute; left: 5px; width: 1px;
  top: calc(var(--man-pad) + 12px);
  bottom: calc(var(--man-pad) + 4px);
  background: linear-gradient(to bottom, rgba(60,125,41,.6), rgba(60,125,41,.10));
}

.man-row {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(120px, 180px) 1fr;
  gap: clamp(14px, 2.4vw, 40px);
  align-items: start;
  padding: var(--man-pad) 0;
  border-top: 1px solid rgba(255,255,255,.10);
}
.man-row:first-child { border-top: 0; }

.man-rail { position: relative; align-self: stretch; }
.man-dot {
  position: absolute; left: 0; top: 7px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--navy-900); border: 2px solid var(--green);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.man-row:hover .man-dot { background: var(--green); box-shadow: 0 0 0 6px rgba(60,125,41,.16); }

.man-k { display: flex; flex-direction: column; gap: 5px; padding-top: 1px; }
.man-no {
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em;
  color: rgba(255,255,255,.42);
}
.man-label {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -.01em;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem); color: #fff; line-height: 1.05;
}

.man-s {
  margin: 0;
  font-family: var(--f-display); font-weight: 700; letter-spacing: -.015em;
  font-size: clamp(1.1rem, 1.85vw, 1.62rem); line-height: 1.34;
  color: rgba(255,255,255,.88);
  max-width: 46ch;
}

/* The phrase each statement turns on. A chrome-gradient fill was tried here
   first and read as *dimmer* than the text around it on this dark ground —
   emphasis has to be brighter, not greyer — so it is a highlighter instead:
   full white on a low green wash that sits behind the baseline. */
.man-em {
  color: #fff;
  box-shadow: inset 0 -.34em 0 rgba(60,125,41,.30);
  /* a phrase that wraps gets the wash on both fragments, not one long band
     stretched across the line break */
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.man-next { margin: clamp(18px, 2.2vw, 26px) 0 0; padding-left: calc(34px + clamp(14px, 2.4vw, 40px)); }
.man-next .tlink { color: var(--green-lite); }

@media (max-width: 760px) {
  .manifesto::before { top: calc(var(--man-pad) + 10px); }
  .man-row { grid-template-columns: 26px 1fr; gap: 10px 14px; }
  .man-k { grid-column: 2; flex-direction: row; align-items: baseline; gap: 10px; }
  .man-s { grid-column: 2; margin-top: 6px; }
  .man-rail { grid-row: 1 / span 2; }
  .man-next { padding-left: 40px; }
}

/* ------------------------------------------------------ section watermark
 *
 * A ghost of our own work behind a dark section. It is a frame of the
 * metallized parts from pvd.mp4 — the same file the home page bento already
 * serves, so a visitor who arrived via the home page has it cached and this
 * costs them nothing.
 *
 * Deliberately not a stock photograph: a free-licence picture of somebody
 * else's vacuum chamber would be less relevant than our own floor and would
 * drag an attribution requirement along with it.
 *
 * It is decorative, so it is aria-hidden and lazy-loaded, and the radial mask
 * dissolves its edges rather than ending them on a hard rectangle.
 */
.sec--ghost { overflow: hidden; }
.sec--ghost > .wrap { position: relative; z-index: 2; }

.sec-ghost {
  position: absolute; z-index: 1; pointer-events: none;
  top: 50%; right: -4%; transform: translateY(-50%);
  width: min(780px, 62%); height: auto;
  opacity: .22;
  filter: grayscale(.35) contrast(1.05);
  /* the mask has to close before the image's own edges or the picture ends on
     a straight line against the section, which reads as a mistake */
  -webkit-mask-image: radial-gradient(ellipse at 58% 50%, #000 6%, transparent 66%);
          mask-image: radial-gradient(ellipse at 58% 50%, #000 6%, transparent 66%);
}

/* On a phone the statements run the full width, so the ghost has to step back
   further or it sits directly under the text rather than beside it. */
@media (max-width: 900px) {
  .sec-ghost { opacity: .12; right: -18%; width: 92%; }
}

/* ---------------------------------------------- photographs in the flow
 *
 * Each stage of the six-step process gets the real operation beside it. The
 * column opposite the text was empty, so the picture costs no extra height —
 * it fills space the layout was already reserving.
 *
 * Kept deliberately small. The capabilities bento higher up the same page is
 * already photo-heavy; at this size these read as markers on a timeline rather
 * than a second gallery.
 */

/* All three cells share one row. Without saying so, grid auto-placement pushes
   whichever cell is asked for a column behind the cursor onto a new row, and
   the text drops below its own photograph. */
.flow-dot, .flow-body, .flow-shot { grid-row: 1; }

.flow-shot { margin: 0; }
.flow-step:nth-child(odd)  .flow-shot { grid-column: 3; justify-self: start; }
.flow-step:nth-child(even) .flow-shot { grid-column: 1; justify-self: end; }

.flow-shot img {
  display: block; width: 168px; height: 126px; object-fit: cover;
  border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--sh-1);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.sec--dark .flow-shot img { border-color: rgba(255,255,255,.14); }
.flow-step:hover .flow-shot img { transform: translateY(-3px); box-shadow: var(--sh-2); }

/* Below the tablet breakpoint the steps stack into one column, so the picture
   sits under its own text rather than across the rail from it. */
@media (max-width: 760px) {
  /* the steps collapse to dot + text in two columns here, so the row-1 pin
     above has to be released or the picture lands on top of its own text */
  .flow-body, .flow-shot { grid-row: auto; }
  .flow-shot { grid-column: 2 !important; justify-self: start !important; margin-top: 12px; }
  .flow-shot img { width: 132px; height: 99px; }
}

/* -------------------------------------------- RBA section watermarks
 *
 * Two layers, both from the 2026 plant shoot. The section carries a band of
 * the workforce — this is the one section on the site whose subject is people,
 * so the picture behind it is the people. Each card then carries the
 * photograph that argues its own point.
 *
 * A band rather than the corner ghost used on the About page: these cards span
 * the full wrap, so a right-hand image would sit almost entirely behind the
 * third one and never be seen.
 */
.sec-ghost--band {
  top: 50%; left: 50%; right: auto; transform: translate(-50%, -50%);
  width: min(1480px, 108%); max-width: none;
  opacity: .20;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 46%, #000 4%, transparent 74%);
          mask-image: radial-gradient(ellipse 62% 58% at 50% 46%, #000 4%, transparent 74%);
}

.card-ghost {
  position: absolute; z-index: -1; pointer-events: none;
  right: -6%; bottom: -5%;
  width: 70%; height: auto;
  opacity: .13;
  filter: grayscale(.3) contrast(1.04);
  -webkit-mask-image: radial-gradient(ellipse at 76% 82%, #000 2%, transparent 66%);
          mask-image: radial-gradient(ellipse at 76% 82%, #000 2%, transparent 66%);
  transition: opacity .45s var(--ease);
}
.card:hover .card-ghost { opacity: .22; }

/* The three sources are not equally bright, so one opacity reads as three
   different strengths — bright blue uniforms under strong light against a dim
   grey control panel. Balanced by eye, not by number. */
.card-ghost--soft   { opacity: .10; }
.card-ghost--strong { opacity: .20; }
.card:hover .card-ghost--soft   { opacity: .17; }
.card:hover .card-ghost--strong { opacity: .30; }

/* ------------------------------------------------- policy bands (CSR)
 *
 * The 2023 site presented these four policies as full-width photograph bands
 * that expanded on click (#click-slider-wrapper in the old style.css). The
 * pattern was good; the execution had problems worth not repeating:
 *
 *   - the policy text was laid over the photograph, in a box capped at 450px
 *     with its own scrollbar. A legal paragraph read through a picture of coal.
 *     The text now sits on its own panel beneath the band.
 *   - the open height was hard-coded to 550px, so the longer policies scrolled
 *     inside themselves. The panel is measured instead, by the accordion
 *     script this already uses.
 *   - the bands were <div>s with a click handler: no keyboard, nothing
 *     announced. They are the site's ordinary accordion buttons now, so
 *     aria-expanded and one-open-at-a-time come for free and no new
 *     JavaScript was needed.
 *   - the photograph only appeared once a band was open, so a closed band was
 *     a blank dark strip.
 */
.acc--bands { border-top: 0; display: grid; gap: 12px; }
.acc--bands .acc-item {
  border-bottom: 0; border-radius: var(--r-lg); overflow: hidden;
  background: var(--paper-2); box-shadow: var(--sh-1);
}

.acc--bands .acc-btn {
  position: relative; isolation: isolate; width: 100%;
  min-height: 168px; padding: clamp(20px, 2.4vw, 30px);
  display: flex; align-items: flex-end; gap: 16px;
  color: #fff; text-align: left;
  transition: min-height .5s var(--ease-out);
}
.acc--bands .acc-img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.02);
  filter: saturate(.85) contrast(1.04);
  transition: transform .8s var(--ease-out), filter .5s var(--ease);
}
.acc--bands .acc-btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* deep enough on the right for the + sign to hold against the bright teal
     of the safety band, not just against the dark ones */
  background: linear-gradient(100deg, rgba(6,15,24,.93) 0%, rgba(6,15,24,.72) 46%, rgba(6,15,24,.44) 100%);
  transition: background .45s var(--ease);
}
.acc--bands .acc-btn:hover { padding-left: clamp(20px, 2.4vw, 30px); }
.acc--bands .acc-btn:hover .acc-img { transform: scale(1.07); filter: saturate(1) contrast(1.06); }
.acc--bands .acc-item.is-open .acc-btn { min-height: 132px; }

.acc--bands .acc-n { color: var(--green-lite); align-self: flex-end; }
.acc--bands .acc-txt {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -.015em;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem); line-height: 1.18; color: #fff;
}
.acc--bands .acc-sign {
  align-self: flex-end; background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.32); color: #fff;
}
.acc--bands .acc-item.is-open .acc-sign { background: var(--green); border-color: var(--green); }
.acc--bands .acc-panel-in { padding: clamp(22px, 2.6vw, 32px); max-width: 82ch; }

@media (max-width: 620px) {
  .acc--bands .acc-btn { min-height: 132px; }
  .acc--bands .acc-item.is-open .acc-btn { min-height: 108px; }
}

/* ------------------------------------------------- page head, with an image
 *
 * Every page head used to be the same dark band, and only four pages ever
 * passed a picture — the rest showed an empty gradient. Each page now brings
 * its own subject, in one of two forms.
 *
 * A photograph fills the band behind a scrim (pagehead--img). A cut-out —
 * a product render keyed off its studio ground, or the pencil sketch drawn
 * from it — is *placed* beside the copy instead, because a subject on a flat
 * white ground cropped to fill a dark band is just a grey wash.
 */
.pagehead--cine { padding-block: clamp(160px, 19vw, 250px) clamp(56px, 8vw, 96px); }
.pagehead--img .pagehead-bg { opacity: .55; }
.pagehead--img .pagehead-shade {
  background: linear-gradient(180deg, rgba(8,19,31,.86) 0%, rgba(8,19,31,.42) 42%, rgba(8,19,31,.94) 100%);
}
.pagehead-title { font-size: clamp(2.6rem, 6.4vw, 5rem); max-width: 16ch; }
/* data-split rewraps every word in its own span and those spans paint the
   text, so a gradient clipped to the <h1> box has nothing to fill and the
   title vanishes. It has to go on the spans — and each word gets its own
   sweep, which reads better anyway. Plain white until the script runs. */
.pagehead-title .split-word > span {
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pagehead--img .pagehead-lead { color: rgba(255,255,255,.86); }
.pagehead-inner::before {
  content: ""; display: block; width: 74px; height: 3px; margin-bottom: 22px;
  background: linear-gradient(90deg, var(--green-lite), transparent);
}

/* cut-out subject: placed, not cropped */
.pagehead--cut .pagehead-bg {
  opacity: 1; object-fit: contain; object-position: right 46%;
  width: 62%; left: auto; right: -2%;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.55));
}
.pagehead--cut .pagehead-shade {
  background: radial-gradient(ellipse 68% 90% at 8% 50%, rgba(8,19,31,.94) 20%, rgba(8,19,31,.5) 62%, transparent 88%);
}
.pagehead--cut .pagehead-title, .pagehead--cut .pagehead-lead { max-width: 15ch; }

/* line art: the drop shadow that grounds a solid cut-out only smears an outline */
.pagehead--line .pagehead-bg { filter: none; }

@media (max-width: 860px) {
  .pagehead--cut .pagehead-bg { width: 100%; right: -8%; opacity: .3; }
  .pagehead--cut .pagehead-title, .pagehead--cut .pagehead-lead { max-width: none; }
}

/* ------------------------------------------------- product map: pins + rail
 *
 * The artwork keeps its hotspot shapes, but every one of them now carries a
 * numbered pin, and the same parts are listed beside the map. Hovering either
 * lights the whole family — so the fifteen shapes on the console page read as
 * two parts in fifteen places rather than fifteen mysteries.
 */
.pmap { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(280px,1fr); gap: clamp(18px,2.2vw,28px); align-items: start; }

.pmap-rail {
  display: flex; flex-direction: column; gap: 9px;
  /* Living Room carries fourteen products; left to grow, the list ran three
     times the height of the artwork and left a tall empty column beside it.
     It scrolls in place instead, so the map stays in view. */
  max-height: clamp(420px, 62vh, 620px); overflow-y: auto;
  padding-right: 6px; scroll-behavior: smooth;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.pmap-rail::-webkit-scrollbar { width: 6px; }
.pmap-rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
.pmap-h {
  display: flex; justify-content: space-between; margin: 0 0 3px;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--grey-2);
}

.pmap-card {
  display: grid; grid-template-columns: 30px 68px 1fr; gap: 12px; align-items: center;
  padding: 11px; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; color: inherit; text-align: left; font: inherit; cursor: pointer;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease-out);
}
.pmap-card img { width: 68px; height: 52px; object-fit: cover; border-radius: 8px; display: block; }
.pmap-n {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--f-mono); font-size: .64rem; color: var(--grey-2);
  transition: all .3s var(--ease);
}
.pmap-txt { min-width: 0; }
.pmap-t { display: block; font-family: var(--f-display); font-weight: 700; font-size: .95rem; margin-bottom: 2px; }
.pmap-d {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: .76rem; color: var(--grey); line-height: 1.4;
}
.pmap-p { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.pmap-p span {
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--green-deep); background: rgba(60,125,41,.10); border-radius: 20px; padding: 3px 8px;
}
.pmap-card:hover, .pmap-card.is-on, .pmap-card:focus-visible {
  border-color: var(--green); box-shadow: var(--sh-1); outline: none;
}
.pmap-card.is-on .pmap-n { border-color: var(--green); background: var(--green); color: #fff; }

/* the pins */
.pmap-pin {
  position: absolute; z-index: 4; transform: translate(-50%,-50%);
  width: 30px; height: 30px; border-radius: 50%; padding: 0;
  background: #fff; border: 2px solid var(--green); color: var(--green-deep);
  font-family: var(--f-mono); font-size: .66rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(15,32,52,.20);
  transition: all .35s var(--ease-out);
}
.pmap-pin::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid var(--green); opacity: .28;
}
.pmap-pin.is-on, .pmap-pin:focus-visible {
  width: 40px; height: 40px; background: var(--green); color: #fff; border-color: #fff;
  font-size: .76rem; outline: none;
  box-shadow: 0 0 0 8px rgba(60,125,41,.18), 0 8px 22px rgba(15,32,52,.28);
}
.pmap-pin.is-mute { opacity: .4; }

/* the shapes: quiet until their family is picked */
.mapstage.is-picking .imagemap-pointer path.enabled { animation: none; fill: rgba(60,125,41,.05); stroke: rgba(60,125,41,.3); }
.imagemap-pointer a.is-on path.enabled {
  fill: rgba(60,125,41,.5); stroke: #fff; stroke-width: 2;
  filter: drop-shadow(0 0 12px rgba(60,125,41,.9)); animation: none;
}

@media (max-width: 900px) {
  .pmap { grid-template-columns: 1fr; }
  .pmap-rail { max-height: none; overflow: visible; padding-right: 0; }
  .pmap-pin { width: 26px; height: 26px; font-size: .6rem; }
  .pmap-pin.is-on, .pmap-pin:focus-visible { width: 34px; height: 34px; }
}

/* the shared photo viewer: a counter under the caption, and a hero that is now
   a link but must not look like one */
.lightbox-count {
  display: block; margin-top: 6px;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em;
  color: rgba(255,255,255,.45);
}
a.article-hero { display: block; cursor: zoom-in; }
a.news-gal-item { cursor: zoom-in; }
