/* ==========================================================================
   Ignite Idea — Black 4K Hero + Pure White Frameless Lexend Editorial System
   ========================================================================== */

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

:root {
  color-scheme: light;
  /* Lexend System + Official Brand Logo (Nunito Black) + Hero Display (Google Sans Bold 700) */
  --font-display: 'Lexend', 'Prompt', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-sans: 'Lexend', 'Prompt', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-logo: 'Nunito', 'Prompt', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-hero: 'Google Sans', 'Lexend', 'Prompt', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --surface-black: #000000;
  --surface-white: #ffffff;
  --ink-black: #1d1d1f;
  --ink-muted: #6e6e73;
  --keyline: rgba(0, 0, 0, 0.11);
  --keyline-subtle: rgba(0, 0, 0, 0.06);
  --accent-blue: #0071e3;

  --container-max: 74rem;
  --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
  --header-h: 5.25rem;
  --ease-apple: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.75rem;
  -webkit-text-size-adjust: 100%;
  background-color: var(--surface-white);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-block-size: 100dvh;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  background-color: var(--surface-white);
  color: var(--ink-black);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

.container {
  inline-size: min(100% - 2 * var(--gutter), var(--container-max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-block-start: -100%;
  inset-inline-start: 1rem;
  z-index: 9999;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--ink-black);
  color: var(--surface-white);
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  inset-block-start: 1rem;
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  inline-size: 1px !important;
  block-size: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

section[tabindex="-1"]:focus {
  outline: none;
}

/* ==========================================================================
   ADAPTIVE LIQUID GLASS NAVBAR (Apple iOS 26 / macOS Tahoe Crystalline Glass)
   Dark Refractive Crystal Over Hero -> Luminous Frosted Crystal Over White Chapters
   ========================================================================== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 400;
  padding-block-start: 0.9rem;
  pointer-events: none;
  transition: padding 0.45s var(--ease-apple);
}

.header-inner {
  position: relative;
  pointer-events: auto;
  inline-size: min(100% - 2rem, 74rem);
  block-size: 3.75rem;
  margin-inline: auto;
  padding-inline: 1.25rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-radius: 999px;
  /* Dark Liquid Glass surface over deep-navy Hero */
  background:
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.08) 38%,
      rgba(160, 225, 255, 0.05) 72%,
      rgba(255, 255, 255, 0.16) 100%
    );
  backdrop-filter: blur(22px) saturate(210%) brightness(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(210%) brightness(1.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.52),
    inset 0 -1px 2px rgba(120, 210, 255, 0.16),
    0 12px 36px rgba(2, 8, 24, 0.34);
  transition:
    inline-size 0.45s var(--ease-apple),
    block-size 0.45s var(--ease-apple),
    padding-inline 0.45s var(--ease-apple),
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    color 0.35s ease;
}

.site-header--overlay.is-scrolled {
  padding-block-start: 0.85rem;
}

.site-header--overlay.is-scrolled .header-inner {
  inline-size: min(100% - 2rem, 71rem);
  block-size: 3.55rem;
  padding-inline: 1.15rem 0.65rem;
  /* Luminous Crystalline Liquid Glass over pure white chapters */
  background:
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(248, 251, 255, 0.58) 46%,
      rgba(240, 246, 255, 0.5) 76%,
      rgba(255, 255, 255, 0.72) 100%
    );
  backdrop-filter: blur(26px) saturate(220%) contrast(1.04) brightness(1.03);
  -webkit-backdrop-filter: blur(26px) saturate(220%) contrast(1.04) brightness(1.03);
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.96),
    inset 0 -1px 2px rgba(0, 113, 227, 0.08),
    0 0 0 1px rgba(15, 23, 42, 0.06),
    0 14px 38px rgba(15, 23, 42, 0.1),
    0 2px 8px rgba(15, 23, 42, 0.05);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #ffffff;
  font-family: var(--font-logo);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.015em;
  text-transform: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.brand-lockup__wordmark {
  font-family: var(--font-logo);
  font-weight: 900;
  letter-spacing: -0.015em;
  text-transform: none;
}

.brand-lockup__mark {
  inline-size: 1.75rem;
  block-size: auto;
  display: block;
}

.site-header--overlay.is-scrolled .brand-lockup,
.brand-lockup--footer {
  color: var(--ink-black);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.8vw, 1.5rem);
}

/* Native CSS Scrollspy Container */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  scroll-target-group: auto;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-links a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-links a:is(:target-current, .target-current) {
  color: #ffffff;
  font-weight: 500;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.14) 100%);
  box-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, 0.52),
    0 2px 10px rgba(0, 0, 0, 0.16);
}

.site-header--overlay.is-scrolled .nav-links a {
  color: rgba(29, 29, 31, 0.74);
}

.site-header--overlay.is-scrolled .nav-links a:hover {
  color: var(--ink-black);
  background-color: rgba(15, 23, 42, 0.05);
}

.site-header--overlay.is-scrolled .nav-links a:is(:target-current, .target-current) {
  color: var(--ink-black);
  font-weight: 500;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(235, 241, 248, 0.85) 100%);
  box-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, 1),
    0 1px 4px rgba(15, 23, 42, 0.1),
    0 0 0 0.5px rgba(15, 23, 42, 0.08);
}

/* Liquid Glass Solutions Dropdown (Option 1 Navbar) */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.38rem 0.78rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.84);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.nav-dropdown__trigger:hover,
.nav-dropdown.is-open .nav-dropdown__trigger {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

.nav-dropdown__trigger.is-active {
  color: #ffffff;
  font-weight: 500;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.14) 100%);
  box-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, 0.52),
    0 2px 10px rgba(0, 0, 0, 0.16);
}

.site-header--overlay.is-scrolled .nav-dropdown__trigger {
  color: rgba(29, 29, 31, 0.74);
}

.site-header--overlay.is-scrolled .nav-dropdown__trigger:hover,
.site-header--overlay.is-scrolled .nav-dropdown.is-open .nav-dropdown__trigger {
  color: var(--ink-black);
  background-color: rgba(15, 23, 42, 0.05);
}

.site-header--overlay.is-scrolled .nav-dropdown__trigger.is-active {
  color: var(--ink-black);
  font-weight: 500;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(235, 241, 248, 0.85) 100%);
  box-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, 1),
    0 1px 4px rgba(15, 23, 42, 0.1),
    0 0 0 0.5px rgba(15, 23, 42, 0.08);
}

