/* Mutant Energy, dark style: design language taken from mntpwr.com (palette, wide uppercase
   type with solid and outline words, square corners, ghost buttons, tick rule, hazard stripe).
   Deliberately single-theme. Layout: full-width bands separated by hairlines. */

:root {
  --bg: #121315;
  --deep: #000000;
  --ice: #E0EEEE;
  --ice-70: rgba(224, 238, 238, 0.72);
  --ice-50: rgba(224, 238, 238, 0.5);
  --ice-30: rgba(224, 238, 238, 0.3);
  --ice-12: rgba(224, 238, 238, 0.12);
  --mint: #A1C9B8;
  --glow: #C0F5F5;
  --steel: #6C8788;
  --display: "Wide Display", "MeraPro", "Helvetica Neue", Arial, sans-serif;
  --body: "Grotesk Body", "ClashGro", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.125rem);
  --section: clamp(4rem, 9vw, 7rem);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ice); font-family: var(--body); font-size: 1.125rem; line-height: 1.45; -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; }
p { margin: 0; }
a { color: #FFFFFF; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--glow); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.skip { position: absolute; left: var(--gutter); top: -4rem; padding: 0.6rem 0.9rem; background: var(--mint); color: var(--bg); text-decoration: none; font-size: 0.9rem; }
.skip:focus { top: 0.5rem; }

.wrap { max-width: 81.25rem; margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; font-stretch: 125%; text-transform: uppercase; color: var(--ice); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1rem + 5.2vw, 6.25rem); line-height: 1; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 1rem + 2.1vw, 2.5rem); line-height: 1.2; }
h3 { font-size: 1.12rem; line-height: 1.35; font-stretch: 115%; letter-spacing: 0.01em; }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--ice); }
@supports not (-webkit-text-stroke: 1px black) { .outline { color: var(--ice); } }

/* Header */
.site-header { border-bottom: 1px solid var(--ice-30); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; min-height: 3.75rem; padding-block: 0.6rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ice); text-decoration: none; }
.brand svg { display: none; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.3rem 1.8rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { font-size: 1rem; text-decoration: none; color: var(--ice-50); transition: color 0.3s ease-in-out; }
.site-nav a:hover { color: var(--glow); }
.site-nav a[aria-current="page"] { color: var(--ice); box-shadow: inset 0 -1px 0 var(--mint); }

/* Buttons and links */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.button { display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem 1.5rem; border: 1px solid rgba(192, 245, 245, 0.4); border-radius: 4px; background: rgba(161, 201, 184, 0.2); color: var(--ice); font-size: 1rem; line-height: 1.1; text-transform: uppercase; text-decoration: none; transition: background-color 0.3s ease-out, border-color 0.3s ease-out; }
.button:hover { color: var(--ice); background: rgba(161, 201, 184, 0.3); border-color: rgba(192, 245, 245, 0.6); }
.button .arrow { width: 0.85em; height: 0.85em; flex: none; }
.text-link { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ice-70); }

