/* ===================================================================
   Alphasol LLC — Main Stylesheet
   =====================================================================
   Design tokens, layout, animations, components, inner pages.
   URL paths use absolute roots so this file can live in /public/css/
   =================================================================== */

:root {
  --color-1: #d8dee0;
  --color-2: #5f7872;
  --color-3: #7a9690;
  --color-4: #eceeed;
  --color-5: #d4d9dc;
  --color-6: #eef0f1;
  --color-7: #2a3438;
  --color-7-rgb: 42, 52, 56;
  --accent-rgb: 95, 120, 114;
  --accent-light-rgb: 122, 150, 144;
  --transition-ease-1: cubic-bezier(.16, 1, .3, 1);
  --ease-reveal-up: cubic-bezier(0.28, 1.1, 0.74, 1);
  --ease-reveal-fade: cubic-bezier(0.59, 0.41, 0.68, 0.49);
  --reveal-distance: 50px;
  --reveal-duration: 0.67s;
  --container-max-width: 1524px;
  --container-padding: 24px;
  --base-bg: #eef0f1;
  --base-text: #2a3438;
  --text-secondary: #3d484c;
  --text-muted: #4d585c;
  --text-subtle: #5d676b;
  --surface: rgba(255, 255, 255, 0.58);
  --surface-raised: rgba(255, 255, 255, 0.78);
  --border-subtle: rgba(255, 255, 255, 0.72);
  --border-mid: rgba(var(--accent-rgb), 0.42);
  --glow-sm: 0 8px 32px rgba(42, 52, 56, 0.07);
  --radius-lg: 20px;
  --radius-xl: 40px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--base-bg);
  color: var(--base-text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: calc(var(--container-max-width) + (2 * var(--container-padding)));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

@media (min-width: 1025px) {
  :root {
    --container-padding: 48px;
    --radius-lg: 28px;
    --radius-xl: 40px;
  }
}

/* ── Page shell (homepage main wrapper) ── */
.page-shell {
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  margin-bottom: calc(-1 * var(--radius-xl));
  overflow: clip;
  position: relative;
  z-index: 2;
}

/* ── Post-hero frosted glass flow (light → dark) ── */
.site-glass-flow {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(ellipse 90% 55% at 18% 0%, rgba(var(--accent-rgb), 0.12), transparent 58%),
    radial-gradient(ellipse 70% 50% at 88% 38%, rgba(140, 160, 168, 0.14), transparent 52%),
    linear-gradient(
      180deg,
      #eef1f2 0%,
      #e7eaec 14%,
      #dfe3e6 28%,
      #d4d9dc 44%,
      #c8ced2 58%,
      #bcc3c8 72%,
      #b0b8bd 86%,
      #a4adb3 100%
    );
}

.section-glass {
  position: relative;
  color: var(--section-body, var(--base-text));
}

.section-glass > .container {
  position: relative;
}

.section-glass--light {
  background: rgba(238, 241, 242, 0.88);
  --section-heading: #1e282c;
  --section-body: #2a3438;
  --section-muted: #424c50;
  --section-subtle: #545e62;
  --section-accent: #5f7872;
  --glass-fill: rgba(255, 255, 255, 0.94);
  --glass-fill-hover: rgba(255, 255, 255, 0.98);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-border-hover: rgba(var(--accent-rgb), 0.5);
  --glow-sm: 0 10px 36px rgba(42, 52, 56, 0.08);
  --label-bg: rgba(255, 255, 255, 0.92);
  --label-border: rgba(255, 255, 255, 0.88);
  --divider-color: rgba(42, 52, 56, 0.18);
}

.section-glass--soft {
  background: rgba(223, 227, 230, 0.86);
  --section-heading: #1a2428;
  --section-body: #263034;
  --section-muted: #3a4448;
  --section-subtle: #4c565a;
  --section-accent: #5f7872;
  --glass-fill: rgba(255, 255, 255, 0.9);
  --glass-fill-hover: rgba(255, 255, 255, 0.96);
  --glass-border: rgba(255, 255, 255, 0.78);
  --glass-border-hover: rgba(var(--accent-rgb), 0.42);
  --glow-sm: 0 12px 40px rgba(42, 52, 56, 0.1);
  --label-bg: rgba(255, 255, 255, 0.88);
  --label-border: rgba(255, 255, 255, 0.78);
  --divider-color: rgba(38, 48, 52, 0.2);
}

.section-glass--twilight {
  background: rgba(148, 162, 168, 0.82);
  --section-heading: #f4f6f7;
  --section-body: rgba(236, 240, 242, 0.94);
  --section-muted: rgba(214, 222, 226, 0.86);
  --section-subtle: rgba(188, 200, 206, 0.76);
  --section-accent: #b8ccc4;
  --glass-fill: rgba(255, 255, 255, 0.14);
  --glass-fill-hover: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-border-hover: rgba(var(--accent-rgb), 0.38);
  --glow-sm: 0 14px 44px rgba(42, 52, 56, 0.14);
  --label-bg: rgba(255, 255, 255, 0.16);
  --label-border: rgba(255, 255, 255, 0.2);
  --divider-color: rgba(var(--accent-rgb), 0.32);
}

/* Trusted Enterprise — smooth light → dark invert band */
.ecosystem-section.section-glass--twilight {
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(var(--accent-rgb), 0.14), transparent 58%),
    radial-gradient(ellipse 90% 60% at 88% 100%, rgba(var(--accent-light-rgb), 0.1), transparent 55%),
    linear-gradient(
      180deg,
      rgba(223, 227, 230, 0.94) 0%,
      rgba(200, 206, 210, 0.92) 18%,
      rgba(168, 180, 186, 0.9) 36%,
      rgba(120, 138, 146, 0.88) 54%,
      rgba(82, 98, 104, 0.9) 72%,
      rgba(58, 68, 72, 0.92) 88%,
      rgba(46, 54, 58, 0.94) 100%
    );
  --section-heading: #f4f6f7;
  --section-subtle: rgba(188, 200, 206, 0.82);
}

.about-section.section-glass--soft {
  position: relative;
}

.about-section.section-glass--soft::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(80px, 14vw, 140px);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(223, 227, 230, 0.85)
  );
  pointer-events: none;
}

.services-section.section-glass--dark {
  position: relative;
}

.services-section.section-glass--dark::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(48px, 8vw, 96px);
  background: linear-gradient(
    to bottom,
    rgba(46, 54, 58, 0.94),
    transparent
  );
  pointer-events: none;
  z-index: 0;
}

.services-section.section-glass--dark > .container {
  position: relative;
  z-index: 1;
}

.section-glass--dark {
  background: rgba(58, 68, 72, 0.9);
  --section-heading: #f2f4f5;
  --section-body: rgba(232, 236, 238, 0.92);
  --section-muted: rgba(200, 210, 214, 0.82);
  --section-subtle: rgba(172, 186, 192, 0.72);
  --section-accent: #b8ccc4;
  --glass-fill: rgba(255, 255, 255, 0.08);
  --glass-fill-hover: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-hover: rgba(var(--accent-rgb), 0.32);
  --glow-sm: 0 16px 48px rgba(42, 52, 56, 0.18);
  --label-bg: rgba(255, 255, 255, 0.1);
  --label-border: rgba(255, 255, 255, 0.14);
  --divider-color: rgba(var(--accent-rgb), 0.26);
}

