/* ==========================================================================
   Automated Innovation — site styles
   Palette: burnt orange / black / white
   ========================================================================== */

:root {
  --orange: #cc5500;
  --orange-hi: #e8692a;
  --orange-lo: #a34400;
  --black: #0a0a0a;
  --ink: #141414;
  --ink-2: #1c1c1c;
  --line-dark: rgba(255, 255, 255, 0.1);
  --line-light: rgba(10, 10, 10, 0.12);
  --white: #ffffff;
  --paper: #f5f3f0;
  --muted-dark: rgba(255, 255, 255, 0.62);
  --muted-light: rgba(10, 10, 10, 0.62);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--orange);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 6px;
  transition: top 0.2s;
}
.skip:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(88px, 12vw, 160px) 0; position: relative; }
.section--light { background: var(--paper); color: var(--black); }

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-hi);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}
.section--light .label { color: var(--orange); }

.section__head { max-width: 780px; margin-bottom: clamp(48px, 7vw, 88px); }
.section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: end;
}
.section__title {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 700;
  margin-top: 20px;
}
.section__sub {
  margin-top: 24px;
  font-size: 18px;
  color: var(--muted-dark);
  max-width: 560px;
}
.section--light .section__sub { color: var(--muted-light); }
.section__head--split .section__sub { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.4s var(--ease);
}
.btn:hover svg { transform: translateX(4px); }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  border-radius: inherit;
}
.btn:hover::after { transform: translateY(0); }

.btn--accent { background: var(--orange); color: var(--white); }
.btn--accent::after { background: var(--white); }
.btn--accent:hover { color: var(--black); }

.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.28); color: var(--white); }
.btn--ghost::after { background: var(--white); }
.btn--ghost:hover { color: var(--black); border-color: var(--white); }

.btn--dark { background: var(--black); color: var(--white); }
.btn--dark::after { background: var(--orange); }

.btn--sm { --h: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Logo mark ---------- */
.mark { width: 34px; height: 34px; flex: none; }
.mark svg { width: 100%; height: 100%; overflow: visible; }
.mark__layer,
.stack__layer {
  fill: none;
  stroke-width: 7;
  stroke-linejoin: miter;
  stroke-miterlimit: 10;
}
.mark__layer--1 { stroke: var(--orange); }
.mark__layer--2 { stroke: var(--white); opacity: 0.75; }
.mark__layer--3 { stroke: var(--white); opacity: 0.32; }
.mark__layer { transition: transform 0.6s var(--ease); }


/* Initial "stack" build for the nav mark */
.is-loaded .nav .mark__layer { animation: mark-drop 0.9s var(--ease) both; }
.is-loaded .nav .mark__layer--3 { animation-delay: 0.05s; }
.is-loaded .nav .mark__layer--2 { animation-delay: 0.18s; }
.is-loaded .nav .mark__layer--1 { animation-delay: 0.31s; }
@keyframes mark-drop {
  from { transform: translateY(-26px); opacity: 0; }
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__top {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand__bottom {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--orange-hi);
  margin-top: 4px;
}
.brand--lg .mark { width: 48px; height: 48px; }
.brand--lg .brand__top { font-size: 20px; }
.brand--lg .brand__bottom { font-size: 13px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line-dark);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links { display: flex; gap: 34px; margin-left: auto; }
.nav__links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-dark);
  transition: color 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--orange-hi);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--white); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--black);
  padding: 32px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  animation: menu-in 0.6s var(--ease) both;
}
.mobile-menu a:nth-child(2) { animation-delay: 0.05s; }
.mobile-menu a:nth-child(3) { animation-delay: 0.1s; }
.mobile-menu a:nth-child(4) { animation-delay: 0.15s; }
.mobile-menu a:nth-child(5) { animation-delay: 0.2s; }
.mobile-menu a:nth-child(6) { animation-delay: 0.25s; }
.mobile-menu a:last-child { color: var(--orange-hi); }
@keyframes menu-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 0 32px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% 40%, rgba(204, 85, 0, 0.14), transparent 60%),
    var(--black);
}
.hero__flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}
.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%);
  opacity: 0.35;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
  flex: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
  padding: 8px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-hi);
  box-shadow: 0 0 0 0 rgba(232, 105, 42, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 105, 42, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(232, 105, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 105, 42, 0); }
}

