/* Central stylesheet entry.
   The files below are the original site.css split at its own section boundaries.
   They MUST stay in this exact order: later files intentionally override earlier ones
   (cascade, specificity and !important were preserved verbatim). *//* Extracted from the original assets/css/site.css, lines 1-51 — verbatim except that the
   font URLs were rebased from "../fonts/" to "/assets/fonts/" (files live in public/assets/fonts).
   Import order is defined in styles/index.css and must not change. */
/* =========================================================================
   EnlistCapis — "Stage" design system
   ========================================================================= */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-latin-300-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
}

/* Extracted verbatim from the original assets/css/site.css, lines 52-99.
   Import order is defined in styles/index.css and must not change. */
:root {
  --ink: #06142b;
  --ink-2: #0a2042;
  --ink-3: #123b72;
  --paper: #F3F1EC;
  --paper-2: #E9E6DF;
  --white: #FFFFFF;
  --mute-d: #9C9EA4;
  --mute-l: #55575D;
  --line-d: rgba(255, 255, 255, .14);
  --line-l: rgba(11, 12, 14, .14);
  --orange: #F26B1F;
  --orange-2: #FF8A47;
  --teal: #17B2B6;
  --navy: #123A63;

  --f-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;

  --t-xxl: clamp(3.4rem, 10.5vw, 10.5rem);
  --t-xl: clamp(2.6rem, 6.4vw, 6.6rem);
  --t-l: clamp(2.1rem, 4.4vw, 4.4rem);
  --t-m: clamp(1.5rem, 2.4vw, 2.2rem);
  --t-s: clamp(1.15rem, 1.4vw, 1.3rem);
  --t-body: 1.0625rem;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --s-11: 192px;
  --section: clamp(96px, 14vw, 192px);
  --gutter: clamp(16px, 2vw, 32px);
  --side: clamp(16px, 3.2vw, 40px);
  --max: 1480px;
  --r-card: 14px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 80px;
}
/* Extracted verbatim from the original assets/css/site.css, lines 100-411.
   Import order is defined in styles/index.css and must not change. */
/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

img {
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

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

::selection {
  background: var(--orange);
  color: var(--white);
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--white);
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 600;
  transition: top .2s;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--side);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}

.on-paper {
  background: var(--paper);
  color: var(--ink);
}

.on-ink {
  background: var(--ink);
  color: var(--white);
}

/* ---------- type ---------- */
.t-xxl {
  font-size: var(--t-xxl);
  line-height: .92;
  letter-spacing: -.045em;
  font-weight: 300;
}

.t-xl {
  font-size: var(--t-xl);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 300;
}

.t-l {
  font-size: var(--t-l);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 300;
}

.t-m {
  font-size: var(--t-m);
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 400;
}

.t-s {
  font-size: var(--t-s);
  line-height: 1.45;
  letter-spacing: -.01em;
}

.serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--orange);
  flex: none;
}

.eyebrow.teal::before {
  background: var(--teal);
}

.muted {
  color: var(--mute-d);
}

.on-paper .muted {
  color: var(--mute-l);
}

.accent {
  color: var(--orange);
}

.measure {
  max-width: 60ch;
}

/* split-line masks */
.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}

.js .will-split {
  visibility: hidden;
}

.js .will-split.is-split {
  visibility: visible;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .55s var(--ease-out);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn .arr {
  width: 16px;
  height: 16px;
  transition: transform .45s var(--ease-out);
}

.btn:hover .arr {
  transform: translateX(4px);
}

.btn-solid {
  background: var(--white);
  color: var(--ink);
}

.btn-solid:hover {
  color: var(--white);
}

.on-paper .btn-solid,
.btn-ink {
  background: var(--ink);
  color: var(--white);
}

.btn-line {
  border: 1px solid var(--line-d);
  color: var(--white);
}

.btn-line:hover {
  border-color: var(--orange);
}

.on-paper .btn-line {
  border-color: var(--line-l);
  color: var(--ink);
}

.on-paper .btn-line:hover {
  color: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Extracted verbatim from the original assets/css/site.css, lines 412-487.
   Import order is defined in styles/index.css and must not change. */
/* ---------- multi-page 3D cube transition (sample geometry) ---------- */
.site-cube-stage {
  position: fixed;
  inset: 0;
  z-index: 2000;
  overflow: hidden;
  perspective: 2200px;
  pointer-events: none;
  visibility: hidden;
  background: var(--ink);
}

.site-cube {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translateZ(-50vw);
}

.site-cube-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--ink);
}

.site-cube-face-front {
  transform: rotateY(0deg) translateZ(50vw);
}

.site-cube-face-side {
  transform: rotateY(90deg) translateZ(50vw);
}

.site-cube-content {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
}

.site-cube-content>.site-cube-page {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  transform-origin: top left;
}

html.cube-leaving .site-cube-stage {
  visibility: visible;
}

html.cube-leaving .site-cube {
  animation: enlist-cube-turn .95s cubic-bezier(.65, 0, .2, 1) both;
}

@keyframes enlist-cube-turn {
  from {
    transform: translateZ(-50vw) rotateY(0deg);
  }

  to {
    transform: translateZ(-50vw) rotateY(-90deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.cube-leaving .site-cube-stage {
    display: none;
  }
}

/* Extracted verbatim from the original assets/css/site.css, lines 488-548.
   Import order is defined in styles/index.css and must not change. */
/* ---------- cursor ---------- */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 950;
  pointer-events: none;
  display: none;
}

.cursor-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--white);
  mix-blend-mode: difference;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background .3s;
}

.cursor-label {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%) scale(.4);
  opacity: 0;
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 14px 22px;
  font-size: .8125rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: transform .45s var(--ease-out), opacity .3s;
}

.cursor.is-label .cursor-label {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cursor.is-label .cursor-dot {
  opacity: 0;
}

.cursor.is-link .cursor-dot {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
}

@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor {
    display: block;
  }
}

/* Extracted verbatim from the original assets/css/site.css, lines 549-787.
   Import order is defined in styles/index.css and must not change. */
/* =========================================================================
   NAVIGATION
   ========================================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 500;
  height: var(--nav-h);
  transition: transform .6s var(--ease-out), background-color .5s, backdrop-filter .5s, border-color .5s;
  border-bottom: 1px solid transparent;
  color: var(--white);
}

.nav.is-scrolled {
  background: rgba(11, 12, 14, .72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-color: var(--line-d);
}

.nav.is-hidden {
  transform: translateY(-100%);
}

.nav-in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: block;
  width: 164px;
  flex: none;
}

.nav-logo img {
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
}

.nav-link {
  position: relative;
  display: inline-block;
  font-size: 0.975rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 10px 0;
  overflow: hidden;
}

.nav-link .nl-a,
.nav-link .nl-b {
  display: block;
  transition: transform .5s var(--ease-out);
}

.nav-link .nl-b {
  position: absolute;
  left: 0;
  top: 10px;
  transform: translateY(calc(100% + 14px));
  color: var(--orange);
}

.nav-link:hover .nl-a {
  transform: translateY(calc(-100% - 14px));
}

.nav-link:hover .nl-b {
  transform: translateY(0);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--orange);
}

.nav-cta {
  min-height: 48px;
  padding: 0 22px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: currentColor;
  transition: transform .5s var(--ease-out), opacity .3s;
}

.nav-toggle span:nth-child(1) {
  top: 19px;
}

.nav-toggle span:nth-child(2) {
  top: 28px;
}

.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-open .nav-toggle span:nth-child(2) {
  transform: translateY(-4.5px) rotate(-45deg);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 24px) var(--side) 32px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-io);
  visibility: hidden;
  overflow-y: auto;
}

.menu-open .menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
}

.menu-list li {
  overflow: hidden;
  border-bottom: 1px solid var(--line-d);
}

.menu-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  font-size: clamp(2rem, 9vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1.05;
  transform: translateY(105%);
  transition: transform .8s var(--ease-out);
}

.menu-list a small {
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--mute-d);
}

.menu-list a[aria-current="page"] {
  color: var(--orange);
}

.menu-open .menu-list a {
  transform: translateY(0);
}

.menu-list li:nth-child(2) a {
  transition-delay: .05s;
}

.menu-list li:nth-child(3) a {
  transition-delay: .1s;
}

.menu-list li:nth-child(4) a {
  transition-delay: .15s;
}

.menu-list li:nth-child(5) a {
  transition-delay: .2s;
}

.menu-foot {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  font-size: .9375rem;
  color: var(--mute-d);
}

.menu-foot p a {
  color: var(--white);
}

.menu-foot .btn {
  width: 100%;
}

@media (max-width: 960px) {
  :root {
    --nav-h: 68px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-logo {
    width: 140px;
  }
}

/* Extracted verbatim from the original assets/css/site.css, lines 788-951.
   Import order is defined in styles/index.css and must not change. */
/* =========================================================================
   HOME HERO — 3D
   ========================================================================= */
.hero {
  position: relative;
  height: 180vh;
  height: 180svh;
  background: var(--ink);
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.hero-canvas,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-canvas {
  z-index: 1;
  cursor: grab;
  touch-action: pan-y;
}

.hero-canvas.dragging {
  cursor: grabbing;
}

.hero-fallback {
  z-index: 0;
  object-fit: cover;
  object-position: 70% 50%;
  opacity: .55;
}

.webgl-ok .hero-fallback {
  display: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(120% 90% at 30% 55%, transparent 35%, rgba(11, 12, 14, .55) 80%), linear-gradient(180deg, rgba(11, 12, 14, .55) 0%, transparent 22%, transparent 70%, rgba(11, 12, 14, .9) 100%);
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 32px);
  padding-bottom: clamp(60px, 10vh, 120px);
  pointer-events: none;
}

.hero-copy .wrap {
  width: 100%;
  pointer-events: none;
}

.hero-copy-in {
  max-width: min(56vw, 760px);
  pointer-events: auto;
}

.hero-title {
  max-width: 15ch;
  font-size: clamp(2.8rem, 5.2vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 300;
  color: #fff;
  text-wrap: balance;
}

.hero-title .serif {
  color: var(--orange-2);
}

.hero-sub {
  margin-top: clamp(18px, 2.8vh, 28px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.hero-sub p {
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  max-width: 32ch;
}

.hero-meta {
  position: absolute;
  z-index: 3;
  top: calc(var(--nav-h) + 28px);
  left: 0;
  right: 0;
  pointer-events: none;
}

.hero-meta .wrap {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.scroll-cue i {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, .25);
  position: relative;
  overflow: hidden;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: var(--orange);
  animation: cue 2.2s var(--ease-io) infinite;
}

@keyframes cue {
  to {
    top: 100%;
  }
}

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
}

/* Extracted verbatim from the original assets/css/site.css, lines 952-1182.
   Import order is defined in styles/index.css and must not change. */
/* =========================================================================
   PARTNERSHIP STORY
   ========================================================================= */
.story {
  position: relative;
  height: 100vh;
  height: 100svh;
  max-height: 100vh;
  padding-block: clamp(20px, 2.6vh, 34px);
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  box-sizing: border-box;
}

.story .wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: clamp(10px, 1.4vh, 18px);
  flex-shrink: 0;
}

.story-head .eyebrow {
  margin: 0;
  font-size: clamp(.72rem, .85vw, .84rem);
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .7);
}

.story-logos {
  display: flex;
  align-items: center;
  gap: 18px;
}

.story-logos img {
  width: clamp(140px, 13vw, 190px);
  height: auto;
}

.story-body {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  margin-bottom: clamp(10px, 1.5vh, 18px);
  flex-shrink: 0;
}

.story-text {
  grid-column: 1 / span 10;
  position: relative;
  z-index: 2;
}

.story-text .t-l {
  font-size: clamp(1.6rem, 2.3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 300;
  margin: 0;
  max-width: 36ch;
}

.story-text .t-l b {
  font-weight: 500;
}

.story-media {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  margin: 0;
}

.story-media figure {
  position: absolute;
  overflow: hidden;
  border-radius: var(--r-card);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .65);
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-1 {
  left: 0;
  top: 0;
  width: 62%;
  aspect-ratio: 1774 / 327;
}

.sm-2 {
  right: 0;
  top: 3%;
  height: 94%;
  max-height: 480px;
  width: auto;
  aspect-ratio: 504 / 887;
  z-index: 1;
}

.sm-3 {
  left: clamp(260px, 28vw, 380px);
  top: 14%;
  width: clamp(340px, 35vw, 540px);
  aspect-ratio: 1024 / 683;
  z-index: 2;
}

.sm-4 {
  right: 6%;
  top: 64%;
  width: 30%;
  aspect-ratio: 1774 / 760;
  z-index: 3;
}

.sm-4 img {
  object-position: 50% 80%;
}

.story-quote {
  position: absolute;
  left: 0;
  top: 34%;
  width: clamp(210px, 22vw, 320px);
  z-index: 3;
  font-size: clamp(1.2rem, 1.45vw, 1.48rem);
  line-height: 1.45;
  color: #ffffff;
  margin: 0;
}

.squares {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.squares i {
  position: absolute;
  display: block;
  width: var(--sz, 22px);
  height: var(--sz, 22px);
  background: var(--c, var(--orange));
  border-radius: 3px;
}

@media (max-width: 900px) {
  .story {
    height: auto;
    min-height: 100svh;
    max-height: none;
    overflow: visible;
    padding-block: 48px;
  }

  .story .wrap {
    height: auto;
    display: block;
  }

  .story-text {
    grid-column: 1 / -1;
  }

  .story-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .story-media {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .story-media figure {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    max-height: none;
  }

  .sm-1 {
    grid-column: 1 / -1;
  }

  .sm-2 {
    aspect-ratio: 3/4;
  }

  .sm-3 {
    aspect-ratio: 3/4;
  }

  .sm-4 {
    grid-column: 1 / -1;
  }

  .story-quote {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    grid-column: 1 / -1;
    margin-block: 12px;
  }
}

/* Extracted verbatim from the original assets/css/site.css, lines 1183-1518.
   Import order is defined in styles/index.css and must not change. */
/* =========================================================================
   CHALLENGES — 3 full-frame challenge showcases
   ========================================================================= */
.challenges {
  padding: 0;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

.ch-frame {
  position: relative;
  height: 100vh;
  height: 100svh;
  max-height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-frame+.ch-frame {
  border-top: 1px solid var(--line-l);
}

.ch-frame .wrap {
  width: 100%;
}

/* Frame 1: Header + Challenge 01 */
.ch-frame-1 {
  padding-block: clamp(20px, 2.8vh, 36px);
}

.ch-frame-1 .wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ch-frame-1 .ch-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: end;
  margin-bottom: clamp(10px, 1.6vh, 18px);
  flex-shrink: 0;
}

.ch-frame-1 .ch-head h2,
#ch-title {
  grid-column: 1 / span 9;
  font-size: clamp(2.52rem, 3.5vw, 3.64rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 300;
  margin: 0;
}

.ch-frame-1 .ch-head .ch-count {
  grid-column: 11 / span 2;
  justify-self: end;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute-l);
}

.ch-frame-1 .ch-item {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
}

/* Frame 2: Challenge 02 & Frame 3: Challenge 03 */
.ch-frame-2,
.ch-frame-3 {
  padding-block: clamp(24px, 3.5vh, 44px);
}

.ch-frame-2 .wrap,
.ch-frame-3 .wrap {
  height: 100%;
  display: flex;
  align-items: center;
}

.ch-frame-2 .ch-item,
.ch-frame-3 .ch-item {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
}

/* Grid columns per frame */
.ch-frame-1 .ch-card {
  grid-column: 1 / span 7;
  perspective: 1400px;
}

.ch-frame-1 .ch-copy {
  grid-column: 8 / span 5;
  position: relative;
  z-index: 3;
}

.ch-frame-2 .ch-card {
  grid-column: 6 / span 7;
  grid-row: 1;
  perspective: 1400px;
}

.ch-frame-2 .ch-copy {
  grid-column: 1 / span 5;
  grid-row: 1;
  position: relative;
  z-index: 3;
}

.ch-frame-3 .ch-card {
  grid-column: 1 / span 7;
  perspective: 1400px;
}

.ch-frame-3 .ch-copy {
  grid-column: 8 / span 5;
  position: relative;
  z-index: 3;
}

/* Copy typography & spacing */
.ch-copy .ch-num {
  font-size: clamp(3.2rem, 5.2vw, 4.8rem);
  line-height: .85;
  font-weight: 300;
  letter-spacing: -.06em;
  color: #000;
  -webkit-text-stroke: 0;
  display: block;
  margin-bottom: clamp(6px, 1vh, 12px);
}

.ch-copy h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin: 0 0 clamp(6px, 1vh, 10px);
}

.ch-copy blockquote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  line-height: 1.18;
  margin: 0 0 clamp(10px, 1.5vh, 16px);
  color: var(--ink);
}

.ch-copy dl {
  margin: 0;
  display: grid;
  gap: clamp(14px, 10%, 24px);
  border-top: 1px solid var(--line-l);
  padding-top: clamp(10px, 1.4vh, 14px);
}

.ch-copy dl>div+div {
  margin-top: clamp(14px, 10%, 24px);
}

.ch-copy dt {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mute-l);
}

.ch-copy dd {
  margin: 2px 0 0;
  font-size: clamp(.98rem, 1.1vw, 1.08rem);
  line-height: 1.45;
}

.ch-copy dd.sol {
  color: var(--ink);
  font-weight: 600;
}

.ch-copy dd.sol::first-letter {
  text-transform: uppercase;
}

/* Tilt card styling */
.tilt {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  border-radius: var(--r-card);
}

.tilt-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--ink);
  transform: translateZ(0);
  box-shadow: var(--tilt-shadow, 0 35px 70px -30px rgba(11, 12, 14, .45));
  transition: box-shadow .3s;
  aspect-ratio: 3 / 2;
  max-height: min(480px, 58vh);
}

.ch-frame-1 .tilt-frame {
  max-height: min(430px, 48vh);
}

.tilt-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  will-change: transform;
}

.tilt-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .28), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
  mix-blend-mode: soft-light;
}

.tilt:hover .tilt-glare {
  opacity: 1;
}

.tilt-tag {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 20px;
  transform: translateZ(60px);
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: rgba(11, 12, 14, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .78rem;
}

.tilt-tag i {
  width: 8px;
  height: 8px;
  background: var(--orange);
}

@media (max-width: 900px) {
  .ch-frame {
    height: auto;
    min-height: 100svh;
    max-height: none;
    overflow: visible;
    padding-block: 48px;
  }

  .ch-frame-1 .wrap,
  .ch-frame-2 .wrap,
  .ch-frame-3 .wrap {
    height: auto;
    display: block;
  }

  .ch-frame-1 .ch-head {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }

  .ch-frame-1 .ch-head h2,
  #ch-title {
    grid-column: 1 / -1;
  }

  .ch-frame-1 .ch-head .ch-count {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 12px;
  }

  .ch-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ch-item .ch-card,
  .ch-item:nth-child(n) .ch-card,
  .ch-frame-1 .ch-card,
  .ch-frame-2 .ch-card,
  .ch-frame-3 .ch-card {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
  }

  .ch-item .ch-copy,
  .ch-item:nth-child(n) .ch-copy,
  .ch-frame-1 .ch-copy,
  .ch-frame-2 .ch-copy,
  .ch-frame-3 .ch-copy {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
  }

  .tilt-frame,
  .ch-frame-1 .tilt-frame {
    max-height: none;
    width: 100%;
    aspect-ratio: 16 / 10;
  }
}

/* Extracted verbatim from the original assets/css/site.css, lines 1519-1818.
   Import order is defined in styles/index.css and must not change. */
/* =========================================================================
   OUTPACE — pinned storytelling
   ========================================================================= */
.outpace {
  position: relative;
  background: var(--ink);
}

.op-stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
}

.op-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.op-bg span {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.op-bg span:nth-child(1) {
  background: radial-gradient(80% 70% at 75% 50%, rgba(18, 58, 99, .55), transparent 70%);
  opacity: 1;
}

.op-bg span:nth-child(2) {
  background: radial-gradient(80% 70% at 75% 50%, rgba(23, 178, 182, .28), transparent 70%);
}

.op-bg span:nth-child(3) {
  background: radial-gradient(80% 70% at 75% 50%, rgba(242, 107, 31, .28), transparent 70%);
}

.op-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  width: 100%;
}

.op-left {
  grid-column: 1 / span 6;
}

.op-lead {
  font-size: var(--t-l);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 300;
  color: var(--mute-d);
  margin-bottom: 28px;
}

.op-items {
  position: relative;
  min-height: clamp(140px, 18vh, 220px);
}

.op-item {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 300;
  color: var(--white);
  will-change: transform, opacity;
}

.op-item .line-mask>span {
  display: block;
}

.op-progress {
  display: flex;
  gap: 22px;
  margin-top: 36px;
  font-size: .75rem;
  letter-spacing: .16em;
  color: var(--mute-d);
}

.op-progress span {
  display: flex;
  gap: 10px;
  align-items: center;
  transition: color .4s;
}

.op-progress span::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: width .5s var(--ease-out), background .4s;
}

.op-progress span.is-on {
  color: var(--white);
}

.op-progress span.is-on::before {
  width: 56px;
  background: var(--orange);
}

.op-right {
  grid-column: 7 / span 6;
  position: relative;
  height: min(68vh, 640px);
  perspective: 1600px;
}

.op-card {
  position: absolute;
  inset: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  transform-origin: 50% 100%;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8);
}

.op-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.op-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 12, 14, .6));
}

.op-float {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.op-float.f1 {
  width: 64px;
  height: 64px;
  background: var(--orange);
  border-radius: 8px;
  left: -32px;
  top: 12%;
}

.op-float.f2 {
  width: 30px;
  height: 30px;
  background: var(--teal);
  border-radius: 5px;
  right: -14px;
  top: 44%;
}

.op-float.f3 {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
  left: 30%;
  bottom: -22px;
}

/* Responsive Outpace — Tablet (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .op-grid {
    column-gap: 32px;
  }

  .op-lead {
    font-size: 1.35rem;
    margin-bottom: 16px;
  }

  .op-items {
    min-height: clamp(100px, 14vw, 150px);
  }

  .op-item {
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  }

  .op-right {
    height: min(54vh, 480px);
  }

  .op-float {
    display: none;
  }
}

/* Responsive Outpace — Mobile & Small Tablet (<= 768px) */
@media (max-width: 768px) {
  .op-stage {
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--nav-h) + 8px) 0 clamp(16px, 3vh, 28px);
    box-sizing: border-box;
  }

  .op-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(12px, 2.2vh, 20px);
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .op-left {
    width: 100%;
    grid-column: auto;
  }

  .op-lead {
    font-size: clamp(0.95rem, 3.4vw, 1.25rem);
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--mute-d);
    margin-bottom: 8px;
  }

  .op-items {
    position: relative;
    min-height: clamp(58px, 13vw, 88px);
    width: 100%;
  }

  .op-item {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    font-size: clamp(1.35rem, 5.2vw, 2.2rem);
    line-height: 1.12;
    letter-spacing: -.025em;
    font-weight: 400;
  }

  .op-progress {
    display: flex;
    gap: 14px;
    margin-top: 10px;
    font-size: .68rem;
    letter-spacing: .12em;
  }

  .op-progress span::before {
    width: 18px;
  }

  .op-progress span.is-on::before {
    width: 36px;
  }

  .op-right {
    width: 100%;
    height: clamp(180px, 36vh, 320px);
    position: relative;
    perspective: 1200px;
    grid-column: auto;
    margin-top: 0;
  }

  .op-card {
    position: absolute;
    inset: 0;
    border-radius: var(--r-card);
    overflow: hidden;
    box-shadow: 0 20px 48px -12px rgba(0, 0, 0, .7);
  }

  .op-float {
    display: none;
  }
}
/* Extracted verbatim from the original assets/css/site.css, lines 1819-1991.
   Import order is defined in styles/index.css and must not change. */
