:root {
  --ink: #0e1624;
  --muted: #647184;
  --line: rgba(14, 22, 36, 0.12);
  --soft: #f5f7fb;
  --blue: #245fff;
  --blue-rgb: 36, 95, 255;
  --orange: #f47b32;
  --orange-rgb: 244, 123, 50;
  --green: #139b72;
  --green-rgb: 19, 155, 114;
  --panel: #ffffff;
  --shadow: 0 22px 70px rgba(24, 35, 53, 0.12);
  --shadow-hover: 0 30px 80px rgba(24, 35, 53, 0.16);
  --radius: 8px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fbfcfe;
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(251,252,254,0.94)),
    #fbfcfe;
}

body::before {
  position: fixed;
  inset: auto -8vw -12vh auto;
  z-index: -1;
  width: min(62vw, 820px);
  height: min(62vw, 820px);
  content: "";
  background: url("assets/visuals/page-constellation.png") center / cover no-repeat;
  opacity: 0.34;
  pointer-events: none;
  transform: rotate(-9deg);
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

.wrap {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(14, 22, 36, 0.08);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
}

.topbar-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 780;
}

.mark {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.mark::before {
  position: absolute;
  inset: 9px 5px;
  content: "";
  border: 1.5px solid rgba(var(--orange-rgb), 0.72);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.mark::after {
  position: absolute;
  top: 13px;
  left: 13px;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--orange);
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 5px;
  border: 1px solid rgba(14, 22, 36, 0.1);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 35, 53, 0.06);
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #374255;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--ink);
  background: #fff0e8;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(14, 22, 36, 0.1);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(24, 35, 53, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-toggle:hover {
  border-color: rgba(var(--orange-rgb), 0.32);
  box-shadow: 0 14px 34px rgba(244, 123, 50, 0.12);
  transform: translateY(-1px);
}

.nav-toggle-lines {
  display: grid;
  width: 18px;
  gap: 4px;
}

.nav-toggle-lines span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.topbar.is-nav-open .nav-toggle-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.topbar.is-nav-open .nav-toggle-lines span:nth-child(2) {
  opacity: 0;
}

.topbar.is-nav-open .nav-toggle-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.lang {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(14, 22, 36, 0.1);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 35, 53, 0.05);
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.lang button {
  min-width: 42px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.lang button.is-active {
  background: #fff0e8;
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 46px;
  border-bottom: 1px solid rgba(14, 22, 36, 0.08);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.88) 42%, rgba(255,255,255,0.34) 100%),
    url("assets/visuals/hero-orbit.png") right center / min(980px, 67vw) auto no-repeat,
    linear-gradient(135deg, rgba(var(--orange-rgb), 0.11), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}

.page-hero {
  padding: 70px 0 64px;
  border-bottom: 1px solid rgba(14, 22, 36, 0.08);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.76)),
    url("assets/visuals/page-constellation.png") right center / min(680px, 56vw) auto no-repeat,
    linear-gradient(135deg, rgba(var(--orange-rgb), 0.09), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}

.hero::after,
.page-hero::after {
  position: absolute;
  right: 9%;
  bottom: 22px;
  width: 160px;
  height: 160px;
  content: "";
  border: 1px solid rgba(var(--orange-rgb), 0.24);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--orange-rgb), 0.14), transparent 62%);
  pointer-events: none;
  animation: soft-orbit 8s ease-in-out infinite alternate;
}

.book-marquee-section {
  position: relative;
  overflow: hidden;
  padding: 26px 0 38px;
  border-bottom: 1px solid rgba(14, 22, 36, 0.08);
  background:
    radial-gradient(circle at 18% 8%, rgba(var(--orange-rgb), 0.18), transparent 28%),
    radial-gradient(circle at 84% 28%, rgba(var(--blue-rgb), 0.13), transparent 25%),
    linear-gradient(180deg, #171c26 0%, #111722 56%, #0c1119 100%);
}

.book-marquee-section::before,
.book-marquee-section::after {
  position: absolute;
  right: 0;
  left: 0;
  content: "";
  pointer-events: none;
}

.book-marquee-section::before {
  top: 0;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 92px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 74px);
  opacity: 0.55;
}

.book-marquee-section::after {
  bottom: 38px;
  height: 58px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 35%, rgba(0, 0, 0, 0.3)),
    linear-gradient(90deg, rgba(var(--orange-rgb), 0.24), rgba(255, 255, 255, 0.08) 28%, rgba(var(--blue-rgb), 0.18) 72%, rgba(var(--orange-rgb), 0.2)),
    #23202a;
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.16),
    0 -22px 44px rgba(0, 0, 0, 0.26),
    0 24px 40px rgba(0, 0, 0, 0.34);
}

.book-marquee {
  position: relative;
  z-index: 1;
  height: 336px;
  overflow: hidden;
  perspective: 1100px;
}

.book-marquee::before {
  position: absolute;
  right: -4vw;
  bottom: 74px;
  left: -4vw;
  height: 86px;
  content: "";
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.18), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.28));
  filter: blur(3px);
  pointer-events: none;
}

.book-marquee::after {
  position: absolute;
  top: 218px;
  right: -5vw;
  left: -5vw;
  z-index: 0;
  height: 54px;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03) 35%, rgba(0, 0, 0, 0.38)),
    linear-gradient(90deg, rgba(244, 123, 50, 0.22), rgba(255, 255, 255, 0.1) 34%, rgba(36, 95, 255, 0.14) 74%, rgba(244, 123, 50, 0.18)),
    #27222b;
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.18),
    0 -16px 34px rgba(0, 0, 0, 0.28),
    0 22px 38px rgba(0, 0, 0, 0.38);
  pointer-events: none;
  transform: skewX(-10deg);
}

.book-marquee-track {
  position: absolute;
  top: 46px;
  left: 0;
  z-index: 2;
  display: flex;
  width: max-content;
  transform-style: preserve-3d;
  animation: book-marquee-slide 64s linear infinite;
  will-change: transform;
}

.book-marquee:hover .book-marquee-track,
.book-marquee:focus-within .book-marquee-track {
  animation-play-state: paused;
}

.book-marquee-set {
  display: flex;
  gap: 18px;
  padding-right: 18px;
}

.book-marquee-item {
  position: relative;
  flex: 0 0 auto;
  width: 112px;
  margin: 0;
  outline: none;
  transform: translateY(calc(var(--book-delay) * 1px)) rotateY(-28deg) rotateX(1deg);
  transform-style: preserve-3d;
  transform-origin: center bottom;
  transition: transform 220ms ease, filter 220ms ease, z-index 220ms ease;
  z-index: 1;
}

.book-marquee-item:hover,
.book-marquee-item:focus-within {
  z-index: 20;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.42));
  transform: translateY(-30px) rotateY(-10deg) rotateX(0) scale(1.08);
}

.book-marquee-item:focus-visible .book-marquee-book {
  outline: 2px solid rgba(var(--orange-rgb), 0.82);
  outline-offset: 5px;
}

.book-marquee-book {
  position: relative;
  width: 112px;
  height: 174px;
  transform-style: preserve-3d;
}

.book-marquee-book::before,
.book-marquee-book::after {
  position: absolute;
  top: 4px;
  bottom: 4px;
  content: "";
  pointer-events: none;
}

.book-marquee-book::before {
  right: -13px;
  width: 16px;
  border-radius: 0 3px 3px 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(14, 22, 36, 0.24)),
    #c7b98f;
  transform: rotateY(68deg);
  transform-origin: left center;
}

.book-marquee-book::after {
  right: -17px;
  width: 18px;
  border-radius: 0 3px 3px 0;
  background: rgba(0, 0, 0, 0.28);
  filter: blur(6px);
  transform: translateZ(-8px);
}

