/* mindsprintz.com
   Two bands, one ink: white paper and a deep navy. Every colour on the page is
   one of these two, or one of them at reduced opacity.
   Type: Playfair Display for display, Lora for reading, Inter for interface. */

@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-display-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-display-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("/assets/fonts/lora-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("/assets/fonts/lora-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0c1b2e;
  --paper: #ffffff;
  --display: "Playfair Display", "Didot", "Bodoni 72", Georgia, serif;
  --serif: "Lora", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(20px, 5vw, 88px);
  --maxw: 1480px;
  --head: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* A band sets the four tones everything inside it uses. */
.band {
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: rgba(12, 27, 46, 0.8);
  --fg-3: rgba(12, 27, 46, 0.64);
  --line: rgba(12, 27, 46, 0.14);
  background: var(--bg);
  color: var(--fg);
}
.band--ink {
  --bg: var(--ink);
  --fg: var(--paper);
  --fg-2: rgba(255, 255, 255, 0.8);
  --fg-3: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.18);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--head);
  background: var(--paper);
}
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(17px, 0.4vw + 15px, 19px);
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  /* Playfair defaults to old-style figures ("101" reads as "1o1", NGC2 as a subscript). */
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: 400; margin: 0; }
cite { font-style: italic; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
.band--ink ::selection { background: var(--paper); color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(104px, 15vh, 200px); }

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--ui);
  font-size: 13px;
  text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- type ---------- */