/* =========================================================================
   TILE FIELD — mouse-interactive images
   ========================================================================= */
.tiles {
  position: relative;
  background: var(--paper);
  color: var(--ink);
}

.tiles-stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.tiles-field {
  position: absolute;
  inset: 0;
  perspective: 1100px;
  perspective-origin: 50% 50%;
}

.tiles-slots {
  position: absolute;
  inset: calc(var(--nav-h) + 6vh) var(--side) 8vh;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 14px;
  visibility: hidden;
  pointer-events: none;
}

.tiles-slots .slot:nth-child(1) {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

.tiles-slots .slot:nth-child(2) {
  grid-column: 3 / span 1;
  grid-row: 1 / span 1;
}

.tiles-slots .slot:nth-child(3) {
  grid-column: 4 / span 2;
  grid-row: 1 / span 1;
}

.tiles-slots .slot:nth-child(4) {
  grid-column: 6 / span 1;
  grid-row: 1 / span 2;
}

.tiles-slots .slot:nth-child(5) {
  grid-column: 3 / span 2;
  grid-row: 2 / span 2;
}

.tiles-slots .slot:nth-child(6) {
  grid-column: 5 / span 1;
  grid-row: 2 / span 1;
}

.tiles-slots .slot:nth-child(7) {
  grid-column: 1 / span 1;
  grid-row: 3 / span 1;
}

.tiles-slots .slot:nth-child(8) {
  grid-column: 2 / span 1;
  grid-row: 3 / span 1;
}

.tiles-slots .slot:nth-child(9) {
  grid-column: 5 / span 2;
  grid-row: 3 / span 1;
}

.tile {
  position: absolute;
  left: 0;
  top: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.tile-in {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  border-radius: 12px;
}

.tile-in figure {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--ts, 0 30px 60px -25px rgba(11, 12, 14, .45));
  background: var(--ink);
}

.tile-in picture {
  display: block;
  width: 100%;
  height: 100%;
}

.tile-in img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  display: block;
}

.tiles-copy {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  pointer-events: none;
  padding: 0 var(--side);
}

.tiles-copy-in {
  max-width: 36ch;
  padding: clamp(20px, 3.2vw, 34px) clamp(22px, 3.6vw, 38px);
  border-radius: 20px;
  background: rgba(243, 241, 236, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -10px rgba(11, 12, 14, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.tiles-copy .t-xl {
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.tiles-copy .t-xl span.serif {
  color: var(--orange);
}

.tiles-copy p {
  margin: clamp(12px, 1.8vh, 18px) auto 0;
  max-width: 44ch;
  color: var(--mute-l);
  font-size: clamp(0.92rem, 1.35vw, 1.15rem);
  line-height: 1.5;
}

.reduced .tiles-stage {
  height: auto;
  padding-block: var(--section);
}

.reduced .tiles-copy {
  position: relative;
  margin-bottom: 48px;
}

.reduced .tiles-field {
  position: relative;
  height: 80vh;
}

/* Extracted verbatim from the original assets/css/site.css, lines 1992-2144.
   Import order is defined in styles/index.css and must not change. */
/* =========================================================================
   STATS — rolling digits
   ========================================================================= */
.stats {
  position: relative;
  padding-top: clamp(19px, 4.1vw, 56px);
  padding-bottom: clamp(22px, 4.8vw, 66px);
  overflow: clip;
}

.stats-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  margin-bottom: clamp(32px, 4.5vw, 68px);
  align-items: end;
}

.stats-head h2 {
  grid-column: 1 / span 8;
}

.stats-head p {
  grid-column: 9 / span 4;
  color: var(--mute-d);
}

.stats-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-d);
}

.stat {
  position: relative;
  padding: 40px 24px 44px 0;
  border-bottom: 1px solid var(--line-d);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat+.stat {
  padding-left: 24px;
  border-left: 1px solid var(--line-d);
}

.stat:nth-child(5) {
  border-left: 0;
  padding-left: 0;
}

.stat-n {
  font-size: clamp(3.2rem, 6.2vw, 6.4rem);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 300;
  display: flex;
  align-items: flex-start;
  height: 1em;
  overflow: hidden;
}

.stat-n.word {
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  height: auto;
  line-height: 1;
  letter-spacing: -.04em;
}

.stat-n .suf {
  color: var(--orange);
}

.roll {
  display: inline-block;
  height: 1em;
  overflow: hidden;
}

.roll-strip {
  display: block;
  will-change: transform;
}

.roll-strip span {
  display: block;
  height: 1em;
  line-height: 1;
}

.stat-l {
  margin-top: 28px;
  color: var(--mute-d);
  font-size: .975rem;
  max-width: 26ch;
}

.stat-bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}

.stat+.stat .stat-bar {
  left: 24px;
  width: calc(100% - 24px);
}

.stats .wrap {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {

  .stats-head h2,
  .stats-head p {
    grid-column: 1 / -1;
  }

  .stats-head p {
    margin-top: 18px;
  }

  .stats-track {
    grid-template-columns: 1fr 1fr;
  }

  .stat,
  .stat+.stat {
    padding: 28px 14px 30px 0;
    border-left: 0;
    min-height: 200px;
  }

  .stat:nth-child(even) {
    padding-left: 14px;
    border-left: 1px solid var(--line-d);
  }

  .stat+.stat .stat-bar {
    left: 0;
    width: 100%;
  }
}

/* Extracted verbatim from the original assets/css/site.css, lines 2145-2398.
   Import order is defined in styles/index.css and must not change. */
/* =========================================================================
   CLOSING CTA — video inside type
   ========================================================================= */
.closing {
  position: relative;
  height: 100vh;
  height: 100svh;
  max-height: 100vh;
  overflow: hidden;
  background: var(--ink);
}

.closing-stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.closing-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #06142b;
}

.closing-mask {
  position: absolute;
  inset: 0;
  background: transparent;
  color: #fff;
  mix-blend-mode: normal;
  display: grid;
  place-items: center;
}

.closing-word {
  font-size: clamp(2.64rem, 10.2vw, 11.4rem);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .86;
  text-align: center;
  will-change: transform;
  color: #fff;
  -webkit-text-fill-color: #fff;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.closing-word-long {
  max-width: 12ch;
  padding-inline: 5vw;
  font-size: clamp(2.5rem, 7vw, 8rem);
  line-height: .95;
  letter-spacing: -.045em;
}

.closing-ui {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  padding-bottom: clamp(48px, 8.5vh, 96px);
  pointer-events: none;
}

.closing-ui .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 28px;
  pointer-events: none;
}

.closing-ui p {
  font-size: var(--t-m);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 300;
  max-width: 22ch;
  text-align: right;
  pointer-events: auto;
}

.closing-ui.closing-ui-left,
.closing:has(.closing-image) .closing-ui {
  padding-bottom: clamp(14px, 2.2vh, 24px) !important;
}

.closing-ui.closing-ui-left .wrap,
.closing:has(.closing-image) .closing-ui .wrap {
  justify-content: flex-start !important;
  align-items: flex-end !important;
  padding-left: calc(var(--side) * 0.5) !important;
}

.closing-ui.closing-ui-left p,
.closing:has(.closing-image) .closing-ui p {
  display: inline-block;
  width: fit-content;
  max-width: min(92vw, 36ch);
  text-align: left;
  font-weight: 600;
  color: #fff;
  background: rgba(125, 133, 146, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
}

.closing-glow {
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 60%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(242, 107, 31, .35), transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.closing-static-title .closing-word {
  transform: none !important;
  opacity: 1 !important;
  will-change: auto;
}

.closing-video-only .closing-stage {
  height: 100vh;
  height: 100svh;
}

.video-control {
  position: absolute;
  z-index: 8;
  left: clamp(16px, 3vw, 32px);
  right: auto;
  bottom: clamp(16px, 3vh, 32px);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 50%;
  background: rgba(8, 20, 37, .58);
  color: #fff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .28), inset 0 1px 1px rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform .2s var(--ease-out), background .2s;
}

.video-control:hover {
  transform: translateY(-2px);
  background: rgba(8, 20, 37, .82);
}

.video-control:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.video-control svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.video-pause-icon {
  display: none;
}

.video-control[data-state="playing"] .video-play-icon {
  display: none;
}

.video-control[data-state="playing"] .video-pause-icon {
  display: block;
}

@media (max-width: 700px) {
  .video-control {
    left: 16px;
    right: auto;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  .closing-ui {
    padding-bottom: clamp(36px, 6vh, 48px);
  }

  .closing-ui .wrap {
    justify-content: flex-end;
  }

  .closing-ui p {
    max-width: calc(100% - 64px);
    text-align: right;
    font-size: 0.95rem;
  }

  .closing-ui.closing-ui-left,
  .closing:has(.closing-image) .closing-ui {
    padding-inline: 0 !important;
    padding-left: 0 !important;
    padding-bottom: 10px !important;
  }

  .closing-ui.closing-ui-left .wrap,
  .closing:has(.closing-image) .closing-ui .wrap {
    justify-content: flex-start !important;
    padding-left: clamp(4px, 1.2vw, 8px) !important;
    padding-right: 0 !important;
  }

  .closing-ui.closing-ui-left p,
  .closing:has(.closing-image) .closing-ui p {
    display: inline-block !important;
    width: fit-content !important;
    text-align: left !important;
    max-width: calc(100% - 12px) !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    padding: 6px 12px !important;
    background: rgba(125, 133, 146, 0.75) !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-control {
    transition: none;
  }
}

/* Extracted verbatim from the original assets/css/site.css, lines 2399-2651.
   Import order is defined in styles/index.css and must not change. */
/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding-top: clamp(72px, 9vw, 140px);
  border-top: 1px solid var(--line-d);
  overflow: hidden;
}

.ft-top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 48px;
}

.ft-brand {
  grid-column: 1 / span 5;
}

.ft-brand img {
  width: 200px;
  margin-bottom: 28px;
}

.ft-brand p {
  font-size: var(--t-s);
  line-height: 1.4;
  color: rgba(255, 255, 255, .84);
  max-width: 30ch;
  letter-spacing: -.01em;
}

.ft-col {
  grid-column: span 3;
}

.ft-col:nth-of-type(2) {
  grid-column: 7 / span 2;
}

.ft-col:nth-of-type(3) {
  grid-column: 9 / span 4;
}

.ft-col h3 {
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mute-d);
  margin-bottom: 20px;
}

.ft-col li+li {
  margin-top: 8px;
}

.ft-col a {
  position: relative;
  display: inline-block;
  transition: color .3s;
}

.ft-col a:hover {
  color: var(--orange);
}

.ft-contact {
  display: grid;
  gap: 16px;
  font-size: .975rem;
  line-height: 1.5;
}

.ft-contact .ic {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
}

.ft-contact svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--orange);
}

.ft-mark {
  margin-top: clamp(64px, 8vw, 120px);
  font-size: clamp(4rem, 15.5vw, 17rem);
  line-height: .8;
  letter-spacing: -.065em;
  font-weight: 600;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .18);
  user-select: none;
  transform: translateY(12%);
}

.ft-mark span {
  color: var(--white);
  -webkit-text-stroke: 0;
}

.ft-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 0 0;
  border-top: 0;
  font-size: .8125rem;
  color: var(--mute-d);
  position: relative;
  z-index: 2;
  background: transparent;
}

.ft-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.ft-bottom a:hover {
  color: var(--white);
}

/* Responsive Footer — Tablet (601px - 1024px) */
@media (max-width: 1024px) and (min-width: 601px) {
  .ft-top {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(24px, 3vw, 36px);
    row-gap: 36px;
  }

  .ft-brand {
    grid-column: 1 / -1;
  }

  .ft-brand p {
    max-width: 48ch;
  }

  .ft-col:nth-of-type(2) {
    grid-column: 1 / span 5;
  }

  .ft-col:nth-of-type(3) {
    grid-column: 6 / span 7;
  }
}

/* Responsive Footer — Mobile (<= 600px) */
@media (max-width: 600px) {
  .footer {
    padding-top: clamp(48px, 8vh, 64px);
    padding-bottom: 24px;
  }

  .footer .ft-top,
  .site-footer .footer-top {
    grid-template-columns: 1fr;
    row-gap: 28px;
    margin-bottom: 28px;
  }

  .ft-brand,
  .ft-col,
  .ft-col:nth-of-type(n) {
    grid-column: 1 / -1;
  }

  .footer .ft-brand img,
  .site-footer .footer-brand-logo img {
    width: min(186px, 58vw);
    margin-bottom: 14px;
  }

  .footer .ft-brand p,
  .site-footer .footer-brand p {
    font-size: clamp(1rem, 3.8vw, 1.15rem);
    line-height: 1.45;
    max-width: 100%;
  }

  .footer-col-title,
  .footer .ft-col h3,
  .site-footer .footer-col-title {
    font-size: 0.95rem;
    letter-spacing: .12em;
    margin-bottom: 14px;
  }

  .footer-links,
  .footer .ft-col ul,
  .site-footer .footer-links {
    gap: 10px;
  }

  .footer-links a,
  .footer .ft-col a,
  .site-footer .footer-links a {
    font-size: clamp(1.02rem, 3.8vw, 1.16rem);
    line-height: 1.35;
  }

  .ft-contact,
  .site-footer .footer-contact-info,
  .footer .ft-contact {
    gap: 14px;
    font-size: clamp(0.95rem, 3.5vw, 1.08rem);
    line-height: 1.45;
  }

  .footer .ft-contact .ic,
  .site-footer .footer-contact-info .ic {
    gap: 12px;
  }

  .footer .ft-contact svg,
  .site-footer .footer-contact-info svg {
    width: 18px;
    height: 18px;
    margin-top: 3px;
  }

  .footer .ft-contact a[href^="tel"],
  .site-footer .footer-contact-info a[href^="tel"] {
    white-space: nowrap;
  }

  .footer .ft-bottom,
  .site-footer .footer-bottom {
    font-size: 0.85rem;
    padding-top: 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer .ft-bottom nav,
  .site-footer .footer-bottom nav {
    gap: 10px 18px;
  }
}
/* Extracted verbatim from the original assets/css/site.css, lines 2652-2714.
   Import order is defined in styles/index.css and must not change. */
/* =========================================================================
   INNER PAGE HEROES
   ========================================================================= */
.phero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(48px, 9vh, 110px);
  padding-top: calc(var(--nav-h) + 40px);
  overflow: hidden;
  background: var(--ink);
}

.phero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.phero-media img,
.phero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 14, .55), rgba(11, 12, 14, .15) 35%, rgba(11, 12, 14, .85));
}

.phero .wrap {
  position: relative;
  z-index: 2;
}

.phero-kicker {
  margin-bottom: 26px;
}

.phero-title {
  max-width: 14ch;
}

.phero-foot {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-end;
}

.phero-foot p {
  max-width: 44ch;
  font-size: var(--t-s);
  color: rgba(255, 255, 255, .84);
}

/* Extracted verbatim from the original assets/css/site.css, lines 2715-3162.
   Import order is defined in styles/index.css and must not change. */
/* about — expanding frame */
.frame-hero {
  position: relative;
  height: 200vh;
  background: var(--ink);
}

.frame-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.frame-img {
  position: absolute;
  inset: 0;
  clip-path: inset(23% 24% 17% 24% round 18px);
  will-change: clip-path;
}

.frame-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.25);
}

.frame-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 12, 14, .35);
}

.frame-title {
  position: absolute;
  top: clamp(86px, 12vh, 120px);
  left: 0;
  right: 0;
  z-index: 3;
  text-align: center;
  mix-blend-mode: normal;
  pointer-events: none;
}

.frame-title .wrap {
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.frame-title .hero-title,
.frame-title .t-xxl {
  max-width: 15ch;
  font-size: clamp(2.8rem, 5.2vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 300;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-wrap: balance;
  margin-inline: auto;
  text-align: center;
  pointer-events: auto;
}

.frame-title .hero-title .serif,
.frame-title .serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange-2) !important;
  -webkit-text-fill-color: var(--orange-2) !important;
}

.frame-sub {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: clamp(36px, 7vh, 80px);
}

.frame-sub .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
}

.frame-sub p {
  max-width: 38ch;
  font-size: var(--t-s);
  line-height: 1.4;
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.frame-sub .eyebrow {
  color: #fff;
  opacity: 1;
  text-align: justify;
  text-justify: inter-word;
  text-transform: none;
  letter-spacing: normal;
}

.reduced .frame-img {
  clip-path: none;
}

.statement {
  padding-block: var(--section);
}

.statement .grid>* {
  grid-column: 1 / -1;
}

.statement h2,
.statement .t-xl {
  text-align: left;
  text-justify: auto;
  -webkit-hyphens: none;
  hyphens: none;
  text-wrap: balance;
  word-spacing: normal;
  letter-spacing: -.02em;
}

.statement h2 .serif,
.statement .t-xl .serif {
  display: inline;
  margin: 0;
  padding: 0;
  letter-spacing: -.01em;
}

.statement-kicker {
  margin-bottom: 36px;
}

.statement-foot {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}

.statement-foot p {
  grid-column: 7 / span 6;
  font-size: var(--t-s);
  color: var(--teal);
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

@media (max-width: 900px) {

  .statement h2,
  .statement .t-xl {
    text-align: left !important;
    text-justify: auto !important;
    -webkit-hyphens: none !important;
    hyphens: none !important;
    word-break: normal !important;
    font-size: clamp(1.85rem, 7.5vw, 2.5rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -.03em !important;
    text-wrap: balance;
  }

  .statement-foot p {
    grid-column: 1 / -1;
    text-align: left !important;
    text-justify: auto !important;
    -webkit-hyphens: none !important;
    hyphens: none !important;
    word-break: normal !important;
    font-size: clamp(0.95rem, 3.8vw, 1.08rem) !important;
    line-height: 1.55 !important;
  }

  .frame-sub .eyebrow {
    text-align: left !important;
  }

  .frame-sub p {
    text-align: left !important;
    -webkit-hyphens: none !important;
    hyphens: none !important;
  }
}

/* who we are — sticky labels */
.pillars-text {
  padding-block: var(--section);
}

.pt-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding-block: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--line-l);
}

.pt-row:last-child {
  border-bottom: 1px solid var(--line-l);
}

.pt-label {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  align-self: start;
}

.pt-label h3 {
  font-size: var(--t-l);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 300;
}

.pt-label .n {
  display: block;
  font-size: .75rem;
  letter-spacing: .16em;
  color: var(--mute-l);
  margin-bottom: 18px;
}

.pt-body {
  grid-column: 7 / span 6;
  font-size: var(--t-m);
  line-height: 1.35;
  letter-spacing: -.02em;
  font-weight: 300;
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

@media (max-width: 900px) {

  .pt-label,
  .pt-body {
    grid-column: 1 / -1;
    position: static;
  }

  .pt-body {
    margin-top: 20px;
  }
}

/* leadership — horizontal pinned gallery */
.leaders {
  position: relative;
  background: var(--ink);
  overflow: clip;
}

.ld-pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: calc(var(--nav-h) * .6);
}

.ld-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: end;
  margin-bottom: clamp(28px, 4vh, 48px);
}

.ld-head h2 {
  grid-column: 1 / span 6;
}

.ld-head p {
  grid-column: 8 / span 5;
  color: var(--mute-d);
  font-size: .975rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.ld-track {
  display: flex;
  gap: clamp(18px, 2vw, 32px);
  padding-inline: var(--side);
  width: max-content;
  will-change: transform;
}

.ld-intro {
  width: min(32vw, 420px);
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 0;
}

.ld-intro img {
  width: 200px;
}

.ld-card {
  width: clamp(270px, 23vw, 350px);
  flex: none;
  perspective: 1200px;
}

.ld-card .tilt-frame {
  aspect-ratio: 1 / 1;
  background: #ffffff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ld-card .tilt-frame picture {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ld-card .tilt-frame img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: none !important;
  background: #ffffff;
  display: block;
}

.ld-meta {
  padding-top: 20px;
}

.ld-meta h3 {
  font-size: clamp(1.4rem, 1.9vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.ld-meta .role {
  display: block;
  margin-top: 6px;
  font-size: .8125rem;
  letter-spacing: .06em;
  color: var(--orange-2);
}

.ld-meta p {
  margin-top: 12px;
  color: var(--mute-d);
  font-size: .875rem;
  line-height: 1.5;
}

.ld-progress {
  margin: clamp(22px, 3vh, 36px) var(--side) 0;
  height: 1px;
  background: var(--line-d);
  position: relative;
}

.ld-progress i {
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}

@media (max-width: 900px) {
  .ld-pin {
    height: auto;
    padding-block: var(--section);
  }

  .ld-head h2,
  .ld-head p {
    grid-column: 1 / -1;
  }

  .ld-head p {
    margin-top: 16px;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }

  .ld-track {
    width: auto;
    flex-direction: column;
  }

  .ld-intro {
    display: none;
  }

  .ld-card {
    width: 100%;
  }

  .ld-progress {
    display: none;
  }
}

.reduced .ld-pin {
  height: auto;
  padding-block: var(--section);
}

.reduced .ld-track {
  width: auto;
  flex-wrap: wrap;
}

/* Extracted verbatim from the original assets/css/site.css, lines 3163-3856.
   Import order is defined in styles/index.css and must not change. */
/* solution hero — kinetic stack */
.sol-hero {
  position: relative;
  height: calc(100vh - 70px);
  height: calc(100svh - 70px);
  min-height: calc(100vh - 70px);
  max-height: calc(100vh - 70px);
  padding-top: clamp(16px, 2.5vh, 32px);
  padding-bottom: clamp(16px, 2.5vh, 32px);
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.sol-hero .wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  position: relative;
}

.sol-hero .eyebrow {
  margin: 0 0 clamp(42px, 6.3vh, 73px);
  font-size: clamp(.75rem, .9vw, .85rem);
  letter-spacing: .16em;
  color: var(--mute-l);
}

.sol-words {
  position: relative;
  z-index: 2;
  margin: 0 0 clamp(50px, 7.7vh, 87px);
  max-width: clamp(480px, 62vw, 920px);
}

.sol-word {
  display: flex;
  align-items: baseline;
  gap: clamp(8px, 1.2vw, 16px);
  border-bottom: 1px solid var(--line-l);
  padding-block: clamp(4px, 0.8vh, 9px);
}

.sol-word:first-child {
  border-top: 1px solid var(--line-l);
}

.sol-word .n {
  font-size: .75rem;
  letter-spacing: .16em;
  color: var(--mute-l);
  min-width: 2.5ch;
}

.sol-word .w {
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: .95;
  transition: color .4s, transform .6s var(--ease-out);
}

.sol-word:hover .w {
  color: var(--orange);
  transform: translateX(12px);
}

.sol-photo {
  position: absolute;
  z-index: 1;
  width: clamp(200px, 21vw, 310px);
  aspect-ratio: 811 / 941;
  right: clamp(24px, 5.5vw, 80px);
  top: 50%;
  transform: translateY(-50%);
  border-radius: var(--r-card);
  overflow: hidden;
  pointer-events: none;
  box-shadow: 0 35px 70px -20px rgba(11, 12, 14, .4);
}

.sol-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sol-hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0;
}

.sol-hero-foot p {
  max-width: 44ch;
  font-size: clamp(1.3rem, 1.5vw, 1.5rem);
  line-height: 1.45;
  color: var(--mute-l);
  margin: 0;
}

@media (max-width: 900px) {
  .sol-hero {
    height: auto;
    min-height: 100svh;
    max-height: none;
  }

  .sol-photo {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 60%;
    margin: 28px 0 0 auto;
  }
}

/* solution — stacked pillars */
.stack {
  position: relative;
  background: var(--ink);
  padding-bottom: clamp(60px, 10vh, 120px);
}

.stack-head {
  max-width: 1110px;
  margin-inline: auto;
  padding-block: clamp(32px, 5vh, 60px) clamp(16px, 2.5vh, 28px);
}

.stack-head h2,
.stack-head .t-xl {
  font-size: clamp(1.8rem, 4.5vw, 4.6rem);
}

.stack-card {
  position: sticky;
  top: calc(var(--nav-h) + clamp(16px, 3vh, 36px));
  width: 100%;
  max-width: 1110px;
  margin-inline: auto;
  height: clamp(510px, 62vh, 560px);
  margin-bottom: 0;
  box-sizing: border-box;
}

.stack-in {
  position: relative;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: stretch;
  transform-origin: 50% 0;
  will-change: transform;
  background: var(--ink-2);
  border: 1px solid var(--line-d);
  box-sizing: border-box;
}

.stack-media {
  grid-column: 6 / span 7;
  grid-row: 1;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  border-radius: inherit;
}

.stack-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.stack-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
  display: block;
}

.stack-body {
  grid-column: 1 / span 5;
  grid-row: 1;
  padding: clamp(32px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 2.2vh, 22px);
  box-sizing: border-box;
  overflow: hidden;
}

.stack-body .n {
  font-size: clamp(3.2rem, 4.6vw, 5rem);
  line-height: .88;
  font-weight: 300;
  letter-spacing: -.06em;
  color: var(--orange);
  margin: 0;
}

.stack-body h3 {
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin: 0 0 clamp(8px, 1.2vh, 14px);
}

.stack-body p {
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1.15rem, 1.38vw, 1.36rem);
  line-height: 1.55;
  max-width: 38ch;
  margin: 0;
}