.nav-dropdown__caret {
  font-size: 0.7rem;
  opacity: 0.78;
  transition: transform 0.25s var(--ease-apple);
}

.nav-dropdown:hover .nav-dropdown__caret,
.nav-dropdown.is-open .nav-dropdown__caret {
  transform: rotate(180deg);
}

/* Invisible hover bridge prevents accidental flicker moving from pill to panel */
.nav-dropdown::after {
  content: "";
  position: absolute;
  inset-inline: -0.5rem;
  inset-block-start: 100%;
  block-size: 0.95rem;
}

.nav-dropdown__menu {
  position: absolute;
  inset-block-start: calc(100% + 0.75rem);
  inset-inline-start: 50%;
  transform: translate(-50%, -6px) scale(0.98);
  min-inline-size: 19.5rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  border-radius: 22px;
  display: grid;
  gap: 0.2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Deep Smoked Liquid Glass Panel over Hero (100% readable over headline without nested-backdrop bleed) */
  background: linear-gradient(
    165deg,
    rgba(8, 18, 40, 0.96) 0%,
    rgba(6, 15, 34, 0.95) 55%,
    rgba(8, 30, 48, 0.96) 100%
  );
  backdrop-filter: blur(28px) saturate(210%);
  -webkit-backdrop-filter: blur(28px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.34),
    0 24px 60px rgba(2, 8, 24, 0.58);
  transition: opacity 0.22s var(--ease-apple), transform 0.24s var(--ease-apple), visibility 0.22s;
  z-index: 420;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.site-header--overlay.is-scrolled .nav-dropdown__menu {
  /* Crisp Crystalline Light Liquid Glass Panel over white sections */
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(246, 250, 255, 0.96) 60%,
    rgba(255, 255, 255, 0.98) 100%
  );
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 1),
    0 0 0 1px rgba(15, 23, 42, 0.08),
    0 22px 54px rgba(15, 23, 42, 0.14);
}

.nav-dropdown__menu a {
  display: grid;
  gap: 0.12rem;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  white-space: normal;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:is(:target-current, .target-current) {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.site-header--overlay.is-scrolled .nav-dropdown__menu a {
  color: var(--ink-black);
}

.site-header--overlay.is-scrolled .nav-dropdown__menu a:hover,
.site-header--overlay.is-scrolled .nav-dropdown__menu a:is(:target-current, .target-current) {
  background: rgba(0, 113, 227, 0.08);
  color: var(--ink-black);
  box-shadow: none;
}

.nav-dropdown__title {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
}

.nav-dropdown__desc {
  font-size: 0.74rem;
  font-weight: 300;
  line-height: 1.38;
  color: rgba(255, 255, 255, 0.72);
}

.site-header--overlay.is-scrolled .nav-dropdown__desc {
  color: var(--ink-muted);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.58);
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font: inherit;
  padding: 0.25rem 0.2rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lang-switch button.is-active {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header--overlay.is-scrolled .lang-switch,
.site-header--overlay.is-scrolled .lang-switch button {
  color: rgba(29, 29, 31, 0.52);
}

.site-header--overlay.is-scrolled .lang-switch button.is-active {
  color: var(--ink-black);
}

.btn-pill-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(235, 245, 255, 0.78) 100%);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.98),
    inset 0 -1px 1px rgba(0, 60, 120, 0.1),
    0 6px 18px rgba(2, 8, 24, 0.22);
  color: #081224;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s var(--ease-apple), box-shadow 0.25s ease;
}

.btn-pill-cta:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(242, 248, 255, 0.92) 100%);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 1),
    0 10px 24px rgba(2, 8, 24, 0.28);
}

.btn-pill-cta--dark,
.site-header--overlay.is-scrolled .btn-pill-cta {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(44, 46, 52, 0.92) 0%, rgba(20, 21, 25, 0.96) 100%);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.28),
    inset 0 -1px 1px rgba(0, 0, 0, 0.45),
    0 6px 18px rgba(15, 23, 42, 0.18);
  color: #ffffff;
}

.btn-pill-cta--dark:hover,
.site-header--overlay.is-scrolled .btn-pill-cta:hover {
  background: linear-gradient(180deg, rgba(58, 60, 68, 0.94) 0%, rgba(28, 30, 36, 0.98) 100%);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.36),
    0 10px 24px rgba(15, 23, 42, 0.24);
}

