@charset "UTF-8";
/* ==========================================================================
   Innocave Technologies — design system
   Self-contained. No Bootstrap, no vendor CSS, no icon font.
   ========================================================================== */

/* ---------- Tokens ---------- */

:root {
  /* Brand — taken from the Innocave logo:
     royal blue #0627A0 and copper #D28C62. */
  --ink-900: #040a26;
  --ink-800: #061036;
  --ink-700: #0a1a50;
  --ink-600: #102566;
  --ink-500: #1c3585;

  --brand-800: #041c78;
  --brand-700: #0627a0;   /* logo blue */
  --brand-600: #0b34c4;
  --brand-500: #1f4ae6;
  --brand-400: #5474f4;
  --brand-300: #93a8fb;
  --brand-50:  #eef2fe;

  --copper-700: #a65f2f;
  --copper-600: #c2743d;
  --copper-500: #d28c62;  /* logo copper */
  --copper-400: #e0a67f;
  --copper-300: #eec1a2;

  /* Surfaces */
  --bg:          #ffffff;
  --bg-subtle:   #f6f8fd;
  --bg-sunken:   #eef1fb;
  --surface:     #ffffff;
  --border:      #e2e7f5;
  --border-firm: #cbd4ec;

  /* Text */
  --text:        #131c3d;
  --text-muted:  #515c81;
  --text-faint:  #8189a8;
  --text-invert: #ffffff;
  --text-invert-muted: rgba(228, 233, 252, 0.74);

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-hero:  clamp(1.9rem, 1.3rem + 2.5vw, 3.1rem);
  --fs-h1:    clamp(2.1rem, 1.35rem + 3vw, 3.4rem);
  --fs-h2:    clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  --fs-h3:    clamp(1.3rem, 1.08rem + 0.9vw, 1.75rem);
  --fs-h4:    clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  --fs-lead:  clamp(1.03rem, 0.97rem + 0.35vw, 1.2rem);
  --fs-body:  1rem;
  --fs-sm:    0.9375rem;
  --fs-xs:    0.8125rem;

  /* Space */
  --gutter: clamp(1.15rem, 0.7rem + 1.8vw, 2rem);
  --section-y: clamp(4rem, 2.4rem + 6vw, 7.5rem);
  --max: 1200px;
  --max-narrow: 760px;

  /* Radii & elevation */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(4, 8, 34, .05), 0 1px 3px rgba(4, 8, 34, .04);
  --shadow-md: 0 4px 6px -1px rgba(4, 8, 34, .06), 0 12px 24px -8px rgba(4, 8, 34, .10);
  --shadow-lg: 0 10px 20px -6px rgba(4, 8, 34, .10), 0 28px 56px -16px rgba(4, 8, 34, .16);
  --shadow-glow: 0 14px 40px -12px rgba(6, 39, 160, .42);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;

  /* Per-product accent — overridden inline on product blocks */
  --accent: var(--brand-600);
  --accent-dark: var(--brand-700);
}

/* ---------- Reset ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.022em;
  color: var(--ink-900);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-600); }

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

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

button, input, select, textarea { font: inherit; color: inherit; }

hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

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

::selection { background: var(--brand-300); color: var(--ink-900); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink-900);
  color: #fff;
  padding: .8rem 1.2rem;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.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;
}

/* ---------- Layout primitives ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--max-narrow); }
.wrap--wide { max-width: 1340px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.75rem, 1.8rem + 3.6vw, 4.5rem); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.bg-subtle { background: var(--bg-subtle); }
.bg-sunken { background: var(--bg-sunken); }
.bg-ink {
  background: var(--ink-900);
  color: var(--text-invert-muted);
}
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }

.grid { display: grid; gap: clamp(1.15rem, .8rem + 1.2vw, 1.85rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.stack > * + * { margin-top: 1rem; }

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .55;
}
.bg-ink .eyebrow { color: var(--brand-300); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-muted);
  text-wrap: pretty;
}
.bg-ink .lead { color: var(--text-invert-muted); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

.text-accent { color: var(--brand-600); }
.text-center { text-align: center; }

/* Gradient text used sparingly for one phrase per heading */
.grad {
  background: linear-gradient(100deg, var(--brand-400), var(--brand-300) 45%, var(--copper-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--brand-600);
  --btn-fg: #fff;
  --btn-bd: var(--brand-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }
.btn .ico { width: 18px; height: 18px; flex: none; }

.btn--primary { box-shadow: var(--shadow-glow); }
.btn--primary:hover { --btn-bg: var(--brand-700); --btn-bd: var(--brand-700); }

.btn--accent {
  --btn-bg: var(--copper-500); --btn-bd: var(--copper-500); --btn-fg: var(--ink-900);
}
.btn--accent:hover { --btn-bg: var(--copper-400); --btn-bd: var(--copper-400); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-900); --btn-bd: var(--border-firm); }
.btn--ghost:hover { --btn-bd: var(--brand-500); --btn-fg: var(--brand-700); box-shadow: var(--shadow-sm); }

.btn--on-dark { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.34); }
.btn--on-dark:hover { --btn-bg: rgba(255,255,255,.1); --btn-bd: rgba(255,255,255,.6); }

