/* ==========================================================================
   Expotech redesign — shared stylesheet
   Palette and type follow the current site (OneTone theme):
   Open Sans, #37cadd teal, #333/#555 greys, #555 footer, #000 bottom bar.
   ========================================================================== */

:root {
  --teal: #37cadd; /* brand accent (backgrounds, on-dark text) */
  --teal-deep: #11707e; /* accessible teal for text on light backgrounds */
  --teal-soft: #e9f8fa;
  --teal-glow: rgba(55, 202, 221, 0.18);
  --ink: #333333; /* headings */
  --body: #555555; /* body text */
  --muted: #666666;
  --line: #e5e5e5;
  --soft: #f5f5f5;
  --white: #ffffff;
  --dark: #333333;
  --darker: #222222;
  --darkest: #1b1d1f;
  --footer: #555555;
  --amber: #fcb900;
  --red: #ff8a80;

  --font: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--teal-deep);
  text-decoration: none;
  transition: color 0.25s;
}
a:hover {
  color: var(--ink);
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
}
p {
  margin: 0;
}
ul {
  margin: 0;
}
button {
  font: inherit;
}
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection {
  background: var(--teal);
  color: var(--darker);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section {
  padding: var(--section) 0;
  position: relative;
}
.section--soft {
  background: var(--soft);
}
.section--dark {
  background: var(--dark);
  color: #d6d6d6;
}
.section--darker {
  background: var(--darker);
  color: #d6d6d6;
}
.section--teal {
  background: var(--teal);
  color: var(--darker);
}
.section--tight {
  padding: clamp(48px, 6vw, 80px) 0;
}
.section--dark h2,
.section--dark h3,
.section--darker h2,
.section--darker h3 {
  color: var(--white);
}
.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 300px at 85% 10%, var(--teal-glow), transparent 70%),
    radial-gradient(
      500px 260px at 5% 95%,
      rgba(55, 202, 221, 0.1),
      transparent 70%
    );
}
.section > .container {
  position: relative;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}
.section--dark .eyebrow,
.section--darker .eyebrow,
.on-dark .eyebrow {
  color: var(--teal);
}
.section--teal .eyebrow {
  color: var(--darker);
}
.eyebrow--plain::before {
  display: none;
}

.accent-bar {
  display: block;
  width: 44px;
  height: 3px;
  background: var(--teal);
  border-radius: 3px;
}
.h-display {
  font-weight: 300;
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.h-section {
  font-weight: 300;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.h-display strong,
.h-section strong {
  font-weight: 700;
  color: var(--teal-deep);
}
.section--dark .h-section strong,
.section--darker .h-section strong,
.on-dark strong.hl {
  color: var(--teal);
}
.section--teal .h-section,
.section--teal .h-section strong {
  color: var(--darker);
}
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 56px);
  max-width: 760px;
}
.section-head--center {
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head--split {
  max-width: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 48px;
}
.section-head--split > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 520px;
}
.section-head--split > p {
  flex: 1 1 340px;
  max-width: 34em;
}
.section-head--split > .tabs__list {
  flex: 0 1 auto;
  flex-direction: row;
  gap: 8px;
}

/* Animated highlight under key words */
.mark {
  background-image: linear-gradient(
    transparent 62%,
    rgba(55, 202, 221, 0.35) 62%
  );
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 1.1s var(--ease) 0.35s;
}
.is-visible .mark,
.mark.is-visible {
  background-size: 100% 100%;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bd);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.btn::after {
  /* light sweep on hover */
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 50%;
  z-index: -1;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--btn-fg);
}
.btn:hover::after {
  left: 120%;
}
.btn .i {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}
.btn:hover .i {
  transform: translateX(4px);
}
.btn--primary {
  --btn-bg: var(--teal);
  --btn-fg: var(--darker);
  --btn-bd: var(--teal);
}
.btn--primary:hover {
  --btn-bg: #4fd5e6;
}
.btn--dark {
  --btn-bg: var(--darker);
  --btn-fg: var(--white);
  --btn-bd: var(--darker);
}
.btn--outline {
  --btn-fg: var(--ink);
  --btn-bd: var(--ink);
}
.btn--outline:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
}
.btn--light {
  --btn-fg: var(--white);
  --btn-bd: rgba(255, 255, 255, 0.85);
}
.btn--light:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--darker);
}
.btn--lg {
  min-height: 56px;
  padding: 0 30px;
  font-size: 16px;
}
.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  color: var(--teal-deep);
}
.link-arrow .i {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover .i,
a:hover > .link-arrow .i,
.card:hover .link-arrow .i {
  transform: translateX(5px);
}
.on-dark .link-arrow,
.section--dark .link-arrow,
.section--darker .link-arrow {
  color: var(--teal);
}

/* ---------- Icons ---------- */
.i {
  width: 24px;
  height: 24px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--r);
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-soft);
  color: var(--teal-deep);
  transition:
    background-color 0.35s,
    color 0.35s,
    transform 0.5s var(--ease);
}
.icon-box .i {
  width: 26px;
  height: 26px;
}
.icon-box--round {
  border-radius: 50%;
}
.icon-box--lg {
  width: 76px;
  height: 76px;
}
.icon-box--lg .i {
  width: 34px;
  height: 34px;
}
.section--dark .icon-box,
.section--darker .icon-box {
  background: rgba(55, 202, 221, 0.12);
  color: var(--teal);
}

