:root {
  --ink: #0a1020;
  --ink2: #142033;
  --paper: #fbfaf6;
  --white: #fff;
  --muted: #5e6879;
  --line: #dedfdc;
  --blue: #5368ff;
  --yellow: #ffd75a;
  --pink: #ff9bcb;
  --mint: #72e8b7;
  --sky: #9bd9ff;
  --lilac: #c8b0ff;
  --orange: #ffb07d;
  --max: 1280px;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.11);
  --radius: 28px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.55 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open {
  overflow: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
textarea {
  font: inherit;
}
.shell {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}
.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(20, 32, 51, 0.08);
}
.nav-inner {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  width: max-content;
  letter-spacing: -0.05em;
}
.brand strong {
  font-size: 27px;
  font-weight: 900;
}
.brand span {
  font-size: 25px;
  font-weight: 300;
  margin-left: 4px;
}
.brand small {
  grid-column: 1/3;
  font-size: 7px;
  letter-spacing: 0.3em;
  font-weight: 800;
  color: #62708b;
}
.desktop-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
}
.desktop-nav a {
  position: relative;
}
.desktop-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--blue);
  transition: 0.25s;
}
.desktop-nav a[aria-current="page"]:after,
.desktop-nav a:hover:after {
  right: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 25px rgba(10, 16, 32, 0.14);
}
.button-outline {
  border-color: var(--ink);
  background: transparent;
}
.button-blue {
  background: var(--blue);
  color: #fff;
}
.button-light {
  background: #fff;
  color: var(--ink);
}
.menu-button {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}
.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 6px auto;
}
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 100;
  padding: 24px;
  transform: translateX(100%);
  transition: 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.mobile-drawer[hidden] {
  display: none;
}
.mobile-drawer.open {
  transform: none;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 800;
}
.drawer-close {
  font-size: 36px;
  border: 0;
  background: none;
}
.mobile-drawer nav {
  margin: 40px 0;
}
.mobile-drawer nav a {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.mobile-drawer nav b {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-weight: 900;
  color: #31405d;
}
.kicker.light {
  color: #aeb9ca;
}
.hero {
  padding: 62px 0 0;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 54px;
  align-items: center;
}
.hero-copy h1,
.page-hero h1,
.contact-hero h1,
.case-hero-v5 h1 {
  font-size: clamp(58px, 7vw, 102px);
  line-height: 0.88;
  letter-spacing: -0.07em;
  margin: 18px 0 28px;
  max-width: 900px;
}
.highlight {
  color: var(--blue);
  position: relative;
  display: inline-block;
  z-index: 0;
}
.highlight:after {
  content: "";
  position: absolute;
  height: 10px;
  left: -2px;
  right: -2px;
  bottom: -8px;
  background: var(--yellow);
  border-radius: 50%;
  transform: rotate(-1deg);
  z-index: -1;
}
.highlight.mint:after {
  background: var(--mint);
}
.hero-lede {
  font-size: 19px;
  line-height: 1.65;
  color: #37445a;
  max-width: 680px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin: 32px 0;
}
.hand-note {
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 22px;
  margin-top: 40px;
  display: inline-block;
  transform: rotate(-2deg);
}
.hand-note i,
.marker-line {
  display: block;
  height: 3px;
  width: 70%;
  background: var(--blue);
  transform: rotate(-2deg);
  margin-top: 4px;
}
.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 36px;
  overflow: hidden;
  background: #eee9df;
  box-shadow: var(--shadow);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sticky {
  position: absolute;
  padding: 17px;
  background: var(--yellow);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 18px;
  line-height: 1.15;
  box-shadow: 0 14px 30px #0002;
}
.sticky-a {
  right: 20px;
  top: 28px;
  transform: rotate(4deg);
}
.sticky-b {
  left: 22px;
  bottom: 42px;
  background: var(--pink);
  transform: rotate(-4deg);
}
.visual-caption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  background: rgba(10, 16, 32, 0.9);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 150px) 1fr;
  gap: 0;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 42px;
}
.proof-strip > div {
  padding: 22px 20px 20px 0;
  border-right: 1px solid var(--line);
}
.proof-strip strong {
  display: block;
  font-size: 26px;
}
.proof-strip span {
  font-size: 11px;
  color: var(--muted);
}
.proof-strip p {
  padding-left: 30px;
  color: var(--muted);
  font-size: 14px;
}
.section {
  padding: 92px 0;
}
.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 38px;
}
.section-intro h2,
.loop-head h2,
.team-principle h2,
.portfolio-note h2 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 10px 0;
}
.section-intro > p {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
}
.ink-accent {
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-weight: 400;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.product-card {
  min-height: 390px;
  border-radius: 26px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  background: var(--ink2);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.product-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(255, 255, 255, 0.18),
      transparent 35%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 60%);
  z-index: 0;
}
.product-card > * {
  position: relative;
  z-index: 1;
}
.product-card:nth-child(1) {
  grid-column: span 7;
  min-height: 500px;
}
.product-card:nth-child(2) {
  grid-column: span 5;
  min-height: 500px;
}
.product-card:nth-child(n + 3) {
  grid-column: span 4;
}
/* Rows after the first two cards hold three; stretch an incomplete last row. */
.product-card:only-child,
.product-card:nth-child(3n):last-child {
  grid-column: span 12;
}
.product-card:nth-child(3n + 4):last-child,
.product-card:nth-child(3n + 3):nth-last-child(2) {
  grid-column: span 6;
}
.product-card .product-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.product-card:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.product-ink {
  background: linear-gradient(145deg, #101827, #485d77);
}
.product-violet {
  background: linear-gradient(145deg, #684cff, #211853);
}
.product-blue {
  background: linear-gradient(145deg, #6aa0b8, #263e55);
}
.product-peach {
  background: linear-gradient(145deg, #f1a182, #684a70);
}
.product-green {
  background: linear-gradient(145deg, #6e9f70, #163b2c);
}
.product-index {
  font-size: 11px;
  letter-spacing: 0.18em;
}
.product-copy .kicker {
  color: #dfe5ef;
}
.product-copy h3 {
  font-size: 34px;
  line-height: 1;
  margin: 8px 0 12px;
  letter-spacing: -0.04em;
}
.product-copy p {
  max-width: 500px;
  color: #eef0f5;
}
.text-link {
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.text-link.large {
  font-size: 16px;
}
.section-action {
  text-align: right;
  margin-top: 24px;
}
.loop-section {
  background: #fff;
  border-block: 1px solid var(--line);
}
.loop-head {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 52px;
}
.loop-head p {
  color: var(--muted);
}
.product-loop {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}
.product-loop:before {
  content: "";
  position: absolute;
  top: 60px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: #cfd4dc;
}
.loop-step {
  position: relative;
}
.loop-step > span {
  font-size: 10px;
  color: #7a8494;
}
.loop-dot {
  width: 112px;
  height: 92px;
  border-radius: 49% 51% 45% 55%;
  display: grid;
  place-items: center;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-weight: 800;
  font-size: 19px;
  margin: 12px 0 20px;
  position: relative;
  z-index: 1;
  transform: rotate(-2deg);
}
.c1 {
  background: var(--pink);
}
.c2 {
  background: var(--yellow);
}
.c3 {
  background: var(--sky);
}
.c4 {
  background: var(--lilac);
}
.c5 {
  background: var(--mint);
}
.c6 {
  background: var(--orange);
}
.loop-step h3 {
  font-size: 18px;
  margin: 0 0 6px;
}
.loop-step p {
  font-size: 13px;
  color: var(--muted);
}
.method-callout {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
  padding: 24px 28px;
  margin-top: 44px;
}
.method-callout span {
  max-width: 800px;
}
.worlds {
  background: #f1f2f5;
}
.world-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.world {
  border-radius: 28px;
  padding: 32px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.world-no {
  margin-left: auto;
  font-size: 11px;
}
.world h3 {
  font-size: 45px;
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin: 50px 0 15px;
}
.world p {
  max-width: 360px;
}
.world b {
  margin-top: auto;
}
.world-lab {
  background: #111827;
  color: #fff;
}
.world-lab .kicker {
  color: #aab7ce;
}
.world-academy {
  background: #fff;
}
.world-team {
  background: #e9dfcf;
}
.manifesto {
  background: linear-gradient(125deg, #0a1020, #22344b);
  color: #fff;
  padding: 100px 0;
}
.manifesto-inner {
  max-width: 920px;
}
.manifesto blockquote {
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.05;
  margin: 20px 0;
}
.manifesto blockquote em {
  color: #9caaff;
}
.manifesto p {
  color: #bdc6d3;
  max-width: 620px;
  font-size: 18px;
}
.site-footer {
  background: #080e19;
  color: #fff;
  padding: 70px 0 25px;
}
.brand-light small {
  color: #9ba8ba;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 50px;
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-grid p,
.footer-grid a {
  color: #b8c0cd;
  font-size: 13px;
}
.footer-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: #748096;
  margin-bottom: 6px;
}
.footer-note em {
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 22px;
}
.footer-bottom {
  border-top: 1px solid #263043;
  margin-top: 50px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  color: #768196;
  font-size: 11px;
}
.page-hero {
  padding: 100px 0 60px;
}
.page-hero h1 {
  margin-top: 16px;
}
.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.filter-bar button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 800;
  font-size: 12px;
}
.filter-bar button.active {
  background: var(--ink);
  color: #fff;
}
.portfolio-note {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  padding-top: 55px;
  max-width: 900px;
}
.portfolio-note span {
  font-family: "Segoe Print", "Bradley Hand", cursive;
}
.lab-page {
  background: #080d17;
  color: #fff;
}
.lab-page .site-nav {
  background: rgba(8, 13, 23, 0.9);
  border-color: #202b3c;
}
.lab-page .brand small,
.lab-page .desktop-nav a {
  color: #dce3ee;
}
.lab-page .brand,
.lab-page .menu-button {
  color: #fff;
}
.lab-page .menu-button span {
  background: #fff;
}
.lab-page .site-footer {
  border-top: 1px solid #222c3c;
}
.lab-hero {
  padding: 110px 0 90px;
  background:
    radial-gradient(circle at 75% 30%, #33296c 0, transparent 28%),
    radial-gradient(circle at 20% 80%, #153c4b 0, transparent 26%);
}
.lab-hero h1 {
  font-size: clamp(72px, 10vw, 145px);
  line-height: 0.8;
  letter-spacing: -0.07em;
  margin: 25px 0;
}
.lab-hero h1 span {
  color: #98a8ff;
}
.lab-hero p {
  color: #b9c3d2;
  font-size: 20px;
  max-width: 680px;
}
.lab-signal {
  display: flex;
  align-items: end;
  gap: 5px;
  margin-top: 50px;
}
.lab-signal i {
  display: block;
  width: 4px;
  background: #7c91ff;
  border-radius: 3px;
  animation: pulse 1.4s infinite alternate;
}
.lab-signal i:nth-child(1) {
  height: 16px;
}
.lab-signal i:nth-child(2) {
  height: 30px;
}
.lab-signal i:nth-child(3) {
  height: 22px;
}
.lab-signal i:nth-child(4) {
  height: 38px;
}
.lab-signal span {
  margin-left: 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #8390a6;
}
.lab-body {
  padding: 70px 0 100px;
}
.lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.experiment {
  border: 1px solid #283448;
  border-radius: 26px;
  padding: 30px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #101827, #0b111e);
}
.experiment.featured {
  grid-column: span 2;
  min-height: 430px;
  background:
    radial-gradient(circle at 85% 25%, #4d3f99 0, transparent 30%),
    linear-gradient(145deg, #111b2c, #0b111e);
}
.experiment h2 {
  font-size: 56px;
  letter-spacing: -0.05em;
  margin: 10px 0;
}
.experiment p {
  color: #aeb9c9;
  max-width: 620px;
}
.exp-no {
  margin-left: auto;
  color: #65748a;
}
.experiment > b {
  margin-top: auto;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.chips span,
.expertise span {
  border: 1px solid #43506a;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 11px;
}
.academy-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 45px;
}
.academy-side {
  position: sticky;
  top: 110px;
  height: max-content;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.academy-side button {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  padding: 14px 0;
  color: var(--muted);
}
.academy-side button.active {
  color: var(--blue);
  font-weight: 800;
}
.lesson-feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 42px;
}
.lesson-feature h2 {
  font-size: 50px;
  line-height: 1;
  letter-spacing: -0.05em;
}
.lesson-meta {
  font-size: 10px;
  letter-spacing: 0.16em;
}
.lesson-flow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.lesson-flow span {
  background: #f0f2f5;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
}
.lesson-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.lesson {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  min-height: 230px;
}
.lesson > span {
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 0.14em;
}
.lesson h3 {
  font-size: 25px;
  margin: 25px 0 8px;
}
.lesson p {
  color: var(--muted);
}
.method-detail {
  background: #fff;
}
.method-map {
  max-width: 1050px;
  margin: auto;
  position: relative;
}
.map-line {
  position: absolute;
  left: 91px;
  top: 70px;
  bottom: 80px;
  width: 1px;
  background: #d7dbe1;
}
.method-row {
  display: grid;
  grid-template-columns: 45px 120px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
}
.method-number {
  font-size: 10px;
  color: #8a94a3;
  padding-top: 35px;
}
.method-orb {
  width: 110px;
  height: 90px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-weight: 800;
  position: relative;
  z-index: 1;
}
.method-row h2 {
  font-size: 34px;
  margin: 8px 0;
}
.method-row p {
  color: var(--muted);
  max-width: 680px;
}
.darkchips span {
  border-color: #cbd1da;
}
.founder-profile {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 30px;
}
.portrait-placeholder {
  min-height: 520px;
  border-radius: 24px;
  background: linear-gradient(145deg, #dbe0ee, #8d9dbd);
  display: grid;
  place-items: center;
  align-content: center;
}
.portrait-placeholder span {
  font-size: 80px;
  font-weight: 900;
}
.portrait-placeholder small {
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.founder-profile h2 {
  font-size: 64px;
  letter-spacing: -0.05em;
  margin: 10px 0;
}
.large-copy {
  font-size: 20px;
  color: #445066;
}
.expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.expertise span {
  border-color: #cbd1da;
}
.founder-profile blockquote {
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 26px;
  margin: 35px 0 0;
}
.team-principle {
  max-width: 850px;
  margin: 90px 0 35px;
}
.role-grid,
.belief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.role-card,
.belief {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  min-height: 260px;
}
.role-card > span,
.belief > span {
  font-size: 10px;
  color: var(--blue);
}
.role-card h3,
.belief h2 {
  font-size: 31px;
  line-height: 1.05;
  margin: 45px 0 10px;
}
.role-card p,
.belief p {
  color: var(--muted);
}
.belief-grid {
  grid-template-columns: 1fr 1fr;
}
.belief {
  min-height: 300px;
}
.case-hero {
  padding: 100px 0;
  background: linear-gradient(135deg, #121a29, #4a5d77);
  color: #fff;
}
.case-hero h1 {
  font-size: clamp(80px, 12vw, 160px);
  line-height: 0.75;
  letter-spacing: -0.07em;
  margin: 35px 0;
}
.case-hero > div > p {
  font-size: 20px;
  color: #d7deea;
  max-width: 650px;
}
.case-meta {
  display: flex;
  gap: 50px;
  margin-top: 60px;
}
.case-meta span {
  font-size: 12px;
  color: #b9c3d1;
}
.case-meta b {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}
.case-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 70px;
}
.case-nav {
  position: sticky;
  top: 110px;
  height: max-content;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}
.case-nav > span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #8993a2;
  margin-bottom: 10px;
}
.case-content > section {
  padding: 10px 0 70px;
}
.case-content h2 {
  font-size: 50px;
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.case-content p {
  font-size: 18px;
  color: #4b5669;
  max-width: 760px;
}
.hypothesis-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 7px solid var(--pink);
  border-radius: 0 26px 26px 0;
  padding: 34px;
  margin-bottom: 80px;
}
.hypothesis-card > span {
  font-size: 10px;
  letter-spacing: 0.15em;
}
.hypothesis-card h3 {
  font-size: 38px;
  line-height: 1.1;
  max-width: 760px;
}
.hypothesis-card > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.evolution {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.evolution span {
  background: var(--ink);
  color: #fff;
  padding: 12px 15px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}
.contact-hero {
  padding: 100px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 70px;
  align-items: start;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-card label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}
.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #cdd2da;
  background: transparent;
  padding: 12px 0;
  outline: none;
  margin-top: 5px;
}
.contact-card textarea {
  resize: vertical;
}
.contact-card small {
  display: block;
  color: var(--muted);
  margin-top: 16px;
}
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.js .reveal.visible {
  opacity: 1;
  transform: none;
}
@keyframes pulse {
  to {
    transform: scaleY(0.5);
    opacity: 0.55;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 900px) {
  .shell {
    width: min(var(--max), calc(100% - 28px));
  }
  .desktop-nav,
  .desktop-cta {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .hero {
    padding-top: 35px;
  }
  .hero-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  /* Stacked hero: headline and intro, then the framed image, then the actions.
     .hero-copy dissolves so its children and the canvas can be ordered as siblings. */
  .hero-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .hero-copy {
    display: contents;
  }
  .hero-copy > .kicker {
    order: 1;
  }
  .hero-copy > h1 {
    order: 2;
  }
  .hero-copy > .hero-lede {
    order: 3;
    margin-bottom: 0;
  }
  .hero-layout > .hero-canvas {
    order: 4;
    margin-top: 12px;
  }
  .hero-copy > .hero-actions {
    order: 5;
    margin: 20px 0 0;
  }
  .hero-copy > .hand-note {
    order: 6;
    align-self: flex-start;
    margin-top: 28px;
  }
  .hero-copy h1,
  .page-hero h1,
  .contact-hero h1 {
    font-size: 58px;
  }
  .hero-lede {
    font-size: 17px;
  }
  .hero-visual {
    aspect-ratio: 1.08/1;
  }
  .proof-strip {
    grid-template-columns: 1fr 1fr;
  }
  .proof-strip > div {
    border-bottom: 1px solid var(--line);
  }
  .proof-strip p {
    grid-column: 1/3;
    padding: 18px 0;
  }
  .section {
    padding: 65px 0;
  }
  .section-intro {
    display: block;
  }
  .section-intro > p {
    margin-top: 20px;
  }
  .product-grid {
    display: flex;
    overflow: auto;
    scroll-snap-type: x mandatory;
    margin-right: -14px;
    padding-right: 14px;
  }
  .product-card,
  .product-card:nth-child(n) {
    min-width: 84vw;
    min-height: 430px;
    scroll-snap-align: start;
  }
  .product-loop {
    grid-template-columns: 1fr;
  }
  .product-loop:before {
    left: 54px;
    top: 40px;
    bottom: 40px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .loop-step {
    display: grid;
    grid-template-columns: 115px 1fr;
    grid-template-rows: auto auto;
  }
  .loop-step > span {
    display: none;
  }
  .loop-dot {
    grid-row: 1/3;
  }
  .loop-step h3 {
    align-self: end;
  }
  .method-callout {
    display: block;
  }
  .method-callout > b {
    display: block;
    margin-top: 15px;
  }
  .world-grid {
    grid-template-columns: 1fr;
  }
  .world {
    min-height: 360px;
  }
  .world h3 {
    margin-top: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child,
  .footer-note {
    grid-column: 1/3;
  }
  .lab-grid {
    grid-template-columns: 1fr;
  }
  .experiment.featured {
    grid-column: auto;
  }
  .academy-layout {
    grid-template-columns: 1fr;
  }
  .academy-side {
    position: static;
    overflow: auto;
    flex-direction: row;
    gap: 7px;
  }
  .academy-side .kicker {
    display: none;
  }
  .academy-side button {
    white-space: nowrap;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 12px;
  }
  .lesson-feature h2 {
    font-size: 38px;
  }
  .lesson-grid {
    grid-template-columns: 1fr;
  }
  .founder-profile {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .portrait-placeholder {
    min-height: 380px;
  }
  .founder-profile h2 {
    font-size: 48px;
  }
  .role-grid,
  .belief-grid {
    grid-template-columns: 1fr;
  }
  .method-row {
    grid-template-columns: 35px 90px 1fr;
    gap: 12px;
  }
  .method-orb {
    width: 85px;
    height: 72px;
    font-size: 14px;
  }
  .map-line {
    left: 77px;
  }
  .case-layout {
    grid-template-columns: 1fr;
  }
  .case-nav {
    position: static;
    flex-direction: row;
    overflow: auto;
  }
  .case-nav > span {
    display: none;
  }
  .case-nav a {
    white-space: nowrap;
    border: 1px solid var(--line);
    padding: 8px 11px;
    border-radius: 999px;
  }
  .case-meta {
    gap: 20px;
    flex-wrap: wrap;
  }
  .case-content h2 {
    font-size: 38px;
  }
  .hypothesis-card h3 {
    font-size: 30px;
  }
}
@media (max-width: 520px) {
  .nav-inner {
    height: 68px;
  }
  .brand strong {
    font-size: 23px;
  }
  .brand span {
    font-size: 21px;
  }
  .hero-copy h1,
  .page-hero h1,
  .contact-hero h1 {
    font-size: 49px;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-visual {
    border-radius: 24px;
  }
  .sticky {
    font-size: 14px;
    padding: 11px;
  }
  .section-intro h2,
  .loop-head h2,
  .team-principle h2,
  .portfolio-note h2 {
    font-size: 40px;
  }
  .proof-strip strong {
    font-size: 22px;
  }
  .proof-strip > div {
    padding: 16px 10px 16px 0;
  }
  .world h3 {
    font-size: 39px;
  }
  .manifesto {
    padding: 70px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > div:first-child,
  .footer-note {
    grid-column: auto;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom span {
    display: block;
    margin: 5px 0;
  }
  .lab-hero h1 {
    font-size: 72px;
  }
  .experiment h2 {
    font-size: 46px;
  }
  .lesson-feature {
    padding: 26px;
  }
  .method-row {
    grid-template-columns: 80px 1fr;
  }
  .method-number {
    display: none;
  }
  .map-line {
    left: 42px;
  }
  .founder-profile {
    gap: 28px;
  }
  .portrait-placeholder {
    min-height: 320px;
  }
  .case-hero h1 {
    font-size: 86px;
  }
  .contact-card {
    padding: 22px;
  }
}
/* V4 — evidence-led premium layer */
.case-v4 {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}
.case-rail {
  position: sticky;
  top: 110px;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0.7rem 1rem;
  padding: 1.5rem;
  border-left: 1px solid #d8d8d2;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.case-rail a {
  display: contents;
}
.case-rail a:hover b {
  color: var(--blue);
}
.case-rail span {
  color: #5367ff;
}
.case-story {
  display: grid;
  gap: 2rem;
}
.evidence-card,
.artifact-board {
  padding: clamp(1.5rem, 4vw, 4rem);
  border: 1px solid #deded8;
  border-radius: 24px;
  background: #fff;
}
.evidence-card h2,
.artifact-board h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.05em;
}
.evidence-card p,
.artifact-board p {
  max-width: 760px;
  font-size: 1.1rem;
  line-height: 1.75;
  color: #485063;
}
.artifact-board {
  background: #f6f2e8;
  position: relative;
  transform: rotate(-0.25deg);
}
.artifact-note {
  display: inline-block;
  background: #ffe176;
  padding: 0.7rem 1rem;
  transform: rotate(-2deg);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}
.artifact-flow {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.artifact-flow b {
  background: #fff;
  border: 1px solid #d5d1c6;
  padding: 0.8rem 1rem;
  border-radius: 999px;
}
.academy-grid-v4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.lesson-card {
  padding: 2rem;
  border: 1px solid #deded8;
  border-radius: 22px;
  background: #fff;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.lesson-card h2 {
  font-size: 2rem;
  letter-spacing: -0.04em;
}
.lesson-card > div {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #ecece7;
  padding-top: 1rem;
  font-size: 0.8rem;
}
.lab-v4 {
  min-height: 80vh;
  background: #07111f;
  color: #fff;
  padding: clamp(6rem, 12vw, 10rem) 0;
}
.lab-v4 h1 {
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  margin: 1rem 0 2rem;
}
.lab-v4 h1 em {
  color: #8f9cff;
  font-style: normal;
}
.lab-v4 > .shell > p {
  max-width: 700px;
  color: #aebbd0;
  font-size: 1.2rem;
}
.lab-grid-v4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}
.lab-experiment {
  min-height: 360px;
  border: 1px solid #26344b;
  border-radius: 22px;
  padding: 2rem;
  background: linear-gradient(145deg, #0c1829, #09111e);
  display: flex;
  flex-direction: column;
}
.lab-experiment span,
.lab-experiment i {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8493ad;
}
.lab-experiment h2 {
  font-size: 2.5rem;
  margin: 2rem 0 0.5rem;
}
.lab-experiment b {
  color: #a9b4ff;
}
.lab-experiment p {
  color: #b7c0cf;
  line-height: 1.7;
}
.lab-experiment i {
  margin-top: auto;
}
.team-v4 {
  display: grid;
  gap: 1.5rem;
}
.person-v4 {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-top: 1px solid #ddd;
}
.person-monogram {
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #101827;
  color: #fff;
  font-size: 4rem;
  font-weight: 800;
}
.person-v4 h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  margin: 0.3rem 0;
  letter-spacing: -0.06em;
}
.person-v4 h3 {
  font-weight: 500;
  color: #5367ff;
}
.team-callout {
  margin-top: 2rem;
  padding: clamp(2rem, 5vw, 5rem);
  background: #f0edff;
  border-radius: 28px;
}
.team-callout h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  max-width: 700px;
  letter-spacing: -0.05em;
}
@media (max-width: 800px) {
  .case-v4 {
    grid-template-columns: 1fr;
  }
  .case-rail {
    position: static;
    display: flex;
    overflow: auto;
    padding: 1rem 0;
    border-left: 0;
    border-bottom: 1px solid #ddd;
  }
  .case-rail span {
    display: none;
  }
  .case-rail b {
    white-space: nowrap;
  }
  .academy-grid-v4,
  .lab-grid-v4 {
    grid-template-columns: 1fr;
  }
  .person-v4 {
    grid-template-columns: 80px 1fr;
  }
  .person-monogram {
    font-size: 2rem;
  }
  .lesson-card {
    min-height: 260px;
  }
}

/* V5 — production-candidate experience */
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  background: #111;
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
}
.skip-link:focus {
  top: 1rem;
}
.case-hero-v5 {
  padding: 8.5rem 0 4rem;
  background: linear-gradient(180deg, #fbfaf6, #f3f1ea);
}
.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: 5rem;
  align-items: center;
}
.case-hero-media {
  min-height: 480px;
}
.case-image,
.lab-feature-image,
.team-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}
.case-placeholder {
  height: 100%;
  min-height: 480px;
  border-radius: 28px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
}
.case-placeholder[class*="product-"] {
  color: #fff;
}
.case-placeholder span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.case-placeholder strong {
  font-size: clamp(2rem, 4vw, 4rem);
  max-width: 8ch;
  line-height: 0.92;
}
.case-summary {
  border-top: 1px solid #ddd8cd;
  border-bottom: 1px solid #ddd8cd;
  background: #fff;
}
.case-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.case-summary-grid > div {
  padding: 1.4rem 2rem;
  border-right: 1px solid #e8e4dc;
}
.case-summary-grid span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  color: #7b7b73;
  margin-bottom: 0.4rem;
}
.outcome {
  margin-top: 2rem;
  padding: 1.4rem;
  border-left: 3px solid #111;
  background: #f7f5ef;
}
.related-section {
  background: #f4f1e9;
}
.reading-shell {
  max-width: 980px;
}
.reading-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 4rem;
  justify-content: center;
}
.reading-rail {
  position: sticky;
  top: 7rem;
  height: max-content;
  display: grid;
  gap: 0.8rem;
  font-size: 0.82rem;
}
.reading-rail span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #777;
  margin-bottom: 0.4rem;
}
.prose-card {
  background: #fff;
  padding: clamp(2rem, 5vw, 5rem);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.07);
}
.prose-card .rich-text,
.prose-card > div {
  font-size: 1.08rem;
  line-height: 1.8;
}
.exercise {
  margin-top: 3rem;
  padding: 2rem;
  background: #fff4a8;
  border-radius: 18px;
}
.lab-body {
  background: #080a0f;
  color: #f5f5f2;
}
.lab-body .site-nav {
  background: rgba(8, 10, 15, 0.88);
  border-color: #252833;
}
.lab-body .brand,
.lab-body .desktop-nav a {
  color: #fff;
}
.lab-detail-hero {
  padding: 10rem 0 6rem;
  background:
    radial-gradient(circle at 80% 20%, #252d5a 0, transparent 35%), #080a0f;
}
.lab-detail-hero h1 {
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.85;
  margin: 0.8rem 0 2rem;
}
.lab-detail-hero p {
  max-width: 700px;
  color: #bdc2ce;
  font-size: 1.2rem;
  line-height: 1.7;
}
.lab-signal {
  display: inline-block;
  color: #a8ffca;
  margin-bottom: 2rem;
}
.lab-detail-body {
  padding: 5rem 0 8rem;
  background: #0d1017;
}
.lab-feature-image {
  max-height: 680px;
  margin-bottom: 4rem;
}
.lab-prose {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #d7d9df;
}
.contact-v5 {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 6rem;
  align-items: start;
}
.contact-thinking {
  position: sticky;
  top: 8rem;
}
.contact-form {
  background: #fff;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.08);
  display: grid;
  gap: 1.25rem;
}
.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 700;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d8d5cd;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  font: inherit;
  background: #fbfaf6;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(79, 99, 255, 0.18);
  border-color: #4f63ff;
}
.form-success {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: #dff7e7;
  color: #163c24;
}
.field-error {
  color: #a21d1d;
}
.form-error {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: #fde4e4;
  color: #6b1111;
}
.contact-form [aria-invalid="true"] {
  border-color: #a21d1d;
}
.contact-form .optional {
  font-style: normal;
  color: var(--muted);
  font-weight: 400;
}
/* Honeypot: off-screen rather than display:none, which some bots detect. */
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.team-grid-v5 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
.team-card-v5 {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(17, 24, 39, 0.07);
}
.team-card-v5 > div:last-child {
  padding: 2rem;
}
.team-portrait,
.portrait-placeholder {
  aspect-ratio: 6/7;
}
.portrait-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d8ddff, #fff0bd);
}
.portrait-placeholder span {
  font-size: 8rem;
  font-weight: 900;
}
.specialisms {
  margin: 1.3rem 0;
  color: #5d5d57;
  font-size: 0.9rem;
}
.lesson-card[data-category][hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  .case-hero-grid,
  .contact-v5,
  .reading-layout,
  .team-grid-v5 {
    grid-template-columns: 1fr;
  }
  .case-hero-v5 {
    padding-top: 7rem;
  }
  .case-hero-media,
  .case-placeholder {
    min-height: 340px;
  }
  .case-summary-grid {
    grid-template-columns: 1fr;
  }
  .case-summary-grid > div {
    border-right: 0;
    border-bottom: 1px solid #e8e4dc;
  }
  .reading-rail,
  .contact-thinking {
    position: static;
  }
  .reading-rail {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 1rem;
  }
  .lab-detail-hero h1 {
    font-size: 4rem;
  }
}

/* V6 — immersive framed design canvas */
.hero-canvas {
  position: relative;
  isolation: isolate;
  padding: 38px 26px 30px;
  perspective: 1100px;
}
.picture-frame {
  position: relative;
  padding: 13px;
  background: linear-gradient(
    135deg,
    #8b633f 0%,
    #d0a46f 18%,
    #795332 43%,
    #bc8c58 69%,
    #68462c 100%
  );
  box-shadow:
    0 30px 70px rgba(30, 23, 16, 0.18),
    0 7px 14px rgba(30, 23, 16, 0.12),
    inset 0 0 0 1px rgba(55, 31, 14, 0.34);
  transform: rotate(-0.45deg);
  transition:
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.55s;
}
.picture-frame:before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  pointer-events: none;
}
.hero-canvas:hover .picture-frame {
  box-shadow:
    0 38px 90px rgba(30, 23, 16, 0.23),
    0 9px 18px rgba(30, 23, 16, 0.13),
    inset 0 0 0 1px rgba(55, 31, 14, 0.34);
}
.frame-mat {
  padding: 14px;
  background: #f4efe4;
  box-shadow: inset 0 0 14px rgba(62, 46, 28, 0.18);
}
.hero-canvas .hero-visual {
  aspect-ratio: 1/1.06;
  border-radius: 1px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(10, 16, 32, 0.08);
  background: #eee9df;
}
.hero-canvas .hero-visual picture {
  position: absolute;
  inset: 0;
}
.hero-canvas-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  transform: scale(1.015);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.canvas-shade {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 45px rgba(22, 16, 10, 0.1);
  pointer-events: none;
}
.frame-label {
  position: absolute;
  z-index: 6;
  top: 2px;
  left: 50%;
  transform: translateX(-50%) rotate(-1.5deg);
  width: max-content;
  max-width: 80%;
  padding: 8px 22px;
  background: #eee2c8;
  box-shadow: 0 8px 20px rgba(30, 23, 16, 0.09);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.frame-label span {
  display: inline-block;
  margin: 0 10px;
}
.canvas-note {
  position: absolute;
  z-index: 7;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 14px;
  line-height: 1.25;
  color: #18223a;
  pointer-events: none;
}
.canvas-note-left {
  left: -18px;
  top: 18%;
  transform: rotate(-7deg);
}
.canvas-note-right {
  right: -27px;
  bottom: 9%;
  transform: rotate(5deg);
}
.focus-point {
  position: absolute;
  z-index: 8;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 16, 32, 0.88);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.24);
  cursor: zoom-in;
  display: grid;
  place-items: center;
  transition:
    transform 0.25s,
    background 0.25s;
}
.focus-point:before,
.focus-point:after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 2px;
}
.focus-point:before {
  width: 12px;
  height: 2px;
}
.focus-point:after {
  width: 2px;
  height: 12px;
}
.focus-point span {
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  animation: canvasPulse 2.2s ease-out infinite;
}
.focus-point:hover,
.focus-point:focus-visible,
.focus-point.active {
  transform: scale(1.12);
  background: var(--blue);
  outline: none;
}
.focus-problem {
  top: 20%;
  right: 18%;
}
.focus-products {
  left: 26%;
  top: 52%;
}
.focus-loop {
  right: 25%;
  bottom: 18%;
}
.zoom-lens {
  position: absolute;
  z-index: 9;
  width: 190px;
  aspect-ratio: 1.25;
  border: 5px solid #f9f7f0;
  border-radius: 18px;
  background-image: url("../images/editorial/hero-workspace-1145.e075b76e89b9.webp");
  background-repeat: no-repeat;
  background-size: 430%;
  box-shadow: 0 20px 45px rgba(10, 16, 32, 0.28);
  opacity: 0;
  transform: scale(0.72) rotate(-2deg);
  pointer-events: none;
  transition:
    opacity 0.24s,
    transform 0.42s cubic-bezier(0.18, 0.9, 0.25, 1.25);
  overflow: hidden;
}
.zoom-lens:after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(10, 16, 32, 0.1);
  border-radius: 13px;
}
.zoom-lens span {
  position: absolute;
  left: 9px;
  bottom: 8px;
  background: rgba(10, 16, 32, 0.88);
  color: #fff;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lens-problem {
  right: -5%;
  top: 7%;
  background-position: 79% 15%;
}
.lens-products {
  left: -5%;
  top: 39%;
  background-position: 24% 54%;
  transform: scale(0.72) rotate(2deg);
}
.lens-loop {
  right: -4%;
  bottom: 3%;
  background-position: 72% 73%;
  transform: scale(0.72) rotate(2deg);
}
.hero-canvas[data-active="problem"] .lens-problem,
.hero-canvas[data-active="products"] .lens-products,
.hero-canvas[data-active="loop"] .lens-loop {
  opacity: 1;
  transform: scale(1) rotate(-1deg);
}
.hero-canvas[data-active="products"] .lens-products,
.hero-canvas[data-active="loop"] .lens-loop {
  transform: scale(1) rotate(1deg);
}
.hero-canvas[data-active] .canvas-shade {
  background: rgba(10, 16, 32, 0.04);
}
.hero-canvas .visual-caption {
  z-index: 7;
  right: 16px;
  bottom: 15px;
  backdrop-filter: blur(8px);
}
@keyframes canvasPulse {
  0% {
    transform: scale(0.75);
    opacity: 0.9;
  }
  75%,
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}
@media (max-width: 1100px) {
  .hero-canvas {
    padding-left: 12px;
    padding-right: 12px;
  }
  .canvas-note {
    display: none;
  }
  .zoom-lens {
    width: 160px;
  }
  .lens-problem,
  .lens-loop {
    right: -2%;
  }
  .lens-products {
    left: -2%;
  }
}
@media (max-width: 900px) {
  .hero-canvas {
    padding: 34px 4px 8px;
  }
  .picture-frame {
    padding: 9px;
  }
  .frame-mat {
    padding: 9px;
  }
  .hero-canvas .hero-visual {
    aspect-ratio: 1.08/1;
  }
  .hero-canvas-image {
    object-position: center 44%;
  }
  .frame-label {
    font-size: 12px;
    padding: 7px 14px;
  }
  .zoom-lens {
    width: 145px;
    border-width: 4px;
  }
  .focus-point {
    width: 31px;
    height: 31px;
  }
  .lens-problem {
    right: 1%;
    top: 5%;
  }
  .lens-products {
    left: 1%;
    top: 42%;
  }
  .lens-loop {
    right: 1%;
    bottom: 2%;
  }
}
@media (max-width: 520px) {
  .hero-canvas {
    padding-top: 28px;
  }
  .picture-frame {
    padding: 7px;
  }
  .frame-mat {
    padding: 7px;
  }
  .frame-label {
    font-size: 10px;
  }
  .zoom-lens {
    width: 126px;
  }
  .hero-canvas .visual-caption {
    display: none;
  }
  .focus-products {
    left: 22%;
  }
  .focus-loop {
    right: 20%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .focus-point span {
    animation: none;
  }
  .picture-frame,
  .hero-canvas-image,
  .zoom-lens {
    transition: none !important;
  }
}

/* Without JavaScript the drawer can't open, so keep the inline nav and let it wrap. */
@media (max-width: 900px) {
  .no-js .menu-button {
    display: none;
  }
  .no-js .desktop-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .no-js .nav-inner {
    flex-wrap: wrap;
  }
}
.mobile-drawer nav a[aria-current="page"] {
  color: var(--blue);
}

/* Cards whose detail page isn't written yet. */
.lesson-card.is-upcoming,
.lab-experiment.is-upcoming {
  cursor: default;
}
.lesson-card.is-upcoming {
  background: transparent;
  border-style: dashed;
}
.lesson-card .coming-soon {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}
a.lesson-card,
a.lab-experiment {
  transition:
    transform 0.3s,
    border-color 0.3s;
}
a.lesson-card:hover,
a.lab-experiment:hover {
  transform: translateY(-4px);
}
a.lab-experiment:hover {
  border-color: var(--blue);
}

.case-pending {
  max-width: 760px;
  margin: 0 auto;
}
.case-pending .hero-actions {
  margin-top: 1.5rem;
}

.error-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.error-hero .brand {
  display: inline-flex;
  margin-bottom: 3rem;
}

.search-results {
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}
.search-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.search-form input[type="search"] {
  flex: 1 1 260px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