.hero__title {
  margin-top: 0;
  font-size: clamp(40px, 4.8vw, 74px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; white-space: nowrap; }
.hero__title .line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
}
.is-loaded .hero__title .line > span { transform: translateY(0); }
.hero__title .line:nth-child(2) > span { transition-delay: 0.08s; }
.hero__title .line:nth-child(3) > span { transition-delay: 0.16s; }
.hero__title .line:nth-child(4) > span { transition-delay: 0.24s; }
.hero__title em {
  font-style: normal;
  color: var(--orange-hi);
  position: relative;
}
.hero__tagline {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 1.9vw, 26px);
  letter-spacing: -0.01em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
.hero__tagline::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange-hi);
}
.hero__tagline span { color: var(--orange-hi); }
.hero__lede {
  margin-top: 20px;
  max-width: 540px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--muted-dark);
}
.hero__actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Stacking logo visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.stack {
  position: relative;
  width: min(380px, 80%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.stack svg {
  width: 62%;
  height: 62%;
  overflow: visible;
  position: relative;
  z-index: 1;
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  transition: transform 0.8s var(--ease);
}
.stack__layer { stroke-width: 6.5; }
.stack__layer--1 { stroke: var(--orange); filter: drop-shadow(0 8px 24px rgba(204, 85, 0, 0.45)); }
.stack__layer--2 { stroke: var(--white); opacity: 0.8; }
.stack__layer--3 { stroke: var(--white); opacity: 0.3; }

.is-loaded .stack__layer {
  animation: stack-drop 1.2s var(--ease) both, stack-breathe 6s var(--ease-io) infinite;
}
.is-loaded .stack__layer--3 { animation-delay: 0.35s, 1.6s; }
.is-loaded .stack__layer--2 { animation-delay: 0.55s, 1.8s; }
.is-loaded .stack__layer--1 { animation-delay: 0.75s, 2s; }
.stack__layer--3 { --lift: 0px; }
.stack__layer--2 { --lift: -2px; }
.stack__layer--1 { --lift: -5px; }

@keyframes stack-drop {
  0% { transform: translateY(-60px); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: translateY(0); }
}
@keyframes stack-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(var(--lift)); }
}

.stack__ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}
.stack__ring::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--orange-hi);
  box-shadow: 0 0 14px var(--orange-hi);
}
.stack__ring { animation: spin 22s linear infinite; }
.stack__ring--2 {
  inset: 14%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.08);
  animation-duration: 34s;
  animation-direction: reverse;
}
.stack__ring--2::before { background: var(--white); box-shadow: none; width: 6px; height: 6px; margin-left: -3px; top: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }

.stack__labels {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.stack__labels li { display: flex; gap: 10px; align-items: center; opacity: 0; transform: translateX(-10px); transition: 0.8s var(--ease); }
.stack__labels span { color: var(--orange-hi); }
.is-loaded .stack__labels li { opacity: 1; transform: none; }
.is-loaded .stack__labels li:nth-child(3) { transition-delay: 0.9s; }
.is-loaded .stack__labels li:nth-child(2) { transition-delay: 1.1s; }
.is-loaded .stack__labels li:nth-child(1) { transition-delay: 1.3s; }

.hero__foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll i {
  position: relative;
  width: 1px;
  height: 36px;
  background: var(--line-dark);
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 1px;
  height: 50%;
  background: var(--orange-hi);
  animation: scroll-line 2s var(--ease-io) infinite;
}
@keyframes scroll-line { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  padding: 22px 0;
  background: var(--ink);
}
.marquee__track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 48s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
}
.marquee__track b { color: var(--orange); font-weight: 400; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro__grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.intro__statement {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.intro__statement .w {
  opacity: 0.16;
  transition: opacity 0.35s linear;
}
.intro__statement .w.is-on { opacity: 1; }

.layers {
  margin-top: clamp(64px, 9vw, 120px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
}
.layers__item {
  padding: 36px 32px 8px 0;
  position: relative;
}
.layers__item + .layers__item { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.layers__item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--orange);
  transition: width 1.2s var(--ease);
}
.layers.is-in .layers__item::before { width: 100%; }
.layers.is-in .layers__item:nth-child(2)::before { transition-delay: 0.2s; }
.layers.is-in .layers__item:nth-child(3)::before { transition-delay: 0.4s; }
.layers__n { font-family: var(--font-mono); font-size: 12px; color: var(--orange-hi); }
.layers__item h3 { font-size: 28px; font-weight: 700; margin: 14px 0 12px; }
.layers__item p { color: var(--muted-dark); }

/* ---------- Services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}
.card {
  position: relative;
  padding: 36px 28px 32px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.5s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--black);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.6s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease) 0.1s;
}
.card:hover { color: var(--white); }
.card:hover::before { clip-path: inset(0 0 0 0); }
.card:hover::after { transform: scaleX(1); }
.card__n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 0.1em;
}
.card h3 { font-size: 22px; font-weight: 700; margin: 56px 0 14px; letter-spacing: -0.01em; line-height: 1.15; }
.card p { font-size: 15px; color: var(--muted-light); transition: color 0.5s var(--ease); }
.card:hover p { color: var(--muted-dark); }
.card ul {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.card li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  transition: border-color 0.5s var(--ease);
}
.card:hover li { border-color: rgba(255, 255, 255, 0.2); }

/* ---------- Approach / pipeline ---------- */
.approach { background: var(--black); overflow: hidden; }
.pipeline { position: relative; }
.pipeline__rail {
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-dark);
}
.pipeline__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--orange-lo), var(--orange-hi));
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.pipeline__fill::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 60px;
  height: 7px;
  background: radial-gradient(closest-side, rgba(232, 105, 42, 0.9), transparent);
  transform: translateX(50%);
}
.pipeline__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.step { position: relative; padding-top: 44px; }
.step__node {
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: var(--black);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.step.is-active .step__node {
  background: var(--orange);
  border-color: var(--orange-hi);
  box-shadow: 0 0 0 6px rgba(204, 85, 0, 0.18);
}
.step__n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.step h3 { font-size: 24px; font-weight: 700; margin: 10px 0 12px; }
.step p { font-size: 15px; color: var(--muted-dark); }

/* ---------- Industries ---------- */
.sectors { border-top: 1px solid var(--line-light); }
.sector { border-bottom: 1px solid var(--line-light); }
.sector summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 64px 1fr 44px;
  align-items: center;
  padding: 28px 0;
  gap: 16px;
  transition: padding 0.5s var(--ease), color 0.3s;
}
.sector summary::-webkit-details-marker { display: none; }
.sector summary:hover { padding-left: 12px; }
.sector__n { font-family: var(--font-mono); font-size: 12px; color: var(--orange); }
.sector__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5.4vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1;
  transition: color 0.3s;
}
.sector summary:hover .sector__name,
.sector[open] .sector__name { color: var(--orange); }
.sector__icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}
.sector__icon::before,
.sector__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  margin: -0.75px 0 0 -7px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.sector__icon::after { transform: rotate(90deg); }
.sector[open] .sector__icon { background: var(--black); border-color: var(--black); color: var(--white); transform: rotate(180deg); }
.sector[open] .sector__icon::after { transform: rotate(0deg); }
.sector__body {
  display: grid;
  grid-template-columns: 64px 1.4fr 1fr;
  gap: 16px;
  padding: 0 0 36px;
}
.sector__body p { grid-column: 2; font-size: 18px; color: var(--muted-light); max-width: 620px; }
.sector__body ul { grid-column: 3; display: flex; flex-direction: column; gap: 10px; }
.sector__body li {
  font-size: 15px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.sector__body li::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--orange);
  flex: none;
}
.sector[open] .sector__body { animation: sector-in 0.7s var(--ease); }
@keyframes sector-in { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}
.about__copy { position: sticky; top: calc(var(--nav-h) + 40px); }
.about__copy p:not(.label) { margin-top: 24px; color: var(--muted-dark); font-size: 18px; max-width: 520px; }
.principles { display: flex; flex-direction: column; }
.principles li {
  padding: 32px 0;
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 16px;
  counter-increment: p;
}
.principles li::before {
  content: "0" counter(p);
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange-hi);
  padding-top: 6px;
}
.principles h3 { font-size: 24px; font-weight: 700; }
.principles p { margin-top: 10px; color: var(--muted-dark); }
.principles { counter-reset: p; }