.section-glass--deep {
  background: rgba(42, 50, 54, 0.94);
  --section-heading: #f4f6f7;
  --section-body: rgba(236, 240, 242, 0.92);
  --section-muted: rgba(206, 216, 220, 0.82);
  --section-subtle: rgba(178, 192, 198, 0.72);
  --section-accent: #c2d4cc;
  --glass-fill: rgba(255, 255, 255, 0.06);
  --glass-fill-hover: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-hover: rgba(var(--accent-rgb), 0.28);
  --glow-sm: 0 20px 56px rgba(42, 52, 56, 0.22);
  --label-bg: rgba(255, 255, 255, 0.08);
  --label-border: rgba(255, 255, 255, 0.12);
  --divider-color: rgba(var(--accent-rgb), 0.22);
}

/* Glass panels — solid fills only (no backdrop-filter; prevents scroll flicker) */
.section-glass .metric-card,
.section-glass .pillar-card,
.section-glass .industry-card,
.section-glass .service-panel,
.section-glass .founder-card,
.section-glass .intake-form {
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glow-sm);
}

.section-glass .metric-card:hover,
.section-glass .pillar-card:hover,
.section-glass .industry-card:hover,
.section-glass .service-panel:hover,
.section-glass .founder-card:hover {
  background: var(--glass-fill-hover);
  border-color: var(--glass-border-hover);
  transform: translate3d(0, -4px, 0);
}

.section-glass .section-title,
.section-glass .pillars-heading,
.section-glass .about-mission h3,
.section-glass .connect-headline h2 {
  color: var(--section-heading);
}

.section-glass .section-lead,
.section-glass .about-mission p,
.section-glass .connect-headline p,
.section-glass .statement,
.section-glass .statement .soft {
  color: var(--section-muted);
}

.section-glass .statement strong {
  color: var(--section-heading);
}

.section-glass .ascent-divider[data-reveal="scale"] {
  border-color: var(--divider-color);
}

.section-glass .ascent-divider[data-reveal="scale"].revealed {
  opacity: 1;
}

.section-glass .metric-value {
  color: var(--section-accent);
}

.section-glass .metric-label,
.section-glass .pillar-card p,
.section-glass .industry-card p,
.section-glass .service-panel-lead,
.section-glass .service-points li {
  color: var(--section-muted);
}

.section-glass .pillar-card h4,
.section-glass .industry-card h4,
.section-glass .service-panel h3,
.section-glass .service-points strong {
  color: var(--section-heading);
}

.section-glass .service-panel-num,
.section-glass .ecosystem-label {
  color: var(--section-subtle);
}

.ecosystem-section .ecosystem-label {
  position: relative;
  z-index: 1;
  color: #fff;
  mix-blend-mode: difference;
  letter-spacing: .16em;
}

.section-glass--dark .service-panel-icon,
.section-glass--deep .service-panel-icon,
.section-glass--twilight .service-panel-icon {
  background: rgba(var(--accent-rgb), 0.16);
  color: var(--color-2);
}

.section-glass--dark .service-points,
.section-glass--deep .service-points,
.section-glass--twilight .service-points {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.section-glass--dark .service-points li,
.section-glass--deep .service-points li,
.section-glass--twilight .service-points li {
  border-left-color: rgba(var(--accent-rgb), 0.35);
}

.section-glass--twilight .ecosystem-marquees,
.section-glass--dark .ecosystem-marquees,
.section-glass--light .ecosystem-marquees,
.section-glass--soft .ecosystem-marquees {
  background: none;
  border: none;
  box-shadow: none;
}

.section-glass--light .eco-logo,
.section-glass--soft .eco-logo {
  mix-blend-mode: normal;
  filter: brightness(0) saturate(100%);
  opacity: 0.72;
}

.section-glass--light .eco-logo:hover,
.section-glass--soft .eco-logo:hover {
  opacity: 0.92;
}

.section-glass--deep .form-group label {
  color: var(--section-muted);
}

.section-glass--deep .form-group input,
.section-glass--deep .form-group select,
.section-glass--deep .form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--section-heading);
}

.section-glass--deep .form-group input::placeholder,
.section-glass--deep .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.section-glass--deep .form-group input:focus,
.section-glass--deep .form-group select:focus,
.section-glass--deep .form-group textarea:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-2);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18);
}

.section-glass--deep .form-group select {
  background-color: rgba(255, 255, 255, 0.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23eef8fa' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 40px;
}

.section-glass--deep .form-group select:focus {
  background-color: rgba(255, 255, 255, 0.1);
}

.section-glass--deep .form-check label {
  color: var(--section-muted);
}

.section-glass--deep .form-check label a {
  color: var(--color-2);
}

.section-glass--deep .intake-submit {
  background: var(--color-2);
  color: #fff;
}

.section-glass--deep .intake-submit:hover {
  background: var(--color-3);
}

.section-glass--deep .form-feedback--success {
  background: rgba(var(--accent-rgb), 0.12);
  border-color: rgba(var(--accent-rgb), 0.3);
  color: var(--color-2);
}

/* ==========================================================================
   TOPBAR / NAV
   ========================================================================== */

.topbar {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
  transition:
    opacity .45s var(--transition-ease-1),
    visibility .45s var(--transition-ease-1);
}

@media (min-width: 1025px) { .topbar { top: 22px; } }

.topbar-shell {
  pointer-events: none;
  border-radius: 18px;
  padding: 4px 6px;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    background .45s var(--transition-ease-1),
    border-color .45s var(--transition-ease-1),
    box-shadow .45s var(--transition-ease-1),
    backdrop-filter .45s var(--transition-ease-1),
    -webkit-backdrop-filter .45s var(--transition-ease-1),
    transform .45s var(--transition-ease-1),
    padding .45s var(--transition-ease-1);
}

.topbar--scrolled .topbar-shell,
.topbar--static.topbar--scrolled .topbar-shell {
  pointer-events: auto;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 36px rgba(17, 26, 74, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
}

.topbar--static .topbar-shell {
  pointer-events: auto;
}

.topbar--static:not(.topbar--scrolled) .topbar-shell {
  padding: 6px 8px;
}

.topbar--scrolled.is-tone-dark-shell .topbar-shell,
.topbar--static.is-tone-dark-shell.topbar--scrolled .topbar-shell {
  background: rgba(17, 26, 74, 0.52);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 40px rgba(0, 0, 0, 0.22);
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand logo — dual mark crossfade + wordmark */
.brand-logo-link {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  transition: opacity .3s var(--transition-ease-1), transform .3s var(--transition-ease-1);
}

.brand-logo-link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.brand-logo-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.brand-logo-marks {
  position: relative;
  display: block;
  width: clamp(34px, 3.6vw, 44px);
  aspect-ratio: 284 / 236;
}

.brand-logo-mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .5s var(--transition-ease-1);
}

.brand-logo-mark--light { opacity: 1; }
.brand-logo-mark--dark  { opacity: 0; }

.brand-logo-link.is-tone-dark .brand-logo-mark--light { opacity: 0; }
.brand-logo-link.is-tone-dark .brand-logo-mark--dark  { opacity: 1; }

.brand-logo-wordmark {
  font-family: var(--font-1, 'Inter', sans-serif);
  font-size: clamp(8px, 0.95vw, 10px);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  line-height: 1;
  color: rgba(255, 255, 255, 0.94);
  transition: color .5s var(--transition-ease-1);
}

.brand-logo-link.is-tone-dark .brand-logo-wordmark {
  color: rgba(17, 26, 74, 0.92);
}

.brand-logo-link--hero .brand-logo-marks {
  width: clamp(40px, 4.2vw, 52px);
}

.brand-logo-link--hero .brand-logo-stack {
  gap: 8px;
}

.brand-logo-link--hero .brand-logo-wordmark {
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 0.46em;
  text-indent: 0.46em;
}

.brand-logo-link--hero.is-tone-light .brand-logo-wordmark {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
}

.brand-logo-link--hero {
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.12));
}