/* Hero */
.hero { padding-block: clamp(3rem, 8vw, 6.5rem) 0; }
.hero-copy { display: grid; gap: 1.75rem; }
.hero h1 { max-width: 14ch; }
.lead { max-width: 42rem; font-size: 1.25rem; color: var(--ice-70); }
.ticks { height: 18px; margin-top: clamp(1.5rem, 4vw, 2.5rem); background: repeating-linear-gradient(90deg, var(--mint) 0 2px, transparent 2px 10px); -webkit-mask: linear-gradient(90deg, #000 0 35%, transparent 35% 37%, #000 37% 62%, transparent 62% 63%, #000 63%); mask: linear-gradient(90deg, #000 0 35%, transparent 35% 37%, #000 37% 62%, transparent 62% 63%, #000 63%); opacity: 0.85; }

.marquee { overflow: hidden; border-block: 1px solid var(--ice-12); margin-top: 2.25rem; padding-block: 0.5rem; }
.marquee-track { display: flex; width: max-content; animation: scroll-left 40s linear infinite; }
.marquee span { flex: none; padding-right: 0.6em; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: clamp(2.6rem, 1.5rem + 5vw, 7rem); line-height: 1.1; text-transform: uppercase; color: var(--ice-30); white-space: nowrap; }
@keyframes scroll-left { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Diagram */
.diagram { margin: 0; padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3rem, 7vw, 5rem); }
.diagram-scroll { overflow-x: auto; }
.diagram svg { display: block; width: 100%; min-width: 40rem; height: auto; }
.diagram figcaption { margin-top: 1rem; max-width: 42rem; font-size: 0.875rem; color: var(--ice-50); }
.oneline .w { fill: none; stroke: var(--ice); stroke-width: 2; stroke-linecap: square; }
.oneline .box { fill: var(--bg); stroke: var(--ice); stroke-width: 2; }
.oneline .heavy { stroke-width: 6; }
.oneline .plate-s { stroke-width: 5; }
.oneline .thin { stroke-width: 1.5; }
.oneline .node { fill: var(--mint); stroke: none; }
.oneline text { fill: var(--ice-50); font-family: var(--body); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 44rem) {
  .diagram svg { min-width: 0; }
  .oneline text { visibility: hidden; }
  .oneline .w, .oneline .box { stroke-width: 4; }
  .oneline .thin { stroke-width: 3; }
  .oneline .plate-s { stroke-width: 8; }
  .oneline .heavy { stroke-width: 9; }
  .oneline .node { r: 9px; }
}

/* Sections */
.section { padding-block: var(--section); border-top: 1px solid var(--ice-12); }
.section-tight { padding-block: calc(var(--section) * 0.6); }
.banded { background: var(--deep); position: relative; }
.banded::before { content: ""; position: absolute; inset: 0 0 auto; height: 14px; background: repeating-linear-gradient(-45deg, var(--steel) 0 10px, transparent 10px 20px); opacity: 0.75; }
.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.section-head p { max-width: 42rem; font-size: 1.2rem; color: var(--ice-70); }
.label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint); }
.measure { max-width: 42rem; }
.after-rows { margin-top: 1.75rem; max-width: 42rem; font-family: var(--display); font-stretch: 115%; font-weight: 600; font-size: 1rem; text-transform: uppercase; color: var(--mint); }

/* Stages */
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 3rem; }
.stages > li { position: relative; display: grid; gap: 0.7rem; align-content: start; padding: 2rem 2rem 0 0; border-top: 2px solid var(--ice); }
.stages > li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--mint); }
.stage-number { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint); }
.stages p { color: var(--ice-70); }
.services { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; gap: 0.4rem; font-size: 0.95rem; color: var(--ice); }
.services li { position: relative; padding-left: 1rem; }
.services li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.45rem; height: 1px; background: var(--mint); }
@media (max-width: 62rem) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .stages { grid-template-columns: minmax(0, 1fr); } .stages > li { padding-right: 0; } }

/* Rows */
.rows { margin: 0; }
.rows > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0.5rem 2.5rem; padding-block: 1.6rem; border-top: 1px solid var(--ice-12); }
.rows > div:last-child { border-bottom: 1px solid var(--ice-12); }
.rows dt { font-family: var(--display); font-stretch: 115%; font-weight: 600; font-size: 1.05rem; line-height: 1.35; text-transform: uppercase; color: var(--ice); }
.rows dd { margin: 0; max-width: 42rem; color: var(--ice-70); }
@media (max-width: 44rem) { .rows > div { grid-template-columns: minmax(0, 1fr); } }

/* Alliances: a ruled grid of cells */
.alliances { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--ice-12); border: 1px solid var(--ice-12); }
.alliances article { display: grid; gap: 0.9rem; align-content: start; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--deep); }
.alliances p { color: var(--ice-70); max-width: 34rem; }
@media (max-width: 52rem) { .alliances { grid-template-columns: minmax(0, 1fr); } }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.5rem 2.5rem; align-items: start; }
.split > div { display: grid; gap: 1.25rem; min-width: 0; }
.split p { color: var(--ice-70); max-width: 42rem; }
.split p.lead { font-size: 1.25rem; }
@media (max-width: 44rem) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Inner page header */
.page-head { padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 3.5rem); }
.page-head .wrap { display: grid; gap: 1.5rem; }
.page-head h1 { max-width: 16ch; font-size: clamp(2.1rem, 1rem + 4.2vw, 5rem); }

/* People */
.people { display: grid; }
.person { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0.75rem 2.5rem; padding-block: 2rem; border-top: 1px solid var(--ice-12); }
.person:last-child { border-bottom: 1px solid var(--ice-12); }
.person header { display: grid; gap: 0.45rem; align-content: start; }
.person h2 { font-size: 1.3rem; font-stretch: 115%; }
.person .field { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint); }
.person .bio { max-width: 42rem; color: var(--ice-70); }
@media (max-width: 44rem) { .person { grid-template-columns: minmax(0, 1fr); } }