.kicker, .eyebrow, .mini, .chapter__label, .position__label, .talk__meta,
.index__date, .index__pub, .strip__ep, .player__ep, .service__caption, .facts dt {
  font-family: var(--ui);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--fg-3);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
}
.kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}
.h2 {
  font-family: var(--display);
  font-size: clamp(38px, 4.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.014em;
  max-width: 17ch;
}
.lede {
  font-size: clamp(19px, 0.6vw + 15px, 22px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 34em;
  margin-top: 32px;
}
.prose p { color: var(--fg-2); max-width: 36em; }
.prose p:last-child { margin-bottom: 0; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0 5px;
  font-family: var(--ui);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.link-arrow::after {
  content: "\2192";
  letter-spacing: 0;
  transition: transform 0.45s var(--ease);
}
.link-arrow:hover::after { transform: translateX(5px); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 30px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--ui);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.btn::after { content: "\2192"; letter-spacing: 0; }
.btn:hover { background: var(--fg); color: var(--bg); }

/* ---------- masthead ---------- */
.masthead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--head);
  display: flex;
  align-items: center;
  color: var(--ink);
  transition: transform 0.6s var(--ease), background-color 0.45s ease, color 0.45s ease, box-shadow 0.45s ease;
}
.masthead.is-hidden { transform: translateY(-100%); }
.masthead.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(12, 27, 46, 0.1);
}
.masthead[data-on="ink"] { color: var(--paper); }
.masthead[data-on="ink"].is-scrolled {
  background: rgba(12, 27, 46, 0.84);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.wordmark {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.nav a {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.3s;
}
.nav a:hover { opacity: 1; }
.nav .nav__cta {
  opacity: 1;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background-color 0.35s, color 0.35s;
}
.masthead[data-on="paper"] .nav__cta:hover { background: var(--ink); color: var(--paper); }
.masthead[data-on="ink"] .nav__cta:hover { background: var(--paper); color: var(--ink); }

.menu-btn {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.menu-btn__icon { display: grid; gap: 6px; width: 24px; }
.menu-btn__icon span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.45s var(--ease);
}
html.menu-open .menu-btn__icon span:first-child { transform: translateY(3.5px) rotate(45deg); }
html.menu-open .menu-btn__icon span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  padding-top: var(--head);
}
.menu[hidden] { display: none; }
.menu__inner { display: grid; gap: 6px; }
.menu__inner a {
  font-family: var(--display);
  font-size: clamp(34px, 8.6vw, 58px);
  line-height: 1.14;
  text-decoration: none;
}
html.menu-open .masthead { color: var(--paper); background: transparent; box-shadow: none; transform: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--head) + 24px);
  overflow: hidden;
}
.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: end;
}
.hero__text {
  grid-column: 1 / span 7;
  align-self: center;
  padding-block: 4vh 7vh;
  position: relative;
  z-index: 2;
}
.hero__eyebrow { margin: 0 0 22px; }
.hero__name {
  font-family: var(--display);
  font-size: clamp(54px, 7.6vw, 146px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.022em;
  margin: 0 0 28px;
}
/* Playfair's descenders run deep: the mask needs room below the baseline. */
.line { display: block; overflow: hidden; padding-bottom: 0.26em; margin-bottom: -0.26em; }
.line > span { display: inline-block; }
.hero__rank {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.3vw + 9px, 29px);
  line-height: 1.3;
  color: var(--fg-2);
  max-width: 24em;
  margin: 0 0 24px;
}
.hero__lead { max-width: 32em; color: var(--fg-2); margin-bottom: 34px; }
.hero__links { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 0; }
.hero__portrait {
  grid-column: 8 / span 5;
  align-self: end;
  justify-self: end;
  margin: 0;
  width: 100%;
  position: relative;
}
.hero__portrait img {
  width: 100%;
  max-width: 600px;
  max-height: calc(100svh - var(--head) - 150px);
  object-fit: contain;
  object-position: bottom right;
  margin-left: auto;
}
.hero__foot {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-block: 26px 30px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.hero__thesis { margin: 0; max-width: 42em; }
.hero__thesis p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 1.2vw + 9px, 29px);
  line-height: 1.25;
  margin: 0 0 8px;
}
.hero__thesis footer {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.hero__thesis footer cite { font-style: normal; }
.scroll-cue {
  flex: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 42px;
  background: linear-gradient(currentColor, transparent);
  transform-origin: top;
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* entrance: CSS only, scoped to .js so the page is whole without scripts */
.js .hero__name .line > span { transform: translateY(104%); animation: rise 1.25s var(--ease-out) forwards; }
.js .hero__name .line:nth-child(2) > span { animation-delay: 0.12s; }
.js .hero__eyebrow, .js .hero__rank, .js .hero__lead, .js .hero__links, .js .hero__foot {
  opacity: 0;
  animation: fade 1.1s var(--ease-out) forwards;
}
.js .hero__eyebrow { animation-delay: 0.05s; }
.js .hero__rank { animation-delay: 0.45s; }
.js .hero__lead { animation-delay: 0.6s; }
.js .hero__links { animation-delay: 0.72s; }
.js .hero__foot { animation-delay: 0.9s; }
.js .hero__portrait img { opacity: 0; transform: translateY(24px); animation: portrait 1.6s var(--ease-out) 0.2s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes portrait { to { opacity: 1; transform: none; } }

/* ---------- manifesto ---------- */
.manifesto {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(140px, 26vh, 300px);
}
.manifesto__bg {
  position: absolute;
  inset: -12% 0;
  z-index: -1;
  opacity: 0.3;
}
.manifesto__bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.manifesto__text {
  font-family: var(--display);
  font-size: clamp(36px, 5.3vw, 100px);
  line-height: 1.08;
  letter-spacing: -0.016em;
  max-width: 18ch;
  margin: 0;
}
.manifesto__by {
  margin: 56px 0 0;
  font-family: var(--ui);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.manifesto__by cite { font-style: normal; }
.js-ready .manifesto__text .w { opacity: 0.16; transition: opacity 0.6s ease; }
.js-ready .manifesto__text .w.is-lit { opacity: 1; }

/* ---------- profile ---------- */
.profile__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 56px;
  align-items: start;
}
.profile__figure {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--head) + 32px);
  margin: 0;
}
.profile__figure img {
  width: 100%;
  max-width: 460px;
  max-height: calc(100svh - var(--head) - 140px);
  object-fit: contain;
  object-position: bottom left;
  border-bottom: 1px solid var(--line);
}
.profile__figure figcaption {
  margin-top: 14px;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.profile__body { grid-column: 7 / span 6; }
.profile__body .h2 { margin-bottom: 40px; }
.facts {
  display: grid;
  grid-template-columns: minmax(120px, auto) 1fr;
  margin: 56px 0 0;
  border-top: 1px solid var(--line);
}
/* No column gap: the gap lives inside dd, so each row's hairline runs unbroken. */
.facts dt, .facts dd { margin: 0; padding: 17px 0; border-bottom: 1px solid var(--line); }
.facts dt { padding-top: 21px; padding-right: 32px; }
.facts dd { font-size: 17px; padding-left: 32px; }
.bleed {
  margin: clamp(104px, 15vh, 200px) 0 0;
  height: min(78vh, 760px);
  overflow: hidden;
}
.bleed img { width: 100%; height: 124%; object-fit: cover; margin-top: -12%; will-change: transform; }

/* ---------- service ---------- */
.service__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  margin-top: clamp(56px, 8vh, 104px);
}
.service__media {
  grid-column: 1 / span 6;
  position: sticky;
  top: calc(var(--head) + 24px);
  height: calc(100svh - var(--head) - 64px);
  align-self: start;
}
.service__frame { position: relative; height: 100%; overflow: hidden; background: var(--paper); }
.service__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 1.8s var(--ease);
}
.service__frame img.is-active { opacity: 1; transform: none; }
.service__frame img.is-portrait { object-fit: contain; object-position: bottom center; }
.service__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 12px 18px 0 0;
  background: var(--paper);
  color: var(--ink);
}
.service__list { grid-column: 8 / span 5; list-style: none; margin: 0; padding: 0; }
.chapter {
  min-height: 76vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 56px;
  border-top: 1px solid var(--line);
}
.chapter:last-child { border-bottom: 1px solid var(--line); }
.chapter__label { margin: 0 0 18px; }
.chapter__title {
  font-family: var(--display);
  font-size: clamp(30px, 2.7vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}
.chapter p { color: var(--fg-2); max-width: 32em; }
.chapter p:last-child { margin-bottom: 0; }
.chapter__img { display: none; }
.chapter__doc { margin: 32px 0 0; max-width: 420px; }
.chapter__doc img { width: 100%; filter: grayscale(1) contrast(1.05); }
.chapter__doc figcaption {
  margin-top: 10px;
  font-family: var(--ui);
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-3);
}
.js-ready .chapter { opacity: 0.32; transition: opacity 0.7s ease; }
.js-ready .chapter.is-current { opacity: 1; }