.menu-btn {
  display: none;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.site-header--overlay.is-scrolled .menu-btn {
  color: var(--ink-black);
  border-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 64rem) {
  .nav-links,
  .header-cta {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
    align-items: center;
  }
}

/* Native Popover Mobile Drawer */
.mobile-drawer {
  inset: auto;
  inset-block-start: 5.25rem;
  inset-inline-end: 1rem;
  inline-size: min(88dvw, 19rem);
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  color: var(--ink-black);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
}

.mobile-drawer ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.mobile-drawer a {
  display: block;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  color: rgba(29, 29, 31, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
}

.mobile-drawer a:hover,
.mobile-drawer a[aria-current="true"] {
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink-black);
  font-weight: 500;
}

/* ==========================================================================
   HERO: 4K SPARKLER OVER FLOWING DEEP-NAVY TO TEAL GRADIENT (100dvh, Sticky Cinema Stage)
   Transition 1 + 2 + 3: Sticky Hero Recede + Sparkler Light Bloom + Curved White Arch Sheet
   ========================================================================== */
.hero-autono {
  position: relative;
  min-block-size: 100dvh;
  block-size: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding-block: clamp(6.25rem, 11.5vh, 8.25rem) clamp(1.5rem, 3.5vh, 2.5rem);
  padding-inline: var(--gutter);
  overflow: clip;
  background: linear-gradient(135deg, #020612 0%, #04142d 44%, #062b40 76%, #084452 100%);
  color-scheme: only dark;
  isolation: isolate;
  z-index: 1;
}

/* Part 1: Pin Hero in place while the curved white sheet glides up over it */
@media (prefers-reduced-motion: no-preference) {
  body:not(.motion-paused) .hero-autono {
    position: sticky;
    inset-block-start: 0;
  }
}

/* Cinema Stage wrapper: holds base navy-teal gradient + aurora + 4K video so it scales cleanly as one unit */
.hero-autono__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: clip;
  pointer-events: none;
  background: linear-gradient(135deg, #020612 0%, #04142d 44%, #062b40 76%, #084452 100%);
  isolation: isolate;
  transform: scale(var(--hero-stage-scale, 1));
  will-change: transform;
}

/* Flowing Deep-Navy -> Royal Blue -> Rich Teal Ambient Aurora Mesh (Compositor-Only) */
.hero-autono__aurora {
  position: absolute;
  inset: -35%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 52% at 20% 24%, rgba(12, 62, 126, 0.78) 0%, transparent 66%),
    radial-gradient(ellipse 56% 54% at 82% 76%, rgba(11, 128, 122, 0.72) 0%, transparent 64%),
    radial-gradient(ellipse 50% 46% at 74% 20%, rgba(7, 92, 118, 0.56) 0%, transparent 62%),
    radial-gradient(ellipse 54% 50% at 26% 84%, rgba(3, 18, 46, 0.92) 0%, transparent 68%);
  will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-gradient-flow {
    0% {
      transform: translate3d(-4%, -3%, 0) scale(1.04) rotate(0deg);
    }
    33% {
      transform: translate3d(5%, 3%, 0) scale(1.1) rotate(5deg);
    }
    66% {
      transform: translate3d(-3%, 5%, 0) scale(1.06) rotate(-4deg);
    }
    100% {
      transform: translate3d(-4%, -3%, 0) scale(1.04) rotate(0deg);
    }
  }

  body:not(.motion-paused) .hero-autono__aurora {
    animation: hero-gradient-flow 16s ease-in-out infinite;
  }
}

/* 4K Sparkler Video: Additive Light Blend + Warm Incandescent Boost Over Deep-Navy/Teal */
.hero-autono__video {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  mix-blend-mode: plus-lighter;
  filter: contrast(1.22) saturate(2.15) brightness(1.38) drop-shadow(0 0 18px rgba(255, 165, 48, 0.45));
}

.hero-autono__fade {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  block-size: 22%;
  background: linear-gradient(to bottom, rgba(3, 10, 28, 0) 0%, rgba(3, 10, 28, 0.52) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Part 2: Radial Sparkler Light Bloom — Warm Golden-White Optical Nova radiating from the sparkler core */
.hero-autono__bloom {
  position: absolute;
  inset: -15%;
  z-index: 3;
  pointer-events: none;
  transform-origin: 50% 52%;
  mix-blend-mode: screen;
  mix-blend-mode: plus-lighter;
  background: radial-gradient(
    circle at 50% 52%,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 244, 214, 0.96) 18%,
    rgba(255, 214, 138, 0.65) 34%,
    rgba(72, 188, 224, 0.28) 54%,
    rgba(255, 255, 255, 0) 74%
  );
  opacity: var(--hero-bloom-opacity, 0);
  transform: scale(var(--hero-bloom-scale, 0.16));
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: scroll(root block)) and (animation-range: 0px 92vh)) {
    @keyframes hero-stage-recede {
      from {
        transform: scale(1);
      }
      to {
        transform: scale(1.12);
      }
    }

    @keyframes hero-sparkler-bloom {
      0% {
        opacity: 0;
        transform: scale(0.16);
      }
      28% {
        opacity: 0.62;
        transform: scale(0.75);
      }
      70% {
        opacity: 0.96;
        transform: scale(1.75);
      }
      100% {
        opacity: 1;
        transform: scale(2.8);
      }
    }

    @keyframes hero-copy-lift {
      from {
        opacity: 1;
        transform: translateY(0);
      }
      to {
        opacity: 0;
        transform: translateY(-34px);
      }
    }

    @keyframes vision-arch-reveal {
      0% {
        opacity: 0;
        transform: scaleY(0);
      }
      14% {
        opacity: 1;
        transform: scaleY(1);
      }
      100% {
        opacity: 1;
        transform: scaleY(1);
      }
    }

    body:not(.motion-paused) .hero-autono__stage {
      animation: hero-stage-recede auto linear both;
      animation-timeline: scroll(root block);
      animation-range: 0px 92vh;
    }

    body:not(.motion-paused) .hero-autono__bloom {
      animation: hero-sparkler-bloom auto linear both;
      animation-timeline: scroll(root block);
      animation-range: 0px 78vh;
    }

    body:not(.motion-paused) .hero-autono__content,
    body:not(.motion-paused) .hero-scroll-cue {
      animation: hero-copy-lift auto linear both;
      animation-timeline: scroll(root block);
      animation-range: 0px 38vh;
    }

    body:not(.motion-paused) .vision-arch-crown {
      animation: vision-arch-reveal auto linear both;
      animation-timeline: scroll(root block);
      animation-range: 0px 94vh;
    }
  }
}

.hero-scroll-cue__arrow {
  font-size: 0.9rem;
  line-height: 1;
  margin-block-start: -0.35rem;
}

.hero-autono__content {
  position: relative;
  z-index: 2;
  max-inline-size: 68rem;
  margin-block-start: clamp(0.75rem, 2.5vh, 1.75rem);
}

/* Part 2: Clean Luminous Frosted-White Liquid Glass Typography (Google Sans Bold 700, zero variable-font stroke seams) */
.hero-autono__title {
  position: relative;
  font-family: var(--font-hero);
  font-size: clamp(2.55rem, 1.55rem + 3.7vw, 4.95rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  background-image:
    linear-gradient(
      110deg,
      rgba(255, 255, 255, 0) 34%,
      rgba(255, 255, 255, 1) 48%,
      rgba(224, 246, 255, 0.96) 52%,
      rgba(255, 255, 255, 0) 64%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(242, 249, 255, 0.78) 52%,
      rgba(255, 255, 255, 0.88) 100%
    );
  background-size: 260% 100%, 100% 100%;
  background-position: 120% 0, 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.22))
    drop-shadow(0 12px 30px rgba(2, 8, 24, 0.55));
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-glass-sheen {
    0% {
      background-position: 130% 0, 0 0;
    }
    45% {
      background-position: -30% 0, 0 0;
    }
    100% {
      background-position: -30% 0, 0 0;
    }
  }

  body:not(.motion-paused) .hero-autono__title {
    animation: hero-glass-sheen 7.5s ease-in-out infinite;
  }
}