.book-marquee-book img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 3px 5px 5px 3px;
  object-fit: cover;
  box-shadow:
    inset 7px 0 10px rgba(255, 255, 255, 0.14),
    0 20px 34px rgba(0, 0, 0, 0.36);
}

.book-marquee-fallback {
  display: none;
}

.book-marquee-book.is-missing {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px 5px 5px 3px;
  background:
    linear-gradient(135deg, rgba(var(--orange-rgb), 0.82), rgba(var(--blue-rgb), 0.5)),
    #151d2b;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 900;
}

.book-marquee-book.is-missing .book-marquee-fallback {
  display: block;
}

.book-marquee-item figcaption {
  position: absolute;
  top: 194px;
  left: 50%;
  z-index: 30;
  width: min(284px, 72vw);
  padding: 14px 15px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 247, 251, 0.94)),
    #fff;
  color: #172033;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px) rotateY(10deg) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
}

.book-marquee-item:hover figcaption,
.book-marquee-item:focus-within figcaption {
  opacity: 1;
  transform: translate(-50%, 0) rotateY(0) scale(1);
}

.book-marquee-item figcaption::before {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  content: "";
  background: rgba(255, 255, 255, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  transform: translateX(-50%) rotate(45deg);
}

.book-marquee-item figcaption strong,
.book-marquee-item figcaption span,
.book-marquee-item figcaption p {
  position: relative;
  z-index: 1;
  display: block;
}

.book-marquee-item figcaption strong {
  margin-bottom: 4px;
  font-size: 15px;
  line-height: 1.18;
}

.book-marquee-item figcaption span {
  color: #914016;
  font-size: 12px;
  font-weight: 820;
}

.book-marquee-item figcaption p {
  margin: 9px 0 0;
  color: #4d5a6e;
  font-size: 12px;
  line-height: 1.38;
}

.book-marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 8;
  width: min(15vw, 180px);
  pointer-events: none;
}

.book-marquee-fade-left {
  left: 0;
  background: linear-gradient(90deg, #151b25, rgba(21, 27, 37, 0));
}

.book-marquee-fade-right {
  right: 0;
  background: linear-gradient(270deg, #101620, rgba(16, 22, 32, 0));
}

@keyframes book-marquee-slide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.82fr);
  gap: 54px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 840;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 36px;
  height: 1px;
  content: "";
  background: var(--orange);
}

h1 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 66px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 56px;
}

h2 {
  margin-bottom: 0;
  font-size: 46px;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.16;
}

h4 {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.2;
}

.lead {
  max-width: 760px;
  color: #2e3b4d;
  font-size: 21px;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-actions {
  align-items: center;
}

.contact-label {
  color: #4b5870;
  font-size: 15px;
  font-weight: 820;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(24, 35, 53, 0.07);
  font-size: 15px;
  font-weight: 780;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn-primary {
  border-color: #dc6422;
  background: linear-gradient(135deg, #111827, #1e293b 42%, #d96825);
  color: #fff;
}

.contact-btn {
  min-width: 126px;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.btn:hover {
  border-color: rgba(var(--orange-rgb), 0.42);
  box-shadow: 0 18px 44px rgba(244, 123, 50, 0.13);
  transform: translateY(-2px);
}

.proof-panel {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(14, 22, 36, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.proof-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.64)),
    url("assets/visuals/page-constellation.png") right top / 88% auto no-repeat,
    linear-gradient(135deg, rgba(var(--orange-rgb), 0.09), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(245, 247, 251, 0.72));
  pointer-events: none;
}

.proof-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(14, 22, 36, 0.08);
}

.proof-top h3 {
  margin-bottom: 4px;
}

.proof-top p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.portrait {
  position: relative;
  width: 108px;
  height: 108px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(14, 22, 36, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(14, 22, 36, 0), rgba(14, 22, 36, 0.08)),
    url("assets/visuals/ilya-legalov-avatar-512-v2.png") center / cover no-repeat,
    #eef2f7;
  box-shadow: 0 16px 36px rgba(14, 22, 36, 0.14);
}

.portrait::before {
  position: absolute;
  inset: 10px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 12px;
  pointer-events: none;
}

.portrait::after {
  position: absolute;
  right: -24px;
  bottom: -20px;
  width: 76px;
  height: 76px;
  content: "";
  border: 1px solid rgba(var(--orange-rgb), 0.72);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(var(--orange-rgb), 0.18), transparent 64%);
  pointer-events: none;
}

.proof-checklist {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 22px 0;
}

.proof-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.proof-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.proof-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.proof-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.proof-metrics div,
.metric,
.card,
.project-card,
.book-card,
.post-card,
.experiment-card,
.shelf-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 44px rgba(24, 35, 53, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.proof-metrics div {
  min-height: 82px;
  padding: 14px;
  background: rgba(255,255,255,0.76);
  backdrop-filter: blur(16px);
}

.proof-metrics strong,
.metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: 32px;
  line-height: 1;
}

.proof-metrics span,
.metric span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.feature-icon,
.check-icon,
.metric-icon,
.project-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(var(--orange-rgb), 0.24);
  border-radius: 14px;
  background:
    radial-gradient(circle at 72% 22%, rgba(255,255,255,0.82), transparent 28%),
    linear-gradient(145deg, rgba(var(--orange-rgb), 0.18), rgba(var(--blue-rgb), 0.1));
  color: #172033;
  font-size: 22px;
  font-weight: 860;
  box-shadow: 0 12px 30px rgba(244, 123, 50, 0.11);
}

.feature-icon::before {
  display: block;
  width: 24px;
  height: 24px;
  content: "";
}

.check-icon {
  width: 34px;
  height: 34px;
  border-color: rgba(var(--orange-rgb), 0.28);
  background: #fff0e8;
  color: #c25518;
  font-size: 14px;
}

.check-icon::before,
.metric-icon::before {
  content: "";
}

.check-icon::before {
  width: 10px;
  height: 6px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
}

.icon-compass::before {
  border: 2px solid rgba(var(--orange-rgb), 0.9);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--orange) 0 3px, transparent 4px),
    linear-gradient(90deg, transparent 46%, rgba(var(--blue-rgb), 0.55) 47% 53%, transparent 54%),
    linear-gradient(0deg, transparent 46%, rgba(var(--blue-rgb), 0.55) 47% 53%, transparent 54%);
  box-shadow: inset 0 0 0 5px rgba(var(--orange-rgb), 0.12);
}

.icon-layers::before {
  width: 22px;
  height: 16px;
  border: 2px solid rgba(var(--blue-rgb), 0.72);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    4px 5px 0 rgba(var(--orange-rgb), 0.28),
    8px 10px 0 rgba(var(--blue-rgb), 0.14);
  transform: translate(-4px, -4px) rotate(-8deg);
}

.icon-spark::before {
  background: linear-gradient(135deg, var(--orange), rgba(var(--blue-rgb), 0.7));
  clip-path: polygon(50% 0, 61% 36%, 100% 50%, 61% 64%, 50% 100%, 39% 64%, 0 50%, 39% 36%);
  filter: drop-shadow(0 7px 14px rgba(244, 123, 50, 0.22));
}

.icon-launch::before {
  width: 22px;
  height: 22px;
  border-top: 3px solid var(--orange);
  border-right: 3px solid var(--orange);
  transform: translate(-2px, 3px) rotate(45deg);
}

