/* ==========================================================================
   Maxvision — shared site styles
   Palette:  abyss / deep (sea-dark) · twin (cyan = the model) ·
             oxide (rust = real-world damage) · paper / ink (light sections)
   Type:     IBM Plex Sans at natural width for headings, body and labels.
   ========================================================================== */

:root {
  --abyss: #0a1b26;
  --deep: #0f2938;
  --deep-2: #163647;
  --twin: #6fe0d2;
  --twin-dim: rgba(111, 224, 210, 0.35);
  --oxide: #d9622e;
  --oxide-soft: rgba(217, 98, 46, 0.22);
  --paper: #eef2f1;
  --white: #ffffff;
  --ink: #12212b;
  --muted: #51626c;
  --muted-on-dark: #a9bcc3;
  --rule: #cbd5d6;
  --rule-dark: rgba(255, 255, 255, 0.12);

  --font-display: "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Sans", system-ui, sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 132px);
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

figure {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--twin);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--twin);
  color: var(--abyss);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type ---------- */
.display,
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-stretch: normal;
  margin: 0;
  color: inherit;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.15rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.2rem;
  font-stretch: normal;
  font-weight: 600;
  line-height: 1.25;
}

p {
  margin: 0 0 1em;
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  max-width: 40em;
}

.label {
  font-family: var(--font-mono);
  font-stretch: normal;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--oxide);
}

.on-dark .eyebrow {
  color: var(--twin);
}

/* Placeholder text that must be replaced before launch */
.ph {
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 1px 6px;
  border: 1px dashed currentColor;
  border-radius: 3px;
  opacity: 0.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--twin {
  background: var(--twin);
  color: var(--abyss);
}

.btn--twin:hover {
  background: #8cebdf;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--white);
}

.btn--ink {
  background: var(--ink);
  color: var(--white);
}

.btn--ink:hover {
  background: var(--deep-2);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}

.arrow-link::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.arrow-link:hover::after {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--white);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.is-solid {
  background: rgba(10, 27, 38, 0.96);
  box-shadow: 0 1px 0 var(--rule-dark);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand__word {
  font-family: var(--font-display);
  font-stretch: normal;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand__word span {
  font-weight: 380;
  color: var(--twin);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 10px 12px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav .btn {
  margin-left: 12px;
  padding: 12px 18px;
  color: var(--abyss);
}

.nav .btn:hover {
  color: var(--abyss);
  background: #8cebdf;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle svg {
  margin: auto;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 24px;
    background: var(--abyss);
    border-top: 1px solid var(--rule-dark);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--rule-dark);
    border-radius: 0;
  }

  .nav .btn {
    margin: 18px 0 0;
    justify-content: center;
    border-bottom: 0;
    border-radius: var(--radius);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--white);
  background: var(--abyss);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(10, 27, 38, 0.35) 0%, rgba(10, 27, 38, 0.75) 70%),
    linear-gradient(0deg, rgba(10, 27, 38, 0.95) 0%, rgba(10, 27, 38, 0) 35%);
}

.hero__center {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 48px;
}

.hero__center h1 {
  max-width: 13em;
}

.hero__center .lead {
  margin: 22px auto 0;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.86);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.hero__bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule-dark);
  background: rgba(10, 27, 38, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__bar a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 24px;
  text-align: center;
  text-decoration: none;
  border-left: 1px solid var(--rule-dark);
  transition: background 0.2s;
}

.hero__bar a:first-child {
  border-left: 0;
}

.hero__bar a:hover {
  background: rgba(111, 224, 210, 0.1);
}

.hero__bar b {
  font-family: var(--font-display);
  font-stretch: normal;
  font-size: 1.05rem;
  font-weight: 650;
}

.hero__bar span {
  font-size: 0.85rem;
  color: var(--muted-on-dark);
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-y) 0;
}

.section--white {
  background: var(--white);
}

.section--dark {
  background: var(--abyss);
  color: var(--white);
}

.center-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}

