:root {
  --paper: #f3f1ea;
  --paper-bright: #fbfaf6;
  --paper-deep: #e7e3d8;
  --ink: #151716;
  --muted: #666862;
  --line: #cecac0;
  --blue: #4658ff;
  --blue-deep: #3041d8;
  --lime: #d7ff5e;
  --coral: #ff7058;
  --white: #fff;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shell: 1240px;
  --header-h: 78px;
  --ease: cubic-bezier(.2, .75, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -100px;
  z-index: 9999;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  transition: top .2s;
}

.skip-link:focus { top: 18px; }

.section-shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.section-index,
.kicker,
.eyebrow,
.card-tag,
.project-row__title span,
.book-card__body > p {
  margin: 0;
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .145em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-index { color: var(--muted); }
.section-index--light { color: #979991; }

h1, h2, h3, p { margin-top: 0; }
em { font-family: var(--serif); font-weight: 400; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, height .3s ease;
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-color: rgba(21, 23, 22, .12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(calc(100% - 64px), 1380px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.brand-mark__symbol {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -.04em;
}

.desktop-nav { display: flex; align-items: center; gap: 4px; }

.desktop-nav a {
  position: relative;
  padding: 10px 14px;
  color: #3f413e;
  font-size: .76rem;
  font-weight: 700;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .28s var(--ease);
}

.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: .75rem;
  font-weight: 800;
  transition: background .25s, color .25s, transform .25s;
}

.nav-cta:hover { background: var(--blue); transform: translateY(-2px); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  transition: transform .25s, top .25s;
}

.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded='true'] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 auto;
  min-height: calc(100svh - var(--header-h));
  padding: 38px 24px 50px;
  background: var(--ink);
  color: var(--white);
  flex-direction: column;
}

.mobile-menu a {
  padding: 14px 2px;
  border-bottom: 1px solid #353734;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 8vw, 3rem);
  line-height: 1.15;
}

.mobile-menu a:last-child {
  margin-top: auto;
  padding: 17px 21px;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 800;
  text-align: center;
}

.mobile-menu.is-open { display: flex; }

/* Hero */
.hero {
  width: min(100%, 1500px);
  min-height: 100svh;
  margin-inline: auto;
  padding: 108px clamp(32px, 6vw, 96px) 38px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: clamp(30px, 6vw, 90px);
  row-gap: 26px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  top: -105px;
  left: 38%;
  border-radius: 50%;
  background: var(--lime);
  filter: blur(1px);
  opacity: .72;
}

.hero::after {
  content: 'BUILD · LEARN · SHARE ·';
  position: absolute;
  right: -102px;
  bottom: 44%;
  color: rgba(21, 23, 22, .18);
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .34em;
  transform: rotate(90deg);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(21, 23, 22, .13);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit--one { width: 460px; height: 460px; right: 3%; top: 120px; }
.hero-orbit--two { width: 590px; height: 590px; right: -2%; top: 55px; }

.hero__content { position: relative; z-index: 2; align-self: center; padding: 12px 0 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: #4d4f4a;
}

.eyebrow span { width: 28px; height: 2px; background: var(--blue); }

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3.8rem, 5.65vw, 6rem);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .87;
}

.hero h1 em {
  color: var(--blue);
  letter-spacing: -.045em;
}

.hero__lead {
  max-width: 680px;
  margin-bottom: 28px;
  padding-left: 24px;
  border-left: 2px solid var(--coral);
  color: #50524e;
  font-size: clamp(.95rem, 1.1vw, 1.08rem);
  line-height: 1.65;
}

.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.button {
  min-height: 54px;
  padding: 14px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}

.button--primary { background: var(--ink); color: var(--white); }
.button--primary:hover { transform: translateY(-3px); background: var(--blue); box-shadow: 0 12px 30px rgba(70, 88, 255, .22); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: .77rem;
  font-weight: 800;
}

.text-link span { transition: transform .25s; }
.text-link:hover span { transform: translateY(3px); }

.hero__visual { position: relative; z-index: 1; justify-self: end; width: min(100%, 520px); }

.portrait-frame {
  position: relative;
  padding: 16px;
  background: var(--paper-bright);
  border: 1px solid rgba(21, 23, 22, .12);
  box-shadow: 0 30px 80px rgba(28, 29, 27, .14);
  transform: rotate(1.8deg);
}

.portrait-frame::before {
  content: '';
  position: absolute;
  inset: -16px 14px 17px -16px;
  z-index: -1;
  background: var(--blue);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  filter: saturate(.82) contrast(1.03);
}

.portrait-frame__label {
  height: 30px;
  padding-left: 3px;
  display: flex;
  align-items: flex-start;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.portrait-frame__caption {
  position: absolute;
  right: 30px;
  bottom: 30px;
  margin: 0;
  padding: 10px 13px;
  background: rgba(21, 23, 22, .9);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.45;
  transform: rotate(-1.8deg);
}

.portrait-frame__stamp {
  width: 92px;
  height: 92px;
  position: absolute;
  left: -46px;
  bottom: 14%;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--lime);
  text-align: center;
  transform: rotate(-10deg);
  box-shadow: 0 12px 26px rgba(21, 23, 22, .14);
}

.portrait-frame__stamp span { font-family: var(--serif); font-size: 2.2rem; line-height: .8; }
.portrait-frame__stamp small { margin-top: 8px; font-size: .57rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.hero__proof {
  position: relative;
  z-index: 2;
  grid-column: 1 / 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 660px;
  border-top: 1px solid var(--line);
}

.hero__proof div { display: flex; align-items: center; gap: 10px; padding: 18px 18px 0 0; }
.hero__proof strong { font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1; }
.hero__proof span { max-width: 86px; color: var(--muted); font-size: .62rem; font-weight: 700; line-height: 1.25; }

/* Manifesto */
.manifesto { padding: 150px 0; background: var(--paper-bright); border-block: 1px solid var(--line); }
.manifesto__grid { display: grid; grid-template-columns: 1fr 3fr; gap: 50px; }
.manifesto__content { max-width: 900px; }
.manifesto .kicker { margin-bottom: 25px; color: var(--blue); }

.manifesto h2,
.section-heading h2,
.projects-heading h2,
.method__intro h2,
.books__heading h2,
.about__content h2,
.contact h2 {
  margin: 0;
  font-size: clamp(3rem, 5.7vw, 6rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .98;
}

.manifesto h2 em,
.section-heading h2 em,
.method__intro h2 em,
.books__heading h2 em,
.about__content h2 em { color: var(--blue); }

.manifesto__content > p:last-child {
  max-width: 650px;
  margin: 40px 0 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

/* Expertise */
.expertise { padding: 140px 0 155px; }
.section-heading { display: grid; grid-template-columns: 1fr 3fr; gap: 50px; margin-bottom: 70px; }

.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.expertise-card {
  min-height: 560px;
  padding: 28px;
  display: grid;
  grid-template-rows: auto 200px auto;
  gap: 14px;
  border-radius: 4px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s;
}

.expertise-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(21, 23, 22, .12); }
.expertise-card--blue { --visual-accent: var(--lime); --visual-secondary: var(--coral); background: var(--blue); color: var(--white); }
.expertise-card--ink { --visual-accent: var(--coral); --visual-secondary: var(--lime); background: var(--ink); color: var(--white); }
.expertise-card--lime { --visual-accent: var(--blue); --visual-secondary: var(--coral); background: var(--lime); }

.expertise-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.expertise-card__top svg { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.card-number { font-family: var(--serif); font-size: 1.2rem; }
.expertise-card__visual {
  width: 100%;
  height: 200px;
  align-self: center;
  color: currentColor;
  transform: translateY(0);
  transition: transform .4s var(--ease);
}
.expertise-card:hover .expertise-card__visual { transform: translateY(-5px); }
.expertise-card__visual svg { width: 100%; height: 100%; display: block; overflow: visible; }
.expertise-card__visual .visual-grid { fill: none; stroke: currentColor; stroke-width: 1; opacity: .12; }
.expertise-card__visual .visual-line { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .64; }
.expertise-card__visual .visual-line--strong { stroke-width: 2; opacity: .82; }
.expertise-card__visual .visual-panel { fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .72; }
.expertise-card__visual .visual-accent { fill: var(--visual-accent); stroke: none; }
.expertise-card__visual .visual-accent-soft { fill: var(--visual-accent); opacity: .16; stroke: none; }
.expertise-card__visual .visual-secondary { fill: var(--visual-secondary); stroke: none; }
.expertise-card__visual .visual-surface { fill: currentColor; opacity: .08; stroke: none; }
.expertise-card__visual .visual-dot { fill: currentColor; opacity: .82; }
.expertise-card__visual .visual-label { fill: currentColor; font-family: var(--sans); font-size: 9px; font-weight: 800; letter-spacing: 1.1px; }
.expertise-card__visual .visual-label--caption { font-size: 8px; opacity: .68; letter-spacing: 1.5px; }
.expertise-card__visual .visual-label--hero { font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: 0; }
.expertise-card__visual .visual-label--small { font-size: 7px; opacity: .7; }
.expertise-card__visual .visual-label--ink { fill: var(--ink); }
.expertise-card__visual .visual-label--light { fill: var(--white); }
.expertise-card__visual .visual-title { fill: currentColor; font-family: var(--serif); font-size: 34px; font-weight: 400; }
.expertise-card__visual .visual-step { fill: currentColor; font-family: var(--serif); font-size: 19px; }
.expertise-card__visual .visual-symbol { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.expertise-card__visual .visual-symbol--bold { stroke-width: 2.2; }
.expertise-card__visual .visual-symbol--ink { stroke: var(--ink); }
.expertise-card__visual .visual-symbol--light { stroke: var(--white); }
.expertise-card__visual .visual-spark { fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; }
.expertise-card__visual .visual-chaos { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .72; }
.expertise-card__visual .visual-ray { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; opacity: .78; }
.expertise-card__visual .visual-orbit,
.expertise-card__visual .visual-focus,
.expertise-card__visual .visual-idea,
.expertise-card__visual .visual-amplifier,
.expertise-card__visual .visual-output { transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease); }
.expertise-card:hover .visual-orbit { transform: rotate(12deg); }
.expertise-card:hover .visual-focus { transform: scale(1.04); }
.expertise-card:hover .visual-idea { transform: rotate(-4deg) scale(1.03); }
.expertise-card:hover .visual-amplifier { transform: translateX(4px); }
.expertise-card:hover .visual-output { transform: translateX(5px); }
.card-tag { margin-bottom: 20px; opacity: .72; }
.expertise-card h3 { margin-bottom: 16px; font-size: clamp(1.6rem, 2.1vw, 2.2rem); letter-spacing: -.045em; line-height: 1.08; }
.expertise-card p:last-child { margin: 0; opacity: .76; font-size: .91rem; line-height: 1.75; }

/* Projects */
.projects { padding: 145px 0; background: var(--ink); color: var(--white); }
.projects-heading { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 90px; margin-bottom: 90px; }
.projects-heading .section-index { margin-bottom: 34px; }
.projects-heading h2 em { color: var(--lime); }
.projects-heading > p { margin: 0 0 8px; color: #a7aaa2; font-size: .95rem; line-height: 1.8; }

.project-list { border-top: 1px solid #3c3e3a; }
.project-row {
  min-height: 170px;
  display: grid;
  grid-template-columns: 60px 1.05fr 1fr 100px;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid #3c3e3a;
  transition: padding .3s var(--ease), background .3s;
}

.project-row:hover { padding-inline: 18px; background: rgba(255, 255, 255, .025); }
.project-row__number { color: #757871; font-family: var(--serif); font-size: 1rem; }
.project-row__title span { color: var(--lime); }
.project-row h3 { margin: 9px 0 0; font-size: clamp(1.55rem, 2.6vw, 2.5rem); letter-spacing: -.05em; line-height: 1.05; }
.project-row > p { margin: 0; color: #a9aca4; font-size: .85rem; line-height: 1.7; }
.project-row > a { justify-self: end; display: inline-flex; gap: 8px; font-size: .74rem; font-weight: 800; }
.project-row > a span { color: var(--lime); transition: transform .25s; }
.project-row > a:hover span { transform: translate(3px, -3px); }

/* Method */
.method { padding: 150px 0; background: var(--paper-deep); }
.method__layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 10vw, 140px); }
.method__intro { position: sticky; top: 130px; align-self: start; }
.method__intro .section-index { margin-bottom: 40px; }
.method__intro > p:last-child { max-width: 420px; margin: 30px 0 0; color: var(--muted); }
.method-steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.method-steps li { min-height: 185px; padding: 36px 0; display: grid; grid-template-columns: 70px 1fr; gap: 26px; border-top: 1px solid #bbb7ad; }
.method-steps li:last-child { border-bottom: 1px solid #bbb7ad; }
.method-steps > li > span { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--serif); }
.method-steps h3 { margin: 3px 0 12px; font-size: 1.6rem; letter-spacing: -.04em; }
.method-steps p { max-width: 500px; margin: 0; color: var(--muted); font-size: .92rem; }

/* Books */
.books { padding: 105px 0 118px; background: var(--paper-bright); }
.books__heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 70px; margin-bottom: 48px; }
.books__heading .section-index { margin-bottom: 24px; }
.books__heading h2 { font-size: clamp(2.9rem, 4.25vw, 4.5rem); line-height: .96; }
.books__heading > p { max-width: 450px; margin: 0 0 7px; color: var(--muted); font-size: .94rem; line-height: 1.8; }

.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.book-card { min-width: 0; }
.book-card__cover { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-deep); }
.book-card__cover::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(21, 23, 22, .12); pointer-events: none; }
.book-card__cover img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .55s var(--ease), filter .55s; }
.book-card__cover:hover img { transform: scale(1.035); filter: saturate(1.08); }
.book-card__cover > span { position: absolute; left: 12px; top: 12px; padding: 7px 10px; border-radius: 999px; background: rgba(251, 250, 246, .91); backdrop-filter: blur(8px); font-size: .57rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.book-card--resource .book-card__cover > span { background: var(--lime); }
.book-card__body { padding: 16px 2px 0; }
.book-card__body > p { margin-bottom: 8px; color: var(--muted); font-size: .58rem; }
.book-card__body h3 { min-height: 50px; margin-bottom: 18px; font-size: 1.08rem; letter-spacing: -.025em; line-height: 1.35; }
.book-card__links { display: flex; align-items: center; gap: 18px; }
.book-card__links a { padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: .67rem; font-weight: 800; }
.book-card__links a:last-child { color: var(--muted); border-color: var(--line); }
.book-card__links a:hover { color: var(--blue); border-color: var(--blue); }

/* About */
.about { padding: 155px 0; }
.about__layout { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(70px, 10vw, 150px); }
.about__portrait { position: relative; }
.about__portrait::before { content: ''; position: absolute; inset: -18px 18px 18px -18px; z-index: -1; background: var(--coral); }
.about__portrait img { width: 100%; aspect-ratio: .82; object-fit: cover; object-position: center; filter: saturate(.82); }
.about__portrait-note { position: absolute; right: -36px; bottom: 35px; padding: 17px 20px; background: var(--blue); color: var(--white); font-family: var(--serif); font-size: 1.1rem; line-height: 1.2; transform: rotate(-3deg); }
.about__content .section-index { margin-bottom: 38px; }
.about__copy { max-width: 600px; margin: 38px 0 32px; color: var(--muted); }
.about__copy p { margin-bottom: 16px; font-size: .95rem; line-height: 1.8; }
.signature-link { display: inline-flex; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: .76rem; font-weight: 800; }
.signature-link span { color: var(--blue); }

/* Contact & footer */
.contact { position: relative; padding: 150px 0 145px; overflow: hidden; background: var(--blue); color: var(--white); text-align: center; }
.contact__inner { position: relative; z-index: 2; }
.contact__inner > p { margin-bottom: 27px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact h2 { font-size: clamp(3.8rem, 8vw, 8rem); line-height: .88; }
.contact h2 em { color: var(--lime); }
.contact__mail { margin-top: 50px; padding: 15px 23px; display: inline-flex; align-items: center; gap: 16px; border: 1px solid rgba(255, 255, 255, .72); border-radius: 999px; font-size: clamp(.78rem, 1.4vw, 1rem); font-weight: 800; transition: background .25s, color .25s, transform .25s; }
.contact__mail:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); transform: translateY(-3px); }
.contact__shape { position: absolute; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; }
.contact__shape--one { width: 440px; height: 440px; left: -170px; top: -190px; }
.contact__shape--two { width: 600px; height: 600px; right: -240px; bottom: -300px; }

.site-footer { padding: 55px 0; background: var(--ink); color: var(--white); }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 70px; }
.site-footer__brand { display: flex; align-items: center; gap: 18px; }
.site-footer__brand .brand-mark__symbol { background: var(--lime); color: var(--ink); }
.site-footer__brand p { margin: 0; color: #a9aca4; font-size: .74rem; line-height: 1.5; }
.site-footer__links { display: flex; gap: 25px; }
.site-footer__links a { color: #c4c6c0; font-size: .7rem; font-weight: 700; }
.site-footer__links a:hover { color: var(--lime); }
.site-footer__legal { margin: 0; color: #777a74; font-size: .63rem; line-height: 1.6; text-align: right; }

/* Motion: visible by default so the content also works without JavaScript. */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal--delay-short { transition-delay: .1s; }
.reveal--delay { transition-delay: .18s; }
.reveal--delay-long { transition-delay: .2s; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); padding-inline: 42px; }
  .hero h1 { font-size: clamp(3.6rem, 6.5vw, 5.3rem); }
  .expertise-card { min-height: 540px; }
  .project-row { grid-template-columns: 45px 1fr .9fr 86px; gap: 22px; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 20px; }
}

@media (min-width: 841px) and (max-height: 780px) {
  .hero { min-height: 700px; padding-top: 88px; padding-bottom: 26px; row-gap: 14px; }
  .hero h1 { margin-bottom: 18px; font-size: clamp(3.25rem, 5vw, 4.75rem); }
  .hero__lead { margin-bottom: 20px; font-size: .9rem; line-height: 1.55; }
  .hero__visual { width: min(100%, 430px); }
  .hero__proof div { padding-top: 12px; }
}

@media (max-width: 840px) {
  :root { --header-h: 68px; }
  .section-shell { width: min(calc(100% - 40px), var(--shell)); }
  .nav-shell { width: calc(100% - 40px); }
  .desktop-nav, .nav-cta { display: none; }
  .menu-toggle { display: block; }

  .hero {
    min-height: auto;
    padding: 118px 24px 55px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 60px;
  }

  .hero::before { width: 300px; height: 300px; top: -130px; left: 50%; }
  .hero::after { display: none; }
  .hero-orbit--one { width: 410px; height: 410px; top: 50%; right: -120px; }
  .hero-orbit--two { display: none; }
  .hero__content { padding: 0; }
  .hero h1 { font-size: clamp(4rem, 15vw, 7rem); }
  .hero__lead { max-width: 620px; }
  .hero__visual { justify-self: center; width: min(86%, 480px); margin-top: 5px; }
  .portrait-frame__stamp { left: -40px; }
  .hero__proof { grid-column: 1; width: 100%; max-width: none; }

  .manifesto, .expertise, .projects, .method, .about { padding-block: 100px; }
  .books { padding-block: 82px 95px; }
  .manifesto__grid, .section-heading { grid-template-columns: 1fr; gap: 30px; }
  .manifesto__content > p:last-child { margin-left: 0; }

  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: 510px; }
  .expertise-card__visual { max-width: 440px; justify-self: center; }

  .projects-heading, .books__heading { grid-template-columns: 1fr; gap: 35px; margin-bottom: 60px; }
  .projects-heading > p, .books__heading > p { max-width: 600px; }
  .project-row { padding-block: 35px; grid-template-columns: 40px 1fr auto; min-height: 0; }
  .project-row__title { grid-column: 2; }
  .project-row > p { grid-column: 2 / 4; }
  .project-row > a { grid-column: 3; grid-row: 1; }
  .project-row:hover { padding-inline: 0; }

  .method__layout { grid-template-columns: 1fr; gap: 65px; }
  .method__intro { position: static; }
  .method__intro > p:last-child { max-width: 600px; }

  .about__layout { grid-template-columns: 1fr; gap: 85px; }
  .about__portrait { width: min(85%, 540px); }
  .about__portrait img { aspect-ratio: 1 / 1; }

  .site-footer__inner { grid-template-columns: 1fr auto; }
  .site-footer__legal { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 560px) {
  .section-shell { width: min(calc(100% - 32px), var(--shell)); }
  .nav-shell { width: calc(100% - 32px); }
  .brand-mark__name { font-size: .75rem; }

  .hero { padding: 105px 17px 48px; gap: 45px; }
  .eyebrow { align-items: flex-start; font-size: .59rem; }
  .eyebrow span { margin-top: 4px; flex: 0 0 22px; }
  .hero h1 { margin-bottom: 25px; font-size: clamp(3.45rem, 17.2vw, 5.2rem); line-height: .86; }
  .hero__lead { padding-left: 16px; font-size: .92rem; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .button { width: 100%; }
  .hero__visual { width: calc(100% - 38px); }
  .portrait-frame { padding: 11px; }
  .portrait-frame::before { inset: -10px 8px 10px -10px; }
  .portrait-frame__label { height: 25px; font-size: .53rem; }
  .portrait-frame__stamp { width: 82px; height: 82px; left: -28px; bottom: 12%; }
  .portrait-frame__stamp span { font-size: 1.7rem; }
  .portrait-frame__stamp small { font-size: .47rem; }
  .portrait-frame__caption { right: 18px; bottom: 19px; }
  .hero__proof div { padding-right: 4px; flex-direction: column; align-items: flex-start; gap: 5px; }
  .hero__proof strong { font-size: 1.65rem; }
  .hero__proof span { font-size: .55rem; }

  .manifesto, .expertise, .projects, .method, .books, .about { padding-block: 78px; }
  .manifesto h2, .section-heading h2, .projects-heading h2, .method__intro h2, .books__heading h2, .about__content h2 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .manifesto__content > p:last-child { margin-top: 30px; font-size: .95rem; }
  .section-heading { margin-bottom: 48px; }
  .expertise-card { min-height: 490px; padding: 24px; grid-template-rows: auto 180px auto; }
  .expertise-card__visual { max-width: 360px; height: 180px; }

  .projects-heading { margin-bottom: 48px; }
  .project-row { grid-template-columns: 34px 1fr; gap: 18px; }
  .project-row__title { grid-column: 2; }
  .project-row > p { grid-column: 2; }
  .project-row > a { grid-column: 2; grid-row: auto; justify-self: start; }

  .method-steps li { grid-template-columns: 52px 1fr; gap: 15px; }
  .method-steps > li > span { width: 42px; height: 42px; }
  .method-steps h3 { font-size: 1.35rem; }

  .book-grid { grid-template-columns: 1fr; gap: 52px; }
  .book-card__body h3 { min-height: 0; }
  .book-card__links { flex-wrap: wrap; }

  .about__portrait { width: calc(100% - 20px); }
  .about__portrait-note { right: -20px; padding: 13px 15px; font-size: .88rem; }
  .about__content h2 { font-size: clamp(2.45rem, 12.3vw, 3.4rem); }

  .contact { padding-block: 100px; }
  .contact h2 { font-size: clamp(3.4rem, 16vw, 5.4rem); }
  .contact__mail { width: 100%; justify-content: center; margin-top: 38px; font-size: .72rem; }

  .site-footer__inner { grid-template-columns: 1fr; align-items: start; gap: 35px; }
  .site-footer__links { flex-wrap: wrap; gap: 18px 25px; }
}

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

@supports not (color: color-mix(in srgb, white, black)) {
  .site-header.is-scrolled { background: rgba(243, 241, 234, .94); }
}