.stack-body strong {
  color: var(--white);
  font-weight: 600;
}

.stack-ticks {
  list-style: none;
  padding: 0;
  margin: clamp(10px, 1.4vh, 16px) 0;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1vh, 10px);
}

.stack-ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1.15rem, 1.38vw, 1.36rem);
  line-height: 1.55;
  max-width: 38ch;
}

.stack-ticks .tick {
  color: var(--white);
  font-weight: 700;
  font-size: 1.15em;
  line-height: 1.4;
  flex-shrink: 0;
}

.stack-shade {
  position: absolute;
  inset: 0;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}

@media (min-width: 901px) {
  .stack-card:nth-of-type(1) {
    z-index: 1;
  }

  .stack-card:nth-of-type(2) {
    z-index: 2;
  }

  .stack-card:nth-of-type(3) {
    z-index: 3;
  }

  .stack-card:not(:last-of-type) {
    margin-bottom: clamp(280px, 50vh, 520px);
  }

  .stack .wrap {
    padding-bottom: clamp(240px, 40vh, 440px);
  }

  .stack-card--rev .stack-media,
  .stack-in--rev .stack-media {
    grid-column: 1 / span 7;
    grid-row: 1;
  }

  .stack-card--rev .stack-body,
  .stack-in--rev .stack-body {
    grid-column: 8 / span 5;
    grid-row: 1;
  }
}

@media (max-width: 900px) {
  .stack-card {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    max-width: none;
    margin-bottom: 24px;
  }

  .stack-in {
    grid-template-columns: 1fr;
    height: auto;
  }

  .stack-media {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    aspect-ratio: 1672 / 941;
    height: auto;
  }

  .stack-body {
    grid-column: 1;
    grid-row: auto;
    padding: 24px 20px;
    justify-content: flex-start;
    gap: 14px;
  }

  .stack-body p {
    font-size: 1.12rem;
    max-width: 100%;
  }

  .stack-body .stack-ticks li {
    font-size: 1.12rem;
    max-width: 100%;
  }
}

/* solution — 3D journey */
.journey {
  position: relative;
  background: var(--paper);
  color: var(--ink);
}

.frame-split-line {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  margin: 0;
}

.gcc-setup-visual {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: auto !important;
  display: block !important;
  background: #05142b !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
}

.gcc-setup-visual picture {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gcc-setup-visual img {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 768px) {
  .gcc-setup-visual {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }

  .gcc-setup-visual picture {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .gcc-setup-visual img {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

.jr-stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.jr-head {
  position: absolute;
  z-index: 5;
  top: calc(var(--nav-h) + 28px);
  left: 0;
  right: 0;
}

.jr-head .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.jr-head p {
  max-width: 40ch;
  color: var(--mute-l);
}

.jr-world {
  position: absolute;
  inset: 0;
  perspective: 900px;
  perspective-origin: 50% 30%;
}

.jr-plane {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 2400px;
  height: 2400px;
  margin: -1200px 0 0 -1200px;
  transform-style: preserve-3d;
  transform: rotateX(62deg) rotateZ(0deg);
  will-change: transform;
}

.jr-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11, 12, 14, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 12, 14, .07) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 60%);
  mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 60%);
}

.jr-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.jr-node {
  position: absolute;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}

.jr-node .base {
  position: absolute;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 50%;
  border: 1px solid rgba(11, 12, 14, .25);
}

.jr-node .base::after {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  background: var(--ink);
  transition: background .4s;
}

.jr-node.is-on .base::after {
  background: var(--orange);
}

.jr-node .pillar {
  position: absolute;
  left: -2px;
  bottom: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(var(--orange), transparent);
  transform-origin: 50% 100%;
  transform: rotateX(-90deg);
}

.jr-panel {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: clamp(36px, 8vh, 90px);
  padding-top: 120px;
  background: linear-gradient(180deg, rgba(243, 241, 236, 0), var(--paper) 55%);
}

.jr-panel .wrap {
  position: relative;
  height: clamp(170px, 26vh, 240px);
}

.jr-step {
  position: absolute;
  left: var(--side);
  right: var(--side);
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: end;
  opacity: 1;
}

.jr-step .k {
  grid-column: 1 / span 2;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute-l);
}

.jr-step h3 {
  grid-column: 3 / span 6;
  font-size: var(--t-xl);
  line-height: .95;
  letter-spacing: -.045em;
  font-weight: 300;
}

.jr-step p {
  grid-column: 9 / span 4;
  font-size: var(--t-s);
  line-height: 1.4;
}

.jr-route {
  position: absolute;
  z-index: 6;
  right: var(--side);
  top: 50%;
  display: grid;
  gap: 10px;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.jr-route span {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--mute-l);
  transition: color .4s;
}

.jr-route span::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
}

.jr-route span.is-on {
  color: var(--ink);
}

.jr-route span.is-on::before {
  background: var(--orange);
  border-color: var(--orange);
}

@media (max-width: 900px) {

  .jr-step h3,
  .jr-step p,
  .jr-step .k {
    grid-column: 1 / -1;
  }

  .jr-step p {
    margin-top: 10px;
  }

  .jr-route {
    display: none;
  }

  .jr-panel .wrap {
    height: 260px;
  }
}

.reduced .jr-stage,
.static-journey .jr-stage {
  height: auto;
  padding: calc(var(--nav-h) + 40px) 0 var(--section);
}

.reduced .jr-world {
  display: none;
}

.static-journey .jr-world {
  display: block;
  position: relative;
  inset: auto;
  height: clamp(220px, 36vw, 390px);
  overflow: hidden;
}

.reduced .jr-head,
.static-journey .jr-head {
  position: relative;
  top: auto;
  margin-bottom: 40px;
}

.reduced .jr-panel,
.static-journey .jr-panel {
  position: relative;
  bottom: auto;
}

.reduced .jr-panel .wrap,
.static-journey .jr-panel .wrap {
  height: auto;
  display: grid;
  gap: 40px;
}

.reduced .jr-step,
.static-journey .jr-step {
  position: relative;
  left: auto;
  right: auto;
  opacity: 1;
}

/* Extracted verbatim from the original assets/css/site.css, lines 3857-3872.
   Import order is defined in styles/index.css and must not change. */
/* track record */
.tr-hero {
  padding-top: calc(var(--nav-h) + 12px);
  padding-bottom: clamp(14px, 2.6vh, 32px);
}

.tr-hero .phero-media picture,
.tr-hero .phero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: 75% center;
  transform: none !important;
  background: var(--ink);
}

/* Extracted verbatim from the original assets/css/site.css, lines 3873-4146.
   Import order is defined in styles/index.css and must not change. */
/* let's talk */
.talk {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: clamp(20px, 3vh, 34px);
  padding-bottom: clamp(24px, 4vh, 48px);
  background: var(--ink);
  overflow: hidden;
}

.talk-canvas {
  display: block !important;
}

.talk-stage>.hero-meta {
  display: none;
}

.talk-globe-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  object-position: center;
  opacity: .38;
  background: var(--ink);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .65) 12%, #000 30%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .65) 12%, #000 30%, #000 100%);
}

.talk::after {
  content: none;
}

.talk .wrap {
  position: relative;
  z-index: 2;
}

.talk-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 56px;
  align-items: start;
  padding-inline: var(--side);
}

.talk .talk-grid {
  padding-top: 0;
}

.talk-grid {
  pointer-events: none;
}

.talk-left,
.talk-form {
  pointer-events: auto;
}

.talk-left {
  grid-column: 1 / span 6;
  padding-top: 0;
}

.talk .scroll-cue {
  font-size: .56rem;
}

.talk-left .t-xxl {
  font-size: clamp(2.6rem, 6.8vw, 6.8rem);
}

.talk-left .serif {
  color: var(--teal);
}

.talk-contacts {
  margin-top: clamp(28px, 4.5vh, 52px);
  display: grid;
  gap: 20px;
  max-width: clamp(480px, 45vw, 620px);
}

.talk-contacts .row {
  border-top: 1px solid var(--line-d);
  padding-top: 16px;
  font-size: clamp(1.2rem, 1.35vw, 1.5rem);
  line-height: 1.4;
}

.talk-contacts .row span {
  display: block;
  font-size: clamp(.9rem, 1vw, 1.05rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute-d);
  margin-bottom: 6px;
}

.talk-contacts a:hover {
  color: var(--orange);
}

.talk-form {
  grid-column: 8 / span 5;
  background: var(--paper);
  color: var(--ink);
  border-radius: 22px;
  padding: clamp(28px, 3.4vw, 48px);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8);
  transform-style: preserve-3d;
}

.talk-form h2 {
  font-size: var(--t-m);
  font-weight: 400;
  letter-spacing: -.02em;
  margin-bottom: 28px;
}

.field {
  position: relative;
  margin-bottom: 22px;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(11, 12, 14, .3);
  padding: 26px 0 10px;
  border-radius: 0;
  outline: none;
  transition: border-color .3s;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field label {
  position: absolute;
  left: 0;
  top: 24px;
  color: var(--mute-l);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .45s var(--ease-out), color .3s;
}

.field label .req {
  color: var(--orange);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
}

.field input:focus+label,
.field input:not(:placeholder-shown)+label,
.field textarea:focus+label,
.field textarea:not(:placeholder-shown)+label {
  transform: translateY(-20px) scale(.78);
  color: var(--ink);
}

.field::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease-out);
}

.field:focus-within::after {
  transform: scaleX(1);
}

.field.has-error input,
.field.has-error textarea {
  border-color: #C2410C;
}

.field-error-msg {
  display: block;
  margin-top: 6px;
  font-size: .8125rem;
  color: #B23A0A;
  font-weight: 500;
}

.check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 8px 0 28px;
  cursor: pointer;
  font-size: .9375rem;
  line-height: 1.45;
}

.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border: 1px solid rgba(11, 12, 14, .45);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.check input::after {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--orange);
  transform: scale(0);
  transition: transform .3s var(--ease-out);
}

.check input:checked::after {
  transform: scale(1);
}

.check b {
  display: block;
  font-weight: 600;
}

.talk-form .btn {
  width: 100%;
}

.btn-success {
  background: #1F7A4D !important;
  color: #fff !important;
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {

  .talk-left,
  .talk-form {
    grid-column: 1 / -1;
  }
}

/* Extracted verbatim from the original assets/css/site.css, lines 4147-4455.
   Import order is defined in styles/index.css and must not change. */
/* =========================================================================
   CHAT ASSISTANT (behaviour preserved, restyled)
   ========================================================================= */
#chat-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 600;
  display: block;
  width: 152px;
  height: 136px;
}

#chat-stack.is-delayed {
  display: none;
}

#chat-fab {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 22px 0 18px;
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45);
  font-size: .875rem;
  font-weight: 600;
  transition: transform .4s var(--ease-out), background .3s, color .3s;
}

#chat-fab:hover {
  transform: translateY(-3px);
  background: var(--orange);
  color: var(--white);
}

#chat-fab svg {
  width: 20px;
  height: 20px;
}

.chat-close-float {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink-2);
  color: var(--white);
  font-size: 13px;
  border: 1px solid var(--line-d);
}

#chat-panel {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 610;
  width: min(380px, calc(100vw - 40px));
  max-height: min(560px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .55);
  transform: translateY(20px) scale(.97);
  opacity: 0;
  visibility: hidden;
  transition: transform .45s var(--ease-out), opacity .3s, visibility .45s;
}

#chat-panel.is-open {
  transform: none;
  opacity: 1;
  visibility: visible;
}

.chat-h {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 8px;
  padding: 16px 18px 14px;
  background:
    radial-gradient(circle at 24% 18%, rgba(23, 178, 182, 0.18), transparent 58%),
    radial-gradient(circle at 78% 82%, rgba(18, 59, 114, 0.14), transparent 60%),
    rgba(255, 255, 255, 0.36);
  border-bottom: 1px solid var(--line-l);
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.chat-h-brand {
  grid-column: 2;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.chat-h-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.32) 100%);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow:
    0 8px 24px rgba(6, 20, 43, 0.1),
    0 2px 6px rgba(23, 178, 182, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -1px 2px rgba(6, 20, 43, 0.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.45);
  backdrop-filter: blur(14px) saturate(1.45);
}

.chat-h-logo img {
  display: block;
  width: clamp(132px, 38vw, 168px);
  height: auto;
  object-fit: contain;
}

.chat-h-text {
  display: block;
  min-height: 1.08em;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.75rem, 2.8vw, 2.15rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: #064d50;
}

.chat-h-text.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.88em;
  margin-left: 3px;
  vertical-align: -0.08em;
  background: #064d50;
  animation: chat-caret-blink 0.65s steps(1, end) infinite;
}

@keyframes chat-caret-blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

.chat-h .x {
  grid-column: 3;
  justify-self: end;
  align-self: start;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.chat-h .x:hover {
  background: var(--paper-2);
}

.chat-body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

#chat-msgs {
  padding: 16px 20px 12px;
  display: grid;
  gap: 10px;
  align-content: start;
  font-size: .9375rem;
}

.msg {
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.45;
  max-width: 90%;
}

.msg.bot {
  background: var(--white);
  border: 1px solid var(--line-l);
  white-space: pre-line;
}

.msg.user {
  background: var(--ink);
  color: var(--white);
  justify-self: end;
}

.msg a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
}

.m-link {
  display: block;
  margin-top: 8px;
}

.starter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 4px 20px 14px;
}

.starter-group {
  flex: 1 0 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(6, 77, 80, 0.045);
  border: 1px solid rgba(6, 77, 80, 0.14);
}

.starter-heading {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #064d50;
  cursor: default;
  user-select: none;
}

.starter-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.starter-row button {
  border: 1px solid var(--line-l);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 6px 12px;
  font-size: 0.78rem;
  line-height: 1.2;
  min-height: 30px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.starter-row button:hover,
.starter-row button:focus-visible {
  border-color: #064d50;
  background: #ffffff;
}

.starter-row > button {
  color: #064d50;
  font-weight: 600;
}

.chat-f {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--line-l);
}

.chat-f input {
  flex: 1;
  min-width: 0;
  font: inherit;
  border: 1px solid var(--line-l);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--white);
}

.chat-f .btn {
  min-height: 44px;
  padding: 0 16px;
}

.chat-consent {
  padding: 0 20px 14px;
  font-size: .75rem;
  color: var(--mute-l);
}

.chat-consent a {
  text-decoration: underline;
}

/* Extracted verbatim from the original assets/css/site.css, lines 4456-5327.
   Import order is defined in styles/index.css and must not change. */
/* =========================================================================
   reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

.reduced .hero {
  height: 100vh;
  height: 100svh;
}

.reduced .frame-hero {
  height: 100vh;
}

/* nav over light heroes */
.nav-logo .logo-dark {
  display: none;
}

.nav-light .nav:not(.is-scrolled) {
  color: var(--ink);
}

.nav-light .nav:not(.is-scrolled) .logo-light {
  display: none;
}

.nav-light .nav:not(.is-scrolled) .logo-dark {
  display: block;
}

.nav-light .nav:not(.is-scrolled) .btn-solid {
  background: var(--ink);
  color: var(--white);
}

.menu-open .nav {
  color: var(--white) !important;
}

.menu-open .nav .logo-light {
  display: block !important;
}

.menu-open .nav .logo-dark {
  display: none !important;
}

@media (max-width: 900px) {
  .tiles-stage {
    height: 100vh;
    height: 100svh;
  }

  .tiles-slots {
    inset: auto var(--side);
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 2 * var(--side));
    max-width: 540px;
    margin-inline: auto;
    aspect-ratio: 1 / 1;
    max-height: min(84vw, calc(100svh - var(--nav-h) - 36px));
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
  }

  .tiles-slots .slot:nth-child(n) {
    grid-column: auto / span 1;
    grid-row: auto / span 1;
  }

  .tiles-copy-in {
    padding: clamp(16px, 4vw, 24px) clamp(16px, 4.5vw, 26px);
    border-radius: 16px;
    max-width: 32ch;
  }

  .tiles-copy .t-xl {
    font-size: clamp(1.6rem, 6.5vw, 2.35rem);
    line-height: 1.08;
  }

  .tiles-copy p {
    margin-top: 10px;
    font-size: clamp(0.85rem, 3.4vw, 0.98rem);
    line-height: 1.45;
  }
}

/* reduced motion: unpinned, readable outpace + closing */

/* Hosted-site header, footer and chat launcher treatment */
.site-header {
  position: sticky;
  top: 0;
  height: 70px;
  z-index: 1000;
  background: #fff !important;
  color: #0d1a29;
  box-shadow: 0 4px 16px rgba(4, 25, 28, .08);
  border: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header .header-inner {
  height: 100%;
  padding-inline: 24px;
}

.site-header .site-logo {
  width: 186px;
  display: flex;
  align-items: center;
}

.site-header .logo-light {
  display: none;
}

.site-header .logo-dark {
  display: block;
  width: 100%;
}

.site-header .main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-header .nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header .nav-link {
  color: #032125;
  background: rgba(255, 255, 255, .9);
  border-radius: 999px;
  padding: 9px 18px;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.975rem;
  box-shadow: 0 0 16px rgba(255, 255, 255, .5);
  overflow: visible;
}

.site-header .nav-link .nl-b {
  display: none;
}

.site-header .nav-link .nl-a {
  transform: none !important;
}

.site-header .nav-link::after {
  display: none;
}

.site-header .nav-link[aria-current="page"] {
  background: #123b72;
  color: #fff;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
  color: #123b72;
}

.site-header .header-cta-link,
.site-header .nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 999px;
  background: #ffffff !important;
  color: #0d1a29 !important;
  border: 1px solid rgba(6, 77, 80, 0.68);
  box-shadow: 0 2px 12px rgba(6, 77, 80, 0.22), 0 0 16px rgba(6, 77, 80, 0.14);
  min-height: 0;
  font-size: 0.975rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  overflow: hidden;
  isolation: isolate;
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out), color .3s var(--ease-out);
}

.site-header .header-cta-link > *,
.site-header .nav-cta > * {
  position: relative;
  z-index: 1;
}

/* Talk alone in Italics with teal color */
.site-header .header-cta-link .serif,
.site-header .nav-cta .serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.12em;
  color: var(--teal) !important;
  letter-spacing: 0;
  margin-left: 2px;
  display: inline-block;
}

.site-header .header-cta-link .arr,
.site-header .nav-cta .arr {
  width: 15px;
  height: 15px;
  color: #0d1a29;
  transition: transform .45s var(--ease-out), color .3s var(--ease-out);
}

/* Star Border effect in dark teal color: rotating star tracer along the outline */
.site-header .header-cta-link::before,
.site-header .nav-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  z-index: -2;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: center center;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    transparent 35deg,
    rgba(6, 77, 80, 0.32) 60deg,
    #064d50 80deg,
    #0c7c80 90deg,
    #064d50 100deg,
    rgba(6, 77, 80, 0.32) 120deg,
    transparent 145deg,
    transparent 215deg,
    rgba(6, 77, 80, 0.32) 240deg,
    #064d50 260deg,
    #0c7c80 270deg,
    #064d50 280deg,
    rgba(6, 77, 80, 0.32) 300deg,
    transparent 325deg,
    transparent 360deg
  ) !important;
  animation: star-border-rotate 4s linear infinite !important;
  pointer-events: none;
}

/* Inner card background mask leaving a crisp 1.5px border outline */
.site-header .header-cta-link::after,
.site-header .nav-cta::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  background: #ffffff;
  border-radius: inherit;
  z-index: -1;
  transition: background .3s var(--ease-out);
  pointer-events: none;
}

/* Hover state: NO orange background! Enhanced dark teal Star Border glow */
.site-header .header-cta-link:hover,
.site-header .nav-cta:hover,
.site-header .header-cta-link:focus-visible,
.site-header .nav-cta:focus-visible {
  color: #0d1a29 !important;
  border-color: #064d50 !important;
  box-shadow: 0 4px 20px rgba(6, 77, 80, 0.42), 0 0 24px rgba(6, 77, 80, 0.3) !important;
}

.site-header .header-cta-link:hover::after,
.site-header .nav-cta:hover::after,
.site-header .header-cta-link:focus-visible::after,
.site-header .nav-cta:focus-visible::after {
  background: #fbfefe;
}

.site-header .header-cta-link:hover .arr,
.site-header .nav-cta:hover .arr {
  transform: translateX(4px);
  color: #0d1a29;
}

.site-header .header-cta-link:hover .serif,
.site-header .nav-cta:hover .serif {
  color: var(--teal) !important;
}

/* Ensure no legacy orange scale animation takes over on hover */
.site-header .header-cta-link:hover::before,
.site-header .nav-cta:hover::before,
.site-header .header-cta-link:focus-visible::before,
.site-header .nav-cta:focus-visible::before {
  animation: star-border-rotate 4s linear infinite !important;
}

@keyframes star-border-rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.site-header .mobile-nav-toggle {
  display: none;
  color: #032125;
}

.site-footer,
.footer {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  background: #0d1a29;
  color: #fff;
  padding: clamp(80px, 9vh, 110px) 0 clamp(28px, 3.5vh, 40px);
  position: relative;
  z-index: 2;
  scroll-margin-top: 70px;
}