.btn--white { --btn-bg: #fff; --btn-fg: var(--ink-900); --btn-bd: #fff; }
.btn--white:hover { --btn-fg: var(--brand-700); }

.btn--sm { padding: .6rem 1.15rem; font-size: var(--fs-xs); }
.btn--lg { padding: 1.02rem 2rem; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}
.btn-row--center { justify-content: center; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--accent);
}
.link-arrow .ico { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--accent-dark); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease), height .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap--wide {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

.site-header.is-stuck,
.site-header.is-solid {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 24px -12px rgba(4, 8, 34, .3);
}

/* The logo artwork is deep blue on transparent, so it needs a light plate to
   stay legible over the dark hero. On the white sticky header the plate simply
   blends into the background. */
.brand {
  display: flex;
  align-items: center;
  flex: none;
  padding: 6px 12px;
  background: #fff;
  border-radius: 10px;
}
.brand img { height: 34px; width: auto; }

/* Primary nav */
.nav { margin-left: auto; }
.nav > ul {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav > ul > li { margin: 0; position: relative; }

.nav a {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem .8rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, .84);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a:hover, .nav li.is-active > a { color: #fff; background: rgba(255,255,255,.1); }

.is-stuck .nav a, .is-solid .nav a { color: var(--text-muted); }
.is-stuck .nav a:hover, .is-solid .nav a:hover,
.is-stuck .nav li.is-active > a, .is-solid .nav li.is-active > a {
  color: var(--brand-700);
  background: var(--brand-50);
}

/* Caret on items that own a dropdown: points down when closed, flips to point
   up while the panel is open. Keyed off both :hover and :focus-within so the
   arrow matches the panel for keyboard users too. */
.nav__caret {
  width: 15px;
  height: 15px;
  opacity: .75;
  stroke-width: 2.4;
  transform-origin: 50% 55%;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav li:hover > a .nav__caret,
.nav li:focus-within > a .nav__caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown */
.nav .submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: -8px;
  min-width: 302px;
  padding: .55rem;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav li:hover > .submenu,
.nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .submenu li { margin: 0; }
.nav .submenu a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .6rem .7rem;
  color: var(--text);
  border-radius: var(--r-sm);
}
.nav .submenu a:hover { background: var(--brand-50); color: var(--brand-700); }

.nav__mark {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.nav__label { display: block; font-weight: 600; font-size: var(--fs-sm); line-height: 1.3; }
.nav__desc { display: block; font-size: var(--fs-xs); color: var(--text-faint); font-weight: 400; line-height: 1.35; }

.header-cta { flex: none; margin-left: .5rem; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.is-stuck .nav-toggle, .is-solid .nav-toggle {
  background: var(--bg-subtle);
  border-color: var(--border);
}
.nav-toggle span {
  display: block; position: relative;
  width: 20px; height: 2px; border-radius: 2px;
  background: #fff;
  transition: background-color .2s var(--ease), transform .25s var(--ease);
}
.is-stuck .nav-toggle span, .is-solid .nav-toggle span { background: var(--ink-900); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; border-radius: 2px; background: inherit;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); background: var(--ink-900); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); background: var(--ink-900); }

@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: #fff;
  padding: 1.5rem var(--gutter) 3rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--border); }
.mobile-nav > ul > li > a,
.mobile-nav .m-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  width: 100%;
  padding: 1rem 0;
  font-size: 1.0625rem; font-weight: 600; color: var(--ink-900);
  background: none; border: 0; text-align: left; cursor: pointer;
}
.mobile-nav .m-toggle .ico {
  width: 20px; height: 20px;
  flex: none;
  color: var(--text-faint);
  stroke-width: 2.4;
  transition: transform .25s var(--ease), color .2s var(--ease);
}
/* Same language as the desktop caret: flips to point up while open. */
.mobile-nav .m-toggle[aria-expanded="true"] .ico {
  transform: rotate(180deg);
  color: var(--brand-600);
}
.mobile-nav .m-toggle[aria-expanded="true"] { color: var(--brand-700); }
.mobile-nav .submenu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s var(--ease);
}
.mobile-nav .m-toggle[aria-expanded="true"] + .submenu { grid-template-rows: 1fr; }
.mobile-nav .submenu > div { overflow: hidden; }
.mobile-nav .submenu a {
  display: flex; align-items: center; gap: .7rem;
  padding: .65rem 0 .65rem .1rem;
  font-size: var(--fs-sm); color: var(--text-muted);
}
.mobile-nav .submenu a:hover { color: var(--brand-700); }
.mobile-nav .submenu li:last-child a { padding-bottom: 1rem; }
.mobile-nav__cta { margin-top: 1.75rem; display: grid; gap: .7rem; }
.mobile-nav__meta {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: grid; gap: .6rem; font-size: var(--fs-sm);
}
.mobile-nav__meta a { display: flex; align-items: center; gap: .6rem; color: var(--text-muted); }
.mobile-nav__meta .ico { width: 17px; height: 17px; color: var(--brand-600); flex: none; }

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  /* Deliberately compact — the slider carries five panels, so the band has to
     stay short enough that the section below is visible on a laptop. */
  padding-top: calc(var(--header-h) + clamp(1.5rem, .9rem + 2vw, 2.5rem));
  padding-bottom: clamp(1.25rem, .9rem + 1.4vw, 2rem);
  background: var(--ink-900);
  color: var(--text-invert-muted);
  overflow: hidden;
}
/* Aurora: three soft colour fields that drift slowly behind the headline. */
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  z-index: -2;
  background:
    radial-gradient(52% 46% at 18% 8%,  rgba(31, 74, 230, .42), transparent 62%),
    radial-gradient(46% 44% at 88% 22%, rgba(11, 52, 196, .34), transparent 64%),
    radial-gradient(40% 40% at 62% 96%, rgba(210, 140, 98, .20), transparent 62%);
  animation: aurora 26s var(--ease) infinite alternate;
}

