/* ==========================================================================
   ERAGNIS AI — Page Overrides on top of taste-skill system/layout/cards
   plus standalone reader styles for /legal/*.html
   ========================================================================== */

:root {
  /* Legacy/Legal tokens mapped cleanly without overriding system.css --bg/--ink/--card */
  --bg-page: var(--p-bg, #ffffff);
  --bg-subtle: var(--p-surface, #f5f7fa);
  --bg-obsidian: var(--p-inv-bg, #0b0f15);

  --ink-primary: var(--p-ink, #0b0f15);
  --ink-secondary: var(--p-muted, #4c5567);
  --ink-muted: #5e6778;
  --ink-inverse: #ffffff;

  --brand-blue: var(--p-accent, #057ee6);
  --brand-blue-btn: var(--p-action, #0468c8);

  --line-subtle: rgba(11, 15, 21, 0.09);
  --line-strong: rgba(11, 15, 21, 0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --container-max: 1280px;
  --container: 1480px;
  --gut: 64px;
}

@media (min-width: 1024px) {
  :root { --gut: 64px; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  :root { --gut: 48px; }
}

@media (max-width: 639px) {
  :root { --gut: 24px; }
}

@media (max-width: 374px) {
  :root { --gut: 16px; }
}

/* ==========================================================================
   Header & Footer Wordmark Overrides
   ========================================================================== */
.nav .nav__logo img {
  height: 32px;
  width: auto;
}

@media (max-width: 639px) {
  .nav .nav__logo img {
    height: 24px;
  }
}

@media (max-width: 374px) {
  .nav .nav__logo img {
    height: 20px;
  }
}

.footer--dark .nav__logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
}

.footer--dark .btn--primary {
  --action: #0468c8;
  background: #0468c8;
  color: #ffffff;
}

.footer--dark .btn--primary:hover {
  background: #0356a8;
}


/* ==========================================================================
   KIT HEIGHT OVERRIDES (release rigid height where multi-row sections grow,
   while preserving 100svh first-screen framing across desktop & tablet)
   ========================================================================== */
main > section.offerings-section,
main > section.contact-section,
footer.closing {
  height: auto;
  min-height: 0;
  overflow: visible;
}

main > section.offerings-section > .wrap,
main > section.contact-section > .wrap,
footer.closing > .wrap {
  height: auto;
}

/* ==========================================================================
   HEADER NAVIGATION (Logo top-left · Our Mission / Our Tech / Get in Touch top-right)
   ========================================================================== */
.nav__bar {
  justify-content: space-between;
  gap: clamp(0.85rem, 2vw, 1.5rem);
}

.nav__links {
  display: flex;
  align-items: center;
  align-self: center;
  flex: 0 1 auto;
  gap: clamp(1.1rem, 2.2vw, 1.85rem);
}

.nav__pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.45rem 0.1rem;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink-primary);
  background: transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}

.nav__pill::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 1px;
  background: #0468c8;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease), opacity 0.18s var(--ease);
}

.nav__pill:hover {
  color: #0468c8;
}

.nav__pill:hover::before {
  opacity: 0.45;
  transform: scaleX(1);
}

.nav__pill--active {
  color: #0468c8;
}

.nav__pill--active::before,
.nav__pill--active:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

@media (max-width: 1023px) {
  .nav__bar {
    justify-content: space-between;
    gap: 0.75rem;
  }

  .nav__links {
    display: flex;
    justify-content: flex-end;
  }
}

@media (max-width: 639px) {
  .nav__bar {
    gap: 0.5rem;
  }

  .nav__links {
    gap: 0.85rem;
  }

  .nav__pill {
    min-height: 32px;
    padding: 0.35rem 0.05rem;
    font-size: 0.78rem;
  }

  .nav__pill::after {
    content: "";
    position: absolute;
    inset: -6px -4px;
  }
}

@media (max-width: 374px) {
  .nav__bar {
    gap: 0.35rem;
  }

  .nav__links {
    gap: 0.6rem;
  }

  .nav__pill {
    padding: 0.3rem 0.05rem;
    font-size: 0.72rem;
  }
}


/* ==========================================================================
   SECTION 1: Full-Bleed Human-Impact Hero (Lower-Middle Video-Overlay Title)
   ========================================================================== */
main > section.hero--kinetic {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: calc(var(--nav, 72px) + 3rem) clamp(4.25rem, 11svh, 7.25rem);
  background: #0b0f15;
  overflow: hidden;
}

main > section.hero--kinetic > .wrap {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Full-bleed video stage (no z-index so sibling overlay text blends directly with video) */
.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background: #0b0f15;
}

.hero-media__poster,
.hero-media__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-media__poster {
  display: block;
}

.hero-media__video {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-media__video.is-ready {
  opacity: 1;
}

/* Calibrated lower-third cinema scrim: upper 45% stays luminous for faces, lower zone anchors text */
.hero-media__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 15, 21, 0.04) 0%,
    rgba(11, 15, 21, 0.14) 48%,
    rgba(11, 15, 21, 0.56) 100%
  );
}

/* Keep z-index: auto here so mix-blend-mode: overlay on the front text blends with <video> */
.hero-kinetic__wrap {
  position: relative;
}

.hero-kinetic__stage {
  max-width: min(680px, 100%);
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Single crisp Meta-scale headline blending subtly with the playing background video */
main > section.hero--kinetic h1.hero-kinetic__title {
  margin: 0;
  max-width: 24ch;
  font-family: "Nunito", var(--font-display), system-ui, sans-serif;
  font-size: clamp(1.65rem, 2.85vw, 2.75rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
  mix-blend-mode: overlay;
  text-shadow: 0 2px 18px rgba(11, 15, 21, 0.32);
  text-wrap: balance;
  hyphens: none;
  -webkit-hyphens: none;
}

.kt-word {
  display: inline-block;
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-kinetic-ready .kt-word {
  opacity: 0;
  transform: translateY(10px);
}

.is-kinetic-ready .kt-word.is-lit {
  opacity: 1;
  transform: translateY(0);
}

/* Meta-style quiet Pause / Play video toggle pinned bottom-right */
.hero-video-toggle {
  position: absolute;
  right: clamp(1.25rem, 3vw, 2.5rem);
  bottom: clamp(1.25rem, 3svh, 2.25rem);
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(11, 15, 21, 0.34);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.hero-video-toggle:hover {
  background: rgba(11, 15, 21, 0.58);
  border-color: rgba(255, 255, 255, 0.72);
  transform: scale(1.04);
}

.hero-video-toggle__icon {
  width: 16px;
  height: 16px;
}

.hero-video-toggle__icon--play {
  display: none;
}

.hero-video-toggle[aria-pressed="true"] .hero-video-toggle__icon--pause {
  display: none;
}

.hero-video-toggle[aria-pressed="true"] .hero-video-toggle__icon--play {
  display: block;
}

/* Staggered entrance: the nav arrives first */
.kt-js .nav .nav__bar {
  animation: ktNavIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

@keyframes ktNavIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
  main > section.hero--kinetic {
    min-height: 90svh;
    padding-block: calc(var(--nav, 56px) + 2rem) 5.75rem;
  }

  .hero-media__veil {
    background: linear-gradient(
      180deg,
      rgba(11, 15, 21, 0.08) 0%,
      rgba(11, 15, 21, 0.22) 48%,
      rgba(11, 15, 21, 0.72) 100%
    );
  }

  main > section.hero--kinetic h1.hero-kinetic__title {
    font-size: clamp(1.48rem, 6vw, 2rem);
    line-height: 1.22;
    color: #ffffff;
    mix-blend-mode: normal;
    text-shadow: 0 2px 16px rgba(11, 15, 21, 0.42);
  }

  .hero-video-toggle {
    width: 38px;
    height: 38px;
    right: 1.15rem;
    bottom: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kt-word {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   SECTION 2: Botanical-Inspired Editorial Band + 4-Tile Seamless Mission Bento
   ========================================================================== */
main > section.mission-section {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100svh;
  overflow: visible;
  background: #f2f4f7;
  border-top: 1px solid var(--line-subtle);
  padding: var(--nav, 72px) 0 0;
}

.mission-top {
  background: #f2f4f7;
  padding-block: clamp(2rem, 3.8vw, 3.1rem);
  border-bottom: 1px solid var(--line-subtle);
}

.mission-top__brand {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.mission-top__headline {
  margin: 0;
  max-width: 30ch;
  font-family: "Instrument Sans", var(--font-display), system-ui, sans-serif;
  font-size: clamp(1.6rem, 2.7vw, 2.55rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.028em;
  color: #0b0f15;
  text-wrap: balance;
}

/* Zero-gap seamless 4-tile architectural wave bento (Top -> Bottom -> Top -> Bottom) */
.mission-bento {
  --tile-pad-x: clamp(1.75rem, 2.8vw, 2.65rem);
  --tile-pad-top: clamp(2.1rem, 3.4vw, 2.85rem);
  --tile-pad-bottom: clamp(2.4rem, 4.4svh, 3.25rem);
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  min-height: clamp(440px, 56svh, 640px);
  border-bottom: 1px solid var(--line-subtle);
}

.mission-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.mission-tile.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 3px 0 #0468c8;
  z-index: 4;
}

.mission-tile__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mission-tile__kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0468c8;
}

.mission-tile__title {
  margin: 0;
  font-family: "Instrument Sans", var(--font-display), system-ui, sans-serif;
  font-size: clamp(1.08rem, 1.32vw, 1.22rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: #0b0f15;
}

.mission-tile__copy {
  margin: 0;
  max-width: 34ch;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #4c5567;
}

a.mission-tile {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.mission-tile:focus-visible {
  outline: 2px solid #0468c8;
  outline-offset: -2px;
}

.mission-tile__link {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #0468c8;
  text-decoration: none;
  opacity: 0.88;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mission-tile__cta {
  align-self: flex-start;
}

.mission-tile:hover .mission-tile__link,
.mission-tile__cta:hover {
  opacity: 1;
  transform: translateY(2px);
}

/* Tile 1: Wave Peak (Top-Left) — Pure-White Mission Anchor (Editorial Display Hierarchy) */
.mission-tile--anchor {
  background: #ffffff;
  justify-content: space-between;
  gap: 2rem;
  padding: var(--tile-pad-top) var(--tile-pad-x) var(--tile-pad-bottom);
  border-right: 1px solid var(--line-subtle);
}

.mission-tile--anchor .mission-tile__title {
  font-size: clamp(1.48rem, 2.05vw, 1.85rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.mission-tile--anchor .mission-tile__copy {
  font-size: 0.94rem;
  line-height: 1.58;
  color: #3b4456;
}

/* Tile 2: Wave Trough (Bottom-Left) — Verifiable Human Trust */
.mission-tile--trust {
  background: linear-gradient(160deg, #eef4fc 0%, #e1ecf9 100%);
  justify-content: flex-end;
  gap: 1.25rem;
  padding: var(--tile-pad-top) var(--tile-pad-x) var(--tile-pad-bottom);
}

.mission-tile__motif {
  position: absolute;
  top: 8%;
  right: -6%;
  width: 76%;
  max-width: 280px;
  color: rgba(4, 104, 200, 0.22);
  pointer-events: none;
}

/* Tile 3: Wave Peak (Top-Left) — Commerce Copy Top + Cobalt Dot-Matrix Bottom */
.mission-tile--commerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1.04fr 0.96fr;
  background: #f5f7fa;
}

.mission-tile__commerce-head {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: var(--tile-pad-top) var(--tile-pad-x) 1.5rem;
  background: #f5f7fa;
}

.mission-tile__cobalt-cap {
  background: #0468c8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem var(--tile-pad-x) var(--tile-pad-bottom);
  color: #ffffff;
}

.mission-dots-wrap {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding-bottom: 1rem;
}

.mission-dots {
  width: min(176px, 74%);
  height: auto;
}

.mission-tile__cobalt-cap .mission-tile__link {
  color: #ffffff;
  opacity: 0.92;
}

/* Tile 4: Wave Trough (Bottom-Left) — Deep Obsidian Enterprise Panel */
.mission-tile--enterprise {
  background: #0b0f15;
  justify-content: flex-end;
  gap: 1.25rem;
  padding: var(--tile-pad-top) var(--tile-pad-x) var(--tile-pad-bottom);
}

.mission-tile__motif--enterprise {
  color: rgba(122, 192, 255, 0.16);
}

.mission-tile--enterprise .mission-tile__kicker {
  color: #7ac0ff;
}

.mission-tile--enterprise .mission-tile__title {
  color: #ffffff;
}

.mission-tile--enterprise .mission-tile__copy {
  color: #b4bac5;
}

.mission-tile--enterprise .mission-tile__link {
  color: #8ccbff;
}

@media (max-width: 1023px) {
  main > section.mission-section {
    min-height: auto;
  }

  .mission-top__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .mission-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }

  .mission-tile {
    min-height: 310px;
  }

  .mission-tile--anchor {
    border-bottom: 1px solid var(--line-subtle);
  }

  .mission-tile--trust {
    border-bottom: 1px solid var(--line-subtle);
  }
}

@media (max-width: 639px) {
  main > section.mission-section {
    padding-top: var(--nav, 56px);
    background: #f2f4f7;
  }

  .mission-top {
    padding-block: 2rem 1.5rem;
    border-bottom: none;
  }

  .mission-top__headline {
    font-size: 1.48rem;
    line-height: 1.22;
  }

  .mission-bento {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 0 16px 2rem;
    background: #f2f4f7;
    border-bottom: none;
  }

  .mission-tile {
    min-height: 0;
    border-radius: 16px;
    border: 1px solid rgba(11, 15, 21, 0.07);
    box-shadow: 0 1px 2px rgba(11, 15, 21, 0.04), 0 10px 24px -18px rgba(11, 15, 21, 0.14);
  }

  .mission-tile--anchor,
  .mission-tile--trust,
  .mission-tile--enterprise {
    justify-content: flex-start;
    gap: 0.95rem;
    padding: 1.35rem 1.25rem 1.3rem;
    border-right: 1px solid rgba(11, 15, 21, 0.07);
  }

  .mission-tile--enterprise {
    border-color: rgba(255, 255, 255, 0.08);
  }

  .mission-tile__motif {
    top: -14px;
    right: -20px;
    width: 144px;
    opacity: 0.55;
  }

  .mission-tile--commerce {
    grid-template-rows: auto auto;
    border-color: rgba(4, 104, 200, 0.14);
  }

  .mission-tile__commerce-head {
    padding: 1.35rem 1.25rem 1.15rem;
  }

  .mission-tile__cobalt-cap {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
  }

  .mission-dots-wrap {
    flex: 0 0 auto;
    padding-bottom: 0;
  }

  .mission-dots {
    width: 86px;
  }
}

/* ==========================================================================
   SECTION 3: Scrollable Alternating 50:50 Technology Showcase
   Row 1: Image Left | Trust Info Right
   Row 2: Commerce Info Left | Image Right
   Row 3: Image Left | Enterprise Info Right
   ========================================================================== */
main > section.offerings-section {
  padding-block: 0;
  background: #ffffff;
  border-top: none;
  scroll-margin-top: var(--nav, 72px);
}

.tech-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: clamp(560px, 78svh, 720px);
  width: 100%;
  border-bottom: 1px solid var(--line-subtle);
  scroll-margin-top: var(--nav, 72px);
}

.tech-split:last-child {
  border-bottom: none;
}

/* Full-Bleed Visual Stage (50% column) */
.tech-stage {
  position: relative;
  overflow: hidden;
  background: #0b0f15;
  min-height: 460px;
}

.tech-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.5rem, 3.2vw, 2.75rem);
}

/* Curated architectural surfaces shown before custom Google Flow photos are dropped in */
.tech-visual--trust {
  background: linear-gradient(150deg, #dceafb 0%, #c6dff8 52%, #a9ccf2 100%);
  color: rgba(4, 104, 200, 0.24);
}

.tech-visual--commerce {
  background: linear-gradient(150deg, #0674db 0%, #0468c8 55%, #034d96 100%);
  color: rgba(255, 255, 255, 0.22);
}

.tech-visual--enterprise {
  background: linear-gradient(150deg, #131a26 0%, #0b0f15 62%, #070a0f 100%);
  color: rgba(122, 192, 255, 0.26);
}

.tech-visual__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.tech-visual.has-photo > .tech-visual__img {
  opacity: 1;
}

.tech-visual__art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.tech-visual__art svg {
  width: min(460px, 82%);
  height: auto;
}

.tech-visual.has-photo > .tech-visual__art {
  opacity: 0;
}

/* Right 50%: Clean Editorial Context Panel */
.tech-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2rem, 4vw, 3rem);
  padding: clamp(2.25rem, 4.8vw, 4.5rem);
  background: #ffffff;
}

.tech-panel__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line-subtle);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.tech-panel__category {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0468c8;
}

.tech-domain-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  background: #0b0f15;
  color: #ffffff;
  font-family: "Instrument Sans", var(--font-display), system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.tech-panel__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.tech-detail__tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0468c8;
}

.tech-detail__title {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  max-width: 18ch;
  font-family: "Instrument Sans", var(--font-display), system-ui, sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #0b0f15;
  text-wrap: balance;
}

.tech-copy {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 50ch;
}

.tech-copy p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.66;
  color: #353f50;
}

.tech-panel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-subtle);
}

.tech-panel__meta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #5e6778;
}

.tech-panel__cta {
  font-family: "Instrument Sans", var(--font-display), system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0b0f15;
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 15, 21, 0.28);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.tech-panel__cta:hover {
  color: #0468c8;
  border-color: #0468c8;
}

@media (max-width: 960px) {
  .tech-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .tech-split--reverse .tech-stage {
    order: -1;
  }

  .tech-stage {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  main > section.offerings-section {
    background: #ebeff4;
    padding: 1.5rem 16px 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    border-top: 1px solid var(--line-subtle);
  }

  .tech-split {
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(11, 15, 21, 0.08);
    box-shadow: 0 12px 30px -20px rgba(11, 15, 21, 0.16);
    border-bottom: 1px solid rgba(11, 15, 21, 0.08);
  }

  .tech-split:last-child {
    border-bottom: 1px solid rgba(11, 15, 21, 0.08);
  }

  .tech-stage {
    min-height: 0;
    background: #f7f9fc;
  }

  .tech-visual {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .tech-visual__img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center 20%;
  }

  .tech-visual__art {
    display: none;
  }

  .tech-panel {
    gap: 1.15rem;
    padding: 1.35rem 1.25rem 1.45rem;
  }

  .tech-panel__top {
    padding-bottom: 0.9rem;
  }

  .tech-detail__tag {
    margin-bottom: 0.45rem;
    font-size: 0.7rem;
  }

  .tech-detail__title {
    margin-bottom: 0.9rem;
    font-size: 1.48rem;
    line-height: 1.18;
  }

  .tech-copy {
    gap: 0.85rem;
  }

  .tech-copy p {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .tech-panel__foot {
    padding-top: 1rem;
    gap: 0.65rem;
  }
}

/* ==========================================================================
   SECTION 4: Swiss Architectural Underline Split Contact
   ========================================================================== */
main > section.contact-section {
  background: #f4f6f9;
  color: #0b0f15;
  border-top: 1px solid var(--line-subtle);
  padding-block: clamp(3.5rem, 6vw, 5.25rem);
  scroll-margin-top: var(--nav, 72px);
}

/* Full-width section header spanning cleanly above the 50:50 split */
.contact-header {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-bottom: clamp(1.75rem, 3.2vw, 2.5rem);
  margin-bottom: clamp(1.75rem, 3.2vw, 2.5rem);
  border-bottom: 1px solid rgba(11, 15, 21, 0.11);
}

.contact-title {
  margin: 0;
  max-width: 28ch;
  font-family: "Instrument Sans", var(--font-display), system-ui, sans-serif;
  font-size: clamp(1.85rem, 2.9vw, 2.65rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #0b0f15;
  text-wrap: balance;
}

.contact-body {
  margin: 0;
  max-width: 48ch;
  font-size: 0.96rem;
  line-height: 1.55;
  color: #4c5567;
}

/* True 50:50 split aligning Section 4's center hairline directly with Sections 2 & 3 */
main > section.contact-section .contact-swiss {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  width: 100%;
}

/* Left 50%: Clickable Enquiry Tracks & Entity Metadata */
.contact-lead {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
  padding-right: clamp(2rem, 4.5vw, 4.25rem);
}

.contact-tracks {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(11, 15, 21, 0.12);
}

.contact-track {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.82rem 0.25rem 0.82rem 0;
  border: none;
  border-bottom: 1px solid rgba(11, 15, 21, 0.12);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: padding-left 0.18s ease, border-color 0.18s ease;
}

.contact-track:hover,
.contact-track.is-selected {
  padding-left: 0.55rem;
  border-bottom-color: #0468c8;
}

.contact-track__name {
  font-family: "Instrument Sans", var(--font-display), system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
  color: #2c3444;
  transition: color 0.18s ease;
}

.contact-track.is-selected .contact-track__name,
.contact-track:hover .contact-track__name {
  color: #0468c8;
  font-weight: 600;
}

.contact-track__arrow {
  flex: none;
  font-size: 0.92rem;
  color: #8d96a6;
  transition: transform 0.18s ease, color 0.18s ease;
}

.contact-track:hover .contact-track__arrow,
.contact-track.is-selected .contact-track__arrow {
  color: #0468c8;
  transform: translateX(3px);
}

.contact-entity {
  padding-top: 0.25rem;
}

.contact-meta__label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7485;
}

.contact-email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.contact-email-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: #0b0f15;
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 15, 21, 0.28);
  padding-bottom: 1px;
}

.contact-email-link:hover {
  color: #0468c8;
  border-color: #0468c8;
}

.contact-copy-btn {
  padding: 0.18rem 0.55rem;
  border-radius: 3px;
  border: 1px solid rgba(11, 15, 21, 0.18);
  background: transparent;
  color: #2c3444;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.contact-copy-btn:hover {
  background: #0b0f15;
  border-color: #0b0f15;
  color: #ffffff;
}

.contact-meta__value {
  margin: 0 0 0.25rem;
  font-size: 0.88rem;
  color: #0b0f15;
}

.contact-meta__sub {
  margin: 0;
  font-size: 0.84rem;
  color: #535d70;
}

/* Right 50%: Active Desk Details & Direct Email Panel aligned to 50% spine */
.contact-desk-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.85rem;
  padding-left: clamp(2rem, 4.5vw, 4.25rem);
  border-left: 1px solid rgba(11, 15, 21, 0.11);
}

.contact-desk-panel__head {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(11, 15, 21, 0.12);
}

.contact-email-link--lg {
  font-family: "Instrument Sans", var(--font-display), system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.contact-desk-panel__body {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.contact-desk-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-desk-bar__note {
  margin: 0;
  max-width: 48ch;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #1f2735;
}

.contact-desk-panel__guidance {
  margin: 0;
  max-width: 48ch;
  font-size: 0.9rem;
  line-height: 1.52;
  color: #535d70;
}

@media (max-width: 960px) {
  main > section.contact-section .contact-swiss {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-lead {
    padding-right: 0;
  }

  .contact-desk-panel {
    padding-left: 0;
    padding-top: 2rem;
    border-left: none;
    border-top: 1px solid rgba(11, 15, 21, 0.11);
  }
}

@media (max-width: 639px) {
  main > section.contact-section {
    padding-block: 2.5rem 2.75rem;
  }

  .contact-header {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .contact-title {
    font-size: 1.65rem;
  }

  main > section.contact-section .contact-swiss {
    gap: 1.25rem;
  }

  .contact-tracks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    border-top: none;
  }

  .contact-tracks li {
    flex: 0 0 auto;
  }

  .contact-track {
    width: auto;
    min-height: 38px;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(11, 15, 21, 0.14);
    border-radius: 999px;
    background: #ffffff;
  }

  .contact-track:hover,
  .contact-track.is-selected {
    padding-left: 0.85rem;
    background: #0468c8;
    border-color: #0468c8;
  }

  .contact-track__name {
    font-size: 0.82rem;
  }

  .contact-track.is-selected .contact-track__name,
  .contact-track:hover .contact-track__name {
    color: #ffffff;
  }

  .contact-track__arrow {
    display: none;
  }

  .contact-desk-panel {
    padding: 1.35rem 1.2rem 1.45rem;
    background: #ffffff;
    border: 1px solid rgba(11, 15, 21, 0.08);
    border-radius: 18px;
    box-shadow: 0 12px 28px -20px rgba(11, 15, 21, 0.14);
    gap: 1.35rem;
  }

  .contact-desk-panel__head {
    padding-bottom: 1rem;
  }

  .contact-meta {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   Corporate Footer
   ========================================================================== */
.footer--dark {
  background: #0b0f15;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: clamp(2.25rem, 4.5vw, 3.25rem) clamp(1.75rem, 3vw, 2.25rem);
}

.footer__company {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__brand-col {
  padding-right: clamp(2rem, 4.5vw, 4.25rem);
}

.footer__contact-col {
  padding-left: clamp(2rem, 4.5vw, 4.25rem);
}

.footer__entity {
  margin: 1.15rem 0 0.45rem;
  font-size: 0.95rem;
  color: #ffffff;
}

.footer__address {
  margin: 0;
  max-width: 48ch;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #b4bac5;
}

.footer__heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #97999d;
}

.footer__email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer__email-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer__email-link:hover {
  color: #7ac0ff;
  border-color: #7ac0ff;
}

.footer__copy-btn {
  min-height: 36px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  cursor: pointer;
}

.footer__copy-btn:hover {
  background: #0468c8;
  border-color: #0468c8;
}

.footer__legal-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer__legal-links a {
  font-size: 0.88rem;
  color: #cbd1dc;
  text-decoration: none;
}

.footer__legal-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.35rem;
  font-size: 0.82rem;
  color: #97999d;
}

@media (max-width: 767px) {
  .footer__company {
    grid-template-columns: 1fr;
    gap: 1.65rem;
    padding-bottom: 1.65rem;
  }

  .footer__brand-col,
  .footer__contact-col {
    padding: 0;
  }

  .footer__contact-col {
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  .footer__legal-links {
    gap: 0.25rem;
  }

  .footer__legal-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
}

/* ==========================================================================
   Standalone Legal Page Reader & Shell Styles (Used by /legal/*.html)
   ========================================================================== */
body:has(.legal-main) {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-page);
  color: var(--ink-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body:has(.legal-main) a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--bg-page) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-block-end: 1px solid rgba(11, 15, 21, 0.06);
}

.shell {
  inline-size: 100%;
  max-inline-size: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3.5vw, 2.75rem);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-block-size: 4.5rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.brand-mark img {
  display: block;
  height: 30px;
  width: auto;
}

.site-footer .brand-mark img {
  height: 26px;
}

@media (max-width: 639px) {
  .brand-mark img {
    height: 24px;
  }
}

.site-header .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-secondary);
}

.site-header .nav-links a:hover {
  color: var(--ink-primary);
}

@media (max-width: 680px) {
  .site-header .nav-links {
    display: none;
  }
}

.site-header .nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-block-size: 2.5rem;
  padding-inline: 1.2rem;
  padding-block: 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
}

.pill-btn--outline {
  background: var(--bg-page);
  color: var(--ink-primary);
  border: 1px solid var(--line-strong);
}

.pill-btn--outline:hover {
  border-color: var(--ink-primary);
}

.legal-main {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.legal-shell {
  max-inline-size: 78ch;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3.5vw, 2.5rem);
}

.legal-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-blue-btn);
  margin-block-end: 1.5rem;
}

.legal-header {
  padding-block-end: 1.75rem;
  margin-block-end: 2rem;
  border-block-end: 1px solid var(--line-subtle);
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.78rem;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--line-subtle);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--ink-secondary);
}

.legal-header h1 {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-block: 0.65rem 0.9rem;
}

.legal-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.legal-body {
  display: grid;
  gap: 1.65rem;
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--ink-secondary);
}

.legal-body h2 {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-block-start: 0.85rem;
}

.legal-body h3 {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-block-start: 0.65rem;
}

.legal-body ul,
.legal-body ol {
  padding-inline-start: 1.45rem;
  display: grid;
  gap: 0.5rem;
}

.legal-body ul ul,
.legal-body ol ul {
  margin-block-start: 0.4rem;
}

.legal-body code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.86em;
  padding: 0.12em 0.38em;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--ink-primary);
}

