:root {
  --bg: #fbfbfc;
  --panel: #ffffff;
  --ink: #111114;
  --text: #32343a;
  --muted: #6d7179;
  --soft: #9ba0aa;
  --line: #e7e9ee;
  --line-strong: #d8dce3;
  --todo: #f8f6f0;
  --todo-line: #e5dcc8;
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

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

.shell {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: block;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.brand span {
  display: block;
  font-size: 15px;
  font-weight: 680;
}

.brand small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: grid;
  gap: 2px;
  margin-top: 24px;
}

.nav a {
  border-radius: 7px;
  padding: 10px 12px;
  color: #42454d;
  font-size: 14px;
}

.nav a:hover {
  background: #f3f4f7;
  color: var(--ink);
}

.source-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.source-note span {
  display: block;
  color: var(--soft);
  font-size: 11px;
  font-weight: 680;
  text-transform: uppercase;
}

.source-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.content {
  min-width: 0;
}

.page {
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto;
  padding: 104px 0;
  border-bottom: 1px solid var(--line);
}

.hero-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 84px;
}

.kicker,
.eyebrow {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 920px;
  margin: 20px 0 0;
  font-size: clamp(64px, 8vw, 112px);
  line-height: 0.94;
  font-weight: 760;
  letter-spacing: 0;
}

h2 {
  max-width: 880px;
  margin: 16px 0 0;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
  font-weight: 720;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 680;
}

.hero-copy {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--text);
  font-size: 23px;
  line-height: 1.42;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.hero-grid div {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.52);
}

.hero-grid strong {
  display: block;
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
}