/* Contact */
.contact-address { font-family: var(--display); font-stretch: 115%; font-weight: 600; font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); overflow-wrap: anywhere; user-select: all; }
.checklist { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.6rem; max-width: 42rem; color: var(--ice-70); }
.checklist li::marker { color: var(--mint); }
.todo { padding-inline: 0.25em; outline: 1px dashed var(--mint); outline-offset: 4px; color: var(--mint); }

/* Closing band and footer */
.closing { border-top: 1px solid var(--ice-30); }
.closing .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem 3rem; }
.closing h2 { max-width: 22ch; }
.site-footer { border-top: 1px solid var(--ice-30); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem 3rem; padding-block: 2rem 2.5rem; font-size: 0.9rem; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.site-footer ul a { text-decoration: none; color: var(--ice-50); }
.legal { flex-basis: 100%; color: var(--ice-50); }

/* Scroll-driven 3D emblem behind the home page (added by emblem3d.js when WebGL is available) */
.emblem3d { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.52; }
.has-3d .site-header, .has-3d main, .has-3d .closing, .has-3d .site-footer { position: relative; z-index: 1; }
.has-3d .banded { background: rgba(0, 0, 0, 0.55); }
.has-3d .alliances article { background: rgba(0, 0, 0, 0.6); }
@media (max-width: 47.5rem) { .emblem3d { opacity: 0.45; } }

/* Navigation hover: a left-to-right wipe from dim to bright, as on the source site */
.site-nav a {
  color: transparent;
  background: linear-gradient(90deg, var(--glow) 0 50%, var(--ice-50) 50% 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-position 0.3s ease-in-out;
}
.site-nav a:hover, .site-nav a:focus-visible { color: transparent; background-position: 0 0; }
.site-nav a[aria-current="page"] { background: none; color: var(--ice); }

/* Phone menu: mint square button, full-screen black overlay */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-toggle { display: none; }
@media (max-width: 47.5rem) {
  .js .site-header .wrap { flex-wrap: nowrap; min-height: 4.4rem; padding-block: 0; padding-right: 0; }
  .js .menu-toggle {
    display: grid; place-items: center; flex: none; width: 4.4rem; height: 4.4rem; margin-left: auto;
    border: 0; border-radius: 0; background: var(--mint); color: var(--bg); cursor: pointer; position: relative; z-index: 3;
  }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 1.4rem; height: 2px; background: currentColor; position: relative; transition: transform 0.2s ease-out, background-color 0.2s; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -7px; } .menu-bars::after { top: 7px; }
  .js .site-nav { display: none; }
  .js .nav-open .site-nav { display: block; position: fixed; inset: 0; z-index: 2; background: var(--deep); padding: 6.5rem var(--gutter) 3rem; overflow-y: auto; }
  .js .nav-open .site-nav ul { flex-direction: column; gap: 0; }
  .js .nav-open .site-nav li { border-bottom: 1px solid var(--ice-12); }
  .js .nav-open .site-nav a { display: block; padding-block: 1.1rem; font-size: 1.25rem; background: none; color: var(--ice); }
  .js .nav-open .site-nav a[aria-current="page"] { color: var(--mint); }
  .js .nav-open .menu-toggle { background: transparent; color: var(--mint); }
  .nav-open .menu-bars { background: transparent; }
  .nav-open .menu-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .menu-locked, .menu-locked body { overflow: hidden; }
  .js .site-header.nav-open { position: relative; z-index: 6; }
}

/* Rotating badge, fixed bottom right; inverts over light areas */
.badge { position: fixed; right: clamp(0.75rem, 2.5vw, 2rem); bottom: clamp(0.75rem, 2.5vw, 2rem); width: clamp(84px, 9vw, 120px); height: auto; z-index: 4; pointer-events: none; mix-blend-mode: difference; }
.badge svg { display: block; width: 100%; height: auto; will-change: transform; }
.badge text { fill: #FFFFFF; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 9.6px; letter-spacing: 0.06em; }
.badge-mark { fill: #FFFFFF; }

/* Battery types: image cards, the image zooms on hover */
.types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.75rem; }
.type { display: grid; gap: 0.7rem; align-content: start; }
.type-photo { aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; display: grid; place-items: center; margin-bottom: 0.4rem; background: rgba(0, 0, 0, 0.55); border: 1px solid var(--ice-12); }
.type-photo span { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ice-30); }
.type-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease-out; }
.type:hover .type-photo img { transform: scale(1.1); }
.type p { font-size: 0.98rem; color: var(--ice-70); }
@media (max-width: 62rem) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .type-photo img { transition: none; } }