/* ---------- Contact ---------- */
.contact {
  background: var(--ink);
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
}
.contact__glow {
  position: absolute;
  width: 900px;
  height: 900px;
  left: -300px;
  bottom: -500px;
  background: radial-gradient(closest-side, rgba(204, 85, 0, 0.22), transparent);
  pointer-events: none;
}
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
}
.contact__title {
  font-size: clamp(44px, 6.6vw, 92px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 20px 0 24px;
}
.contact__title em { font-style: normal; color: var(--orange-hi); }
.contact__copy > p:not(.label) { color: var(--muted-dark); font-size: 18px; max-width: 460px; }
.contact__info {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}
.contact__info dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.contact__info address { font-style: normal; }
.contact__info dd { margin: 6px 0 0; font-size: 16px; font-weight: 500; word-break: break-word; }
.contact__info a { background: linear-gradient(var(--orange-hi), var(--orange-hi)) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); }
.contact__info a:hover { background-size: 100% 1px; }

.form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  padding: clamp(24px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: start;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 0;
  border-radius: 0;
  transition: border-color 0.3s;
  resize: vertical;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right center / 16px no-repeat;
}
.field select option { color: var(--black); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--orange-hi); }
.field.is-invalid input,
.field.is-invalid textarea { border-color: #ff7a59; }
.form .btn { margin-top: 10px; }
.form__note { font-size: 13px; color: rgba(255, 255, 255, 0.45); text-align: center; }

/* ---------- Free baseline assessment ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.section__title em { font-style: normal; color: var(--orange); }
.assess__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.assess__intro .section__sub { margin-bottom: 40px; }
.assess__panel {
  background: var(--black);
  color: var(--white);
  border-radius: 20px;
  padding: clamp(28px, 3.5vw, 44px);
  position: relative;
  overflow: hidden;
}
.assess__panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-lo), var(--orange-hi));
}
.assess__panel-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.assess__list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}
.assess__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.assess__n { font-family: var(--font-mono); font-size: 12px; color: var(--orange-hi); padding-top: 4px; }
.assess__list h3 { font-size: 20px; font-weight: 700; }
.assess__list p { margin-top: 6px; font-size: 15px; color: var(--muted-dark); }
.assess__steps {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
  counter-reset: none;
}
.assess__steps li {
  padding: 24px 24px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
}
.assess__steps li + li { padding-left: 24px; border-left: 1px solid var(--line-light); }
.assess__steps span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

/* Request-type toggle */
.toggle {
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 4px;
  margin: 0 0 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.toggle label { position: relative; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.toggle span {
  display: block;
  text-align: center;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-dark);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.toggle input:checked + span { background: var(--white); color: var(--black); }
.toggle input:focus-visible + span { outline: 2px solid var(--orange-hi); outline-offset: 2px; }

.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Success state */
.form-wrap { align-self: start; }
.form-success {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  padding: clamp(32px, 4vw, 48px);
  animation: menu-in 0.7s var(--ease) both;
}
.form-success:focus { outline: none; }
.form-success__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--orange);
}
.form-success__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--white); stroke-width: 2.4; }
.form-success h3 { margin-top: 24px; font-size: 28px; font-weight: 700; }
.form-success p { margin: 12px 0 28px; color: var(--muted-dark); }
.form-success a { color: var(--orange-hi); }