/* ---------- Grids & layout ---------- */
.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.grid--5 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .split--even {
    grid-template-columns: 1fr 1fr;
  }
  .split--wide-media {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .split--reverse > :first-child {
    order: 2;
  }
}
.split > *,
.grid > *,
.stepper > *,
.book > * {
  min-width: 0;
}
.years {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 20px);
}
.years .card {
  align-items: center;
  text-align: center;
  padding: clamp(16px, 2.4vw, 30px) 8px;
}
.years .stat__num {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stack--sm {
  gap: 10px;
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 2.6vw, 34px);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s;
  color: var(--body);
}
a.card {
  text-decoration: none;
}
.card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.card p {
  font-size: 15.5px;
}
.card .link-arrow {
  margin-top: auto;
}
.card--hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card--hover:hover .icon-box {
  background: var(--teal);
  color: var(--darker);
  transform: rotate(-6deg) scale(1.05);
}
.card--top {
  border-top: 3px solid var(--teal);
}
.card--soft {
  background: var(--soft);
  border-color: transparent;
}
.card--dark {
  background: #2b2b2b;
  border-color: #444;
  color: #d6d6d6;
}
.card--dark h3 {
  color: var(--white);
}
.card__num {
  font-weight: 300;
  font-size: 44px;
  line-height: 1;
  color: var(--teal-deep);
}
.card--dark .card__num {
  color: var(--teal);
}
.card__corner {
  /* teal line that grows on hover */
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--teal);
  transition: width 0.6s var(--ease);
}
.card:hover .card__corner {
  width: 100%;
}

/* Media with zoom-on-hover */
.zoom {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: #ddd;
}
.zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1.2s var(--ease),
    filter 0.6s;
}
.zoom:hover img,
.card:hover .zoom img,
a:hover .zoom img {
  transform: scale(1.08);
}
.card--media {
  padding: 0;
  overflow: hidden;
}
.card--media .zoom {
  border-radius: 0;
  aspect-ratio: 16 / 10;
}
.card--media .card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 28px 28px;
  flex: 1;
}
.tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
}

/* Framed image with offset teal outline */
.frame {
  position: relative;
  isolation: isolate;
}
.frame::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  border: 3px solid var(--teal);
  border-radius: var(--r-lg);
  transition: transform 0.8s var(--ease);
}
.frame:hover::before {
  transform: translate(-8px, -8px);
}
.frame .zoom {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.frame--left::before {
  inset: 22px 22px -22px -22px;
}

/* Click-to-zoom affordance */
.zoomable {
  cursor: zoom-in;
  position: relative;
  display: block;
}
.zoomable__hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 34, 34, 0.85);
  color: var(--white);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  transform: translateY(6px);
  opacity: 0.9;
  transition:
    transform 0.4s var(--ease),
    opacity 0.4s,
    background-color 0.3s;
}
.zoomable__hint .i {
  width: 16px;
  height: 16px;
}
.zoomable:hover .zoomable__hint {
  transform: translateY(0);
  opacity: 1;
  background: var(--teal);
  color: var(--darker);
}

/* Jump links (e.g. innovation.html#patents) stop below the sticky header */
main [id] {
  scroll-margin-top: 84px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  transition: box-shadow 0.4s;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px -10px rgba(0, 0, 0, 0.25);
}
.topbar {
  background: #eeeeee;
  color: var(--body);
  font-size: 13px;
  overflow: hidden;
  max-height: 44px;
  transition: max-height 0.45s var(--ease);
}
.site-header.is-scrolled .topbar {
  max-height: 0;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.topbar a {
  color: var(--body);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar a:hover {
  color: var(--teal-deep);
}
.topbar .i {
  width: 15px;
  height: 15px;
}
.topbar__group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}
.navbar {
  border-bottom: 1px solid var(--line);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  transition: min-height 0.4s var(--ease);
}
.site-header.is-scrolled .navbar__inner {
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  min-height: 44px;
}
.brand:hover {
  color: var(--ink);
}
.brand img {
  height: 46px;
  width: auto;
  transition:
    height 0.4s var(--ease),
    transform 0.6s var(--ease);
}
.brand:hover img {
  transform: rotate(-8deg) scale(1.05);
}
.site-header.is-scrolled .brand img {
  height: 38px;
}
.brand__text {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.brand__text span {
  font-weight: 300;
}

.nav {
  display: none;
}
.nav > ul {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__item {
  position: relative;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  min-height: 48px;
  padding: 0 11px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--body);
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__link:hover,
.nav__item:focus-within > .nav__link {
  color: var(--ink);
}
.nav__link:hover::after,
.nav__item:hover > .nav__link::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__link[aria-current="page"] {
  color: var(--teal-deep);
}
.nav__link .i {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}
.nav__item:hover > .nav__link .i {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 0 0 var(--r) var(--r);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease),
    visibility 0.3s;
}
.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.nav__item:hover > .dropdown,
.nav__item:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown--wide {
  min-width: 340px;
}
.dropdown--mega {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  min-width: 620px;
  padding: 12px;
}
.dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.35;
  transition:
    background-color 0.25s,
    transform 0.3s var(--ease);
}
.dropdown a small {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.dropdown a:hover {
  background: var(--teal-soft);
  transform: translateX(4px);
  color: var(--ink);
}
.dropdown a .i {
  width: 20px;
  height: 20px;
  color: var(--teal-deep);
  margin-top: 1px;
}
.dropdown .ext {
  color: var(--muted);
  font-weight: 400;
}

.nav-cta {
  display: none;
  white-space: nowrap;
  flex: none;
}
.burger {
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.burger span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.35s var(--ease),
    opacity 0.25s;
}
@media (min-width: 1180px) {
  .nav,
  .nav-cta {
    display: flex;
  }
  .burger {
    display: none;
  }
}
@media (max-width: 1359.98px) {
  .nav__link {
    padding: 0 8px;
  }
  .brand__text {
    font-size: 17px;
  }
}
/* The header gets a little more room than page content on wide screens */
@media (min-width: 1360px) {
  .site-header .container {
    max-width: 1360px;
  }
}
@media (max-width: 900px) {
  .topbar__hours {
    display: none !important;
  }
}
@media (max-width: 560px) {
  .topbar__group:last-child {
    display: none;
  }
}

/* Mobile drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s,
    visibility 0.35s;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  width: min(88vw, 380px);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.5s var(--ease),
    visibility 0s linear 0.5s;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
body.drawer-open {
  overflow: hidden;
}
body.drawer-open .drawer {
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}
body.drawer-open .drawer-overlay {
  opacity: 1;
  visibility: visible;
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.drawer__close {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--soft);
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.drawer nav {
  padding: 8px 18px 18px;
}
.drawer ul {
  list-style: none;
  padding: 0;
}
.drawer__link,
.drawer__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.drawer__link[aria-current="page"] {
  color: var(--teal-deep);
}
.drawer__toggle .i {
  transition: transform 0.35s var(--ease);
}
.drawer__toggle[aria-expanded="true"] .i {
  transform: rotate(45deg);
}
.drawer__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.drawer__sub > ul {
  overflow: hidden;
}
.drawer__toggle[aria-expanded="true"] + .drawer__sub {
  grid-template-rows: 1fr;
}
.drawer__sub a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding-left: 14px;
  color: var(--body);
  font-weight: 600;
  border-bottom: 1px dashed var(--line);
}
.drawer__foot {
  margin-top: auto;
  padding: 20px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--soft);
}
.drawer__foot a:not(.btn) {
  color: var(--body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal));
  transform-origin: left;
  transform: scaleX(0);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--darker);
  color: #e6e6e6;
  isolation: isolate;
}
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      700px 360px at 85% 20%,
      rgba(55, 202, 221, 0.22),
      transparent 70%
    ),
    linear-gradient(
      90deg,
      rgba(22, 24, 27, 0.95) 0%,
      rgba(22, 24, 27, 0.82) 45%,
      rgba(22, 24, 27, 0.35) 100%
    );
}
.page-hero__inner {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(72px, 10vw, 128px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: calc(var(--container));
}
.page-hero__content {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-hero h1 {
  color: var(--white);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.page-hero h1 strong {
  font-weight: 700;
  color: var(--teal);
}
.page-hero .lead {
  color: #e2e2e2;
  max-width: 36em;
}
.page-hero .eyebrow {
  color: var(--teal);
}
/* Light split hero (AIM page): pale teal background, the visual framed on the right */
.page-hero--light {
  background: linear-gradient(135deg, var(--white) 0%, var(--teal-soft) 100%);
  color: var(--body);
}
.page-hero--light::before {
  background: radial-gradient(
    640px 340px at 90% 10%,
    rgba(55, 202, 221, 0.2),
    transparent 70%
  );
}
.page-hero--light h1 {
  color: var(--ink);
}
.page-hero--light h1 strong {
  color: var(--teal-deep);
}
.page-hero--light .lead {
  color: var(--body);
}
.page-hero--light .eyebrow {
  color: var(--teal-deep);
}
.page-hero--light .breadcrumb,
.page-hero--light .breadcrumb a {
  color: var(--muted);
}
.page-hero--light .breadcrumb a:hover {
  color: var(--teal-deep);
}
.page-hero__split {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 980px) {
  .page-hero__split {
    grid-template-columns: 1.25fr 1fr;
  }
}
.page-hero__visual {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.page-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
}
.page-hero--short .page-hero__inner {
  padding-bottom: clamp(56px, 7vw, 88px);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #bdbdbd;
}
.breadcrumb a {
  color: #bdbdbd;
}
.breadcrumb a:hover {
  color: var(--teal);
}
.breadcrumb .i {
  width: 14px;
  height: 14px;
}
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 60px;
  z-index: 1;
  color: var(--white);
}
.hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-wave--soft {
  color: var(--soft);
}

/* Slow cinematic zoom (Ken Burns) */
.kenburns {
  animation: kenburns 24s ease-in-out infinite alternate;
  transform-origin: 60% 40%;
  will-change: transform;
}
@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.14) translate(-1.5%, 1%);
  }
}

