/* CoreShift AI — white, ink and one signal colour. */
:root {
  --paper: #FFFFFF;
  --paper-2: #F2F3F5;
  --card: #F7F8F9;
  --ink: #16181B;
  --ink-2: #33373D;
  --muted: #676B70;
  --rule: #DCDFE3;
  --rule-strong: #16181B;
  --signal: #DC4A12;
  --signal-ink: #B83A0C;
  --steel: #2E4C5C;
  --night: #121416;
  --night-2: #1C1F22;
  --night-rule: #2E3236;
  --night-text: #E9E4D9;
  --night-muted: #9A9C9C;

  /* One family, Archivo: semi-condensed bold for headlines, normal width for text */
  --serif: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --space: clamp(72px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--ink); color: var(--paper); padding: 8px 12px; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.dim { color: var(--muted); }

/* ---------- Type ---------- */
.eyebrow {
  font: 600 15px/1.2 var(--sans);
  letter-spacing: 0;
  color: var(--ink-2);
  margin: 0 0 22px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { color: var(--signal); }
.eyebrow--dim { color: var(--night-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.eyebrow--signal { color: var(--night-text); }

.display {
  font-family: var(--serif);
  font-weight: 650;
  font-stretch: 87.5%;
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
}
.display em { font-style: normal; color: var(--steel); }
.display--page { font-size: clamp(36px, 5.2vw, 70px); max-width: 18ch; }
.display--sm { font-size: clamp(30px, 3.8vw, 52px); }
.h2 {
  font-family: var(--serif); font-weight: 650; font-stretch: 87.5%;
  font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.018em;
  margin: 0; text-wrap: balance; max-width: 22ch;
}
.h3 { font-family: var(--serif); font-weight: 600; font-stretch: 87.5%; font-size: 27px; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 12px; }
.h4 { font-family: var(--sans); font-weight: 600; font-size: 17px; margin: 0 0 6px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 58ch; margin: 28px 0 0; }
.lede--ink { color: var(--ink); font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; margin: 0 0 20px; }
.note { font-size: 15px; color: var(--muted); border-left: 2px solid var(--signal); padding-left: 14px; margin: 36px 0 0; max-width: 70ch; }
.note a { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 15px/1 var(--sans);
  padding: 15px 22px;
  border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--paper);
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--signal { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn--signal:hover { background: var(--signal-ink); border-color: var(--signal-ink); }
.btn--light { background: transparent; color: var(--night-text); border-color: var(--night-rule); font-family: var(--mono); font-size: 14px; }
.btn--light:hover { border-color: var(--signal); color: #fff; }
.link-arrow { font-weight: 500; font-size: 15px; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover { color: var(--signal); }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- Masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.masthead__row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark { width: 26px; height: 26px; color: var(--ink); }
.brand__word { font: 700 semi-condensed 21px/1 var(--sans); letter-spacing: -.025em; }
.brand__ai { color: var(--signal); margin-left: 4px; }
/* The core starts centred in its frame and shifts out to its breakout position */
.core { transform-box: fill-box; transform-origin: center; }
.brand__mark .core, .icard--more.is-in .icard__mark .core { animation: core-out .9s cubic-bezier(.65, 0, .25, 1) .3s both; }
.icard__mark .core { transform: translate(-9px, 9px) scale(.55); }
@keyframes core-out { from { transform: translate(-9px, 9px) scale(.55); } to { transform: none; } }
body.home .brand__mark .core { animation: none; } /* driven by scroll on the home page */
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 15px; text-decoration: none; color: var(--ink-2); position: relative; }
.nav a:not(.nav__cta):hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -26px; height: 2px; background: var(--signal); }
.nav__cta { border: 1.5px solid var(--ink); padding: 10px 16px; color: var(--ink) !important; font-weight: 500; transition: background .2s, color .2s; }
.nav__cta:hover { background: var(--ink); color: var(--paper) !important; }
/* Solutions dropdown */
.navdrop { position: relative; }
.navdrop__top::before { content: ""; position: absolute; right: -14px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.navdrop { margin-right: 12px; }
.navdrop__menu { position: absolute; top: calc(100% + 22px); left: -18px; width: 360px; display: none; flex-direction: column; padding: 8px; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 28px 56px -28px rgba(0,0,0,.45); z-index: 30; }
.navdrop__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.navdrop:hover .navdrop__menu, .navdrop:focus-within .navdrop__menu { display: flex; }
.nav .navdrop__menu a { display: block; padding: 11px 12px; color: var(--ink); }
.nav .navdrop__menu a::after { display: none; }
.nav .navdrop__menu a:hover { background: var(--paper-2); }
.navdrop__menu b { display: block; font-weight: 600; font-size: 15px; }
.navdrop__menu span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.nav .navdrop__menu .navdrop__sub { margin: -4px 0 4px 14px; padding-left: 14px; border-left: 2px solid var(--signal); }
.navdrop__sub b { color: var(--signal); }
.navtoggle { display: none; font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: none; border: 1.5px solid var(--ink); padding: 10px 14px; color: var(--ink); cursor: pointer; }

@media (max-width: 920px) {
  .navtoggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 18px; }
  .nav a[aria-current]::after { display: none; }
  .nav a[aria-current] { color: var(--signal); }
  .nav__cta { margin-top: 16px; text-align: center; border-bottom: 1.5px solid var(--ink) !important; }
  .navdrop { margin-right: 0; display: flex; flex-direction: column; }
  .navdrop__top::before { display: none; }
  .navdrop__menu { position: static; display: flex; width: auto; padding: 0 0 8px 16px; border: 0; box-shadow: none; background: none; }
  .nav .navdrop__menu a { padding: 10px 0; border-bottom: 0; font-size: 16px; }
}

/* ---------- Hero actions ---------- */
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 40px; }

/* Signature: the sensor trace */
.trace { margin: 0; background: var(--night); color: var(--night-text); padding: 18px 18px 14px; box-shadow: 0 1px 0 var(--ink), 0 30px 60px -30px rgba(22,24,27,.45); }
.trace__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--night-rule); }
.trace__head .dim { color: var(--night-muted); }
.trace__live { color: #9FD3A6; display: inline-flex; align-items: center; gap: 7px; }
.trace__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5DBB6A; animation: blink 2.4s infinite; }
.trace__svg { width: 100%; height: auto; margin-top: 10px; overflow: visible; }
.trace__grid line { stroke: var(--night-rule); stroke-width: 1; }
.trace__band { fill: rgba(126, 168, 189, .16); stroke: rgba(126, 168, 189, .45); stroke-width: 1; stroke-dasharray: 3 4; }
.trace__line { fill: none; stroke: var(--night-text); stroke-width: 1.8; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.6s cubic-bezier(.45,.05,.3,1) .3s forwards; }
.trace__flag { opacity: 0; animation: fade .6s ease 3.5s forwards; }
.trace__flag line { stroke: var(--signal); stroke-width: 1.2; stroke-dasharray: 4 4; }
.trace__flag circle { fill: var(--signal); }
.trace__flag .trace__pulse { fill: none; stroke: var(--signal); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2s ease-out 4s infinite; }
.trace__flag rect { fill: var(--signal); }
.trace__flag .t1 { font: 600 13px var(--sans); fill: #fff; }
.trace__flag .t2 { font: 400 11.5px var(--mono); fill: rgba(255,255,255,.85); }
.trace__bars rect { fill: #4A5257; transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); animation: grow .4s ease forwards; animation-delay: calc(.3s + var(--i) * 0.048s); }
.trace__bars rect.hot { fill: var(--signal); }
.trace__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--night-muted); padding-top: 12px; border-top: 1px solid var(--night-rule); margin-top: 6px; font-size: 11.5px; }
.trace__legend span { display: inline-flex; align-items: center; gap: 8px; }
.k { display: inline-block; }
.k--line { width: 18px; height: 2px; background: var(--night-text); }
.k--band { width: 18px; height: 10px; background: rgba(126,168,189,.25); border: 1px dashed rgba(126,168,189,.6); }
.k--bar { width: 3px; height: 12px; background: var(--signal); }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes grow { to { transform: scaleY(1); } }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0 var(--space); }
.section--rule { border-top: 1px solid var(--rule); }
.section--ink { background: var(--night); color: var(--night-text); }
.section--ink .h2 { color: #fff; }
.section--ink .eyebrow { color: var(--night-text); }
.section--ink p { color: var(--night-muted); }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

.pagehead { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); }

/* Practice number (services page) */
.practice__n { display: block; color: var(--signal); font-size: 13px; margin-bottom: 20px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { padding: 0 28px 0 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--night-rule); }
.step__top { display: flex; justify-content: space-between; padding: 0 0 14px; margin-bottom: 28px; border-bottom: 2px solid var(--signal); color: #fff; }
.step__top .dim { color: var(--night-muted); }
.step .h3 { color: #fff; }
.step p { font-size: 15.5px; margin: 0; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; row-gap: 40px; }
  .step, .step + .step { padding: 0; border-left: 0; }
}

/* Tools */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1.5px solid var(--ink); }
.tool { padding: 32px; display: flex; flex-direction: column; }
.tool + .tool { border-left: 1px solid var(--rule); }
.tool p { margin: 0 0 14px; color: var(--ink-2); font-size: 15.5px; }
.tool__meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 44px; flex-wrap: wrap; }
.tool__name { font: 600 semi-condensed 32px/1.05 var(--serif); transition: color .2s; letter-spacing: -.02em; margin: 0 0 12px; }
.tool .tool__line { font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 7px; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; color: var(--muted); }
.status::before { content: ""; width: 7px; height: 7px; border: 1.5px solid var(--muted); border-radius: 50%; }
.status--live { color: #2B7A3D; }
.status--live::before { background: #3B9A4F; border-color: #3B9A4F; }
@media (max-width: 900px) {
  .tools { grid-template-columns: 1fr; }
  .tool + .tool { border-left: 0; border-top: 1px solid var(--rule); }
  .tool { padding: 26px 22px; }
}

/* Post list */
.posts { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.posts li { border-bottom: 1px solid var(--rule); }
.post-row { display: grid; grid-template-columns: 120px 1fr 150px; gap: 32px; padding: 28px 0; text-decoration: none; align-items: start; }
.post-row__date { color: var(--muted); padding-top: 6px; }
.post-row__title { display: block; font: 600 semi-condensed clamp(22px, 2.2vw, 28px)/1.2 var(--serif); letter-spacing: -.01em; margin-bottom: 8px; transition: color .2s; }
.post-row__sum { color: var(--ink-2); font-size: 15.5px; display: block; max-width: 64ch; }
.post-row__meta { text-align: right; padding-top: 6px; }
.post-row:hover .post-row__title { color: var(--signal); }
@media (max-width: 760px) {
  .post-row { grid-template-columns: 1fr; gap: 8px; }
  .post-row__meta { text-align: left; }
  .post-row__meta br { display: none; }
  .post-row__meta .dim::before { content: " · "; }
}

/* CTA */
.cta { background: var(--signal); color: #fff; padding: clamp(64px, 8vw, 112px) 0; }
.cta__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.cta .display em { color: #fff; }
.cta p { font-size: 18px; margin: 0 0 28px; color: rgba(255,255,255,.92); max-width: 44ch; }
.cta .btn { background: var(--ink); border-color: var(--ink); }
.cta .btn:hover { background: #000; }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--night); color: var(--night-text); padding: clamp(64px, 8vw, 104px) 0 32px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: 56px; border-bottom: 1px solid var(--night-rule); }
.footer__line { font: 600 semi-condensed clamp(32px, 4.4vw, 60px)/1.02 var(--serif); letter-spacing: -.02em; margin: 0; color: #fff; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 48px 0 64px; }
.footer__grid a { display: block; text-decoration: none; color: var(--night-text); padding: 5px 0; font-size: 15px; }
.footer__grid a:hover { color: var(--signal); }
.footer__base { display: flex; justify-content: space-between; color: var(--night-muted); font-size: 13px; border-top: 1px solid var(--night-rule); padding-top: 24px; gap: 16px; flex-wrap: wrap; }
@media (max-width: 680px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Services page ---------- */
.practice-detail { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(32px, 6vw, 96px); }
.practice-detail__side { position: sticky; top: 112px; align-self: start; }
.practice-detail__side .practice__n { margin-bottom: 20px; }
.practice-detail__body > p { color: var(--ink-2); max-width: 62ch; }
.ticks { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--rule); }
.ticks li { padding: 14px 0 14px 32px; border-bottom: 1px solid var(--rule); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 7px; height: 7px; background: var(--signal); }
@media (max-width: 820px) { .practice-detail { grid-template-columns: 1fr; } .practice-detail__side { position: static; } }

.principles, .features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; border-top: 1.5px solid var(--ink); }
.features { grid-template-columns: repeat(3, 1fr); }
.principles > div, .features > div { padding: 28px 32px 32px 0; border-bottom: 1px solid var(--rule); }
.principles > div:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--rule); }
.features > div:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--rule); }
.principles dt, .features dt { font: 600 semi-condensed 23px/1.25 var(--serif); margin-bottom: 10px; }
.principles dd, .features dd { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
  .features > div { padding-left: 0 !important; border-left: 0 !important; padding-right: 24px; }
}
@media (max-width: 640px) {
  .principles, .features { grid-template-columns: 1fr; }
  .principles > div, .principles > div:nth-child(even) { padding: 24px 0; border-left: 0; }
}

/* ---------- Industries page ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 40px; padding-bottom: 48px; }
.jump a { font: 500 12.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--rule); padding: 10px 14px; background: var(--card); transition: border-color .2s, color .2s; }
.jump a:hover { border-color: var(--signal); color: var(--signal); }
.industry__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); }
.industry__side { position: sticky; top: 112px; align-self: start; }
.industry__ph { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 24px; background: var(--paper-2); }
.industry__ph img { width: 100%; height: 100%; object-fit: cover; }
.industry__side .mono { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .1em; }
.industry__lede { font: 600 semi-condensed 21px/1.4 var(--serif); color: var(--ink-2); margin: 18px 0 0; max-width: 32ch; }
.uses { list-style: none; margin: 0; padding: 0; counter-reset: u; border-top: 1.5px solid var(--ink); }
.uses li { counter-increment: u; padding: 22px 0 22px 56px; border-bottom: 1px solid var(--rule); position: relative; }
.uses li::before { content: counter(u, decimal-leading-zero); position: absolute; left: 0; top: 25px; font: 500 12.5px var(--mono); color: var(--signal); }
.uses p { margin: 0; color: var(--ink-2); font-size: 15.5px; max-width: 60ch; }
@media (max-width: 820px) { .industry__grid { grid-template-columns: 1fr; } .industry__side { position: static; } }

/* ---------- About / contact ---------- */
.about { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(32px, 6vw, 96px); }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 96px); }
.contact a { color: var(--night-text); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: flex; flex-direction: column; gap: 8px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--night-muted); }
.form__wide { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: 400 16px/1.4 var(--sans); color: var(--night-text);
  background: var(--night-2); border: 1px solid var(--night-rule); border-radius: 0;
  padding: 13px 14px; text-transform: none; letter-spacing: 0;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--signal); }