.icon-bank::before {
  width: 24px;
  height: 20px;
  background:
    linear-gradient(90deg, rgba(var(--blue-rgb), 0.72) 0 3px, transparent 3px 7px, rgba(var(--blue-rgb), 0.72) 7px 10px, transparent 10px 14px, rgba(var(--blue-rgb), 0.72) 14px 17px, transparent 17px),
    linear-gradient(var(--orange), var(--orange)) left 0 bottom 0 / 100% 3px no-repeat,
    linear-gradient(135deg, transparent 46%, var(--orange) 47% 53%, transparent 54%);
  clip-path: polygon(50% 0, 100% 32%, 92% 32%, 92% 100%, 8% 100%, 8% 32%, 0 32%);
}

.icon-growth::before {
  width: 24px;
  height: 24px;
  border-left: 3px solid rgba(var(--blue-rgb), 0.72);
  border-bottom: 3px solid rgba(var(--blue-rgb), 0.72);
  background: linear-gradient(135deg, transparent 47%, var(--orange) 48% 58%, transparent 59%);
}

.icon-tool::before {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(var(--orange-rgb), 0.82);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(var(--blue-rgb), 0.12);
}
.project-icon::before { content: var(--project-icon, "✓"); }

.section,
.deep-section {
  padding: 86px 0;
}

.section + .section,
.deep-section + .deep-section,
.section-soft {
  border-top: 1px solid rgba(14, 22, 36, 0.08);
}

.section-tight {
  padding: 46px 0;
}

.signal-section {
  padding-top: 24px;
  padding-bottom: 24px;
  background: #fff;
}

.capabilities-section {
  padding-top: 58px;
}

.section-soft {
  background: #f4f7fb;
}

main > section:nth-of-type(3),
main > section:nth-of-type(5),
main > section:nth-of-type(8) {
  background: #f6f8fc;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}

.section-kicker {
  margin-bottom: 10px;
  color: #c95b21;
  font-size: 12px;
  font-weight: 840;
  text-transform: uppercase;
}

.section-lead {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.section-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #263245;
  font-size: 14px;
  font-weight: 760;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.section-link:hover {
  border-color: rgba(var(--orange-rgb), 0.38);
  box-shadow: 0 14px 34px rgba(244, 123, 50, 0.13);
  transform: translateY(-2px);
}

.section-cta-row {
  display: grid;
  margin-top: 10px;
}

.section-link-wide {
  width: 100%;
  min-height: 54px;
  justify-content: center;
  border-color: rgba(var(--orange-rgb), 0.28);
  background:
    linear-gradient(90deg, rgba(var(--orange-rgb), 0.12), rgba(var(--blue-rgb), 0.06)),
    #fff;
  color: #8f3d14;
  font-size: 15px;
  box-shadow: 0 18px 44px rgba(244, 123, 50, 0.1);
}

.signal-strip,
.competency-grid,
.metric-grid,
.book-grid,
.shelf-grid {
  display: grid;
  gap: 14px;
}

.signal-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signal-strip article {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 38px rgba(24, 35, 53, 0.05);
}

.signal-strip article::after,
.card::after {
  position: absolute;
  inset: auto -18px -34px auto;
  width: 150px;
  height: 150px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--orange-rgb), 0.15), transparent 64%);
  pointer-events: none;
}

.signal-strip .feature-icon,
.card .feature-icon {
  margin-bottom: 18px;
}

.signal-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.signal-strip span,
.card p,
.project-card p,
.book-card p,
.post-card p,
.experiment-card p,
.shelf-card p {
  color: var(--muted);
  line-height: 1.5;
}

.executive-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.competency-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.competency-grid .card {
  min-height: 290px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.card p {
  margin-bottom: 0;
}

.card-large {
  min-height: 320px;
  grid-column: span 2;
  grid-row: span 2;
  background:
    linear-gradient(145deg, rgba(36, 95, 255, 0.1), rgba(255, 255, 255, 0.94) 52%),
    #fff;
}

.card-large h3 {
  font-size: 36px;
  line-height: 1.06;
}

.metric-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.metric {
  position: relative;
  min-height: 152px;
  padding: 18px;
}

.metric .metric-icon {
  margin-bottom: 14px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 178px 24px 24px;
  isolation: isolate;
}

.project-card > * {
  position: relative;
  z-index: 2;
}

.project-card-deposits {
  grid-column: auto;
  min-height: 360px;
  padding-top: 178px;
  background:
    linear-gradient(135deg, rgba(var(--orange-rgb), 0.13), rgba(255, 255, 255, 0.96) 48%),
    #fff;
}

.project-card::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: 190px;
  content: "";
  background: var(--project-visual) center top / cover no-repeat;
  opacity: 0.92;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}

.project-card-deposits::after {
  height: 190px;
  background-position: center 44%;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.project-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(var(--orange-rgb), 0.92);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}

.project-icon {
  width: 42px;
  height: 42px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
}

.project-label,
.preview-meta,
.muted {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.project-impact-token {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 18px;
  padding: 9px 12px;
  border: 1px solid rgba(var(--orange-rgb), 0.22);
  border-radius: 999px;
  background: rgba(255, 244, 237, 0.9);
  color: #9a4215;
  box-shadow: 0 12px 28px rgba(244, 123, 50, 0.1);
}

.project-impact-token strong {
  color: var(--orange);
  font-size: 20px;
  line-height: 1;
}

.project-impact-token span {
  color: #81401a;
  font-size: 12px;
  font-weight: 820;
}

.project-card ul {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding-left: 0;
  color: #3f4b5d;
  line-height: 1.45;
  list-style: none;
}

.project-card li {
  position: relative;
  padding-left: 26px;
}

.project-card li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  color: transparent;
  content: "";
  font-size: 0;
  box-shadow: 0 0 0 1px rgba(var(--orange-rgb), 0.28), 0 8px 16px rgba(244, 123, 50, 0.18);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(var(--orange-rgb), 0.24);
  border-radius: 999px;
  background: #fff4ed;
  color: #9a4215;
  font-size: 12px;
  font-weight: 760;
}

.beyond-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hobby-card {
  display: flex;
  min-height: 218px;
  flex-direction: column;
}

.hobby-card p {
  margin-bottom: 18px;
}

.hobby-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  margin-top: auto;
  place-items: center;
  align-self: flex-start;
  border: 1px solid rgba(var(--orange-rgb), 0.28);
  border-radius: 50%;
  background: #fff4ed;
  color: #a94717;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(244, 123, 50, 0.11);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hobby-toggle:hover {
  border-color: rgba(var(--orange-rgb), 0.48);
  background: #fff0e8;
  box-shadow: 0 16px 34px rgba(244, 123, 50, 0.16);
  transform: translateY(-2px);
}

.hobby-arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.hobby-card.is-open .hobby-arrow {
  transform: translateY(3px) rotate(225deg);
}

.hobby-detail {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(14, 22, 36, 0.08);
}

.hobby-detail ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: #3f4b5d;
  line-height: 1.45;
  list-style: none;
}

.hobby-detail li {
  position: relative;
  padding-left: 22px;
}

.hobby-detail li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(var(--orange-rgb), 0.11);
}

.section-stack {
  display: grid;
  gap: 12px;
}

.book-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-book-grid {
  align-items: stretch;
}

.featured-book-grid .book-card {
  min-height: 520px;
}

.book-list,
.posts-grid,
.experiments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.book-card,
.post-card,
.experiment-card,
.shelf-card {
  padding: 18px;
}

.book-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.book-card-featured {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at 88% 8%, rgba(var(--orange-rgb), 0.18), transparent 30%),
    linear-gradient(180deg, #fff, rgba(255, 248, 243, 0.72));
}