.hero-grid span,
.product-grid small {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.section-heading {
  margin-bottom: 52px;
}

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

.prose p {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.5;
}

.principle-list,
.product-grid,
.skill-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.principle-list article,
.product-grid article,
.skill-columns article {
  background: var(--panel);
  padding: 30px;
  min-height: 260px;
}

.principle-list article span {
  display: block;
  margin-bottom: 42px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.principle-list article p,
.product-grid article p,
.skill-columns article p,
.timeline-list article p,
.case-list article p,
.story-table span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

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

.timeline-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline-list article {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 44px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-list h3 {
  margin-top: 10px;
}

.timeline-list article p {
  margin: 0;
}

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

.product-grid article {
  min-height: 310px;
}

.product-grid .eyebrow {
  margin-bottom: 34px;
}

.product-grid article p {
  margin: 18px 0 28px;
}

.todo {
  background: var(--todo) !important;
  box-shadow: inset 0 0 0 1px var(--todo-line);
}

.case-list {
  display: grid;
  gap: 20px;
}

.case-list article {
  padding: 34px 0 30px;
  border-top: 1px solid var(--line);
}

.case-list article p {
  max-width: 760px;
}

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

dt {
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.quote-block {
  margin-bottom: 40px;
  padding: 44px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: white;
}

.quote-block p {
  max-width: 880px;
  margin: 0;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.08;
  font-weight: 700;
}

.story-table {
  display: grid;
  border-top: 1px solid var(--line);
}

.story-table div {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: 36px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.story-table strong {
  font-size: 18px;
}

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

.contact-page {
  min-height: 82vh;
}

.contact-panel {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 44px;
}

.contact-panel a {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 12px 18px;
  background: white;
  color: #2d3036;
  font-size: 14px;
}

@media (max-width: 980px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .source-note {
    position: static;
    margin-top: 22px;
  }

  .page {
    width: min(100% - 40px, var(--max));
  }

  .hero-grid,
  .prose,
  .principle-list,
  .principle-list.compact,
  .product-grid,
  .skill-columns,
  .timeline-list article,
  .story-table div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 28px, var(--max));
    padding: 72px 0;
  }

  h1 {
    font-size: 52px;
  }

  .hero-copy,
  .prose p {
    font-size: 19px;
  }

  .principle-list article,
  .product-grid article,
  .skill-columns article,
  .quote-block {
    padding: 24px;
  }
}

@media print {
  body {
    background: white;
  }

  .shell {
    display: block;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 20px;
  }

  .nav,
  .source-note {
    display: none;
  }

  .page {
    width: 100%;
    padding: 48px 0;
    page-break-inside: avoid;
  }

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-page {
    min-height: auto;
  }
}

/* ----------------------------------------------------------------
   Case study pages + index CTA
   ---------------------------------------------------------------- */

.cs-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(20px, 6vw, 64px);
  background: rgba(251, 251, 252, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.cs-top a.back {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.cs-top a.back:hover {
  color: var(--ink);
}

.cs-top .who {
  font-size: 13px;
  font-weight: 680;
}

.cs-wrap {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

.cs-hero {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--line);
}

.cs-hero h1 {
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 0.98;
  max-width: 16ch;
}

.cs-hero .standfirst {
  max-width: 720px;
  margin: 32px 0 0;
  color: var(--text);
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.4;
}

.cs-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 56px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.cs-meta div {
  padding: 18px 20px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.cs-meta dt {
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.cs-meta dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
}

.cs-section {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 48px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.cs-section > header {
  position: sticky;
  top: 84px;
  align-self: start;
}

.cs-section .num {
  display: block;
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
}

.cs-section > header h2 {
  margin: 10px 0 0;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 700;
}

.cs-body {
  max-width: 680px;
}

.cs-body > :first-child {
  margin-top: 0;
}

.cs-body p {
  margin: 1.1em 0 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.62;
}

.cs-body p.lead {
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
}

.cs-body ul {
  margin: 1.2em 0 0;
  padding: 0;
  list-style: none;
}

.cs-body ul li {
  position: relative;
  padding: 14px 0 14px 26px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}

.cs-body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 23px;
  width: 7px;
  height: 7px;
  background: var(--ink);
}

.cs-body ul li b {
  color: var(--ink);
  font-weight: 680;
}

.cs-pull {
  margin: 32px 0;
  padding: 32px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.18;
  font-weight: 700;
  color: var(--ink);
  max-width: 18ch;
}

.cs-review {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--todo);
  box-shadow: inset 0 0 0 1px var(--todo-line);
  color: #7a6a3f;
  font-size: 13px;
  line-height: 1.5;
}

.cs-bullets {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cs-bullets div {
  background: var(--panel);
  padding: 18px 20px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

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

.cs-tags span {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  color: #2d3036;
  background: #fff;
}

.cs-foot-cta {
  padding: 72px 0 96px;
  text-align: center;
}

.cs-foot-cta a {
  display: inline-block;
  margin-top: 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
}

.cs-foot-cta a:hover {
  background: var(--ink);
  color: #fff;
}

/* index CTA cards on main page */
.cs-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cs-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  padding: 30px;
  min-height: 230px;
}

.cs-card .eyebrow {
  margin-bottom: 18px;
}

.cs-card h3 {
  font-size: 22px;
  line-height: 1.12;
}

.cs-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.cs-card .go {
  margin-top: auto;
  padding-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.cs-card .go.soon {
  color: var(--soft);
  font-weight: 500;
}

.cs-card:hover .go:not(.soon) {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .cs-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cs-section > header {
    position: static;
  }

  .cs-meta,
  .cs-index {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------
   Lessons — editorial / magazine entries
   ---------------------------------------------------------------- */

.lessons {
  border-top: 1px solid var(--line);
  margin-top: 44px;
}

.lesson {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.lesson .ctx {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lesson h3 {
  margin: 12px 0 0;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.08;
  font-weight: 720;
  max-width: 20ch;
}

.lesson .lead {
  margin: 24px 0 0;
  max-width: 760px;
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink);
}

.lesson .body {
  margin-top: 16px;
  max-width: 760px;
}

.lesson .body p {
  margin: 1em 0 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.62;
}

.lesson .learned {
  margin-top: 30px;
  max-width: 760px;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}

.lesson .learned span {
  display: block;
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.lesson .learned p {
  margin: 8px 0 0;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.3;
  font-weight: 680;
  color: var(--ink);
}

.lesson .more {
  margin: 20px 0 0;
  font-size: 15px;
  font-weight: 600;
}

.lesson .more a {
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.lesson .more a:hover {
  border-color: var(--ink);
}

/* alive link — a letter or two gently lift as a wave travels across, looping with a calm pause */
.lesson .more a.alive .ltr {
  display: inline-block;
  animation: letterBob 3.6s ease-in-out infinite;
}
.lesson .more a.alive:hover .ltr {
  animation-play-state: paused;
}
@keyframes letterBob {
  0%, 16%, 100% { transform: translateY(0); }
  6%  { transform: translateY(-4px); }
  11% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .lesson .more a.alive .ltr { animation: none; }
}

/* ----------------------------------------------------------------
   Site footer
   ---------------------------------------------------------------- */

.site-foot {
  border-top: 1px solid var(--line);
  padding: 38px 0 60px;
}

.site-foot .foot-inner {
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 12px;
  color: var(--muted);
}

.site-foot .copy {
  margin-left: auto;
  color: var(--soft);
}

.site-foot .links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.site-foot a {
  color: var(--muted);
}

.site-foot a:hover {
  color: var(--ink);
}

@media (max-width: 560px) {
  .site-foot .foot-inner {
    width: min(100% - 28px, var(--max));
  }
}

/* ----------------------------------------------------------------
   Editorial imagery
   ---------------------------------------------------------------- */

.feature-img {
  display: block;
  width: min(720px, calc(100% - 56px));
  margin: 64px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--panel);
}

.feature-img img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-cap {
  display: block;
  width: min(720px, calc(100% - 56px));
  margin: 22px auto 76px;
  color: var(--text);
  font-size: 16px;
  letter-spacing: 0.01em;
  text-align: center;
}

.feature-cap::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--ink);
  opacity: 0.45;
  margin: 0 auto 16px;
}

.portrait-block {
  margin: 0;
  padding: 56px 0 0;
  text-align: left;
}

.portrait-block img {
  width: min(360px, 68%);
  height: auto;
  border-radius: 2px;
}

.portrait-block figcaption {
  margin: 16px 0 0;
  color: var(--soft);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: left;
}

/* ----------------------------------------------------------------
   Rhino — parallax scroll + drifting petals
   ---------------------------------------------------------------- */

.rhino-feature {
  position: relative;
  width: min(720px, calc(100% - 56px));
  margin: 64px auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #e7e4df;
}

.rhino-feature .rhino-img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: 50% 50%;
  will-change: transform;
}

.rhino-feature .petals {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.petal {
  position: absolute;
  width: 9px;
  height: 13px;
  background: rgba(250, 249, 246, 0.92);
  border-radius: 65% 65% 60% 0;
  opacity: 0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
  animation: petalFly var(--dur, 9s) linear var(--delay, 0s) infinite;
}

@keyframes petalFly {
  0%   { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.6); }
  8%   { opacity: 0.95; }
  70%  { opacity: 0.8; }
  100% { opacity: 0; transform: translate(var(--dx, 430px), var(--dy, -60px)) rotate(300deg) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .petal { display: none; }
  .rhino-feature .rhino-img { transform: none !important; }
}

/* ----------------------------------------------------------------
   Feel layer — reveals · progress · presence · breathe · quote
   ---------------------------------------------------------------- */

@view-transition { navigation: auto; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 60;
  will-change: transform;
}

.nav a { transition: color 0.35s ease; }
.nav a.active { color: var(--ink); font-weight: 680; }

.principle-list article,
.skill-columns article,
.cs-card,
.lesson {
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  will-change: transform;
}
@media (hover: hover) {
  .principle-list article:hover,
  .skill-columns article:hover,
  .cs-card:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 26px rgba(17, 17, 20, 0.06);
    position: relative;
    z-index: 1;
  }
}

.statement {
  margin: 9vh 0;
  max-width: 22ch;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.1;
  font-weight: 720;
  letter-spacing: -0.01em;
  text-align: left;
  color: var(--ink);
}
.statement > span:not(.fw) { display: block; margin-top: 0.22em; color: var(--ink); }

/* word-fill — headings/statements write themselves in on scroll */
.fw { color: var(--soft); display: inline !important; }

/* chess — subtle scroll parallax on the still */
#chessFeature { overflow: hidden; }
#chessFeature img { transform: scale(1.12); will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  #chessFeature img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .progress { display: none; }
  .principle-list article,
  .skill-columns article,
  .cs-card,
  .lesson { transition: none; }
}

/* ================================================================
   Editorial case study (cx)
   ================================================================ */

.cx-top {
  position: sticky; top: 0; z-index: 30;
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px clamp(20px, 5vw, 48px);
  background: rgba(251, 251, 252, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.cx-top a.back { font-size: 13px; color: var(--muted); font-weight: 600; }
.cx-top a.back:hover { color: var(--ink); }
.cx-top .who { font-size: 13px; color: var(--soft); }

.cx { max-width: 760px; margin: 0 auto; padding: 0 clamp(22px, 5vw, 40px); }
.cx p, .cx ul, .cx .lead, .cx h2 { max-width: 680px; }
.cx p { font-size: 18px; line-height: 1.64; color: var(--text); margin: 1.15em 0 0; }
.cx p.lead { font-size: clamp(20px, 2.4vw, 25px); line-height: 1.46; color: var(--ink); }
.cx ul { margin: 1.3em 0 0; padding: 0; list-style: none; }
.cx li {
  position: relative; padding: 13px 0 13px 22px; border-top: 1px solid var(--line);
  font-size: 17px; line-height: 1.5; color: var(--text);
}
.cx li::before { content: ""; position: absolute; left: 0; top: 21px; width: 7px; height: 7px; background: var(--ink); }
.cx li b { color: var(--ink); font-weight: 680; }

.cx-hero { padding: 9vh 0 7vh; border-bottom: 1px solid var(--line); }
.cx-hero .kick, .cx-chapter .kick {
  margin: 0; color: var(--soft); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.cx-hero h1 {
  margin: 24px 0 0; font-size: clamp(40px, 7vw, 84px); line-height: 0.98;
  font-weight: 760; letter-spacing: -0.02em; max-width: 15ch;
}
.cx-hero .standfirst {
  margin: 30px 0 0; max-width: 760px;
  font-size: clamp(20px, 2.6vw, 27px); line-height: 1.42; color: var(--text); font-weight: 400;
}
.cx-meta {
  display: grid; grid-template-columns: repeat(2, 1fr);
  margin: 52px 0 0; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong);
}
.cx-meta div { padding: 16px 20px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.cx-meta dt { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.cx-meta dd { margin: 7px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink); }

.cx-chapter { padding: 8.5vh 0; border-bottom: 1px solid var(--line); }
.cx-chapter > .cx-num { display: block; color: var(--soft); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; }
.cx-chapter h2 {
  margin: 12px 0 0; font-size: clamp(28px, 4.6vw, 50px); line-height: 1.05;
  font-weight: 760; letter-spacing: -0.015em; max-width: 18ch;
}
.cx p:first-of-type { margin-top: 30px; }

.cx-pull { margin: 9vh 0; max-width: 20ch; font-size: clamp(26px, 4.2vw, 46px); line-height: 1.12; font-weight: 720; letter-spacing: -0.01em; color: var(--ink); }

.cx-callout { margin: 44px 0 0; max-width: 760px; padding: 26px 30px; background: var(--panel); border-left: 3px solid var(--ink); }
.cx-callout .ct { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); margin-bottom: 12px; }
.cx-callout p { margin: 0; max-width: none; font-size: 19px; line-height: 1.5; color: var(--ink); }

.cx-contrib { margin: 52px 0 0; max-width: 760px; border: 1px solid var(--line); border-radius: 4px; padding: 28px 30px; }
.cx-contrib h4 { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.cx-contrib ul { margin: 12px 0 0; max-width: none; }
.cx-contrib li { font-size: 16px; }

.cx-takeaways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 44px 0 0; }
.cx-takeaways div { background: var(--panel); padding: 26px; }
.cx-takeaways b { display: block; font-size: 17px; font-weight: 680; color: var(--ink); margin-bottom: 8px; }
.cx-takeaways span { color: var(--muted); font-size: 15px; line-height: 1.55; }

.cx-foot { padding: 9vh 0 11vh; text-align: center; }
.cx-foot .kick { color: var(--soft); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.cx-foot a { display: inline-block; margin-top: 18px; border: 1px solid var(--ink); border-radius: 999px; padding: 14px 26px; font-size: 15px; font-weight: 600; color: var(--ink); }
.cx-foot a:hover { background: var(--ink); color: #fff; }

@media (max-width: 720px) {
  .cx-meta, .cx-takeaways { grid-template-columns: 1fr; }
}

/* ================================================================
   Case study — native to the site (uses .shell / .page / cards)
   ================================================================ */

.case .page { padding: 84px 0; }
.case .page.hero-page { min-height: auto; padding: 7vh 0 84px; }
.case .section-heading { margin-bottom: 36px; }

.case .lead {
  max-width: 760px; margin: 0;
  font-size: clamp(20px, 2.5vw, 26px); line-height: 1.42; color: var(--ink); font-weight: 400;
}
.case .body { max-width: 740px; }
.case .body p { margin: 1.2em 0 0; font-size: 19px; line-height: 1.65; color: var(--text); }
.case .body p:first-child { margin-top: 0; }
.case .body p b, .case .body li b { color: var(--ink); font-weight: 680; }
.case .body ul { list-style: none; padding: 0; margin: 1.4em 0 0; }
.case .body li {
  position: relative; padding: 13px 0 13px 22px; border-top: 1px solid var(--line);
  font-size: 17px; line-height: 1.5; color: var(--text);
}
.case .body li::before { content: ""; position: absolute; left: 0; top: 21px; width: 7px; height: 7px; background: var(--ink); }
.case .lead + .body { margin-top: 26px; }

.case-meta {
  display: grid; grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-top: 48px;
  border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong);
}
.case-meta div { padding: 16px 20px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.case-meta dt { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.case-meta dd { margin: 7px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink); }

.case .callout { max-width: 740px; margin: 34px 0 0; padding: 24px 28px; background: var(--panel); border-left: 3px solid var(--ink); }
.case .callout .ct { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); margin-bottom: 10px; }
.case .callout p { margin: 0; font-size: 19px; line-height: 1.4; color: var(--ink); }

.case .statement { margin: 7vh 0 0; }

.sidebar .back-link { display: block; margin-bottom: 18px; font-size: 13px; color: var(--muted); font-weight: 600; }
.sidebar .back-link:hover { color: var(--ink); }

@media (max-width: 720px) { .case-meta { grid-template-columns: 1fr; } }

/* stat block — executive anchors */
.statbox { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 52px 0 0; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.statbox div { padding: 22px 24px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.statbox dt { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.statbox dd { margin: 10px 0 0; font-size: clamp(20px, 2.3vw, 27px); line-height: 1.15; font-weight: 680; color: var(--ink); letter-spacing: -0.01em; }

/* discoveries — long-form */
.discovery { padding-top: 44px; margin-top: 44px; border-top: 1px solid var(--line); }
.discovery:first-of-type { border-top: 0; }
.disc-title { margin: 0; font-size: clamp(22px, 3vw, 31px); line-height: 1.12; font-weight: 720; color: var(--ink); max-width: 20ch; }
.disc-title .disc-num { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); margin-bottom: 12px; }
.discovery .body { margin-top: 22px; }

/* case study imagery — clean, natural proportion */
.case-fig { margin: 40px 0 0; }
.case-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 3px; background: var(--panel); }
.case-fig.narrow { max-width: 520px; }
.case-fig figcaption { margin: 14px 0 0; max-width: 740px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.case-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0 0; align-items: start; }
.case-compare figure { margin: 0; }
.case-compare .lbl { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); margin-bottom: 10px; }
.case-compare .lbl.after { color: var(--ink); }
.case-compare img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 3px; }
.case-compare .frame { position: relative; max-height: 520px; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; }
.case-compare .frame img { border: 0; border-radius: 0; }
.case-compare .frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(rgba(255, 255, 255, 0), #ffffff); }
.case-compare figcaption { margin: 10px 0 0; font-size: 13px; color: var(--soft); }
@media (max-width: 720px) { .statbox { grid-template-columns: 1fr; } .case-compare { grid-template-columns: 1fr; } }

/* chapter 06 — full-width soft grey band, content breathing */
.grey-band { background: #ebedf0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grey-band .page { border-bottom: none; padding: 100px 0; }
.cs-principles { max-width: 760px; margin: 46px 0 0; }
.cs-principle { padding: 26px 0; border-top: 1px solid var(--line-strong); }
.cs-principle:first-child { border-top: 0; padding-top: 0; }
.cs-principle b { display: block; font-size: clamp(18px, 2.3vw, 23px); font-weight: 680; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.cs-principle span { display: block; max-width: 680px; color: var(--muted); font-size: 17px; line-height: 1.58; }

/* skills — grouped capabilities */
.skillset { border-top: 1px solid var(--line); margin-top: 14px; }
.skillset-group { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.skillset-label { margin: 0; font-size: 16px; font-weight: 680; color: var(--ink); letter-spacing: -0.01em; }
@media (max-width: 720px) { .skillset-group { grid-template-columns: 1fr; gap: 14px; } }

/* reflection — the finale */
.reflect-block { margin-top: 48px; max-width: 740px; }
.reflect-block > .body { margin-top: 16px; }
.reflect-h { margin: 0; font-size: clamp(20px, 2.6vw, 27px); line-height: 1.15; font-weight: 720; color: var(--ink); letter-spacing: -0.01em; }
.cs-rule { border: 0; border-top: 1px solid var(--line); margin: 58px 0 0; max-width: 740px; }
.reflect-mantra { margin: 24px 0 0; max-width: 740px; }
.reflect-mantra p { margin: 8px 0 0; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.28; font-weight: 680; color: var(--ink); letter-spacing: -0.01em; }
.reflect-sign { margin: 32px 0 0; font-size: 16px; color: var(--muted); }

/* ============================================================
   Intro overlay — calm welcome moment over the blurred site
   ============================================================ */
body.intro-open { overflow: hidden; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  background: rgba(251, 251, 252, 0.72);
  -webkit-backdrop-filter: blur(9px) saturate(1.04);
  backdrop-filter: blur(9px) saturate(1.04);
  transition: opacity 1.3s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 1.3s ease,
              -webkit-backdrop-filter 1.3s ease,
              backdrop-filter 1.3s ease;
}
html.intro-seen .intro { display: none; }
.intro.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-backdrop-filter: blur(0px) saturate(1);
  backdrop-filter: blur(0px) saturate(1);
}
.intro-card { transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.9s ease; }
.intro.hide .intro-card { transform: scale(1.06); opacity: 0; }

/* landing page settles gently into focus when entering */
@media (prefers-reduced-motion: no-preference) {
  body.intro-revealing .shell { animation: siteSettle 1.3s cubic-bezier(0.4, 0, 0.2, 1) both; }
}
@keyframes siteSettle {
  from { transform: scale(1.016); opacity: 0.5; filter: blur(3px); }
  to   { transform: none; opacity: 1; filter: none; }
}

.intro-close {
  position: absolute;
  top: 26px;
  right: 30px;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: var(--soft);
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
}
.intro-close:hover { color: var(--ink); transform: rotate(90deg); }

.intro-card { max-width: 560px; }

.intro-hello {
  margin: 0;
  font-size: clamp(54px, 9vw, 104px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--ink);
}
.intro-rule {
  display: block;
  width: 60px;
  height: 1px;
  margin: 30px auto;
  background: var(--line-strong);
}
.intro-sub {
  margin: 0;
  font-size: clamp(17px, 2.3vw, 22px);
  line-height: 1.65;
  letter-spacing: 0.005em;
  color: var(--text);
}
.intro-enter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 42px;
  padding-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s ease;
}
.intro-enter span { transition: transform 0.3s ease; }
.intro-enter:hover { border-color: var(--ink); }
.intro-enter:hover span { transform: translateX(6px); }

/* gentle staggered entrance */
@media (prefers-reduced-motion: no-preference) {
  html:not(.intro-seen) .intro-card > * {
    opacity: 0;
    animation: introRise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  }
  html:not(.intro-seen) .intro-hello { animation-delay: 0.15s; }
  html:not(.intro-seen) .intro-rule  { animation-delay: 0.35s; }
  html:not(.intro-seen) .intro-sub   { animation-delay: 0.5s; }
  html:not(.intro-seen) .intro-enter { animation-delay: 0.7s; }
}
@keyframes introRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