.topbar.is-tone-dark-shell .nav-chip {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.topbar.is-tone-dark-shell .mobile-toggle {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.nav-chip {
  pointer-events: auto;
  display: none;
  align-items: center;
  gap: 1px;
  background: rgba(42, 52, 56, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 4px 24px rgba(42, 52, 56, 0.14);
}

@media (min-width: 1025px) { .nav-chip { display: inline-flex; } }

.nav-chip a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 8px;
  padding: 11px 17px;
  transition:
    background-color .3s var(--transition-ease-1),
    color .3s var(--transition-ease-1);
}

.nav-chip a:hover,
.nav-chip a.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-chip a.cta {
  background: var(--color-2);
  color: #fff;
}

.nav-chip a.cta:hover {
  background: var(--color-3);
}

.mobile-toggle {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-7);
  border-radius: 12px;
  background: var(--color-7);
  color: #fff;
  font-size: .75rem;
  text-transform: uppercase;
  cursor: pointer;
}

@media (min-width: 1025px) { .mobile-toggle { display: none; } }

/* Legacy topbar mobile menu — superseded by .site-header-mobile in site-header.css */

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 96px;
  --hero-bg: #e6e8ea;
  --hero-text: #2e3438;
  --hero-text-soft: #5c656c;
  --hero-text-muted: #8a9399;
  --hero-accent-start: #2e3438;
  --hero-accent-mid: #3f5961;
  --hero-accent-end: #7a949c;
  --hero-orb-x: clamp(118px, 21vw, 300px);
  --hero-orb-y: 50%;
  --hero-font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hero-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--hero-text);
  font-family: var(--hero-font-body);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background: var(--hero-bg);
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: strict;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% center;
  display: block;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at var(--hero-orb-x) var(--hero-orb-y), transparent 0%, transparent 18%, rgba(230, 232, 234, 0.08) 34%, transparent 52%),
    linear-gradient(180deg, rgba(230, 232, 234, 0.22) 0%, transparent 42%, rgba(230, 232, 234, 0.1) 100%);
  opacity: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: calc(100vh - 216px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: clamp(420px, 62vh, 680px);
}

@media (min-width: 769px) {
  .hero-grid {
    display: block;
  }
}

/* ── Hero carousel (text radiates from orb center → right) ── */
.hero-carousel-wrap {
  position: absolute;
  left: var(--hero-orb-x);
  top: var(--hero-orb-y);
  transform: translate(0, -50%);
  width: min(760px, calc(100vw - var(--hero-orb-x) - 28px));
  max-width: none;
  z-index: 2;
  --hero-ease-dissolve: cubic-bezier(0.45, 0.05, 0.2, 1);
}

.hero-carousel {
  position: relative;
  overflow: visible;
  width: 100%;
}

.hero-carousel-track {
  display: grid;
  grid-template-areas: "slide";
  width: 100%;
}

