/* ============================================================
   RIO INDUSTRIES — static design system
   Hand-written CSS, no framework. The palette is derived from the
   logo mark (#019fc9 cyan on near-black), so every gradient family
   is a cool, cyan-anchored ramp.
   ============================================================ */

/* ---------------------------------------------------------------
   1. Tokens
--------------------------------------------------------------- */
:root {
  /* Brand ramp — logo cyan */
  --brand-50: #ecfaff;
  --brand-100: #d2f2fd;
  --brand-200: #a9e6fb;
  --brand-300: #6fd5f6;
  --brand-400: #2bbfe9;
  --brand-500: #019fc9;
  --brand-600: #0280a8;
  --brand-700: #0a6787;
  --brand-800: #11556f;
  --brand-900: #13475e;

  /* Ink ramp — logo wordmark, cooled toward navy for depth */
  --ink-50: #f4f8fb;
  --ink-100: #e7eef4;
  --ink-200: #cfdce6;
  --ink-300: #a3b8c8;
  --ink-400: #6f8698;
  --ink-500: #4e6577;
  --ink-600: #3a4e5e;
  --ink-700: #2b3c49;
  --ink-800: #1c2a33;
  --ink-900: #101c24;
  --ink-950: #0a131a;

  /* Gradient families. Data files reference these by name
     (aqua, azure, teal, sky, indigo, mint, steel, deep). */
  --g-aqua: linear-gradient(135deg, #019fc9, #35d3ee);
  --g-azure: linear-gradient(135deg, #0ea5e9, #2563eb);
  --g-teal: linear-gradient(135deg, #0d9488, #06b6d4);
  --g-sky: linear-gradient(135deg, #38bdf8, #0284c7);
  --g-indigo: linear-gradient(135deg, #3b82f6, #4f46e5);
  --g-mint: linear-gradient(135deg, #10b6a4, #67e8d5);
  --g-steel: linear-gradient(135deg, #47617a, #0284c7);
  --g-deep: linear-gradient(135deg, #0e3a52, #0295c0);

  /* Solid endpoints, for text-on-gradient fallbacks and dots */
  --c-aqua: #019fc9;
  --c-azure: #2563eb;
  --c-teal: #0d9488;
  --c-sky: #0284c7;
  --c-indigo: #4f46e5;
  --c-mint: #10b6a4;
  --c-steel: #47617a;
  --c-deep: #0e3a52;

  /* Section backdrops */
  --grad-hero: linear-gradient(135deg, #08131c 0%, #0b3a52 45%, #0987b0 88%, #01a8d4 130%);
  --grad-stats: linear-gradient(135deg, #12303f 0%, #08131c 100%);
  --grad-cta: linear-gradient(120deg, #019fc9 0%, #2563eb 55%, #0d9488 100%);
  --grad-industries: linear-gradient(135deg, #0a6787 0%, #0284c7 55%, #1e40af 100%);
  --grad-dark: linear-gradient(160deg, #08131c 0%, #0d2b3c 60%, #0a2540 100%);
  --grad-services: linear-gradient(135deg, #08131c 0%, #0a4f68 45%, #01a8d4 120%);
  --grad-products: linear-gradient(135deg, #08131c 0%, #0b4f4a 50%, #0891b2 110%);
  --grad-blog: linear-gradient(135deg, #08131c 0%, #123a63 50%, #22b8d4 125%);
  --grad-contact: linear-gradient(135deg, #08131c 0%, #0d4f52 45%, #0ea5e9 115%);
  --grad-about: linear-gradient(135deg, #08131c 0%, #16304f 45%, #3b82f6 118%);

  --page-bg: #f5f9fc;

  --shadow-card: 0 24px 60px -36px rgb(16 28 36 / 0.35);
  --shadow-lift: 0 32px 72px -32px rgb(16 28 36 / 0.4);

  --wrap: 80rem;
  --radius: 1.5rem;
  --radius-lg: 2rem;

  --font-sans: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Sora', ui-sans-serif, system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------
   2. Reset & base
--------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background: var(--page-bg);
  color: var(--ink-900);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

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

::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-track {
  background: var(--ink-100);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #019fc9, #2563eb);
  border-radius: 99px;
  border: 3px solid var(--ink-100);
}

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

/* ---------------------------------------------------------------
   3. Layout
--------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.wrap--narrow {
  max-width: 56rem;
}
.wrap--mid {
  max-width: 64rem;
}

@media (min-width: 640px) {
  .wrap {
    padding-inline: 2rem;
  }
}

.section {
  position: relative;
  overflow: hidden;
  padding-block: 5rem;
}
@media (min-width: 640px) {
  .section {
    padding-block: 6.5rem;
  }
}
.section--tight {
  padding-block: 4rem;
}
.section--tint {
  background: var(--page-bg);
}
.section--white {
  background: #fff;
}
.section--dark {
  background: var(--grad-stats);
  color: #fff;
}
.section--industries {
  background: var(--grad-industries);
  color: #fff;
}
.section--cta {
  background: var(--grad-cta);
  color: #fff;
}

.grid {
  display: grid;
  gap: 1.25rem;
}
.grid--2,
.grid--3,
.grid--4 {
  grid-template-columns: 1fr;
}
.grid--gap-lg {
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid--2,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Article + sidebar split */
.split {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .split {
    grid-template-columns: 2fr 1fr;
  }
  .split--even {
    grid-template-columns: 1fr 1fr;
  }
  .split--flip > :first-child {
    order: 2;
  }
}
.sticky-side {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 1.5rem;
}

/* ---------------------------------------------------------------
   4. Decorative layers
--------------------------------------------------------------- */

/* Soft colour blobs, painted as gradients rather than filter: blur()
   so scrolling never re-rasterises them. */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  background-image: radial-gradient(
    closest-side,
    var(--spot) 0%,
    color-mix(in srgb, var(--spot) 55%, transparent) 45%,
    transparent 72%
  );
  opacity: 0.55;
  animation: drift 20s ease-in-out infinite;
  will-change: transform;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(to right, currentColor 1px, transparent 1px),
    linear-gradient(to bottom, currentColor 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}

.fade-to-page {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 7rem;
  background: linear-gradient(to top, var(--page-bg), transparent);
  pointer-events: none;
}

.glass {
  background: rgb(255 255 255 / 0.08);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgb(255 255 255 / 0.14);
}
.glass-light {
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgb(255 255 255 / 0.6);
}

/* ---------------------------------------------------------------
   5. Typography helpers
--------------------------------------------------------------- */
.grad-text {
  background: linear-gradient(120deg, #019fc9, #2563eb 55%, #0d9488);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text--light {
  background: linear-gradient(120deg, #fff, #a9e6fb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Applies whichever family a card carries via .g-<name> */
.grad-text--family {
  background-image: var(--g);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 99px;
  padding: 1px;
  background: var(--g-aqua);
  font-size: 0.75rem;
  font-weight: 700;
}
.eyebrow > span {
  display: block;
  border-radius: 99px;
  background: #fff;
  padding: 0.375rem 1rem;
  color: var(--ink-800);
}
.eyebrow--dark {
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.375rem 1rem;
  color: rgb(255 255 255 / 0.9);
}

.section-head {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}
.section-head--left {
  margin-inline: 0;
  text-align: left;
}
.section-head h2 {
  margin-top: 1.25rem;
  font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3rem);
}
.section-head p {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: rgb(43 60 73 / 0.85);
}
.section-head--dark h2,
.section--dark .section-head h2,
.section--industries .section-head h2 {
  color: #fff;
}
.section-head--dark p,
.section--dark .section-head p,
.section--industries .section-head p {
  color: rgb(255 255 255 / 0.7);
}

.lead {
  font-size: 1.05rem;
  color: var(--ink-700);
}
.muted {
  color: var(--ink-500);
}
.small {
  font-size: 0.8125rem;
}

/* ---------------------------------------------------------------
   6. Buttons
--------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 99px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: scale(0.97);
}
.btn .icon {
  transition: transform 0.3s var(--ease);
}
.btn:hover .icon {
  transform: translateX(4px);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}
.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}
.btn--block {
  width: 100%;
}

.btn--primary {
  background: linear-gradient(120deg, #019fc9, #2563eb, #0d9488, #019fc9);
  background-size: 300% 100%;
  animation: pan 8s linear infinite;
  color: #fff;
  box-shadow: 0 12px 30px -12px rgb(1 159 201 / 0.6);
}
.btn--primary:hover {
  box-shadow: 0 18px 40px -14px rgb(1 159 201 / 0.7);
}

.btn--solid {
  background: var(--ink-900);
  color: #fff;
}
.btn--solid:hover {
  background: var(--ink-800);
}

.btn--outline {
  border: 1px solid rgb(16 28 36 / 0.15);
  background: rgb(255 255 255 / 0.85);
  color: var(--ink-900);
}
.btn--outline:hover {
  border-color: rgb(1 159 201 / 0.5);
  color: var(--brand-600);
}

.btn--white {
  background: #fff;
  color: var(--ink-900);
  box-shadow: 0 12px 30px -14px rgb(0 0 0 / 0.4);
}

.btn--ghost {
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.18);
  color: #fff;
}
.btn--ghost:hover {
  background: rgb(255 255 255 / 0.2);
}

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

/* ---------------------------------------------------------------
   7. Icons & gradient badges
--------------------------------------------------------------- */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.icon--xs {
  width: 0.875rem;
  height: 0.875rem;
}
.icon--sm {
  width: 1rem;
  height: 1rem;
}
.icon--lg {
  width: 1.75rem;
  height: 1.75rem;
}
.icon--xl {
  width: 3.5rem;
  height: 3.5rem;
}

/* Gradient-filled rounded square holding an icon */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Keeps the badge square when it is a flex child — without this it
     stretches to the height of the text beside it. */
  flex: none;
  align-self: flex-start;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background-image: var(--g, var(--g-aqua));
  color: #fff;
  box-shadow: 0 14px 30px -14px rgb(16 28 36 / 0.6);
  transition: transform 0.5s var(--ease);
}
.icon-badge--sm {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
}
.icon-badge--md {
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
}
.card:hover .icon-badge,
a:hover > .icon-badge {
  transform: scale(1.08) rotate(3deg);
}

/* ---------------------------------------------------------------
   8. Cards
--------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--ink-200);
  background: #fff;
  padding: 2rem;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease),
    background-color 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lift);
}
.card--flat {
  border-color: transparent;
  background: rgb(244 248 251 / 0.8);
}
.card--flat:hover {
  background: #fff;
}
.card--pad-sm {
  padding: 1.5rem;
}
.card h3 {
  margin-top: 1.5rem;
  font-size: 1.125rem;
}
.card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-600);
}

/* Gradient hairline along the top edge */
.card--rail::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background-image: var(--g, var(--g-aqua));
  opacity: 0.85;
}
/* …that wipes in on hover */
.card--rail-hover::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background-image: var(--g, var(--g-aqua));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card--rail-hover:hover::before {
  transform: scaleX(1);
}

/* Gradient CTA tile that completes a card grid */
.card--cta {
  border-color: transparent;
  background: var(--grad-cta);
  color: #fff;
  justify-content: space-between;
}
.card--cta h3 {
  color: #fff;
}
.card--cta p {
  color: rgb(255 255 255 / 0.85);
}

/* Translucent card for dark sections */
.card--glass {
  border-color: rgb(255 255 255 / 0.15);
  background: rgb(255 255 255 / 0.08);
  color: #fff;
}
.card--glass:hover {
  background: rgb(255 255 255 / 0.14);
  border-color: rgb(255 255 255 / 0.3);
  box-shadow: none;
}
.card--glass p {
  color: rgb(255 255 255 / 0.7);
}
.card--glass h3 {
  color: #fff;
}

.card-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
}
.card-link .icon {
  color: var(--brand-500);
}

/* Media panel used by product / post / industry cards */
.card-media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-image: var(--g, var(--g-aqua));
  color: #fff;
}
.card-media--4x3 {
  aspect-ratio: 4 / 3;
}
.card-media--strip {
  height: 8rem;
}
.card-media--post {
  height: 10rem;
}
.card-media .icon {
  width: 3.5rem;
  height: 3.5rem;
  color: rgb(255 255 255 / 0.8);
  transition: transform 0.7s var(--ease);
}
.card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.25), transparent);
}
a:hover .card-media .icon {
  transform: scale(1.2) rotate(6deg);
}

.tag {
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  z-index: 1;
  border-radius: 99px;
  background: rgb(255 255 255 / 0.92);
  padding: 0.25rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-800);
}
.chip {
  border-radius: 99px;
  background: var(--ink-100);
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-600);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--ink-200);
  background: #fff;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lift);
}
.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}
.product-card__body h3 {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s var(--ease);
}
.product-card:hover .product-card__body h3 {
  color: var(--brand-600);
}
.product-card__meta {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--ink-500);
}
.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--ink-100);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-500);
}
.product-card__go {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 99px;
  background-image: var(--g, var(--g-aqua));
  color: #fff;
  transition: transform 0.3s var(--ease);
}
.product-card:hover .product-card__go {
  transform: scale(1.12);
}

/* Post card */
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--ink-200);
  background: #fff;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}
.post-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lift);
}
.post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-500);
}
.post-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 99px;
  background: var(--ink-300);
}
.post-card h3 {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.35;
}
.post-card p {
  margin-top: 0.75rem;
  flex: 1;
  font-size: 0.875rem;
  color: var(--ink-600);
}