/* ---------- book ---------- */
.book__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 56px;
  align-items: start;
}
.book__cover {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--head) + 40px);
  margin: 0;
}
.book__cover a { display: block; max-width: 460px; }
.book__cover img {
  width: 100%;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 1s var(--ease);
}
.book__cover a:hover img { transform: translateY(-6px); }
.book__text { grid-column: 7 / span 6; }
.book__title {
  font-family: var(--display);
  font-size: clamp(44px, 4.6vw, 86px);
  line-height: 1;
  letter-spacing: -0.016em;
}
.book__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 1.2vw + 10px, 28px);
  line-height: 1.3;
  color: var(--fg-2);
  margin: 20px 0 40px;
}
.book__pull {
  margin: 48px 0;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.book__pull p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(32px, 3vw, 54px);
  line-height: 1.08;
  margin: 0;
}
.mini { margin: 0 0 14px; }
.book__toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: toc; }
.book__toc li {
  counter-increment: toc;
  display: grid;
  grid-template-columns: 52px 1fr;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg-2);
}
.book__toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--ui);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding-top: 5px;
  color: var(--fg-3);
}
.book__meta { margin: 32px 0 36px; font-size: 16px; color: var(--fg-3); max-width: 34em; }

/* ---------- positions ---------- */
.section-head--split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: end;
}
.section-head--split > div { grid-column: 1 / span 7; }
.section-head__aside { grid-column: 9 / span 4; margin: 0; color: var(--fg-2); }
.ideas__art { grid-column: 10 / span 3; margin: 0; }
.ideas__art img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.positions { list-style: none; margin: clamp(64px, 9vh, 112px) 0 0; padding: 0; }
.position {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 18px;
  padding-block: clamp(44px, 7vh, 80px);
  border-top: 1px solid var(--line);
}
.position:last-child { border-bottom: 1px solid var(--line); }
.position__label { grid-column: 1 / span 3; margin: 14px 0 0; }
.position__quote { grid-column: 4 / span 9; margin: 0; }
.position__quote p {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 24ch;
  text-wrap: balance;
}
.position__quote p::before { content: "\201C"; }
.position__quote p::after { content: "\201D"; }
.position__src { grid-column: 4 / span 9; margin: 0; font-size: 16px; color: var(--fg-3); }
.position__src a { text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.position:nth-child(even) .position__quote,
.position:nth-child(even) .position__src { grid-column: 5 / span 8; }

/* ---------- writing ---------- */
.index { list-style: none; margin: clamp(56px, 8vh, 96px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.index a {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 170px 28px;
  align-items: baseline;
  column-gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding 0.6s var(--ease);
}
.index__title {
  font-family: var(--display);
  font-size: clamp(23px, 1.9vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.006em;
}
.index__arrow { font-family: var(--ui); font-size: 20px; line-height: 1; transition: transform 0.5s var(--ease); justify-self: end; }
.index a:hover { padding-left: 18px; }
.index a:hover .index__arrow { transform: translate(4px, -4px); }
.more { margin: 40px 0 0; }

.preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  width: 340px;
  pointer-events: none;
  will-change: transform;
}
.preview__in {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.35s ease, transform 0.6s var(--ease);
  box-shadow: 0 30px 60px -30px rgba(12, 27, 46, 0.45);
}
.preview.is-on .preview__in { opacity: 1; transform: none; }
.preview img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
@media (hover: none), (pointer: coarse), (max-width: 1080px) { .preview { display: none; } }

/* ---------- series ---------- */
.player {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 28px;
  align-items: end;
  margin-top: clamp(56px, 8vh, 96px);
}
.player__screen {
  grid-column: 1 / span 8;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #050c16;
  overflow: hidden;
}
.player__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__poster, .yt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.player__poster img, .yt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04) brightness(0.82);
  transition: filter 0.7s ease, transform 1.4s var(--ease);
}
.player__poster:hover img, .yt:hover img,
.player__poster:focus-visible img, .yt:focus-visible img { filter: none; transform: scale(1.02); }
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(12, 27, 46, 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform 0.6s var(--ease), background-color 0.4s;
}
.play::after {
  content: "";
  position: absolute;
  left: 38px;
  top: 32px;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #fff;
}
.player__poster:hover .play, .yt:hover .play { transform: scale(1.08); background: rgba(12, 27, 46, 0.6); }
.player__meta { grid-column: 9 / span 4; }
.player__ep { margin: 0 0 14px; }
.player__title {
  font-family: var(--display);
  font-size: clamp(28px, 2.3vw, 42px);
  line-height: 1.12;
  margin: 0 0 28px;
}
.player__links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 0; }
.player__links a[hidden] { display: none; }

.strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: clamp(48px, 7vh, 80px) 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.strip-head__label { margin: 0; }
.strip-nav { display: flex; gap: 12px; }
.strip-nav__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s, opacity 0.3s;
}
.strip-nav__btn svg { width: 18px; height: 18px; }
.strip-nav__btn:hover:not(:disabled) { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.strip-nav__btn:disabled { opacity: 0.35; cursor: default; }
.strip {
  list-style: none;
  margin: 0;
  padding: 28px 0 18px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(232px, 21vw, 300px);
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}
.strip li { scroll-snap-align: start; }
.strip__item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.strip__item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(1) brightness(0.78);
  transition: filter 0.6s ease;
}
.strip__item:hover img, .strip__item:focus-visible img, .strip__item[aria-current="true"] img { filter: none; }
.strip__ep { display: block; margin-top: 16px; }
.strip__title {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.22;
}
.strip__item[aria-current="true"] .strip__ep { color: var(--fg); }

/* ---------- talks ---------- */
.talks__list { list-style: none; margin: clamp(56px, 8vh, 96px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.talk {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 24px;
  padding-block: 44px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.talk__meta { grid-column: 1 / span 3; margin: 8px 0 0; }
.talk__body { grid-column: 4 / span 5; }
.talk__body p { color: var(--fg-2); max-width: 34em; }
.talk__body p:last-child { margin-bottom: 0; }
.talk__title {
  font-family: var(--display);
  font-size: clamp(26px, 2vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.008em;
  margin: 0 0 16px;
}
.talk__media { grid-column: 9 / span 4; margin: 0; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.talk__media > img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); transition: filter 0.7s ease; }
.talk__media:hover > img { filter: none; }
.talk:not(.talk--feature) .talk__body { grid-column: 4 / span 7; }

/* ---------- advisory ---------- */
.advisory__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 56px;
  align-items: start;
}
.advisory__main { grid-column: 1 / span 7; }
.advisory__figure {
  grid-column: 9 / span 4;
  position: sticky;
  top: calc(var(--head) + 32px);
  margin: 0;
}
.advisory__figure img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.areas { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--line); }
.areas li {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 28px;
  row-gap: 8px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.areas h3 { font-family: var(--display); font-size: clamp(22px, 1.6vw, 28px); line-height: 1.2; }
.areas p { margin: 0; color: var(--fg-2); }
.brief { margin-top: 72px; padding: 40px 0 0; border-top: 1px solid var(--fg); }
.brief p { max-width: 34em; color: var(--fg-2); }
.brief .kicker { color: var(--fg-3); }

/* ---------- contact ---------- */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding-block: clamp(140px, 22vh, 240px);
}
.contact__bg { position: absolute; inset: -10% 0; z-index: -1; opacity: 0.26; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; will-change: transform; }
.contact__title {
  font-family: var(--display);
  font-size: clamp(50px, 8vw, 150px);
  line-height: 0.98;
  letter-spacing: -0.024em;
  margin: 0 0 32px;
}
.contact__lede { color: var(--fg-2); font-size: clamp(19px, 0.6vw + 15px, 22px); margin-bottom: 40px; max-width: 30em; }
.contact__links { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 36px; margin: 56px 0 0; padding: 0; }
.contact__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 64px;
  align-items: start;
}
.contact__intro { grid-column: 1 / span 6; }
.contact__intro .contact__title { font-size: clamp(50px, 6.2vw, 116px); }
.contact__panel { grid-column: 8 / span 5; padding-top: 8px; }