.hero-slide {
  grid-area: slide;
  position: relative;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-slide-content {
  position: relative;
  z-index: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  will-change: opacity, filter, clip-path;
  padding: 0;
  transform-origin: left center;
}

.hero-slide.is-exiting .hero-slide-content {
  animation: heroExitToOrb 0.72s steps(12, end) forwards;
}

.hero-slide.is-entering .hero-slide-content {
  animation: heroRevealFromOrb 0.9s steps(14, end) forwards;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-slide.is-exiting {
  visibility: visible;
  pointer-events: none;
  z-index: 2;
}

.hero-slide.is-entering {
  visibility: visible;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}

.hero-slide-kicker {
  margin: 0 0 14px;
  font-family: var(--hero-font-display);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hero-text-muted);
}

.hero-slide h1 {
  margin: 0 0 18px;
  font-family: var(--hero-font-display);
  font-size: clamp(2.35rem, 5.4vw, 4.35rem);
  letter-spacing: -0.042em;
  line-height: 1.06;
  font-weight: 600;
  overflow: visible;
}

.hero-slide-title {
  display: block;
  color: var(--hero-text);
}

.hero-accent {
  font-weight: 600;
  background: linear-gradient(
    90deg,
    var(--hero-accent-start) 0%,
    var(--hero-accent-mid) 42%,
    var(--hero-accent-end) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-slide-lead {
  margin: 0;
  max-width: 520px;
  font-family: var(--hero-font-body);
  font-size: clamp(0.98rem, 1.5vw, 1.14rem);
  line-height: 1.58;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--hero-text-soft);
}

.hero-carousel-ui {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 22px;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 32px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(69, 75, 81, 0.16);
  cursor: pointer;
  transition: background .25s var(--transition-ease-1), transform .25s var(--transition-ease-1);
}

.hero-dot.is-active {
  background: var(--hero-text);
  transform: scaleX(1.08);
}

.hero.in .hero-slide.is-active .hero-slide-content {
  animation: heroRevealFromOrb 0.95s steps(14, end) both;
}

@keyframes heroRevealFromOrb {
  0% {
    opacity: 0;
    filter: blur(12px);
    clip-path: inset(0 100% 0 50%);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes heroExitToOrb {
  0% {
    opacity: 1;
    filter: blur(0);
    clip-path: inset(0 0 0 0);
  }
  100% {
    opacity: 0;
    filter: blur(14px);
    clip-path: inset(0 100% 0 50%);
  }
}

.hero-actions {
  position: absolute;
  left: var(--hero-orb-x);
  bottom: 0;
  transform: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  width: min(640px, calc(100vw - var(--hero-orb-x) - 28px));
  margin-top: 0;
  z-index: 3;
}

.hero-brand {
  width: min(100%, 320px);
  margin-bottom: 8px;
}

.hero-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--hero-font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform .3s var(--transition-ease-1),
    background .3s var(--transition-ease-1),
    border-color .3s var(--transition-ease-1),
    color .3s var(--transition-ease-1);
}

.hero-cta--primary {
  background: var(--hero-text);
  color: #fff;
  border: 1px solid var(--hero-text);
}

.hero-cta--primary:hover {
  background: #363c41;
  border-color: #363c41;
  transform: translateY(-2px);
}

.hero-cta--secondary {
  background: rgba(255, 255, 255, 0.62);
  color: var(--hero-text);
  border: 1px solid rgba(69, 75, 81, 0.16);
  text-shadow: none;
}

.hero-cta--secondary:hover {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(69, 75, 81, 0.24);
  transform: translateY(-2px);
}

.scroll-btn {
  position: absolute;
  right: max(24px, env(safe-area-inset-right));
  bottom: 0;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid rgba(69, 75, 81, 0.14);
  background: rgba(255, 255, 255, 0.62);
  color: var(--hero-text);
  text-decoration: none;
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (max-width: 768px) {
  .hero {
    --hero-orb-x: 50%;
    --hero-orb-y: 44%;
    padding-bottom: 120px;
  }

  .hero-carousel-wrap {
    left: 50%;
    transform: translate(0, -50%);
    width: min(calc(100vw - 40px), 420px);
  }

  .hero-actions {
    left: 50%;
    width: min(calc(100vw - 40px), 420px);
  }
}

@media (min-width: 769px) { .scroll-btn { display: inline-flex; } }

/* ==========================================================================
   SHARED LAYOUT UTILITIES
   ========================================================================== */

.ascent-divider[data-reveal="scale"] {
  width: 100%;
  height: 12px;
  border-left: 1px solid var(--color-7);
  border-right: 1px solid var(--color-7);
  border-top: 1px solid var(--color-7);
  border-radius: 8px 8px 0 0;
  opacity: 0;
  margin: 0 auto;
  transform: scaleX(0.15);
  transform-origin: left center;
}

.ascent-divider[data-reveal="scale"].revealed {
  opacity: 0.12;
  transform: scaleX(1);
}

.section-split {
  display: flex;
  flex-direction: column;
  gap: 30px 20px;
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (min-width: 1025px) {
  .section-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr);
  }
}


.statement {
  font-size: clamp(1.45rem, 3.5vw, 3.8rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0;
  max-width: 1100px;
}

.statement .soft { color: var(--text-secondary); }
.statement strong { font-weight: 600; color: var(--color-7); }

.section-title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 16px 0 20px;
  font-weight: 600;
  color: var(--color-7);
}

.section-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 900px;
  margin: 0;
  font-weight: 400;
}

/* ── Impact metrics ── */
.metrics-section {
  padding: 24px 0 72px;
}

.metrics-title {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.metrics-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 769px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1025px) {
  .metrics-grid { grid-template-columns: repeat(4, 1fr); }
  .metrics-grid.metrics-grid--three { grid-template-columns: repeat(3, 1fr); }
}

.metric-card {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition:
    transform .3s var(--transition-ease-1),
    border-color .3s var(--transition-ease-1),
    background .3s var(--transition-ease-1),
    box-shadow .3s var(--transition-ease-1);
}

.metric-card:hover {
  transform: translate3d(0, -4px, 0);
}

.metric-value {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-2);
  margin-bottom: 10px;
}

.metric-label {
  display: block;
  font-size: .92rem;
  line-height: 1.45;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── About section ── */
.about-section {
  padding-bottom: 72px;
}

.about-intro,
.about-mission {
  max-width: 900px;
  margin-bottom: 48px;
}

.about-mission h3,
.pillars-heading {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.about-mission p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  font-weight: 400;
}

.pillars-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 769px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
}

.pillar-card {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition:
    transform .3s var(--transition-ease-1),
    border-color .3s var(--transition-ease-1),
    box-shadow .3s var(--transition-ease-1),
    background .3s var(--transition-ease-1);
}

.pillar-card:hover {
  transform: translate3d(0, -4px, 0);
}

.pillar-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--color-7);
}

.pillar-card p {
  font-size: .92rem;
  line-height: 1.55;
  margin: 0;
  color: var(--text-muted);
  font-weight: 400;
}

/* ── Industries ── */
.industries-section {
  padding: 24px 0 80px;
}

.industries-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.industries-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 769px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1281px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .industries-grid .industry-card:last-child {
    grid-column: span 1;
  }
}

.industry-card {
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition:
    transform .3s var(--transition-ease-1),
    border-color .3s var(--transition-ease-1),
    box-shadow .3s var(--transition-ease-1),
    background .3s var(--transition-ease-1);
}

a.industry-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.industry-card:hover {
  transform: translate3d(0, -4px, 0);
}

.industry-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--color-7);
}

/* ── Case studies section overrides on dark glass ── */
.case-studies-section.section-glass--dark {
  padding-bottom: 0;
}

.case-studies-section .section-title,
.case-studies-section .section-lead {
  color: inherit;
}

.section-glass--dark .case-study-panel--mist .case-study-link,
.section-glass--dark .case-study-panel--mist .case-study-title-bold,
.section-glass--dark .case-study-panel--mist .case-study-title-italic {
  color: #2a3438;
}

.section-glass--dark .case-study-panel--mist .case-study-tagline,
.section-glass--dark .case-study-panel--mist .case-study-index {
  color: rgba(42, 52, 56, 0.68);
}

/* ── Technology stack (static logo grid) ── */
.ecosystem-section {
  position: relative;
  padding: clamp(40px, 7vw, 72px) 0 clamp(48px, 8vw, 80px);
  isolation: isolate;
}

.ecosystem-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 22%,
    transparent 78%,
    rgba(0, 0, 0, 0.12) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.ecosystem-section .container {
  position: relative;
  z-index: 1;
}

.ecosystem-label {
  margin: 0 0 clamp(20px, 3.5vw, 28px);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--section-subtle);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: clamp(18px, 3vw, 28px) clamp(10px, 2vw, 18px);
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .ecosystem-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

.eco-stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-width: 0;
}

.eco-stack-logo {
  display: block;
  height: 22px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
  opacity: 0.38;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.eco-stack-item:hover .eco-stack-logo {
  opacity: 0.52;
}

.eco-stack-name {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: center;
  color: rgba(255, 255, 255, 0.34);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .eco-stack-logo {
    height: 24px;
    max-width: 56px;
  }

  .eco-stack-name {
    font-size: 0.6rem;
  }
}

/* Legacy marquee styles (kept for reference pages) */
.ecosystem-marquees {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.5vw, 22px);
  width: 100%;
  padding: 8px 0 4px;
  overflow: hidden;
}

.eco-logo {
  display: block;
  height: clamp(34px, 5vw, 48px);
  width: auto;
  max-width: clamp(110px, 18vw, 200px);
  object-fit: contain;
  opacity: 0.94;
  mix-blend-mode: difference;
  transition: opacity .25s var(--transition-ease-1);
}

.eco-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
}

.eco-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: eco-marquee-ltr 42s linear infinite;
}

.eco-marquee--rtl .eco-marquee-track {
  animation-name: eco-marquee-rtl;
  animation-duration: 38s;
}