.form .btn { justify-self: start; }
.form__hint { align-self: center; font-size: 13px; margin: 0; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ---------- Prose / articles ---------- */
.prose { font-size: 18px; line-height: 1.7; max-width: 68ch; }
.prose p { margin: 0 0 1.2em; color: var(--ink-2); }
.prose h2 { font: 600 semi-condensed 32px/1.15 var(--serif); letter-spacing: -.012em; margin: 2em 0 .6em; color: var(--ink); }
.prose h3 { font: 600 19px/1.3 var(--sans); margin: 1.8em 0 .5em; }
.prose a { color: var(--ink); text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.2em; color: var(--ink-2); margin: 0 0 1.4em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--signal); }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--signal); font: 600 semi-condensed 24px/1.4 var(--serif); color: var(--ink); }
.prose blockquote p { color: inherit; }
.prose code { font: 15px var(--mono); background: var(--paper-2); padding: 2px 5px; }
.prose pre { background: var(--night); color: var(--night-text); padding: 20px; overflow-x: auto; font-size: 14px; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15.5px; display: block; overflow-x: auto; }
.prose th { text-align: left; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; border-bottom: 1.5px solid var(--ink); padding: 10px 16px 10px 0; }
.prose td { border-bottom: 1px solid var(--rule); padding: 12px 16px 12px 0; vertical-align: top; color: var(--ink-2); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 3em 0; }
.prose--article { margin: 0 auto; padding-bottom: 56px; }
.article__head { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(40px, 5vw, 64px); max-width: calc(68ch + 2 * var(--gutter)); }
.article__head .display--page { font-size: clamp(34px, 4.6vw, 58px); max-width: none; }
.article__meta { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition: none !important; }
  .strip__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Photography ---------- */