/* Panel — a plain white content surface */
.panel {
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
@media (min-width: 640px) {
  .panel {
    padding: 2.75rem;
  }
}
.panel--dark {
  background: var(--grad-stats);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.panel--gradient {
  position: relative;
  overflow: hidden;
  background-image: var(--g, var(--g-aqua));
  color: #fff;
}
.panel--gradient p {
  color: rgb(255 255 255 / 0.85);
}

.rule {
  height: 6px;
  width: 6rem;
  border-radius: 99px;
  background-image: var(--g, var(--g-aqua));
}

/* Dark list row used in sidebars */
.row-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.05);
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.9);
  transition: background-color 0.3s var(--ease);
}
.row-link:hover {
  background: rgb(255 255 255 / 0.12);
}
.row-link .chev {
  margin-left: auto;
  color: rgb(255 255 255 / 0.35);
  transition: transform 0.3s var(--ease);
}
.row-link:hover .chev {
  transform: translateX(4px);
}

/* Stat tiles */
.stat {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.05);
  padding: 2rem;
  text-align: center;
  transition:
    transform 0.5s var(--ease),
    background-color 0.5s var(--ease),
    border-color 0.5s var(--ease);
}
.stat:hover {
  transform: translateY(-6px);
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.2);
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.5rem + 3vw, 3.75rem);
  font-weight: 800;
  background-image: var(--g, var(--g-aqua));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.6);
}
.stat--boxed {
  padding: 1.25rem;
  text-align: left;
}
.stat--boxed .stat__value {
  font-size: 1.875rem;
}
.stat--boxed .stat__label {
  margin-top: 0.375rem;
  font-size: 0.75rem;
}