.book-rank {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.book-rank span {
  color: var(--orange);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.book-rank em {
  padding: 7px 10px;
  border: 1px solid rgba(var(--orange-rgb), 0.22);
  border-radius: 999px;
  background: rgba(var(--orange-rgb), 0.08);
  color: #a64619;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
}

.post-card-link,
.featured-post-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.post-card-link {
  height: 100%;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.post-card-link:hover {
  border-color: rgba(var(--orange-rgb), 0.34);
  box-shadow: 0 18px 48px rgba(244, 123, 50, 0.11);
  transform: translateY(-2px);
}

.post-card .post-readmore {
  margin-top: auto;
}

.post-feed {
  display: grid;
  gap: 24px;
}

.post-feed-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(14, 22, 36, 0.08);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 8%, rgba(var(--orange-rgb), 0.14), transparent 28%),
    linear-gradient(180deg, #fff, rgba(248, 250, 252, 0.92));
  box-shadow: 0 18px 52px rgba(24, 35, 53, 0.08);
}

.post-feed-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 26px;
  align-items: start;
}

.post-feed-head h2 {
  max-width: 760px;
  margin: 10px 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
}

.post-feed-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.post-feed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.post-feed-actions a,
.post-feed-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(var(--orange-rgb), 0.24);
  border-radius: 999px;
  background: #fff4ed;
  color: #934015;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 820;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.post-feed-actions a {
  border-color: rgba(14, 22, 36, 0.1);
  background: #fff;
  color: #344154;
}

.post-feed-actions a:hover,
.post-feed-toggle:hover {
  border-color: rgba(var(--orange-rgb), 0.42);
  box-shadow: 0 14px 34px rgba(244, 123, 50, 0.12);
  transform: translateY(-2px);
}

.post-feed-footer {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  margin-top: -58px;
  pointer-events: none;
}

.post-feed-footer .post-feed-toggle {
  pointer-events: auto;
}

.post-feed-card.is-expanded .post-feed-footer {
  justify-content: flex-start;
  margin-top: 18px;
}

.post-feed-body {
  position: relative;
  max-height: 290px;
  margin-top: 24px;
  overflow: hidden;
  padding-top: 24px;
  border-top: 1px solid rgba(14, 22, 36, 0.08);
  color: #2f3b4f;
  font-size: 18px;
  line-height: 1.72;
  transition: max-height 420ms ease;
}

.post-feed-card:not(.is-expanded) .post-feed-body::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  content: "";
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 74%);
  pointer-events: none;
}

.post-feed-card.is-expanded .post-feed-body {
  max-height: 5600px;
}

.post-feed-body p,
.post-feed-body .post-sources {
  max-width: 820px;
}

.post-feed-body .post-sources {
  margin-top: 28px;
}

.post-insight-figure {
  position: relative;
  min-height: 268px;
  overflow: hidden;
  border: 1px solid rgba(14, 22, 36, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--orange-rgb), 0.12), rgba(var(--blue-rgb), 0.06)),
    #fff;
  box-shadow: 0 20px 48px rgba(24, 35, 53, 0.1);
}

.post-article-figure {
  margin: 34px 0;
}

.post-article-figure .post-insight-figure {
  min-height: 330px;
}

.figure-title {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  max-width: calc(100% - 32px);
  color: #1d2a3c;
  font-size: 13px;
  font-weight: 900;
}

