/* ==========================================================================
   BOLT (boltgroup.io) — AI Transformation & Autonomous Agents
   ========================================================================== */

@font-face {
  font-family: "TAR Grid Suisse";
  src: url("fonts/SuisseIntl-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TAR Grid Suisse";
  src: url("fonts/SuisseIntl-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@property --bolt-page {
  syntax: "<color>";
  inherits: true;
  initial-value: #f5f5f5;
}
@property --bolt-ink {
  syntax: "<color>";
  inherits: true;
  initial-value: #202020;
}
@property --bolt-ink-soft {
  syntax: "<color>";
  inherits: true;
  initial-value: #777777;
}
@property --bolt-ink-faint {
  syntax: "<color>";
  inherits: true;
  initial-value: #999999;
}
@property --bolt-rule {
  syntax: "<color>";
  inherits: true;
  initial-value: #e5e5e5;
}
@property --bolt-button {
  syntax: "<color>";
  inherits: true;
  initial-value: #212121;
}
@property --bolt-button-ink {
  syntax: "<color>";
  inherits: true;
  initial-value: #ffffff;
}
@property --bolt-accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #4c2bd9;
}

:root {
  --font-inter: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bolt-headline: "TAR Grid Suisse", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --bolt-page: #f5f5f5;
  --bolt-ink: #202020;
  --bolt-ink-soft: #777777;
  --bolt-ink-faint: #999999;
  --bolt-rule: #e5e5e5;
  --bolt-button: #212121;
  --bolt-button-ink: #ffffff;
  --bolt-accent: #4c2bd9;
  --bolt-match: #00876f;
  --bolt-miss: #e0520f;
  --bolt-columns: 12;
  --bolt-gutter: 24px;
  --bolt-margin: 40px;
  --bolt-max: 1280px;
  --nav-pad: 14px;
}

@media (max-width: 799px) {
  :root {
    --bolt-columns: 6;
    --bolt-gutter: 16px;
    --bolt-margin: 24px;
    --nav-pad: 8px;
  }
}

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

html {
  background: var(--bolt-page);
  color: var(--bolt-ink);
  font-family: var(--font-inter);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  transition: background-color 0.8s cubic-bezier(0, 0, 0.2, 1), color 0.8s cubic-bezier(0, 0, 0.2, 1);
}

html[data-tone="dark"] {
  --bolt-page: #0f0f0f;
  --bolt-ink: #ebebeb;
  --bolt-ink-soft: #989898;
  --bolt-ink-faint: #696969;
  --bolt-rule: #2b2b2b;
  --bolt-button: #ebebeb;
  --bolt-button-ink: #0f0f0f;
  --bolt-accent: #b9a8ff;
}

body {
  margin: 0;
  background: var(--bolt-page);
  color: var(--bolt-ink);
  overflow-x: clip;
  transition: background-color 0.8s cubic-bezier(0, 0, 0.2, 1), color 0.8s cubic-bezier(0, 0, 0.2, 1);
}

.bolt-section,
.bolt-footer,
.nav-bar {
  transition:
    background-color 0.8s cubic-bezier(0, 0, 0.2, 1),
    color 0.8s cubic-bezier(0, 0, 0.2, 1),
    border-color 0.8s cubic-bezier(0, 0, 0.2, 1);
}

html[data-tone="dark"] .use-case-asset {
  filter: invert(0.955) hue-rotate(180deg);
}

html[data-tone="dark"] #contact .btn-primary,
html[data-tone="dark"] .nav-cta {
  background: #ebebeb;
  color: #0f0f0f;
}

/* ==========================================================================
   Announcement Banner & Sticky Navigation
   ========================================================================== */

.announce-banner {
  background: #141414;
  color: #f5f5f5;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 16px;
  font-size: 12px;
  line-height: 1;
  position: relative;
  z-index: 41;
}

.announce-banner p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announce-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #7b61ff;
  flex: none;
}