/* ---------- Home hero (variation A) ---------- */
.home-hero {
  position: relative;
  overflow: hidden;
  background: var(--soft);
  isolation: isolate;
}
.home-hero__grid {
  /* animated tech grid */
  position: absolute;
  inset: -40px;
  z-index: -2;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(17, 112, 126, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 112, 126, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(
    ellipse 80% 70% at 70% 40%,
    #000 30%,
    transparent 75%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 70% at 70% 40%,
    #000 30%,
    transparent 75%
  );
  animation: grid-drift 30s linear infinite;
}
@keyframes grid-drift {
  to {
    transform: translate(48px, 48px);
  }
}
.orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}
.orb--1 {
  width: 420px;
  height: 420px;
  background: rgba(55, 202, 221, 0.45);
  top: -120px;
  right: -80px;
}
.orb--2 {
  width: 300px;
  height: 300px;
  background: rgba(17, 112, 126, 0.25);
  bottom: -120px;
  left: 30%;
  animation-delay: -6s;
}
@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-30px, 24px);
  }
}
.home-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 112px);
}
@media (min-width: 1000px) {
  .home-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.home-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  padding-top: 8px;
}
.hero-proof div {
  display: flex;
  flex-direction: column;
}
.hero-proof strong {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}
.hero-proof strong span {
  font-size: inherit;
  color: inherit;
}
.hero-proof > div > span {
  font-size: 13.5px;
  color: var(--muted);
}
.home-hero .h-display {
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
}

/* Rotating "We deliver ..." line (homepage hero) */
.rotator-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 10px;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.5;
}
.rotator {
  display: inline-grid;
  overflow: hidden;
  height: 1.5em;
  font-weight: 700;
  color: var(--teal-deep);
  border-bottom: 3px solid var(--teal);
}
.rotator > span {
  grid-area: 1 / 1;
  white-space: nowrap;
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform 0.7s var(--ease),
    opacity 0.7s var(--ease);
}
.rotator > span.is-active,
.no-js .rotator > span:first-child {
  transform: none;
  opacity: 1;
}
.rotator > span.is-leaving {
  transform: translateY(-110%);
  opacity: 0;
}
@media (max-width: 560px) {
  .rotator > span {
    white-space: normal;
  }
  .rotator {
    height: auto;
    min-height: 1.5em;
  }
}