/* Definition list */
.dl {
  border-radius: var(--radius);
  border: 1px solid var(--ink-200);
  background: rgb(244 248 251 / 0.6);
  overflow: hidden;
}
.dl > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--ink-100);
}
.dl > div:last-child {
  border-bottom: 0;
}
.dl dt {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-500);
}
.dl dd {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-900);
}
@media (min-width: 640px) {
  .dl > div {
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
  }
  .dl dd {
    text-align: right;
  }
}

/* Ticked list */
.ticks {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .ticks--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ticks li {
  display: flex;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid var(--ink-200);
  background: rgb(244 248 251 / 0.6);
  padding: 1rem;
  font-size: 0.875rem;
  color: var(--ink-700);
}
.ticks li .mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  border-radius: 99px;
  background-image: var(--g, var(--g-aqua));
  color: #fff;
}
.ticks--plain li {
  border: 0;
  background: none;
  padding: 0;
  color: rgb(255 255 255 / 0.95);
}

/* ---------------------------------------------------------------
   9. Header
--------------------------------------------------------------- */
.topbar {
  position: relative;
  z-index: 60;
  display: none;
  background: linear-gradient(90deg, #08131c, #0b3a52 45%, #0a2540);
  color: rgb(255 255 255 / 0.85);
  font-size: 0.75rem;
}
@media (min-width: 1024px) {
  .topbar {
    display: block;
  }
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.5rem;
}
.topbar a,
.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.topbar a:hover {
  color: var(--brand-300);
}
.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.topbar__cert {
  font-weight: 600;
  color: var(--brand-300);
}
.topbar__social {
  display: flex;
  gap: 0.875rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition:
    background-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 40px -16px rgb(16 28 36 / 0.25);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.875rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand img {
  height: 2.5rem;
  width: auto;
}
/* The logo artwork is dark ink on transparent; invert it on dark headers. */
.site-header:not(.is-scrolled) .brand img,
.footer .brand img,
.drawer .brand img {
  filter: brightness(0) invert(1);
}
.brand__text {
  display: none;
  line-height: 1.2;
}
.brand__sub {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.6);
}
.site-header.is-scrolled .brand__sub {
  color: var(--ink-500);
}
@media (min-width: 480px) {
  .brand__text {
    display: block;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 99px;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.85);
  transition: color 0.2s var(--ease);
}
.nav a:hover {
  color: #fff;
}
.site-header.is-scrolled .nav a {
  color: var(--ink-700);
}
.site-header.is-scrolled .nav a:hover {
  color: var(--brand-600);
}
.nav a.is-active {
  color: var(--brand-400);
}
.site-header.is-scrolled .nav a.is-active {
  color: var(--brand-600);
}
.nav a.is-active::after {
  content: '';
  position: absolute;
  inset-inline: 0.75rem;
  bottom: -2px;
  height: 2px;
  border-radius: 99px;
  background: var(--g-aqua);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header-actions .btn {
  display: none;
}
@media (min-width: 640px) {
  .header-actions .btn {
    display: inline-flex;
  }
}
.burger {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.16);
  color: #fff;
}
.site-header.is-scrolled .burger {
  background: var(--ink-100);
  border-color: transparent;
  color: var(--ink-900);
}
@media (min-width: 1024px) {
  .burger {
    display: none;
  }
}

/* Mega menu */
.mega {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  display: none;
  padding-bottom: 1.5rem;
}
.mega.is-open {
  display: block;
  animation: drop 0.24s var(--ease);
}
@media (max-width: 1023px) {
  .mega.is-open {
    display: none;
  }
}
.mega__inner {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgb(255 255 255 / 0.6);
  background: rgb(255 255 255 / 0.97);
  box-shadow: 0 40px 90px -40px rgb(16 28 36 / 0.5);
  padding: 0.5rem;
}
.mega__rail {
  height: 4px;
  border-radius: 99px;
  background: var(--grad-cta);
}
.mega__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 1rem;
}
.mega__item {
  display: flex;
  gap: 1rem;
  border-radius: 1rem;
  padding: 1rem;
  transition: background-color 0.25s var(--ease);
}
.mega__item:hover {
  background: var(--ink-50);
}
.mega__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--ink-900);
}
/* Class, not a bare `span` — a bare selector also caught the icon badge and
   overrode its flex centring. */