/* ---------- Inner pages (careers) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(64px, 10vw, 140px)) 0 clamp(72px, 9vw, 120px);
  background: var(--black);
}
.page-hero__glow {
  position: absolute;
  width: 1000px;
  height: 700px;
  right: -300px;
  top: -200px;
  background: radial-gradient(closest-side, rgba(204, 85, 0, 0.2), transparent);
  pointer-events: none;
}
.page-hero__inner { position: relative; }
.page-hero__title {
  margin-top: 24px;
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
}
.page-hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.page-hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.page-hero__title .line:nth-child(2) > span { transition-delay: 0.1s; }
.is-loaded .page-hero__title .line > span { transform: none; }
.page-hero__title em { font-style: normal; color: var(--orange-hi); }
.page-hero__lede { margin-top: 28px; max-width: 600px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted-dark); }

.status {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 760px;
  padding: 22px 24px;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}
.status .dot { flex: none; }
.status > div { flex: 1; }
.status__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.status__sub { margin-top: 4px; font-size: 15px; color: var(--muted-dark); }
.status .btn { flex: none; }

.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--3 .card { min-height: 280px; }

.areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
}
.areas li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.01em;
  transition: color 0.3s, padding 0.5s var(--ease);
}
.areas li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.areas li:hover { color: var(--orange-hi); }
.areas span { font-family: var(--font-mono); font-weight: 400; font-size: 12px; color: var(--orange-hi); }

/* ---------- Logo morph animations ---------- */
.morph { display: block; overflow: visible; }
.morph polyline { fill: none; stroke-width: 7; stroke-linejoin: miter; stroke-miterlimit: 10; }
.morph__l1 { stroke: var(--orange); }
.morph__l2 { stroke: currentColor; opacity: 0.8; }
.morph__l3 { stroke: currentColor; opacity: 0.3; }
.morph--section { width: 52px; height: 52px; margin-bottom: 22px; }
.section--light .morph__l1 { stroke: var(--orange); }

.intro__aside .morph--section { margin-bottom: 20px; }

.assess__panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.morph--panel { width: 40px; height: 40px; margin: 0; }

.morph--success { width: 64px; height: 64px; }

.hero__visual { flex-direction: column; }
.stack__caption {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
  min-height: 1.5em;
  opacity: 0;
  transition: opacity 0.8s var(--ease) 1.4s;
}
.is-loaded .stack__caption { opacity: 1; }
.stack__caption-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange-hi); }
#heroCaption.is-swap { animation: caption-in 0.6s var(--ease); }
@keyframes caption-in { from { opacity: 0; transform: translateY(6px); } }
#heroCaption { display: inline-block; }

.page-hero__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.page-hero__visual { display: flex; justify-content: center; }
.page-hero__visual .stack { width: min(340px, 100%); }

/* ---------- Before & after demo ---------- */
.compare { background: var(--ink); border-top: 1px solid var(--line-dark); }
.compare .section__title em { color: var(--orange-hi); }
.ba-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ba-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line-dark); border-radius: 999px; }
.ba-tabs button { font: 600 14px var(--font-body); color: var(--muted-dark); background: transparent; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.ba-tabs button:hover { color: var(--white); }
.ba-tabs button[aria-selected="true"] { background: var(--white); color: var(--black); }
.ba-replay { font: 600 14px var(--font-body); color: var(--white); background: transparent; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; padding: 10px 18px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: border-color 0.3s; }
.ba-replay:hover { border-color: var(--white); }
.ba-replay svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

.ba-panes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba-pane { border: 1px solid var(--line-dark); border-radius: 22px; background: var(--black); padding: 24px; display: flex; flex-direction: column; overflow: hidden; }
.ba-pane--auto { background: radial-gradient(600px 300px at 100% 0%, rgba(204, 85, 0, 0.14), transparent 60%), var(--black); }
.ba-pane__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line-dark); }
.ba-pane__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.ba-pane--auto .ba-pane__tag { color: var(--orange-hi); }
.ba-pane__title { font-size: 24px; font-weight: 700; margin-top: 6px; letter-spacing: -0.01em; }
.ba-clock { text-align: right; }
.ba-clock__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.ba-clock__value { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-top: 2px; white-space: nowrap; }
.ba-pane--auto .ba-clock__value { color: var(--orange-hi); }