@media (max-width: 38rem) {
  .hero-autono__title {
    white-space: normal;
  }
}

.hero-autono__subtitle {
  max-inline-size: 38rem;
  margin: 0 auto;
  font-size: clamp(0.98rem, 0.9rem + 0.35vw, 1.15rem);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.72);
}

.hero-scroll-cue {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.hero-scroll-cue:hover {
  color: #ffffff;
  transform: translateY(2px);
}

.hero-scroll-cue__line {
  display: block;
  inline-size: 1px;
  block-size: 2.25rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
}

.motion-toggle-pill {
  position: fixed;
  inset-block-end: 1.25rem;
  inset-inline-end: 1.25rem;
  z-index: 350;
  padding: 0.48rem 0.98rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 55%, rgba(160, 225, 255, 0.14) 100%);
  backdrop-filter: blur(20px) saturate(210%) brightness(1.08);
  -webkit-backdrop-filter: blur(20px) saturate(210%) brightness(1.08);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.52),
    inset 0 -1px 1.5px rgba(120, 210, 255, 0.14),
    0 10px 28px rgba(2, 8, 24, 0.3);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.2s var(--ease-apple);
}

.motion-toggle-pill.is-light {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.82) 0%, rgba(244, 248, 255, 0.62) 60%, rgba(255, 255, 255, 0.78) 100%);
  border-color: rgba(255, 255, 255, 0.92);
  color: var(--ink-black);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 1),
    0 0 0 1px rgba(15, 23, 42, 0.07),
    0 10px 26px rgba(15, 23, 42, 0.1);
}

.motion-toggle-pill:hover {
  transform: translateY(-1px);
}

/* ==========================================================================
   PURE WHITE FRAMELESS CHAPTERS (All Sections Below Hero — Glide Over Sticky Hero)
   ========================================================================== */
.chapter {
  position: relative;
  z-index: 10;
  padding-block: clamp(5.5rem, 11.5vh, 9rem);
  overflow-x: clip;
}

/* Part 3: Feathered Multi-Stop White-to-Transparent Sheet Mist on #vision (Zero pixels visible at scrollY = 0) */
.chapter--vision-sheet {
  overflow: visible;
}

.vision-arch-crown {
  position: absolute;
  inset-inline: 0;
  inset-block-end: calc(100% - 2px);
  block-size: clamp(190px, 32vh, 340px);
  pointer-events: none;
  z-index: 11;
  transform-origin: bottom center;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.03) 14%,
    rgba(255, 255, 255, 0.11) 28%,
    rgba(255, 255, 255, 0.27) 44%,
    rgba(255, 255, 255, 0.52) 60%,
    rgba(255, 255, 255, 0.78) 76%,
    rgba(255, 255, 255, 0.94) 90%,
    #ffffff 100%
  );
  opacity: var(--vision-arch-opacity, 0);
  transform: scaleY(var(--vision-arch-scale, 0));
  will-change: transform, opacity;
}

.chapter--white {
  color-scheme: only light;
  background-color: var(--surface-white);
  color: var(--ink-black);
}

.chapter--separated {
  border-block-start: 1px solid var(--keyline-subtle);
}

/* ==========================================================================
   APPLE EDITORIAL TYPOGRAPHY ON PURE WHITE (Lexend Everywhere)
   ========================================================================== */
.editorial-lockup {
  max-inline-size: 54rem;
  margin-inline: auto;
  margin-block-end: clamp(3rem, 6vh, 4.75rem);
  text-align: center;
}

.chapter-eyebrow {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin: 0 0 1.1rem;
}

.chapter-display {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.35rem + 3vw, 3.95rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.028em;
  margin: 0 0 1.35rem;
  color: var(--ink-black);
  text-wrap: balance;
}

.vision-display {
  font-size: clamp(1.95rem, 1.25rem + 2.4vw, 3.2rem);
  line-height: 1.18;
}

/* Comfortable Thai Typography Scale & Line-Height (Compensates for Smaller Thai x-Height) */
html[lang="th"] .chapter-eyebrow {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

html[lang="th"] .chapter-display,
html[lang="th"] .vision-display {
  line-height: 1.34;
  letter-spacing: 0;
}

html[lang="th"] .chapter-subdisplay,
html[lang="th"] .mission-editorial__heading,
html[lang="th"] .spec-title {
  line-height: 1.36;
  letter-spacing: 0;
}

html[lang="th"] .chapter-lead {
  font-size: clamp(1.12rem, 1.04rem + 0.4vw, 1.34rem);
  line-height: 1.72;
}

html[lang="th"] .mission-manifesto-text {
  font-size: clamp(1.24rem, 1.1rem + 0.55vw, 1.54rem);
  line-height: 1.5;
  letter-spacing: 0;
}

html[lang="th"] .value-showcase-title {
  font-size: clamp(1.3rem, 1.12rem + 0.55vw, 1.62rem);
}

html[lang="th"] .value-showcase-desc,
html[lang="th"] .keyline-desc,
html[lang="th"] .spec-summary,
html[lang="th"] .frameless-points li,
html[lang="th"] .hub-figure__meta {
  font-size: 1.06rem;
  line-height: 1.72;
}

html[lang="th"] .reel-benefits li,
html[lang="th"] .keyline-stat__sub {
  font-size: 0.98rem;
  line-height: 1.65;
}

html[lang="th"] .keyline-code,
html[lang="th"] .keyline-stat__kicker,
html[lang="th"] .reel-item__kicker,
html[lang="th"] .hub-figure__eyebrow {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

/* DISTINCT DESIGN 1: Our Mission — Asymmetric 2-Column Editorial Manifesto */
.mission-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(2.25rem, 5vw, 5.5rem);
  align-items: start;
  margin-block: clamp(3.5rem, 7vh, 5.5rem) clamp(4.5rem, 8vh, 6.5rem);
}

@media (max-width: 56rem) {
  .mission-editorial {
    grid-template-columns: 1fr;
  }
}

.mission-editorial__left {
  position: sticky;
  inset-block-start: 6.5rem;
}

@media (max-width: 56rem) {
  .mission-editorial__left {
    position: static;
  }
}

.mission-editorial__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink-black);
}

.mission-manifesto-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.mission-manifesto-item {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: baseline;
  padding-block: clamp(1.4rem, 2.6vh, 2rem);
  border-block-start: 1px solid var(--keyline);
}