.mega__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--ink-600);
}
.mega__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-radius: 1rem;
  background: var(--ink-50);
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-700);
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
}
.drawer.is-open {
  visibility: visible;
}
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgb(10 19 26 / 0.6);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.drawer.is-open .drawer__scrim {
  opacity: 1;
}
.drawer__panel {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  height: 100%;
  width: 86%;
  max-width: 24rem;
  flex-direction: column;
  overflow-y: auto;
  background: var(--grad-dark);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.drawer.is-open .drawer__panel {
  transform: none;
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  padding: 1.25rem 1.5rem;
}
.drawer__close {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.875rem;
  background: rgb(255 255 255 / 0.1);
  color: #fff;
}
.drawer nav {
  flex: 1;
  padding: 1.5rem 1rem;
}
.drawer nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 1rem;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.75);
  transition: background-color 0.25s var(--ease);
}
.drawer nav a:hover {
  background: rgb(255 255 255 / 0.06);
}
.drawer nav a.is-active {
  background: linear-gradient(90deg, rgb(1 159 201 / 0.3), rgb(37 99 235 / 0.25));
  color: #fff;
}
.drawer__foot {
  display: grid;
  gap: 0.75rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding: 1.5rem;
}

/* Scroll progress */
.progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  height: 3px;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #019fc9, #2563eb, #0d9488);
  will-change: transform;
}