/* Authority map panel */
.authority {
  position: relative;
  perspective: 1200px;
}
.authority__panel {
  position: relative;
  background: linear-gradient(160deg, #3a3a3a, #262626 60%);
  color: #e8e8e8;
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}
.authority__panel::after {
  /* scanning light */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 90px;
  pointer-events: none;
  border-radius: var(--r-lg);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(55, 202, 221, 0.1),
    transparent
  );
  animation: scan 5.5s ease-in-out infinite;
}
@keyframes scan {
  0% {
    transform: translateY(-90px);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateY(420px);
    opacity: 0;
  }
}
.authority__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.authority__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #bdbdbd;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(55, 202, 221, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(55, 202, 221, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(55, 202, 221, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(55, 202, 221, 0);
  }
}
.badge-soft {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #bdbdbd;
  border: 1px solid #555;
  border-radius: 999px;
  padding: 2px 10px;
}
.authority__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}
.authority__sub {
  font-size: 14px;
  color: #bdbdbd;
  margin-bottom: 8px;
}
.authority__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid #474747;
  font-size: 15px;
}
.authority__row:last-of-type {
  border-bottom: 1px solid #474747;
}
.authority__foot {
  margin-top: 16px;
  font-size: 14px;
  color: #d6d6d6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}
.authority__foot .i {
  width: 18px;
  height: 18px;
  color: var(--amber);
  margin-top: 2px;
}
.status {
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.status--ok {
  color: var(--teal);
  background: rgba(55, 202, 221, 0.14);
}
.status--ask {
  color: var(--amber);
  background: rgba(252, 185, 0, 0.14);
}
.status--ask::before {
  animation: blink 1.6s infinite;
}
.status--no {
  color: var(--red);
  background: rgba(255, 107, 94, 0.15);
}
@keyframes blink {
  50% {
    opacity: 0.25;
  }
}
.float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 16px 10px 10px;
  box-shadow: var(--shadow);
  font-size: 13.5px;
  font-weight: 700;
  animation: bob 6s ease-in-out infinite;
}
.float-chip .icon-box {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.float-chip .icon-box .i {
  width: 18px;
  height: 18px;
}
.float-chip--a {
  top: -22px;
  right: 18px;
}
.float-chip--b {
  bottom: -30px;
  right: 26px;
  animation-delay: -3s;
}
.authority__panel {
  padding-bottom: 40px;
}
.home-offer__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #474747;
  color: inherit;
  text-decoration: none;
}
.home-offer__row:hover {
  color: inherit;
}
.home-offer__row:last-of-type {
  border-bottom: 1px solid #474747;
}
.home-offer__row:hover strong {
  color: var(--teal);
}
.home-offer__num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--teal);
  min-width: 28px;
}
.home-offer__copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.home-offer__copy strong {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  transition: color 0.2s;
}
.home-offer__copy small {
  font-size: 13.5px;
  color: #bdbdbd;
  font-weight: 400;
  line-height: 1.4;
}
.home-offer__row .i {
  width: 18px;
  height: 18px;
  color: #888;
  flex-shrink: 0;
  transition:
    transform 0.25s var(--ease),
    color 0.25s;
}
.home-offer__row:hover .i {
  color: var(--teal);
  transform: translateX(4px);
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ---------- Logo marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__track img {
  height: 46px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition:
    filter 0.4s,
    opacity 0.4s,
    transform 0.4s var(--ease);
}
.marquee__track img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
}
.marquee--reverse .marquee__track {
  animation-direction: reverse;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.trust {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 40px;
}
.trust__label {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust .marquee {
  flex: 1 1 520px;
  min-width: 0;
}

/* ---------- Stats / counters ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.stat {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid var(--line);
}
.stat:first-child {
  border-left: 0;
}
.stat__num {
  font-weight: 300;
  font-size: clamp(2.6rem, 4.6vw, 3.6rem);
  line-height: 1;
  color: var(--ink);
}
.stat__num em {
  font-style: normal;
  color: var(--teal-deep);
  font-weight: 600;
}
.stat__label {
  font-size: 14.5px;
  color: var(--muted);
}
.section--dark .stat,
.section--darker .stat,
.stats--dark .stat {
  border-color: #474747;
}
.section--dark .stat__num,
.section--darker .stat__num,
.stats--dark .stat__num {
  color: var(--white);
}
.section--dark .stat__num em,
.section--darker .stat__num em,
.stats--dark .stat__num em {
  color: var(--teal);
}
.section--dark .stat__label,
.section--darker .stat__label,
.stats--dark .stat__label {
  color: #bdbdbd;
}
@media (max-width: 700px) {
  .stat {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .stat:first-child {
    border-top: 0;
  }
}

/* ---------- AIM stepper ---------- */
.stepper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 1000px) {
  .stepper {
    grid-template-columns: 0.95fr 1.05fr;
  }
}
.stepper__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stepper__btn {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 10px 18px;
  border-radius: var(--r);
  border: 1px solid #474747;
  background: transparent;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    transform 0.35s var(--ease);
}
.stepper__btn:hover {
  border-color: var(--teal);
  transform: translateX(6px);
}
.stepper__btn b {
  font-size: 13px;
  color: #bdbdbd;
  min-width: 22px;
}
.stepper__btn span {
  font-weight: 700;
  font-size: 17px;
}
.stepper__btn[aria-selected="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--darker);
}
.stepper__btn[aria-selected="true"] b {
  color: var(--darker);
}
.stepper__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: rgba(34, 34, 34, 0.35);
  transform-origin: left;
  transform: scaleX(0);
}
.stepper__btn[aria-selected="true"] .stepper__bar {
  animation: step-progress var(--step-ms, 5000ms) linear forwards;
}
.stepper.is-paused .stepper__btn[aria-selected="true"] .stepper__bar {
  animation-play-state: paused;
}
@keyframes step-progress {
  to {
    transform: scaleX(1);
  }
}
.stepper__panel {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid #474747;
  background: rgba(0, 0, 0, 0.18);
  padding: clamp(26px, 4vw, 44px);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stepper__num {
  font-weight: 300;
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: 0.9;
  color: var(--teal);
}
.stepper__count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #bdbdbd;
}
.stepper__name {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
}
.stepper__text {
  font-size: 18px;
  color: #dcdcdc;
  max-width: 30em;
}
.stepper__panel.swap .stepper__num,
.stepper__panel.swap .stepper__name,
.stepper__panel.swap .stepper__text {
  animation: swap-in 0.6s var(--ease);
}
@keyframes swap-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Timeline (vertical) ---------- */
.timeline {
  list-style: none;
  padding: 0 0 0 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--line);
  border-radius: 3px;
}
.timeline::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  width: 3px;
  height: calc(100% - 12px);
  background: var(--teal);
  border-radius: 3px;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.8s var(--ease);
}
.timeline.is-visible::after {
  transform: scaleY(1);
}
.timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
  z-index: 1;
}
.timeline h3 {
  font-size: 19px;
  font-weight: 700;
}
.timeline h3 small {
  font-weight: 300;
  color: var(--teal-deep);
  margin-right: 8px;
  font-size: 19px;
}
.timeline {
  isolation: isolate;
}
.timeline::before,
.timeline::after {
  z-index: -1;
}
.section--dark .timeline::before,
.section--darker .timeline::before {
  background: #474747;
}
.section--dark .timeline li::before {
  background: var(--dark);
}
.section--darker .timeline li::before {
  background: var(--darker);
}