.center-head > p:not(.label) {
  margin: 18px auto 0;
  max-width: 34em;
  color: var(--muted);
  font-size: 1.1rem;
}

.on-dark .center-head > p:not(.label) {
  color: var(--muted-on-dark);
}

.center-link {
  margin: 40px 0 0;
  text-align: center;
}

.two-head {
  padding-bottom: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Signature: 3D twin ---------- */
.twin-section {
  background:
    radial-gradient(ellipse at 50% 60%, rgba(31, 90, 102, 0.45) 0%, rgba(10, 27, 38, 0) 60%),
    var(--abyss);
}

.twin {
  position: relative;
  height: clamp(440px, 62vw, 640px);
  border: 1px solid var(--rule-dark);
  border-radius: 6px;
  overflow: hidden;
  background:
    linear-gradient(rgba(111, 224, 210, 0.04) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(111, 224, 210, 0.04) 1px, transparent 1px) 0 0 / 40px 40px;
}

.twin__canvas,
.twin__canvas canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
  touch-action: pan-y;
}

.twin.is-dragging .twin__canvas canvas {
  cursor: grabbing;
}

.twin__fallback {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.twin.is-fallback .twin__fallback {
  display: block;
}

.twin__tag {
  position: absolute;
  left: 0;
  top: 0;
  display: none;
  align-items: center;
  gap: 8px;
  margin: -14px 0 0 0;
  padding: 6px 12px;
  border: 1px solid var(--rule-dark);
  border-radius: 999px;
  background: rgba(10, 27, 38, 0.85);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
}

.twin.is-ready .twin__tag {
  display: inline-flex;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}

.dot--ok {
  background: var(--twin);
}

.dot--reduced {
  background: #f2b544;
}

.dot--critical {
  background: #e2622b;
}

.twin__legend {
  position: absolute;
  left: 20px;
  bottom: 18px;
  display: flex;
  gap: 18px;
  color: var(--muted-on-dark);
}

.twin__legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.twin__hint {
  position: absolute;
  right: 20px;
  bottom: 18px;
  margin: 0;
  color: rgba(169, 188, 195, 0.7);
}

/* ---------- Value ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}

.value svg {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  fill: none;
  stroke: var(--oxide);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-stretch: normal;
  margin-bottom: 8px;
}

.value p {
  margin: 0;
  color: var(--muted);
}

/* ---------- How it works ---------- */
.process {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--deep);
}

.media-frame video,
.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.flow {
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
}

.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 74px;
  bottom: -10px;
  border-left: 1.5px dashed var(--rule);
}

.flow svg {
  width: 56px;
  height: 56px;
  padding: 14px;
  border-radius: 50%;
  background: var(--white);
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  box-shadow: 0 0 0 1px var(--rule);
}

.flow li:last-child svg {
  background: var(--twin);
  box-shadow: none;
}

.flow h3 {
  font-size: 1.35rem;
}

.flow p {
  margin: 2px 0 0;
  color: var(--muted);
}

/* ---------- Industries tabs ---------- */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.tabs__list button {
  padding: 12px 20px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: 500 0.95rem var(--font-body);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.tabs__list button:hover {
  border-color: var(--ink);
}

.tabs__list button[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.tabs__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}

.tabs__panel[hidden] {
  display: none;
}

.tabs__panel img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.tabs__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 56px);
}

.tabs__body h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-stretch: normal;
  margin-bottom: 12px;
}

.tabs__body p {
  color: var(--muted);
  font-size: 1.1rem;
}

.tabs__body .arrow-link {
  align-self: flex-start;
  margin-top: 28px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.88rem;
}

/* ---------- Cards ---------- */
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  overflow: hidden;
  border-radius: 6px;
  background: var(--paper);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(18, 33, 43, 0.12);
}

.card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 20px 22px 24px;
}

.card__body h3 {
  margin-top: 12px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 3px;
  background: rgba(111, 224, 210, 0.22);
  color: #0d6b61;
}