@keyframes aurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3%, 2%, 0) scale(1.08); }
}
/* Faint engineering grid */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 78%);
  mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 78%);
}

/* Soft hand-off into the section below, so the dark band does not end on a
   hard horizontal line. */
.hero__fade {
  position: absolute;
  inset: auto 0 -1px 0;
  height: 160px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
  opacity: .16;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 760px) {
  /* The hero visual is supporting art. On a phone it would double the height
     of the band for no added information — every link in it also appears in
     the sections directly below. */
  .hero__visual { display: none; }
}

.hero__title {
  font-size: var(--fs-hero);
  color: #fff;
  letter-spacing: -.035em;
  line-height: 1.06;
  margin-bottom: 1rem;
  max-width: 15ch;
}
.hero .lead { max-width: 34rem; font-size: clamp(1rem, .95rem + .3vw, 1.14rem); }
.hero .btn-row { margin-top: 1.5rem; }

/* ---------- Hero slider ---------- */

/* Every slide occupies the same grid cell, so the band's height is set by the
   tallest panel once and never shifts as slides change. */
.hero-slides { display: grid; }

.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transform: none; }

/* Product lockup that replaces the pill on product slides */
.hero__lockup {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .9rem;
}
.hero__lockup-mark {
  width: 42px; height: 42px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 85%, transparent);
}
.hero__lockup-mark .ico { width: 22px; height: 22px; }
/* Two of the product accents are very dark (PosVane navy, Biika forest green).
   Lightening the accent keeps the brand hue readable on the dark band. */