/* ---------------------------------------------------------------
   10. Hero
--------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  color: #fff;
  margin-top: -4.5rem;
  padding-top: 4.5rem;
}
.hero__inner {
  position: relative;
  display: grid;
  align-items: center;
  gap: 4rem;
  padding-block: 5rem 7rem;
}
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 7fr 5fr;
  }
}
.hero h1 {
  margin-top: 1.75rem;
  font-size: clamp(2.25rem, 1.2rem + 4.4vw, 4.25rem);
  line-height: 1.05;
}
.hero p {
  margin-top: 2rem;
  max-width: 36rem;
  font-size: 1.05rem;
  color: rgb(255 255 255 / 0.75);
}
.hero__marks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.6);
}
.hero__marks span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__marks .icon {
  color: #35d3ee;
}

/* Floating polymer pellets */
.pellets {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.pellets span {
  position: absolute;
  border-radius: 38%;
  background-image: var(--g);
  opacity: 0.25;
  animation: float-y 7s ease-in-out infinite;
  will-change: transform;
}

/* Capability snapshot card */
.snapshot {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  background: rgb(255 255 255 / 0.08);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgb(255 255 255 / 0.14);
}
.snapshot__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.5);
}
.snapshot__dots {
  display: flex;
  gap: 0.375rem;
}
.snapshot__dots i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 99px;
}
.snapshot__rows {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.snapshot__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.05);
  padding: 0.875rem;
  transition: background-color 0.3s var(--ease);
}
.snapshot__row:hover {
  background: rgb(255 255 255 / 0.1);
}
.snapshot__row strong {
  display: block;
  font-size: 0.875rem;
}
.snapshot__row em {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.5);
}
.snapshot__note {
  margin-top: 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, rgb(1 159 201 / 0.2), rgb(37 99 235 / 0.2));
  padding: 1rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.75);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-block: 8rem 5rem;
  background: var(--grad-hero);
  /* Slide up under the transparent sticky header — otherwise the header's
     white nav text sits on the page background instead of the gradient. */
  margin-top: -4.5rem;
}
@media (min-width: 640px) {
  .page-hero {
    padding-block: 10rem 7rem;
  }
}
.page-hero--services {
  background: var(--grad-services);
}
.page-hero--industries {
  background: var(--grad-industries);
}
.page-hero--products {
  background: var(--grad-products);
}
.page-hero--blog {
  background: var(--grad-blog);
}
.page-hero--contact {
  background: var(--grad-contact);
}
.page-hero--about {
  background: var(--grad-about);
}
.page-hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem);
}
.page-hero p {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 1.05rem;
  color: rgb(255 255 255 / 0.75);
}
.page-hero__body {
  position: relative;
  max-width: 48rem;
}
.page-hero .btn-row {
  margin-top: 2.25rem;
}

.crumbs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.6);
}
.crumbs a:hover {
  color: var(--brand-300);
}
.crumbs [aria-current] {
  color: #fff;
}