.site-footer>.wrap:first-child,
.footer>.wrap:first-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site-footer .footer-top,
.footer .ft-top {
  margin-bottom: 0;
  row-gap: clamp(32px, 4vh, 52px);
  column-gap: clamp(24px, 3vw, 48px);
}

.site-footer .footer-brand-logo img,
.footer .ft-brand img {
  width: clamp(240px, 18vw, 290px);
  height: auto;
  margin-bottom: clamp(22px, 3vh, 32px);
}

.site-footer .footer-brand p,
.footer .ft-brand p {
  font-size: clamp(1.44rem, 1.68vw, 1.75rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, .88);
  max-width: 34ch;
  letter-spacing: -.01em;
}

.site-footer .footer-col-title,
.footer .ft-col h3 {
  font-size: clamp(1.1rem, 1.26vw, 1.38rem);
  letter-spacing: .12em;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  margin-bottom: clamp(20px, 2.8vh, 30px);
}

.site-footer .footer-links,
.footer .ft-col ul {
  display: grid;
  gap: clamp(12px, 1.8vh, 18px);
}

.site-footer .footer-links a,
.footer .ft-col a {
  font-size: clamp(1.32rem, 1.5vw, 1.56rem);
  line-height: 1.35;
  color: rgba(255, 255, 255, .9);
}

.site-footer .footer-links a:hover,
.footer .ft-col a:hover {
  color: var(--orange);
}

.site-footer .footer-contact-info,
.footer .ft-contact {
  display: grid;
  gap: clamp(16px, 2.2vh, 24px);
  font-size: clamp(1.26rem, 1.42vw, 1.46rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .9);
}

.site-footer .footer-contact-info .ic,
.footer .ft-contact .ic {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.site-footer .footer-contact-info svg,
.footer .ft-contact svg {
  width: clamp(22px, 1.6vw, 26px);
  height: clamp(22px, 1.6vw, 26px);
  flex: none;
  margin-top: 4px;
}

.site-footer .footer-bottom,
.footer .ft-bottom {
  font-size: clamp(1.05rem, 1.2vw, 1.22rem);
  padding-top: clamp(28px, 4vh, 42px);
  padding-inline: var(--side);
  color: rgba(255, 255, 255, .7);
}

.site-footer .footer-bottom nav,
.footer .ft-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 2.4vw, 36px);
}

.site-footer .footer-bottom nav a,
.footer .ft-bottom nav a {
  color: rgba(255, 255, 255, .7);
}

.site-footer .footer-bottom nav a:hover,
.footer .ft-bottom nav a:hover {
  color: #fff;
}

.ft-mark {
  display: none !important;
}

#site-header {
  background: #fff !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.tr-hero,
.tr-scene,
.stats {
  --orange: #fff;
  --orange-2: #fff;
}

.chat-glass {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 156px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.chat-logo {
  display: block;
  width: 150px;
  height: 39px;
  padding: 3px 7px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(16, 37, 50, .08);
  border-radius: 7px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, .14);
}

#chat-fab {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100px;
  height: 100px;
  padding: 13px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: radial-gradient(circle at 27% 17%, rgba(255, 255, 255, .48), transparent 36%), linear-gradient(148deg, #42e5c4 0%, #12c7a9 43%, #079384 100%);
  color: #fff;
  box-shadow: 0 13px 26px rgba(0, 91, 84, .32), 0 4px 8px rgba(4, 32, 39, .2), inset 0 2px 2px rgba(255, 255, 255, .72), inset 0 -7px 11px rgba(0, 73, 73, .25);
  transition: transform .28s var(--ease-out), filter .28s, box-shadow .28s;
}

#chat-fab::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 3px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, .24), transparent 46%, rgba(0, 54, 59, .1));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .45);
}

#chat-fab:hover,
#chat-fab:focus-visible {
  filter: brightness(1.06) saturate(1.04);
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 18px 30px rgba(0, 91, 84, .37), 0 5px 10px rgba(4, 32, 39, .22), inset 0 2px 2px rgba(255, 255, 255, .78), inset 0 -7px 11px rgba(0, 73, 73, .24);
}

#chat-fab:active {
  transform: translateY(0) scale(.97);
}

#chat-fab svg {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  flex: none;
  stroke-width: 2.2;
  filter: drop-shadow(0 1px 1px rgba(0, 49, 52, .22));
}

.chat-tag {
  position: relative;
  z-index: 1;
  color: inherit;
  font-size: .8rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .005em;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(0, 59, 58, .24);
}

.chat-close-float {
  position: absolute;
  top: -16px;
  right: -8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: linear-gradient(145deg, #ff7471, #e83c43 72%);
  color: #fff;
  font-size: 0;
  box-shadow: 0 5px 12px rgba(74, 14, 20, .25), inset 0 1px 1px rgba(255, 255, 255, .55);
  transition: transform .22s var(--ease-out), filter .22s, box-shadow .22s;
}

.chat-close-float:hover,
.chat-close-float:focus-visible {
  transform: translateY(-2px) scale(1.06);
  filter: brightness(1.06);
  box-shadow: 0 8px 16px rgba(74, 14, 20, .3), inset 0 1px 1px rgba(255, 255, 255, .6);
}

.chat-close-float::before,
.chat-close-float::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 15px;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.chat-close-float::before {
  transform: rotate(45deg);
}

.chat-close-float::after {
  transform: rotate(-45deg);
}

@media (max-width: 960px) {
  .site-header .main-nav {
    display: none;
  }

  .site-header .mobile-nav-toggle {
    display: block;
  }
}

@media (max-width: 560px) {
  #chat-stack {
    right: 34px;
    bottom: 14px;
    width: 134px;
    height: 120px;
  }

  .chat-glass {
    width: 140px;
    gap: 6px;
  }

  .chat-logo {
    width: 136px;
    height: 35px;
  }

  #chat-fab {
    width: 84px;
    height: 84px;
    min-width: 84px;
    min-height: 84px;
    padding: 10px 5px;
    gap: 6px;
  }

  #chat-fab svg {
    width: 25px;
    height: 25px;
  }

  .chat-tag {
    font-size: .73rem;
  }

  .chat-close-float {
    top: -13px;
    right: 0;
    width: 30px;
    height: 30px;
  }

  .chat-close-float::before,
  .chat-close-float::after {
    left: 8px;
    top: 13px;
    width: 12px;
  }
}

/* Deep-space hero treatment using the original globe video asset. */
.hero,
.hero-stage,
.talk,
.talk-stage {
  background: #06142b;
}

.hero-stage::before {
  content: none;
}

.hero-canvas {
  display: block !important;
}

#globe {
  display: block !important;
}

.hero-fallback {
  display: none !important;
}

.hero-vignette {
  background: radial-gradient(120% 90% at 50% 55%, transparent 24%, rgba(6, 20, 43, .2) 58%, rgba(6, 20, 43, .92) 100%), linear-gradient(180deg, rgba(6, 20, 43, .32), transparent 30%, rgba(6, 20, 43, .86));
}

.hero-wash {
  background: var(--ink);
}

.hero-meta .wrap,
.hero-meta .scroll-cue {
  color: #fff;
}

.frame-title {
  mix-blend-mode: normal;
  color: #fff !important;
}

.frame-title h1,
.frame-title .t-xxl,
.frame-title .hero-title {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

.frame-title .serif,
.frame-title .hero-title .serif {
  color: var(--orange-2) !important;
  -webkit-text-fill-color: var(--orange-2) !important;
}

.site-header .nav-link .nl-b {
  color: #123b72;
}

.nav-link[aria-current="page"]::after {
  background: #123b72;
}

.site-header .nav-link::after {
  background: #123b72;
}

/* Keep older generated menu pages on the same compact launcher treatment. */
#chat-stack>#chat-fab {
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
  border-radius: 50%;
  padding: 13px 7px;
  flex-direction: column;
  justify-content: center;
}

#chat-stack>#chat-fab span {
  display: inline;
}

#chat-stack>#chat-fab svg {
  width: 28px;
  height: 28px;
}

#chat-stack>.chat-close-float {
  position: absolute;
  top: -16px;
  right: 0;
  width: 34px;
  height: 34px;
}

@media (max-width: 560px) {
  #chat-stack>#chat-fab {
    width: 84px;
    height: 84px;
    min-width: 84px;
    min-height: 84px;
    padding: 10px 5px;
  }

  #chat-stack>#chat-fab svg {
    width: 25px;
    height: 25px;
  }

  #chat-stack>.chat-close-float {
    top: -13px;
    right: 0;
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {

  #chat-fab,
  .chat-close-float {
    transition: none;
  }
}

.reduced .op-stage {
  height: auto;
  padding-block: var(--section);
}

.reduced .op-items {
  height: auto;
  display: grid;
  gap: 14px;
}

.reduced .op-item {
  position: static;
  font-size: var(--t-l);
}

.reduced .op-right {
  height: auto;
  display: grid;
  gap: 14px;
}

.reduced .op-card {
  position: relative;
  aspect-ratio: 16 / 9;
}

.reduced .op-float,
.reduced .op-progress {
  display: none;
}

.reduced .closing-stage {
  height: 80vh;
}

/* challenges — pinned sequence (desktop, JS-driven): pairs share one stage */
@media (min-width: 901px) {
  .challenges.is-sequenced {
    padding-bottom: 0;
  }

  .challenges.is-sequenced .ch-head {
    margin-bottom: clamp(24px, 3vw, 42px);
  }

  .challenges.is-sequenced .ch-list {
    position: relative;
    display: block;
    height: 100vh;
    height: 100svh;
  }

  .challenges.is-sequenced .ch-item {
    position: absolute;
    inset: 0;
    align-content: center;
    padding-top: calc(var(--nav-h) * .5);
    visibility: hidden;
  }

  .challenges.is-sequenced .ch-card {
    width: min(100%, calc((100vh - var(--nav-h) - 96px) * 1.5));
  }

  .challenges.is-sequenced .ch-item:nth-child(2) .ch-card {
    justify-self: end;
  }
}

/* leadership — room for the last leader to reach the centre */
@media (min-width: 901px) {
  .ld-track {
    padding-right: calc(50vw - clamp(270px, 23vw, 350px) / 2);
  }
}
/* Extracted verbatim from the original assets/css/site.css, lines 5328-5558.
   Import order is defined in styles/index.css and must not change. */
/* =========================================================================
   UI/UX REFINEMENTS — Oct 2026
   (1) hero CTA · (2) hero composition · (4) challenge images · (5) sticky header
   (6) track record · (7) header cursor · (8) chat launcher
   ========================================================================= */

/* (5) Sticky header: always visible; anchors land below it */
html {
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

.nav.is-hidden {
  transform: none;
}

/* (1) Hero primary CTA — single, high-contrast accent button.
   Ink text on orange = 6.9:1 contrast (WCAG AA for small text). */
.btn-accent {
  min-height: 60px;
  padding: 0 30px 0 34px;
  gap: 14px;
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 18px 40px -16px rgba(242, 107, 31, .75), inset 0 0 0 1px rgba(255, 255, 255, .12);
  transition: color .35s var(--ease-out), box-shadow .45s var(--ease-out), transform .45s var(--ease-out);
}

.btn-accent::before {
  background: var(--white);
}

.btn-accent:hover,
.btn-accent:focus-visible {
  color: var(--ink);
  box-shadow: 0 24px 50px -14px rgba(242, 107, 31, .9), inset 0 0 0 1px rgba(255, 255, 255, .3);
}

.btn-accent:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.btn-accent .arr {
  width: 18px;
  height: 18px;
}

.btn-accent:active {
  transform: scale(.97);
}

/* (2) Hero composition — text column on the left over the clear background;
   the 3D scene keeps itself out of this column (see src/hero.js "exclusion"). */
.hero-copy {
  justify-content: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: clamp(60px, 10vh, 120px);
}

.hero-copy .wrap {
  width: 100%;
}

.hero-copy-in {
  max-width: min(56vw, 760px);
}

.hero-title {
  max-width: 15ch;
  font-size: clamp(2.8rem, 5.2vw, 5.6rem);
  line-height: 1.02;
}

.hero-sub {
  margin-top: clamp(20px, 3.4vh, 32px);
  display: grid;
  justify-items: start;
  gap: clamp(20px, 3.4vh, 30px);
}

.hero-sub p {
  max-width: 32ch;
}

@media (max-width: 1024px) {
  .hero-copy-in {
    max-width: min(70vw, 640px);
  }

  .hero-title {
    font-size: clamp(2.2rem, 4.8vw, 3.4rem);
    max-width: 16ch;
    line-height: 1.05;
  }

  .hero-sub p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
  }
}

@media (max-width: 600px) {
  .hero-sub .btn-accent {
    min-height: 56px;
  }
}

/* Final color overrides requested for the hero CTA and page transition. */
.hero .btn-accent {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .35);
}

.hero .btn-accent::before {
  background: #123b72;
}

.hero .btn-accent:hover,
.hero .btn-accent:focus-visible {
  color: #fff;
  box-shadow: 0 22px 44px -16px rgba(18, 59, 114, .65), inset 0 0 0 1px rgba(255, 255, 255, .35);
}

/* landscape phones: compact column */
@media (min-aspect-ratio: 11/10) and (max-height: 520px) {
  .hero-copy {
    padding-top: calc(var(--nav-h) + 8px);
    padding-bottom: 24px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8.4vh, 3rem);
  }

  .hero-sub {
    margin-top: 12px;
    gap: 12px;
  }

  .hero-sub p {
    font-size: .95rem;
  }

  .btn-accent {
    min-height: 48px;
  }

  .hero-meta {
    display: none;
  }
}

/* (4) Challenge images: frame matches the 3:2 artwork and the image rests at 1:1,
   so embedded titles/labels are never cropped. Pointer motion zooms in a little
   and only drifts inside that zoom margin (site.js), then returns to full view. */
.ch-card .tilt-frame,
.ch-item:nth-child(3) .ch-card .tilt-frame {
  aspect-ratio: 3 / 2;
}

.ch-card .tilt-frame img {
  transform: none;
  object-fit: cover;
  object-position: 50% 50%;
}

.ch-card .tilt-tag {
  left: auto;
  right: 22px;
}

@media (max-width: 900px) {
  .ch-card .tilt-chip {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    max-width: none;
    margin-top: 14px;
    box-shadow: 0 16px 40px -24px rgba(11, 12, 14, .45);
  }

  .ch-card .tilt-tag {
    right: 10px;
    top: 10px;
    bottom: auto;
    padding: 7px 11px;
    font-size: .7rem;
  }
}

/* (7) Custom cursor — smaller focus circle inside the header only */
.cursor.in-nav .cursor-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
}

.cursor.in-nav.is-link .cursor-dot {
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
}

/* (8) Chat — launcher hides while the chat window is open */
#chat-stack {
  transition: opacity .2s ease, transform .25s var(--ease-out), visibility 0s linear 0s;
}

#chat-stack.is-hidden {
  opacity: 0;
  transform: translateY(8px) scale(.94);
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .2s ease, visibility 0s linear .2s;
}

#chat-panel {
  bottom: 20px;
}

.reduced .tr-counter {
  display: none;
}

#chat-panel:not(.is-open) {
  pointer-events: none;
}

/* a closing panel never blocks the launcher */

/* Extracted verbatim from the original assets/css/site.css, lines 5559-6384.
   Import order is defined in styles/index.css and must not change. */
/* Mobile layout refinements shared by every page. */
@media (max-width: 700px) {
  :root {
    --side: 20px;
    --section: clamp(64px, 18vw, 96px);
    --nav-h: 64px;
  }

  body {
    font-size: 1rem;
  }

  .site-header .header-inner {
    padding-inline: var(--side);
    gap: 12px;
  }

  .site-header .nav-logo {
    width: 136px;
  }

  .site-header .nav-toggle {
    display: block;
    width: 44px;
    height: 44px;
    color: var(--ink);
  }

  .menu {
    padding: calc(var(--nav-h) + 16px) var(--side) 24px;
  }

  .menu-list a {
    font-size: clamp(1.08rem, 5.4vw, 1.5rem);
    padding-block: 8px;
    line-height: 1.1;
  }

  .menu-list a small {
    font-size: clamp(0.48rem, 2vw, 0.58rem);
  }

  .menu-foot {
    margin-top: 16px;
    font-size: clamp(0.68rem, 2.8vw, 0.78rem);
  }

  .menu-foot p {
    font-size: inherit;
  }

  .site-header .nav-link,
  .site-header .header-cta-link,
  .site-header .nav-cta {
    font-size: clamp(0.58rem, 2.4vw, 0.72rem);
    padding: 6px 14px;
  }

  .hero,
  .talk {
    height: auto;
    min-height: 0;
    background: #06142b !important;
  }

  .hero-stage,
  .talk-stage {
    position: relative;
    top: auto;
    min-height: 0;
    height: clamp(560px, calc(100svh - var(--nav-h)), 760px);
    display: block;
    overflow: hidden;
    padding: 0;
    background: #06142b !important;
  }

  .hero-canvas,
  #globe {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    touch-action: pan-y !important;
    pointer-events: none !important;
    cursor: default !important;
  }

  .hero-vignette {
    z-index: 2;
    background: radial-gradient(ellipse at 50% 31%, rgba(19, 61, 91, .24), transparent 48%), linear-gradient(180deg, rgba(6, 20, 43, .2), transparent 30%, rgba(6, 20, 43, .45) 80%, rgba(6, 20, 43, .92) 100%);
  }

  .hero-meta {
    top: calc(var(--nav-h) + 12px);
  }

  .hero-meta .wrap {
    font-size: .61rem;
    letter-spacing: .1em;
  }

  .scroll-cue {
    gap: 7px;
  }

  .scroll-cue i {
    height: 24px;
  }

  .hero-copy {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--nav-h) + 16px) var(--side) clamp(28px, 5vh, 48px);
    pointer-events: none;
  }

  .hero-copy .wrap {
    width: 100%;
    padding: 0;
    pointer-events: none;
  }

  .hero-copy-in {
    width: 100%;
    max-width: min(48vw, 220px);
    pointer-events: auto;
  }

  .hero-title {
    width: 100%;
    max-width: none;
    font-size: clamp(1.3rem, 5.2vw, 1.75rem);
    line-height: 1.1;
    letter-spacing: -.035em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-sub {
    margin-top: 10px;
    gap: 8px;
  }

  .hero-sub p {
    max-width: 20ch;
    font-size: clamp(.78rem, 3vw, .92rem);
    line-height: 1.35;
    color: rgba(255, 255, 255, .9);
  }

  .hero-sub .btn-accent {
    min-height: 44px;
    padding-inline: 15px;
    font-size: .78rem;
  }

  .hero-wash {
    display: none;
  }

  .story-media {
    gap: 10px;
  }

  .story-media figure {
    border-radius: 10px;
  }

  .story-quote {
    font-size: calc(1.05rem * 1.3) !important;
  }

  .ch-item {
    row-gap: 0;
  }

  .ch-copy {
    min-width: 0;
  }

  .ch-copy .ch-num {
    font-size: 4.5rem;
  }

  .ch-copy dd {
    font-size: .98rem;
  }

  .ch-list {
    gap: 52px;
  }





  .closing {
    min-height: 72svh;
  }

  .closing-ui {
    padding-inline: var(--side);
  }

  .closing-ui.closing-ui-left,
  .closing:has(.closing-image) .closing-ui {
    padding-inline: 0 !important;
    padding-left: 0 !important;
  }

  .closing-word-long {
    padding-inline: var(--side);
    font-size: clamp(2.6rem, 13vw, 4.5rem);
  }

  .ft-top {
    row-gap: 32px;
  }

  .ft-brand img {
    width: min(186px, 62vw);
  }

  .ft-mark {
    white-space: normal;
    font-size: clamp(3rem, 16vw, 5.5rem);
    line-height: .9;
  }

  .ft-bottom {
    padding-inline: 0;
  }

  .ft-bottom nav {
    gap: 12px 18px;
  }

  .phero {
    min-height: 88svh;
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: 40px;
  }

  .phero-kicker {
    margin-bottom: 16px;
  }

  .phero-title {
    font-size: clamp(2.8rem, 13vw, 4.6rem);
    max-width: 12ch;
  }

  .phero-foot {
    margin-top: 22px;
    gap: 16px;
  }

  .phero-foot p {
    font-size: 1rem;
  }

  .frame-hero {
    height: 150svh;
  }

  .frame-stage {
    height: 100svh;
  }

  .frame-hero,
  .frame-stage {
    min-height: 680px;
  }

  .frame-title {
    top: calc(var(--nav-h) + 14px);
  }

  .frame-img {
    clip-path: inset(20% 8% 18% 8% round 14px);
  }

  .frame-title .hero-title,
  .frame-title .t-xxl {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    line-height: 1.1;
  }

  .frame-sub {
    bottom: 28px;
  }

  .frame-sub .wrap {
    display: grid;
    gap: 12px;
  }

  .frame-sub p {
    font-size: .98rem;
  }

  .statement-kicker {
    margin-bottom: 22px;
  }

  .statement-foot {
    margin-top: 24px;
  }

  .pt-row {
    row-gap: 0;
  }

  .pt-label h3 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .pt-body {
    font-size: 1.2rem;
  }

  .frame-hero,
  .frame-stage,
  .pt-row,
  .pt-label,
  .pt-body {
    animation: none !important;
  }

  .frame-stage {
    position: relative;
    top: auto;
  }

  .frame-img {
    clip-path: none;
  }

  .ld-pin {
    padding-block: var(--section);
  }

  .ld-head {
    margin-bottom: 28px;
  }

  .ld-card {
    max-width: 440px;
  }

  .ld-card .tilt-frame {
    aspect-ratio: 1 / 1;
    background: #ffffff;
  }

  .sol-hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 52px);
    padding-bottom: 40px;
  }

  .sol-word {
    gap: 10px;
    padding-block: 12px;
  }

  .sol-word .n {
    font-size: .65rem;
  }

  .sol-word .w {
    font-size: clamp(2rem, 10vw, 3.5rem);
    overflow-wrap: anywhere;
  }

  .sol-photo {
    width: min(72%, 280px);
  }

  .sol-hero-foot {
    margin-top: 20px;
  }

  .stack-head {
    padding-block: var(--section) 36px;
  }

  .stack-card {
    margin-bottom: 18px;
  }

  .stack-in {
    border-radius: 14px;
  }

  .stack-media {
    aspect-ratio: 1672 / 941;
    width: 100%;
    height: auto;
  }

  .stack-body {
    gap: 20px;
    padding: 22px;
  }

  .stack-body .n {
    font-size: 4.5rem;
  }

  .stack-body h3 {
    font-size: clamp(1.8rem, 9vw, 2.8rem);
    margin: 10px 0 12px;
  }

  .stack-body p {
    font-size: .98rem;
  }

  .stack-body .stack-ticks li {
    font-size: .98rem;
  }

  .jr-stage {
    height: auto;
    min-height: 680px;
    padding-top: 0;
  }

  .jr-head {
    position: relative;
    top: auto;
    padding-top: calc(var(--nav-h) + 24px);
  }

  .jr-head .wrap {
    display: grid;
    gap: 12px;
  }

  .jr-world {
    position: relative;
    height: 380px;
  }

  .jr-panel {
    position: relative;
    bottom: auto;
    padding: 24px 0 32px;
    background: var(--paper);
  }

  .jr-panel .wrap {
    height: auto;
    min-height: 210px;
  }

  .jr-step {
    left: 0;
    right: 0;
    gap: 7px;
  }

  .jr-step h3 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .jr-step p {
    font-size: 1rem;
  }

  .journey.static-journey .jr-stage {
    min-height: 0;
    padding: 32px 0 24px;
  }

  .journey.static-journey .jr-world {
    display: none;
  }

  .journey.static-journey .jr-head {
    margin-bottom: 20px;
  }

  .journey.static-journey .jr-panel {
    padding: 0;
  }

  .journey.static-journey .jr-panel .wrap {
    display: grid;
    gap: 26px;
    min-height: 0;
  }

  .journey.static-journey .jr-step {
    position: relative;
    left: auto;
    right: auto;
    opacity: 1;
  }

  .talk {
    padding: 0;
  }

  .talk-grid {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-content: center;
    align-items: center;
    gap: 12px;
    padding: calc(var(--nav-h) + 4px) var(--side) 20px;
  }

  .talk-left {
    grid-column: 1;
    min-width: 0;
    padding: 0;
  }

  .talk-left .t-xxl {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: .96;
  }

  .talk-left .eyebrow {
    font-size: .65rem;
    letter-spacing: .11em;
  }

  .talk-contacts {
    margin-top: 18px;
    gap: 11px;
  }

  .talk-contacts .row {
    padding-top: 9px;
    font-size: 1.1rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .talk-contacts .row span {
    font-size: .88rem;
    margin-bottom: 3px;
  }

  .talk-form {
    grid-column: 2;
    min-width: 0;
    padding: 14px 12px;
    border-radius: 13px;
  }

  .talk-form h2 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .talk-form .field input,
  .talk-form .field textarea {
    padding-top: 13px;
    font-size: .74rem;
  }

  .talk-form .check {
    gap: 7px;
    font-size: .65rem;
    line-height: 1.3;
  }

  .talk-form .btn {
    min-height: 42px;
    padding-inline: 12px;
  }

  .talk-stage>.hero-meta {
    z-index: 5;
  }

  .talk-stage>.hero-vignette {
    z-index: 1;
  }

  .talk-stage .talk-grid {
    pointer-events: none;
  }

  .talk-stage .talk-left,
  .talk-stage .talk-form {
    pointer-events: auto;
  }

  .field input,
  .field textarea {
    padding-top: 20px;
  }

  #chat-stack {
    right: 10px;
    bottom: 10px;
    transform: none;
  }

  #chat-panel {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    max-height: min(70svh, 560px);
  }
}