.mission-manifesto-item:last-child {
  border-block-end: 1px solid var(--keyline);
}

.mission-manifesto-num {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.2rem + 1vw, 2.2rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #c7c7cc;
}

.mission-manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 0.98rem + 0.55vw, 1.42rem);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: var(--ink-black);
}

/* DISTINCT DESIGN 2: Core Values — Full-Bleed Soft Apple Surface (#f5f5f7), 2x3 Typographic Showcase */
.values-tonal-band {
  background-color: #f5f5f7;
  padding-block: clamp(4.5rem, 9vh, 7rem);
  margin-block-end: calc(-1 * clamp(5.5rem, 11.5vh, 9rem));
}

.values-tonal-head {
  text-align: center;
  max-inline-size: 40rem;
  margin: 0 auto clamp(3rem, 6vh, 4.5rem);
}

.values-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 4.5vw, 3.75rem) clamp(2.5rem, 6vw, 5.5rem);
}

@media (max-width: 48rem) {
  .values-showcase-grid {
    grid-template-columns: 1fr;
  }
}

.value-showcase-item {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.value-accent-bar {
  display: block;
  inline-size: 2rem;
  block-size: 2px;
  background-color: var(--accent-blue);
  margin-block-end: 0.45rem;
}

.value-showcase-title {
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 1.05rem + 0.55vw, 1.52rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink-black);
}

.value-showcase-desc {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.62;
  color: var(--ink-muted);
}

.chapter-subdisplay {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.1rem + 1.45vw, 2.2rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink-black);
}

.chapter-lead {
  max-inline-size: 44rem;
  margin: 0 auto;
  font-size: clamp(1.02rem, 0.95rem + 0.36vw, 1.24rem);
  font-weight: 300;
  line-height: 1.62;
  color: var(--ink-muted);
}

.chapter-lead .lead-em {
  color: var(--ink-black);
  font-weight: 500;
}

/* ==========================================================================
   FRAMELESS PARTNERS & KEYLINE GRIDS (1px Top Rule Only — Zero Borders/Cards)
   ========================================================================== */
.frameless-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4.75rem);
  margin-block: clamp(2.25rem, 4.5vh, 3.5rem) clamp(4rem, 7vh, 5.5rem);
}

.frameless-partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

.frameless-partner-item:hover {
  opacity: 1;
}

.frameless-partner-item img {
  block-size: clamp(1.85rem, 2.9vw, 2.65rem);
  inline-size: auto;
  max-inline-size: 10.5rem;
  object-fit: contain;
  display: block;
}

.frameless-partner-item span {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.keyline-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem) clamp(1.75rem, 3.5vw, 3rem);
}

.keyline-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.keyline-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.keyline-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 58rem) {
  .keyline-grid--3,
  .keyline-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 38rem) {
  .keyline-grid--2,
  .keyline-grid--3,
  .keyline-grid--4 {
    grid-template-columns: 1fr;
  }
}

.keyline-block {
  border-block-start: 1px solid var(--keyline);
  padding-block-start: 1.4rem;
}

.keyline-code {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-block-end: 0.65rem;
}

.keyline-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.96rem + 0.35vw, 1.24rem);
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 0.6rem;
  color: var(--ink-black);
}

.keyline-desc {
  margin: 0;
  font-size: 0.93rem;
  font-weight: 300;
  line-height: 1.62;
  color: var(--ink-muted);
}

/* Real Official AI Platform Logos Inside Keyline Columns */
.ai-platform-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-block-end: 0.95rem;
}

.ai-platform-logo {
  inline-size: 2.4rem;
  block-size: 2.4rem;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.ai-platform-vendor {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.ai-platform-name {
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink-black);
  margin: 0;
}

/* Official Next.js & Node.js Frameless Stack Strip */
.stack-logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  margin-block: 0 clamp(3.5rem, 6.5vh, 5rem);
}

.stack-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.stack-logo-item img {
  block-size: clamp(3.1rem, 5vw, 4.25rem);
  inline-size: auto;
  object-fit: contain;
  display: block;
}

.stack-logo-item span {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.stack-logo-sep {
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.22);
}

.keyline-logo {
  block-size: 2.15rem;
  inline-size: auto;
  object-fit: contain;
  display: block;
  margin-block-end: 1.15rem;
}

.keyline-logo--wide {
  block-size: 1.5rem;
  margin-block-start: 0.3rem;
  margin-block-end: 1.45rem;
}

.keyline-stat {
  border-block-start: 1px solid var(--keyline);
  padding-block-start: 1.35rem;
}

.keyline-stat__kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-block-end: 0.45rem;
}

.keyline-stat__big {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.1vw, 3.15rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink-black);
  margin-block-end: 0.5rem;
}

.keyline-stat__big--sm {
  font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.25rem);
  margin-block-end: 0.8rem;
}

.keyline-stat__sub {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.52;
  color: var(--ink-muted);
}

/* ==========================================================================
   CHAPTER 2: SALESFORCE SOLUTIONS — ONE-ROW UI + DESCRIPTION LAYOUT
   ========================================================================== */
.pill-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-block-end: clamp(2.5rem, 5vh, 3.75rem);
}

.pill-tab-bar {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(165deg, rgba(242, 246, 252, 0.82) 0%, rgba(255, 255, 255, 0.65) 55%, rgba(236, 242, 250, 0.78) 100%);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 1),
    inset 0 -1px 2px rgba(15, 23, 42, 0.05),
    0 0 0 1px rgba(15, 23, 42, 0.06),
    0 10px 28px rgba(15, 23, 42, 0.06);
}

.pill-tab-btn {
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 0.83rem;
  font-weight: 400;
  padding: 0.52rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.28s var(--ease-apple), color 0.28s ease, box-shadow 0.28s ease;
}

.pill-tab-btn:hover {
  color: var(--ink-black);
  background: rgba(255, 255, 255, 0.65);
}

.pill-tab-btn[aria-selected="true"] {
  background: linear-gradient(180deg, rgba(44, 46, 52, 0.92) 0%, rgba(18, 20, 24, 0.96) 100%);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.28),
    0 4px 14px rgba(15, 23, 42, 0.18);
  color: #ffffff;
  font-weight: 500;
}