.figure-phone {
  position: absolute;
  left: 20px;
  bottom: 22px;
  width: 42%;
  min-height: 150px;
  padding: 42px 16px 16px;
  border: 1px solid rgba(14, 22, 36, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(24, 35, 53, 0.12);
}

.figure-phone span {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 44px;
  height: 8px;
  border-radius: 999px;
  background: rgba(var(--orange-rgb), 0.28);
}

.figure-phone strong,
.figure-phone em {
  display: block;
}

.figure-phone strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.figure-phone em {
  margin-top: 12px;
  color: var(--orange);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.figure-stack {
  position: absolute;
  top: 72px;
  right: 20px;
  display: grid;
  width: 45%;
  gap: 10px;
}

.figure-stack span {
  min-height: 34px;
  padding: 9px 10px;
  border-radius: 999px;
  background: #fff;
  color: #28364a;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(24, 35, 53, 0.1);
}

.figure-stack span:nth-child(2) { transform: translateX(10px); }
.figure-stack span:nth-child(3) { transform: translateX(20px); color: #9a4215; }
.figure-stack span:nth-child(4) { transform: translateX(30px); background: #fff4ed; color: #9a4215; }

.hub-map {
  position: absolute;
  inset: 44px 18px 18px;
}

.hub-map strong {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ff9f4e);
  color: #fff;
  font-size: 17px;
  box-shadow: 0 18px 42px rgba(244, 123, 50, 0.28);
  transform: translate(-50%, -50%);
}

.hub-map::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(14, 22, 36, 0.12);
  border-radius: 50%;
  content: "";
}

.hub-map span {
  position: absolute;
  min-width: 76px;
  padding: 7px 9px;
  border-radius: 999px;
  background: #fff;
  color: #273447;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 26px rgba(24, 35, 53, 0.12);
}

.hub-map span:nth-of-type(1) { left: 2%; top: 12%; }
.hub-map span:nth-of-type(2) { right: 4%; top: 12%; }
.hub-map span:nth-of-type(3) { left: 0; bottom: 18%; }
.hub-map span:nth-of-type(4) { right: 2%; bottom: 18%; }
.hub-map span:nth-of-type(5) { left: 50%; bottom: 2%; transform: translateX(-50%); color: #9a4215; }

.time-figure-layout {
  position: absolute;
  inset: 54px 18px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.time-figure-layout em {
  display: block;
  margin-bottom: 10px;
  color: #8b421b;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.week-mini-grid,
.day-mini-grid {
  display: grid;
  gap: 3px;
}

.week-mini-grid {
  grid-template-columns: repeat(13, 1fr);
}

.day-mini-grid {
  grid-template-columns: repeat(12, 1fr);
}

.week-mini-grid span,
.day-mini-grid span {
  aspect-ratio: 1;
  border-radius: 2px;
  background: rgba(14, 22, 36, 0.08);
}

.week-mini-grid span.is-filled,
.day-mini-grid span.is-work {
  background: rgba(var(--orange-rgb), 0.7);
}

.day-mini-grid span.is-sleep {
  background: rgba(var(--blue-rgb), 0.26);
}

.day-mini-grid span.is-life {
  background: rgba(var(--green-rgb), 0.46);
}

.weekly-board {
  position: absolute;
  inset: 56px 16px 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.weekly-board span {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(14, 22, 36, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(24, 35, 53, 0.08);
}

.weekly-board strong {
  color: #263245;
  font-size: 12px;
  line-height: 1.2;
}

.weekly-board i {
  height: 8px;
  border-radius: 999px;
  background: rgba(var(--orange-rgb), 0.18);
}

.weekly-board i:nth-child(3) {
  width: 78%;
  background: rgba(var(--blue-rgb), 0.14);
}

.weekly-board i:nth-child(4) {
  width: 58%;
  background: rgba(var(--green-rgb), 0.18);
}

.post-visual {
  position: relative;
  height: 174px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(14, 22, 36, 0.08);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(var(--orange-rgb), 0.1), rgba(var(--blue-rgb), 0.05)),
    #fff;
}

.post-visual::before {
  position: absolute;
  inset: -30% -18% auto auto;
  width: 210px;
  height: 210px;
  content: "";
  border: 1px solid rgba(var(--orange-rgb), 0.18);
  border-radius: 50%;
  opacity: 0.75;
}

.post-visual > :not(.post-visual-caption) {
  position: absolute;
  inset: 14px;
  z-index: 1;
}

.mini-ai-adviser {
  display: grid;
  grid-template-columns: minmax(104px, 0.92fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.mini-phone {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(14, 22, 36, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #fff, rgba(255, 244, 237, 0.82));
  box-shadow: 0 14px 32px rgba(24, 35, 53, 0.1);
}

.mini-phone strong,
.mini-phone span,
.mini-phone em,
.mini-flow span,
.mini-codex-hub strong,
.mini-codex-hub span,
.mini-time-grid strong,
.mini-week-board strong {
  display: block;
}

.mini-phone strong {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.mini-phone span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
}

.mini-phone em {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(var(--orange-rgb), 0.12);
  color: #974117;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.mini-flow {
  display: grid;
  align-content: center;
  gap: 7px;
}

.mini-flow span {
  min-height: 29px;
  padding: 7px 10px;
  border: 1px solid rgba(14, 22, 36, 0.07);
  border-radius: 999px;
  background: #fff;
  color: #2b3749;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(24, 35, 53, 0.08);
}

.mini-flow span:nth-child(3),
.mini-flow span:nth-child(4) {
  color: #934015;
}

.mini-codex-hub {
  min-height: 0;
}

.mini-codex-hub::before,
.mini-codex-hub::after {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(14, 22, 36, 0.12);
  border-radius: 50%;
}

.mini-codex-hub::after {
  inset: 34px 52px;
  border-color: rgba(var(--orange-rgb), 0.2);
  transform: rotate(-16deg);
}

.mini-codex-hub strong {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ff9f4e);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 18px 42px rgba(244, 123, 50, 0.28);
  transform: translate(-50%, -50%);
}

.mini-codex-hub span {
  position: absolute;
  z-index: 2;
  min-width: 72px;
  padding: 7px 9px;
  border-radius: 999px;
  background: #fff;
  color: #273447;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 26px rgba(24, 35, 53, 0.12);
}

.mini-codex-hub span:nth-of-type(1) { left: 2%; top: 10%; }
.mini-codex-hub span:nth-of-type(2) { right: 3%; top: 12%; }
.mini-codex-hub span:nth-of-type(3) { left: 0; bottom: 14%; }
.mini-codex-hub span:nth-of-type(4) { right: 1%; bottom: 16%; }
.mini-codex-hub span:nth-of-type(5) { left: 50%; bottom: 0; color: #934015; transform: translateX(-50%); }

.mini-time-grid {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
}

.mini-time-grid strong {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff4ed;
  color: #934015;
  font-size: 12px;
  font-weight: 900;
}

.mini-time-grid div {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3px;
}

.mini-time-grid span {
  aspect-ratio: 1;
  border-radius: 2px;
  background: rgba(14, 22, 36, 0.08);
}

.mini-time-grid span.is-sleep { background: rgba(var(--blue-rgb), 0.24); }
.mini-time-grid span.is-work { background: rgba(var(--orange-rgb), 0.74); }
.mini-time-grid span.is-life { background: rgba(var(--green-rgb), 0.48); }

.mini-week-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.mini-week-board span {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(14, 22, 36, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 35, 53, 0.08);
}

.mini-week-board strong {
  color: #263245;
  font-size: 11px;
  line-height: 1.2;
}

.mini-week-board i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(var(--orange-rgb), 0.2);
}

.mini-week-board i:nth-child(3) {
  width: 64%;
  background: rgba(var(--blue-rgb), 0.16);
}

.post-readmore {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(var(--orange-rgb), 0.22);
  border-radius: 999px;
  background: #fff4ed;
  color: #9a4215;
  font-size: 13px;
  font-weight: 780;
}

.book-cover {
  position: relative;
  display: grid;
  height: 252px;
  margin-bottom: 16px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(14, 22, 36, 0.08);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(36, 95, 255, 0.08), rgba(19, 155, 114, 0.06)),
    #f8fafc;
  box-shadow:
    inset -10px 0 18px rgba(14, 22, 36, 0.08),
    0 18px 44px rgba(24, 35, 53, 0.12);
  color: rgba(14, 22, 36, 0.42);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 800;
}

.book-cover::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 12px;
  content: "";
  background: linear-gradient(90deg, rgba(14, 22, 36, 0.18), transparent);
  pointer-events: none;
}

.book-cover img {
  width: auto;
  max-width: 88%;
  height: 94%;
  object-fit: contain;
  padding: 0;
  filter: drop-shadow(0 12px 18px rgba(14, 22, 36, 0.16));
}

.featured-book-grid .book-cover {
  height: 306px;
}

.book-cover-fallback {
  display: none;
}

.book-cover.is-missing .book-cover-fallback {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(14, 22, 36, 0.1);
  border-radius: 50%;
  background: #fff;
}

.book-categories {
  display: grid;
  gap: 46px;
}

.library-proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 170px));
  gap: 12px;
  max-width: 620px;
  margin-top: 28px;
}

.library-proof-metrics span {
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(14, 22, 36, 0.08);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 12%, rgba(var(--orange-rgb), 0.18), transparent 34%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(24, 35, 53, 0.08);
}

.library-proof-metrics strong,
.library-proof-metrics em {
  display: block;
}

.library-proof-metrics strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.library-proof-metrics em {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
}

.library-controls {
  position: sticky;
  top: 86px;
  z-index: 9;
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: -4px 0 28px;
  padding: 14px;
  border: 1px solid rgba(14, 22, 36, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 48px rgba(24, 35, 53, 0.08);
  backdrop-filter: blur(18px);
}

.library-search {
  display: grid;
  gap: 7px;
}

.library-search span,
.library-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.library-search input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(14, 22, 36, 0.13);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.library-search input:focus {
  border-color: rgba(var(--orange-rgb), 0.44);
  box-shadow: 0 0 0 4px rgba(var(--orange-rgb), 0.12);
}

.library-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.library-count {
  justify-self: end;
  white-space: nowrap;
}

.book-category {
  display: grid;
  gap: 18px;
}

.book-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(14, 22, 36, 0.1);
}

.book-category-head h3 {
  margin-bottom: 0;
}

.book-category-head span {
  display: inline-grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(var(--orange-rgb), 0.2);
  border-radius: 999px;
  background: rgba(var(--orange-rgb), 0.08);
  color: #9d4318;
  font-size: 13px;
  font-weight: 800;
}

.rail {
  display: grid;
  grid-auto-columns: minmax(300px, 360px);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail > * {
  scroll-snap-align: start;
}

.rail-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 2px;
}

.rail-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(var(--orange-rgb), 0.26);
  border-radius: 50%;
  background: #fff;
  color: #934015;
  cursor: pointer;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(244, 123, 50, 0.1);
  transition: transform 180ms ease, opacity 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rail-button:hover:not(:disabled) {
  border-color: rgba(var(--orange-rgb), 0.46);
  box-shadow: 0 16px 34px rgba(244, 123, 50, 0.16);
  transform: translateY(-2px);
}

.rail-button:disabled {
  cursor: default;
  opacity: 0.42;
  box-shadow: none;
}

.rail-progress {
  position: relative;
  width: min(220px, 28vw);
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(14, 22, 36, 0.08);
}

.rail-progress i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--rail-progress-left, 0%);
  width: var(--rail-progress-size, 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), rgba(var(--blue-rgb), 0.72));
  transition: left 160ms ease, width 160ms ease;
}

.shelf-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shelf-card {
  min-height: 190px;
  padding: 24px;
}

.shelf-filter {
  width: 100%;
  border: 1px solid var(--line);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.shelf-filter span {
  display: inline-flex;
  min-width: 34px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(var(--orange-rgb), 0.1);
  color: #a64619;
  font-size: 13px;
  font-weight: 900;
}

.shelf-filter.is-active {
  border-color: rgba(var(--orange-rgb), 0.34);
  background:
    radial-gradient(circle at 86% 12%, rgba(var(--orange-rgb), 0.2), transparent 32%),
    #fff8f1;
}

.featured-post {
  display: grid;
  min-height: 330px;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.74fr);
  gap: 28px;
  align-items: stretch;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.72)),
    url("assets/visuals/page-constellation.png") right center / 44% auto no-repeat,
    linear-gradient(135deg, rgba(var(--orange-rgb), 0.12), rgba(255, 255, 255, 0.96) 46%),
    #fff;
  box-shadow: var(--shadow);
}