.announce-more {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-overlay {
  position: sticky;
  top: 0;
  z-index: 40;
  pointer-events: none;
  font-family: var(--font-inter);
}

.nav-bar {
  background: color-mix(in oklab, var(--bolt-page) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-overlay[data-scrolled="true"] .nav-bar {
  box-shadow: 0 1px 0 color-mix(in oklab, var(--bolt-ink) 7%, transparent);
}

.nav-inner {
  pointer-events: auto;
  max-width: var(--bolt-max);
  margin-inline: auto;
  padding: var(--nav-pad) var(--bolt-margin);
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: var(--bolt-gutter);
}

.brand-wordmark {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  color: var(--bolt-ink);
  text-decoration: none;
  font-family: var(--bolt-headline);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.bolt-nut-icon {
  width: 19px;
  height: 19px;
  display: block;
  flex: none;
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: -10px;
}

.nav-hover-pill {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--pill-w, 0px);
  height: var(--pill-h, 30px);
  transform: translate3d(var(--pill-x, 0px), var(--pill-y, 0px), 0);
  border-radius: 10px;
  background: color-mix(in oklab, var(--bolt-ink) 6%, transparent);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.16s ease;
}

.nav-links[data-pill="on"] .nav-hover-pill {
  opacity: 1;
}

.nav-links a {
  position: relative;
  z-index: 1;
  color: var(--bolt-ink);
  text-decoration: none;
  font-size: 13px;
  line-height: 18px;
  padding: 6px 10px;
  border-radius: 10px;
}

.nav-cta {
  white-space: nowrap;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 33px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--bolt-button);
  color: var(--bolt-button-ink);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover {
    background: #3a3a3a;
  }
}

/* Right-click brand menu */
.logo-context-menu {
  position: fixed;
  z-index: 200;
  min-width: 210px;
  padding: 5px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: none;
}

.logo-context-menu.is-open {
  display: block;
}

.logo-menu-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #202020;
  font-family: var(--font-inter);
  font-size: 12.5px;
  text-align: left;
  padding: 9px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (hover: hover) and (pointer: fine) {
  .logo-menu-item:hover {
    background: #f2f4f7;
  }
}

/* ==========================================================================
   1. ScrollStory & The Refinery Bed
   ========================================================================== */

.scroll-story {
  color: #202020;
  font-family: var(--font-inter);
  background: #f5f5f5;
  height: 500svh;
  margin-top: -64px;
  position: relative;
}

@media (pointer: coarse), (max-width: 719px) {
  .scroll-story {
    height: 476svh;
  }
}

.scroll-sticky {
  isolation: isolate;
  background: #f5f5f5;
  height: 100svh;
  position: sticky;
  top: 0;
  overflow: clip;
}

.story-scene {
  perspective: 6000px;
  perspective-origin: 50% 50%;
  pointer-events: none;
  z-index: 1;
  position: absolute;
  inset: 0;
}

.case-kicker-tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--bolt-accent);
  margin-bottom: 10px;
}

.story-state-indicator {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #517087;
}

.refinery-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* Refining sheet pills: positioned in screen space by site.js */
.refine-caption,
.refine-readout {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: max-content;
  color: #191919;
  font-family: var(--font-inter);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02), 0 9px 17px rgba(0, 0, 0, 0.03), 0 30px 57px rgba(0, 0, 0, 0.04);
  will-change: transform, opacity;
}

.refine-caption {
  padding: 6px 10px;
}

.refine-readout {
  display: grid;
  gap: 2px;
  padding: 9px 12px 10px;
}

.refine-readout > span {
  color: #9a9a9a;
  font-size: 12px;
  line-height: 1.45;
}

.refine-readout strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #191919;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.refine-readout strong > span:last-child {
  color: #6b6b6b;
}

.scan-shimmer {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #555555 0%, #555555 35%, #c2c2c2 50%, #555555 65%, #555555 100%) 0 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: 2.4s linear infinite scanShimmer;
}

[data-text-motion="false"] .scan-shimmer {
  animation-play-state: paused;
}

@keyframes scanShimmer {
  from { background-position: 100% 0; }
  to { background-position: 0% 0; }
}

/* Story Narrative Blocks */
.story-block {
  z-index: 3;
  opacity: 0;
  pointer-events: auto;
  position: absolute;
}

.story-block[aria-hidden="true"] {
  pointer-events: none;
}

.story-hero {
  opacity: 1;
  pointer-events: none;
  inset: 0;
}

.hero-copy {
  text-align: center;
  pointer-events: auto;
  width: 100%;
  position: absolute;
  top: 176px;
  left: 0;
}

.story-hero h1 {
  font-family: var(--bolt-headline);
  letter-spacing: -0.03em;
  margin: 0;
  font-size: 40px;
  font-weight: 400;
  line-height: 0.96;
}

.story-hero p {
  color: #777777;
  text-wrap: balance;
  max-width: 485px;
  margin: 22px auto 0;
  font-size: 15px;
  line-height: 1.5;
}

.story-actions {
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  display: flex;
}

.story-hero .story-actions {
  justify-content: center;
}

.btn-primary,
.btn-secondary {
  justify-content: center;
  align-items: center;
  gap: 6px;
  display: inline-flex;
  cursor: pointer;
  border: 0;
  border-radius: 14px;
  padding: 7px 13px;
  font-family: var(--font-inter);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.btn-primary {
  color: #ffffff;
  background: #212121;
}

.btn-secondary {
  color: #2a2a2a;
  background: #e8e8e8;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: #3a3a3a;
  }
  .btn-secondary:hover {
    background: #dedede;
  }
}

.story-logos {
  z-index: 0;
  pointer-events: none;
  padding-left: max(var(--bolt-margin), calc((100% - var(--bolt-max)) / 2 + var(--bolt-margin)));
  --logo-fade: 24vw;
  align-items: center;
  gap: 32px;
  display: flex;
  position: absolute;
  top: 416px;
  left: 0;
  right: 0;
  overflow: hidden;
}