/* ---------- Steps (horizontal process) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 0;
  position: relative;
  counter-reset: step;
}
.steps__item {
  position: relative;
  padding: 30px 26px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.steps__item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--line);
}
.steps__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.steps.is-visible .steps__item::after {
  transform: scaleX(1);
}
.steps__dot {
  position: absolute;
  top: -8px;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
  z-index: 1;
}
.steps__num {
  font-weight: 300;
  font-size: 40px;
  line-height: 1;
  color: var(--teal-deep);
}
.steps h3 {
  font-size: 19px;
  font-weight: 700;
}
.steps p {
  font-size: 15px;
}
.section--dark .steps__item::before,
.section--darker .steps__item::before {
  background: #474747;
}
.section--dark .steps__dot,
.section--darker .steps__dot {
  background: var(--dark);
}
.section--dark .steps__num,
.section--darker .steps__num {
  color: var(--teal);
}

/* ---------- Tabs ---------- */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tabs__btn {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.tabs__btn:hover {
  border-color: var(--teal);
}
.tabs__btn[aria-pressed="true"],
.tabs__btn[aria-selected="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--darker);
}
.on-dark .tabs__btn {
  background: transparent;
  border-color: #555;
  color: var(--white);
}
.on-dark .tabs__btn[aria-selected="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--darker);
}
.tabs__panel[hidden] {
  display: none;
}
.tabs__panel {
  animation: swap-in 0.55s var(--ease);
}

/* ---------- Industry / image tiles ---------- */
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r);
  min-height: 240px;
  color: var(--white);
  isolation: isolate;
  background: var(--darker);
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease);
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 20%,
    rgba(0, 0, 0, 0.82)
  );
  transition: background-color 0.5s;
}
.tile:hover img {
  transform: scale(1.1);
}
.tile:hover::before {
  background-color: rgba(17, 112, 126, 0.35);
}
.tile__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tile__body h3 {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}
.tile__body p {
  font-size: 14.5px;
  color: #e6e6e6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.6s var(--ease),
    opacity 0.5s;
}
.tile:hover .tile__body p,
.tile:focus-visible .tile__body p {
  max-height: 120px;
  opacity: 1;
}
.tile__arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--darker);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0) rotate(-45deg);
  transition: transform 0.5s var(--ease);
}
.tile:hover .tile__arrow {
  transform: scale(1) rotate(0);
}
.tile__arrow .i {
  width: 18px;
  height: 18px;
}
.tile--tall {
  min-height: 340px;
}
.bento {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
@media (min-width: 1000px) {
  .bento--5 {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 260px;
  }
  .bento--5 > :nth-child(1) {
    grid-column: span 3;
    grid-row: span 2;
  }
  .bento--5 > :nth-child(2),
  .bento--5 > :nth-child(3) {
    grid-column: span 3;
  }
  .bento--5 > :nth-child(4),
  .bento--5 > :nth-child(5) {
    grid-column: span 3;
  }
}

/* Product bento */
.products {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .products {
    grid-template-columns: 1.3fr 1fr;
    grid-auto-rows: auto;
  }
  .products > :first-child {
    grid-row: span 3;
  }
  .products > :first-child .product__media {
    aspect-ratio: auto;
    flex: 1 1 auto;
    min-height: 300px;
  }
  .products > :first-child .product__body {
    flex: none;
  }
}
.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.product__media {
  aspect-ratio: 16 / 9;
  border-radius: 0;
}
.product__media img {
  object-position: left top;
}
.product__body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product--row {
  flex-direction: row;
  align-items: stretch;
}
.product--row .product__media {
  aspect-ratio: auto;
  width: 38%;
  flex: none;
}
@media (max-width: 560px) {
  .product--row {
    flex-direction: column;
  }
  .product--row .product__media {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}
.product__icon {
  width: 100%;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.product__icon .i {
  width: 54px;
  height: 54px;
  stroke-width: 1.4;
  transition: transform 0.8s var(--ease);
}
.product:hover .product__icon .i {
  transform: scale(1.15) rotate(-6deg);
}

/* ---------- Book ---------- */
.book {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 900px) {
  .book {
    grid-template-columns: 0.75fr 1.25fr;
  }
}
.book__cover {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
  perspective: 1000px;
}
.book__cover img {
  border-radius: 6px;
  box-shadow: 0 40px 60px -20px rgba(0, 0, 0, 0.55);
  transform: rotateY(-14deg) rotateX(4deg);
  transition: transform 0.9s var(--ease);
  animation: bob 7s ease-in-out infinite;
}
.book__cover:hover img {
  transform: rotateY(0) rotateX(0) scale(1.03);
}
.book__cover::before {
  content: "";
  position: absolute;
  inset: 10% -10% -6% -10%;
  z-index: -1;
  background: radial-gradient(
    closest-side,
    rgba(55, 202, 221, 0.45),
    transparent
  );
  filter: blur(10px);
  animation: glow 5s ease-in-out infinite;
}
@keyframes glow {
  50% {
    opacity: 0.55;
    transform: scale(0.94);
  }
}
.book__title {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.book__subtitle {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.4;
}
.section--dark .book__subtitle,
.section--darker .book__subtitle {
  color: #e6e6e6;
}
.book-card {
  align-items: flex-start;
}
.book-card__cover {
  margin: 0 auto 12px;
  max-width: 200px;
}
.book-card__cover img {
  animation: none;
}
.trio {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}
.trio div {
  border-left: 3px solid var(--teal);
  padding: 4px 0 4px 14px;
  font-size: 15px;
}
.trio b {
  display: block;
  color: var(--ink);
}
.section--dark .trio b,
.section--darker .trio b {
  color: var(--white);
}

/* ---------- Quote ---------- */
.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}
.quote__mark {
  font-family: Georgia, serif;
  font-size: 110px;
  line-height: 0.5;
  color: var(--teal);
  height: 44px;
}
.quote blockquote {
  margin: 0;
  font-weight: 300;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.45;
  color: var(--ink);
}
.quote blockquote strong {
  font-weight: 700;
  color: var(--teal-deep);
}
.section--dark .quote blockquote,
.section--darker .quote blockquote {
  color: var(--white);
}
.section--dark .quote blockquote strong,
.section--darker .quote blockquote strong {
  color: var(--teal);
}
.quote cite {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}
.quote cite span {
  font-weight: 400;
  color: var(--muted);
}
.section--dark .quote cite,
.section--darker .quote cite {
  color: var(--white);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #37cadd, #5ad6e6, #2fb8ca, #37cadd);
  background-size: 300% 300%;
  animation: gradient-shift 14s ease infinite;
  color: var(--darker);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(34, 34, 34, 0.12) 1.5px,
    transparent 1.5px
  );
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 40%, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
}
@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.cta-band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: clamp(52px, 7vw, 88px);
  padding-bottom: clamp(52px, 7vw, 88px);
}
.cta-band h2 {
  flex: 1 1 520px;
  font-weight: 300;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  color: var(--darker);
}
.cta-band h2 strong {
  font-weight: 700;
}
.cta-band p {
  color: var(--darker);
  margin-top: 10px;
  font-size: 17px;
  max-width: 36em;
}

/* ---------- Lists, chips, misc ---------- */
.checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.checklist li:last-child {
  border-bottom: 0;
}
.checklist .i {
  width: 20px;
  height: 20px;
  color: var(--teal-deep);
  margin-top: 3px;
}
.section--dark .checklist li,
.section--darker .checklist li {
  border-color: #474747;
  color: #e6e6e6;
}
.section--dark .checklist .i,
.section--darker .checklist .i {
  color: var(--teal);
}
/* Cybersecurity service areas and buyer strip */
.cyber-area {
  gap: 14px;
}
.cyber-area__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cyber-area__num {
  font-size: 34px;
  font-weight: 300;
  color: var(--line);
  line-height: 1;
}
.cyber-area .checklist li {
  padding: 9px 0;
  font-size: 15px;
}
.cyber-buyers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s;
}
.chip:hover {
  transform: translateY(-2px);
  background: var(--teal);
  color: var(--darker);
}
.chip--outline {
  background: transparent;
  border: 2px dashed #bbb;
  color: var(--muted);
}
.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
.note {
  font-size: 13.5px;
  color: var(--muted);
}
.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  border: 2px dashed #bbb;
  border-radius: var(--r);
  background: var(--soft);
  color: var(--muted);
  padding: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Logo wall */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
  gap: 14px;
}
.logo-wall a,
.logo-wall div {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s;
}
.logo-wall img {
  max-height: 62px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition:
    filter 0.4s,
    opacity 0.4s,
    transform 0.5s var(--ease);
}
.logo-wall > *:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.logo-wall strong {
  text-align: center;
  color: var(--ink);
  line-height: 1.35;
}
.logo-wall > *:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.06);
}