/* Social commitment: the three-word line, with the middle word in outline */
.tagline { display: flex; flex-wrap: wrap; gap: 0 0.35em; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: clamp(2.2rem, 0.8rem + 5.6vw, 6.25rem); line-height: 1; text-transform: uppercase; color: var(--ice); }
.tagline .outline { -webkit-text-stroke-width: 2px; }

/* Keep the badge from covering the last line of the footer on phones */
@media (max-width: 47.5rem) { .site-footer .wrap { padding-bottom: 7rem; } }

/* Keep running text legible where the emblem's lit faces pass behind it */
.has-3d main p, .has-3d main dd, .has-3d main li { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 18px rgba(0, 0, 0, 0.85); }

/* Navigation dropdown (About): black panel, mint on hover, as on the source site */
.site-nav .has-sub { position: relative; }
.site-nav .sub { display: none; position: absolute; top: 100%; left: -0.75rem; z-index: 20; min-width: 17rem; margin: 0; padding: 0.75rem 0.3rem 0.3rem; list-style: none; }
.site-nav .sub::before { content: ""; position: absolute; inset: 0.45rem 0 0; background: var(--deep); border: 1px solid var(--ice-12); z-index: -1; }
.site-nav .sub li a { display: block; padding: 0.6rem 0.7rem; background: none; color: var(--ice); }
.site-nav .sub li a:hover, .site-nav .sub li a:focus-visible { color: var(--mint); background: rgba(161, 201, 184, 0.15); }
.site-nav .has-sub:hover .sub, .site-nav .has-sub:focus-within .sub { display: block; }
@media (max-width: 47.5rem) {
  .site-nav .sub { display: none; }
  .js .nav-open .site-nav .sub { display: block; position: static; min-width: 0; padding: 0 0 0.8rem 1rem; }
  .js .nav-open .site-nav .sub::before { display: none; }
  .js .nav-open .site-nav .sub li { border: 0; }
  .js .nav-open .site-nav .sub a { padding-block: 0.45rem; font-size: 1rem; color: var(--ice-70); }
}

.lead-strong { color: var(--ice); font-size: 1.35rem; }
.hero h1 { max-width: 16ch; }

/* About: 01. / 02. / 03. */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.pillars li { display: grid; gap: 0.9rem; align-content: start; padding-top: 1.4rem; border-top: 1px solid var(--ice-30); }
.pillar-number { font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--mint); }
.pillars p { color: var(--ice-70); }
@media (max-width: 58rem) { .pillars { grid-template-columns: minmax(0, 1fr); } .pillars li { max-width: 42rem; } }

.flag-frame { margin: 0; padding: 0.75rem; border: 1px solid var(--ice-12); background: rgba(0, 0, 0, 0.5); }
.flag { display: block; width: 100%; height: auto; }
.independence { align-items: center; }

/* Financing */
.stats { display: flex; flex-wrap: wrap; gap: 1.5rem 4rem; margin: 0.75rem 0 0; }
.stats div { display: grid; gap: 0.4rem; }
.stats dt { order: 2; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint); }
.stats dd { order: 1; margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: clamp(3rem, 1.5rem + 6vw, 6.25rem); line-height: 1; font-variant-numeric: tabular-nums; }
.fineprint { font-size: 0.875rem; color: var(--ice-50); max-width: 42rem; }