.logo-label {
  color: #999999;
  flex: none;
  margin: 0;
  font-size: 12px;
  line-height: 18px;
}

.logo-window {
  --logo-mask: linear-gradient(90deg, transparent 0, rgba(0,0,0,0.14) 44px, rgba(0,0,0,0.58) 96px, #000 160px, #000 calc(100% - var(--logo-fade)), rgba(0,0,0,0.58) calc(100% - var(--logo-fade) * 0.7), rgba(0,0,0,0.14) calc(100% - var(--logo-fade) * 0.42), transparent calc(100% - var(--logo-fade) * 0.18));
  min-width: 0;
  -webkit-mask-image: var(--logo-mask);
  mask-image: var(--logo-mask);
  flex: 1;
  overflow: hidden;
}

.logo-track {
  width: max-content;
  animation: 41s linear infinite logoMarquee;
  display: flex;
}

.logo-set {
  flex: none;
  align-items: center;
  gap: 64px;
  height: 32px;
  padding-right: 64px;
  display: flex;
}

.logo-word {
  font-family: var(--bolt-headline);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #383838;
  white-space: nowrap;
}

@keyframes logoMarquee {
  to { transform: translate(-50%); }
}

.story-block h2 {
  font-family: var(--bolt-headline);
  letter-spacing: -0.03em;
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
}

.story-block > p,
.evidence-heading > p {
  color: #777777;
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.story-agreement,
.story-ending {
  width: min(32%, 420px);
  top: 24%;
  left: 60%;
}

.memo-heading {
  font-family: var(--font-inter) !important;
  color: #888888;
  letter-spacing: normal !important;
  margin: 0 0 22px !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 18px !important;
}

.story-agreement p {
  color: #1f1f1f;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.story-agreement p + p {
  margin-top: 15px;
}

.memo-signoff {
  margin-top: 24px;
}

.memo-signature {
  display: block;
  height: 40px;
  width: auto;
  color: #202020;
  overflow: visible;
}

/* The signature draws itself like a pen stroke */
.memo-signature path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: memoSign 1.6s cubic-bezier(0.45, 0, 0.25, 1) 0.3s both;
}

.story-agreement .memo-signature path {
  stroke-dashoffset: 1;
  animation: none;
}

.story-agreement[aria-hidden="false"] .memo-signature path {
  animation: memoSign 1.6s cubic-bezier(0.45, 0, 0.25, 1) 0.25s both;
}

@keyframes memoSign {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .memo-signature path,
  .story-agreement .memo-signature path {
    stroke-dashoffset: 0;
    animation: none;
  }
}

.memo-signer {
  color: #1f1f1f;
  margin: 8px 0 0 !important;
  font-size: 13px !important;
  line-height: 18px !important;
}

.memo-signer span {
  color: #888888;
  display: block;
  margin-top: 2px;
}

.story-opening {
  text-align: center;
  padding-top: 11svh;
  inset: 0;
}

.story-opening > p {
  margin-top: 14px;
  max-width: 520px;
  margin-inline: auto;
}

@media (min-width: 720px) {
  .story-opening {
    max-width: var(--bolt-max);
    margin-inline: auto;
    padding-inline: var(--bolt-margin);
    padding-top: max(9.5svh, 132px);
    text-align: left;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--bolt-gutter);
    align-content: start;
  }
  .story-opening > h2 {
    grid-column: 1 / 7;
  }
  .story-opening > p {
    grid-column: 8 / 13;
    margin: 2px 0 0;
    max-width: 440px;
  }
}

.story-evidence {
  text-align: center;
  padding-top: 26svh;
  inset: 0;
}

.evidence-heading > p {
  margin-top: 15px;
}

.story-ending > p + p {
  margin-top: 12px;
}


@media (max-width: 719px) {
  .hero-copy {
    padding: 0 25px;
    top: 128px;
  }
  .story-hero p {
    max-width: 360px;
    margin-top: 18px;
  }
  .story-logos {
    top: 348px;
    padding-left: 0;
    display: block;
  }
  .logo-label {
    text-align: center;
    margin: 0 0 12px;
  }
  .story-agreement,
  .story-ending {
    width: calc(100% - 52px);
    top: 112px;
    left: 26px;
  }
  .story-opening,
  .story-evidence {
    padding: 116px 25px 0;
  }
}

/* ==========================================================================
   2. UseCaseArtwork & AccountabilitySections (Clean #f0f0f0 Visuals)
   ========================================================================== */

.bolt-section {
  background: var(--bolt-page);
  color: var(--bolt-ink);
  font-family: var(--font-inter);
  scroll-margin-top: 120px;
}

.bolt-inner {
  width: 100%;
  max-width: var(--bolt-max);
  padding: 112px var(--bolt-margin);
  margin-inline: auto;
}

.bolt-heading {
  font-family: var(--bolt-headline);
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.08;
}