@media (max-width: 700px) {

  /* Complete native header rules (the site skin overrides the base nav). */
  .site-header {
    height: var(--nav-h);
  }

  .site-header .header-inner {
    padding-inline: var(--side);
  }

  .site-header .nav-toggle {
    display: block !important;
  }

  .site-header .main-nav {
    display: none !important;
  }

  .talk-form {
    grid-column: 2;
  }

  /* Avoid leaving scroll-driven pin spacers on touch screens. */
  .frame-hero {
    height: 120svh;
  }

  .frame-stage {
    position: relative;
    top: auto;
  }

  .leaders .ld-pin {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .leaders .ld-track {
    transform: none !important;
  }

  .journey.static-journey .jr-stage {
    height: auto;
  }
}

@media (max-width: 380px) {
  :root {
    --side: 16px;
  }

  .hero-stage,
  .talk-stage {
    height: min(680px, calc(100svh - var(--nav-h)));
  }

  .hero-copy-in {
    width: 100%;
    max-width: min(48vw, 185px);
  }

  .hero-title {
    font-size: clamp(1.18rem, 5vw, 1.45rem);
    line-height: 1.1;
    max-width: none;
  }

  .hero-meta .wrap {
    font-size: .54rem;
  }

  .sol-word .w {
    font-size: clamp(1.8rem, 9.5vw, 2.4rem);
  }

  .op-progress {
    letter-spacing: .08em;
  }

  #chat-stack {
    transform: none;
  }
}

@media (min-width: 381px) and (max-width: 700px) {
  .talk-grid {
    gap: 16px;
  }
}

@media (max-width: 360px) {

  .hero-stage,
  .talk-stage {
    height: min(620px, calc(100svh - var(--nav-h)));
  }

  .hero-copy-in {
    width: 100%;
    max-width: min(48vw, 185px);
  }

  .hero-title {
    font-size: 1.25rem;
    line-height: 1.1;
  }

  .hero-sub p {
    font-size: .78rem;
  }

  .talk-grid {
    gap: 9px;
    padding-inline: 12px;
  }

  .talk-left .t-xxl {
    font-size: 1.52rem;
  }

  .talk-contacts .row {
    font-size: .68rem;
  }

  .talk-form {
    padding: 12px 9px;
  }
}

@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .frame-hero {
    height: auto;
  }

  .frame-stage {
    min-height: 620px;
  }

  .frame-img {
    clip-path: none;
  }

  .journey .jr-stage {
    min-height: 0;
    padding: 32px 0 24px;
  }

  .journey .jr-world {
    display: none;
  }

  .journey .jr-head {
    position: relative;
    top: auto;
    margin-bottom: 20px;
  }

  .journey .jr-panel {
    position: relative;
    padding: 0;
  }

  .journey .jr-panel .wrap {
    display: grid;
    gap: 26px;
    min-height: 0;
    height: auto;
  }

  .journey .jr-step {
    position: relative;
    left: auto;
    right: auto;
    opacity: 1;
  }

  .tr-pin {
    height: auto;
    min-height: 0;
    padding-block: 24px;
  }

  .tr-slide {
    min-height: 320px;
  }

  .tr-slides {
    display: grid;
    height: auto;
    gap: 24px;
    padding-block: 24px 64px;
  }
}

@media (max-width: 700px) {
  #chat-stack {
    right: 10px;
    bottom: 10px;
    transform: scale(.5);
    transform-origin: bottom right;
  }
}

/* Extracted verbatim from the original assets/css/site.css, lines 6385-6479.
   Import order is defined in styles/index.css and must not change. */
/* Improve text contrast across the site's dark panels. */
.on-ink :where(h1, h2, h3, h4, p, li, dt, dd, blockquote, span) {
  color: #fff;
}

.on-ink .stack-body .n,
.on-ink .ld-meta .role {
  color: #fff;
}

.footer :where(p, li, a, span),
.footer .ft-col h3,
.footer .ft-brand p,
.menu-foot,
.menu-foot p,
.menu-list a small,
.talk-contacts .row span {
  color: #fff;
}

.on-ink .statement-foot p,
.on-ink .ld-head p,
.on-ink .ld-meta p,
.on-ink .stack-body p {
  color: #fff;
}

.hero-sub p {
  color: #fff;
}

/* Supplied transparent PNG is the complete launcher artwork. */
#chat-stack {
  width: 180px;
  height: 190px;
}

#chat-stack .chat-glass>#chat-fab {
  position: relative;
  display: block;
  width: 150px;
  min-width: 150px;
  height: 150px;
  min-height: 150px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  filter: none;
  transition: transform .25s var(--ease-out);
}

#chat-stack .chat-glass>#chat-fab::before,
#chat-stack .chat-glass>#chat-fab::after {
  content: none;
}

#chat-stack .chat-launcher-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

#chat-stack .chat-glass>#chat-fab:hover,
#chat-stack .chat-glass>#chat-fab:focus-visible {
  transform: translateY(-3px) scale(1.035);
}

#chat-stack .chat-glass>#chat-fab:active {
  transform: translateY(0) scale(.985);
}

@media (max-width: 560px) {
  #chat-stack {
    height: 184px;
  }

  #chat-stack .chat-glass>#chat-fab {
    width: 136px;
    min-width: 136px;
    height: 136px;
    min-height: 136px;
  }
}

/* Extracted verbatim from the original assets/css/site.css, lines 6480-7024.
   Import order is defined in styles/index.css and must not change. */
/* Mobile spacing and content flow. Desktop scroll choreography remains intact. */
@media (max-width: 900px),
(pointer: coarse) {

  .hero-canvas,
  #globe {
    touch-action: pan-y !important;
    pointer-events: none !important;
    cursor: default !important;
  }
}

@media (max-width: 900px) {
  :root {
    --section: clamp(56px, 8vw, 76px);
  }



  .journey.mobile-flow .jr-stage {
    height: auto;
    min-height: 0;
    padding: 0 0 28px;
    overflow: hidden;
  }

  .journey.mobile-flow .jr-head {
    position: relative;
    inset: auto;
    margin-bottom: 14px;
    padding-top: calc(var(--nav-h) + 20px);
  }

  .journey.mobile-flow .jr-world {
    display: block;
    position: relative;
    inset: auto;
    height: clamp(135px, 26vw, 210px);
    overflow: hidden;
  }

  .journey.mobile-flow .jr-panel {
    position: relative;
    inset: auto;
    padding: 12px 0 0;
    background: var(--paper);
  }

  .journey.mobile-flow .jr-panel .wrap {
    height: auto;
    min-height: 0;
    display: grid;
    gap: 0;
  }

  .journey.mobile-flow .jr-step {
    position: relative;
    inset: auto;
    display: grid;
    opacity: 1;
    padding-block: 18px;
    border-bottom: 1px solid var(--line-l);
  }
}

@media (max-width: 700px) {
  :root {
    --side: 20px;
    --section: clamp(48px, 14vw, 64px);
    --nav-h: 64px;
  }

  .hero-stage,
  .talk-stage {
    height: clamp(560px, calc(100svh - var(--nav-h)), 760px);
  }

  .hero-copy {
    justify-content: center;
    padding: calc(var(--nav-h) + 16px) var(--side) clamp(28px, 5vh, 48px);
  }

  .hero-copy-in {
    width: 100%;
    max-width: min(48vw, 215px);
    min-width: 0;
  }

  .hero-title {
    width: 100%;
    max-width: none;
    font-size: clamp(1.3rem, 5.2vw, 1.75rem);
    line-height: 1.1;
    letter-spacing: -.035em;
  }

  .hero-sub {
    margin-top: 10px;
    gap: 8px;
  }

  .hero-sub p {
    max-width: 20ch;
    font-size: clamp(.78rem, 3vw, .92rem);
  }

  .story {
    padding-block: 52px 48px;
  }

  .story-head {
    gap: 16px;
    margin-bottom: 28px;
  }

  .story-media {
    margin-top: 24px;
  }

  .challenges {
    padding-block: 52px 40px;
  }

  .ch-head {
    margin-bottom: 24px;
  }

  .ch-list {
    gap: 40px;
  }

  .ch-item .ch-copy,
  .ch-item:nth-child(n) .ch-copy {
    margin-top: 18px;
  }

  .closing {
    min-height: 60svh;
  }

  .phero {
    min-height: clamp(440px, 76svh, 660px);
    padding-top: calc(var(--nav-h) + 24px);
    padding-bottom: 32px;
  }

  .phero-title {
    max-width: 12ch;
    font-size: clamp(2.5rem, 12vw, 4.2rem);
    line-height: .98;
    overflow-wrap: normal;
  }

  .phero-foot {
    margin-top: 18px;
    gap: 14px;
  }

  .frame-hero {
    height: clamp(620px, 112svh, 900px);
  }

  .frame-stage {
    height: min(100svh, 760px);
    min-height: 500px;
  }

  .frame-title {
    max-width: calc(100vw - 2 * var(--side));
    top: calc(var(--nav-h) + 12px);
  }

  .frame-title .hero-title,
  .frame-title .t-xxl {
    font-size: clamp(1.3rem, 5.2vw, 1.75rem);
    overflow-wrap: normal;
  }

  .statement,
  .pillars-text {
    padding-block: 52px;
  }

  .statement-kicker {
    margin-bottom: 16px;
  }

  .statement h2,
  .statement .t-xl {
    text-align: left !important;
    text-justify: auto !important;
    -webkit-hyphens: none !important;
    hyphens: none !important;
    word-break: normal !important;
    font-size: clamp(1.85rem, 7.5vw, 2.45rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -.03em !important;
  }

  .statement-foot {
    margin-top: 20px;
  }

  .statement-foot p {
    text-align: left !important;
    text-justify: auto !important;
    -webkit-hyphens: none !important;
    hyphens: none !important;
    font-size: clamp(0.92rem, 3.8vw, 1.05rem) !important;
    line-height: 1.55 !important;
  }

  .pt-row {
    padding-block: 24px;
  }

  .pt-body {
    margin-top: 12px;
    font-size: clamp(1.1rem, 5vw, 1.45rem);
  }

  .leaders .ld-pin {
    padding-block: 48px;
  }

  .leaders .ld-head {
    margin-bottom: 24px;
  }

  .leaders .ld-track {
    gap: 30px;
  }

  .ld-card .ld-meta {
    padding-top: 14px;
  }

  .sol-hero {
    padding-top: calc(var(--nav-h) + 30px);
    padding-bottom: 32px;
  }

  .stack {
    padding-bottom: 48px;
  }

  .stack-head {
    padding-block: 52px 30px;
  }

  .stack-body {
    gap: 18px;
    padding: 20px;
  }

  .stack-card {
    margin-bottom: 16px;
  }

  .talk {
    min-height: 0;
    padding: 0;
    overflow: clip;
  }

  .talk-stage {
    height: auto;
    min-height: 0;
    padding: calc(var(--nav-h) + 4px) 0 36px;
    overflow: hidden;
  }

  .talk-grid {
    position: relative;
    inset: auto;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 26px;
    padding: 0 var(--side);
  }

  .talk-left,
  .talk-form {
    grid-column: 1;
  }

  .talk-left .t-xxl {
    font-size: clamp(2rem, 8.8vw, 3.1rem);
  }

  .talk-contacts {
    margin-top: 20px;
    gap: 12px;
  }

  .talk-form {
    padding: clamp(20px, 6vw, 30px);
    border-radius: 16px;
  }

  .talk-form h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }

  .talk-form .field input,
  .talk-form .field textarea {
    font-size: .95rem;
  }

  .talk-form .check {
    font-size: .82rem;
  }

  .talk-stage .talk-grid,
  .talk-stage .talk-left,
  .talk-stage .talk-form {
    pointer-events: auto;
  }

  .site-footer,
  .footer {
    padding: 48px 0 24px;
  }

  .site-footer .footer-top,
  .footer .ft-top {
    margin-bottom: 32px;
  }
}

@media (max-width: 380px) {
  :root {
    --side: 16px;
  }

  .hero-copy-in {
    width: 100%;
    max-width: min(48vw, 185px);
  }

  .hero-title {
    font-size: clamp(1.18rem, 5vw, 1.45rem);
    line-height: 1.1;
  }

  .talk-form {
    padding: 18px 16px;
  }
}

@media (max-width: 900px) and (orientation: landscape),
(max-width: 700px) and (max-height: 520px) {
  .hero-stage {
    height: min(500px, calc(100svh - var(--nav-h) - 8px));
    min-height: 0;
  }

  .hero-copy {
    justify-content: center;
    padding: calc(var(--nav-h) + 10px) var(--side) 12px;
  }

  .hero-copy-in {
    max-width: min(50vw, 420px);
  }

  .hero-title {
    font-size: clamp(1.35rem, 6vh, 1.8rem);
  }

  .hero-sub {
    margin-top: 8px;
  }

  .hero-sub p {
    font-size: .76rem;
  }

  .hero-meta {
    display: none;
  }
}

/* Always show chatbot launcher on Let's Talk */
body:has(.talk) #chat-stack,
.talk~#chat-stack {
  display: block !important;
}

body:has(.talk) #chat-stack.is-delayed,
.talk~#chat-stack.is-delayed {
  display: flex !important;
}

body:has(.talk) #chat-stack.is-hidden,
body.page-lets-talk #chat-stack.is-hidden {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  display: flex !important;
}

body:has(.talk) .chat-close-float {
  display: none !important;
}

/* Mobile responsive footer typography: reduced by 40% */
@media (max-width: 768px) {

  .site-footer .footer-brand p,
  .footer .ft-brand p {
    font-size: clamp(0.82rem, 3.4vw, 0.92rem) !important;
    line-height: 1.45 !important;
  }

  .site-footer .footer-brand-logo img,
  .footer .ft-brand img {
    width: min(150px, 48vw) !important;
    margin-bottom: 12px !important;
  }

  .site-footer .footer-col-title,
  .footer .ft-col h3 {
    font-size: clamp(0.68rem, 2.7vw, 0.76rem) !important;
    letter-spacing: .12em !important;
    margin-bottom: 10px !important;
  }

  .site-footer .footer-links,
  .footer .ft-col ul {
    gap: 8px !important;
  }

  .site-footer .footer-links a,
  .footer .ft-col a {
    font-size: clamp(0.78rem, 3.2vw, 0.86rem) !important;
    line-height: 1.35 !important;
  }

  .site-footer .footer-contact-info,
  .footer .ft-contact {
    gap: 10px !important;
    font-size: clamp(0.75rem, 3.1vw, 0.84rem) !important;
    line-height: 1.45 !important;
  }

  .site-footer .footer-contact-info .ic,
  .footer .ft-contact .ic {
    gap: 10px !important;
  }

  .site-footer .footer-contact-info svg,
  .footer .ft-contact svg {
    width: 15px !important;
    height: 15px !important;
    margin-top: 2px !important;
  }

  .site-footer .footer-bottom,
  .footer .ft-bottom {
    font-size: clamp(0.64rem, 2.6vw, 0.72rem) !important;
    padding-top: 18px !important;
    line-height: 1.4 !important;
  }

  .site-footer .footer-bottom nav,
  .footer .ft-bottom nav {
    gap: 8px 16px !important;
  }

  .site-footer .footer-bottom nav a,
  .footer .ft-bottom nav a {
    font-size: inherit !important;
  }

  /* Solution page closing image full fit on mobile */
  .closing:has(.closing-image),
  .closing.closing-video-only:has(.closing-image) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .closing:has(.closing-image) .closing-stage {
    height: auto !important;
    min-height: 0 !important;
    position: relative !important;
  }

  .closing:has(.closing-image) .closing-image {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* Track Record hero image full fit on mobile */
  .tr-hero .phero-media picture,
  .tr-hero .phero-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    background: var(--ink) !important;
  }

  /* Mobile navigation header & drawer: font size reduced by 40% */
  .site-header .nav-link,
  .site-header .header-cta-link,
  .site-header .nav-cta {
    font-size: clamp(0.58rem, 2.4vw, 0.72rem) !important;
    padding: 6px 14px !important;
  }

  .site-header .nav-logo img {
    width: clamp(112px, 32vw, 136px) !important;
  }

  .menu-list a {
    font-size: clamp(1.08rem, 5.4vw, 1.5rem) !important;
    padding-block: 8px !important;
    line-height: 1.1 !important;
  }

  .menu-list a small {
    font-size: clamp(0.48rem, 2vw, 0.58rem) !important;
  }

  .menu-foot {
    margin-top: 16px !important;
    gap: 10px !important;
  }

  .menu-foot,
  .menu-foot p,
  .menu-foot p a {
    font-size: clamp(0.68rem, 2.8vw, 0.78rem) !important;
    line-height: 1.4 !important;
  }
}
/* Extracted verbatim from the original assets/css/site.css, lines 7025-7337.
   Import order is defined in styles/index.css and must not change. */
/* =========================================================================
   LET'S TALK PAGE - CENTERED FLOATING CHAT LAUNCHER & MODAL POPUP
   ========================================================================= */
body.page-lets-talk .talk,
body:has(.talk) .talk {
  position: relative !important;
  height: auto !important;
  min-height: 100vh !important;
  min-height: 100svh !important;
  overflow: visible !important;
  padding-top: calc(var(--nav-h) + clamp(20px, 3vh, 36px)) !important;
  padding-bottom: clamp(60px, 8vh, 100px) !important;
}

body.page-lets-talk .talk-stage,
body:has(.talk) .talk-stage {
  position: relative !important;
  top: auto !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

body.page-lets-talk .talk-stage .talk-grid,
body:has(.talk) .talk-stage .talk-grid,
.talk .talk-grid.hero-copy {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: var(--max) !important;
  margin: 0 auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  pointer-events: auto !important;
  z-index: 5 !important;
}

.talk-chat-head {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 16px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto clamp(14px, 2.2vh, 24px);
  padding-inline: var(--side);
  text-align: left;
}

.talk-chat-title {
  grid-column: 1;
  justify-self: start;
  margin: 0;
  white-space: nowrap;
  font-size: clamp(2.6rem, 6.8vw, 6.8rem);
}

.talk-chat-title .serif {
  color: var(--teal);
  padding-inline: 0.04em;
}

.talk-chat-center {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0;
  margin-bottom: clamp(20px, 3vh, 32px);
  text-align: center;
}

.talk-divider {
  position: relative;
  z-index: 6;
  display: block;
  width: 100%;
  height: 1px;
  margin: 0 0 clamp(24px, 3.5vh, 40px);
  border: 0;
  background: #ffffff;
}

body.page-lets-talk #chat-stack,
body:has(.talk) .talk-chat-center #chat-stack {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  top: auto !important;
  z-index: 10 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  margin: 0 auto !important;
  transform: none !important;
  transform-origin: center center !important;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

body.page-lets-talk #chat-stack.is-hidden,
body:has(.talk) .talk-chat-center #chat-stack.is-hidden {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  display: flex !important;
}

body.page-lets-talk #chat-stack.is-delayed,
body:has(.talk) .talk-chat-center #chat-stack.is-delayed {
  display: flex !important;
}

body.page-lets-talk #chat-stack .chat-glass,
body:has(.talk) .talk-chat-center #chat-stack .chat-glass {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  width: auto !important;
  animation: chat-launcher-float 3.6s ease-in-out infinite;
}

body.page-lets-talk #chat-stack .chat-glass:hover,
body:has(.talk) .talk-chat-center #chat-stack .chat-glass:hover {
  animation-play-state: paused;
}

@keyframes chat-launcher-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

body.page-lets-talk .talk-chat-head .chat-logo,
body:has(.talk) .talk-chat-head .chat-logo,
body.page-lets-talk #chat-stack .chat-logo,
body:has(.talk) .talk-chat-center #chat-stack .chat-logo {
  display: block !important;
  grid-column: 2;
  justify-self: center;
  width: 240px !important;
  height: 60px !important;
  padding: 6px 14px !important;
  object-fit: contain !important;
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.page-lets-talk #chat-stack .chat-glass>#chat-fab,
body:has(.talk) .talk-chat-center #chat-stack .chat-glass>#chat-fab {
  position: relative !important;
  display: block !important;
  width: 204px !important;
  min-width: 204px !important;
  height: 204px !important;
  min-height: 204px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  filter: drop-shadow(0 12px 28px rgba(23, 178, 182, 0.35)) !important;
  transition: transform 0.3s var(--ease-out), filter 0.3s ease !important;
}

body.page-lets-talk #chat-stack .chat-glass>#chat-fab:hover,
body:has(.talk) .talk-chat-center #chat-stack .chat-glass>#chat-fab:hover,
body.page-lets-talk #chat-stack .chat-glass>#chat-fab:focus-visible,
body:has(.talk) .talk-chat-center #chat-stack .chat-glass>#chat-fab:focus-visible {
  transform: translateY(-4px) scale(1.04) !important;
  filter: drop-shadow(0 18px 36px rgba(23, 178, 182, 0.5)) !important;
}

body.page-lets-talk #chat-stack .chat-glass>#chat-fab:active,
body:has(.talk) .talk-chat-center #chat-stack .chat-glass>#chat-fab:active {
  transform: translateY(0) scale(0.98) !important;
}