.hero__cat {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 42%, #fff);
  margin-bottom: .85rem;
}

/* On product slides the name is the headline, so it needs no wrap limit. */
.hero__title--product { max-width: none; }

/* ---------- Product logo lockup ---------- */

/* The supplied artwork is dark ink on paper, so it sits on a white plate to
   stay legible on the dark hero and banner bands. On light surfaces the plate
   simply disappears into the background. */
.plogo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: #fff;
  border-radius: 12px;
  line-height: 0;
}
.plogo picture { display: block; line-height: 0; }
.plogo img { width: auto; }

.plogo--lg { padding: 12px 18px; }
.plogo--lg img { height: 54px; }
@media (max-width: 620px) { .plogo--lg img { height: 42px; } }

.plogo--sm { padding: 7px 12px; border-radius: 10px; }
.plogo--sm img { height: 34px; }

/* Fallback for products with no artwork yet */
.plogo--fallback { background: transparent; padding: 0; }
.plogo__mark {
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 85%, transparent);
}
.plogo--lg .plogo__mark { width: 54px; height: 54px; }
.plogo--lg .plogo__mark .ico { width: 27px; height: 27px; }
.plogo--sm .plogo__mark { width: 38px; height: 38px; border-radius: 10px; }
.plogo--sm .plogo__mark .ico { width: 20px; height: 20px; }

.plogo__word {
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 700;
  color: var(--ink-900);
}
.plogo--lg .plogo__word { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.4rem); }
.plogo--sm .plogo__word { font-size: 1.3rem; }