.status--open {
  background: var(--oxide-soft);
  color: #9a3d14;
}

/* ---------- Two ends of one problem ---------- */
.diptych {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  color: var(--white);
}

.diptych__half {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 56px);
  overflow: hidden;
}

.diptych__half img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.diptych__half::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(10, 27, 38, 0.96) 0%, rgba(10, 27, 38, 0.82) 32%, rgba(10, 27, 38, 0.15) 80%);
}

.diptych__half > *:not(img) {
  position: relative;
  z-index: 2;
}

.diptych__half .label {
  align-self: flex-start;
  margin: 0;
  padding: 5px 9px;
  border-radius: 3px;
  background: rgba(10, 27, 38, 0.8);
  color: #f6a77f;
}

.diptych__half--sudden .label {
  color: var(--twin);
}

.diptych__half h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-stretch: normal;
}

.diptych__half ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.diptych__half li {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(10, 27, 38, 0.35);
}

/* ---------- Roots + CTA band ---------- */
.roots {
  position: relative;
  overflow: hidden;
  background: var(--abyss);
  color: var(--white);
}

.roots__bg {
  position: absolute;
  inset: 0;
}

.roots__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.roots__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 27, 38, 0.72);
}

.roots .wrap {
  position: relative;
}

.roots__center {
  margin-bottom: 0;
}

.roots__center > p:not(.label) {
  color: rgba(255, 255, 255, 0.84);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--abyss);
  color: var(--muted-on-dark);
  padding: 72px 0 32px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-grid h4 {
  margin: 0 0 14px;
  color: var(--white);
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-grid a {
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-about p {
  margin-top: 16px;
  max-width: 26em;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-dark);
  font-size: 0.85rem;
}

/* ---------- Inner page header ---------- */
.page-hero {
  position: relative;
  padding: 180px 0 80px;
  background: var(--abyss);
  color: var(--white);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 27, 38, 0.94) 30%, rgba(10, 27, 38, 0.5) 100%);
}

.page-hero .wrap {
  position: relative;
}

.page-hero h1 {
  max-width: 14em;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
}

.page-hero .lead {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.84);
}

.page-hero__crumb {
  margin: 0 0 22px;
  color: var(--muted-on-dark);
}

.page-hero__crumb a {
  color: var(--twin);
  text-decoration: none;
}

/* ---------- Inner page components ---------- */

/* Image + text, alternating */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.split + .split {
  margin-top: clamp(56px, 8vw, 96px);
}

.split--rev {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.split--rev .split__media {
  order: 2;
}

.split__media {
  overflow: hidden;
  border-radius: 6px;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split__body h2,
.split__body h3 {
  margin-bottom: 14px;
}

.split__body h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-stretch: normal;
}

.split__body > p:not(.label) {
  color: var(--muted);
  font-size: 1.1rem;
}

.on-dark .split__body > p:not(.label) {
  color: var(--muted-on-dark);
}

.split__body .label {
  margin: 22px 0 8px;
  color: var(--muted);
}

.split__body .eyebrow {
  margin: 0 0 18px;
}

/* Icon cards (services, data sources, values) */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.icon-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.icon-grid--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.icon-card {
  padding: 30px 26px;
  border-radius: 6px;
  background: var(--white);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.section--white .icon-card {
  background: var(--paper);
}

.icon-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(18, 33, 43, 0.1);
}

.icon-card svg,
.tile svg {
  width: 48px;
  height: 48px;
  padding: 11px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--abyss);
  fill: none;
  stroke: var(--twin);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-card h3 {
  margin-bottom: 8px;
}

.icon-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.icon-card .chips {
  margin-top: 16px;
}


.tile {
  padding: 24px 12px;
  border-radius: 6px;
  background: var(--white);
  text-align: center;
}

.tile svg {
  margin: 0 auto 12px;
}

.section--white .tile {
  background: var(--paper);
}

.tile h3 {
  font-size: 1rem;
  font-stretch: normal;
}

/* Dashboard mock */
.dash {
  padding: 22px;
  border: 1px solid var(--rule-dark);
  border-radius: 8px;
  background: var(--deep);
  color: var(--white);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.dash__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--rule-dark);
  color: var(--muted-on-dark);
}