.legal-body hr {
  border: none;
  border-block-start: 1px solid var(--line-subtle);
  margin-block: 0.35rem;
}

.legal-body a {
  color: var(--brand-blue-btn);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body strong {
  color: var(--ink-primary);
}

.legal-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
}

.legal-mini-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--line-subtle);
  display: grid;
  gap: 0.35rem;
}

.legal-mini-card strong {
  font-size: 0.9rem;
}

.legal-mini-card span {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink-secondary);
}

.legal-callout {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: #edf5ff;
  border: 1px solid rgba(5, 126, 230, 0.22);
  color: var(--ink-primary);
  font-size: 0.92rem;
}

.legal-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-subtle);
}

.legal-table {
  inline-size: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: start;
}

.legal-table th,
.legal-table td {
  padding: 0.85rem 1rem;
  border-block-end: 1px solid var(--line-subtle);
  vertical-align: top;
}

.legal-table th {
  background: var(--bg-subtle);
  color: var(--ink-primary);
  font-weight: 600;
}

.site-footer {
  border-block-start: 1px solid var(--line-subtle);
  padding-block: 2rem 2.75rem;
  background: var(--bg-page);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-left {
  display: grid;
  gap: 0.35rem;
}

.footer-meta {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.86rem;
  color: var(--ink-secondary);
}