/* ---------------------------------------------------------------
   11. Marquee
--------------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--ink-200);
  background: #fff;
  padding-block: 1.25rem;
}
.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  inset-block: 0;
  width: 6rem;
  z-index: 1;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff, transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__track span {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-500);
}
.marquee__track i {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--g-aqua);
}

/* ---------------------------------------------------------------
   12. Process timeline
--------------------------------------------------------------- */
.timeline {
  position: relative;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, #019fc9, #2563eb, #0d9488);
    opacity: 0.25;
  }
  .timeline__row {
    display: flex;
    align-items: center;
    gap: 3rem;
  }
  .timeline__row:nth-child(even) {
    flex-direction: row-reverse;
  }
  .timeline__row > * {
    width: 50%;
  }
  /* The dot column sits beside the centre rail, so the marker is pinned to
     the edge that touches it rather than centred in its own half. */
  .timeline__dot {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: -0.5rem;
  }
  .timeline__row:nth-child(even) .timeline__dot {
    justify-content: flex-end;
    margin-left: 0;
    margin-right: -0.5rem;
  }
  .timeline__dot i {
    width: 1rem;
    height: 1rem;
    border-radius: 99px;
    background-image: var(--g, var(--g-aqua));
    box-shadow: 0 0 0 8px #fff;
  }
}
.timeline__dot {
  display: none;
}
@media (min-width: 1024px) {
  .timeline__dot {
    display: grid;
  }
}
.step {
  display: flex;
  gap: 1.25rem;
}
.step__num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  background-image: var(--g, var(--g-aqua));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------
   13. Accordion
--------------------------------------------------------------- */
.accordion {
  display: grid;
  gap: 0.75rem;
}
.acc {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--ink-200);
  background: rgb(255 255 255 / 0.65);
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.acc.is-open {
  border-color: transparent;
  background: #fff;
  box-shadow: 0 20px 50px -24px rgb(16 28 36 / 0.35);
}
.acc__rail {
  height: 4px;
  background-image: var(--g, var(--g-aqua));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.acc.is-open .acc__rail {
  transform: none;
}
.acc__btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-800);
}
.acc.is-open .acc__btn {
  color: var(--ink-900);
}
.acc__sign {
  display: grid;
  place-items: center;
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 99px;
  background: var(--ink-100);
  color: var(--ink-600);
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}
.acc.is-open .acc__sign {
  background-image: var(--g, var(--g-aqua));
  color: #fff;
  transform: rotate(45deg);
}
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.acc.is-open .acc__panel {
  grid-template-rows: 1fr;
}
.acc__panel > div {
  overflow: hidden;
}
.acc__panel p {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgb(43 60 73 / 0.85);
}

/* ---------------------------------------------------------------
   14. Forms
--------------------------------------------------------------- */
.form {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .form--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .span-2 {
    grid-column: span 2;
  }
}
.field > span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-700);
}
.field .req {
  color: var(--brand-500);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--ink-200);
  background: rgb(255 255 255 / 0.85);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--ink-900);
  outline: none;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease);
}
.field textarea {
  min-height: 8rem;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-400);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgb(1 159 201 / 0.14);
}

.field--dark > span {
  color: rgb(255 255 255 / 0.55);
}
.field--dark .req {
  color: var(--brand-300);
}
.field--dark input,
.field--dark textarea {
  border-color: rgb(255 255 255 / 0.15);
  background: rgb(255 255 255 / 0.05);
  color: #fff;
}
.field--dark input::placeholder,
.field--dark textarea::placeholder {
  color: rgb(255 255 255 / 0.35);
}
.field--dark input:focus,
.field--dark textarea:focus {
  border-color: var(--brand-400);
  background: rgb(255 255 255 / 0.1);
  box-shadow: 0 0 0 4px rgb(1 159 201 / 0.18);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--ink-600);
}
.consent input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--brand-500);
}
.consent a {
  font-weight: 700;
  color: var(--brand-600);
}
.consent a:hover {
  text-decoration: underline;
}

.form-note {
  border-radius: 1rem;
  border: 1px dashed var(--ink-300);
  background: rgb(244 248 251 / 0.7);
  padding: 1.25rem;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--ink-600);
}
.form-note a {
  font-weight: 700;
  color: var(--brand-600);
}

.notice {
  display: flex;
  gap: 1rem;
  border-radius: 1rem;
  padding: 1.5rem;
  background: rgb(1 159 201 / 0.14);
  box-shadow: inset 0 0 0 1px rgb(1 159 201 / 0.3);
}
.notice .icon {
  color: var(--brand-300);
  flex: none;
}
.notice strong {
  display: block;
  color: #fff;
}
.notice p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.7);
}

