:root {
  --bg: #0b0d10;
  --bg-raised: #12151a;
  --paper: #f5f5f2;
  --paper-soft: #e8e8e2;
  --ink: #f8f8f5;
  --ink-soft: #b8bbc0;
  --ink-muted: #82878f;
  --dark-ink: #17191d;
  --dark-soft: #5f636a;
  --line: rgba(255, 255, 255, 0.13);
  --line-dark: rgba(16, 18, 22, 0.14);
  --orange: #ff6b35;
  --cyan: #57c8e8;
  --yellow: #f0c64f;
  --max: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--orange); color: #111; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  margin: 0 0 22px;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); }
.eyebrow.dark { color: var(--dark-soft); }
.display {
  margin: 0;
  max-width: 12ch;
  font-size: 84px;
  line-height: 0.96;
  font-weight: 690;
  letter-spacing: 0;
}
.serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.lede {
  margin: 28px 0 0;
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.55;
}
.actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 720;
  transition: transform 170ms ease, background 170ms ease, color 170ms ease, border-color 170ms ease;
}
.button:hover { transform: translateY(-2px); background: #fff; color: #111; border-color: #fff; }
.button.primary { background: var(--orange); color: #19100c; border-color: var(--orange); }
.button.primary:hover { background: #ff875c; border-color: #ff875c; }
.button.light { background: #fff; color: #111; border-color: #fff; }
.button.light:hover { background: var(--paper-soft); border-color: var(--paper-soft); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 720;
  border-bottom: 1px solid currentColor;
}

.brand-hero {
  position: relative;
  min-height: min(820px, calc(100svh - 36px));
  padding: 150px 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #0b0d10;
}
.brand-scene, .brand-scene canvas, .scene-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.brand-scene { z-index: 0; pointer-events: none; }
.brand-scene canvas { display: block; opacity: 0; transition: opacity 600ms ease; }
.brand-scene.ready canvas { opacity: 1; }
.scene-fallback {
  opacity: 0.74;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.22) 40%, #000 100%);
}
.brand-scene.ready .scene-fallback { opacity: 0.22; }
.brand-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 13, 16, 0.98) 0%, rgba(11, 13, 16, 0.82) 46%, rgba(11, 13, 16, 0.15) 82%);
}
.brand-hero .container { position: relative; z-index: 2; }
.brand-hero .display { max-width: 9ch; }
.brand-hero .hero-labels {
  position: absolute;
  z-index: 3;
  inset: auto max(24px, calc((100% - var(--max)) / 2)) 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 720;
  text-transform: uppercase;
}
.hero-labels strong { color: var(--ink); font-weight: 720; }

.band { padding: 118px 0; }
.band.paper { background: var(--paper); color: var(--dark-ink); }
.band.dark { background: var(--bg); }
.band.raised { background: var(--bg-raised); }
.section-head {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 72px;
}
.section-kicker { margin: 0 0 14px; color: var(--orange); font-size: 11px; font-weight: 760; text-transform: uppercase; }
.section-title { margin: 0; font-size: 56px; line-height: 1.02; font-weight: 670; letter-spacing: 0; }
.section-copy { margin: 0; max-width: 610px; color: var(--ink-soft); font-size: 19px; }
.paper .section-copy { color: var(--dark-soft); }

.division-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; }
.division { padding-top: 22px; border-top: 2px solid var(--line-dark); }
.division-number { display: block; margin-bottom: 54px; color: var(--dark-soft); font-size: 12px; font-weight: 750; }
.division h3 { margin: 0 0 14px; font-size: 34px; line-height: 1; }
.division p { margin: 0 0 24px; min-height: 76px; color: var(--dark-soft); }
.division:nth-child(1) { border-top-color: var(--orange); }
.division:nth-child(2) { border-top-color: var(--cyan); }
.division:nth-child(3) { border-top-color: var(--yellow); }