.featured-post-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.featured-post h2 {
  max-width: 760px;
  margin-bottom: 18px;
}

.featured-post p {
  max-width: 760px;
  color: #354154;
  font-size: 18px;
  line-height: 1.55;
}

.featured-post .post-readmore {
  margin-top: auto;
}

.post-visual-large {
  height: 100%;
  min-height: 260px;
  margin-bottom: 0;
}

.post-hero .back-link {
  display: inline-flex;
  margin-bottom: 22px;
}

.post-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.62fr);
  gap: 38px;
  align-items: center;
}

.post-hero-copy {
  min-width: 0;
}

.post-hero-visual {
  min-height: 360px;
  margin-bottom: 0;
  border-color: rgba(var(--orange-rgb), 0.18);
  box-shadow: var(--shadow);
}

.post-hero-visual::after {
  width: 96px;
  height: 96px;
  border-radius: 28px;
}

.post-visual-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  padding: 16px;
  border: 1px solid rgba(14, 22, 36, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 44px rgba(24, 35, 53, 0.12);
  backdrop-filter: blur(14px);
}

.post-visual-caption em,
.post-visual-caption strong {
  display: block;
}

.post-visual-caption em {
  margin-bottom: 6px;
  color: var(--orange);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-visual-caption strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.16;
}

.back-link {
  color: #c95b21;
  font-size: 14px;
  font-weight: 760;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(270px, 320px);
  gap: 42px;
  align-items: start;
  justify-content: center;
}

.post-article {
  color: #243044;
  font-size: 19px;
  line-height: 1.72;
}

.post-article p {
  margin-bottom: 24px;
}

.post-article > p:first-child {
  color: #111827;
  font-size: 21px;
  line-height: 1.65;
}

.post-article a {
  color: #c95b21;
  font-weight: 700;
}

.post-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
}

.post-sidebar-card {
  padding: 22px;
  border: 1px solid rgba(14, 22, 36, 0.1);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 10%, rgba(var(--orange-rgb), 0.16), transparent 28%),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(24, 35, 53, 0.08);
}

.post-sidebar-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.post-insight-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-insight-card li {
  position: relative;
  padding-left: 22px;
  color: #354154;
  font-size: 14px;
  line-height: 1.45;
}

.post-insight-card li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(var(--orange-rgb), 0.12);
}

.post-related-list {
  display: grid;
  gap: 10px;
}

.post-related-list a {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(14, 22, 36, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.post-related-list a:hover {
  border-color: rgba(var(--orange-rgb), 0.34);
  background: #fff8f1;
  transform: translateY(-2px);
}

.post-related-list span,
.post-related-list em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.post-related-list strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.24;
}

.post-related-list em {
  color: #c95b21;
  font-weight: 800;
}

.post-sources {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.post-sources h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.post-sources ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.experiment-proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 170px));
  gap: 12px;
  max-width: 620px;
  margin-top: 28px;
}

.experiment-proof-metrics span {
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(14, 22, 36, 0.08);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 10%, rgba(var(--orange-rgb), 0.2), transparent 32%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(24, 35, 53, 0.08);
}

.experiment-proof-metrics strong,
.experiment-proof-metrics em {
  display: block;
}

.experiment-proof-metrics strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.experiment-proof-metrics em {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
}

.section-lab {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(14, 22, 36, 0.06);
  border-bottom: 1px solid rgba(14, 22, 36, 0.06);
  background:
    radial-gradient(circle at 12% 18%, rgba(var(--orange-rgb), 0.15), transparent 28%),
    radial-gradient(circle at 88% 24%, rgba(var(--blue-rgb), 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 247, 251, 0.82));
}

.section-lab::before {
  position: absolute;
  top: 4%;
  right: -120px;
  width: 460px;
  height: 260px;
  content: "";
  background: url("assets/visuals/page-constellation.png") center / cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
  transform: rotate(8deg);
}

.lab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 22px;
}

.lab-panel {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(14, 22, 36, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 251, 254, 0.9)),
    #fff;
  box-shadow: var(--shadow);
}

.lab-panel::before {
  position: absolute;
  inset: auto -70px -110px auto;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  content: "";
  background:
    radial-gradient(circle, rgba(var(--orange-rgb), 0.2), transparent 64%),
    url("assets/visuals/hero-orbit.png") center / cover no-repeat;
  opacity: 0.2;
  pointer-events: none;
}

.lab-panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.lab-panel h3 {
  max-width: 560px;
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.08;
}

.lab-panel > p {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.6;
}

.lab-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(var(--orange-rgb), 0.22);
  border-radius: 999px;
  background: rgba(var(--orange-rgb), 0.09);
  color: #a64619;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.time-widget,
.os-widget {
  position: relative;
  z-index: 1;
}