body.page-lets-talk #chat-stack .chat-launcher-image,
body:has(.talk) .talk-chat-center #chat-stack .chat-launcher-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Modal backdrop on Let's Talk page */
.chat-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(4, 14, 30, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.chat-backdrop.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Centered chat modal on Let's Talk page */
body.page-lets-talk #chat-panel,
body:has(.talk) #chat-panel {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 10000 !important;
  width: min(440px, calc(100vw - 32px)) !important;
  max-height: min(620px, calc(100vh - 48px), calc(100svh - 48px)) !important;
  transform: translate(-50%, -46%) scale(0.96) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease, visibility 0.4s !important;
}

body.page-lets-talk #chat-panel.is-open,
body:has(.talk) #chat-panel.is-open {
  transform: translate(-50%, -50%) scale(1) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 700px) {
  .talk-chat-title {
    font-size: clamp(2rem, 8.8vw, 3.1rem);
  }
}

@media (max-width: 600px) {
  body.page-lets-talk #chat-stack .chat-glass>#chat-fab,
  body:has(.talk) .talk-chat-center #chat-stack .chat-glass>#chat-fab {
    width: 172px !important;
    min-width: 172px !important;
    height: 172px !important;
    min-height: 172px !important;
  }

  body.page-lets-talk .talk-chat-head .chat-logo,
  body:has(.talk) .talk-chat-head .chat-logo,
  body.page-lets-talk #chat-stack .chat-logo,
  body:has(.talk) .talk-chat-center #chat-stack .chat-logo {
    width: clamp(148px, 44vw, 200px) !important;
    height: clamp(38px, 11vw, 50px) !important;
    padding: 5px 12px !important;
  }

  body.page-lets-talk #chat-panel,
  body:has(.talk) #chat-panel {
    width: min(400px, calc(100vw - 24px)) !important;
    max-height: calc(100vh - 32px) !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 520px) {
  .talk-chat-head {
    grid-template-columns: auto 1fr;
    column-gap: 12px;
  }
}

@media (max-width: 360px) {
  .talk-chat-head {
    padding-inline: 12px;
  }

  .talk-chat-title,
  .talk-left .t-xxl {
    font-size: 1.52rem;
  }
}

/* Hide floating chatbot launcher & panel on non-Let's-Talk pages */
#chat-stack[hidden],
#chat-panel[hidden],
body:not(.page-lets-talk):not(:has(.talk)) #chat-stack,
body:not(.page-lets-talk):not(:has(.talk)) #chat-panel {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* Nov 2026 UX refinements (new rules only — always keep this import last) */
/* =========================================================================
   UX REFINEMENTS — Nov 2026 (business request; not part of the original site.css)
   Imported LAST from styles/index.css. Legacy files are untouched; every rule
   here is scoped to the element it fixes and documented with its reason.
   ========================================================================= */

/* (1) iOS Safari: no sideways panning.
   `overflow-x: clip` on <body> alone does not stop iOS Safari from panning to
   content that pokes out of the viewport (and iOS < 16 ignores `clip`).
   Putting it on <html> (propagated to the viewport) closes that gap; <body>
   keeps its own clip, so the sticky header and GSAP pins are unaffected. */
html {
  overflow-x: hidden;
  overflow-x: clip;
}

/* (2) Split-heading line masks: let glyph overhangs show.
   SplitText wraps each heading line in .line-mask { overflow: hidden }.
   Italic serif glyphs and tight tracking can draw slightly outside their
   advance box (most visibly with Apple's text renderer), and the mask cut the
   first glyph on the left. A small inline bleed, cancelled by an equal
   negative margin, widens the clip box without moving or re-wrapping text —
   the same technique the original uses vertically (.08em). */
.is-split .line-mask {
  padding-inline: .1em;
  margin-inline: -.1em;
}

/* (3) Home › "One accountable partner" card (desktop).
   The card was capped at 36ch of its 16px body font (~354px) while the
   heading word "accountable" is ~5em of the 4.4rem heading (~353px), so the
   word ran into the card's right padding. The cap now also fits the longest
   heading word plus the card's own left/right padding, keeping the text
   centred with equal padding. Typography is unchanged. */
@media (min-width: 901px) {
  .tiles-copy-in {
    max-width: min(100%, max(36ch, calc(5.4 * clamp(2rem, 5vw, 4.4rem) + 2 * clamp(22px, 3.6vw, 38px))));
  }
}

/* (4) Globe touch: horizontal swipe rotates, vertical swipe scrolls.
   Legacy mobile CSS disabled pointer events on the canvas entirely. */
@media (max-width: 900px), (pointer: coarse) {
  .hero-stage > canvas#globe.hero-canvas {
    pointer-events: auto !important;
    touch-action: pan-y !important;
  }
}

/* (5) Header "Let's Talk" — Star Border (ReactBits-style).
   Two soft lights glide in opposite directions along the top and bottom
   edges of the existing 1.5px outline (the white ::after mask still covers
   the inside), in the button's existing dark teal. Replaces the legacy 320px
   rotating conic tracer on the same ::before; no markup or size change.
   The legacy rule sets `background … !important`, which also beats keyframes,
   so the motion runs through a registered custom property instead
   (Chrome/Edge 85+, Safari 16.4+, Firefox 128+). */
@property --ux-star {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}

html .site-header .header-cta-link.nav-cta::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transform: none;
  background:
    radial-gradient(closest-side, #0c7c80 0%, rgba(6, 77, 80, .55) 45%, rgba(6, 77, 80, 0) 100%),
    radial-gradient(closest-side, #0c7c80 0%, rgba(6, 77, 80, .55) 45%, rgba(6, 77, 80, 0) 100%) !important;
  background-repeat: no-repeat !important;
  background-size: 45% 24px, 45% 24px !important;
  /* top light: right -> left, bottom light: left -> right */
  background-position:
    calc(185% - var(--ux-star) * 270%) -12px,
    calc(-85% + var(--ux-star) * 270%) calc(100% + 12px) !important;
  opacity: .9;
  animation: ux-star-glide 6s linear infinite alternate !important;
}

html .site-header .header-cta-link.nav-cta:hover::before,
html .site-header .header-cta-link.nav-cta:focus-visible::before {
  opacity: 1;
  animation: ux-star-glide 6s linear infinite alternate !important;
}

@keyframes ux-star-glide {
  from {
    --ux-star: 0;
  }

  to {
    --ux-star: 1;
  }
}

/* Reduced motion: a still, subtle outline highlight instead of motion. */
@media (prefers-reduced-motion: reduce) {
  html .site-header .header-cta-link.nav-cta::before,
  html .site-header .header-cta-link.nav-cta:hover::before,
  html .site-header .header-cta-link.nav-cta:focus-visible::before {
    animation: none !important;
    --ux-star: .4;
  }
}

html.reduced .site-header .header-cta-link.nav-cta::before,
html.reduced .site-header .header-cta-link.nav-cta:hover::before {
  animation: none !important;
  --ux-star: .4;
}

/* (6) Track Record closing video — show the whole frame (.closing-video-fit).
   The legacy closing video uses `object-fit: cover` in a 100svh stage. This
   video has text and the logo near its edges, so cover-cropping cut words off
   on the left and the bottom whenever the screen's shape differed from the
   video's (phones that got the 16:9 cut, 4:3 / tall desktop windows). Now the
   stage is always the full screen width and takes the video's own aspect
   ratio (16:9, or 9:16 for the portrait mobile cut below 768px), so the video
   fills the width edge to edge with nothing cropped, stretched or letterboxed.
   No height cap: a cap would shrink the width and leave side bands.
   `contain` is a safety net only (exact ratio => fills the box). */
.closing.closing-video-only.closing-video-fit {
  height: auto;
  min-height: 0;
  max-height: none;
}

.closing-video-fit .closing-stage,
.reduced .closing-video-fit .closing-stage {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 16 / 9;
}

.closing-video-fit .closing-video {
  object-fit: contain;
  object-position: center center;
  background: var(--ink);
}

@media (max-width: 767px) and (orientation: portrait) {
  .closing-video-fit .closing-stage,
  .reduced .closing-video-fit .closing-stage {
    aspect-ratio: 9 / 16;
  }

  /* Mobile only: the portrait cut has a caption band in its bottom 12.7%
     ("Partnering for customer success"). Lift the play/pause control just above
     it. A % of the stage height scales with every phone size; left offset and
     size stay as in legacy 13-closing.css. Desktop/tablet are untouched. */
  .closing-video-fit .video-control {
    bottom: calc(13% + 10px);
  }
}

/* (7) Solution › stacked pillar cards (desktop) — show the whole image.
   The cards have a fixed height (510–560px) and the image column is ~7/12 of
   the card, so `object-fit: cover` showed only 54–70% of each 16:9 image's
   width and cut the text baked into the artwork (e.g. "Talent Acquisition /
   Source / Interview…" and "Enterprise" on the Employer of Record card).
   The picture now keeps the image's own 16:9 ratio inside the column, centred
   vertically with an even inset, so nothing is cropped or stretched. Card
   size, text column, sticky stacking and animation are unchanged.
   Mobile (≤ 900px) already showed the full image (legacy aspect-ratio). */
@media (min-width: 901px) {
  .stack-in .stack-media {
    display: flex;
    align-items: center;
    padding: clamp(16px, 2vw, 28px);
    box-sizing: border-box;
  }

  .stack-in .stack-media picture {
    width: 100%;
    height: auto;
    aspect-ratio: 1672 / 941;
    border-radius: 14px;
    overflow: hidden;
  }

  .stack-in .stack-media img {
    object-fit: cover; /* box now has the image's exact ratio, so this crops nothing */
  }
}
/* =========================================================================
   ADMIN SETTINGS (/admin/settings)
   Scoped strictly to .admin-* selectors; legacy stylesheets remain untouched.
   Follows the EnlistCapis "Stage" design system tokens from 02-variables.css
   and mirrors the Let's Talk chat modal aesthetic from 20-chat.css &
   26-lets-talk-chat-modal.css.
   ========================================================================= */

.admin-settings {
  position: relative;
  min-height: calc(100vh - 70px);
  min-height: calc(100svh - 70px);
  background-color: #081e42;
  background-image:
    radial-gradient(ellipse 48% 50% at 50% 50%,
      rgba(8, 30, 66, 0.16) 0%,
      rgba(8, 30, 66, 0.36) 36%,
      rgba(8, 30, 66, 0.78) 64%,
      #081e42 84%,
      #061633 100%),
    linear-gradient(118deg,
      #FD5701 24%,
      #e66820 38%,
      #278c96 62%,
      #01B2BC 76%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--white);
  padding-top: clamp(28px, 4vh, 48px);
  padding-bottom: clamp(64px, 9vh, 112px);
}

.admin-settings-in {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 36px);
}

/* ---------- Page Header ---------- */
.admin-hero {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: clamp(20px, 2.5vw, 32px);
  border-bottom: 1px solid var(--line-d);
}

.admin-hero-title {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 300;
}

.admin-hero-title .serif {
  color: var(--white);
  padding-inline: 0.04em;
  text-shadow: 0 2px 18px rgba(6, 20, 43, 0.24);
}

.admin-hero-sub {
  max-width: 62ch;
  font-size: var(--t-s);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

/* ---------- Three-Tab Bar ---------- */
.admin-tabs-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(6, 20, 43, 0.42);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.admin-tab-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-align: left;
  color: rgba(255, 255, 255, 0.74);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.25s var(--ease-out);
}

.admin-tab-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.admin-tab-btn.is-active {
  background: var(--paper);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.65);
}

.admin-tab-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.09);
  color: var(--teal);
  transition: background-color 0.3s, color 0.3s;
}

.admin-tab-btn.is-active .admin-tab-num {
  background: var(--ink);
  color: var(--white);
}

.admin-tab-label {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.25;
}

.admin-tab-panel {
  animation: admin-fade-in 0.35s var(--ease-out);
}

@keyframes admin-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-tab-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 34px);
}

/* ---------- Shared Paper Card (matches .talk-form) ---------- */
.admin-paper-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 22px;
  padding: clamp(24px, 3.2vw, 44px);
  box-shadow: 0 48px 100px -40px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-l);
}

.admin-card-title {
  margin-top: 8px;
  color: var(--ink);
}

.admin-card-sub {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--mute-l);
}

.admin-card-sub strong {
  color: var(--ink);
  font-weight: 600;
}

.admin-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line-l);
}

.admin-card-foot-note {
  font-size: 0.875rem;
  color: var(--mute-l);
  overflow-wrap: anywhere;
}

.admin-btn-reset {
  border-color: var(--line-l);
  color: var(--ink);
}

.admin-btn-reset:hover {
  color: var(--white);
  border-color: var(--orange);
}

/* ---------- Feedback Banners ---------- */
.admin-banner {
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 0.9125rem;
  font-weight: 500;
  line-height: 1.45;
  border: 1px solid transparent;
}

.admin-banner.is-compact {
  padding: 10px 13px;
  font-size: 0.84rem;
}

.admin-banner.is-success {
  background: rgba(31, 122, 77, 0.1);
  border-color: rgba(31, 122, 77, 0.34);
  color: #145a38;
}

.admin-banner.is-error {
  background: rgba(194, 65, 12, 0.09);
  border-color: rgba(194, 65, 12, 0.36);
  color: #9a2f06;
}

.admin-ks-stage .admin-banner.is-success {
  background: rgba(31, 122, 77, 0.22);
  border-color: rgba(82, 209, 146, 0.45);
  color: #d9f9e8;
}

.admin-ks-stage .admin-banner.is-error {
  background: rgba(194, 65, 12, 0.24);
  border-color: rgba(255, 138, 71, 0.5);
  color: #ffe3d5;
}

/* =========================================================================
   TAB 1: COMMON SETTINGS — LIVE DEFAULT FOOTER IN EDIT MODE
   ========================================================================= */
.admin-footer-frame {
  border-radius: 22px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 48px 100px -40px rgba(0, 0, 0, 0.75);
}

.admin-frame-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 16px clamp(16px, 2.4vw, 28px);
  background: var(--paper);
  border-bottom: 1px solid var(--line-l);
}

.admin-frame-bar .eyebrow.teal {
  color: #064d50;
}

.admin-frame-bar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.admin-frame-hint {
  font-size: 0.875rem;
  color: var(--mute-l);
}

.admin-frame-hint strong {
  color: var(--ink);
  font-weight: 600;
}

.admin-edit-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #064d50;
  background: rgba(6, 77, 80, 0.1);
  border: 1px solid rgba(6, 77, 80, 0.28);
}

.admin-footer-canvas {
  background: var(--paper);
}

/* Match Footer Legal Documents paper surface while keeping public .footer dark */
.footer.site-footer.admin-footer-edit {
  background: var(--paper);
  color: var(--ink);
  min-height: 0;
  border-top: 0;
  padding-top: clamp(28px, 3.6vw, 44px);
  padding-bottom: 0;
}

.footer.site-footer.admin-footer-edit :where(p, li, a, span) {
  color: var(--ink);
}

.admin-footer-edit .admin-ft-top-contact-only {
  grid-template-columns: 1fr;
  justify-items: center;
  row-gap: 0;
  margin-bottom: 0;
}

.admin-footer-edit .admin-ft-contact-col,
.admin-footer-edit .ft-col.admin-ft-contact-col {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line-l);
}

.footer.site-footer.admin-footer-edit .ft-col h3,
.footer.site-footer.admin-footer-edit .admin-ft-contact-col .footer-col-title {
  color: var(--ink);
  text-align: center;
  margin-bottom: 24px;
}

.footer.site-footer.admin-footer-edit .admin-ft-req {
  color: #C2410C;
  font-weight: 700;
}

.admin-footer-edit .admin-ft-contact-inputs {
  width: 100%;
  gap: 20px !important;
  color: var(--ink);
}

.admin-footer-edit .ft-contact .ic.admin-ft-field {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 16px;
}

.admin-footer-edit .admin-ft-field svg {
  flex: none;
  margin-top: 28px !important;
  color: #064d50;
}

.admin-ft-input-wrap {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.admin-ft-input-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer.site-footer.admin-footer-edit .admin-ft-input-label .req {
  color: #C2410C;
}

.admin-ft-input-wrap input,
.admin-ft-input-wrap textarea {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 0.96875rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(11, 12, 14, 0.22);
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}

.admin-ft-input-wrap textarea {
  resize: vertical;
  min-height: 88px;
}

.admin-ft-input-wrap input::placeholder,
.admin-ft-input-wrap textarea::placeholder {
  color: var(--mute-l);
}

.admin-ft-input-wrap input:focus,
.admin-ft-input-wrap textarea:focus {
  border-color: #064d50;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(6, 77, 80, 0.14);
}

.admin-ft-field.has-error input,
.admin-ft-field.has-error textarea {
  border-color: #C2410C;
}

.footer.site-footer.admin-footer-edit .admin-ft-err {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #B23A0A;
}

.footer.site-footer.admin-footer-edit .ft-bottom {
  margin-top: clamp(28px, 3.5vw, 40px);
  padding-top: 22px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line-l);
  color: var(--mute-l);
  align-items: center;
}

/* Three Word-upload cards inside Common Settings */
.admin-legal-docs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.admin-legal-doc-card {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line-l);
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}

.admin-legal-doc-card.is-selected {
  background: var(--white);
  border-color: #064d50;
  box-shadow: 0 12px 28px -18px rgba(6, 77, 80, 0.45), 0 0 0 1px rgba(6, 77, 80, 0.2);
}

.admin-ft-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer.site-footer.admin-footer-edit .admin-ft-legal-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px dashed rgba(6, 20, 43, 0.28);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s, transform 0.2s var(--ease-out);
}

.footer.site-footer.admin-footer-edit .admin-ft-legal-btn span {
  color: inherit;
}

.footer.site-footer.admin-footer-edit .admin-ft-legal-btn:hover {
  border-color: var(--orange);
  border-style: solid;
  background: rgba(242, 107, 31, 0.1);
  color: var(--ink);
  transform: translateY(-1px);
}

.footer.site-footer.admin-footer-edit .admin-ft-legal-btn.is-active {
  border-style: solid;
  border-color: #064d50;
  background: rgba(6, 77, 80, 0.12);
  color: #064d50;
  box-shadow: none;
}

.admin-ft-edit-ic {
  width: 13px;
  height: 13px;
  color: var(--orange);
  flex: none;
}

.footer.site-footer.admin-footer-edit .admin-ft-legal-btn.is-active .admin-ft-edit-ic {
  color: #064d50;
}

.admin-ft-doc-pill {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
  background: #064d50;
  color: var(--white);
}

/* Section pill switch inside Common Settings card */
.admin-pill-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-l);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 500;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.admin-pill-btn:hover {
  border-color: #064d50;
  background: var(--white);
}

.admin-pill-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.admin-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.admin-editor-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-field {
  margin-bottom: 4px;
}

.admin-policy-editor,
.admin-security-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-policy-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-field-caption {
  display: inline-block;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}

.admin-field-caption .req {
  color: var(--orange);
}

.admin-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-char-count {
  font-size: 0.8125rem;
  color: var(--mute-l);
}

.admin-textarea-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-textarea-wrap textarea {
  width: 100%;
  font: inherit;
  font-size: 0.96875rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(11, 12, 14, 0.2);
  border-radius: 14px;
  padding: 16px 18px;
  resize: vertical;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.admin-textarea-wrap textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(6, 20, 43, 0.08);
}

.admin-textarea-wrap.has-error textarea {
  border-color: #C2410C;
}

.admin-text-preview {
  background: var(--white);
  border: 1px solid var(--line-l);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-text-preview h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

.admin-text-preview p {
  font-size: 0.96875rem;
  line-height: 1.65;
  color: var(--mute-l);
}

/* =========================================================================
   REUSABLE FILE UPLOAD SLOT
   ========================================================================= */
.admin-upload-slot {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-upload-label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-upload-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.admin-upload-label .req {
  color: var(--orange);
  font-weight: 700;
}

.admin-opt-tag {
  margin-left: 6px;
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--mute-l);
}

.admin-slot-status {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(11, 12, 14, 0.06);
  color: var(--mute-l);
}

.admin-slot-status.is-required {
  background: rgba(242, 107, 31, 0.12);
  color: #b54509;
}

.admin-slot-status.is-ready {
  background: rgba(31, 122, 77, 0.13);
  color: #16653d;
}

.admin-dropzone {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1.5px dashed rgba(6, 20, 43, 0.26);
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s, transform 0.2s var(--ease-out);
}

.admin-upload-slot.is-compact .admin-dropzone {
  padding: 14px 16px;
  gap: 12px;
}

.admin-dropzone:hover,
.admin-dropzone:focus-visible,
.admin-dropzone.is-dragging {
  border-color: #064d50;
  background: var(--white);
  transform: translateY(-1px);
}

.admin-dropzone.is-dragging {
  border-style: solid;
  box-shadow: 0 0 0 3px rgba(23, 178, 182, 0.18);
}

.admin-upload-slot.has-error .admin-dropzone {
  border-color: #C2410C;
  background: rgba(194, 65, 12, 0.03);
}

.admin-dropzone-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(6, 77, 80, 0.08);
  color: #064d50;
}

.admin-upload-slot.is-compact .admin-dropzone-icon {
  width: 38px;
  height: 38px;
}

.admin-dropzone-icon svg {
  width: 20px;
  height: 20px;
}

.admin-dropzone-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.admin-dropzone-copy strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.admin-dropzone-copy span {
  font-size: 0.8125rem;
  color: var(--mute-l);
  line-height: 1.4;
}

.admin-file-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line-l);
  box-shadow: 0 6px 20px -14px rgba(6, 20, 43, 0.25);
}

.admin-file-card-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 200px;
}

.admin-file-badge {
  flex: none;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
}

.admin-file-badge.is-pdf {
  background: #064d50;
}

.admin-file-badge.is-word {
  background: var(--ink-3);
}

.admin-file-info {
  min-width: 0;
  flex: 1;
}

.admin-file-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-file-meta {
  margin-top: 3px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--mute-l);
}

.admin-meta-sep {
  opacity: 0.5;
}

.admin-verified-chip {
  color: #16653d;
  font-weight: 600;
}

.admin-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-chip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-l);
  background: rgba(243, 241, 236, 0.75);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.admin-chip-btn:hover,
.admin-chip-btn:focus-visible {
  border-color: #064d50;
  background: var(--white);
  color: #064d50;
}

.admin-chip-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.admin-chip-btn.is-danger:hover,
.admin-chip-btn.is-danger:focus-visible {
  border-color: #C2410C;
  color: #B23A0A;
  background: rgba(194, 65, 12, 0.07);
}

.admin-upload-err {
  margin-top: 0;
}

/* =========================================================================
   TAB 2: CHAT KNOWLEDGE SOURCE — LET'S TALK FLOATING ICON & MODAL POPUP
   ========================================================================= */
.admin-ks-stage {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line-d);
  background:
    radial-gradient(circle at 50% 24%, rgba(23, 178, 182, 0.14), transparent 52%),
    radial-gradient(circle at 85% 88%, rgba(242, 107, 31, 0.08), transparent 46%),
    var(--ink-2);
  padding: clamp(24px, 3.6vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 40px 90px -36px rgba(0, 0, 0, 0.72);
}

.admin-ks-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-ks-title {
  margin-top: 8px;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}

.admin-ks-title .serif {
  color: var(--teal);
  padding-inline: 0.04em;
}

/* Mirrors .talk-chat-head .chat-logo from 26-lets-talk-chat-modal.css */
.admin-ks-brand-pill {
  display: block;
  width: 210px;
  height: 54px;
  padding: 6px 14px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.admin-ks-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: clamp(8px, 2vh, 20px) 0;
}