/* On the dark bands the fallback wordmark has to invert. */
.hero .plogo__word, .banner .plogo__word { color: #fff; }

/* Heading that contains only a logo needs no text styling of its own. */
.hero__title--logo, .banner__title--logo { margin-bottom: 1.15rem; line-height: 0; }

.hero__ticks { margin-top: 1.15rem; gap: .5rem; }
.hero__ticks li { font-size: var(--fs-sm); }

/* Services grid on slide one */
.hero-services { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
@media (max-width: 480px) { .hero-services { grid-template-columns: 1fr; } }

.hero-service {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .85rem .95rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.hero-service:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.09);
  border-color: color-mix(in srgb, var(--brand-400) 55%, transparent);
}
.hero-service__mark {
  width: 34px; height: 34px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  background: rgba(255,255,255,.1);
  color: var(--brand-300);
}
.hero-service__mark .ico { width: 18px; height: 18px; }
.hero-service strong {
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
}

/* Controls */
.hero-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(1.25rem, .9rem + 1.2vw, 2rem);
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.hero-dots { display: flex; flex-wrap: wrap; gap: .4rem; }

.hero-dot {
  position: relative;
  padding: .42rem .85rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: transparent;
  color: rgba(255,255,255,.5);
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.hero-dot:hover { color: #fff; background: rgba(255,255,255,.07); }
.hero-dot.is-active {
  color: #fff;
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
}

.hero-arrows { display: flex; gap: .5rem; flex: none; }
.hero-arrow {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  color: #fff;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.hero-arrow:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.4); }
.hero-arrow:active { transform: scale(.94); }
.hero-arrow svg { width: 19px; height: 19px; }

@media (max-width: 700px) {
  /* Labels get long on narrow screens — fall back to plain indicator dots. */
  .hero-dot { padding: 0; width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
  .hero-dot span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero-dot.is-active { background: #fff; border-color: transparent; width: 26px; border-radius: var(--r-pill); }
  .hero-dots { gap: .45rem; align-items: center; }
}

/* Compact mock used inside the hero */
.mock--compact { padding: clamp(.7rem, .5rem + .6vw, 1rem); }
.mock--compact .mock__body { padding: .85rem; gap: .6rem; }
.mock--compact .mock__chart { height: 54px; }
.mock--compact .mock__kpi { padding: .5rem .55rem; }
.mock--compact .mock__kpi b { font-size: .95rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem .95rem .42rem .5rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: rgba(255,255,255,.88);
  margin-bottom: 1.5rem;
}
.pill b {
  padding: .18rem .55rem;
  border-radius: var(--r-pill);
  /* Copper on dark navy — the blue tint failed contrast against the ink text. */
  background: var(--copper-500);
  color: var(--ink-900);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* Small caps label above the hero visual */
.hero__visual-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-bottom: .9rem;
  padding-left: .2rem;
}


/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat { background: var(--surface); padding: clamp(1.4rem, 1rem + 1.4vw, 2.15rem) 1.25rem; text-align: center; }
.stat__num {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}
.stat__num i { font-style: normal; color: var(--brand-600); }
.stat__label { margin-top: .55rem; font-weight: 600; font-size: var(--fs-sm); color: var(--text); }
.stat__note { margin-top: .2rem; font-size: var(--fs-xs); color: var(--text-faint); line-height: 1.4; }

/* Dark variant */
.bg-ink .stats { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.12); }
.bg-ink .stat { background: var(--ink-900); }
.bg-ink .stat__num { color: #fff; }
.bg-ink .stat__num i { color: var(--brand-400); }
.bg-ink .stat__label { color: rgba(255,255,255,.9); }
.bg-ink .stat__note { color: rgba(255,255,255,.5); }

/* ---------- Cards ---------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-firm); }
.card h3, .card h4 { margin-bottom: .55rem; }
.card p { color: var(--text-muted); font-size: var(--fs-sm); }
.card .link-arrow { margin-top: auto; padding-top: 1.1rem; }

.card__icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--brand-50);
  color: var(--brand-700);
  margin-bottom: 1.1rem;
}
.card__icon .ico { width: 24px; height: 24px; }

.card--flat:hover { transform: none; box-shadow: var(--shadow-sm); }

/* Numbered process card */
.card__step {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--brand-600);
  margin-bottom: .7rem;
}

/* ---------- Product sections ---------- */

.product {
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
  border-top: 1px solid var(--border);
}
.product:first-of-type { border-top: 0; }

.product__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1.2rem + 4vw, 4.5rem);
  align-items: center;
}
.product--reverse .product__media { order: -1; }
@media (max-width: 940px) {
  .product__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .product--reverse .product__media { order: 0; }
}

.product__head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; }
.product__mark {
  flex: none;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 80%, transparent);
}
.product__mark .ico { width: 27px; height: 27px; }
.product__name { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); letter-spacing: -.03em; }
.product__cat {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  /* The darker shade — several accents fail contrast as text on white. */
  color: var(--accent-dark, var(--accent));
  margin-bottom: .2rem;
}
.product__tagline {
  font-size: var(--fs-lead);
  font-weight: 500;
  color: var(--ink-800);
  margin-bottom: .9rem;
  text-wrap: pretty;
}

/* Feature list with accent ticks */
.ticks { list-style: none; margin: 1.35rem 0 0; padding: 0; display: grid; gap: .72rem; }
.ticks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: .7rem;
  align-items: start;
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.55;
}
.ticks .ico {
  width: 22px; height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  color: var(--accent);
  stroke-width: 2.6;
  margin-top: .12rem;
}
.ticks--invert li { color: var(--text-invert-muted); }
.ticks--invert .ico { background: rgba(255,255,255,.12); color: var(--brand-300); }

.product__actions { margin-top: 1.85rem; }

/* Filled buttons inside a product context take that product's colour. The
   darker shade is used, not the raw accent: white label text fails contrast
   on the lighter marks (CargoVane teal, ProClinic sky). The hover state keeps
   the same fill — the lift and shadow carry the feedback. */
.product .btn--primary,
.pcard .btn--primary,
.product .btn--primary:hover,
.pcard .btn--primary:hover {
  --btn-bg: var(--accent-dark, var(--accent));
  --btn-bd: var(--accent-dark, var(--accent));
}
.product .btn--primary,
.pcard .btn--primary {
  box-shadow: 0 14px 34px -14px color-mix(in srgb, var(--accent) 85%, transparent);
}