/* Contact form: square inputs on a faint fill, as on the source site */
.contact-form { display: grid; gap: 1.25rem; max-width: 42rem; }
.field { display: grid; gap: 0.45rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 36rem) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ice-70); }
.req { letter-spacing: 0.04em; color: var(--ice-50); }
.field input, .field select, .field textarea { width: 100%; min-height: 3.125rem; font: inherit; font-size: 1rem; color: var(--ice); background: rgba(224, 238, 238, 0.05); border: 1px solid var(--ice-30); border-radius: 0; padding: 0.7rem 0.85rem; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mint) 50%), linear-gradient(135deg, var(--mint) 50%, transparent 50%); background-position: calc(100% - 1.2rem) 55%, calc(100% - 0.85rem) 55%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.5rem; }
.field select option { background: var(--bg); color: var(--ice); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 1px solid var(--mint); border-color: var(--mint); }
.field [aria-invalid="true"] { border-color: #F2B8B5; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.form-actions .button { cursor: pointer; font: inherit; font-size: 1rem; }
.form-actions .button:disabled { opacity: 0.6; cursor: progress; }
.form-status { font-size: 0.95rem; min-height: 1.4em; color: var(--ice-70); }
.form-status.is-error { color: #F2B8B5; }
.form-status.is-ok { color: var(--mint); }

.types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 52rem) { .types { grid-template-columns: minmax(0, 1fr); max-width: 30rem; } }
.page-head .label { margin-bottom: -0.25rem; }
.hero h1 { font-size: clamp(2rem, 0.4rem + 7vw, 6.25rem); }

/* ===================== Revision 3 (Oct 21): principal's edits ===================== */

:root { --title: "Title Display", "Michroma", "Eurostile", "Helvetica Neue", Arial, sans-serif; }

/* Title typeface (squared, extended) for large titles; ~15% smaller sizes */
h1, h2, .tagline, .marquee span, .pillar-number, .stats dd, .closing h2 {
  font-family: var(--title); font-weight: 400; font-stretch: normal; font-synthesis: none; letter-spacing: 0.01em;
}
h1 { font-size: clamp(1.9rem, 0.8rem + 4.3vw, 5.2rem); line-height: 1.08; }
h2 { font-size: clamp(1.3rem, 0.85rem + 1.7vw, 2.05rem); line-height: 1.25; }
.outline { -webkit-text-stroke-width: 1.2px; }
.marquee span { font-size: clamp(2.1rem, 1.2rem + 4vw, 5.6rem); }
.tagline { font-size: clamp(1.75rem, 0.6rem + 4.7vw, 5.2rem); line-height: 1.1; }
.tagline .outline { -webkit-text-stroke-width: 1.6px; }
.stats dd { font-size: clamp(2.5rem, 1.3rem + 5vw, 5.2rem); }
.pillar-number { font-size: 2.1rem; }
.person h2, .member h2 { font-family: var(--display); font-stretch: 115%; font-weight: 600; }

/* Header and footer brand: the MUTANT wordmark */
.brand svg { display: block; width: auto; height: 0.95rem; color: var(--ice); }
.brand { gap: 0.7rem; }
.brand-sub { font-family: var(--title); font-weight: 400; font-stretch: normal; font-size: 0.72rem; letter-spacing: 0.28em; color: var(--ice-70); }
.site-footer .brand svg { height: 0.85rem; }
.legal a { color: var(--ice-70); }

/* Home hero: MUTANT centred, with the 3D M behind it */
.hero-brand { padding-block: 0; min-height: min(84vh, 52rem); display: flex; flex-direction: column; justify-content: center; }
.hero-center { display: grid; justify-items: center; text-align: center; gap: 1.2rem; padding-block: clamp(4rem, 12vh, 8rem) clamp(2rem, 6vh, 4rem); }
.hero .hero-wordmark { max-width: none; margin: 0; font-size: 1rem; line-height: 0; }
.hero-wordmark svg { display: block; width: min(80vw, 54rem); height: auto; color: var(--ice); filter: drop-shadow(0 2px 24px rgba(0, 0, 0, 0.6)); }
.hero-sub { font-family: var(--title); font-size: clamp(0.7rem, 0.55rem + 0.6vw, 1.05rem); letter-spacing: 0.55em; padding-left: 0.55em; text-transform: uppercase; color: var(--ice-70); }
.scroll-cue { margin-top: clamp(1.5rem, 5vh, 3rem); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--ice-50); }
.scroll-cue:hover { color: var(--glow); }
.hero-brand .ticks { margin-top: 0; margin-bottom: 1.5rem; }
.marquee { margin-top: 0; }

/* Evolving Creating Transforming, then the introduction */
.ect { padding-block: clamp(4rem, 10vw, 8rem) clamp(2rem, 5vw, 3.5rem); }
.ect .tagline { justify-content: center; text-align: center; margin: 0; gap: 0 0.45em; }
.intro { padding-block: 0 clamp(4rem, 9vw, 7rem); }
.intro .wrap { display: grid; justify-items: center; gap: 1.25rem; text-align: center; }
.intro .lead { max-width: 46rem; }
.intro .lead-strong { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.6rem); line-height: 1.4; }