.pagehead__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pagehead--photo::after {
  /* solid dark behind the words, photo shows through on the right */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,12,13,.97) 0%, rgba(11,12,13,.93) 38%, rgba(11,12,13,.55) 66%, rgba(11,12,13,.3) 100%),
    linear-gradient(0deg, rgba(11,12,13,.7), transparent 40%);
}
.pagehead--photo .display em { color: #F4A97F; }
.pagehead--photo .lede { color: rgba(255,255,255,.84); }
.eyebrow--onphoto { color: #fff; }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: #F4A97F; }
.trace--glass { background: rgba(14,16,18,.74); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }

.pagehead--photo { position: relative; isolation: isolate; color: #fff; background: #0B0C0D; padding: clamp(80px, 12vw, 168px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.pagehead--photo .display { color: #fff; }
@media (max-width: 820px) { .pagehead--photo::after { background: rgba(11,12,13,.84); } }

/* ---------- Scroll progress (all pages) ---------- */
.scrollbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; pointer-events: none; }
.scrollbar span { display: block; height: 100%; width: 100%; background: var(--signal); transform-origin: left; transform: scaleX(0); }

/* ---------- Home: night cinematic ---------- */
body.home {
  /* the home page runs on the night palette; shared components follow the tokens */
  --paper: #111315; --paper-2: #1A1D20; --card: #1A1D20;
  --ink: #E9E4D9; --ink-2: #B3B5B4; --muted: #8A8D8E; --rule: #2A2E32; --steel: #F4A97F;
  background: var(--paper); color: var(--ink);
}
body.home .eyebrow { color: var(--signal); }
body.home .masthead { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; transition: background .35s, border-color .35s; }
body.home .masthead.is-scrolled { background: rgba(17,19,21,.86); border-color: var(--rule); }
body.home .nav a[aria-current]::after { display: none; }
body.home @media (max-width: 920px) { body.home .nav { background: #111315; } }

/* Hero */
.cine { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; padding: 140px 0 96px; isolation: isolate; }
/* Hero background video */
.cine__media { position: absolute; inset: 0; z-index: -2; will-change: transform; background: #0B0C0D url(/static/video/hero-plant.jpg) center / cover no-repeat; }
.cine__media video { width: 100%; height: 100%; object-fit: cover; }
.cine::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,9,10,.95) 0%, rgba(8,9,10,.84) 34%, rgba(8,9,10,.3) 64%, rgba(8,9,10,.05) 84%),
    linear-gradient(0deg, rgba(17,19,21,1) 0%, rgba(17,19,21,0) 34%),
    linear-gradient(180deg, rgba(8,9,10,.6) 0%, rgba(8,9,10,0) 22%);
}
.cine__copy { width: 100%; will-change: transform, opacity; }
.cine .display { color: #fff; max-width: 13ch; font-size: clamp(44px, 6vw, 92px); }
.cine .display em { color: #F4A97F; }
.cine .lede { color: rgba(255,255,255,.84); max-width: 48ch; }
.cine__cue { position: absolute; right: var(--gutter); bottom: 96px; color: rgba(255,255,255,.7); text-decoration: none; writing-mode: vertical-rl; letter-spacing: .2em; text-transform: uppercase; font-size: 11px; display: flex; align-items: center; gap: 14px; }
.cine__cue span { width: 1px; height: 64px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.cine__cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--signal); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { to { top: 100%; } }
/* Map labels on the aerial shot, and the caption naming each group's scene */
.cine__map { position: absolute; inset: 0; z-index: 0; pointer-events: none; will-change: transform; }
.cine__box { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); aspect-ratio: 16 / 9; }
.cine__pin { position: absolute; opacity: 0; transition: opacity .5s; }
.cine__pin.is-on { opacity: 1; }
.cine__pin i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--signal); border: 2px solid #fff; }
.cine__pin i::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--signal); animation: pin-ping 2s infinite; }
@keyframes pin-ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.cine__pin span { position: absolute; left: 20px; top: -22px; white-space: nowrap; background: rgba(12,13,14,.88); border-left: 3px solid var(--signal); padding: 6px 12px 7px; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.3; }
.cine__pin small { display: block; font-size: 12.5px; font-weight: 500; color: #F4A97F; }
.cine__cap { position: absolute; z-index: 2; right: calc(var(--gutter) + 40px); bottom: 96px; width: 320px; text-shadow: 0 1px 12px rgba(0,0,0,.7); }
.cine__cap-t { font-size: 22px; font-weight: 600; line-height: 1.2; margin: 0 0 6px; min-height: 1.2em; transition: opacity .5s; }
.cine__cap-l { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.4; margin: 0; min-height: 2.8em; transition: opacity .5s; }
.cine__cap.is-aerial .cine__cap-t, .cine__cap.is-aerial .cine__cap-l { opacity: 0; }
.cine__bars { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.cine__bars i { height: 2px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.cine__bars b { position: absolute; inset: 0; background: var(--signal); transform-origin: left; transform: scaleX(0); }
.cine:not(.has-video) .cine__map, .cine:not(.has-video) .cine__cap { display: none; }
@media (max-width: 1000px) { .cine__map, .cine__cap { display: none; } }
@media (max-width: 900px) {
  .cine::after { background: linear-gradient(0deg, rgba(17,19,21,1) 0%, rgba(8,9,10,.74) 45%, rgba(8,9,10,.4) 100%); }
  .cine__cue { display: none; }
}

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.rv.is-in { opacity: 1; transform: none; }

/* What we do: sticky chart beside the list */
.story__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.story__grid > * { min-width: 0; }
/* the chart rides in the middle of the screen, level with the text being read */
.story__visual { position: sticky; top: calc(50vh - 230px); height: 470px; }
.story__visual .viz { top: 50% !important; transform: translateY(-50%) translateY(18px) scale(.985) !important; }
.story__visual .viz.is-on { transform: translateY(-50%) !important; }
.story__head { margin-bottom: clamp(24px, 4vw, 48px); }
.story__head .h2 { color: #fff; max-width: none; margin-bottom: 14px; }
.story__deploy { color: var(--ink-2); font-size: 18px; margin: 0; }
.story__list { list-style: none; margin: 0; padding: 0; }
.story__list li { padding: 36px 0 40px; border-top: 1px solid var(--rule); }
.story__list > li > .mono { color: var(--signal); }
.story__list .h3 { color: #fff; font-size: 32px; margin: 18px 0 10px; }
.story__list p { color: var(--ink-2); margin: 0 0 22px; max-width: 46ch; }
@media (min-width: 901px) {
  .story__list li { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .38; transition: opacity .5s; }
  .story__list li:first-child { min-height: 470px; justify-content: flex-start; padding-top: 24px; }
  .story__list li.is-active { opacity: 1; }
  .story__inline { display: none; }
}
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__visual { display: none; }
  .story__inline { margin: 4px 0 24px; }
}

/* Practice charts */
.viz { margin: 0; background: rgba(20,22,25,.92); border: 1px solid #2A2E32; padding: 18px 18px 14px; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.story__visual .viz { will-change: opacity, transform; position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .55s ease, transform .55s ease; pointer-events: none; }
.story__visual .viz.is-on { opacity: 1; transform: none; pointer-events: auto; }
.viz__head { font-size: 14px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #2A2E32; color: #E9E4D9; }
.viz__tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8A8D8E; border: 1px solid #3A3F44; padding: 3px 7px; }
.viz__svg { width: 100%; height: auto; margin-top: 8px; overflow: visible; font-family: var(--sans); }
.viz__grid line { stroke: #2A2E32; }
.viz__grid text, .viz__x text, .viz__axis { fill: #8A8D8E; font-size: 11px; }
.viz__label { fill: #B3B5B4; font-size: 11.5px; }
.viz__label--strong { fill: #fff; font: 600 13px var(--sans); }
.viz__label--sig { fill: #F4A97F; }
.viz__row { fill: #fff; font: 500 13px var(--sans); }
.viz__total { fill: #fff; font: 600 15px var(--mono); }
.viz__limit { stroke: var(--signal); stroke-width: 1.2; stroke-dasharray: 5 5; }
.viz__today { stroke: #5A6066; stroke-width: 1; stroke-dasharray: 2 4; }
.viz__window { fill: rgba(220,74,18,.14); stroke: rgba(220,74,18,.5); stroke-dasharray: 3 3; }
.viz__draw { fill: none; stroke: #E9E4D9; stroke-width: 1.9; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.viz__draw--soft { stroke: rgba(126,168,189,.85); stroke-width: 2; }
.viz__fore { fill: none; stroke: var(--signal); stroke-width: 2; stroke-dasharray: 6 5; }
.viz__move { fill: none; stroke: #F4A97F; stroke-width: 1.5; stroke-dasharray: 4 4; }
.viz__gap { stroke: #F4A97F; stroke-width: 1.3; }
.viz__ring { fill: none; stroke: var(--signal); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.viz__hit { fill: var(--signal); }
.viz__now { fill: #111315; stroke: #fff; stroke-width: 2; }
.viz__dots circle { fill: #7F8B91; opacity: 0; }
.viz__bar { transform-box: fill-box; transform-origin: left; transform: scaleX(0); }
.viz__late { opacity: 0; }
.viz__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 12px; margin-top: 4px; border-top: 1px solid #2A2E32; color: #8A8D8E; font-size: 11.5px; }
.viz__legend span { display: inline-flex; align-items: center; gap: 8px; }
.k--dash { width: 18px; height: 0; border-top: 2px dashed var(--signal); }
.k--win { width: 14px; height: 10px; background: rgba(220,74,18,.25); border: 1px dashed rgba(220,74,18,.7); }
.k--dot { width: 7px; height: 7px; border-radius: 50%; background: #7F8B91; }
.k--sig { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); }
.viz__band { fill: rgba(126,168,189,.16); stroke: rgba(126,168,189,.45); stroke-width: 1; stroke-dasharray: 3 4; }
.viz__bars rect { fill: #4A5257; transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); }
.viz__bars rect.hot { fill: var(--signal); }
.viz__flagline { stroke: var(--signal); stroke-width: 1.2; stroke-dasharray: 4 4; }
.viz__callout { fill: var(--signal); }
.viz__callout-t1 { fill: #fff; font: 600 13.5px var(--sans); }
.viz__callout-t2 { fill: rgba(255,255,255,.88); font: 500 12px var(--sans); }
.viz__target { fill: none; stroke: rgba(233,228,217,.6); stroke-width: 1.6; stroke-dasharray: 6 5; }
.viz__gaparea { fill: rgba(220,74,18,.22); }
.viz__label--gap { fill: #F4A97F; font: 600 13px var(--sans); }
.k--dash-light { width: 18px; height: 0; border-top: 2px dashed rgba(233,228,217,.6); }
.viz__node rect { fill: #1A1D20; stroke: #3A3F44; stroke-width: 1.2; }
.viz__node--human rect { fill: var(--signal); stroke: var(--signal); }
.viz__node { opacity: 0; transform: translateY(8px); transform-box: fill-box; }
.viz__stepno { fill: #8A8D8E; font: 500 12px var(--sans); }
.viz__nodetitle { fill: #fff; font: 600 13.5px var(--sans); }
.viz__nodesub { fill: #B3B5B4; font: 500 11.5px var(--sans); }
.viz__node--human .viz__nodesub { fill: rgba(255,255,255,.9); }
.viz__arrow { fill: none; stroke: #8A8D8E; stroke-width: 1.4; }
.viz__packet { fill: var(--signal); opacity: 0; }
.viz__track { stroke: #2A2E32; stroke-width: 1; stroke-dasharray: 2 4; }
.viz__chip rect { fill: none; stroke: #3A3F44; }
.viz__chip text { fill: #B3B5B4; font: 500 12px var(--sans); }
.viz__chip { opacity: 0; }
.viz__rowlabel { fill: #E9E4D9; font: 500 12.5px var(--sans); }
.viz__bar--learn { fill: #6C7A80; }
.viz__bar--build { fill: var(--signal); }
.viz__spoke { stroke: #3A3F44; stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.viz__hub { fill: var(--signal); }
.viz__hubring { fill: none; stroke: rgba(220,74,18,.45); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; }
.viz__hubg { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.85); }
.viz__hubtitle { fill: #fff; font: 600 16px var(--sans); }
.viz__hubsub { fill: rgba(255,255,255,.9); font: 500 11px var(--sans); }
.viz__team { opacity: 0; }
.viz__team rect { fill: #1A1D20; stroke: #4A5056; stroke-width: 1.2; }
.viz__team text { fill: #E9E4D9; font: 500 12px var(--sans); }
.viz__pulse { fill: #F4A97F; opacity: 0; }
.viz__line { opacity: 0; }
/* play when shown */
.viz.is-on .viz__draw { animation: draw 2.2s cubic-bezier(.45,.05,.3,1) .15s forwards; }
.viz.is-on .viz__late { animation: fade .6s ease 1.9s forwards; }
.viz.is-on .viz__ring { animation: pulse 2s ease-out 2.4s infinite; }
.viz.is-on .viz__dots circle { animation: fade .3s ease forwards; animation-delay: calc(.1s + var(--i) * 0.025s); }
.viz.is-on .viz__bars rect { animation: grow .35s ease forwards; animation-delay: calc(.15s + var(--i) * 0.028s); }
.viz.is-on .viz__bar { animation: grow-x .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.15s + var(--i) * 0.12s); }
@keyframes grow-x { to { transform: scaleX(1); } }
.viz.is-on .viz__node { animation: node-in .5s ease forwards; animation-delay: calc(.1s + var(--i) * .28s); }
.viz.is-on .viz__chip { animation: fade .4s ease forwards; animation-delay: calc(.1s + var(--i) * .12s); }
.viz.is-on .viz__packet { animation: packet 4.5s cubic-bezier(.5,0,.5,1) 1.6s infinite; }
@keyframes node-in { to { opacity: 1; transform: none; } }
.viz.is-on .viz__hubg { animation: node-in .5s ease .1s forwards; }
.viz.is-on .viz__hubring { animation: pulse 2.6s ease-out 1.8s infinite; }
.viz.is-on .viz__spoke { animation: draw .45s ease forwards; animation-delay: calc(.5s + var(--i) * .1s); }
.viz.is-on .viz__team { animation: fade .4s ease forwards; animation-delay: calc(.75s + var(--i) * .1s); }
.viz.is-on .viz__line { animation: fade .4s ease forwards; animation-delay: calc(.15s + var(--i) * .15s); }
.viz.is-on .viz__pulse { animation: spoke-pulse 2.4s ease-in-out infinite; animation-delay: calc(1.8s + var(--i) * .3s); }
@keyframes spoke-pulse { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)); } }
@keyframes packet { 0% { opacity: 0; transform: translateX(0); } 8% { opacity: 1; } 55% { transform: translateX(348px); } 72% { transform: translateX(348px); } 92% { opacity: 1; } 100% { opacity: 0; transform: translateX(464px); } }
@media (prefers-reduced-motion: reduce) {
  .viz .viz__draw { stroke-dashoffset: 0; } .viz .viz__late, .viz .viz__dots circle { opacity: 1; } .viz .viz__bar, .viz .viz__bars rect { transform: none; } .viz .viz__node, .viz .viz__chip, .viz .viz__team, .viz .viz__line, .viz .viz__hubg { opacity: 1; transform: none; } .viz .viz__spoke { stroke-dashoffset: 0; }
}

/* Industries: pinned, cards travel sideways with the scroll */
.hscroll { position: relative; height: calc(100vh + var(--count) * 34vh); }
.hscroll__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 36px; overflow: hidden; padding-top: 64px; }
.hscroll__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; width: 100%; }
.hscroll__head .h2 { color: #fff; max-width: 30ch; }
.hscroll__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; color: var(--muted); }
.hscroll__count b { color: #fff; font-weight: 500; font-size: 28px; font-family: var(--serif); margin-right: 4px; }
.hscroll__viewport { overflow: hidden; }
.hscroll__track { display: flex; gap: 22px; padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); will-change: transform; }
/* end spacer: flex containers drop trailing padding from the scroll width */
.hscroll__track::after { content: ""; flex: 0 0 calc(max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) - 22px); }
.icard { flex: 0 0 clamp(280px, 30vw, 420px); aspect-ratio: 3 / 4; max-height: 54vh; position: relative; overflow: hidden; text-decoration: none; color: #fff; background: #1A1D20; isolation: isolate; }
.icard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.icard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 24%, transparent 42%, rgba(10,11,12,.96) 100%); }
.icard:hover img { transform: scale(1.07); }
.icard__n { position: absolute; top: 20px; left: 22px; right: 22px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.icard__body { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.icard__name { display: block; font: 600 semi-condensed 34px/1.05 var(--serif); letter-spacing: -.015em; margin-bottom: 10px; }
.icard__lede { display: block; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.8); }
.icard--more { background: var(--signal); }
.icard--more::after { display: none; }
.icard__mark { position: absolute; top: 28px; left: 24px; width: clamp(88px, 9vw, 128px); height: auto; }
.hscroll__bar { height: 2px; background: var(--rule); }
.hscroll__bar span { display: block; height: 100%; background: var(--signal); transform-origin: left; transform: scaleX(0); }
@media (max-width: 900px), (max-height: 560px) {
  .hscroll { height: auto; padding: var(--space) 0; }
  .hscroll__pin { position: static; height: auto; padding-top: 0; }
  .hscroll__meta { display: none; }
  .hscroll__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hscroll__viewport::-webkit-scrollbar { display: none; }
  .hscroll__track { transform: none !important; }
  .icard { flex-basis: 78vw; max-height: none; scroll-snap-align: center; }
  .hscroll__bar { display: none; }
}

/* How we work: a timeline that fills as you scroll */
.timeline { position: relative; }
.timeline__rail { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--rule); }
.timeline__fill { display: block; height: 100%; background: var(--signal); transform-origin: left; transform: scaleX(0); }
.timeline__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.timeline__steps li { position: relative; padding-top: 40px; }
.timeline__dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--rule); transition: border-color .4s, background .4s; }
.timeline__steps li.is-lit .timeline__dot { border-color: var(--signal); background: var(--signal); box-shadow: 0 0 0 6px rgba(220,74,18,.18); }
.timeline__top { display: flex; justify-content: space-between; color: var(--muted); margin-bottom: 18px; }
.timeline__steps .h3 { color: #fff; }
.timeline__steps p { color: var(--ink-2); margin: 0; font-size: 15.5px; }
@media (max-width: 900px) {
  .timeline__rail { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline__fill { transform-origin: top; transform: scaleY(0); }
  .timeline__steps { grid-template-columns: 1fr; gap: 40px; }
  .timeline__steps li { padding: 0 0 0 44px; }
}

/* Closing call to action */
.cinecta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(120px, 16vw, 200px) 0; color: #fff; text-align: center; }
.cinecta__media { position: absolute; inset: -15% 0; z-index: -2; will-change: transform; }
.cinecta__media img { width: 100%; height: 100%; object-fit: cover; }
.cinecta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,19,21,1) 0%, rgba(8,9,10,.76) 30%, rgba(8,9,10,.76) 100%); }
.cinecta .display { color: #fff; max-width: 20ch; margin: 0 auto; }
.cinecta p { color: rgba(255,255,255,.84); max-width: 50ch; margin: 28px auto 36px; font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
  .core { animation: none !important; transform: none !important; }
  .rv { opacity: 1; transform: none; }
  .cine__media img { animation: none; }
}

.hscroll__sub, .section__sub { color: var(--ink-2); font-size: 18px; max-width: 56ch; margin: 18px 0 0; }

/* Links between services and writing */
.related { margin-top: 36px; }
.related__h { font: 600 15px var(--sans); color: var(--signal); margin: 0 0 8px; }
.related__link { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 500; }
.related__link:hover span:first-child { color: var(--signal); }
.related__meta { color: var(--muted); font-size: 14px; white-space: nowrap; }
.related .link-arrow { display: inline-block; margin-top: 18px; }
.svcnote { max-width: 68ch; margin: 0 auto var(--space); padding: 32px; background: var(--ink); color: #fff; }
.svcnote__k { color: #F4A97F; font-weight: 600; font-size: 14px; margin: 0 0 8px; }
.svcnote__h { font: 650 semi-condensed 30px/1.1 var(--serif); margin: 0 0 10px; }
.svcnote p:not(.svcnote__k) { color: rgba(255,255,255,.8); margin: 0 0 22px; }

.contact__loc { color: var(--night-muted); margin-top: 6px; }

/* Resource cards and tool pages */
.tool--link { text-decoration: none; transition: background .25s; }
.tool--link:hover { background: var(--card); }
.tool--link:hover .tool__name { color: var(--signal); }
.tool--link .link-arrow { align-self: flex-start; margin-top: auto; }
.tool-page { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.tool-page .result { position: sticky; top: 100px; }
.quiz__area { border: 0; border-top: 1.5px solid var(--ink); margin: 0 0 28px; padding: 18px 0 0; }
.quiz__area legend { font: 650 semi-condensed 22px var(--serif); padding: 0 12px 0 0; }
.quiz__q { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.quiz__q p { margin: 0 0 10px; }
.quiz__opts { display: flex; gap: 8px; }
.quiz__opts label { cursor: pointer; }
.quiz__opts input { position: absolute; opacity: 0; pointer-events: none; }
.quiz__opts span { display: inline-block; padding: 8px 16px; border: 1.5px solid var(--rule); font-weight: 500; transition: all .15s; }
.quiz__opts input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.quiz__opts input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.calc { display: grid; gap: 22px; }
.calc label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.calc input[type=number], .calc select { font: 400 17px var(--sans); padding: 12px 14px; border: 1.5px solid var(--rule); background: #fff; color: var(--ink); border-radius: 0; }
.calc input:focus, .calc select:focus { outline: none; border-color: var(--signal); }
.calc input[type=range] { accent-color: var(--signal); }
.calc__val { color: var(--signal); }
.result { background: var(--ink); color: #fff; padding: 32px; }
.result__k { color: #F4A97F; font-weight: 600; margin: 0 0 6px; }
.result__score { font: 700 semi-condensed 30px/1.1 var(--serif); margin: 0 0 14px; }
.result__score b { font-size: 64px; color: #fff; }
.result__band { color: #fff; margin: 0 0 8px; }
.result__advice, .result__line { color: rgba(255,255,255,.82); margin: 0 0 14px; }
.result__line b { color: #fff; font-size: 22px; }
.result__note { color: rgba(255,255,255,.55); font-size: 14px; margin: 18px 0 24px; }
.result__bars { margin: 18px 0 26px; display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 90px 1fr 34px; gap: 10px; align-items: center; font-size: 14px; }
.bar i { height: 8px; background: rgba(255,255,255,.12); }
.bar b { display: block; height: 100%; background: var(--signal); }
.bar em { font-style: normal; color: rgba(255,255,255,.6); text-align: right; }
@media (max-width: 860px) { .tool-page { grid-template-columns: 1fr; } .tool-page .result { position: static; } }

/* Why now: verified figures, counted up on arrival */
.whynow { padding: clamp(72px, 9vw, 120px) 0 clamp(24px, 4vw, 48px); }
.whynow__head { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: 48px; }
.whynow__head .h2 { color: #fff; }
.whynow__head p { color: var(--ink-2); font-size: 18px; margin: 0; max-width: 54ch; }
.whynow a { color: var(--muted); font-size: 13px; text-decoration-color: var(--rule); }
.whynow a:hover { color: var(--signal); }
.whynow__head p a { white-space: nowrap; margin-left: 4px; }
.whynow__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); }
.stat { padding: 28px 28px 8px 0; display: flex; flex-direction: column; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--rule); }
.stat__num { font: 700 semi-condensed clamp(40px, 4.4vw, 60px)/1 var(--serif); letter-spacing: -.03em; color: var(--signal); margin: 0 0 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat__text { color: var(--ink); margin: 0 0 18px; flex: 1; }
.stat__src { align-self: flex-start; }
@media (max-width: 980px) {
  .whynow__head { grid-template-columns: 1fr; }
  .whynow__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .whynow__grid { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0 8px; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--rule); }
}

/* Booking calendar on the About page */
.booking__frame { min-height: 560px; border: 1px solid var(--night-rule); background: var(--night-2); overflow: auto; }
.booking__fallback { font-size: 14px; color: var(--night-muted); margin: 12px 0 0; }
.booking__fallback a, .contact p a { color: #fff; }

/* Services: AI agent safeguards */
.safeguards { margin-top: 40px; padding: 28px 30px 26px; background: var(--card); border: 1px solid var(--rule); border-left: 3px solid var(--signal); }
.safeguards__h { font: 650 semi-condensed 24px/1.15 var(--serif); margin: 0 0 8px; }
.safeguards__lede { color: var(--ink-2); margin: 0 0 18px; max-width: 60ch; }
.safeguards__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; }
.safeguards__list div { padding: 12px 0; border-top: 1px solid var(--rule); }
.safeguards__list dt { font-weight: 600; margin-bottom: 3px; }
.safeguards__list dd { margin: 0; color: var(--ink-2); font-size: 15px; }
.safeguards__std { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 700px) { .safeguards__list { grid-template-columns: 1fr; } }

/* Product badge and contact card on product posts */
.prodbadge { display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: 15px; color: var(--ink); }
.prodbadge img { border-radius: 6px; }
.prodcard { max-width: 68ch; margin: 0 auto var(--space); padding: 32px; background: var(--ink); color: #fff; }
.prodcard__brand { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; }
.prodcard__brand img { border-radius: 12px; flex: none; }
.prodcard__k { color: #F4A97F; font-weight: 600; font-size: 14px; margin: 0 0 4px; }
.prodcard__h { font: 650 semi-condensed 30px/1.1 var(--serif); margin: 0; }
.prodcard p:not(.prodcard__k) { color: rgba(255,255,255,.85); margin: 0 0 16px; }
.prodcard__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.prodcard .prodcard__mail { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.prodcard .prodcard__mail:hover { border-color: #fff; }

/* Animated figures for the four groupings (one 9-second loop, staggered with animation-delay) */
.fig-base { fill: none; stroke: #3A3F44; stroke-width: 2; }
.fig-base--sig { stroke: rgba(220,74,18,.45); }
.fig-flow { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; }
.fig-flow--soft { stroke: rgba(126,168,189,.9); }
.fig-iso { fill: #1A1D20; stroke: #8A8D8E; stroke-width: 1.5; }
.fig-lock { fill: var(--signal); }
.fig-shackle { fill: none; stroke: var(--signal); stroke-width: 3; }
.fig-machine { fill: #1A1D20; stroke: #8A8D8E; stroke-width: 1.5; }
.fig-ram { fill: #4A5257; }
.fig-ok { fill: rgba(126,168,189,.16); stroke: rgba(126,168,189,.9); stroke-width: 1.5; }
.fig-check { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fig-ex { fill: rgba(220,74,18,.18); stroke: var(--signal); stroke-width: 1.5; }
.fig-bang { fill: var(--signal); font: 600 22px var(--sans); }
.fig-card { fill: #1A1D20; stroke: #3A3F44; }
.fig-doc { fill: #1A1D20; stroke: #8A8D8E; stroke-width: 1.3; }
.fig-docline { stroke: #4A5257; stroke-width: 3; }
.fig-agent { fill: #1A1D20; stroke: var(--signal); stroke-width: 2; }
.fig-ring { fill: none; stroke: rgba(220,74,18,.4); stroke-width: 1.2; stroke-dasharray: 4 8; }
.fig-packet { fill: #E9E4D9; }
.fig-packet--sig, .fig-lot--sig { fill: var(--signal); }
.fig-node { fill: #1A1D20; stroke: #8A8D8E; stroke-width: 1.5; }
.fig-lot { fill: #E9E4D9; }
.fig-lot.fig-lot--sig { fill: var(--signal); }
.fig-trace { fill: none; stroke: var(--signal); stroke-width: 2.4; }
.fig-trace--wide { stroke-width: 6; stroke-linecap: round; }
.fig-puff { fill: rgba(233,228,217,.55); }
.fig-barbg { fill: #1A1D20; stroke: #3A3F44; }
.fig-bar { fill: #4A5257; }
.fig-small { fill: #E9E4D9; font: 500 12.5px var(--sans); }
.fig-dim { fill: #8A8D8E; }
.fig-sig { fill: #F4A97F; }
.viz--fig .viz__svg { margin-top: 14px; }
.viz--fig .viz__head { font-size: 18px; }
.viz--fig .fig-small { font-size: 18px; }
.viz--fig .viz__axis, .viz--fig .viz__x text { font-size: 16px; }
.viz--fig .viz__label--strong { font-size: 18px; }
.viz--fig .fig-savelabel { font-size: 24px; }
/* Figure labels use the headings' narrower Archivo; the font shorthands above reset it, so it is forced here */
.viz svg text { font-stretch: 87.5% !important; }
:where(.viz svg text) { font-weight: 500; }
.an-flow { stroke-dasharray: 6 7; animation: fig-dash 1.2s linear infinite; }
.an-off { animation: fig-off 9s infinite; }
.an-flow.an-off { animation: fig-dash 1.2s linear infinite, fig-off 9s infinite; }
.an-on { opacity: 0; animation: fig-on 9s infinite; }
.an-late { opacity: 0; animation: fig-late 9s infinite; }
.an-late2 { opacity: 0; animation: fig-late2 9s infinite; }
.an-ram { animation: fig-ram 9s infinite; }
.an-spin { transform-box: fill-box; transform-origin: center; animation: fig-spin 8s linear infinite; }
.an-puff { transform-box: fill-box; transform-origin: center; animation: fig-puff 1.5s ease-out infinite; }
.an-trace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: fig-trace 9s infinite; }
.an-shrink { transform-box: fill-box; transform-origin: bottom; animation: fig-shrink 9s infinite; }
/* figures only animate while shown, and always start from the beginning */
.viz:not(.is-on) [class*="an-"] { animation: none; }
@keyframes fig-dash { to { stroke-dashoffset: -26; } }
@keyframes fig-off { 0%, 22% { opacity: 1; } 26%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fig-on { 0%, 22% { opacity: 0; transform: translateY(6px); } 26%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes fig-late { 0%, 48% { opacity: 0; } 52%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fig-late2 { 0%, 60% { opacity: 0; } 64%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fig-ram { 0% { transform: translateY(0); } 5% { transform: translateY(92px); } 10% { transform: translateY(0); } 15% { transform: translateY(92px); } 20%, 100% { transform: translateY(0); } }
@keyframes fig-spin { to { transform: rotate(360deg); } }
@keyframes fig-puff { 0% { opacity: .9; transform: scale(.4) translateY(0); } 100% { opacity: 0; transform: scale(1.8) translateY(-8px); } }
@keyframes fig-trace { 0%, 55% { stroke-dashoffset: 1; } 70%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes fig-shrink { 0%, 46% { transform: scaleY(1); } 56%, 92% { transform: scaleY(.8); } 100% { transform: scaleY(1); } }
.fig-chip { fill: #1A1D20; stroke: #3A3F44; }
.fig-pipe { stroke: #2A3034; stroke-width: 10; stroke-linecap: round; }
.fig-loss { fill: none; stroke: var(--signal); stroke-width: 9; stroke-linecap: round; opacity: .85; }
.fig-bar--sig { fill: rgba(220,74,18,.75); }
.an-thin { animation: fig-thin 9s infinite; }
.an-grow { transform-box: fill-box; transform-origin: bottom; animation: fig-grow 9s infinite; }
.fig-costline { fill: none; stroke: #E9E4D9; stroke-width: 2.4; stroke-linejoin: round; }
.fig-oldline { stroke: rgba(233,228,217,.45); stroke-width: 1.5; stroke-dasharray: 6 5; }
.fig-savearea { fill: rgba(220,74,18,.22); }
.fig-savelabel { fill: #F4A97F; font: 600 16px var(--sans); }
.an-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: fig-draw 9s infinite; }
@keyframes fig-draw { 0%, 4% { stroke-dashoffset: 1; } 44%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.fig-icon * { fill: none; stroke: #E9E4D9; stroke-width: 1.8; stroke-linejoin: round; }
.an-step { opacity: 0; animation: fig-step 9s infinite; }
.an-seg { stroke-dasharray: 1; stroke-dashoffset: 1; animation: fig-seg 9s infinite; }
@keyframes fig-step { 0%, 4% { opacity: 0; } 8%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fig-seg { 0%, 3% { stroke-dashoffset: 1; } 9%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.an-cut { transform-box: fill-box; transform-origin: left; animation: fig-cut 9s infinite; }
@keyframes fig-cut { 0%, 58% { transform: scaleX(1); } 68%, 92% { transform: scaleX(.18); } 100% { transform: scaleX(1); } }
@keyframes fig-thin { 0%, 30% { stroke-width: 9; } 50%, 92% { stroke-width: 2; } 100% { stroke-width: 9; } }
@keyframes fig-grow { 0%, 30% { transform: scaleY(.06); } 52%, 92% { transform: scaleY(1); } 100% { transform: scaleY(.06); } }
@media (prefers-reduced-motion: reduce) { .viz .an-step { opacity: 1; } .viz .an-seg { stroke-dashoffset: 0; } .viz .an-draw { stroke-dashoffset: 0; } .viz .an-cut { transform: scaleX(.18); } .viz .an-thin { stroke-width: 2; } .viz .an-grow { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .viz [class*="an-"] { animation: none !important; }
  .viz .an-on, .viz .an-late, .viz .an-late2 { opacity: 1; } .viz .an-off { opacity: 0; } .viz .an-flow.an-off { opacity: 0; }
  .viz .an-trace { stroke-dashoffset: 0; } .viz .an-shrink { transform: scaleY(.8); }
}

/* Solutions and Lockout pages */
.solution__line { color: var(--ink-2); font-size: 17px; margin: 14px 0 0; max-width: 34ch; }
.solution__fig { margin: 0 0 28px; }
.solution__fig .viz { color: #E9E4D9; }
.ticks--cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
@media (max-width: 700px) { .ticks--cols { grid-template-columns: 1fr; } }
.badge { display: inline-block; margin-left: 6px; padding: 2px 8px; font-size: 12px; font-weight: 600; color: #fff; background: var(--signal); border-radius: 99px; vertical-align: 2px; }
.prodcard--inline { margin: 32px 0 0; max-width: none; }
.prodcard--inline .prodcard__h { margin: 0 0 10px; }
.prodcard--inline p:not(.prodcard__k) { color: rgba(255,255,255,.82); margin: 0 0 22px; }
.safeguards__list--light { margin-top: 24px; }
.factrow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.factrow li { border-top: 3px solid var(--signal); padding-top: 18px; }
.factrow b { display: block; font: 800 semi-condensed clamp(30px, 3.6vw, 46px)/1.05 var(--serif); margin-bottom: 10px; }
.factrow span { color: var(--ink-2); }
@media (max-width: 800px) { .factrow { grid-template-columns: 1fr; } }
.pains { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.pains li { padding: 22px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; }
.pains h3 { margin: 0; }
.pains p { margin: 0; color: var(--ink-2); font-size: 15.5px; grid-column: 1; }
.pains a { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 13px; font-weight: 600; text-decoration: none; border: 1px solid var(--rule); padding: 6px 12px; border-radius: 99px; white-space: nowrap; }
.pains a:hover { border-color: var(--signal); color: var(--signal); }
@media (max-width: 600px) { .pains li { grid-template-columns: 1fr; } .pains a { grid-column: 1; grid-row: auto; justify-self: start; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; align-items: center; }
.chips__h { width: 100%; margin: 0 0 4px; font-weight: 600; font-size: 15px; color: var(--signal); }
.chips a { font-size: 14px; text-decoration: none; border: 1px solid var(--rule); padding: 7px 12px; border-radius: 99px; }
.chips a:hover { border-color: var(--signal); color: var(--signal); }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--signal); text-decoration: none; }
.story__second { margin-left: 24px; }
@media (max-width: 600px) { .story__second { margin: 14px 0 0; display: inline-block; } }