/* Abstract product UI mock */
.mock {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(1rem, .7rem + 1vw, 1.6rem);
  background: linear-gradient(160deg,
    color-mix(in srgb, var(--accent) 13%, #fff),
    color-mix(in srgb, var(--accent) 4%, #fff));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.mock::before {
  content: "";
  position: absolute;
  inset: auto 12% -14px 12%;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  filter: blur(24px);
  z-index: -1;
}
.mock__window {
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock__bar {
  display: flex; align-items: center; gap: .4rem;
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-firm); }
.mock__dot:first-child { background: color-mix(in srgb, var(--accent) 70%, transparent); }
.mock__title {
  margin-left: .5rem;
  font-size: .6875rem;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: .04em;
}
.mock__body { padding: 1.05rem; display: grid; gap: .75rem; }

.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mock__kpi {
  padding: .65rem .7rem;
  border-radius: var(--r-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}
.mock__kpi b {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -.03em;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}
.mock__kpi span { display: block; font-size: .625rem; color: var(--text-faint); letter-spacing: .04em; text-transform: uppercase; margin-top: .1rem; }

.mock__chart { display: flex; align-items: flex-end; gap: .35rem; height: 74px; padding-top: .35rem; }
.mock__chart i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: color-mix(in srgb, var(--accent) 26%, transparent);
  animation: mockRise .9s var(--ease) backwards;
}
.mock__chart i:nth-child(even) { background: color-mix(in srgb, var(--accent) 62%, transparent); }
@keyframes mockRise { from { height: 6% !important; opacity: .2; } }

.mock__rows { display: grid; gap: .45rem; }
.mock__row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: .6rem;
  padding: .5rem .6rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: #fff;
}
.mock__row em {
  width: 22px; height: 22px; border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
}
.mock__row u { display: block; height: 7px; border-radius: 4px; background: var(--bg-sunken); text-decoration: none; }
.mock__row u:nth-of-type(1) { width: 72%; }
.mock__row s {
  font-size: .625rem; text-decoration: none; font-weight: 700; letter-spacing: .05em;
  padding: .18rem .45rem; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-dark);
}

/* ---------- Product index cards ---------- */

.pcard {
  --accent: var(--brand-600);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.pcard__top {
  padding: 1.6rem 1.6rem 1.35rem;
  background: linear-gradient(150deg,
    color-mix(in srgb, var(--accent) 12%, #fff),
    color-mix(in srgb, var(--accent) 3%, #fff));
  border-bottom: 1px solid var(--border);
}
.pcard__body { padding: 1.5rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.pcard__body .ticks { margin-top: 0; margin-bottom: 1.5rem; }
.pcard__body .btn-row { margin-top: auto; }
.pcard__title { margin: .55rem 0 .4rem; line-height: 0; }
.pcard__title .plogo { background: transparent; padding: 0; }

.pcard__domain {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-faint);
  font-weight: 500;
}

/* ---------- Testimonials ---------- */

.quote {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.quote__stars { display: flex; gap: .15rem; color: var(--copper-500); margin-bottom: 1rem; }
.quote__stars svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.quote__text {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink-800);
  text-wrap: pretty;
  margin-bottom: 1.5rem;
}
.quote__who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.quote__who img {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover; flex: none;
  border: 2px solid var(--border);
}
.quote__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-700);
  font-weight: 700; font-size: 1rem;
}
.quote__name { font-weight: 600; font-size: var(--fs-sm); color: var(--ink-900); line-height: 1.3; }
.quote__role { font-size: var(--fs-xs); color: var(--text-faint); }

/* ---------- Logo strip ---------- */

.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
}
.logos img {
  height: clamp(30px, 26px + 1vw, 42px);
  width: auto;
  opacity: .55;
  filter: grayscale(1);
  transition: opacity .3s var(--ease), filter .3s var(--ease);
}
.logos img:hover { opacity: 1; filter: grayscale(0); }
.logos--label {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2rem;
}

/* ---------- Split feature (about / why us) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1.2rem + 4vw, 4.5rem);
  align-items: center;
}
@media (max-width: 940px) { .split { grid-template-columns: 1fr; } }

/* Mission / vision / values */
.pillar {
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.pillar__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--brand-600);
  color: #fff;
  margin-bottom: 1.1rem;
}
.pillar__icon .ico { width: 23px; height: 23px; }
.pillar p { color: var(--text-muted); margin-bottom: 0; }
.pillar--accent { background: var(--ink-900); border-color: var(--ink-700); }
.pillar--accent h3 { color: #fff; }
.pillar--accent p { color: var(--text-invert-muted); }
.pillar--accent .pillar__icon { background: var(--brand-500); color: var(--ink-900); }

/* ---------- CTA band ---------- */

.cta {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
  background: var(--ink-900);
  color: var(--text-invert-muted);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(46% 70% at 12% 10%, rgba(31,74,230,.34), transparent 62%),
    radial-gradient(40% 62% at 90% 88%, rgba(210,140,98,.20), transparent 62%);
}
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } }
.cta h2 { color: #fff; margin-bottom: .6rem; }
.cta .lead { margin-bottom: 0; }

/* ---------- Page banner (inner pages) ---------- */

.banner {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 4vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);
  background: var(--ink-900);
  color: var(--text-invert-muted);
  overflow: hidden;
}
.banner::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 80% at 15% 0%, rgba(31,74,230,.32), transparent 65%),
    radial-gradient(45% 70% at 92% 30%, rgba(11,52,196,.24), transparent 65%);
}
.banner h1 { color: #fff; margin-bottom: .8rem; }
.banner .lead { max-width: 42rem; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  list-style: none; margin: 0 0 1.1rem; padding: 0;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.55);
}
.crumbs li { margin: 0; display: flex; align-items: center; gap: .5rem; }
.crumbs li + li::before { content: "/"; opacity: .45; }
.crumbs a { color: rgba(255,255,255,.8); }
.crumbs a:hover { color: var(--brand-300); }