/* Inner page titles centred, with the M behind */
.page-head { padding-block: clamp(4rem, 12vw, 8.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.page-head .wrap { justify-items: center; text-align: center; gap: 1.3rem; }
.page-head h1 { max-width: 22ch; font-size: clamp(1.8rem, 0.8rem + 3.6vw, 4.3rem); }
.page-head .lead { max-width: 44rem; }
.page-head .stats { justify-content: center; }
.page-head .fineprint { margin-inline: auto; }

/* About: 01. 02. 03. with an image under Mission and Vision */
.pillars-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.pillars-grid .pillars { display: contents; }
.pillar-background { grid-row: span 2; }
.pillar-art { grid-column: 2 / 4; margin: 0; border: 1px solid var(--ice-12); background: rgba(0, 0, 0, 0.55); overflow: hidden; align-self: start; }
.pillar-art img { display: block; width: 100%; height: auto; }
@media (max-width: 58rem) {
  .pillars-grid { grid-template-columns: minmax(0, 1fr); }
  .pillar-background { grid-row: auto; }
  .pillar-art { grid-column: auto; }
}

/* Team: thumbnail table with "Read more", as on the source site (no photos) */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1.5rem; align-items: start; }
.member { display: grid; gap: 1rem; padding: 1.5rem; border: 1px solid var(--ice-12); background: rgba(0, 0, 0, 0.55); scroll-margin-top: 1.5rem; }
.member-table { border-collapse: collapse; width: 100%; }
.member-table th { width: 6.6rem; padding: 0.55rem 0.75rem 0.55rem 0; vertical-align: top; text-align: left; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint); }
.member-table td { padding: 0.55rem 0; vertical-align: top; color: var(--ice-70); font-size: 0.98rem; line-height: 1.45; border-bottom: 1px solid var(--ice-12); }
.member-table th { border-bottom: 1px solid var(--ice-12); }
.member-table tr:last-child th, .member-table tr:last-child td { border-bottom: 0; }
.member-table h2 { margin: 0; font-size: 1.02rem; line-height: 1.3; color: var(--ice); }
.member-more summary { display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer; list-style: none; padding: 0.55rem 0.9rem; border: 1px solid rgba(192, 245, 245, 0.4); border-radius: 4px; background: rgba(161, 201, 184, 0.2); font-size: 0.85rem; text-transform: uppercase; color: var(--ice); transition: background-color 0.3s ease-out, border-color 0.3s ease-out; }
.member-more summary::-webkit-details-marker { display: none; }
.member-more summary::after { content: "+"; font-size: 1.05rem; line-height: 1; color: var(--mint); }
.member-more[open] summary::after { content: "\2212"; }
.member-more summary:hover { background: rgba(161, 201, 184, 0.3); border-color: rgba(192, 245, 245, 0.6); }
.member-more p { margin-top: 1rem; color: var(--ice-70); font-size: 0.98rem; }
.member:target { border-color: var(--mint); }

/* Badge: ring inverts over light areas; the M in the middle stays mint green */
.badge { aspect-ratio: 1; }
.badge-solid { mix-blend-mode: normal; z-index: 5; }
.badge-mark { fill: var(--mint); }

/* Closing band */
.closing h2 { max-width: 24ch; }

/* Featured systems: product renders on transparent backgrounds */
.type-photo { background: radial-gradient(ellipse at 50% 60%, rgba(224, 238, 238, 0.09), rgba(0, 0, 0, 0.55) 70%); }
.type-photo img { object-fit: contain; padding: 0.75rem; }
.types { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 1.5rem; }
@media (max-width: 68rem) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 36rem) { .types { grid-template-columns: minmax(0, 1fr); } }

/* Header (and its About menu) must sit above the page content, or the open menu can't be clicked */
.site-header, .has-3d .site-header { position: relative; z-index: 10; }
/* About menu stays open briefly after the pointer leaves, so diagonal moves to an item don't close it */
@media (min-width: 47.5001rem) {
  .site-nav .sub { display: block; visibility: hidden; opacity: 0; transition: opacity 0.15s ease-out, visibility 0s linear 0.35s; }
  .site-nav .has-sub:hover .sub, .site-nav .has-sub:focus-within .sub { visibility: visible; opacity: 1; transition-delay: 0s; }
  .site-nav .has-sub::after { content: ""; position: absolute; left: -0.75rem; top: 100%; width: 17rem; height: 0.9rem; }
}

/* v7: business proposition and call to action on the opening screen */
.hero-pitch { max-width: 34rem; margin-top: 0.6rem; font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.4rem); line-height: 1.4; color: var(--ice); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 18px rgba(0, 0, 0, 0.85); }
.hero-center .button { margin-top: 0.4rem; }
.hero-center .scroll-cue { margin-top: clamp(1rem, 3vh, 2rem); }
