/* ==========================================================================
   Kodvio — Design tokens & base styles
   ========================================================================== */

:root {
  /* Brand colors */
  --color-primary: #1b56fd;
  --color-primary-dark: #123fc9;
  --color-primary-light: #e8efff;
  --color-accent: #17c6b6;
  --color-accent-dark: #0ea396;
  --color-ink: #121220;
  --color-ink-soft: #1d1c29;
  --color-text: #1a1b26;
  --color-muted: #656b7a;
  --color-muted-light: #9aa0b0;
  --color-surface: #ffffff;
  --color-surface-alt: #f4f6fb;
  --color-border: #e5e8f1;

  --gradient-brand: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  --gradient-hero: linear-gradient(160deg, #1b56fd 0%, #1544c9 60%, #103a9e 100%);

  /* Typography */
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-h1: clamp(2.25rem, 1.7rem + 2.4vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  --fs-lead: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8125rem;

  /* Layout */
  --container-w: 1240px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad-y: clamp(3.5rem, 3rem + 3vw, 7rem);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-card: 0 20px 45px -25px rgba(18, 18, 32, 0.35);
  --shadow-soft: 0 10px 30px -18px rgba(18, 18, 32, 0.25);

  color-scheme: light;
}

/* ---------------------------------- Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

.lead { font-size: var(--fs-lead); color: var(--color-muted); }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--color-ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* --------------------------------- Layout -------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--section-pad-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section--dark {
  background: var(--color-ink);
  color: #f2f3f7;
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #b7bac8; }
.section--surface-alt { background: var(--color-surface-alt); }
.section--brand {
  background: var(--gradient-hero);
  color: #fff;
}
.section--brand h1, .section--brand h2, .section--brand h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.section--dark .eyebrow, .section--brand .eyebrow { color: var(--color-accent); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.6rem + 1.5vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 0.9rem; }
.section-head h2 { margin-top: 0.75rem; }
.section-head p { margin-top: 1rem; }

/* --------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  min-height: 44px;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-accent { background: var(--color-accent); color: #04221f; }
.btn-accent:hover { background: var(--color-accent-dark); color: #fff; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-ghost { background: transparent; border-color: var(--color-border); color: var(--color-ink); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ================================ HEADER ================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.35rem; color: var(--color-ink); }
.brand__mark { width: 34px; height: 34px; flex: none; object-fit: contain; }
.brand__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
  padding: 3px;
  flex: none;
}
.brand__badge .brand__mark { width: 100%; height: 100%; }
.brand span { color: var(--color-primary); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bars::before { transform: translateY(-6px); }
.nav-toggle__bars::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-2px) rotate(-45deg); }
.nav-backdrop { display: none; }

.site-nav__list { display: flex; align-items: center; gap: clamp(1.25rem, 2vw, 2.25rem); }
.nav-cta-mobile { display: none; }
.site-nav__list a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav__list a:hover { color: var(--color-primary); }
.site-nav__list a[aria-current="page"] { color: var(--color-primary); border-color: var(--color-accent); }
.site-header__cta { display: flex; align-items: center; gap: 1rem; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-header__cta .btn-primary { display: none; }
  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    top: 73px;
    width: min(320px, 85vw);
    height: calc(100vh - 73px);
    background: #fff;
    border-left: 1px solid var(--color-border);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    padding: 1.5rem;
    z-index: 495;
  }
  .site-nav.is-open { transform: translateX(0); }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 73px 0 0 0;
    width: 100%;
    height: calc(100vh - 73px);
    background: rgba(10, 10, 25, 0.45);
    border: none;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 490;
  }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .site-nav__list a { display: block; padding: 0.85rem 0.25rem; font-size: 1.05rem; }
  .site-nav__list .btn { width: 100%; justify-content: center; margin-top: 0.75rem; }
  .nav-cta-mobile { display: block; }
}

/* ================================= HERO =================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: clamp(320px, 42vw, 420px);
}
.page-hero__panel {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.page-hero__blob {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), rgba(255,255,255,0));
  filter: blur(2px);
}
.page-hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 4vw, 3.5rem) var(--container-pad);
  color: #fff;
  max-width: 34rem;
}
.page-hero__content p { margin-top: 1rem; color: rgba(255,255,255,0.85); }
.page-hero__title-block {
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--container-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero__title-block h1 { position: relative; display: inline-block; padding-bottom: 0.9rem; }
.page-hero__title-block h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
}
.page-hero__media {
  display: block;
  width: 100%;
  aspect-ratio: 16/6;
  object-fit: cover;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

@media (min-width: 860px) {
  .page-hero__grid { grid-template-columns: 1.05fr 1fr; }
}

/* Home hero (two column, image right) */
.hero-home {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 960px) {
  .hero-home { grid-template-columns: 1fr 1.05fr; gap: 3rem; }
}
.hero-home__copy .eyebrow { margin-bottom: 1rem; }
.hero-home__copy h1 { margin-bottom: 1.1rem; }
.hero-home__copy p { max-width: 32rem; }
.hero-home__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.hero-home__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gradient-hero);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-home__visual svg { width: 100%; height: 100%; }
.hero-home__badge {
  position: absolute;
  bottom: -1.25rem;
  left: -1rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 230px;
}
.hero-home__badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-accent); flex: none; }
.hero-home__badge strong { display: block; font-size: 0.9rem; }
.hero-home__badge span { font-size: 0.8rem; color: var(--color-muted); }