.admin-ks-float-wrap {
  animation: chat-launcher-float 3.6s ease-in-out infinite;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.admin-ks-float-wrap:hover {
  animation-play-state: paused;
}

.admin-ks-float-wrap.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Mirrors #chat-stack .chat-glass > #chat-fab from 26-lets-talk-chat-modal.css */
.admin-ks-fab {
  position: relative;
  display: block;
  width: 186px;
  min-width: 186px;
  height: 186px;
  min-height: 186px;
  padding: 0;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 12px 28px rgba(23, 178, 182, 0.35));
  transition: transform 0.3s var(--ease-out), filter 0.3s ease;
}

.admin-ks-fab:hover,
.admin-ks-fab:focus-visible {
  transform: translateY(-4px) scale(1.04);
  filter: drop-shadow(0 18px 36px rgba(23, 178, 182, 0.5));
}

.admin-ks-fab:active {
  transform: translateY(0) scale(0.98);
}

.admin-ks-fab-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-ks-prompt {
  max-width: 48ch;
  font-size: 0.96875rem;
  color: rgba(255, 255, 255, 0.82);
}

.admin-ks-cta-row {
  display: flex;
  justify-content: center;
}

.admin-ks-divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--line-d);
}

/* Active Knowledge Source Summary Cards */
.admin-ks-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-ks-summary-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(6, 20, 43, 0.62);
  border: 1px solid var(--line-d);
}

.admin-ks-summary-card.is-filled {
  border-color: rgba(23, 178, 182, 0.36);
}

.admin-ks-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-ks-slot-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.admin-ks-slot-label .req {
  color: var(--orange);
}

.admin-ks-pill {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.admin-ks-pill.is-req {
  background: rgba(242, 107, 31, 0.18);
  color: var(--orange-2);
}

.admin-ks-pill.is-ready {
  background: rgba(23, 178, 182, 0.2);
  color: #7ee7ea;
}

.admin-ks-file-title {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-ks-file-sub,
.admin-ks-empty-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.admin-ks-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.admin-dark-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.admin-dark-chip:hover {
  border-color: var(--teal);
  background: rgba(23, 178, 182, 0.18);
}

.admin-dark-chip.is-accent {
  border-color: rgba(242, 107, 31, 0.65);
  background: rgba(242, 107, 31, 0.16);
}

.admin-dark-chip.is-accent:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.admin-dark-chip.is-preview {
  border-color: rgba(23, 178, 182, 0.55);
  background: rgba(23, 178, 182, 0.14);
  color: var(--teal);
}

.admin-dark-chip.is-preview:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ink);
}

.admin-dark-chip.is-danger:hover {
  border-color: #ff8a47;
  background: rgba(194, 65, 12, 0.28);
}

.admin-ks-timestamp {
  font-size: 0.8125rem;
  color: var(--mute-d);
  text-align: center;
}

.admin-ks-timestamp strong {
  color: var(--white);
  font-weight: 500;
}

/* ---------- Centered Modal Popup (reuses Let's Talk #chat-panel design) ---------- */
.admin-ks-backdrop {
  z-index: 9998;
}

.admin-ks-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10000;
  width: min(560px, calc(100vw - 32px));
  max-height: min(740px, calc(100vh - 40px), calc(100svh - 40px));
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -46%) scale(0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease, visibility 0.4s;
}

.admin-ks-modal.is-open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.admin-ks-modal-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.admin-ks-modal-body {
  padding: 18px 22px;
  gap: 16px;
}

.admin-ks-rules {
  flex: none;
  padding: 12px 14px;
  gap: 6px;
}

.admin-ks-rule-list {
  display: grid;
  gap: 4px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink);
  padding-left: 16px;
  list-style: disc;
}

.admin-ks-rule-list .req {
  color: var(--orange);
  font-weight: 700;
}

.admin-ks-sub-rule-list {
  display: grid;
  gap: 4px;
  margin-top: 5px;
  padding-left: 18px;
  list-style: circle;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #2c3e50;
}

.admin-ks-sub-rule-list code {
  background: rgba(6, 77, 80, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.76rem;
  color: #064d50;
  font-family: inherit;
  font-weight: 600;
}

.admin-ks-slots {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-ks-modal-foot {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
}

.admin-ks-cancel {
  border-color: var(--line-l);
  color: var(--ink);
}

.admin-ks-cancel:hover {
  color: var(--white);
  border-color: var(--orange);
}

/* =========================================================================
   TAB 3: EnlistCapis: DELIVERING CLIENT VALUE
   ========================================================================= */
.admin-meta-pill-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(6, 77, 80, 0.06);
  border: 1px solid rgba(6, 77, 80, 0.16);
}

.admin-meta-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #064d50;
}

.admin-meta-pill-box strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.admin-cv-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-cv-info {
  padding: 12px 15px;
}

.admin-cv-note {
  font-size: 0.875rem;
  color: var(--mute-l);
  line-height: 1.5;
}

/* =========================================================================
   RESPONSIVE BREAKPOINTS (1200, 1080, 900, 768, 600, 480, 360 + landscape)
   ========================================================================= */
.admin-paper-card,
.admin-footer-frame,
.admin-ks-stage,
.admin-legal-doc-card,
.admin-ks-summary-card,
.admin-upload-slot {
  min-width: 0;
}

@media (max-width: 1120px) {
  .admin-legal-docs-grid {
    grid-template-columns: 1fr;
  }

  .admin-tab-btn {
    padding: 14px 16px;
    gap: 10px;
  }

  .admin-tab-label {
    font-size: 0.875rem;
  }
}

@media (max-width: 900px) {
  .admin-tabs-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .admin-tab-btn {
    padding: 14px 18px;
    min-height: 52px;
  }

  .admin-tab-label {
    font-size: 0.9375rem;
  }

  .admin-ks-summary-grid {
    grid-template-columns: 1fr;
  }

  .admin-meta-pill-box {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .admin-settings {
    padding-top: calc(var(--nav-h) + 22px);
    padding-bottom: 56px;
  }

  .admin-hero {
    gap: 10px;
    padding-bottom: 20px;
  }

  .admin-hero-title {
    font-size: clamp(2rem, 7.2vw, 3rem);
  }

  .admin-hero-sub {
    font-size: 0.95rem;
  }

  .admin-card-head {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .admin-meta-pill-box {
    width: 100%;
  }

  .footer.site-footer.admin-footer-edit .ft-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .footer.site-footer.admin-footer-edit .ft-bottom nav.admin-ft-legal-nav {
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 14px 16px !important;
  }

  .admin-ks-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .admin-ks-title {
    font-size: clamp(1.75rem, 6.2vw, 2.5rem);
  }
}

@media (max-width: 600px) {
  .admin-settings-in {
    gap: 20px;
  }

  .admin-tab-stack {
    gap: 20px;
  }

  .admin-frame-bar {
    padding: 12px 14px;
    gap: 10px;
  }

  .admin-frame-hint {
    font-size: 0.8125rem;
  }

  .admin-footer-frame {
    border-radius: 18px;
  }

  .footer.site-footer.admin-footer-edit {
    padding-top: 22px;
  }

  .admin-footer-edit .admin-ft-contact-col,
  .admin-footer-edit .ft-col.admin-ft-contact-col {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .admin-ft-input-wrap input,
  .admin-ft-input-wrap textarea {
    font-size: 16px;
    padding: 10px 12px;
  }

  .admin-footer-edit .admin-ft-field svg {
    margin-top: 26px !important;
  }

  .footer.site-footer.admin-footer-edit .admin-ft-legal-btn {
    padding: 7px 11px;
    font-size: 0.78rem;
  }

  .admin-paper-card {
    border-radius: 18px;
    padding: 20px 16px;
    gap: 18px;
  }

  .admin-legal-doc-card {
    padding: 14px;
  }

  .admin-ks-stage {
    border-radius: 18px;
    padding: 20px 16px;
    gap: 18px;
  }

  .admin-ks-brand-pill {
    width: clamp(144px, 44vw, 184px);
    height: clamp(38px, 11vw, 48px);
    padding: 5px 12px;
  }

  .admin-ks-fab {
    width: 144px;
    min-width: 144px;
    height: 144px;
    min-height: 144px;
  }

  .admin-ks-cta-row,
  .admin-ks-cta-row .btn {
    width: 100%;
  }

  .admin-ks-summary-card {
    padding: 16px;
  }

  .admin-ks-summary-top {
    flex-wrap: wrap;
  }

  .admin-ks-modal {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    max-height: calc(100svh - 20px);
    border-radius: 16px;
  }

  .admin-ks-modal .chat-h {
    padding: 12px 14px;
  }

  .admin-ks-modal .chat-h-logo {
    padding: 6px 12px;
  }

  .admin-ks-modal .chat-h-logo img {
    width: clamp(114px, 34vw, 148px);
  }

  .admin-ks-modal .chat-h-text {
    font-size: clamp(1.38rem, 5.6vw, 1.75rem);
  }

  .admin-ks-modal-body {
    padding: 14px 16px;
    -webkit-overflow-scrolling: touch;
  }

  .admin-ks-modal-foot {
    flex-direction: column-reverse;
    align-items: stretch;
    padding: 12px 16px;
  }

  .admin-ks-modal-foot .btn {
    width: 100%;
    min-height: 46px;
  }

  .admin-ks-modal .chat-consent {
    padding: 0 16px 12px;
    font-size: 0.72rem;
  }

  .admin-card-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .admin-card-actions .btn {
    width: 100%;
    min-height: 50px;
  }

  .admin-dropzone {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .admin-file-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 14px;
  }

  .admin-file-card-main {
    flex: none;
    width: 100%;
  }

  .admin-file-actions {
    width: 100%;
  }

  .admin-file-actions .admin-chip-btn {
    flex: 1 1 auto;
    min-height: 36px;
  }
}

@media (max-width: 360px) {
  .admin-tab-btn {
    padding: 12px 12px;
    gap: 10px;
  }

  .admin-tab-label {
    font-size: 0.84rem;
  }

  .admin-hero-title {
    font-size: 1.85rem;
  }

  .admin-ks-fab {
    width: 124px;
    min-width: 124px;
    height: 124px;
    min-height: 124px;
  }

  .admin-paper-card,
  .admin-ks-stage {
    padding: 16px 12px;
  }

  .admin-btn-reset,
  .admin-card-actions .btn,
  .admin-ks-cta-row .btn {
    padding: 0 16px;
    font-size: 0.76rem;
    white-space: normal;
    text-align: center;
  }
}

@media (max-height: 540px) {
  .admin-ks-modal {
    max-height: calc(100svh - 16px);
  }

  .admin-ks-modal .chat-h {
    padding: 10px 14px;
  }

  .admin-ks-modal .chat-h-brand {
    flex-direction: row;
    gap: 10px;
  }

  .admin-ks-modal .chat-h-logo img {
    width: 108px;
  }

  .admin-ks-modal .chat-h-text {
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-ks-float-wrap {
    animation: none;
  }
}


/* =========================================================================
   ADMIN PORTAL HEADER & TOP-RIGHT AVATAR DROPDOWN
   Matches the hosted white .site-header bar (21-reduced-motion-and-overrides.css)
   so the dark EnlistCAPIS logo, nav links, and avatar name stay high-contrast.
   ========================================================================= */
.admin-header {
  border-bottom: 1px solid rgba(6, 20, 43, 0.1);
}

.admin-header-in {
  gap: 16px;
}

.admin-header-left {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.8vw, 36px);
  min-width: 0;
}

.admin-header-logo .admin-logo-img {
  display: block !important;
  width: 100%;
  height: auto;
}

.admin-header-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #064d50;
  background: rgba(6, 77, 80, 0.09);
  border: 1px solid rgba(6, 77, 80, 0.25);
  white-space: nowrap;
}

.admin-portal-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}

.admin-portal-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #032125;
  background: transparent;
  border: 1px solid transparent;
  transition: color 0.25s, background-color 0.25s, border-color 0.25s;
}

.admin-portal-link:hover {
  color: #123b72;
  background: rgba(18, 59, 114, 0.08);
}

.admin-portal-link.is-active {
  color: var(--white);
  background: var(--ink-3);
  border-color: var(--ink-3);
}

/* Top-Right Avatar Trigger & Dropdown */
.admin-avatar-wrap {
  position: relative;
  flex: none;
}

.admin-avatar-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: rgba(6, 20, 43, 0.04);
  border: 1px solid rgba(6, 20, 43, 0.16);
  color: var(--ink);
  transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.admin-avatar-btn:hover,
.admin-avatar-btn.is-open {
  background: rgba(6, 77, 80, 0.07);
  border-color: rgba(6, 77, 80, 0.45);
  box-shadow: 0 4px 14px -6px rgba(6, 20, 43, 0.18);
}

.admin-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
  background: linear-gradient(135deg, #064d50 0%, var(--teal) 100%);
  box-shadow: 0 4px 12px rgba(6, 77, 80, 0.28);
}

.admin-avatar-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.18;
  text-align: left;
}

.admin-avatar-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-avatar-role {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--mute-l);
}

.admin-avatar-chev {
  width: 15px;
  height: 15px;
  color: var(--ink);
  transition: transform 0.25s var(--ease-out);
}

.admin-avatar-btn.is-open .admin-avatar-chev {
  transform: rotate(180deg);
}

.admin-avatar-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 700;
  width: min(264px, calc(100vw - 24px));
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 28px 64px -18px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  animation: admin-fade-in 0.2s var(--ease-out);
}

.admin-dd-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background:
    radial-gradient(circle at 20% 20%, rgba(23, 178, 182, 0.16), transparent 60%),
    rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid var(--line-l);
}

.admin-dd-avatar {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
}

.admin-dd-user {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-dd-user strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-dd-user span {
  font-size: 0.76rem;
  color: var(--mute-l);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-dd-mobile-nav {
  display: none;
  padding: 6px;
  border-bottom: 1px solid var(--line-l);
}

.admin-dd-group {
  display: flex;
  flex-direction: column;
  padding: 6px;
  gap: 2px;
}

.admin-dd-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  transition: background-color 0.2s, color 0.2s;
}

.admin-dd-item svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: #064d50;
}

.admin-dd-item:hover,
.admin-dd-item:focus-visible {
  background: rgba(6, 77, 80, 0.08);
  color: #064d50;
}

.admin-dd-item.is-active {
  background: rgba(6, 20, 43, 0.08);
  font-weight: 600;
}

.admin-dd-item.is-danger svg {
  color: #C2410C;
}

.admin-dd-item.is-danger:hover,
.admin-dd-item.is-danger:focus-visible {
  background: rgba(194, 65, 12, 0.09);
  color: #B23A0A;
}

/* =========================================================================
   ADMIN LOGIN & FORGOT PASSWORD PAGES
   ========================================================================= */
.admin-auth {
  position: relative;
  min-height: calc(100vh - 70px);
  min-height: calc(100svh - 70px);
  display: flex;
  align-items: center;
  background-color: #081e42;
  background-image:
    radial-gradient(ellipse 48% 50% at 50% 50%,
      rgba(8, 30, 66, 0.16) 0%,
      rgba(8, 30, 66, 0.36) 36%,
      rgba(8, 30, 66, 0.78) 64%,
      #081e42 84%,
      #061633 100%),
    linear-gradient(118deg,
      #FD5701 24%,
      #e66820 38%,
      #278c96 62%,
      #01B2BC 76%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--white);
  padding-block: clamp(16px, 2.6vh, 32px);
}

.admin-auth-in {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4.5vw, 64px);
  align-items: center;
}

.admin-auth-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-auth-title {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 300;
}

.admin-auth-title .serif {
  color: var(--white);
  padding-inline: 0.04em;
  text-shadow: 0 2px 18px rgba(6, 20, 43, 0.24);
}

.admin-auth-sub {
  max-width: 46ch;
  font-size: var(--t-s);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

.admin-auth-card {
  width: 100%;
  max-width: 480px;
  justify-self: end;
  padding: clamp(22px, 2.4vw, 32px);
  gap: 16px;
}

.admin-auth-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-l);
}

.admin-auth-logo {
  width: 144px;
  height: auto;
}

.admin-preview-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #064d50;
  background: rgba(6, 77, 80, 0.09);
  border: 1px solid rgba(6, 77, 80, 0.22);
  white-space: nowrap;
}

.admin-auth-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-auth-card .admin-field {
  margin-bottom: 8px;
}

.admin-auth-card .btn {
  min-height: 50px;
}

.admin-password-field input {
  padding-right: 44px;
}

.admin-pw-toggle {
  position: absolute;
  right: 0;
  top: 19px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #064d50;
  transition: color 0.2s, background-color 0.2s;
}

.admin-pw-toggle:hover,
.admin-pw-toggle:focus-visible {
  color: var(--orange);
  background: rgba(6, 77, 80, 0.08);
}

.admin-auth-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -6px;
  margin-bottom: 6px;
}

.admin-auth-back-row {
  display: flex;
  justify-content: center;
}

.admin-text-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #064d50;
  transition: color 0.2s;
}

.admin-text-link:hover {
  color: var(--orange);
  text-decoration: underline;
}

.admin-auth-submit {
  width: 100%;
}

.admin-auth-note {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--mute-l);
  padding-top: 12px;
  border-top: 1px solid var(--line-l);
}

/* Forgot Password Reset Confirmation */
.admin-reset-confirm {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.admin-confirm-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(31, 122, 77, 0.14);
  color: #1F7A4D;
  border: 1px solid rgba(31, 122, 77, 0.32);
}

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

.admin-confirm-title {
  color: var(--ink);
}

.admin-confirm-copy {
  font-size: 0.9375rem;
  color: var(--mute-l);
  line-height: 1.55;
  max-width: 40ch;
}

.admin-confirm-copy strong {
  color: var(--ink);
  word-break: break-word;
}

.admin-confirm-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.admin-confirm-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

/* =========================================================================
   ADMIN DASHBOARD (/admin/dashboard)
   ========================================================================= */
.admin-dash-hero {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.admin-dash-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-dash-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.admin-dash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admin-stat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--ink-2);
  border: 1px solid var(--line-d);
  min-width: 0;
  transition: border-color 0.25s, transform 0.25s var(--ease-out), background-color 0.25s;
}

.admin-stat-card:hover {
  border-color: rgba(23, 178, 182, 0.5);
  background: rgba(18, 59, 114, 0.42);
  transform: translateY(-2px);
}

.admin-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.admin-stat-value {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-stat-meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-dash-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.admin-module-card {
  justify-content: space-between;
  gap: 18px;
  padding: clamp(22px, 2.4vw, 30px);
}

.admin-module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-module-num {
  background: var(--ink);
  color: var(--white);
}

.admin-module-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.admin-module-title {
  color: var(--ink);
}

.admin-module-desc {
  font-size: 0.9375rem;
  color: var(--mute-l);
  line-height: 1.55;
}

.admin-module-cta {
  width: 100%;
  min-height: 48px;
}

/* Dashboard Checklist */
.admin-checklist {
  display: flex;
  flex-direction: column;
}

.admin-check-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-l);
}

.admin-check-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-check-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 260px;
}

.admin-check-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.admin-check-dot.is-ready {
  background: #1F7A4D;
}

.admin-check-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.admin-check-text strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.admin-check-text span {
  font-size: 0.82rem;
  color: var(--mute-l);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-check-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-check-time {
  font-size: 0.8rem;
  color: var(--mute-l);
  white-space: nowrap;
}

/* =========================================================================
   RESPONSIVE RULES FOR ADMIN HEADER, AUTH & DASHBOARD
   ========================================================================= */
@media (max-width: 1120px) {
  .admin-dash-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dash-modules {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .admin-auth-in {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .admin-auth-card {
    max-width: 560px;
    justify-self: stretch;
    margin-inline: auto;
  }
}

@media (max-width: 860px) {
  .site-header.admin-header {
    height: auto;
    min-height: 64px;
  }

  .site-header.admin-header .admin-header-in {
    height: auto;
    padding-block: 10px 9px;
    padding-inline: 14px;
    flex-wrap: wrap;
    row-gap: 9px;
    column-gap: 12px;
  }

  .site-header.admin-header .admin-portal-nav {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    margin-right: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(6, 20, 43, 0.08);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .site-header.admin-header .admin-portal-nav::-webkit-scrollbar {
    display: none;
  }

  .site-header.admin-header .admin-portal-link {
    flex: 0 0 auto;
    padding: 6px 12px;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }

  .site-header.admin-header .admin-portal-count-badge {
    min-width: 18px;
    height: 18px;
    font-size: 0.66rem;
    padding: 0 5px;
  }

  .admin-avatar-role {
    display: none;
  }

  .admin-avatar-name {
    max-width: 100px;
    font-size: 0.8rem;
  }

  .admin-avatar-btn {
    padding: 4px 10px 4px 4px;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .admin-avatar-meta {
    display: none;
  }
}

@media (max-width: 600px) {
  .admin-dash-stats {
    grid-template-columns: 1fr;
  }

  .admin-dash-hero-actions {
    width: 100%;
    justify-content: space-between;
  }

  .admin-dash-hero-actions .btn {
    width: 100%;
  }

  .admin-check-right {
    width: 100%;
    justify-content: space-between;
  }

  .admin-auth-logo {
    width: 132px;
  }
}


/* =========================================================================
   REMOVE BROWSER AUTOFILL BLUE BACKGROUND ON LOGIN, ADMIN & LET'S TALK INPUTS
   ========================================================================= */
.admin-auth .field input:-webkit-autofill,
.admin-auth .field input:-webkit-autofill:hover,
.admin-auth .field input:-webkit-autofill:focus,
.admin-auth .field input:-webkit-autofill:active,
.admin-auth .field input:autofill,
.talk-form .field input:-webkit-autofill,
.talk-form .field input:-webkit-autofill:hover,
.talk-form .field input:-webkit-autofill:focus,
.talk-form .field input:-webkit-autofill:active,
.talk-form .field input:autofill,
.talk-form .field textarea:-webkit-autofill,
.talk-form .field textarea:-webkit-autofill:hover,
.talk-form .field textarea:-webkit-autofill:focus,
.talk-form .field textarea:autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--paper) inset !important;
  box-shadow: 0 0 0 1000px var(--paper) inset !important;
  -webkit-text-fill-color: var(--ink) !important;
  caret-color: var(--ink);
  background-color: transparent !important;
  transition: background-color 99999s ease-in-out 0s;
}

.admin-auth .field input:-webkit-autofill+label,
.admin-auth .field input:autofill+label,
.talk-form .field input:-webkit-autofill+label,
.talk-form .field input:autofill+label,
.talk-form .field textarea:-webkit-autofill+label,
.talk-form .field textarea:autofill+label {
  transform: translateY(-20px) scale(0.78);
  color: var(--ink);
}

/* Keep Let's Talk floating "Message *" label strictly above the scrollable textarea box.
   Padding on .field:has(> textarea) avoids margin collapse so textarea starts strictly at y = 26px. */
.talk-form .field:has(> textarea) {
  padding-top: 26px;
}

.talk-form .field textarea {
  display: block;
  margin-top: 0;
  padding: 6px 0 10px;
  min-height: 96px;
}

.talk-form .field textarea+label {
  top: 30px;
  left: 0;
  z-index: 2;
}

.talk-form .field textarea:focus+label,
.talk-form .field textarea:not(:placeholder-shown)+label,
.talk-form .field textarea:-webkit-autofill+label,
.talk-form .field textarea:autofill+label {
  transform: translateY(-28px) scale(0.78);
  color: var(--ink);
}

.admin-paper-card input:-webkit-autofill,
.admin-paper-card input:-webkit-autofill:hover,
.admin-paper-card input:-webkit-autofill:focus,
.admin-paper-card input:autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--white) inset !important;
  box-shadow: 0 0 0 1000px var(--white) inset !important;
  -webkit-text-fill-color: var(--ink) !important;
  caret-color: var(--ink);
  transition: background-color 99999s ease-in-out 0s;
}

/* =========================================================================
   BACKEND SMTP & SENDER EMAIL SETTINGS (COMMON SETTINGS TAB)
   ========================================================================= */
.admin-smtp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.admin-smtp-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
}