/* ---------- contact form ---------- */
.cform { position: relative; }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; row-gap: 10px; }
.field { min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.field input, .field textarea {
  display: block;
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 136px; resize: vertical; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--paper); box-shadow: 0 1px 0 0 var(--paper); }
.field input:-webkit-autofill, .field textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--paper);
  -webkit-box-shadow: 0 0 0 1000px var(--ink) inset;
  caret-color: var(--paper);
}
/* Errors are the one place a third colour appears: they have to be unmistakable. */
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #ffb4a8; box-shadow: 0 1px 0 0 #ffb4a8; }
.field__error { min-height: 1.35em; margin: 6px 0 0; font-family: var(--ui); font-size: 13px; line-height: 1.35; color: #ffb4a8; }
.cform__hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 22px; }
.cform__submit { background: var(--paper); color: var(--ink); border-color: var(--paper); cursor: pointer; }
.cform__submit:hover { background: transparent; color: var(--paper); }
.cform__submit[disabled] { opacity: 0.6; cursor: progress; }
.cform__note { margin: 0; font-size: 15px; color: var(--fg-3); }
.cform__status { min-height: 1.3em; margin: 18px 0 0; font-family: var(--ui); font-size: 14px; color: #ffb4a8; }
.cform__thanks { outline: none; }
.cform__thanks-title {
  font-family: var(--display);
  font-size: clamp(34px, 3.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0 0 22px;
}
.js-ready .cform__thanks:not([hidden]) { animation: fade 0.9s var(--ease-out) both; }

.site-foot { padding-block: 32px 40px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.site-foot__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.site-foot__inner p { margin: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--fg); }

/* ---------- floating LinkedIn button ----------
   Black and white until hover, then LinkedIn blue with his portrait in colour.
   Shown by site.js once the reader is past 81% of the page; --lift raises it
   above the footer so it never covers the footer links. */
.float-li {
  position: fixed;
  right: max(16px, calc(var(--gutter) / 2));
  bottom: calc(24px + var(--lift, 0px));
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 18px 6px 6px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-family: var(--ui);
  text-decoration: none;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), visibility 0s linear 0.6s,
    background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.float-li.is-shown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), visibility 0s,
    background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.float-li__face {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #ececec;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.4s ease;
}
.float-li__text { display: grid; line-height: 1.25; }
.float-li__label { font-size: 13.5px; font-weight: 600; }
.float-li__sub { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.72; }
.float-li__logo { width: 22px; height: 22px; flex: none; }
.float-li:hover, .float-li:focus-visible { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.float-li:hover .float-li__face, .float-li:focus-visible .float-li__face { filter: none; }
@media (max-width: 720px) {
  .float-li { right: 12px; bottom: calc(14px + var(--lift, 0px)); gap: 10px; padding: 5px 14px 5px 5px; }
  .float-li__face { width: 38px; height: 38px; }
}

.notfound { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: 120px; }

/* ---------- reveal (only once site.js confirms it can observe) ---------- */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out);
}
.js-ready .reveal.is-in { opacity: 1; transform: none; }