/* Accordion */
.accordion {
  border-top: 1px solid var(--line);
}
.accordion__item {
  border-bottom: 1px solid var(--line);
}
.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 14px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}
.accordion__btn b {
  font-weight: 300;
  font-size: 28px;
  color: var(--teal-deep);
  min-width: 44px;
}
.accordion__btn > span:not(.accordion__icon) {
  font-weight: 700;
  font-size: 19px;
  flex: 1;
}
.accordion__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.4s var(--ease),
    background-color 0.3s,
    border-color 0.3s;
}
.accordion__btn[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
  background: var(--teal);
  border-color: var(--teal);
}
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.accordion__btn[aria-expanded="true"] + .accordion__panel {
  grid-template-rows: 1fr;
}
.accordion__panel > div {
  overflow: hidden;
}
.accordion__panel p {
  padding: 0 0 24px 62px;
  max-width: 52em;
}

/* Downloads */
.downloads {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.dl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 16px 24px;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s;
}
.dl:last-child {
  border-bottom: 0;
}
.dl:hover {
  background: var(--teal-soft);
}
.dl__main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1 1 420px;
}
.dl__title {
  font-weight: 700;
  color: var(--ink);
  display: block;
}
.dl__type {
  font-size: 13px;
  color: var(--muted);
}
.dl .icon-box {
  width: 44px;
  height: 44px;
}
.dl .icon-box .i {
  width: 20px;
  height: 20px;
}
/* Patent catalog (innovation.html#patents) */
.patent-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.patent-search {
  position: relative;
  flex: 1 1 320px;
  max-width: 520px;
}
.patent-search .i {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.patent-search .input {
  padding-left: 44px;
}
.patents {
  display: grid;
  gap: 20px;
  margin-top: 18px;
}
.patent {
  display: grid;
  gap: 16px;
  align-items: start;
  padding: clamp(22px, 3vw, 38px);
  border-top: 3px solid var(--teal);
}
.patent.is-hidden,
.patent-empty[hidden] {
  display: none;
}
.patent__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.chip--granted {
  background: var(--teal);
  color: var(--darker);
  font-weight: 700;
}
.patent__num {
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
}
.patent h3 {
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.3;
}
.patent__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px 28px;
  margin: 0;
}
.patent__meta dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.patent__meta dd {
  margin: 3px 0 0;
  font-weight: 600;
  color: var(--ink);
}
.patent__abstract summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--teal-deep);
}
.patent__abstract p {
  margin-top: 10px;
  max-width: 78ch;
}
.patent__docs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.patent__docs .small {
  font-weight: 400;
}
.patent__related {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--body);
}
.patent__related .i {
  width: 18px;
  height: 18px;
  color: var(--teal-deep);
}
.patent-empty {
  padding: 28px;
  text-align: center;
  color: var(--muted);
}
.dl.is-hidden {
  display: none;
}