/* Search + filter bar */
.filterbar {
  position: sticky;
  top: 6rem;
  z-index: 30;
  margin-bottom: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid rgb(255 255 255 / 0.6);
  background: rgb(255 255 255 / 0.92);
  padding: 1rem;
  box-shadow: 0 16px 50px -30px rgb(16 28 36 / 0.4);
}
.filterbar__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .filterbar__inner {
    flex-direction: row;
    align-items: center;
  }
}
.search {
  position: relative;
  /* Keeps the field usable when the category buttons wrap onto two rows. */
  flex: 1 1 18rem;
  min-width: 12rem;
}
.search .icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-400);
  pointer-events: none;
}
.search input {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--ink-200);
  background: #fff;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  font-size: 0.875rem;
  outline: none;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.search input:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgb(1 159 201 / 0.14);
}
/* Lives inside the sticky bar so it can never be overlapped by it. */
.filterbar__count {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ink-100);
}
.filterbar__count:empty {
  display: none;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filters button {
  border-radius: 99px;
  background: var(--ink-100);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-600);
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.filters button:hover {
  background: var(--ink-200);
}
.filters button.is-active {
  background-image: var(--g-aqua);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgb(1 159 201 / 0.6);
}

.empty {
  border-radius: var(--radius);
  border: 1px dashed var(--ink-300);
  background: rgb(255 255 255 / 0.6);
  padding: 5rem 1.5rem;
  text-align: center;
}
.empty .icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-inline: auto;
  color: var(--ink-300);
}

/* ---------------------------------------------------------------
   15. Prose (blog + legal bodies)
--------------------------------------------------------------- */
.prose > * + * {
  margin-top: 1.5rem;
}
.prose p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-700);
}
.prose p.first {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink-800);
}
.prose h2 {
  margin-top: 2.75rem;
  font-size: 1.5rem;
}
.prose h3 {
  margin-top: 2.5rem;
  font-size: 1.25rem;
}

.legal-section h2 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.25rem;
}
.legal-section h2 .num {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.25rem;
  border-radius: 0.5rem;
  background-image: var(--g, var(--g-aqua));
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  color: #fff;
}
.legal-section > div {
  margin-top: 1rem;
  padding-left: 2.25rem;
  display: grid;
  gap: 0.75rem;
}
.legal-section p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-700);
}

/* ---------------------------------------------------------------
   16. Footer
--------------------------------------------------------------- */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--grad-dark);
  color: #fff;
}
.footer__news {
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
.footer__news .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding-block: 3.5rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .footer__news .wrap {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer__news h3 {
  font-size: 1.5rem;
}
.footer__news p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.65);
}
.subscribe {
  display: flex;
  width: 100%;
  max-width: 28rem;
  align-items: center;
  gap: 0.5rem;
  border-radius: 99px;
  border: 1px solid rgb(255 255 255 / 0.15);
  background: rgb(255 255 255 / 0.05);
  padding: 0.375rem;
}
.subscribe input {
  min-width: 0;
  flex: 1;
  background: none;
  border: 0;
  outline: none;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: #fff;
}
.subscribe input::placeholder {
  color: rgb(255 255 255 / 0.4);
}

.footer__grid {
  display: grid;
  gap: 3rem;
  padding-block: 4rem;
}
@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  }
}
.footer__about p {
  margin-top: 1.25rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgb(255 255 255 / 0.65);
}
.footer__cert {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  border-radius: 99px;
  background: linear-gradient(90deg, rgb(1 159 201 / 0.2), rgb(37 99 235 / 0.2));
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-300);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
}
.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.socials a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.875rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.05);
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.socials a:hover {
  transform: translateY(-4px);
  border-color: transparent;
  background-image: var(--g-aqua);
}
.footer h4 {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer__rule {
  height: 2px;
  width: 2.5rem;
  border-radius: 99px;
  margin-top: 0.5rem;
  background-image: var(--g, var(--g-aqua));
}
.footer__col ul {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer__col a,
.footer__col li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.65);
  transition: color 0.2s var(--ease);
}
.footer__col a:hover {
  color: var(--brand-300);
}
.footer__col .icon {
  flex: none;
  margin-top: 0.15rem;
  color: var(--brand-400);
}
.footer__bar {
  border-top: 1px solid rgb(255 255 255 / 0.1);
}
.footer__bar .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.5);
}
@media (min-width: 768px) {
  .footer__bar .wrap {
    flex-direction: row;
  }
}
.footer__bar nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}
.footer__bar a:hover {
  color: var(--brand-300);
}