/* ---------- small screens ---------- */
@media (max-width: 1080px) {
  .hero__text { grid-column: 1 / -1; padding-block: 2vh 0; }
  .hero__portrait { grid-column: 4 / -1; margin-top: 24px; }
  .hero__portrait img { max-height: 62svh; }
  .profile__figure, .profile__body, .book__cover, .book__text,
  .advisory__main, .advisory__figure { grid-column: 1 / -1; position: static; }
  .profile__figure img { max-width: 360px; }
  .book__cover a { max-width: 360px; }
  .section-head--split > div, .section-head__aside { grid-column: 1 / -1; }
  .section-head__aside { margin-top: 28px; }
  .ideas__art { display: none; }
  .service__media { display: none; }
  .service__list { grid-column: 1 / -1; }
  .chapter { min-height: 0; padding-block: 56px; }
  .js-ready .chapter { opacity: 1; }
  .chapter__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 28px; }
  /* Keep the ratio explicit: `aspect-ratio: auto` alone drops the space the
     width/height attributes reserve, and the page jumped 315px when it loaded. */
  .chapter__img--portrait { object-fit: contain; object-position: bottom left; background: var(--paper); aspect-ratio: 495 / 520; max-width: 300px; }
  .player__screen, .player__meta { grid-column: 1 / -1; }
  .talk__meta, .talk__body, .talk__media, .talk:not(.talk--feature) .talk__body { grid-column: 1 / -1; }
  .talk__meta br { display: none; }
  .advisory__figure { display: none; }
  .contact__intro, .contact__panel { grid-column: 1 / -1; }
  .contact__links { margin-top: 36px; }
}
@media (max-width: 720px) {
  :root { --head: 64px; }
  .wordmark { font-size: 21px; }
  .hero__portrait { grid-column: 3 / -1; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .scroll-cue { display: none; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding: 16px 0 0; border-bottom: 0; }
  .facts dd { padding-top: 4px; padding-left: 0; }
  .position__label, .position__quote, .position__src,
  .position:nth-child(even) .position__quote, .position:nth-child(even) .position__src { grid-column: 1 / -1; }
  .position__label { margin: 0; }
  .index a { grid-template-columns: minmax(0, 1fr) 24px; row-gap: 8px; }
  .index__date { grid-column: 1; grid-row: 1; }
  .index__title { grid-column: 1; grid-row: 2; }
  .index__pub { grid-column: 1; grid-row: 3; }
  .index__arrow { grid-column: 2; grid-row: 2; }
  .areas li { grid-template-columns: 1fr; }
  .bleed { height: 52vh; }
  .book__pull { padding-left: 20px; }
  .strip { grid-auto-columns: 76vw; }
  .cform__grid { grid-template-columns: 1fr; }
  .field input, .field textarea { font-size: 18px; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .hero__name .line > span, .js .hero__portrait img { transform: none; }
  .js-ready .reveal { opacity: 1; transform: none; }
  .js-ready .manifesto__text .w { opacity: 1; }
  .js-ready .chapter { opacity: 1; }
  .scroll-cue::after { animation: none; }
}