/* Forms */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 18px;
}
.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.field label span {
  font-weight: 400;
  color: var(--muted);
}
.input,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #bbb;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.field textarea {
  min-height: 150px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-glow);
}
.subscribe {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.subscribe .input {
  flex: 1 1 200px;
  min-width: 0;
}
.form-success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  animation: swap-in 0.6s var(--ease);
}
.form-wrap.is-sent .form {
  display: none;
}
.form-wrap.is-sent .form-success {
  display: flex;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--darker);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pop 0.6s var(--ease);
}
.success-icon .i {
  width: 30px;
  height: 30px;
  stroke-width: 2.5;
}
@keyframes pop {
  from {
    transform: scale(0);
  }
  70% {
    transform: scale(1.15);
  }
  to {
    transform: scale(1);
  }
}
.map {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: var(--r);
  filter: grayscale(0.4);
}
.zoom > .map {
  position: absolute;
  inset: 0;
}

/* Video placeholder */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--darker);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  transition:
    transform 1.2s var(--ease),
    opacity 0.5s;
}
.video:hover img {
  transform: scale(1.06);
  opacity: 0.5;
}
.play {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--darker);
  display: flex;
  align-items: center;
  justify-content: center;
}
.play::before,
.play::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--teal);
  animation: ripple 2.4s ease-out infinite;
}
.play::after {
  animation-delay: 1.2s;
}
@keyframes ripple {
  from {
    transform: scale(1);
    opacity: 0.8;
  }
  to {
    transform: scale(1.9);
    opacity: 0;
  }
}
.play .i {
  width: 30px;
  height: 30px;
  fill: currentColor;
  margin-left: 4px;
}

/* Wheel (AIM authority dimensions) */
.dims {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 14px;
}
.dim {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--white);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.dim:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow);
}
.dim h3 {
  font-size: 17px;
  font-weight: 700;
}
.dim p {
  font-size: 14.5px;
}
.dim .icon-box {
  width: 46px;
  height: 46px;
}
.dim .icon-box .i {
  width: 22px;
  height: 22px;
}

/* Flow (Theory -> Assessment -> ...) */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 16px;
  counter-reset: flow;
}
.flow__step {
  position: relative;
  padding: 24px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #474747;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flow__step b {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.flow__step h3 {
  font-size: 20px;
  color: var(--white);
}
.flow__step p {
  font-size: 14.5px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer);
  color: #ececec;
  font-size: 15px;
}
.footer__main {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  padding-top: 72px;
  padding-bottom: 56px;
}
@media (min-width: 1000px) {
  .footer__main {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  }
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__brand .brand__text {
  color: var(--white);
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.footer__title::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--teal);
  margin-top: 10px;
  margin-bottom: 4px;
}
.site-footer a {
  color: #e6e6e6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    color 0.25s,
    transform 0.3s var(--ease);
}
.site-footer a:hover {
  color: var(--teal);
  transform: translateX(3px);
}
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #e6e6e6;
}
.footer__contact .i {
  width: 16px;
  height: 16px;
  color: var(--teal);
}
.footer__news .input {
  border-color: #777;
}
.footer__news p {
  color: #e6e6e6;
  font-size: 14px;
}
.footer__bottom {
  background: #000;
  color: #b5b5b5;
  font-size: 13.5px;
}
.footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

/* Back to top with progress ring */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--darker);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity 0.4s,
    transform 0.4s var(--ease),
    visibility 0.4s,
    background-color 0.3s;
}
.to-top.is-shown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--teal);
  color: var(--darker);
}
.to-top svg.ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.to-top svg.ring circle {
  fill: none;
  stroke: var(--teal);
  stroke-width: 3;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
}
.to-top .i {
  width: 20px;
  height: 20px;
}

/* ---------- Lightbox with zoom in / out ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 16, 18, 0.94);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s,
    visibility 0.35s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  color: var(--white);
}
.lightbox__title {
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lightbox__tools {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.lightbox__tools button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #555;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.25s,
    color 0.25s;
}
.lightbox__tools button:hover {
  background: var(--teal);
  color: var(--darker);
  border-color: var(--teal);
}
.lightbox__zoom {
  min-width: 56px;
  text-align: center;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: #ddd;
}
.lightbox__stage {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}
.lightbox__stage.is-dragging {
  cursor: grabbing;
}
[data-include="header"] {
  display: block;
  min-height: 128px;
}
.lightbox__stage img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  transform-origin: 0 0;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.25s var(--ease);
}
.lightbox__stage.is-dragging img {
  transition: none;
}
.lightbox__help {
  text-align: center;
  font-size: 13px;
  color: #aaa;
  padding: 10px 16px 14px;
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
[data-reveal="up"] {
  transform: translateY(40px);
}
[data-reveal="down"] {
  transform: translateY(-40px);
}
[data-reveal="left"] {
  transform: translateX(-50px);
}
[data-reveal="right"] {
  transform: translateX(50px);
}
[data-reveal="zoom"] {
  transform: scale(0.88);
}
[data-reveal="zoom-out"] {
  transform: scale(1.12);
  filter: blur(6px);
}
[data-reveal="blur"] {
  filter: blur(10px);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}
@media (max-width: 900px) {
  [data-reveal="left"]:not(.is-visible),
  [data-reveal="right"]:not(.is-visible) {
    transform: translateY(40px);
  }
}
main {
  overflow-x: clip;
}
.no-js [data-reveal] {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Split-word headline animation */
.words .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.words .w > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.9s var(--ease);
  transition-delay: calc(var(--i) * 70ms + 0.1s);
}
.words.is-visible .w > span {
  transform: none;
}