.time-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.time-stat-grid div {
  padding: 16px;
  border: 1px solid rgba(14, 22, 36, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
}

.time-stat-grid strong,
.time-stat-grid span {
  display: block;
}

.time-stat-grid strong {
  font-size: 34px;
  line-height: 1;
}

.time-stat-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.time-mini {
  margin-top: 18px;
}

.time-mini-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.time-mini-label em {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.week-strip,
.day-grid {
  display: grid;
  gap: 4px;
}

.week-strip {
  grid-template-columns: repeat(26, minmax(0, 1fr));
}

.day-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.time-tile {
  min-width: 0;
  aspect-ratio: 1;
  border-radius: 3px;
  background: rgba(14, 22, 36, 0.08);
  box-shadow: inset 0 0 0 1px rgba(14, 22, 36, 0.04);
}

.week-strip .time-tile {
  aspect-ratio: 1.8;
}

.time-tile.is-done {
  background:
    linear-gradient(135deg, rgba(var(--orange-rgb), 0.94), rgba(var(--orange-rgb), 0.58));
}

.time-tile.is-now {
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(var(--blue-rgb), 0.16);
}

.time-legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.time-legend span {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(var(--blue-rgb), 0.16);
}

.os-map {
  position: relative;
  height: 360px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(14, 22, 36, 0.08);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 52%, rgba(var(--orange-rgb), 0.16), transparent 24%),
    radial-gradient(circle at 18% 20%, rgba(var(--blue-rgb), 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(245,247,251,0.9));
}

.os-orbit {
  position: absolute;
  left: 50%;
  top: 52%;
  border: 1px solid rgba(14, 22, 36, 0.11);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.os-orbit-one {
  width: 76%;
  height: 48%;
}

.os-orbit-two {
  width: 58%;
  height: 76%;
  border-color: rgba(var(--orange-rgb), 0.18);
  transform: translate(-50%, -50%) rotate(28deg);
}

.os-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  width: min(146px, 30%);
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid rgba(14, 22, 36, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(24, 35, 53, 0.12);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.os-node strong,
.os-node span {
  display: block;
}

.os-node strong {
  font-size: 14px;
  line-height: 1.12;
}

.os-node span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.os-node:hover,
.os-node.is-active {
  border-color: rgba(var(--orange-rgb), 0.5);
  background: #fff8f1;
  box-shadow: 0 22px 44px rgba(244, 123, 50, 0.16);
  transform: translate(-50%, -50%) translateY(-3px);
}

.os-node.is-core {
  width: 158px;
  min-height: 74px;
  background: linear-gradient(135deg, #111827, #243044);
  color: #fff;
}

.os-node.is-core span {
  color: rgba(255, 255, 255, 0.72);
}

.os-node.is-core.is-active {
  background: linear-gradient(135deg, #111827, #f47b32);
}

.os-detail {
  min-height: 138px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(14, 22, 36, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
}

.os-detail span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.os-detail strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.os-detail p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.experiment-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 24px;
}

.filter-pill {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(14, 22, 36, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #334155;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter-pill:hover,
.filter-pill.is-active {
  border-color: rgba(var(--orange-rgb), 0.42);
  background: rgba(var(--orange-rgb), 0.1);
  color: #a64619;
  transform: translateY(-1px);
}

.experiment-visual {
  position: relative;
  height: 172px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(14, 22, 36, 0.08);
  border-radius: 6px;
  background:
    radial-gradient(circle at 78% 22%, rgba(var(--orange-rgb), 0.34), transparent 18%),
    radial-gradient(circle at 22% 78%, rgba(var(--blue-rgb), 0.16), transparent 24%),
    linear-gradient(135deg, rgba(var(--orange-rgb), 0.16), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 247, 251, 0.96)),
    #fbfcfe;
}

.experiment-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
}

.experiment-card h3 {
  margin-bottom: 10px;
}

.experiment-card .chips {
  margin-top: auto;
  padding-top: 14px;
}

.experiment-proof {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(var(--blue-rgb), 0.18);
  border-radius: 999px;
  background: rgba(var(--blue-rgb), 0.07);
  color: #143a9e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.experiment-signal {
  margin: 16px 0 2px;
  padding: 12px 12px 12px 14px;
  border-left: 3px solid var(--orange);
  border-radius: 0 6px 6px 0;
  background: rgba(var(--orange-rgb), 0.07);
  color: #354154;
  font-size: 14px;
  line-height: 1.45;
}

.experiment-visual::before,
.experiment-visual::after,
.experiment-visual span {
  position: absolute;
  display: block;
  content: "";
}

.experiment-visual::before {
  inset: 18px;
  border: 1px solid rgba(var(--orange-rgb), 0.2);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.55), transparent),
    repeating-linear-gradient(90deg, rgba(14,22,36,0.09) 0 1px, transparent 1px 22px);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.experiment-visual::after {
  right: 16px;
  bottom: 16px;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(var(--orange-rgb), 0.92), rgba(var(--blue-rgb), 0.72));
  box-shadow: 0 20px 38px rgba(244, 123, 50, 0.2);
}

.experiment-visual span {
  border: 1px solid rgba(var(--orange-rgb), 0.42);
  border-radius: 50%;
}

.experiment-visual span:nth-child(1) { inset: 22px 38px; }
.experiment-visual span:nth-child(2) {
  top: 54px;
  left: 42%;
  width: 18px;
  height: 18px;
  background: var(--orange);
}
.experiment-visual span:nth-child(3) {
  right: 42px;
  bottom: 34px;
  width: 44px;
  height: 44px;
  border-color: rgba(19, 155, 114, 0.45);
}

.experiment-visual i {
  position: absolute;
  left: 26px;
  bottom: 24px;
  width: 42%;
  height: 42px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(var(--orange-rgb), 0.72), rgba(var(--blue-rgb), 0.18)),
    #fff;
  box-shadow: inset 0 0 0 1px rgba(14, 22, 36, 0.08);
}

.experiment-visual-personal-os-map::before {
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.62), transparent),
    linear-gradient(90deg, transparent 28%, rgba(var(--orange-rgb), 0.28) 28% 30%, transparent 30% 61%, rgba(var(--blue-rgb), 0.22) 61% 63%, transparent 63%),
    repeating-linear-gradient(0deg, rgba(14,22,36,0.08) 0 1px, transparent 1px 24px);
}

.experiment-visual-time-tiles::before {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.72), transparent),
    repeating-linear-gradient(90deg, rgba(var(--orange-rgb), 0.28) 0 10px, transparent 10px 22px),
    repeating-linear-gradient(0deg, rgba(var(--blue-rgb), 0.12) 0 10px, transparent 10px 22px);
}

.experiment-visual-crm-radar::before {
  border-radius: 50%;
  background:
    conic-gradient(from 20deg, rgba(var(--orange-rgb), 0.34), rgba(var(--blue-rgb), 0.12), rgba(var(--green-rgb), 0.16), rgba(var(--orange-rgb), 0.34));
}

.experiment-visual-decision-log::before {
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(var(--orange-rgb), 0.25) 0 16%, transparent 16%),
    repeating-linear-gradient(0deg, rgba(14,22,36,0.08) 0 1px, transparent 1px 19px),
    #fff;
}

.experiment-visual-html-slides::before {
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(var(--blue-rgb), 0.14) 0 30%, transparent 30%),
    linear-gradient(135deg, rgba(var(--orange-rgb), 0.25), transparent 55%),
    #fff;
}

.experiment-visual-galaxy-guide span:nth-child(1) {
  inset: 16px 30px;
  transform: rotate(-12deg);
}