/* 5-Stage Compounding Architecture Strip (Modeled on Image #14) */
.approach-header {
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid color-mix(in oklab, var(--bolt-ink) 8%, transparent);
}

.approach-header-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.approach-legend {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--bolt-ink-soft);
}

.approach-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}

.legend-dot[data-tone="plan"] { background: #4c2bd9; }
.legend-dot[data-tone="execute"] { background: #00876f; }
.legend-dot[data-tone="review"] { background: #e0520f; }
.legend-dot[data-tone="compound"] { background: #d97706; }

.approach-pipeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.pipeline-step {
  background: #efefef;
  border-radius: 10px;
  padding: 18px 16px 20px;
  text-decoration: none;
  color: var(--bolt-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pipeline-step:hover {
    background: #e8ecf4;
    transform: translateY(-2px);
  }
}

.pipeline-step[data-highlight="true"] {
  background: #f5efe4;
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.28);
}

.pipeline-Diagram {
  width: 100%;
  max-width: 140px;
  height: 76px;
  margin-bottom: 10px;
}

.pipeline-Diagram svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pipeline-step strong {
  font-family: var(--bolt-headline);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--bolt-ink);
}

.pipeline-step[data-highlight="true"] strong {
  color: #b45309;
}

.pipeline-step span {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--bolt-ink-soft);
}

@media (max-width: 960px) {
  .approach-pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .approach-pipeline {
    grid-template-columns: 1fr;
  }
}

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

.case-copy-rail {
  grid-column: 1 / 5;
}

.case-copy-stage {
  height: 100svh;
  align-items: center;
  display: grid;
  position: sticky;
  top: 0;
}

.case-copy-stage > .case-copy {
  grid-area: 1 / 1;
  opacity: 0;
  filter: blur(8px);
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.24s cubic-bezier(0.4, 0, 1, 1),
    filter 0.28s cubic-bezier(0.4, 0, 1, 1),
    visibility 0s linear 0.28s;
}

.case-copy-stage > .case-copy[data-active="true"] {
  opacity: 1;
  filter: blur(0px);
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.52s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s,
    filter 0.62s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s,
    visibility 0s;
}

.case-copy {
  max-width: 320px;
}

.case-copy-inline {
  clip-path: inset(50%);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.case-heading {
  letter-spacing: normal;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  display: flex;
}

.case-description {
  color: var(--bolt-ink-soft);
  letter-spacing: normal;
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.case-visuals {
  grid-column: 5 / -1;
  display: grid;
}

.use-case-panel {
  box-sizing: border-box;
  min-height: 100svh;
  align-items: center;
  padding-block: 72px;
  display: grid;
  position: sticky;
  top: 0;
}

.use-case-asset {
  color: #151515;
  background: #f0f0f0;
  border-radius: 10px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.use-case-asset::after {
  content: "";
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 0.5px #e3e3e3;
}

.use-case-visual {
  aspect-ratio: 528 / 430;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  --use-case-art-height: 0.78;
}

.use-case-visual svg,
.use-case-visual canvas {
  width: auto;
  height: calc(var(--use-case-art-height) * 100%);
  max-width: none;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 799px) {
  .use-cases-grid {
    display: block;
  }
  .case-copy-rail {
    display: none;
  }
  .case-copy-inline {
    clip-path: none;
    white-space: normal;
    width: auto;
    height: auto;
    position: static;
    overflow: visible;
    max-width: 520px;
  }
  .case-visuals {
    gap: 56px;
  }
  .use-case-panel {
    min-height: 0;
    padding-block: 0;
    position: relative;
    top: auto;
    gap: 24px;
  }
  .use-case-visual {
    aspect-ratio: 1;
    --use-case-art-height: 0.92;
  }
}

/* ==========================================================================
   3. Harness Anatomy Scroll-Driven Isometric Stack (#platform)
   ========================================================================== */

.harness-scroll-track {
  height: 320svh;
  position: relative;
}

.harness-sticky-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(var(--bolt-columns), minmax(0, 1fr));
  column-gap: var(--bolt-gutter);
  align-items: center;
  padding-block: 96px;
}

.platform-grid > :first-child {
  grid-column: 1 / 8;
}

.platform-copy {
  grid-column: 9 / -1;
}

.platform-copy > p {
  color: var(--bolt-ink-soft);
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.platform-stack {
  --w: 410px;
  --d: 209px;
  --step: 58px;
  --label: 110px;
  --line: 40px;
  width: calc(var(--label) + var(--line) + var(--w) * 1.30766);
  height: calc(var(--w) * 0.755 + var(--step) * 6);
  max-width: 100%;
  user-select: none;
  margin-inline: auto;
  position: relative;
}

.stack-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  --hot: 0;
  --part-y: 0px;
  transform: translate3d(0, var(--part-y), 0);
  transition:
    opacity 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.platform-stack[data-active] .stack-layer {
  opacity: 0.6;
}

.platform-stack[data-active="0"] .stack-layer[data-layer="0"],
.platform-stack[data-active="1"] .stack-layer[data-layer="1"],
.platform-stack[data-active="2"] .stack-layer[data-layer="2"],
.platform-stack[data-active="3"] .stack-layer[data-layer="3"],
.platform-stack[data-active="4"] .stack-layer[data-layer="4"],
.platform-stack[data-active="5"] .stack-layer[data-layer="5"],
.platform-stack[data-active="6"] .stack-layer[data-layer="6"] {
  opacity: 1;
  --hot: 1;
  z-index: 25;
}

.stack-label {
  z-index: calc(10 - var(--i));
  top: calc(var(--i) * var(--step) + var(--w) * 0.5);
  width: calc(var(--label) + var(--line));
  color: color-mix(in oklab, var(--bolt-ink-faint), var(--bolt-ink) calc(var(--hot, 0) * 100%));
  border-top: 1px solid color-mix(in oklab, var(--bolt-ink) calc(12% + var(--hot, 0) * 28%), transparent);
  pointer-events: auto;
  cursor: pointer;
  padding-top: 7px;
  font-size: 13px;
  line-height: 1.2;
  position: absolute;
  left: 0;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.stack-guides {
  --e: 44px;
  z-index: calc(10 - var(--i));
  left: calc(var(--label) + var(--line));
  top: calc(var(--i) * var(--step) + var(--w) * 0.5);
  width: var(--w);
  height: var(--d);
  transform-origin: 0 0;
  pointer-events: none;
  position: absolute;
  transform: matrix(0.866025, -0.5, 0.866025, 0.5, 0, 0);
}

.stack-guides span {
  background: color-mix(in oklab, var(--bolt-ink) 9%, transparent);
  position: absolute;
}

.stack-guides [data-edge="back"],
.stack-guides [data-edge="front"] {
  height: 1px;
  left: calc(-1 * var(--e));
  right: calc(-1 * var(--e));
}

.stack-guides [data-edge="back"] { top: 0; }
.stack-guides [data-edge="front"] { bottom: 0; }

.stack-guides [data-edge="left"],
.stack-guides [data-edge="right"] {
  width: 1px;
  top: calc(-1 * var(--e));
  bottom: calc(-1 * var(--e));
}

.stack-guides [data-edge="left"] { left: 0; }
.stack-guides [data-edge="right"] { right: 0; }

.stack-plate {
  z-index: calc(10 - var(--i));
  left: calc(var(--label) + var(--line));
  top: calc(var(--i) * var(--step) + var(--w) * 0.5);
  width: var(--w);
  height: var(--d);
  transform-origin: 0 0;
  color: var(--bolt-ink-soft);
  box-sizing: border-box;
  font-variant-numeric: tabular-nums;
  background: color-mix(in oklab, var(--bolt-page) 86%, #ffffff calc(var(--hot, 0) * 100%));
  border: 1px solid color-mix(in oklab, var(--bolt-ink) calc(28% + var(--hot, 0) * 22%), transparent);
  box-shadow: 0 calc(var(--hot, 0) * 12px) calc(var(--hot, 0) * 28px) rgba(0, 0, 0, 0.06);
  pointer-events: auto;
  cursor: pointer;
  padding: 13px 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  position: absolute;
  overflow: hidden;
  transform: matrix(0.866025, -0.5, 0.866025, 0.5, 0, 0);
  transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.stack-plate:has(.stack-canvas) {
  padding: 0;
}

.stack-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* Inactive plates show only their outline; the active plate shows its mechanism */
.stack-layer .stack-canvas {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.platform-stack[data-active="0"] [data-layer="0"] .stack-canvas,
.platform-stack[data-active="1"] [data-layer="1"] .stack-canvas,
.platform-stack[data-active="2"] [data-layer="2"] .stack-canvas,
.platform-stack[data-active="3"] [data-layer="3"] .stack-canvas,
.platform-stack[data-active="4"] [data-layer="4"] .stack-canvas,
.platform-stack[data-active="5"] [data-layer="5"] .stack-canvas,
.platform-stack[data-active="6"] [data-layer="6"] .stack-canvas {
  opacity: 1;
}

.stack-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.stack-record {
  white-space: nowrap;
  color: color-mix(in oklab, var(--bolt-ink-faint), var(--bolt-ink) calc(var(--hot, 0) * 85%));
  padding-inline: 4px;
  margin: 0;
  line-height: 17.4px;
}

.stack-record[data-state="checking"] {
  color: var(--bolt-accent);
  background: color-mix(in oklab, var(--bolt-accent) 12%, var(--bolt-page));
}

.stack-record[data-state="checked"] {
  color: #ffffff;
  background: var(--bolt-ink);
}

.stack-entry {
  white-space: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0;
  display: flex;
  color: var(--bolt-ink);
}

.stack-verdict {
  color: #ffffff;
  background: var(--bolt-match);
  padding-inline: 4px;
  font-size: 11px;
  line-height: 16px;
}

.stack-verdict[data-verdict="accent"] {
  background: var(--bolt-accent);
}

.stack-verdict[data-verdict="miss"] {
  background: var(--bolt-miss);
}

.stack-card {
  z-index: 30;
  left: 0;
  top: calc(var(--active, 0) * var(--step) + var(--w) * 0.5 + 34px);
  width: max-content;
  min-width: var(--label);
  background: color-mix(in oklab, var(--bolt-page), #ffffff 78%);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--bolt-ink) 8%, transparent), 0 10px 28px rgba(0, 0, 0, 0.06);
  opacity: 0;
  pointer-events: none;
  border-radius: 12px;
  padding: 10px 12px 12px;
  transition: opacity 0.18s ease, top 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: absolute;
}

.platform-stack[data-active] .stack-card {
  opacity: 1;
}

.stack-card p {
  color: var(--bolt-ink-faint);
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.45;
}

.stack-card ul {
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.stack-card li {
  color: var(--bolt-ink);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
  display: flex;
}

.stack-card li::before {
  content: "";
  background: var(--bolt-ink-faint);
  flex: none;
  width: 5px;
  height: 5px;
}

@media (max-width: 799px) {
  .harness-scroll-track {
    height: auto;
  }
  .harness-sticky-stage {
    position: static;
    min-height: 0;
  }
  .platform-grid {
    grid-template-columns: 1fr;
    row-gap: 48px;
    padding-block: 80px;
  }
  .platform-grid > :first-child {
    grid-area: 2 / 1 / auto / -1;
  }
  .platform-copy {
    grid-column: 1 / -1;
    max-width: 520px;
  }
  .platform-stack {
    --w: min(204px, calc((100vw - 124px) / 1.30766 - 18.55px));
    --d: calc(var(--w) * 0.51);
    --step: 50px;
    --label: 76px;
    --line: 16px;
  }
  .stack-label { font-size: 11px; padding-top: 5px; }
  .stack-plate { padding: 8px 10px; font-size: 9px; }
  .stack-verdict { font-size: 8px; line-height: 12px; }
  .stack-card { display: none; }
}

/* ==========================================================================
   4. SecurityField (4-Layer Masked Drifting Typography Band)
   ========================================================================== */

.security-band {
  color: #151515;
  isolation: isolate;
  background: #f0f0f0;
  border-radius: 10px;
  align-items: center;
  min-height: clamp(340px, 30vw, 400px);
  display: flex;
  position: relative;
  overflow: hidden;
}

.security-band::after {
  content: "";
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.07);
}

.security-copy {
  z-index: 2;
  padding: 48px clamp(32px, 4.5vw, 64px);
  position: relative;
}

.security-copy > * {
  max-width: 400px;
}

.security-copy > p {
  color: #696969;
  text-wrap: balance;
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.security-art {
  z-index: 1;
  position: absolute;
  inset: 0;
}

.security-layer {
  opacity: 0;
  filter: blur(10px);
  transition:
    opacity 1.2s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 0.16s);
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.security-art[data-field="built"] .security-layer {
  opacity: 1;
  filter: blur(0px);
}

.security-strip {
  height: 100%;
  animation: securityDrift var(--duration, 60s) linear infinite;
  will-change: transform;
  position: absolute;
  top: 0;
}

@keyframes securityDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(var(--period, 320px), 0, 0); }
}

.security-badge {
  z-index: 2;
  color: #151515;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0;
  display: flex;
  position: absolute;
  top: 50%;
  right: clamp(48px, 16%, 216px);
  translate: 0 -50%;
}

.security-tile {
  background: #1c1919;
  border-radius: 16px;
  place-items: center;
  width: 104px;
  height: 104px;
  display: grid;
  position: relative;
}

.security-tile::before {
  content: "";
  border: 1px dashed rgba(0, 0, 0, 0.22);
  border-radius: 21px;
  position: absolute;
  inset: -5px;
}

.security-tile svg {
  color: #eeeeee;
  width: 46px;
  height: auto;
  display: block;
}

.security-badge figcaption {
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
}

.security-badge figcaption span {
  color: #525252;
  display: block;
}

@media (max-width: 799px) {
  .security-band {
    min-height: 0;
    display: block;
  }
  .security-copy {
    text-align: center;
    padding: 32px 24px 0;
  }
  .security-copy > * {
    margin-inline: auto;
  }
  .security-art {
    height: clamp(260px, 72vw, 340px);
    margin-top: 28px;
    position: relative;
    inset: auto;
  }
  .security-badge {
    left: 50%;
    right: auto;
    translate: -50% -50%;
  }
}

/* ==========================================================================
   5. FAQ Accordion & Closing CTA & Footer
   ========================================================================== */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(var(--bolt-columns), minmax(0, 1fr));
  align-items: start;
  column-gap: var(--bolt-gutter);
}

.faq-grid > .bolt-heading {
  grid-column: 1 / 7;
}

.faq-list {
  grid-column: 7 / -1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  border-bottom: 1px solid color-mix(in oklab, var(--bolt-ink) 6%, transparent);
}

.faq-item:first-child {
  border-top: 1px solid color-mix(in oklab, var(--bolt-ink) 6%, transparent);
}

.faq-question {
  font: inherit;
  margin: 0;
}

.faq-question button {
  width: calc(100% + 16px);
  min-height: 68px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-inline: -8px;
  padding: 20px 8px;
  font-size: 15px;
  line-height: 1.5;
  display: flex;
}

.faq-icon {
  color: var(--bolt-ink-soft);
  flex: none;
}

.faq-icon-v {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-entry[data-open="true"] .faq-icon-v {
  transform: rotate(90deg);
}

.faq-answer {
  opacity: 0;
  visibility: hidden;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.45s;
  display: grid;
}

.faq-entry[data-open="true"] .faq-answer {
  opacity: 1;
  visibility: visible;
  grid-template-rows: 1fr;
  transition:
    grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 60ms,
    visibility 0s;
}

.faq-answer > div {
  min-height: 0;
  overflow: hidden;
}

.faq-answer p {
  max-width: 440px;
  color: var(--bolt-ink-soft);
  margin: 0;
  padding: 0 32px 24px 0;
  font-size: 15px;
  line-height: 1.5;
}

.closing-inner {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 68svh;
  padding-block: 144px;
  display: flex;
}

.closing-inner .bolt-heading {
  letter-spacing: -0.015em;
  max-width: 760px;
  font-size: 20px;
}

.closing-note {
  color: color-mix(in oklab, var(--bolt-ink), transparent 55%);
  font-family: var(--bolt-headline);
  letter-spacing: -0.02em;
  margin: 4px 0 24px;
  font-size: 20px;
  line-height: 1.1;
}

.bolt-footer {
  background: var(--bolt-page);
  color: var(--bolt-ink);
  border-top: 1px solid color-mix(in oklab, var(--bolt-ink) 6%, transparent);
}

.footer-inner {
  max-width: var(--bolt-max);
  margin-inline: auto;
  padding: 72px var(--bolt-margin) 48px;
  display: grid;
  grid-template-columns: repeat(var(--bolt-columns), minmax(0, 1fr));
  column-gap: var(--bolt-gutter);
  row-gap: 48px;
}

.footer-brand {
  grid-column: 1 / 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-city {
  color: var(--bolt-ink-faint);
  font-size: 13px;
}

.footer-links-wrap {
  grid-column: 5 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--bolt-gutter);
}

.footer-col h2 {
  color: var(--bolt-ink-faint);
  font-size: 13px;
  font-weight: 400;
  margin: 0 0 12px;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: var(--bolt-ink);
  font-size: 13px;
  text-decoration: none;
}

.footer-legal {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in oklab, var(--bolt-ink) 6%, transparent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--bolt-ink-faint);
  font-size: 13px;
}

.footer-legal ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: var(--bolt-ink-faint);
  text-decoration: none;
}

@media (max-width: 799px) {
  .faq-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .faq-grid > .bolt-heading,
  .faq-list {
    grid-column: auto;
  }
  .footer-brand,
  .footer-links-wrap {
    grid-column: 1 / -1;
  }
  .footer-links-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }
}

/* Company Page & Open Roles */
.company-page {
  max-width: var(--bolt-max);
  margin-inline: auto;
  padding: 112px var(--bolt-margin) 72px;
}

.company-section {
  max-width: 580px;
  margin-inline: auto;
}

.company-heading {
  font-family: var(--bolt-headline);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 36px;
  color: var(--bolt-ink);
}

.company-memo p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--bolt-ink);
  margin: 0;
}

.company-memo p + p {
  margin-top: 18px;
}

.company-roles {
  margin-top: 128px;
  padding-top: 64px;
  border-top: 1px solid color-mix(in oklab, var(--bolt-ink) 8%, transparent);
}

.company-roles-heading {
  font-family: var(--bolt-headline);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0 0 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-roles-badge {
  font-family: var(--font-inter);
  font-size: 12px;
  font-weight: 400;
  color: var(--bolt-ink-soft);
  background: color-mix(in oklab, var(--bolt-ink) 6%, transparent);
  padding: 3px 10px;
  border-radius: 999px;
}

.role-tracks {
  display: grid;
  gap: 36px;
}

.role-track h3 {
  font-size: 13px;
  font-weight: 400;
  color: var(--bolt-ink-faint);
  margin: 0 0 12px;
}

.role-track ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid color-mix(in oklab, var(--bolt-ink) 6%, transparent);
}

.role-track li {
  border-bottom: 1px solid color-mix(in oklab, var(--bolt-ink) 6%, transparent);
}

.role-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--bolt-ink);
}

.role-item span {
  color: var(--bolt-ink-soft);
  font-size: 14px;
}

/* Company & Legal Document Layout */
.doc-layout {
  max-width: var(--bolt-max);
  margin-inline: auto;
  padding: 96px var(--bolt-margin);
  display: grid;
  grid-template-columns: repeat(var(--bolt-columns), minmax(0, 1fr));
  column-gap: var(--bolt-gutter);
  align-items: start;
}

.doc-aside {
  grid-column: 1 / 5;
  position: sticky;
  top: 96px;
}

.doc-title {
  font-family: var(--bolt-headline);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
}

.doc-updated {
  margin-top: 8px;
  font-size: 14px;
  color: var(--bolt-ink-soft);
}

.doc-body {
  grid-column: 6 / -1;
  max-width: 600px;
}

.doc-body p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--bolt-ink-soft);
  margin: 0;
}