/* ---------- Forms ---------- */

.form-card {
  padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.field { display: grid; gap: .4rem; margin-bottom: 1.05rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-800); }
.field .req { color: #dc2626; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--border-firm);
  border-radius: var(--r-sm);
  background: var(--bg);
  font-size: var(--fs-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23515c81' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 18px;
  padding-right: 2.6rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(6, 39, 160, .16);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.form-note { font-size: var(--fs-xs); color: var(--text-faint); margin-top: .9rem; }

.form-status {
  display: none;
  padding: .85rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  margin-bottom: 1.1rem;
}
.form-status.is-ok { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-status.is-error { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Contact info tiles */
.contact-tile {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.contact-tile:hover { border-color: var(--brand-400); transform: translateY(-2px); }
.contact-tile__icon {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--brand-50);
  color: var(--brand-700);
}
.contact-tile__icon .ico { width: 20px; height: 20px; }
/* Inline icon sized for body text */
.ico--sm { width: 15px; height: 15px; flex: none; }
.contact-tile h4 { margin: 0 0 .15rem; font-size: var(--fs-sm); }
.contact-tile a, .contact-tile p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; word-break: break-word; }
.contact-tile a:hover { color: var(--brand-700); }

/* ---------- Accordion ---------- */

.acc { border-top: 1px solid var(--border); }
.acc__item { border-bottom: 1px solid var(--border); }
.acc__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%;
  padding: 1.25rem 0;
  background: none; border: 0;
  text-align: left;
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
}
.acc__btn .ico { flex: none; width: 20px; height: 20px; color: var(--brand-600); transition: transform .25s var(--ease); }
.acc__btn[aria-expanded="true"] .ico { transform: rotate(45deg); }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}
.acc__btn[aria-expanded="true"] + .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding-bottom: 1.3rem; color: var(--text-muted); margin: 0; max-width: 62ch; }

/* ---------- Article / rich text ---------- */

.prose { max-width: 72ch; color: var(--text-muted); font-size: 1.0625rem; }
.prose h2, .prose h3, .prose h4 { color: var(--ink-900); margin-top: 2.2em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose img { border-radius: var(--r-md); margin: 1.6rem 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .55em; }
.prose blockquote {
  margin: 1.8rem 0;
  padding: .3rem 0 .3rem 1.4rem;
  border-left: 3px solid var(--brand-500);
  font-size: var(--fs-lead);
  color: var(--ink-800);
  font-style: italic;
}
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: var(--fs-sm); }
.prose th, .prose td { padding: .7rem .9rem; border: 1px solid var(--border); text-align: left; }
.prose th { background: var(--bg-subtle); color: var(--ink-900); font-weight: 600; }