/* ---------------------------------------------------------------
   17. Floating actions
--------------------------------------------------------------- */
.fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.fab__top {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 99px;
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--ink-800);
  box-shadow: 0 12px 30px -12px rgb(16 28 36 / 0.5);
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.fab.show-top .fab__top {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.fab__actions {
  display: grid;
  gap: 0.75rem;
  justify-items: end;
}
.fab__actions a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(16px) scale(0.8);
  pointer-events: none;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.fab.is-open .fab__actions a {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.fab.is-open .fab__actions a:nth-child(2) {
  transition-delay: 0.06s;
}
.fab.is-open .fab__actions a:nth-child(3) {
  transition-delay: 0.12s;
}
.fab__label {
  border-radius: 99px;
  background: var(--ink-900);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.fab__actions a:hover .fab__label {
  opacity: 1;
}
.fab__dot {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 99px;
  background-image: var(--g, var(--g-aqua));
  color: #fff;
  box-shadow: 0 16px 34px -14px rgb(16 28 36 / 0.7);
  transition: transform 0.3s var(--ease);
}
.fab__actions a:hover .fab__dot {
  transform: scale(1.1);
}
.fab__toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 99px;
  background: linear-gradient(120deg, #019fc9, #2563eb, #0d9488, #019fc9);
  background-size: 300% 100%;
  animation: pan 8s linear infinite;
  color: #fff;
  box-shadow: 0 20px 40px -12px rgb(1 159 201 / 0.6);
  transition: transform 0.3s var(--ease);
}
.fab__toggle:hover {
  transform: scale(1.08);
}
.fab__toggle .icon {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.3s var(--ease);
}
.fab.is-open .fab__toggle .icon {
  transform: rotate(135deg);
}
.fab__ping {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: rgb(1 159 201 / 0.3);
  animation: ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ---------------------------------------------------------------
   18. Misc blocks
--------------------------------------------------------------- */
.region-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
.region-pills span {
  border-radius: 99px;
  padding: 1px;
  background-image: var(--g, var(--g-aqua));
  font-size: 0.75rem;
  font-weight: 700;
}
.region-pills span > span {
  display: block;
  border-radius: 99px;
  background: #fff;
  padding: 0.5rem 1rem;
  color: var(--ink-800);
}

.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  padding: 2rem;
  background: rgb(255 255 255 / 0.08);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgb(255 255 255 / 0.14);
  color: #fff;
}
.quote-card blockquote {
  flex: 1;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgb(255 255 255 / 0.85);
}
.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  border-top: 1px solid rgb(255 255 255 / 0.15);
  padding-top: 1.5rem;
}
.quote-card .avatar {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 99px;
  background-image: var(--g, var(--g-aqua));
  font-family: var(--font-display);
  font-weight: 800;
}
.quote-card strong {
  display: block;
  font-size: 0.875rem;
}
.quote-card em {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.55);
}

.contact-card__lines {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--ink-600);
}
.contact-card__lines a:hover {
  color: var(--brand-600);
}
.contact-card__note {
  margin-top: 1rem;
  border-top: 1px solid var(--ink-100);
  padding-top: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-400);
}

.hours div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
}
.hours div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.hours span:first-child {
  color: rgb(255 255 255 / 0.6);
}
.hours span:last-child {
  font-weight: 700;
}
.hours .closed {
  color: #fb7185;
}

.map-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--ink-200);
  background: #fff;
}
.map-card__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-image: var(--g-azure);
  padding: 1rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
}
.map-card iframe {
  height: 18rem;
  width: 100%;
  border: 0;
}

.steps-ol {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
.steps-ol li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-600);
}
.steps-ol .n {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 99px;
  background-image: var(--g-aqua);
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
}

.notfound {
  display: flex;
  align-items: center;
  min-height: 86vh;
  background: var(--grad-hero);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: -4.5rem;
  padding-top: 4.5rem;
}
.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 3rem + 14vw, 11rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #35d3ee, #2563eb 60%, #0d9488);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Utility spacing (small, deliberate set) */
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mt-6 {
  margin-top: 3rem;
}
.mt-8 {
  margin-top: 4rem;
}
.center {
  text-align: center;
}
.flex-between {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.relative {
  position: relative;
}

/* ---------------------------------------------------------------
   19. Gradient family hooks
   Every element that needs a family sets --g (and --spot for auroras)
   from a single class, so the data files stay colour-agnostic.
--------------------------------------------------------------- */
.g-aqua {
  --g: var(--g-aqua);
  --c: var(--c-aqua);
}
.g-azure {
  --g: var(--g-azure);
  --c: var(--c-azure);
}
.g-teal {
  --g: var(--g-teal);
  --c: var(--c-teal);
}
.g-sky {
  --g: var(--g-sky);
  --c: var(--c-sky);
}
.g-indigo {
  --g: var(--g-indigo);
  --c: var(--c-indigo);
}
.g-mint {
  --g: var(--g-mint);
  --c: var(--c-mint);
}
.g-steel {
  --g: var(--g-steel);
  --c: var(--c-steel);
}
.g-deep {
  --g: var(--g-deep);
  --c: var(--c-deep);
}

/* ---------------------------------------------------------------
   20. Motion
--------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(6%, -8%, 0) scale(1.15);
  }
  66% {
    transform: translate3d(-7%, 6%, 0) scale(0.92);
  }
}
@keyframes pan {
  to {
    background-position: 300% 0;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
@keyframes ping {
  75%,
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
}

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