.solutions-stage {
  transition: opacity 0.24s ease;
}

.solutions-stage.is-switching {
  opacity: 0.18;
}

/* Single Horizontal Row: Salesforce UI Screen Left + Complete Description Right */
.solutions-row {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.88fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
}

@media (max-width: 60rem) {
  .solutions-row {
    grid-template-columns: 1fr;
  }
}

.frameless-ui-stage {
  margin: 0;
  inline-size: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frameless-ui-stage img {
  inline-size: 100%;
  block-size: auto;
  max-block-size: 31rem;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.08));
}

.solutions-copy-col {
  display: grid;
  align-content: start;
}

.solution-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: 0.65rem;
}

.solution-meta-row .keyline-stat__kicker {
  margin: 0;
}

.solution-metric-tag {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-blue);
}

.keyline-rule {
  block-size: 1px;
  background-color: var(--keyline);
  margin-block-end: 1.25rem;
}

.spec-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.8rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
  color: var(--ink-black);
}

.solution-bestfor {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--accent-blue);
}

.spec-summary {
  margin: 0 0 1.4rem;
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 1.66;
  color: var(--ink-muted);
}

.frameless-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.78rem;
}

.frameless-points li {
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.52;
  color: var(--ink-black);
  padding-inline-start: 1.1rem;
  position: relative;
}

.frameless-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.6em;
  inline-size: 0.34rem;
  block-size: 0.34rem;
  border-radius: 50%;
  background-color: var(--accent-blue);
}

.text-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-blue);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 500;
  cursor: pointer;
  transition: gap 0.25s var(--ease-apple), opacity 0.2s ease;
}

.text-action-link:hover {
  gap: 0.75rem;
  opacity: 0.88;
}

/* ==========================================================================
   CLEAN BORDERLESS EDITORIAL VISUALS ON PURE WHITE
   ========================================================================== */
.clean-editorial-visual {
  margin: 0 auto clamp(3rem, 6vh, 4.5rem);
  max-inline-size: 62rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: clamp(18px, 2.5vw, 28px);
  background-color: #f5f5f7;
}

.clean-editorial-visual img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   IMPACT, HORIZONTAL FRAMELESS REEL & OPEN CLIENT LOGOS ON WHITE
   ========================================================================== */
.impact-split {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: center;
  margin-block-end: clamp(5rem, 10vh, 8rem);
}

@media (max-width: 56rem) {
  .impact-split {
    grid-template-columns: 1fr;
  }
}

.impact-trophy-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: 1rem;
}

.impact-trophy-img {
  block-size: clamp(15rem, 26vw, 21rem);
  inline-size: auto;
  object-fit: contain;
  display: block;
  margin-block-end: 1.5rem;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.14));
}

.impact-trophy-caption {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.impact-numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.25rem, 4.5vw, 3.5rem) clamp(2rem, 4vw, 3.5rem);
}

@media (max-width: 34rem) {
  .impact-numbers-grid {
    grid-template-columns: 1fr;
  }
}

.reel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-block-end: 2.25rem;
}

.reel-controls {
  display: flex;
  gap: 0.6rem;
}

.reel-btn {
  inline-size: 2.6rem;
  block-size: 2.6rem;
  border-radius: 50%;
  border: 0;
  background-color: rgba(0, 0, 0, 0.06);
  color: var(--ink-black);
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.reel-btn:hover {
  background-color: rgba(0, 0, 0, 0.12);
}

.frameless-reel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82vw, 25rem);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-block-end: 1.25rem;
  margin-block-end: clamp(4.5rem, 8.5vh, 6.5rem);
  scrollbar-width: none;
}

.frameless-reel::-webkit-scrollbar {
  display: none;
}

.reel-item {
  scroll-snap-align: start;
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.reel-item__frame {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: #f5f5f7;
}

.reel-item__frame img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease-apple);
}

.reel-item:hover .reel-item__frame img {
  transform: scale(1.035);
}

.reel-item__kicker {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.reel-item__title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  margin: 0;
  color: var(--ink-black);
}

.frameless-reel--solutions {
  grid-auto-columns: min(86vw, 29rem);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.reel-benefits {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.reel-benefits li {
  position: relative;
  padding-inline-start: 1rem;
  font-size: 0.87rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-muted);
}

.reel-benefits li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.58em;
  inline-size: 0.3rem;
  block-size: 0.3rem;
  border-radius: 50%;
  background-color: var(--accent-blue);
}

.clients-open-block {
  border-block-start: 1px solid var(--keyline);
  padding-block-start: clamp(3rem, 6vh, 4.5rem);
  text-align: center;
}

/* Smooth Dual-Row Infinite Customer Reference Marquee */
.clients-open-grid {
  margin-block-start: 2.5rem;
  display: grid;
  gap: clamp(1.5rem, 3vh, 2.25rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.clients-marquee-row {
  display: flex;
  overflow: hidden;
  user-select: none;
}

.clients-marquee-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: max-content;
  will-change: transform;
}

.clients-marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(2.5rem, 4.5vw, 4.25rem);
  padding-inline-end: clamp(2.5rem, 4.5vw, 4.25rem);
}

.client-open-logo {
  flex: 0 0 auto;
  min-inline-size: 8.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-apple);
}

.client-open-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.client-open-logo img {
  max-block-size: 2.85rem;
  max-inline-size: 9.25rem;
  inline-size: auto;
  block-size: auto;
  object-fit: contain;
  display: block;
}

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

@media (prefers-reduced-motion: no-preference) {
  body:not(.motion-paused) .clients-marquee-row--left .clients-marquee-track {
    animation: clients-marquee-scroll 78s linear infinite;
  }

  .clients-marquee-row:hover .clients-marquee-track {
    animation-play-state: paused;
  }
}

/* Reduced-motion / Pause-Motion Fallback: clean static centered grid without duplicates */
body.motion-paused .clients-open-grid {
  -webkit-mask-image: none;
  mask-image: none;
}

body.motion-paused .clients-marquee-track {
  width: 100%;
  justify-content: center;
}

body.motion-paused .clients-marquee-group {
  flex-wrap: wrap;
  justify-content: center;
  padding-inline-end: 0;
  gap: 2rem 2.75rem;
}