.eco-marquee-set {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.eco-marquee-set li {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-logo--wide {
  max-width: clamp(140px, 22vw, 240px);
}

.eco-logo:hover {
  opacity: 1;
}

@keyframes eco-marquee-ltr {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes eco-marquee-rtl {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

/* ── Services orbit (scroll-driven) ── */
.services-section {
  padding-bottom: 80px;
}

.services-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.services-orbit-scene {
  --orbit-r: clamp(108px, 18vw, 148px);
  --orbit-rotation: 0deg;
  --orbit-index: 0;
  position: relative;
  margin-top: 8px;
}

.services-orbit-sticky {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.services-orbit-stage {
  display: grid;
  grid-template-columns: minmax(220px, 380px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.services-orbit-ring-wrap {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 0 auto 16px;
  justify-self: center;
  z-index: 2;
  isolation: isolate;
}

.services-orbit-track {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.services-orbit-track-glow {
  stroke: rgba(var(--accent-rgb), 0.12);
  stroke-width: 24;
}

.services-orbit-track-line {
  stroke: rgba(var(--accent-rgb), 0.34);
  stroke-width: 1.5;
  stroke-dasharray: 6 12;
}

.services-orbit-track-inner {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}

.services-orbit-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(68px, 12vw, 88px);
  height: clamp(68px, 12vw, 88px);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: rgba(14, 30, 36, 0.94);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  box-shadow:
    0 0 0 5px rgba(var(--accent-rgb), 0.08),
    0 12px 32px rgba(0, 0, 0, 0.32);
  z-index: 2;
  pointer-events: none;
}

.services-orbit-hub-label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--section-subtle);
}

.services-orbit-hub-num {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--section-accent);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.services-orbit-scene.is-switching .services-orbit-hub-num {
  opacity: 0.45;
  transform: scale(0.88);
}

.services-orbit-ring {
  position: absolute;
  inset: 0;
  transform: rotate(var(--orbit-rotation));
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(84px, 14vw, 104px);
  height: clamp(84px, 14vw, 104px);
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 1;
  translate: -50% -50%;
  transform: rotate(var(--node-angle)) translateY(calc(-1 * var(--orbit-r)));
}

.services-orbit-node.is-active {
  z-index: 3;
}

.services-orbit-node[data-orbit-index="0"] { --node-angle: -90deg; }
.services-orbit-node[data-orbit-index="1"] { --node-angle: -18deg; }
.services-orbit-node[data-orbit-index="2"] { --node-angle: 54deg; }
.services-orbit-node[data-orbit-index="3"] { --node-angle: 126deg; }
.services-orbit-node[data-orbit-index="4"] { --node-angle: 198deg; }

.services-orbit-node-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(18, 36, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
  transition:
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    opacity 0.3s ease;
  transform: rotate(calc(-1 * var(--node-angle) - var(--orbit-rotation)));
}

.services-orbit-node:not(.is-active) .services-orbit-node-label {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.services-orbit-node:not(.is-active) .services-orbit-node-inner {
  opacity: 0.72;
  transform: rotate(calc(-1 * var(--node-angle) - var(--orbit-rotation))) scale(0.92);
}

.services-orbit-node:hover .services-orbit-node-inner,
.services-orbit-node:focus-visible .services-orbit-node-inner {
  border-color: rgba(var(--accent-rgb), 0.42);
  opacity: 1;
}

.services-orbit-node.is-active .services-orbit-node-inner {
  border-color: rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.2);
  box-shadow:
    0 0 0 4px rgba(var(--accent-rgb), 0.14),
    0 14px 36px rgba(0, 0, 0, 0.32);
  opacity: 1;
  transform: rotate(calc(-1 * var(--node-angle) - var(--orbit-rotation))) scale(1.05);
}

.services-orbit-node.is-active .services-orbit-node-label {
  opacity: 1;
  max-height: 2.5em;
}

.services-orbit-node-num {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--section-accent);
}

.services-orbit-node-label {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  color: var(--section-heading);
  max-width: 76px;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.services-orbit-core {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glow-sm);
  z-index: 1;
  min-width: 0;
}

.services-orbit-detail {
  display: none;
  padding: clamp(24px, 3vw, 36px);
}

.services-orbit-detail.is-active {
  display: block;
  animation: services-orbit-detail-in 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes services-orbit-detail-in {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.services-orbit-detail-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.services-orbit-detail-head .service-panel-icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.services-orbit-detail-head .service-panel-num {
  position: static;
  display: block;
  margin-bottom: 6px;
}

.services-orbit-detail-head h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--section-heading);
}

.services-orbit-detail-head .service-panel-lead {
  margin: 0;
}

.services-orbit-breakdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.services-orbit-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
}

.services-orbit-chip-val {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--section-heading);
  line-height: 1.3;
}

.services-orbit-chip-label {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--section-subtle);
}

.services-orbit-ui {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.services-orbit-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.services-orbit-arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--section-heading);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.services-orbit-arrow:hover,
.services-orbit-arrow:focus-visible {
  background: rgba(var(--accent-rgb), 0.2);
  border-color: rgba(var(--accent-rgb), 0.4);
}

.services-orbit-arrow:active {
  transform: scale(0.94);
}

.services-orbit-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.services-orbit-dot {
  width: 28px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}

.services-orbit-dot.is-active {
  width: 40px;
  background: var(--color-2);
}

@media (max-width: 900px) {
  .services-orbit-stage {
    grid-template-columns: 1fr;
  }

  .services-orbit-ring-wrap {
    max-width: 300px;
    margin-bottom: 28px;
  }

  .services-orbit-scene {
    --orbit-r: clamp(92px, 26vw, 118px);
  }

  .services-orbit-breakdown {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .services-orbit-ring-wrap {
    max-width: 260px;
  }
}

/* Legacy service panel tokens (orbit detail reuse) */
.services-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 769px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

.service-panel {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  transition:
    transform .3s var(--transition-ease-1),
    box-shadow .3s var(--transition-ease-1),
    border-color .3s var(--transition-ease-1),
    background .3s var(--transition-ease-1);
}

.service-panel:hover {
  transform: translate3d(0, -4px, 0);
}

.service-panel-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.15);
  color: #4a6352;
  margin-bottom: 20px;
}

.service-panel-icon svg {
  width: 28px;
  height: 28px;
}

.service-panel-num {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--text-subtle);
}

.service-panel h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--color-7);
  padding-right: 32px;
}

.service-panel-lead {
  font-size: .95rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-weight: 500;
}

.service-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(var(--color-7-rgb), 0.08);
  padding-top: 20px;
}

.service-points li {
  font-size: .88rem;
  line-height: 1.55;
  color: var(--text-muted);
  padding-left: 14px;
  border-left: 2px solid rgba(var(--accent-rgb), 0.45);
}

.service-points strong {
  color: var(--color-7);
  font-weight: 600;
}

/* ==========================================================================
   SAAS PARTNERS — full-bleed marquee
   ========================================================================== */

.partners-section {
  padding: 0 0 72px;
  overflow: hidden;
}

.partners-label-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 56px;
  padding-bottom: 36px;
}

.partners-eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(var(--color-7-rgb), 0.32);
  white-space: nowrap;
  margin: 0;
}