.dash__head b {
  color: var(--white);
  font-weight: 600;
}

.dash__row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 92px;
  gap: 16px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-dark);
  font-size: 0.92rem;
}

.dash__row:last-child {
  border-bottom: 0;
}

.dash__row small {
  display: block;
  color: var(--muted-on-dark);
  font-size: 0.78rem;
}

.bar {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.bar i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 3px;
  background: var(--twin);
}

.bar--reduced i {
  background: #f2b544;
}

.bar--critical i {
  background: #e2622b;
}

.dash__state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted-on-dark);
}

.dash__note {
  margin: 12px 0 0;
  color: rgba(169, 188, 195, 0.7);
}

/* Team */
.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.person {
  padding: 30px 26px;
  border-radius: 6px;
  background: var(--paper);
  text-align: center;
}

.avatar {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  border: 2px dashed var(--rule);
  border-radius: 50%;
  background: var(--white);
  color: var(--muted);
}

.person h3 {
  margin-bottom: 4px;
}

.person > span.label {
  display: block;
  margin-bottom: 10px;
  color: var(--oxide);
}

.person p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Centered chip row (standards, regions) */
.chips--center {
  justify-content: center;
}

.chips--lg li {
  padding: 10px 18px;
  font-size: 0.98rem;
  background: var(--white);
  border: 1px solid var(--rule);
}

.on-dark .chips li {
  border-color: var(--rule-dark);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

/* Publications placeholder list */
.pubs {
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.pubs li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}

.pubs li:last-child {
  border-bottom: 1px solid var(--rule);
}

.pubs .label {
  color: var(--muted);
  padding-top: 3px;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 6px;
  background: var(--white);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem var(--font-body);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--twin);
  outline-offset: 0;
  border-color: transparent;
  background: var(--white);
}

.form .btn {
  justify-self: start;
}

.form__msg {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--oxide-soft);
  color: #7a300f;
  font-size: 0.95rem;
}

.contact__side {
  display: grid;
  gap: 16px;
}

.contact__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-radius: 6px;
  background: var(--white);
}

.contact__item svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 50%;
  background: var(--abyss);
  fill: none;
  stroke: var(--twin);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__item .label {
  display: block;
  color: var(--muted);
  margin-bottom: 2px;
}

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .process {
    grid-template-columns: minmax(0, 1fr);
  }

  .tabs__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .tabs__panel img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .split,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .split--rev .split__media {
    order: 0;
  }

  .icon-grid--4,
  .icon-grid--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .icon-grid,
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero__bar {
    grid-template-columns: 1fr 1fr;
  }

  .hero__bar a {
    padding: 16px 12px;
  }

  .hero__bar a:nth-child(3) {
    border-left: 0;
  }

  .hero__bar a:nth-child(n + 3) {
    border-top: 1px solid var(--rule-dark);
  }

  .values,
  .cards3,
  .icon-grid,
  .icon-grid--4,
  .team {
    grid-template-columns: minmax(0, 1fr);
  }

  .form {
    grid-template-columns: minmax(0, 1fr);
  }

  .dash__row {
    grid-template-columns: minmax(0, 1fr) 80px;
  }

  .dash__row .bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .values {
    gap: 40px;
  }

  .diptych {
    grid-template-columns: minmax(0, 1fr);
  }

  .diptych__half {
    min-height: 340px;
  }

  .twin__legend {
    left: 14px;
    bottom: 46px;
    gap: 12px;
  }

  .twin__hint {
    left: 14px;
    right: auto;
    bottom: 16px;
  }

  .twin__tag {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

}

@media (max-width: 480px) {
  .hero__bar b {
    font-size: 0.95rem;
  }

  .hero__bar span {
    font-size: 0.78rem;
  }

  .tabs__list button {
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