/* Wide content must scroll inside itself, never the page */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- News cards ---------- */

.post {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post__img { aspect-ratio: 16 / 9; background: var(--bg-sunken); overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post:hover .post__img img { transform: scale(1.05); }
.post__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: var(--fs-xs); color: var(--text-faint); margin-bottom: .5rem; }
.post h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.post h3 a { color: var(--ink-900); }
.post h3 a:hover { color: var(--brand-700); }
.post p { font-size: var(--fs-sm); color: var(--text-muted); }
.post .link-arrow { margin-top: auto; padding-top: 1rem; }

/* ---------- Team ---------- */

.person {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.person:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-firm);
}

.person__photo {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-sunken);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.person:hover .person__photo img { transform: scale(1.04); }

.person__initials {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--brand-700);
  opacity: .5;
}

.person__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.person__body h3 { font-size: 1.08rem; margin-bottom: .15rem; }
.person__role {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--brand-700);
  margin-bottom: .6rem;
}
.person__bio { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 0; }

.person__links { display: flex; gap: .4rem; margin-top: auto; padding-top: 1rem; }
.person__links a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.person__links a:hover { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-300); }
.person__links .ico { width: 16px; height: 16px; }

/* ---------- Empty state ---------- */

.empty {
  text-align: center;
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--gutter);
  border: 1px dashed var(--border-firm);
  border-radius: var(--r-lg);
  background: var(--bg-subtle);
}
.empty .ico { width: 42px; height: 42px; color: var(--brand-500); margin: 0 auto 1rem; }
.empty p { color: var(--text-muted); max-width: 40ch; margin-inline: auto; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink-900);
  color: var(--text-invert-muted);
  padding-top: clamp(3rem, 2rem + 4vw, 5rem);
  font-size: var(--fs-sm);
}
.site-footer h4 {
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  padding-bottom: 3rem;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer__grid ul li { margin: 0; }
.footer__grid a { color: var(--text-invert-muted); }
.footer__grid a:hover { color: var(--brand-300); }

.footer__brand img {
  height: 34px;
  width: auto;
  margin-bottom: 1.1rem;
  padding: 6px 12px;
  background: #fff;
  border-radius: 10px;
  box-sizing: content-box;
}
.footer__brand p { max-width: 34ch; margin-bottom: 1.4rem; }

.socials { display: flex; gap: .55rem; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.75);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.socials a:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
  transform: translateY(-2px);
}
.socials svg { width: 18px; height: 18px; fill: currentColor; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.55);
}
.footer__bottom a { color: rgba(255,255,255,.7); }
.footer__bottom a:hover { color: var(--brand-300); }
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }

/* ---------- Floating actions ---------- */

.fab-stack {
  position: fixed;
  right: clamp(1rem, .6rem + 1vw, 1.6rem);
  bottom: clamp(1rem, .6rem + 1vw, 1.6rem);
  z-index: 90;
  display: grid;
  gap: .6rem;
  justify-items: end;
}

.fab {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .25s var(--ease);
}
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab svg { width: 27px; height: 27px; fill: currentColor; }
.fab--wa { background: #25d366; }
.fab--top {
  width: 44px; height: 44px;
  background: var(--ink-800);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}
.fab--top svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.fab--top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.fab__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: .45rem .8rem;
  border-radius: var(--r-sm);
  background: var(--ink-900);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
.fab-wrap { position: relative; }
.fab-wrap:hover .fab__tip { opacity: 1; }
@media (max-width: 620px) { .fab__tip { display: none; } }

/* ---------- Scroll reveal ---------- */

/* Scoped to .js so that if the script fails to load the content is still
   visible rather than permanently transparent. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

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

/* ---------- Print ---------- */

@media print {
  .site-header, .mobile-nav, .fab-stack, .cta, .site-footer { display: none !important; }
  body { color: #000; }
  .hero, .banner { background: #fff; color: #000; padding-top: 1rem; }
  .hero__title, .banner h1 { color: #000; }
}