/* ============================== FEATURE STRIP ============================= */
.feature-strip {
  background: var(--gradient-hero);
  padding-block: clamp(2rem, 3vw, 3rem);
}
.feature-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 760px) {
  .feature-strip__grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
}
.feature-card {
  color: #fff;
  padding: clamp(1.5rem, 2vw, 2.25rem);
  border-radius: var(--radius-md);
}
@media (min-width: 760px) {
  .feature-card { border-radius: 0; border-right: 1px solid rgba(255,255,255,0.18); }
  .feature-card:last-child { border-right: none; }
}
.feature-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.6rem; }
.feature-card p { color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; }
.feature-card__icon { width: 44px; height: 44px; margin-bottom: 1rem; }
.feature-card a { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: #fff; }
.feature-card a svg { width: 1rem; height: 1rem; }

/* ================================ SHOWCASE ================================ */
.showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.showcase__media { aspect-ratio: 16/10; width: 100%; }
.showcase__panel {
  background: var(--color-primary);
  color: #fff;
  padding: clamp(1.75rem, 3vw, 3rem);
}
.showcase__panel h3 { color: #fff; margin-bottom: 1.25rem; }
.showcase__numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.showcase__numbers strong { display: block; font-size: 1.5rem; color: var(--color-accent); }
.showcase__numbers span { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
@media (min-width: 860px) {
  .showcase { grid-template-columns: 1.4fr 1fr; align-items: stretch; }
  .showcase__media { aspect-ratio: auto; height: 100%; }
  .showcase__panel { align-self: end; margin: 2rem; border-radius: var(--radius-md); max-width: 420px; }
  .showcase { position: relative; }
  .showcase__panel { position: relative; }
}

/* ============================== EDITORIAL LINE ============================ */
.editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  text-align: center;
}
.editorial p:first-child { font-size: var(--fs-h3); font-weight: 700; color: var(--color-ink); }
.editorial a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.editorial__mark { width: 56px; height: 56px; margin-inline: auto; }
.editorial p:last-child { color: var(--color-muted); }
@media (min-width: 860px) {
  .editorial { grid-template-columns: 1fr auto 1fr; text-align: left; }
  .editorial p:first-child { text-align: left; }
  .editorial p:last-child { text-align: left; }
}

/* ================================ CARDS =================================== */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.info-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.info-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.info-card__icon svg { width: 24px; height: 24px; color: var(--color-primary); }
.info-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.info-card p { color: var(--color-muted); font-size: 0.95rem; }

.dark-grid { background: var(--color-ink); border-radius: var(--radius-lg); overflow: hidden; }
.dark-tile {
  padding: 1.75rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dark-tile h4 { color: #fff; font-size: 1.4rem; margin-bottom: 0.35rem; }
.dark-tile span { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* ========================== NUMBERED SERVICE ROWS ========================= */
.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(2rem, 3vw, 3rem);
}
.service-row + .service-row { border-top: 1px solid var(--color-border); }
@media (min-width: 900px) {
  .service-row { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .service-row--reverse .service-row__media { order: 2; }
}
.service-row__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; width: 100%; min-width: 0; }
@media (min-width: 900px) { .service-row__media { aspect-ratio: auto; height: 100%; } }
.service-row__num {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.75);
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.service-row__body .service-row__icon {
  width: 46px; height: 46px; color: var(--color-primary); margin-bottom: 1rem;
}
.service-row__body h3 { margin-bottom: 1rem; }
.service-row__list { display: grid; gap: 0.6rem; margin: 1.25rem 0 1.5rem; }
.service-row__list li { display: flex; gap: 0.6rem; color: var(--color-muted); }
.service-row__list svg { width: 1.1rem; height: 1.1rem; flex: none; margin-top: 0.2rem; color: var(--color-accent-dark); }

/* ================================= GRID TILE =============================== */
.tile-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,0.12); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
.tile {
  background: rgba(255,255,255,0.04);
  padding: 1.75rem;
  transition: background 0.2s ease;
}
.tile:hover { background: rgba(255,255,255,0.08); }
.tile__icon { width: 40px; height: 40px; color: var(--color-accent); margin-bottom: 1rem; }
.tile h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.5rem; }
.tile p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ================================ CTA BAND ================================= */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) var(--container-pad);
  text-align: center;
  color: #fff;
  background: linear-gradient(0deg, rgba(8,9,15,0.78), rgba(8,9,15,0.55)), var(--gradient-hero);
}
.cta-band h2 { color: #fff; margin-bottom: 1.75rem; max-width: 40rem; margin-inline: auto; }

/* ========================= CONTACT STRIP (global footer top) ============== */
.contact-strip {
  background: var(--gradient-hero);
  color: #fff;
}
.contact-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: clamp(3rem, 5vw, 4.5rem);
}
@media (min-width: 760px) {
  .contact-strip__grid { grid-template-columns: repeat(2, 1fr) 1.2fr; }
}
.contact-strip h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-strip p, .contact-strip a { color: rgba(255,255,255,0.85); }
.contact-strip__brand { display: flex; flex-direction: column; gap: 0.9rem; }
.contact-strip__brand .brand { color: #fff; }
.contact-strip__brand .brand span { color: var(--color-accent); }
.contact-strip__bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.back-to-top:hover { background: rgba(255,255,255,0.3); }

/* ================================= FORMS =================================== */
.form-field { margin-bottom: 1.4rem; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.45rem; color: var(--color-muted); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-border);
  padding: 0.65rem 0.1rem;
  font-family: inherit;
  font-size: 1rem;
  background: transparent;
  color: var(--color-ink);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-bottom-color: var(--color-primary);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.field-error { color: #d6294b; font-size: 0.8rem; margin-top: 0.35rem; display: block; }
.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.form-alert--success { background: #e6f9f3; color: #0a7a63; }
.form-alert--error { background: #fdecef; color: #b3233f; }

/* ================================ FAQ ACCORDION ============================ */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item { background: var(--color-ink-soft); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item[open] { background: var(--color-primary); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-num { color: var(--color-accent); font-weight: 800; flex: none; }
.faq-item[open] summary .faq-num { color: #fff; }
.faq-item summary .faq-icon { margin-left: auto; flex: none; width: 1.25rem; height: 1.25rem; }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-item__body { padding: 0 1.5rem 1.25rem 2.9rem; color: rgba(255,255,255,0.85); }

/* ================================ MISC ===================================== */
.ring-stat {
  position: relative;
  width: 110px;
  height: 110px;
  display: inline-grid;
  place-items: center;
  flex: none;
}
.ring-stat svg { width: 100%; height: 100%; }
.ring-stat__label { position: absolute; font-weight: 800; font-size: 1rem; color: var(--color-ink); text-align: center; }

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

.split-panel {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 760px) { .split-panel { grid-template-columns: 1fr 1fr; } }
.split-panel__media { aspect-ratio: 4/3; width: 100%; min-width: 0; }
@media (min-width: 760px) { .split-panel__media { aspect-ratio: auto; height: 100%; } }
.split-panel__copy { background: var(--color-primary); color: #fff; padding: clamp(1.75rem, 3vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.split-panel__copy h3 { color: #fff; margin-bottom: 1rem; }
.split-panel__copy p { color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; }

.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tech-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--color-surface-alt);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.values-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
.value-item h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.value-item p { color: var(--color-muted); }
.section--dark .value-item p, .section--brand .value-item p { color: rgba(255,255,255,0.82); }

/* .reveal elements are fully visible by default (no-JS / slow-JS safe).
   JS opts individual elements into the fade-in by adding .reveal-armed
   right before observing them, so content is never hidden behind script execution. */
.reveal.reveal-armed { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.reveal-armed.is-visible { opacity: 1; transform: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 0.75rem; }
.breadcrumb a { text-decoration: underline; }