/* ---------- Variation B (dark) ---------- */
.theme-dark {
  background: var(--darker);
  color: #d6d6d6;
}
.hero-b {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #e6e6e6;
}
.hero-b__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-b__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
}
.hero-b::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      800px 420px at 80% 30%,
      rgba(55, 202, 221, 0.18),
      transparent 70%
    ),
    linear-gradient(
      90deg,
      rgba(20, 21, 23, 0.97) 0%,
      rgba(20, 21, 23, 0.85) 45%,
      rgba(20, 21, 23, 0.45) 100%
    );
}
.hero-b h1 {
  color: var(--white);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
.hero-b h1 strong {
  font-weight: 800;
  color: var(--teal);
  display: block;
}
.facts {
  border-top: 1px solid #3c3c3c;
  border-bottom: 1px solid #3c3c3c;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
}
.row-link {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid #3c3c3c;
  color: #d6d6d6;
  position: relative;
}
@media (min-width: 800px) {
  .row-link {
    grid-template-columns: 300px 1fr 60px;
  }
}
.row-link h3 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  transition:
    color 0.3s,
    transform 0.5s var(--ease);
}
.row-link .i {
  width: 30px;
  height: 30px;
  color: var(--teal);
  transition: transform 0.5s var(--ease);
  justify-self: end;
}
.row-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--teal);
  transition: width 0.7s var(--ease);
}
.row-link:hover {
  color: #f0f0f0;
}
.row-link:hover::before {
  width: 100%;
}
.row-link:hover h3 {
  color: var(--teal);
  transform: translateX(10px);
}
.row-link:hover .i {
  transform: translateX(-8px) rotate(-45deg);
}
.theme-dark .tile {
  border: 1px solid #3c3c3c;
}
.theme-dark .site-header {
  background: var(--darker);
}
.theme-dark .site-header.is-scrolled {
  box-shadow: 0 6px 24px -10px rgba(0, 0, 0, 0.8);
}
.theme-dark .topbar {
  background: var(--darkest);
  color: #bdbdbd;
}
.theme-dark .topbar a {
  color: #bdbdbd;
}
.theme-dark .navbar {
  border-bottom-color: #3a3a3a;
}
.theme-dark .brand,
.theme-dark .brand:hover {
  color: var(--white);
}
.theme-dark .brand img {
  background: var(--white);
  border-radius: 6px;
  padding: 3px 6px;
}
.theme-dark .nav__link {
  color: #dcdcdc;
}
.theme-dark .nav__link:hover,
.theme-dark .nav__item:focus-within > .nav__link {
  color: var(--white);
}
.theme-dark .nav__link[aria-current="page"] {
  color: var(--teal);
}
.theme-dark .burger span {
  background: var(--white);
}
.theme-dark .section-head .lead.muted {
  color: #bdbdbd;
}
.hero-b__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
@media (min-width: 1000px) {
  .hero-b__inner {
    grid-template-columns: 1.25fr 0.75fr;
  }
}
.glass {
  background: rgba(34, 34, 34, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  padding: 28px;
}
.glass ol {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  border-left: 2px solid rgba(55, 202, 221, 0.35);
}
.glass li {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 8px 0 8px 20px;
  color: var(--white);
  font-weight: 700;
}
.glass li b {
  font-size: 13px;
  color: var(--teal);
}
.glass li::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: top;
  animation: fill-line 0.6s var(--ease) forwards;
  animation-delay: calc(var(--n) * 0.35s + 0.8s);
}
@keyframes fill-line {
  to {
    transform: scaleY(1);
  }
}
.tab-media {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.tab-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .panel-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Variation C (classic) ---------- */
.hero-c {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background: var(--white);
}
.hero-c__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.12;
}
.hero-c__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.hero-c::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(55, 202, 221, 0.18),
      transparent 60%
    ),
    linear-gradient(transparent 60%, var(--white));
}
.pillar {
  align-items: center;
  text-align: center;
  padding: 44px 32px;
  border: 0;
  box-shadow: var(--shadow);
}
.pillar .icon-box {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--darker);
}
.pillar .icon-box .i {
  width: 36px;
  height: 36px;
}
.pillar:hover .icon-box {
  transform: rotateY(180deg);
  background: var(--darker);
  color: var(--teal);
}
.htimeline {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 28px 0;
}
.htimeline li {
  position: relative;
  padding: 26px 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.htimeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease) var(--d, 0s);
}
.htimeline li::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
  transform: scale(0);
  transition: transform 0.5s var(--ease) var(--d, 0s);
}
.htimeline.is-visible li::before {
  transform: scaleX(1);
}
.htimeline.is-visible li::after {
  transform: scale(1);
}
.htimeline b {
  font-size: 13px;
  color: var(--teal-deep);
}
.htimeline strong {
  font-size: 17px;
  color: var(--ink);
}
.htimeline span {
  font-size: 14px;
}

/* ---------- Review index page ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
.review-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  color: var(--body);
  background: var(--white);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  color: var(--body);
}
.review-card .zoom {
  aspect-ratio: 16 / 11;
  border-radius: 0;
}
.review-card .zoom img {
  object-position: top;
}
.review-card div.meta {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-card strong {
  color: var(--ink);
}

/* ---------- Responsive helpers ---------- */
@media (max-width: 700px) {
  body {
    font-size: 15.5px;
  }
  .accordion__panel p {
    padding-left: 0;
  }
  .accordion__btn b {
    min-width: 34px;
    font-size: 22px;
  }
  .frame::before {
    inset: 14px -10px -14px 10px;
  }
  .frame--left::before {
    inset: 14px 10px -14px -10px;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .words .w > span {
    transform: none;
  }
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
}