body.motion-paused .clients-marquee-group[aria-hidden="true"] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .clients-open-grid {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .clients-marquee-track {
    width: 100%;
    justify-content: center;
  }
  .clients-marquee-group {
    flex-wrap: wrap;
    justify-content: center;
    padding-inline-end: 0;
    gap: 2rem 2.75rem;
  }
  .clients-marquee-group[aria-hidden="true"] {
    display: none;
  }
}

/* ==========================================================================
   ABOUT & REGIONAL HUBS (#FFFFFF)
   ========================================================================== */
.hubs-frameless-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
}

@media (max-width: 48rem) {
  .hubs-frameless-grid {
    grid-template-columns: 1fr;
  }
}

.hub-figure {
  margin: 0;
  display: grid;
  gap: 1.15rem;
}

.hub-figure__frame {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: #f5f5f7;
}

.hub-figure__frame img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  display: block;
}

.hub-figure__cap {
  display: grid;
  gap: 0.28rem;
  padding-inline: 0.25rem;
}

.hub-figure__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent-blue);
}

.hub-figure__name {
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--ink-black);
}

.hub-figure__meta {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--ink-muted);
}

/* ==========================================================================
   CONTACT US SECTION (Frameless 2-Column Editorial Form on Pure #FFFFFF)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

@media (max-width: 56rem) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-display {
  text-align: start;
  margin-block-end: 1.1rem;
}

.contact-lead {
  text-align: start;
  margin: 0 0 2.5rem;
  max-inline-size: 32rem;
}

.contact-direct-list {
  display: grid;
  gap: 1.75rem;
}

.contact-direct-val {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink-black);
}

.contact-direct-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-direct-link:hover {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-phone-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-phone-link:hover {
  color: var(--ink-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.contact-form-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.15rem;
}

@media (max-width: 38rem) {
  .contact-form-pair {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  min-inline-size: 0;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-black);
}

.clean-input {
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  block-size: 2.95rem;
  min-block-size: 2.95rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background-color: #ffffff;
  color: var(--ink-black);
  font-size: max(1rem, 0.94rem);
  font-weight: 400;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.clean-input:hover {
  border-color: rgba(0, 0, 0, 0.28);
}

/* Unified Apple-Grade Select Control (Matches Text Inputs Pixel-for-Pixel) */
select.clean-input {
  appearance: none;
  -webkit-appearance: none;
  block-size: 2.95rem;
  padding-inline: 1rem 2.65rem;
  line-height: 1.35;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6.25L8 10.25L12 6.25' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 1rem 1rem;
}

@supports (appearance: base-select) {
  select.clean-input,
  select.clean-input::picker(select) {
    appearance: base-select;
  }

  select.clean-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-inline: 1rem 0.95rem;
    background-image: none;
  }

  select.clean-input > button.clean-select-btn {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-inline-size: 0;
    inline-size: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer;
  }

  select.clean-input selectedcontent {
    display: block;
    min-inline-size: 0;
    inline-size: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  select.clean-input::picker-icon {
    flex: 0 0 auto;
    color: var(--ink-muted);
    font-size: 0.78rem;
    transition: transform 0.22s var(--ease-apple), color 0.2s ease;
  }

  select.clean-input:open::picker-icon {
    transform: rotate(180deg);
    color: var(--accent-blue);
  }

  select.clean-input::picker(select) {
    margin-block-start: 0.45rem;
    padding: 0.4rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 1),
      0 18px 44px rgba(15, 23, 42, 0.14);
    min-inline-size: anchor-size(width);
  }

  select.clean-input option {
    padding: 0.62rem 0.85rem;
    border-radius: 10px;
    font-size: 0.92rem;
    color: var(--ink-black);
    cursor: pointer;
    transition: background-color 0.16s ease, color 0.16s ease;
  }

  select.clean-input option:hover,
  select.clean-input option:focus {
    background-color: rgba(0, 113, 227, 0.08);
    color: var(--ink-black);
  }

  select.clean-input option:checked {
    background-color: rgba(0, 113, 227, 0.1);
    color: var(--accent-blue);
    font-weight: 500;
  }
}

.clean-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}

.clean-input:user-invalid {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.clean-input:user-valid {
  border-color: #16a34a;
}

.clean-textarea {
  block-size: auto;
  min-block-size: 6.5rem;
  resize: vertical;
}

.contact-consent {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--ink-muted);
  cursor: pointer;
}

.contact-consent input {
  inline-size: 1rem;
  block-size: 1rem;
  accent-color: var(--ink-black);
}

.contact-submit-btn {
  padding: 0.8rem 2rem;
  font-size: 0.92rem;
}

.contact-form[hidden],
.modal-form[hidden],
.form-confirmation-card[hidden],
.form-status[hidden] {
  display: none !important;
}

.form-status {
  margin-block-start: 0.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: 1px solid #16a34a;
  background: #f0fdf4;
  color: #166534;
  font-size: 0.88rem;
}

.form-status.is-error {
  border-color: #dc2626;
  background: #fef2f2;
  color: #991b1b;
}

/* Country Code + National Phone Number Composite Input */
.phone-input-group {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem;
  align-items: stretch;
}

.phone-country-select {
  appearance: none;
  -webkit-appearance: none;
  inline-size: 8.1rem;
  block-size: 2.95rem;
  min-block-size: 2.95rem;
  padding: 0.55rem 2.1rem 0.55rem 0.78rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background-color: #ffffff;
  color: var(--ink-black);
  font-size: max(1rem, 0.94rem);
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
  white-space: nowrap;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6.25L8 10.25L12 6.25' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.68rem center;
  background-size: 0.9rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.phone-country-select:hover {
  border-color: rgba(0, 0, 0, 0.28);
}

.phone-country-select:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}