.admin-input-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.admin-input-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.admin-input-group input,
.admin-input-group select {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(11, 12, 14, 0.22);
  border-radius: 10px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.admin-input-group input:focus,
.admin-input-group select:focus {
  border-color: #064d50;
  box-shadow: 0 0 0 3px rgba(6, 77, 80, 0.12);
}

.admin-input-group.has-error input,
.admin-input-group.has-error select {
  border-color: #C2410C;
}

.admin-smtp-pw-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.admin-smtp-pw-wrap input {
  padding-right: 44px;
}

.admin-smtp-pw-btn {
  position: absolute;
  right: 6px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #064d50;
  transition: color 0.2s, background-color 0.2s;
}

.admin-smtp-pw-btn:hover,
.admin-smtp-pw-btn:focus-visible {
  color: var(--orange);
  background: rgba(6, 77, 80, 0.08);
}

@media (max-width: 900px) {
  .admin-smtp-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .admin-smtp-split {
    grid-template-columns: 1fr;
  }

  .admin-input-group input,
  .admin-input-group select {
    font-size: 16px;
  }
}


/* =========================================================================
   WEBSITE PORTAL LINK & SMTP 5-FIELD LAYOUT REFINEMENTS
   ========================================================================= */
.admin-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-portal-site-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(6, 77, 80, 0.28);
  color: #064d50;
  background: rgba(6, 77, 80, 0.05);
}

.admin-portal-site-link svg {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform 0.25s var(--ease-out);
}

.admin-portal-site-link:hover {
  background: #064d50;
  border-color: #064d50;
  color: var(--white);
}

.admin-portal-site-link:hover svg {
  transform: translate(2px, -2px);
}

.admin-smtp-full {
  grid-column: 1 / -1;
}

.admin-card-actions.is-end {
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .admin-header-right .admin-header-badge {
    display: none;
  }

  .admin-header-right .admin-portal-site-link {
    padding: 6px 12px;
    font-size: 0.76rem;
  }
}


/* =========================================================================
   SMTP 3+2 ROW LAYOUT & CHANGE PASSWORD MODAL
   ========================================================================= */
.admin-smtp-rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-smtp-row-3 {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 18px;
}

.admin-smtp-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-input-group label .req {
  color: var(--orange);
  font-weight: 700;
}

.admin-pw-modal {
  width: min(460px, calc(100vw - 32px));
}

.admin-pw-modal-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 900px) {

  .admin-smtp-row-3,
  .admin-smtp-row-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .admin-pw-modal {
    width: calc(100vw - 20px);
  }
}


/* =========================================================================
   TAB 3 SPLIT LAYOUT (30% IMAGE LEFT / 70% CONTENT RIGHT)
   ========================================================================= */
.admin-cv-split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  gap: clamp(20px, 2.6vw, 32px);
  align-items: start;
}

.admin-cv-media-col,
.admin-cv-form-col {
  min-width: 0;
}

.admin-cv-figure {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-d);
  background: var(--ink-2);
  box-shadow: 0 36px 80px -32px rgba(0, 0, 0, 0.72);
}

.admin-cv-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .admin-cv-split {
    grid-template-columns: 1fr;
  }

  .admin-cv-figure {
    max-width: 340px;
    margin-inline: auto;
  }
}


/* =========================================================================
   LEGAL DOCUMENT POPUP MODAL (75% SCREEN WIDTH)
   Displays Word (.docx) converted content for Privacy Policy, Terms of
   Service, and Security & Compliance across public pages & admin preview.
   ========================================================================= */
.admin-chip-btn.is-preview {
  border-color: rgba(6, 77, 80, 0.42);
  background: rgba(6, 77, 80, 0.08);
  color: #064d50;
}

.admin-chip-btn.is-preview:hover,
.admin-chip-btn.is-preview:focus-visible {
  background: #064d50;
  border-color: #064d50;
  color: var(--white);
}

.legal-doc-backdrop {
  z-index: 10010;
}

.legal-doc-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10020;
  width: 75vw;
  max-height: min(86vh, 86svh);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  box-shadow: 0 32px 90px -16px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(255, 255, 255, 0.14);
  transform: translate(-50%, -46%) scale(0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease, visibility 0.4s;
}

.legal-doc-modal.is-open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.legal-doc-header {
  flex: none;
}

.legal-doc-brand {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.legal-doc-meta {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px clamp(18px, 2.8vw, 34px);
  background: rgba(6, 77, 80, 0.055);
  border-bottom: 1px solid var(--line-l);
  font-size: 0.8125rem;
  color: var(--mute-l);
}

.legal-doc-meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.legal-doc-pill {
  flex: none;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--ink-3);
  color: var(--white);
}

.legal-doc-filename {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42ch;
}

.legal-doc-sep,
.legal-doc-updated {
  white-space: nowrap;
}

.legal-doc-body {
  flex: 1 1 auto;
  min-height: 220px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(22px, 3vw, 38px) clamp(20px, 3.2vw, 44px);
  background: var(--white);
}

/* Converted Word Document Rich Typography */
.legal-doc-content {
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 100%;
  overflow-wrap: break-word;
}

.legal-doc-content>*:first-child {
  margin-top: 0;
}

.legal-doc-content>*:last-child {
  margin-bottom: 0;
}

.legal-doc-content h1,
.legal-doc-content h2,
.legal-doc-content h3,
.legal-doc-content h4,
.legal-doc-content h5,
.legal-doc-content h6 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.015em;
  margin-top: 1.5em;
  margin-bottom: 0.6em;
}

.legal-doc-content h1 {
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  padding-bottom: 0.35em;
  border-bottom: 1px solid var(--line-l);
}

.legal-doc-content h2 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  color: #064d50;
}

.legal-doc-content h3 {
  font-size: 1.125rem;
}

.legal-doc-content p {
  margin-bottom: 0.95em;
  color: #1f2937;
}

.legal-doc-content strong,
.legal-doc-content b {
  font-weight: 600;
  color: var(--ink);
}

.legal-doc-content ul,
.legal-doc-content ol {
  margin: 0.75em 0 1.1em;
  padding-left: 1.5em;
}

.legal-doc-content ul {
  list-style: disc;
}

.legal-doc-content ol {
  list-style: decimal;
}

.legal-doc-content li {
  margin-bottom: 0.45em;
  color: #1f2937;
}

.legal-doc-content blockquote {
  margin: 1.1em 0;
  padding: 12px 18px;
  border-left: 3px solid var(--teal);
  background: rgba(6, 77, 80, 0.05);
  border-radius: 0 10px 10px 0;
  color: var(--ink);
}

.legal-doc-content a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
}

.legal-doc-content hr {
  border: 0;
  border-top: 1px solid var(--line-l);
  margin: 1.5em 0;
}

.legal-doc-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1em 0;
}

.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.2em 0;
  border: 1px solid var(--line-l);
  border-radius: 10px;
}

.legal-doc-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.legal-doc-content th,
.legal-doc-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-l);
  border-right: 1px solid var(--line-l);
  text-align: left;
  vertical-align: top;
}

.legal-doc-content th:last-child,
.legal-doc-content td:last-child {
  border-right: 0;
}

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

.legal-doc-content th {
  background: var(--paper);
  font-weight: 600;
  color: var(--ink);
}

/* Empty / Legacy .doc Notice */
.legal-doc-empty {
  max-width: 56ch;
  margin: clamp(20px, 4vh, 48px) auto;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line-l);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-doc-empty h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.legal-doc-empty p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--mute-l);
}

.legal-doc-empty code {
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(6, 20, 43, 0.08);
  color: var(--ink);
  font-size: 0.88em;
}

.legal-doc-empty a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
}

.legal-doc-empty-hint {
  font-size: 0.86rem !important;
}

.legal-doc-foot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px clamp(18px, 2.8vw, 34px);
  border-top: 1px solid var(--line-l);
  background: var(--paper);
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}

.legal-doc-foot-note {
  font-size: 0.8125rem;
  color: var(--mute-l);
}

.legal-doc-close-btn {
  min-height: 44px;
  padding: 0 24px;
}

.legal-doc-foot-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-doc-open-link {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: 9999px;
  border: 1px solid var(--line-l);
  background: var(--paper);
  transition: all 0.2s ease;
}

.legal-doc-open-link:hover {
  background: rgba(6, 77, 80, 0.08);
  color: var(--teal);
  border-color: var(--teal);
}

.legal-doc-pill.is-pdf {
  background: var(--orange, #e05d26);
}

.legal-doc-body.is-pdf-body {
  padding: 0;
  overflow: hidden;
  background: #2a2d2e;
}

.legal-doc-pdf-container {
  width: 100%;
  height: clamp(480px, 68vh, 800px);
  min-height: 420px;
  display: flex;
}

.legal-doc-pdf-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #2a2d2e;
}

@media (max-width: 900px) {
  .legal-doc-modal {
    width: 86vw;
  }
}

@media (max-width: 768px) {
  .legal-doc-modal {
    width: 92vw;
    max-height: calc(100svh - 24px);
    border-radius: 16px;
  }

  .legal-doc-brand {
    flex-direction: column;
    gap: 6px;
  }

  .legal-doc-filename {
    max-width: 22ch;
  }

  .legal-doc-pdf-container {
    height: 60vh;
    min-height: 320px;
  }
}

@media (max-width: 600px) {
  .legal-doc-foot {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .legal-doc-foot-actions {
    flex-direction: column-reverse;
    width: 100%;
    gap: 8px;
  }

  .legal-doc-open-link,
  .legal-doc-close-btn {
    width: 100%;
    justify-content: center;
  }
}


/* Hide native Edge/IE password reveal eye so only the Lucide eye icon displays */
.admin-auth input[type="password"]::-ms-reveal,
.admin-auth input[type="password"]::-ms-clear,
.admin-settings input[type="password"]::-ms-reveal,
.admin-settings input[type="password"]::-ms-clear,
.admin-pw-modal input[type="password"]::-ms-reveal,
.admin-pw-modal input[type="password"]::-ms-clear {
  display: none;
}


/* =========================================================================
   FLOATING SUCCESS TOAST (e.g. Change Password confirmation)
   ========================================================================= */
.admin-toast {
  position: fixed;
  top: 86px;
  right: clamp(14px, 2.4vw, 28px);
  z-index: 10050;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: min(420px, calc(100vw - 28px));
  padding: 14px 16px 14px 18px;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(31, 122, 77, 0.35);
  border-left: 4px solid #1F7A4D;
  box-shadow: 0 22px 48px -16px rgba(6, 20, 43, 0.55);
  animation: admin-toast-in 0.32s var(--ease-out);
}

.admin-toast-ic {
  flex: none;
  color: #1F7A4D;
}

.admin-toast-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.admin-toast-close {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--mute-l);
  transition: background-color 0.2s, color 0.2s;
}

.admin-toast-close:hover {
  background: var(--paper-2);
  color: var(--ink);
}

@keyframes admin-toast-in {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  .admin-toast {
    left: 14px;
    right: 14px;
    max-width: none;
    justify-content: space-between;
  }
}


/* Direct Contact Footer Frame Save Bar */
.admin-frame-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 16px clamp(16px, 2.4vw, 28px);
  background: var(--paper);
  border-top: 1px solid var(--line-l);
}

.admin-frame-status {
  flex: 1 1 auto;
  min-width: 0;
}

.admin-frame-status:empty {
  display: none;
}

@media (max-width: 600px) {
  .admin-frame-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .admin-frame-status {
    flex: 0 0 auto;
    width: 100%;
  }

  .admin-frame-actions .btn {
    width: 100%;
  }
}

/* =========================================================================
   ADMIN HEADER — CUSTOMER ENQUIRIES BADGE & COUNT PILL
   ========================================================================= */
.admin-portal-enquiry-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-color: rgba(6, 77, 80, 0.24);
  background: rgba(6, 77, 80, 0.06);
  color: #064d50;
}

.admin-portal-enquiry-link:hover {
  color: #064d50;
  background: rgba(6, 77, 80, 0.13);
  border-color: rgba(6, 77, 80, 0.42);
}

.admin-portal-enquiry-link.is-active {
  color: var(--white);
  background: var(--ink-3);
  border-color: var(--ink-3);
}

.admin-portal-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  background: #FD5701;
  color: var(--white);
}

.admin-portal-enquiry-link.is-active .admin-portal-count-badge {
  background: var(--teal);
  color: var(--ink);
}

.admin-dd-count-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #FD5701;
  color: var(--white);
}

@media (max-width: 1100px) {
  .admin-portal-link {
    padding: 7px 13px;
    font-size: 0.8rem;
  }
}

/* =========================================================================
   REUSABLE SHADCN/UI TABLE & DATA TABLE + CUSTOMER ENQUIRIES
   ========================================================================= */
.shadcn-dt-root {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.shadcn-dt-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}

.shadcn-dt-search {
  position: relative;
  flex: 1 1 280px;
  max-width: 440px;
  min-width: 0;
}

.shadcn-dt-search-ic {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mute-l);
  pointer-events: none;
}

.shadcn-dt-search-input {
  width: 100%;
  height: 42px;
  padding: 0 36px 0 38px;
  border-radius: 10px;
  border: 1px solid rgba(11, 12, 14, 0.2);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.shadcn-dt-search-input::placeholder {
  color: var(--mute-l);
}

.shadcn-dt-search-input:focus {
  border-color: #064d50;
  box-shadow: 0 0 0 3px rgba(6, 77, 80, 0.14);
}

.shadcn-dt-search-input::-webkit-search-cancel-button,
.shadcn-dt-search-input::-webkit-search-decoration,
.shadcn-dt-search-input::-webkit-search-results-button,
.shadcn-dt-search-input::-webkit-search-results-decoration,
.shadcn-dt-search-input::-ms-clear {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.shadcn-dt-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--mute-l);
  transition: background-color 0.18s, color 0.18s;
}

.shadcn-dt-search-clear:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.shadcn-dt-toolbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.shadcn-dt-count-pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #064d50;
  background: rgba(6, 77, 80, 0.1);
  border: 1px solid rgba(6, 77, 80, 0.22);
}

.shadcn-dt-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(11, 12, 14, 0.2);
  background: var(--white);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.shadcn-dt-refresh-btn:hover:not(:disabled) {
  border-color: #064d50;
  color: #064d50;
  background: rgba(6, 77, 80, 0.05);
}

.shadcn-dt-refresh-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.shadcn-dt-refresh-btn .is-spinning {
  animation: shadcn-spin 0.85s linear infinite;
}

@keyframes shadcn-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Table Container & Primitives */
.shadcn-dt-frame {
  border-radius: 14px;
  border: 1px solid var(--line-l);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(6, 20, 43, 0.05);
}

.shadcn-table-container {
  position: relative;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.shadcn-table {
  width: 100%;
  border-collapse: collapse;
  caption-side: bottom;
  font-size: 0.9rem;
  text-align: left;
}

.shadcn-table-header {
  background: #f8f7f3;
  border-bottom: 1px solid var(--line-l);
}

.shadcn-table-row {
  border-bottom: 1px solid var(--line-l);
  transition: background-color 0.16s ease;
}

.shadcn-table-body .shadcn-table-row:last-child {
  border-bottom: 0;
}

.shadcn-table-body .shadcn-table-row:not(.shadcn-table-state-row):hover {
  background: rgba(6, 77, 80, 0.04);
}

.shadcn-table-head {
  height: 46px;
  padding: 10px 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mute-l);
  white-space: nowrap;
  vertical-align: middle;
}

.shadcn-table-cell {
  padding: 14px;
  vertical-align: top;
  color: var(--ink);
  line-height: 1.5;
}

.shadcn-sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  margin-left: -8px;
  border-radius: 7px;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mute-l);
  transition: background-color 0.18s, color 0.18s;
}

.shadcn-sort-btn:hover,
.shadcn-sort-btn.is-sorted {
  background: rgba(6, 77, 80, 0.09);
  color: #064d50;
}

.shadcn-table-empty {
  text-align: center;
  padding: 44px 20px;
}

.shadcn-dt-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--mute-l);
}

.shadcn-dt-state strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.shadcn-dt-spinner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2.5px solid rgba(6, 77, 80, 0.18);
  border-top-color: #064d50;
  animation: shadcn-spin 0.8s linear infinite;
}

/* Customer Enquiries Column Styles */
.admin-enq-col-sno {
  width: 64px;
  min-width: 60px;
  text-align: center;
  white-space: nowrap;
}

.admin-enq-sno {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.admin-enq-col-name {
  min-width: 150px;
}

.admin-enq-col-email {
  min-width: 200px;
}

.admin-enq-col-org {
  min-width: 160px;
}

.admin-enq-col-msg {
  min-width: 240px;
  max-width: 380px;
}

.admin-enq-col-date {
  min-width: 155px;
  white-space: nowrap;
}

.admin-enq-name {
  font-weight: 600;
  color: var(--ink);
}

.admin-enq-email {
  color: #064d50;
  font-weight: 500;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(6, 77, 80, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.admin-enq-email:hover {
  color: #FD5701;
  text-decoration-color: #FD5701;
}

.admin-enq-org {
  color: var(--ink);
  font-weight: 500;
}

.admin-enq-message-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.admin-enq-message {
  color: #334155;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin-enq-expand-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: #064d50;
  padding: 2px 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.admin-enq-expand-btn:hover {
  color: #FD5701;
}

.admin-enq-date {
  font-size: 0.84rem;
  color: var(--mute-l);
  font-variant-numeric: tabular-nums;
}

/* Pagination Footer */
.shadcn-dt-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding-top: 4px;
  font-size: 0.85rem;
  color: var(--mute-l);
}

.shadcn-dt-range strong,
.shadcn-dt-page-indicator strong {
  color: var(--ink);
  font-weight: 600;
}

.shadcn-dt-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.shadcn-dt-pagesize {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--mute-l);
}

.shadcn-dt-pagesize select {
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(11, 12, 14, 0.2);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  outline: none;
}

.shadcn-dt-pagesize select:focus {
  border-color: #064d50;
}

.shadcn-dt-page-btns {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.shadcn-dt-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(11, 12, 14, 0.18);
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: border-color 0.18s, background-color 0.18s, color 0.18s;
}

.shadcn-dt-icon-btn:hover:not(:disabled) {
  border-color: #064d50;
  background: rgba(6, 77, 80, 0.08);
  color: #064d50;
}

.shadcn-dt-icon-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

/* Tablet Adjustments */
@media (max-width: 1024px) {

  .shadcn-table-head,
  .shadcn-table-cell {
    padding: 12px 11px;
  }
}

/* Mobile Responsive Stacked Card Layout (All Mobile Devices <= 768px) */
@media (max-width: 768px) {
  .shadcn-dt-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .shadcn-dt-search {
    max-width: none;
    flex: 1 1 auto;
  }

  .shadcn-dt-toolbar-right {
    justify-content: space-between;
  }

  .shadcn-dt-frame {
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  .shadcn-table-container {
    overflow: visible;
  }

  .shadcn-table,
  .shadcn-table-body {
    display: block;
    width: 100%;
  }

  .shadcn-table-header {
    display: none;
  }

  .shadcn-table-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .shadcn-table-body .shadcn-table-row {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line-l);
    border-radius: 14px;
    padding: 14px 16px;
    gap: 10px;
    box-shadow: 0 2px 10px -4px rgba(6, 20, 43, 0.08);
  }

  .shadcn-table-body .shadcn-table-row:last-child {
    border-bottom: 1px solid var(--line-l);
  }

  .shadcn-table-body .shadcn-table-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 0;
    width: auto;
    min-width: 0;
    max-width: none;
    text-align: left;
    white-space: normal;
  }

  .shadcn-table-body .shadcn-table-cell[data-label]::before {
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mute-l);
  }

  .shadcn-table-body .shadcn-table-state-row {
    padding: 28px 16px;
  }

  .shadcn-table-body .shadcn-table-empty {
    padding: 0;
  }

  .shadcn-table-body .shadcn-table-empty::before {
    content: none;
  }

  .shadcn-dt-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .shadcn-dt-pagination {
    justify-content: space-between;
  }

  .shadcn-dt-icon-btn {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 420px) {
  .shadcn-dt-pagination {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .shadcn-dt-pagesize,
  .shadcn-dt-page-btns {
    justify-content: space-between;
  }
}

/* ==========================================================================
   LET'S TALK — FULL-WIDTH CONTACT DETAILS ON SMALL / MOBILE SCREENS
   ========================================================================== */
@media (max-width: 900px) {
  body.page-lets-talk .talk-stage .talk-grid,
  body.page-lets-talk .talk-grid,
  .talk-stage .talk-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.page-lets-talk .talk-left,
  body.page-lets-talk .talk-left.hero-copy-in,
  body.page-lets-talk .hero-copy-in,
  .talk-stage .talk-left,
  .talk-stage .talk-left.hero-copy-in,
  .talk-grid .talk-left,
  .talk-grid .talk-left.hero-copy-in {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-column: 1 !important;
    box-sizing: border-box !important;
  }

  body.page-lets-talk .talk-contacts,
  body:has(.talk) .talk-contacts,
  .talk-stage .talk-contacts {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.page-lets-talk .talk-contacts .row,
  body:has(.talk) .talk-contacts .row,
  .talk-stage .talk-contacts .row {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
}

/* =========================================================================
   CHATBOT: KNOWLEDGE BASE DRIVEN VERTICAL QUESTIONS (FOOTER-LESS LAYOUT)
   ========================================================================= */

#chat-panel .chat-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}

.chat-starters-wrapper {
  padding: 6px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.chat-starter-intro {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #064d50;
  margin: 0;
  padding: 4px 2px;
  line-height: 1.35;
}

.chat-starter-intro::before {
  display: none !important;
}

.starter-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.chat-question-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(6, 77, 80, 0.18);
  border-radius: 12px;
  color: #064d50;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(6, 77, 80, 0.04);
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.18s ease,
              border-color 0.18s ease,
              box-shadow 0.18s ease;
}

.chat-question-item:hover,
.chat-question-item:focus-visible {
  background: #ffffff;
  border-color: #064d50;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(6, 77, 80, 0.12);
  outline: none;
}

.chat-question-bullet {
  flex-shrink: 0;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(6, 77, 80, 0.09);
  color: #064d50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 1px;
}

.chat-question-item:hover .chat-question-bullet {
  background: #064d50;
  color: #ffffff;
}

.chat-question-text {
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
  white-space: normal;
}

.chat-question-arrow {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  stroke: #064d50;
  opacity: 0.45;
  margin-top: 2px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.chat-question-item:hover .chat-question-arrow,
.chat-question-item:focus-visible .chat-question-arrow {
  opacity: 1;
  transform: translateX(2px);
}

@media (max-width: 600px) {
  #chat-panel .chat-body {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }

  .chat-starters-wrapper {
    padding: 4px 14px 20px;
  }

  .chat-question-item {
    padding: 9px 12px;
    font-size: 0.8rem;
  }
}