.principles { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.principle { min-height: 260px; padding: 28px 22px 24px 0; border-right: 1px solid var(--line); }
.principle:last-child { border-right: 0; }
.principle span { color: var(--ink-muted); font-size: 11px; font-weight: 750; }
.principle h3 { margin: 82px 0 12px; font-size: 22px; }
.principle p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.resource-card {
  min-height: 320px;
  padding: 30px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 220ms var(--ease), box-shadow 220ms ease;
}
.resource-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(19, 21, 26, 0.11); }
.resource-type { color: var(--dark-soft); font-size: 11px; font-weight: 760; text-transform: uppercase; }
.resource-card h3 { margin: 68px 0 12px; max-width: 13ch; font-size: 31px; line-height: 1.04; }
.resource-card p { margin: 0 0 26px; max-width: 48ch; color: var(--dark-soft); }
.resource-card .text-link { margin-top: auto; align-self: flex-start; }

.founder-band { padding: 80px 0; background: #0e1115; border-top: 1px solid var(--line); }
.founder-grid { display: grid; grid-template-columns: 210px 1fr auto; gap: 44px; align-items: center; }
.founder-photo { width: 210px; aspect-ratio: 4 / 5; border-radius: 8px; object-fit: cover; object-position: center 28%; }
.founder-copy h2 { margin: 0 0 12px; font-size: 32px; }
.founder-copy p { margin: 0; max-width: 660px; color: var(--ink-soft); font-size: 17px; }

.page-hero {
  position: relative;
  min-height: 720px;
  padding: 160px 0 100px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero .container { position: relative; z-index: 3; }
.page-hero .display { max-width: 10ch; }
.consulting-hero { background: #0c0e11; }
.proof-strip { background: var(--paper); color: var(--dark-ink); border-bottom: 1px solid var(--line-dark); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof { min-height: 154px; padding: 30px 26px 28px 0; border-right: 1px solid var(--line-dark); }
.proof:last-child { border-right: 0; padding-left: 26px; }
.proof:not(:first-child) { padding-left: 26px; }
.proof strong { display: block; font-size: 34px; line-height: 1; }
.proof span { display: block; margin-top: 10px; color: var(--dark-soft); font-size: 13px; }

.service-list { border-top: 1px solid var(--line); }
.service {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 90px 1fr 1.15fr;
  gap: 34px;
  align-items: start;
}
.service-number { color: var(--orange); font-size: 12px; font-weight: 760; }
.service h3 { margin: 0; font-size: 32px; line-height: 1.1; }
.service p { margin: 0 0 20px; color: var(--ink-soft); font-size: 16px; }
.service ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; list-style: none; }
.service li { position: relative; padding-left: 18px; color: var(--ink-soft); font-size: 14px; }
.service li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 2px; background: var(--cyan); }

.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.outcome {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
}
.outcome span { color: var(--orange); font-size: 11px; font-weight: 760; }
.outcome p { margin: 64px 0 0; font-size: 23px; line-height: 1.28; font-weight: 620; }
.cta-band { padding: 96px 0; background: var(--orange); color: #1a100b; }
.cta-grid { display: grid; grid-template-columns: 1.25fr auto; gap: 40px; align-items: center; }
.cta-grid h2 { margin: 0; max-width: 16ch; font-size: 48px; line-height: 1.04; }
.cta-grid p { margin: 18px 0 0; max-width: 640px; }

.dev-hero { background: #111318; }
.dev-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 58%, #000 100%);
}
.ring-art {
  position: absolute;
  right: max(34px, calc((100% - var(--max)) / 2));
  top: 50%;
  width: 400px;
  aspect-ratio: 1;
  transform: translateY(-44%);
}
.ring-art span {
  position: absolute;
  inset: 0;
  border: 38px solid var(--orange);
  border-top-color: var(--cyan);
  border-right-color: var(--yellow);
  border-radius: 50%;
  transform: rotate(18deg);
}
.ring-art span:nth-child(2) { inset: 76px; border-width: 20px; transform: rotate(-32deg); opacity: 0.68; }
.ring-art span:nth-child(3) { inset: 142px; border-width: 10px; transform: rotate(84deg); opacity: 0.42; }
.dev-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 19, 24, 0.98) 0%, rgba(17, 19, 24, 0.92) 43%, rgba(17, 19, 24, 0.18) 78%);
}
.dev-projects { display: grid; gap: 18px; }
.project {
  min-height: 390px;
  padding: 32px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: center;
}
.project:nth-child(even) .project-copy { order: 2; }
.project-type { color: var(--dark-soft); font-size: 11px; font-weight: 760; text-transform: uppercase; }
.project h2 { margin: 54px 0 14px; font-size: 39px; line-height: 1; }
.project p { color: var(--dark-soft); }
.facts { margin: 22px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fact { padding: 7px 10px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--dark-soft); font-size: 11px; font-weight: 720; }
.product-visual {
  min-height: 300px;
  border-radius: 8px;
  overflow: hidden;
  background: #111318;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-visual img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; object-position: top left; }
.product-ring { position: relative; width: 210px; aspect-ratio: 1; }
.product-ring::before, .product-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 26px solid var(--orange);
  border-top-color: var(--cyan);
  border-right-color: var(--yellow);
  border-radius: 50%;
  transform: rotate(18deg);
}
.product-ring::after { inset: 56px; border-width: 12px; transform: rotate(-35deg); opacity: 0.58; }
.terminal { width: 100%; align-self: stretch; padding: 24px; background: #0d1013; font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; }
.terminal .prompt { color: var(--cyan); }
.terminal .ok { color: #8be28b; }
.terminal .risk { color: var(--yellow); }
.dashboard-placeholder {
  width: 100%;
  align-self: stretch;
  padding: 28px;
  background: #f3f5f7;
  color: #20242a;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
}
.dash-side { border-radius: 6px; background: #151b24; }
.dash-main { display: grid; grid-template-rows: 34px 1fr; gap: 16px; }
.dash-title { width: 42%; border-radius: 4px; background: #c7ccd2; }
.dash-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dash-cards span { border: 1px solid #d1d6dc; border-radius: 6px; background: #fff; }
.private-note { color: var(--dark-soft); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .display { font-size: 64px; }
  .section-title { font-size: 46px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .division-grid { grid-template-columns: 1fr; gap: 42px; }
  .division-number { margin-bottom: 24px; }
  .division p { min-height: 0; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(even) { border-right: 0; }
  .principle:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .founder-grid { grid-template-columns: 170px 1fr; }
  .founder-photo { width: 170px; }
  .founder-grid .button { grid-column: 2; justify-self: start; }
  .service { grid-template-columns: 64px 1fr; }
  .service > div:last-child { grid-column: 2; }
  .outcome-grid { grid-template-columns: 1fr; }
    .project { grid-template-columns: 1fr; gap: 30px; }
  .project:nth-child(even) .project-copy { order: initial; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 36px, var(--max)); }
  .display { font-size: 48px; line-height: 0.98; }
  .lede { font-size: 18px; }
  .brand-hero { min-height: calc(100svh - 28px); padding: 122px 0 124px; align-items: flex-start; }
  .brand-hero::after { background: linear-gradient(180deg, rgba(11, 13, 16, 0.75), rgba(11, 13, 16, 0.98) 70%); }
  .scene-fallback { mask-image: linear-gradient(180deg, #000 0%, transparent 70%); background-size: 52px 52px; }
  .brand-hero .hero-labels { left: 18px; right: 18px; bottom: 20px; gap: 10px; }
  .hero-labels span { display: flex; flex-direction: column; }
  .band { padding: 84px 0; }
  .section-head { margin-bottom: 48px; }
  .section-title { font-size: 40px; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 290px; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle:nth-child(even), .principle:last-child { min-height: 210px; border-right: 0; border-top: 1px solid var(--line); grid-column: auto; }
  .principle:first-child { border-top: 0; }
  .principle h3 { margin-top: 54px; }
  .founder-grid { grid-template-columns: 104px 1fr; gap: 24px; align-items: start; }
  .founder-photo { width: 104px; aspect-ratio: 1; }
  .founder-copy h2 { font-size: 25px; }
  .founder-copy p { font-size: 15px; }
  .founder-grid .button { grid-column: 1 / -1; justify-self: stretch; }
  .page-hero { min-height: 680px; padding: 128px 0 74px; }
      .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof, .proof:not(:first-child), .proof:last-child { min-height: 136px; padding: 24px 18px; border-bottom: 1px solid var(--line-dark); }
  .proof:nth-child(even) { border-right: 0; }
  .service { grid-template-columns: 1fr; gap: 16px; }
  .service > div:last-child { grid-column: auto; }
  .service ul { grid-template-columns: 1fr; }
  .service h3 { font-size: 27px; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-grid h2 { font-size: 39px; }
  .ring-art { right: -86px; top: 24%; width: 310px; opacity: 0.48; }
  .dev-hero::after { background: linear-gradient(180deg, rgba(17, 19, 24, 0.45), rgba(17, 19, 24, 0.98) 62%); }
  .project { padding: 20px; min-height: 0; }
  .project h2 { margin-top: 34px; font-size: 33px; }
  .product-visual, .product-visual img { min-height: 250px; }
}

@media (max-width: 420px) {
  .display { font-size: 43px; }
  .actions .button { width: 100%; }
  .proof strong { font-size: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .brand-scene canvas { display: none; }
}

/* ===== Homepage: hero shield, headline motion, Start here, From the lab ===== */
.brand-hero {
  background:
    radial-gradient(42% 60% at 78% 48%, rgba(255, 107, 53, 0.16), transparent 70%),
    radial-gradient(30% 40% at 84% 62%, rgba(110, 120, 255, 0.12), transparent 70%),
    #0b0d10;
}

.hero-shield {
  position: absolute;
  top: 50%;
  right: max(40px, calc((100% - var(--max)) / 2 + 60px));
  width: auto;
  height: min(64%, 520px);
  aspect-ratio: 200 / 240;
  transform: translateY(-50%);
  filter: drop-shadow(0 40px 80px rgba(255, 107, 53, 0.28));
  animation: hs-float 7s ease-in-out infinite, hs-hue 14s ease-in-out infinite;
  transition: opacity 700ms ease;
}

.hero-shield__scan { animation: hs-scan 5.5s linear infinite; }
.brand-scene.ready .hero-shield { opacity: 0; }

@keyframes hs-float {
  0%, 100% { transform: translateY(-50%) rotate(-2deg); }
  50% { transform: translateY(calc(-50% - 12px)) rotate(2deg); }
}

@keyframes hs-hue {
  0%, 100% { filter: drop-shadow(0 40px 80px rgba(255, 107, 53, 0.28)) hue-rotate(-12deg); }
  50% { filter: drop-shadow(0 40px 80px rgba(157, 92, 255, 0.28)) hue-rotate(18deg); }
}

@keyframes hs-scan { to { transform: translateY(300px); } }

.hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  filter: blur(8px);
  animation: hw-rise 1000ms var(--ease) forwards;
  animation-delay: calc(100ms + var(--d, 0) * 120ms);
}

@keyframes hw-rise { to { opacity: 1; transform: none; filter: blur(0); } }

.hero-copy .lede,
.hero-copy .actions,
.hero-copy .eyebrow { opacity: 0; animation: hw-fade 900ms ease forwards; }
.hero-copy .eyebrow { animation-delay: 60ms; }
.hero-copy .lede { animation-delay: 480ms; }
.hero-copy .actions { animation-delay: 640ms; }

@keyframes hw-fade { to { opacity: 1; } }

.brand-hero .hero-labels a {
  padding-top: 4px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink-muted);
  transition: color 160ms ease;
}

.brand-hero .hero-labels a:hover { color: #fff; }
.hero-labels strong { color: var(--ink); font-weight: 720; }
.hero-labels em { font-style: normal; text-transform: none; font-weight: 500; opacity: 0.8; }

.reveal[data-delay="1"] { transition-delay: 90ms; }
.reveal[data-delay="2"] { transition-delay: 180ms; }

/* Disciplines are whole-card links now */
a.division { display: block; color: inherit; transition: transform 220ms var(--ease); }
a.division:hover { transform: translateY(-4px); }
a.division:hover .text-link { color: var(--orange); }
.band.dark .division-number,
.band.dark .division p { color: var(--ink-soft); }

/* Start here */
.start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.start-tile {
  position: relative;
  min-height: 300px;
  padding: 30px;
  border-radius: 22px;
  background: #fff;
  color: var(--dark-ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 260ms var(--ease), box-shadow 260ms ease;
}

a.start-tile:hover,
.start-tile--blog:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -32px rgba(19, 21, 26, 0.35);
}

.start-kicker {
  color: #b5410c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.start-tile h3 {
  margin: auto 0 10px;
  padding-top: 48px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.start-tile p { margin: 0; max-width: 34em; color: var(--dark-soft); }

.start-cta {
  margin-top: 22px;
  align-self: flex-start;
  color: var(--dark-ink);
  font-size: 15px;
  font-weight: 700;
}

.start-cta::after { content: "\00a0\203A"; }
a.start-tile:hover .start-cta,
.start-tile--blog .start-cta:hover { color: #b5410c; }

.start-tile--academy {
  grid-column: span 2;
  min-height: 360px;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(255, 107, 53, 0.42), transparent 60%),
    radial-gradient(60% 80% at 90% 100%, rgba(157, 92, 255, 0.28), transparent 60%),
    #111318;
  color: #fff;
}

.start-tile--academy .start-kicker { color: #ffa27a; }
.start-tile--academy h3 { font-size: clamp(34px, 3.6vw, 48px); max-width: 12ch; }
.start-tile--academy p { color: rgba(255, 255, 255, 0.76); }

.start-tile--academy .start-cta {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--orange);
  color: #1a0f0a;
  display: inline-flex;
  align-items: center;
}

a.start-tile--academy:hover .start-cta { color: #1a0f0a; background: #ff875c; }

.start-tile--blog { grid-column: span 2; }
.start-tile--blog h3 { margin-top: 0; padding-top: 34px; }

.start-posts {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.start-posts a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--dark-ink);
  font-size: 16px;
  font-weight: 600;
  transition: color 160ms ease;
}

.start-posts a:hover { color: #b5410c; }

.start-posts small {
  flex: 0 0 96px;
  color: var(--dark-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

/* From the lab */
.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.lab-card {
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(170deg, #171a20, #101216);
  display: flex;
  flex-direction: column;
  transition: transform 260ms var(--ease), border-color 260ms ease;
}

.lab-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.24); }

.lab-glyph {
  height: 64px;
  margin-bottom: auto;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.lab-glyph--bars i {
  width: 12px;
  border-radius: 4px 4px 0 0;
  background: var(--orange);
}

.lab-glyph--bars i:nth-child(1) { height: 34%; background: #ff453a; }
.lab-glyph--bars i:nth-child(2) { height: 72%; }
.lab-glyph--bars i:nth-child(3) { height: 100%; background: var(--yellow); }
.lab-glyph--bars i:nth-child(4) { height: 52%; background: var(--cyan); }

.lab-glyph--term {
  align-items: center;
  color: var(--cyan);
  font: 14px/1 ui-monospace, "SF Mono", Menlo, monospace;
}

.lab-glyph--term b {
  width: 8px;
  height: 16px;
  margin-left: 4px;
  background: var(--cyan);
  animation: lab-caret 1s steps(1) infinite;
}

@keyframes lab-caret { 50% { opacity: 0; } }

.lab-glyph--ring {
  width: 64px;
  border-radius: 50%;
  background: conic-gradient(#ff6b35 0 25%, #f0c64f 0 50%, #57c8e8 0 75%, #ff4fa0 0 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 11px), #000 calc(100% - 10px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 11px), #000 calc(100% - 10px));
  animation: lab-spin 6s linear infinite;
}

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

.lab-meta {
  margin-top: 40px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
}

.lab-card h3 { margin: 8px 0 8px; font-size: 24px; line-height: 1.1; }
.lab-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

@media (max-width: 980px) {
  .start-grid { grid-template-columns: 1fr 1fr; }
  .start-tile--academy,
  .start-tile--blog { grid-column: 1 / -1; }
  .lab-grid { grid-template-columns: 1fr; }
  .lab-card { min-height: 0; }
  .lab-glyph { margin-bottom: 0; }
}

@media (max-width: 760px) {
  .brand-hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 76px;
  }

  .brand-hero::after { display: none; }

  .brand-hero .brand-scene {
    position: relative;
    inset: auto;
    height: 220px;
    margin-bottom: 12px;
  }

  .hero-shield {
    top: 0;
    right: 50%;
    height: 100%;
    transform: translate(50%, 0);
    animation: hs-hue 14s ease-in-out infinite;
  }

  .start-grid { grid-template-columns: 1fr; }
  .start-tile { min-height: 0; padding: 26px; }
  .start-tile h3 { padding-top: 34px; font-size: 27px; }
  .start-posts a { flex-direction: column; gap: 4px; }
  .start-posts small { flex-basis: auto; }
  .brand-hero .hero-labels a { flex-direction: column; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .hw,
  .hero-copy .lede,
  .hero-copy .actions,
  .hero-copy .eyebrow { opacity: 1; transform: none; filter: none; animation: none; }
  .hero-shield,
  .hero-shield__scan,
  .lab-glyph--term b,
  .lab-glyph--ring { animation: none; }
}

/* ===== Consulting hero: the programme cycle ===== */
.consulting-hero {
  background:
    radial-gradient(40% 55% at 76% 46%, rgba(87, 200, 232, 0.12), transparent 70%),
    radial-gradient(30% 40% at 80% 50%, rgba(255, 107, 53, 0.12), transparent 70%),
    #0c0e11;
}

.cycle {
  --r: min(17vw, 210px);
  position: absolute;
  top: 50%;
  right: max(60px, calc((100% - var(--max)) / 2 + 80px));
  width: calc(var(--r) * 2 + 120px);
  aspect-ratio: 1;
  transform: translateY(-46%);
}

.cycle__ring,
.cycle__sweep {
  position: absolute;
  inset: 60px;
  border-radius: 50%;
}

.cycle__ring { border: 1px solid rgba(255, 255, 255, 0.16); }

.cycle__ring::before {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  animation: cy-spin 60s linear infinite reverse;
}

.cycle__sweep {
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 107, 53, 0) 250deg, rgba(255, 107, 53, 0.55) 355deg, #ff6b35 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: cy-spin 9s linear infinite;
}

.cycle__node {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(18, 21, 26, 0.92);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a)));
  animation: cy-glow 9s linear infinite;
  animation-delay: var(--d, 0s);
}

.cycle__node::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--cyan);
  vertical-align: 1px;
}

.cycle__core {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.cycle__core strong { font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.cycle__core small { margin-top: 8px; color: var(--ink-muted); font-size: 13px; }

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

@keyframes cy-glow {
  0%, 12%, 100% { border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
  3% { border-color: rgba(255, 107, 53, 0.9); box-shadow: 0 0 24px rgba(255, 107, 53, 0.45); }
}

@media (max-width: 980px) {
  .consulting-hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 84px;
  }

  .cycle {
    --r: 130px;
    position: relative;
    top: auto;
    right: auto;
    width: calc(var(--r) * 2 + 104px);
    margin: 0 auto 16px;
    transform: none;
  }

  .cycle__ring,
  .cycle__sweep { inset: 52px; }
}

@media (max-width: 760px) {
  .consulting-hero { padding-top: 64px; }
  .cycle { --r: 104px; width: calc(var(--r) * 2 + 96px); }
  .cycle__ring,
  .cycle__sweep { inset: 48px; }
  .cycle__node { padding: 6px 10px; font-size: 11.5px; }
  .cycle__core strong { font-size: 36px; }
  .cycle__core small { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .cycle__sweep, .cycle__ring::before, .cycle__node { animation: none; }
}

/* ===== Consulting: equal-weight capability map ===== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cap {
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(170deg, #161a20, #0e1013);
  display: flex;
  flex-direction: column;
  transition: transform 260ms var(--ease), border-color 260ms ease;
}

.cap:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.24); }

.cap__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 107, 53, 0.14);
  color: #ff8a5f;
  display: grid;
  place-items: center;
}

.cap__icon svg { width: 22px; height: 22px; }

.cap h3 {
  margin: auto 0 8px;
  padding-top: 36px;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.cap p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }

.cap ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cap li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 600;
}

@media (max-width: 1100px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } .cap { min-height: 0; } }