@supports (appearance: base-select) {
  .phone-country-select,
  .phone-country-select::picker(select) {
    appearance: base-select;
  }

  .phone-country-select {
    inline-size: 6.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    padding-inline: 0.75rem 0.65rem;
    background-image: none;
  }

  .phone-country-select > button.phone-select-btn {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-inline-size: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer;
  }

  .phone-country-select selectedcontent {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
  }

  .phone-country-select selectedcontent .cc-full {
    display: none;
  }

  .phone-country-select::picker-icon {
    flex: 0 0 auto;
    color: var(--ink-muted);
    font-size: 0.75rem;
    transition: transform 0.22s var(--ease-apple), color 0.2s ease;
  }

  .phone-country-select:open::picker-icon {
    transform: rotate(180deg);
    color: var(--accent-blue);
  }

  .phone-country-select::picker(select) {
    margin-block-start: 0.45rem;
    padding: 0.4rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 1),
      0 18px 44px rgba(15, 23, 42, 0.14);
    min-inline-size: 16rem;
    max-block-size: 16.5rem;
    overflow-y: auto;
  }

  .phone-country-select option {
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--ink-black);
    cursor: pointer;
    transition: background-color 0.16s ease, color 0.16s ease;
  }

  .phone-country-select option .cc-full {
    color: var(--ink-muted);
    font-weight: 400;
  }

  .phone-country-select option:hover,
  .phone-country-select option:focus {
    background-color: rgba(0, 113, 227, 0.08);
  }

  .phone-country-select option:checked {
    background-color: rgba(0, 113, 227, 0.1);
    color: var(--accent-blue);
    font-weight: 500;
  }
}

/* Clean Form Confirmation View */
.form-confirmation-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 18px;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  outline: none;
}

.form-confirmation-badge {
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  display: grid;
  place-items: center;
}

.form-confirmation-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 1.05rem + 0.45vw, 1.45rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-black);
}

.form-confirmation-desc {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.62;
  color: var(--ink-muted);
}

.form-confirmation-meta {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  display: grid;
  gap: 0.5rem;
}

.form-confirmation-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  font-size: 0.86rem;
}

.form-confirmation-row dt {
  color: var(--ink-muted);
  font-weight: 400;
}

.form-confirmation-row dd {
  margin: 0;
  color: var(--ink-black);
  font-weight: 500;
  text-align: end;
  word-break: break-word;
}

.form-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-block-start: 0.25rem;
}

.form-confirmation-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #ffffff;
  color: var(--ink-black);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-confirmation-reset-btn:hover {
  border-color: rgba(0, 0, 0, 0.34);
  background: rgba(255, 255, 255, 0.9);
}

.field-error {
  margin-block-start: 0.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  color: #dc2626;
}

.field-error[hidden] {
  display: none !important;
}

/* ==========================================================================
   APPLE-STYLE SCROLL-DRIVEN REVEALS (Compositor-Only + Fallbacks)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes apple-reveal-up {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes apple-reveal-media {
      from {
        opacity: 0.4;
        transform: scale(0.95) translateY(22px);
      }
      to {
        opacity: 1;
        transform: scale(1) translateY(0);
      }
    }

    body:not(.motion-paused) .reveal-up {
      animation: apple-reveal-up auto linear both;
      animation-timeline: view();
      animation-range: entry 4% entry 32%;
    }

    body:not(.motion-paused) .reveal-media {
      animation: apple-reveal-media auto linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 36%;
    }
  }
}

html.js-reveal-fallback body:not(.motion-paused) .reveal-up,
html.js-reveal-fallback body:not(.motion-paused) .reveal-media {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.78s var(--ease-apple), transform 0.78s var(--ease-apple);
}

html.js-reveal-fallback body:not(.motion-paused) .reveal-up.is-visible,
html.js-reveal-fallback body:not(.motion-paused) .reveal-media.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.motion-paused .reveal-up,
body.motion-paused .reveal-media {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* ==========================================================================
   MINIMALIST FOOTER (#FFFFFF)
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  background-color: var(--surface-white);
  color: var(--ink-black);
  color-scheme: only light;
  padding-block: 3rem 4.25rem;
  border-block-start: 1px solid var(--keyline);
}

.footer-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-block-end: 2rem;
}

.footer-nav-inline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
}

.footer-nav-inline a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-nav-inline a:hover {
  color: var(--ink-black);
}

.footer-bottom {
  padding-block-start: 1.5rem;
  border-block-start: 1px solid var(--keyline-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--ink-muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ==========================================================================
   DECLARATIVE NATIVE <dialog id="briefing-modal"> (Top-Layer Transition)
   ========================================================================== */
dialog#briefing-modal {
  inline-size: min(92dvw, 33rem);
  max-block-size: min(92dvh, 48rem);
  overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 22px;
  border: 0;
  background-color: #ffffff;
  color: var(--ink-black);
  color-scheme: only light;
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.28);
  opacity: 1;
  transition: transform 0.24s var(--ease-apple);
}

@media (prefers-reduced-motion: no-preference) {
  dialog#briefing-modal {
    transform: scale(0.95);
  }
}

:is(dialog#briefing-modal[open]):where(:not([data-closing])) {
  opacity: 1;

  @starting-style {
    opacity: 0;
  }

  @media (prefers-reduced-motion: no-preference) {
    transform: scale(1);

    @starting-style {
      transform: scale(0.95);
    }
  }
}

dialog#briefing-modal::backdrop {
  background-color: rgba(0, 0, 0, 0);
  transition-property: background-color, display, overlay;
  transition-duration: 0.28s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

:is(dialog#briefing-modal[open]):where(:not([data-closing]))::backdrop {
  background-color: rgba(0, 0, 0, 0.52);

  @starting-style {
    background-color: rgba(0, 0, 0, 0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-block-end: 1.25rem;
}

.modal-close-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  background: rgba(0, 0, 0, 0.07);
  color: var(--ink-black);
  font-size: 0.82rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.13);
}

.modal-form {
  display: grid;
  gap: 0.9rem;
}

.modal-field {
  display: grid;
  align-content: start;
  min-inline-size: 0;
  gap: 0.35rem;
}

.modal-field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
}

/* Adaptive Anti-Spam Canvas CAPTCHA & Busy Submit State */
.captcha-box {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--keyline);
  background: #f5f5f7;
}

.captcha-box[hidden] {
  display: none;
}

.captcha-notice {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-black);
}

.captcha-challenge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.captcha-canvas {
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f5f5f7;
}

.captcha-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 48px;
  min-block-size: 48px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #ffffff;
  color: var(--ink-black);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.captcha-icon-btn:hover {
  background: rgba(0, 113, 227, 0.06);
  border-color: var(--accent-blue);
}

.captcha-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-black);
}

.captcha-input {
  font-size: max(1rem, 1em);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.captcha-input[aria-invalid="true"] {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.captcha-error {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: #dc2626;
}

button[type="submit"][disabled] {
  opacity: 0.65;
  cursor: wait;
}