.doc-body p + p {
  margin-top: 16px;
}

@media (max-width: 799px) {
  .doc-layout {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .doc-aside,
  .doc-body {
    grid-column: auto;
    position: static;
  }
}


/* ==========================================================================
   Mobile (phones)
   ========================================================================== */
@media (max-width: 719px) {
  .evidence-heading br {
    display: none;
  }
}

@media (max-width: 479px) {
  .nav-inner {
    column-gap: 10px;
  }
  .nav-links a {
    padding: 6px 7px;
  }
  .nav-cta {
    min-height: 30px;
    padding: 6px 11px;
    font-size: 12.5px;
  }
}

/* Harness on phones: each layer is a flat, full-width card with its mechanism */
@media (max-width: 799px) {
  .platform-stack {
    width: 100%;
    height: auto;
    display: grid;
    gap: 34px;
  }
  .platform-stack .stack-layer,
  .platform-stack[data-active] .stack-layer {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
    --hot: 1;
  }
  .stack-label {
    position: static;
    display: block;
    width: auto;
    color: var(--bolt-ink);
    border-top: 1px solid color-mix(in oklab, var(--bolt-ink) 14%, transparent);
    padding-top: 10px;
    margin-bottom: 12px;
    font-size: 14px;
  }
  .stack-guides {
    display: none;
  }
  .stack-plate {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 330 / 168;
    transform: none;
    box-shadow: none;
  }
  .platform-stack .stack-layer .stack-canvas {
    opacity: 1;
  }
}


/* ==========================================================================
   Closing CTA sculpture (#contact)
   ========================================================================== */
.sculpture-cta {
  background: #ecebe8;
  color: #111111;
  overflow: hidden;
}

.sculpture-cta-inner {
  max-width: var(--bolt-max);
  margin-inline: auto;
  padding-inline: var(--bolt-margin);
  min-height: min(88svh, 800px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  column-gap: var(--bolt-gutter);
}

.sculpture-cta-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.sculpture-cta-heading {
  margin: 0;
  font-family: var(--bolt-headline);
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #111111;
}

.sculpture-cta .btn-primary {
  background: #111111;
  color: #ffffff;
}

.sculpture-cta-art {
  position: relative;
  align-self: stretch;
  min-height: min(88svh, 800px);
}

.sculpture-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 799px) {
  .sculpture-cta-inner {
    grid-template-columns: 1fr;
    padding-top: 96px;
  }
  .sculpture-cta-copy {
    align-items: center;
    text-align: center;
  }
  .sculpture-cta-heading {
    font-size: 36px;
  }
  .sculpture-cta-art {
    min-height: 72svh;
  }
}


/* ==========================================================================
   Touch: instant taps, press feedback on pointer-down, no text selection on
   controls, landscape safe areas
   ========================================================================== */
a, button, [role="button"] {
  touch-action: manipulation;
}

.btn-primary,
.btn-secondary,
.nav-cta,
.nav-links a,
.brand-wordmark {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.btn-primary,
.btn-secondary,
.nav-cta {
  transition: background-color 0.15s ease, transform 0.12s ease-out;
}

.btn-primary:active,
.btn-secondary:active,
.nav-cta:active {
  transform: scale(0.97);
}

.nav-inner {
  padding-left: max(var(--bolt-margin), env(safe-area-inset-left, 0px));
  padding-right: max(var(--bolt-margin), env(safe-area-inset-right, 0px));
}

/* Hero headline: two balanced lines on phones instead of three ragged ones */
@media (max-width: 719px) {
  .story-hero h1 {
    font-size: clamp(30px, 8.4vw, 38px);
    line-height: 1;
    text-wrap: balance;
  }
  .story-hero h1 br {
    display: none;
  }
  .hero-copy {
    padding: 0 18px;
  }
  .story-hero p {
    max-width: none;
    font-size: clamp(13.5px, 3.7vw, 15px);
    text-wrap: balance;
  }
}


/* ==========================================================================
   Scroll stops: invisible markers that site.js places at each stage
   ========================================================================== */
.scroll-stop {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