.card:hover,
.project-card:hover,
.book-card:hover,
.post-card:hover,
.post-feed-card:hover,
.experiment-card:hover,
.lab-panel:hover,
.post-sidebar-card:hover,
.shelf-card:hover,
.signal-strip article:hover,
.proof-panel:hover {
  border-color: rgba(var(--orange-rgb), 0.28);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.tilt-card.is-tilting {
  transform:
    perspective(900px)
    rotateX(calc(var(--tilt-y, 0) * -0.45deg))
    rotateY(calc(var(--tilt-x, 0) * 0.45deg))
    translateY(-4px);
}

.reveal-pending {
  opacity: 1;
  transform: translateY(8px);
}

.reveal-pending.is-visible,
.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease, transform 620ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.project-card.is-visible,
.card.is-visible,
.book-card.is-visible,
.post-card.is-visible,
.post-feed-card.is-visible,
.experiment-card.is-visible,
.lab-panel.is-visible,
.post-sidebar-card.is-visible,
.shelf-card.is-visible,
.shelf-filter.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

body.reveal-ready .is-visible:hover {
  transform: translateY(-4px);
}

body.reveal-ready .tilt-card.is-visible.is-tilting {
  transform:
    perspective(900px)
    rotateX(calc(var(--tilt-y, 0) * -0.45deg))
    rotateY(calc(var(--tilt-x, 0) * 0.45deg))
    translateY(-4px);
}

@keyframes soft-orbit {
  from { transform: translate3d(0, 0, 0) scale(0.96); opacity: 0.68; }
  to { transform: translate3d(18px, -10px, 0) scale(1.05); opacity: 0.92; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  body.reveal-ready .project-card,
  body.reveal-ready .card,
  body.reveal-ready .book-card,
  body.reveal-ready .post-card,
  body.reveal-ready .post-feed-card,
  body.reveal-ready .experiment-card,
  body.reveal-ready .lab-panel,
  body.reveal-ready .post-sidebar-card,
  body.reveal-ready .shelf-card,
  body.reveal-ready .shelf-filter {
    opacity: 1;
    transform: none;
  }

  .book-marquee-track {
    animation: none !important;
  }
}

.footer {
  padding: 34px 0;
  border-top: 1px solid rgba(14, 22, 36, 0.08);
  color: var(--muted);
  font-size: 14px;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 1050px) {
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    max-width: 100%;
    overflow-x: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .proof-panel {
    width: 100%;
    max-width: 720px;
  }

  .proof-checklist {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .proof-item {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 38px;
  }

  .signal-strip,
  .competency-grid,
  .executive-bento,
  .beyond-grid,
  .metric-grid,
  .projects-grid,
  .book-grid,
  .book-list,
  .posts-grid,
  .experiments-grid,
  .shelf-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-card-deposits,
  .card-large {
    grid-column: span 1;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .post-feed-head {
    grid-template-columns: 1fr;
  }

  .library-controls {
    grid-template-columns: 1fr;
    top: 78px;
  }

  .library-count {
    justify-self: start;
  }

  .post-hero .wrap,
  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-hero-visual {
    min-height: 260px;
  }

  .post-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    order: -1;
  }

  .lab-grid {
    grid-template-columns: 1fr;
  }

  .lab-panel {
    min-height: 0;
  }

  .post-visual-large {
    min-height: 220px;
  }

  .post-insight-figure {
    min-height: 250px;
  }

  .book-marquee {
    height: 306px;
  }

  .book-marquee::after {
    top: 184px;
  }

  .book-marquee-track {
    top: 34px;
    animation-duration: 58s;
  }

  .book-marquee-set {
    gap: 14px;
    padding-right: 14px;
  }

  .book-marquee-item,
  .book-marquee-book {
    width: 96px;
  }

  .book-marquee-book {
    height: 150px;
  }

  .book-marquee-item figcaption {
    top: 166px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding: 26px 0 30px;
  }

  .topbar-inner {
    display: grid;
    min-height: 62px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 8px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(24, 35, 53, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .topbar.is-nav-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    display: grid;
    min-height: 42px;
    place-items: center;
    padding: 9px 12px;
    text-align: center;
  }

  .nav-toggle {
    display: grid;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lang {
    min-height: 36px;
    padding: 2px;
    font-size: 12px;
  }

  .lang button {
    min-width: 36px;
    padding: 7px 9px;
  }

  .page-hero {
    padding: 42px 0 46px;
  }

  .book-marquee-section {
    padding: 18px 0 28px;
  }

  .book-marquee {
    height: 286px;
  }

  .book-marquee::before {
    bottom: 92px;
  }

  .book-marquee::after {
    top: 146px;
    height: 44px;
  }

  .book-marquee-track {
    top: 26px;
    animation-duration: 46s;
  }

  .book-marquee-set {
    gap: 10px;
    padding-right: 10px;
  }

  .book-marquee-item,
  .book-marquee-book {
    width: 78px;
  }

  .book-marquee-book {
    height: 122px;
  }

  .book-marquee-item:hover,
  .book-marquee-item:focus-within {
    transform: translateY(-18px) rotateY(-10deg) rotateX(0) scale(1.06);
  }

  .book-marquee-item figcaption {
    top: 134px;
    width: min(272px, 82vw);
    padding: 12px;
  }

  .book-marquee-item figcaption strong {
    font-size: 14px;
  }

  .book-marquee-item figcaption p {
    font-size: 11px;
  }

  .post-hero .wrap {
    gap: 24px;
  }

  .post-hero-visual {
    min-height: 210px;
  }

  .post-visual-caption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 12px;
  }

  .post-visual-caption strong {
    font-size: 16px;
  }

  .post-layout {
    gap: 28px;
  }

  .post-article {
    font-size: 18px;
    line-height: 1.68;
  }

  .post-article > p:first-child {
    font-size: 19px;
  }

  .post-sidebar {
    grid-template-columns: 1fr;
  }

  .post-sidebar-card {
    padding: 18px;
  }

  .post-sidebar-card h3 {
    font-size: 20px;
  }

  .post-feed-card {
    padding: 18px;
  }

  .post-feed-head {
    gap: 18px;
  }

  .post-feed-head h2 {
    font-size: 30px;
  }

  .post-feed-body {
    max-height: 320px;
    font-size: 17px;
  }

  .post-insight-figure,
  .post-article-figure .post-insight-figure {
    min-height: 330px;
  }

  .figure-ai-adviser {
    min-height: 370px;
  }

  .figure-phone {
    right: 16px;
    left: 16px;
    bottom: 18px;
    width: auto;
    min-height: 124px;
  }

  .figure-stack {
    top: 54px;
    right: 16px;
    left: 16px;
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figure-stack span,
  .figure-stack span:nth-child(2),
  .figure-stack span:nth-child(3),
  .figure-stack span:nth-child(4) {
    transform: none;
  }

  .hub-map span {
    min-width: 68px;
    font-size: 11px;
  }

  .time-figure-layout {
    grid-template-columns: 1fr;
  }

  .figure-time-grid {
    min-height: 430px;
  }

  .weekly-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .hero h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 18px;
  }

  .library-proof-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: none;
  }

  .library-proof-metrics span {
    min-height: 0;
  }

  .featured-book-grid .book-card {
    min-height: 0;
  }

  .library-controls {
    position: static;
    padding: 12px;
  }

  .library-filter-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .library-filter-row::-webkit-scrollbar {
    display: none;
  }

  .book-cover {
    height: 224px;
  }

  .project-card,
  .project-card-deposits {
    min-height: 0;
    padding: 168px 18px 20px;
  }

  .project-card::after,
  .project-card-deposits::after {
    height: 156px;
  }

  .rail {
    grid-auto-columns: minmax(280px, 86vw);
  }

  .book-rank span {
    font-size: 30px;
  }

  .experiment-proof-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: none;
  }

  .experiment-proof-metrics span {
    min-height: 0;
  }

  .lab-panel {
    padding: 18px;
  }

  .lab-panel-head {
    flex-direction: column;
  }

  .lab-panel h3 {
    font-size: 24px;
  }

  .time-stat-grid {
    grid-template-columns: 1fr;
  }

  .week-strip {
    grid-template-columns: repeat(13, minmax(0, 1fr));
  }

  .os-map {
    display: grid;
    height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .os-orbit {
    display: none;
  }

  .os-node,
  .os-node.is-core {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    min-height: 0;
    transform: none;
  }

  .os-node:hover,
  .os-node.is-active,
  .os-node.is-core.is-active {
    transform: translateY(-2px);
  }

  .featured-post {
    min-height: 0;
    padding: 20px;
  }

  .post-visual {
    height: 138px;
  }

  .post-visual-large {
    min-height: 170px;
  }

  .proof-panel {
    padding: 16px;
  }

  .proof-panel::before {
    background:
      linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.72)),
      linear-gradient(135deg, rgba(var(--orange-rgb), 0.08), transparent 42%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 247, 251, 0.78));
  }

  .proof-top {
    gap: 14px;
    padding-bottom: 14px;
  }

  .portrait {
    width: 72px;
    height: 72px;
    border-radius: 12px;
  }

  .portrait::before {
    inset: 7px;
    border-radius: 9px;
  }

  .portrait::after {
    right: -20px;
    bottom: -18px;
    width: 54px;
    height: 54px;
  }

  .proof-checklist {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .proof-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .proof-item strong {
    font-size: 15px;
  }

  .proof-item p,
  .proof-top p {
    font-size: 13px;
  }

  .proof-item p {
    line-height: 1.32;
  }

  .proof-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proof-metrics div {
    min-height: 64px;
    padding: 12px 10px;
  }

  .proof-metrics strong {
    font-size: 24px;
  }

  .proof-metrics span {
    font-size: 11px;
  }

  .signal-strip,
  .competency-grid,
  .executive-bento,
  .beyond-grid,
  .metric-grid,
  .projects-grid,
  .book-grid,
  .book-list,
  .posts-grid,
  .experiments-grid,
  .shelf-grid,
  .proof-metrics {
    grid-template-columns: 1fr;
  }

  .section,
  .deep-section {
    padding: 58px 0;
  }

  .card-large {
    min-height: 0;
  }

  .experiment-card {
    min-height: 0;
  }

  .card-large h3 {
    font-size: 28px;
  }

  .footer .wrap {
    flex-direction: column;
  }
}