.partners-eyebrow-line {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

/* ── scrolling strip ── */
.partners-marquee-outer {
  position: relative;
  /* fade edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.partners-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: partners-scroll 28s linear infinite;
  will-change: transform;
}

.partners-marquee-outer:hover .partners-marquee-track {
  animation-play-state: paused;
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── individual wordmark pill ── */
.pmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  color: rgba(var(--color-7-rgb), 0.48);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  margin: 0 8px;
  transition:
    color .3s var(--transition-ease-1),
    background .3s var(--transition-ease-1),
    border-color .3s var(--transition-ease-1),
    box-shadow .3s var(--transition-ease-1);
  cursor: default;
}

.pmark:hover {
  color: rgba(var(--color-7-rgb), 1);
  background: var(--surface-raised);
  border-color: var(--border-mid);
  box-shadow: var(--glow-sm);
}

.pmark-icon {
  width: 28px;
  height: 18px;
  flex-shrink: 0;
  opacity: .7;
}

/* separator dot */
.pmark--dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border-mid);
  padding: 0;
  border: none;
  margin: 0 4px;
  flex-shrink: 0;
}

/* ==========================================================================
   NARRATIVE BLOCK
   ========================================================================== */

.narrative-block {
  display: grid;
  gap: 40px;
  padding: 40px 0 80px 0;
}

@media (min-width: 1025px) {
  .narrative-block {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.narrative-text h3 {
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
  font-weight: 500;
}

.narrative-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(var(--color-7-rgb), 0.8);
  margin-bottom: 24px;
}

.narrative-text p:last-child { margin-bottom: 0; }

/* ==========================================================================
   OPERATIONAL MATRIX
   ========================================================================== */

.matrix-section { padding: 0 0 80px; }

.matrix-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 769px) {
  .matrix-grid { grid-template-columns: repeat(2, 1fr); }
}

.matrix-card {
  background: #fff;
  border: 1px solid rgba(var(--color-7-rgb), 0.08);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 4px 40px rgba(var(--color-7-rgb), 0.04);
  transition:
    box-shadow .45s var(--transition-ease-1),
    transform .45s var(--transition-ease-1),
    border-color .45s var(--transition-ease-1);
}

.matrix-card:hover {
  box-shadow: 0 20px 60px rgba(var(--color-7-rgb), 0.09);
  transform: translateY(-4px);
  border-color: rgba(var(--color-7-rgb), 0.14);
}

.matrix-card-flag {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: rgba(var(--color-7-rgb), 0.4);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.matrix-card-flag::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--color-2);
}

.matrix-card h4 {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 16px;
}

.matrix-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(var(--color-7-rgb), 0.75);
  margin: 0 0 16px;
}

.matrix-card p:last-child { margin-bottom: 0; }

.matrix-card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.matrix-card ul li {
  font-size: .9375rem;
  color: rgba(var(--color-7-rgb), 0.7);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.matrix-card ul li::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-2);
  margin-top: 5px;
}

/* ==========================================================================
   FOUNDERS
   ========================================================================== */

.founders-grid {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}

@media (min-width: 769px) {
  .founders-grid { grid-template-columns: repeat(2, 1fr); }
}

.founder-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: var(--glow-sm);
  transition:
    border-color .45s var(--transition-ease-1),
    box-shadow .45s var(--transition-ease-1),
    transform .45s var(--transition-ease-1),
    background .45s var(--transition-ease-1);
}

.founder-card:hover {
  border-color: var(--border-mid);
  background: var(--surface-raised);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.founder-card.is-active {
  border-color: var(--color-7);
  box-shadow: 0 28px 60px rgba(var(--color-7-rgb), 0.13);
}

.founder-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(145deg, #dce8eb, #c8d9de);
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .8s var(--transition-ease-1), filter .8s var(--transition-ease-1);
  filter: grayscale(0.35) contrast(1.05);
}

.founder-card:hover .founder-portrait img,
.founder-card.is-active .founder-portrait img {
  transform: scale(1.06);
  filter: grayscale(0);
}

.founder-portrait-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px;
  background: linear-gradient(180deg, transparent 40%, rgba(18, 40, 46, 0.72) 100%);
  opacity: 0;
  transition: opacity .45s var(--transition-ease-1);
}

.founder-card:hover .founder-portrait-overlay,
.founder-card.is-active .founder-portrait-overlay {
  opacity: 1;
}

.founder-portrait-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
}

.founder-portrait-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background .3s var(--transition-ease-1), transform .3s var(--transition-ease-1);
}

.founder-card.is-active .founder-portrait-btn {
  background: var(--color-2);
  color: var(--color-7);
  transform: rotate(90deg);
}

.founder-body {
  padding: 28px 32px 32px;
}

.founder-card h3 {
  margin: 0 0 4px 0;
  font-size: 2rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.founder-card .title {
  font-size: .875rem;
  text-transform: uppercase;
  color: rgba(var(--color-7-rgb), 0.5);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.founder-card .bio-short {
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(var(--color-7-rgb), 0.85);
  margin: 0;
}

.founder-card .bio-extended {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height .7s var(--transition-ease-1),
    opacity .55s var(--transition-ease-1),
    margin .55s var(--transition-ease-1);
  margin-top: 0;
}

.founder-card.is-active .bio-extended {
  max-height: 600px;
  opacity: 1;
  margin-top: 16px;
}

.founder-card .bio-extended p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(var(--color-7-rgb), 0.72);
  margin: 0 0 12px;
}

.founder-card .bio-extended p:last-child { margin-bottom: 0; }

.founder-focus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(var(--color-7-rgb), 0.45);
}

.founder-focus::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-2);
  transition: transform .3s var(--transition-ease-1);
}

.founder-card.is-active .founder-focus::before {
  transform: scale(1.35);
}

/* ==========================================================================
   MARQUEE / TICKER
   ========================================================================== */

/* ── Capability Icon Carousel ── */
.cap-carousel-wrap {
  padding: 12px 0 52px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.cap-carousel {
  display: flex;
  gap: 20px;
  padding: 8px 48px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
}
.cap-carousel::-webkit-scrollbar { display: none; }
.cap-carousel.is-dragging { cursor: grabbing; }

.cap-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform .3s var(--transition-ease-1),
    background .3s var(--transition-ease-1),
    border-color .3s var(--transition-ease-1),
    box-shadow .3s var(--transition-ease-1);
}

.cap-card:hover {
  transform: translateY(-5px);
  background: var(--surface-raised);
  border-color: var(--border-mid);
  box-shadow: var(--glow-sm);
}

.cap-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.10);
  color: var(--color-2);
  flex-shrink: 0;
}

.cap-icon svg {
  width: 26px;
  height: 26px;
}

.cap-card h4 {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-7);
  margin: 0;
}

.cap-card p {
  font-size: .82rem;
  line-height: 1.55;
  color: rgba(var(--color-7-rgb), 0.55);
  margin: 0;
}

/* legacy .chip kept for any stray references */
.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(var(--color-7-rgb), 0.14);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 1.1rem;
  color: var(--color-7);
  background: #fff;
}

.chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-2);
}

/* ==========================================================================
   INTEGRATION CAROUSEL
   ========================================================================== */

.carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 60px;
  flex-wrap: wrap;
}

.carousel-head h3 {
  margin: 0;
  font-size: max(1.75rem, min(calc(1.75rem + .03*(100vw - 27.5rem)), 3rem));
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 500;
}

.carousel-hint {
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(var(--color-7-rgb), .5);
}

.carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 28px 0 80px;
  scrollbar-width: none;
  cursor: grab;
}

.carousel::-webkit-scrollbar { display: none; }
.carousel.dragging { cursor: grabbing; scroll-snap-type: none; }

.carousel-card {
  flex: 0 0 86%;
  scroll-snap-align: start;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 520px;
  background: var(--color-7);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 40px rgba(var(--color-7-rgb), 0.08);
  transition: box-shadow .45s var(--transition-ease-1), transform .45s var(--transition-ease-1);
}

.carousel-card:hover {
  box-shadow: 0 24px 60px rgba(var(--color-7-rgb), 0.16);
  transform: translateY(-3px);
}

@media (min-width: 769px) { .carousel-card { flex-basis: 48%; } }
@media (min-width: 1281px) { .carousel-card { flex-basis: 31.5%; } }

.carousel-card .card-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  transition: transform .8s var(--transition-ease-1), opacity .5s var(--transition-ease-1);
  filter: grayscale(1);
}

.card-art.art-strategy    { background-image: url("/assets/card-strategy.jpg"); }
.card-art.art-engineering { background-image: url("/assets/card-engineering.jpg"); }
.card-art.art-content     { background-image: url("/assets/card-content.jpg"); }
.card-art.art-optimize    { background-image: url("/assets/card-optimize.jpg"); }

.carousel-card:hover .card-art {
  transform: scale(1.06);
  opacity: 0.3;
}

.carousel-card .card-body { position: relative; z-index: 1; }

.carousel-card .card-kicker {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-2);
  margin: 0 0 16px;
}

.carousel-card h4 {
  margin: 0 0 14px;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 500;
}

.carousel-card p {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

.carousel-card p:last-child { margin-bottom: 0; }

.card-mechanic {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: .875rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

/* ==========================================================================
   CONNECT / INTAKE FORM SECTION
   ========================================================================== */

.connect-section {
  padding: 80px 0;
}

.connect-grid {
  display: grid;
  gap: 60px;
}

@media (min-width: 1025px) {
  .connect-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 80px;
    align-items: start;
  }
}

.connect-headline h2 {
  font-size: max(2rem, min(calc(2rem + .04*(100vw - 27.5rem)), 3.5rem));
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 500;
  margin: 0 0 24px;
}

.connect-headline p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  font-weight: 400;
}

.connect-eyebrow {
  margin: 0 0 14px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--section-subtle);
}

.connect-event-title {
  margin: 0 0 18px !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: var(--section-heading) !important;
}

.connect-agenda {
  margin: 0 0 22px;
  padding-left: 1.1rem;
  color: var(--section-body);
  font-size: .95rem;
  line-height: 1.55;
}

.connect-agenda li {
  margin-bottom: 6px;
}

.connect-agenda li:last-child {
  margin-bottom: 0;
}

.connect-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 20px;
  font-size: .88rem;
  color: var(--section-muted);
}

.connect-note {
  font-size: .98rem !important;
  color: var(--section-muted) !important;
}

.connect-booking {
  min-width: 0;
}

.cal-booking {
  width: 100%;
  min-height: 520px;
}

.cal-booking-frame {
  width: 100%;
  min-height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(42, 52, 56, 0.04),
    0 16px 40px rgba(42, 52, 56, 0.1);
}

@media (min-width: 1025px) {
  .connect-grid--booking {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.65fr);
  }

  .cal-booking,
  .cal-booking-frame {
    min-height: 600px;
  }
}

.inner-contact-wrap--cal {
  max-width: 100%;
  padding: 0;
}

.inner-contact-wrap--cal .cal-booking,
.inner-contact-wrap--cal .cal-booking-frame {
  min-height: 640px;
}

.intake-form {
  display: grid;
  gap: 20px;
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-row {
  display: grid;
  gap: 20px;
}

@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--color-6);
  border: 1px solid rgba(var(--color-7-rgb), 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-7);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition:
    border-color .3s var(--transition-ease-1),
    box-shadow .3s var(--transition-ease-1),
    background .3s var(--transition-ease-1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: #fff;
  border-color: var(--color-2);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.22);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(var(--color-7-rgb), 0.32);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23222f30' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: var(--color-6);
  padding-right: 40px;
  cursor: pointer;
}

.form-group select:focus {
  background-color: #fff;
}

.form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--color-7);
  cursor: pointer;
}

.form-check label {
  font-size: .9375rem;
  line-height: 1.5;
  color: rgba(var(--color-7-rgb), 0.7);
}

.form-check label a {
  color: var(--color-7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.intake-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-7);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  font-family: inherit;
  padding: 16px 28px;
  cursor: pointer;
  transition:
    background .3s var(--transition-ease-1),
    transform .2s var(--transition-ease-1),
    box-shadow .3s var(--transition-ease-1);
}

.intake-submit:hover {
  background: #172a2c;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(var(--color-7-rgb), 0.2);
}

.intake-submit:active { transform: translateY(0); }

.intake-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-feedback {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: .9375rem;
  line-height: 1.5;
}

.form-feedback--success {
  background: rgba(var(--accent-rgb), 0.15);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  color: #2d4a38;
}

.form-feedback--error {
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #991b1b;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: #2a3438;
  color: #fff;
  padding-top: 60px;
  padding-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.footer-inner {
  display: grid;
  gap: 0;
  padding-top: 40px;
}

@media (min-width: 1025px) {
  .footer-inner {
    min-height: calc(80vh - 120px);
    padding-top: 60px;
  }
}

.footer-main {
  padding-bottom: 70px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

@media (min-width: 1281px) {
  .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 780px);
    align-items: start;
    padding-bottom: 100px;
  }
}