.ba-steps { list-style: none; margin: 0; padding: 18px 0 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ba-step { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid transparent; opacity: 0.38; transition: opacity 0.4s, background 0.4s, border-color 0.4s; }
.ba-step__n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; border: 1px solid rgba(255, 255, 255, 0.25); transition: 0.4s; }
.ba-step__n svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; display: none; }
.ba-step__label { font-weight: 600; font-size: 15px; line-height: 1.3; }
.ba-step__detail { font-size: 13px; color: var(--muted-dark); margin-top: 2px; }
.ba-chip { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); color: var(--muted-dark); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.ba-chip--staff i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: ba-blink 1s infinite; }
.ba-chip--auto { border-color: rgba(232, 105, 42, 0.5); color: var(--orange-hi); }
.ba-chip--ai { background: var(--orange); border-color: var(--orange); color: var(--white); }
.ba-chip--human { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
@keyframes ba-blink { 50% { opacity: 0.2; } }
.ba-step__bar { grid-column: 2 / 4; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; display: none; }
.ba-step__bar i { display: block; height: 100%; width: 0; background: rgba(255, 255, 255, 0.75); }
.ba-pane--auto .ba-step__bar i { background: linear-gradient(90deg, var(--orange-lo), var(--orange-hi)); }
.ba-step__par { grid-column: 2 / 4; display: none; gap: 6px; }
.ba-step__par div { display: grid; grid-template-columns: 70px 1fr; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 10px; color: var(--muted-dark); }
.ba-b { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.ba-b i { display: block; height: 100%; width: 0; background: var(--orange-hi); }
.ba-step__err { grid-column: 2 / 4; font-size: 12px; color: #ff6b5a; display: none; }

.ba-step.is-active { opacity: 1; background: rgba(255, 255, 255, 0.04); border-color: var(--line-dark); }
.ba-step.is-active .ba-step__bar { display: block; }
.ba-step.is-active .ba-step__par { display: grid; }
.ba-step.is-done { opacity: 0.9; }
.ba-step.is-done .ba-step__n { background: rgba(255, 255, 255, 0.9); color: var(--black); border-color: transparent; }
.ba-pane--auto .ba-step.is-done .ba-step__n { background: var(--orange); color: var(--white); }
.ba-step.is-done .ba-step__n span { display: none; }
.ba-step.is-done .ba-step__n svg { display: block; }
.ba-step.is-error { border-color: rgba(255, 107, 90, 0.6); background: rgba(255, 107, 90, 0.08); animation: ba-shake 0.4s; }
.ba-step.is-error .ba-step__err { display: block; }
.ba-step.is-error .ba-step__n { border-color: #ff6b5a; color: #ff6b5a; }
@keyframes ba-shake { 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

.ba-pane__foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-dark); display: flex; align-items: center; gap: 12px; min-height: 58px; font-size: 15px; color: var(--muted-dark); }
.ba-pane__foot strong { color: var(--white); font-weight: 600; }
.ba-done { width: 30px; height: 30px; flex: none; overflow: visible; }
.ba-done path { fill: none; stroke: var(--orange); stroke-width: 7; stroke-linejoin: miter; stroke-miterlimit: 10; stroke-dasharray: 70; stroke-dashoffset: 70; animation: ba-draw 0.6s var(--ease) forwards; }
@keyframes ba-draw { to { stroke-dashoffset: 0; } }
.ba-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.2); border-top-color: var(--white); animation: spin 0.9s linear infinite; flex: none; }

.ba-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.ba-stat { border: 1px solid var(--line-dark); border-radius: 18px; padding: 20px 22px; background: var(--black); opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.ba-summary.is-in .ba-stat { opacity: 1; transform: none; }
.ba-summary.is-in .ba-stat:nth-child(2) { transition-delay: 0.1s; }
.ba-summary.is-in .ba-stat:nth-child(3) { transition-delay: 0.2s; }
.ba-stat__k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.ba-stat__v { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; font-family: var(--font-display); font-weight: 700; }
.ba-stat__from { font-size: 20px; color: rgba(255, 255, 255, 0.45); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.3); }
.ba-stat__arrow { color: rgba(255, 255, 255, 0.45); font-size: 16px; }
.ba-stat__to { font-size: 28px; color: var(--orange-hi); letter-spacing: -0.02em; }
.ba-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.ba-note { font-size: 13px; color: rgba(255, 255, 255, 0.45); }

/* ---------- Footer ---------- */
.footer { background: var(--black); border-top: 1px solid var(--line-dark); padding: 64px 0 32px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__nav a { color: var(--muted-dark); font-size: 14px; transition: color 0.3s; }
.footer__nav a:hover { color: var(--white); }
.footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.footer__bottom a:hover { color: var(--orange-hi); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
}

@media (max-width: 1080px) {
  .ba-panes { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card { min-height: 300px; }
  .pipeline__steps { grid-template-columns: 1fr; gap: 0; }
  .pipeline__rail { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; }
  .pipeline__fill { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .pipeline__fill::after { display: none; }
  .step { padding: 0 0 40px 48px; }
  .step:last-child { padding-bottom: 0; }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .hero__inner { grid-template-columns: 1fr; gap: 0; }
  /* Mobile: no hero animation; headline, tagline, copy, buttons */
  .hero__copy { display: contents; }
  .hero__title { order: 1; }
  .hero__tagline { order: 2; }
  .hero__lede { order: 3; }
  .hero__actions { order: 4; }
  .hero__title .line { white-space: normal; }
  .hero__visual { display: none; }
  .stack { width: 150px; }
  .stack__labels, .stack__caption { display: none; }
  .hero__visual { align-items: flex-start; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__visual { display: none; }
  .intro__grid { grid-template-columns: 1fr; gap: 24px; }
  .layers { grid-template-columns: 1fr; }
  .layers__item, .layers__item + .layers__item { padding: 28px 0; border-left: 0; }
  .layers__item + .layers__item { border-top: 1px solid var(--line-dark); }
  .section__head--split { grid-template-columns: 1fr; gap: 24px; }
  .sector__body { grid-template-columns: 1fr; padding-left: 0; }
  .sector__body p, .sector__body ul { grid-column: 1; }
  .sector summary { grid-template-columns: 40px 1fr 44px; }
  .about__grid, .contact__grid, .assess__grid { grid-template-columns: 1fr; }
  .cards--3 { grid-template-columns: 1fr; }
  .cards--3 .card { min-height: 0; }
  .areas { grid-template-columns: 1fr 1fr; }
  .areas li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .areas li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-dark); }
  .status { flex-wrap: wrap; }
  .assess__steps { grid-template-columns: 1fr 1fr; }
  .assess__steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .about__copy { position: static; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card h3 { margin-top: 28px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__info { grid-template-columns: 1fr; }
  .assess__steps { grid-template-columns: 1fr; }
  .ba-summary { grid-template-columns: 1fr; }
  .ba-tabs { width: 100%; border-radius: 18px; }
  .ba-tabs button { flex: 1 1 auto; padding: 10px 12px; font-size: 13px; }
  .ba-clock__value { font-size: 24px; }
  .ba-pane { padding: 20px 16px; }
  .ba-cta .btn { width: 100%; }
  .areas { grid-template-columns: 1fr; }
  .areas li:nth-child(even) { padding-left: 0; border-left: 0; }
  .status .btn { width: 100%; }
  .assess__steps li, .assess__steps li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line-light); }
  .toggle span { font-size: 13px; padding: 10px 6px; }
  .hero__foot span:first-child, .hero__foot span:last-child { display: none; }
  .hero__foot { justify-content: center; }
  .hero__actions .btn { flex: 1 1 100%; }
  .sector summary { padding: 22px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  html { scroll-behavior: auto; }
  .intro__statement .w { opacity: 1; }
}