.footer-heading,
.footer-tagline {
  margin: 0;
  font-size: max(1.75rem, min(calc(1.75rem + .014*(100vw - 27.5rem)), 2.825rem));
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.footer-tagline {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.footer-btn {
  margin-top: 32px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #000;
  border-radius: 12px;
  font-size: .875rem;
  text-transform: uppercase;
  padding: 14px 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background .25s var(--transition-ease-1), transform .2s var(--transition-ease-1);
}

.footer-btn:hover {
  background: var(--color-3);
  transform: translateY(-1px);
}

.footer-info {
  border-left: 1px solid rgba(255, 255, 255, .2);
  padding-left: 20px;
  display: grid;
  gap: 50px;
}

@media (min-width: 1025px) {
  .footer-info {
    border-left: 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-left: 0;
  }
}

.footer-col { display: grid; gap: 12px; }

@media (min-width: 1025px) {
  .footer-col {
    border-left: 1px solid rgba(255, 255, 255, .2);
    padding-left: 20px;
  }
}

.footer-col h4 {
  margin: 0;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-2);
}

.footer-col a, .footer-col p {
  margin: 0;
  color: #fff;
  text-decoration: none;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.footer-col a:hover {
  color: var(--color-2);
  transition: color .2s var(--transition-ease-1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  text-transform: uppercase;
  font-size: .8125rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.footer-bottom a { color: #fff; text-decoration: none; }
.footer-bottom a:hover { color: var(--color-2); }

.footer-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .8;
  background:
    radial-gradient(circle at 20% 20%, rgba(var(--accent-rgb), .22), transparent 42%),
    radial-gradient(circle at 74% 75%, rgba(var(--accent-light-rgb), .12), transparent 45%),
    linear-gradient(135deg, #3a4448 0%, #2a3438 55%, #343e42 100%);
}

.footer-layer { position: relative; z-index: 1; }
.mono { font-size: .875rem; text-transform: uppercase; letter-spacing: 0.05em; }
.copyright { text-align: right; }

@media (max-width: 1024px) {
  .footer-col a, .footer-col p { font-size: 1rem; }
  .footer-bottom { flex-direction: column; }
  .copyright { text-align: left; }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATION SYSTEM (Mercury-inspired)
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition:
    opacity var(--reveal-duration) var(--ease-reveal-fade),
    transform var(--reveal-duration) var(--ease-reveal-up);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal]:not(.revealed) {
  will-change: opacity, transform;
}

[data-reveal="left"]  { transform: translateX(calc(var(--reveal-distance) * -1)); }
[data-reveal="right"] { transform: translateX(var(--reveal-distance)); }
[data-reveal="scale"] { transform: scale(0.94); }

[data-reveal="blur"] {
  transform: translateY(28px);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Stagger children inherit sequential delays via JS */
[data-reveal-stagger] [data-reveal] {
  transition-delay: var(--reveal-delay, 0s);
}

/* Hero content fades as user scrolls past (Mercury-style) */
.hero-grid {
  transform: translate3d(0, 0, 0);
}

/* Ecosystem grid fade in on reveal */
.ecosystem-grid[data-reveal] {
  transform: translateY(12px);
}

.ecosystem-grid[data-reveal].revealed {
  transform: none;
}

/* Metric value subtle scale on reveal */
.metric-card.revealed .metric-value {
  animation: metric-pop 0.8s var(--ease-reveal-up) both;
  animation-delay: var(--reveal-delay, 0s);
}

@keyframes metric-pop {
  0%   { transform: scale(0.92); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-exiting .hero-slide-content,
  .hero-slide.is-entering .hero-slide-content,
  .hero.in .hero-slide.is-active .hero-slide-content {
    animation: none !important;
  }

  .hero-slide {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
  }

  .hero-slide:not(.is-active) {
    display: none;
  }

  [data-reveal], .hero-slide-kicker, .hero-slide-title, .hero-slide-lead, .hero-grid {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
  .ascent-divider.revealed { opacity: 0.12; transform: none; }
  .scroll-btn { animation: none !important; }
  .eco-marquee-track {
    animation: none !important;
    transform: none !important;
  }

  .ecosystem-section .ecosystem-label,
  .ecosystem-section .eco-logo {
    mix-blend-mode: normal;
  }

  .ecosystem-section .ecosystem-label {
    color: var(--section-subtle);
  }

  .brand-logo-link:hover {
    transform: none;
  }

  .services-orbit-ring {
    transition: none !important;
  }

  .services-orbit-detail.is-active {
    animation: none !important;
  }

  [data-parallax] { transform: none !important; }
}

.links-row { display: grid; gap: 8px; }
@media (min-width: 1025px) { .links-row { text-align: right; } }

/* ==========================================================================
   INNER / LEGAL PAGES
   ========================================================================== */

.legal-page {
  min-height: 100vh;
  padding-bottom: 80px;
}

.legal-header {
  padding: 140px 0 60px;
  border-bottom: 1px solid rgba(var(--color-7-rgb), 0.07);
  margin-bottom: 0;
}

.legal-eyebrow {
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: rgba(var(--color-7-rgb), 0.4);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--color-2);
}

.legal-title {
  font-size: max(2.2rem, min(calc(2.2rem + .04*(100vw - 27.5rem)), 4rem));
  letter-spacing: -0.03em;
  line-height: 1.0;
  font-weight: 500;
  margin: 0 0 20px;
}

.legal-meta {
  font-size: .9375rem;
  color: rgba(var(--color-7-rgb), 0.5);
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.legal-meta span { display: inline-flex; align-items: center; gap: 8px; }

.legal-layout {
  display: grid;
  gap: 60px;
  padding: 60px 0;
}

@media (min-width: 1100px) {
  .legal-layout {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 80px;
    align-items: start;
  }
}

.legal-toc {
  display: none;
}

@media (min-width: 1100px) {
  .legal-toc {
    display: block;
    position: sticky;
    top: 110px;
  }
}

.legal-toc-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(var(--color-7-rgb), 0.4);
  margin-bottom: 14px;
}

.legal-toc a {
  display: block;
  font-size: .875rem;
  color: rgba(var(--color-7-rgb), 0.6);
  text-decoration: none;
  padding: 5px 0 5px 12px;
  border-left: 2px solid rgba(var(--color-7-rgb), 0.1);
  line-height: 1.4;
  transition: color .2s var(--transition-ease-1), border-color .2s var(--transition-ease-1);
}

.legal-toc a:hover {
  color: var(--color-7);
  border-left-color: var(--color-2);
}

.legal-body { max-width: 840px; }

.legal-section {
  margin-bottom: 0;
  padding-top: 56px;
  border-top: 1px solid rgba(var(--color-7-rgb), 0.06);
  margin-top: 56px;
}

.legal-section:first-child {
  padding-top: 0;
  border-top: 0;
  margin-top: 0;
}

.legal-section h2 {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 24px;
  scroll-margin-top: 110px;
}

.legal-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 28px 0 10px;
  letter-spacing: -0.01em;
  color: rgba(var(--color-7-rgb), 0.9);
}

.legal-section p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(var(--color-7-rgb), 0.78);
  margin: 0 0 16px;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul,
.legal-section ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-section li {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(var(--color-7-rgb), 0.78);
  margin-bottom: 8px;
}

.legal-section a {
  color: var(--color-7);
  text-underline-offset: 2px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .9375rem;
  overflow-x: auto;
  display: block;
}

@media (min-width: 640px) {
  .legal-table { display: table; }
}

.legal-table th {
  text-align: left;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: rgba(var(--color-7-rgb), 0.5);
  border-bottom: 1px solid rgba(var(--color-7-rgb), 0.1);
  padding: 10px 20px 10px 0;
  white-space: nowrap;
}

.legal-table td {
  padding: 13px 20px 13px 0;
  border-bottom: 1px solid rgba(var(--color-7-rgb), 0.06);
  vertical-align: top;
  line-height: 1.5;
  color: rgba(var(--color-7-rgb), 0.78);
}

.legal-table tr:last-child td { border-bottom: 0; }

.legal-highlight {
  background: rgba(var(--accent-rgb), 0.10);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 24px 0;
}

.legal-highlight p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(var(--color-7-rgb), 0.82);
}

.legal-highlight strong { color: var(--color-7); }
