:root {
  --ink: #11130f;
  --paper: #f0eee8;
  --paper-deep: #e6e1d8;
  --acid: #d8ff47;
  --blue: #8193bf;
  --muted: #686b63;
  --line: rgba(17, 19, 15, 0.2);
  --radius: 28px;
  --page: 1480px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

a {
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 10px max(20px, calc((100vw - var(--page)) / 2));
  color: var(--paper);
  background: rgba(17, 19, 15, 0.96);
  border-bottom: 1px solid rgba(240, 238, 232, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--acid);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.header-link {
  color: rgba(240, 238, 232, 0.7);
  font-size: 12px;
  font-weight: 650;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.header-link:hover,
.header-link:focus-visible {
  color: var(--acid);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
  white-space: nowrap;
}

main,
.site-footer {
  width: min(100%, var(--page));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.72fr);
  gap: 12px;
  min-height: min(760px, calc(100svh - 72px));
  padding: 12px 12px 0;
}

.hero__copy,
.hero-profile {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(32px, 5.5vw, 82px);
  color: var(--paper);
  background: var(--ink);
}

.kicker,
.idea-card__meta,
.idea-card__thesis,
.career__item span,
.practice-card > span,
.reader__bar,
.reader__kicker,
.reader__question span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.kicker {
  margin: 0 0 20px;
  color: var(--acid);
}

.kicker--dark {
  color: rgba(17, 19, 15, 0.54);
}

.hero h1 {
  max-width: 12.6em;
  margin: 0;
  font-size: clamp(52px, 6.35vw, 96px);
  font-weight: 570;
  line-height: 0.92;
  letter-spacing: -0.068em;
}

.hero__lead {
  max-width: 62ch;
  margin: clamp(28px, 4vh, 48px) 0 0;
  color: rgba(240, 238, 232, 0.72);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.button--acid {
  color: var(--ink);
  background: var(--acid);
}

.button--ghost {
  color: var(--paper);
  border-color: rgba(240, 238, 232, 0.28);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  color: var(--ink);
  background: var(--paper);
}

.button--ink {
  color: var(--paper);
  background: var(--ink);
}

.button--outline {
  color: var(--ink);
  border-color: rgba(17, 19, 15, 0.42);
}

.button--outline:hover,
.button--outline:focus-visible {
  color: var(--paper);
  background: var(--ink);
}

.hero-profile {
  position: relative;
  min-height: 560px;
  color: #fff;
  background: #2c2d2a;
  isolation: isolate;
}

.hero-profile img,
.hero-profile__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-profile img {
  z-index: -2;
  object-fit: cover;
  object-position: 45% center;
  filter: saturate(0.9) contrast(1.03) brightness(0.96);
}

.hero-profile__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 8, 6, 0.04) 20%, rgba(5, 8, 6, 0.9) 100%),
    linear-gradient(90deg, rgba(5, 8, 6, 0.14), transparent 70%);
}

.hero-profile__top,
.hero-profile__bottom {
  position: absolute;
  right: 0;
  left: 0;
  padding: 30px;
}

.hero-profile__top {
  top: 0;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.hero-profile__bottom {
  bottom: 0;
}

.hero-profile h2 {
  margin: 0;
  font-size: clamp(48px, 4.5vw, 70px);
  font-weight: 620;
  line-height: 0.84;
  letter-spacing: -0.075em;
}

.hero-profile__bottom p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manifesto {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
  margin: 12px;
  padding: clamp(32px, 4.3vw, 64px);
  background: var(--acid);
  border-radius: var(--radius);
}

.manifesto .kicker {
  margin: 0;
}

.manifesto__text {
  max-width: 28em;
  margin: 0;
  font-size: clamp(30px, 3.5vw, 54px);
  font-weight: 560;
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.text-button,
.card-link {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.text-button {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}

.section {
  padding: clamp(76px, 9vw, 136px) 12px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 48px;
}

.section-head .kicker {
  margin-bottom: 15px;
}

.section-head h2,
.about h2,
.subscribe h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 74px);
  font-weight: 570;
  line-height: 0.93;
  letter-spacing: -0.065em;
}

.section-head__note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.filter {
  padding: 9px 14px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.filter:hover,
.filter:focus-visible,
.filter.is-active {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
  outline: none;
}

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

@media (min-width: 981px) {
  .idea-grid[data-visible="1"] .idea-card:not([hidden]) {
    grid-column: span 7;
  }

  .idea-grid[data-visible="2"] .idea-card:not([hidden]) {
    grid-column: span 6;
  }

  .idea-grid[data-visible="3"] .idea-card:not([hidden]) {
    grid-column: span 4;
  }
}

.idea-card {
  position: relative;
  display: flex;
  grid-column: span 4;
  flex-direction: column;
  min-height: 520px;
  padding: clamp(24px, 2.8vw, 40px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  isolation: isolate;
  transition: transform 220ms ease, opacity 220ms ease;
}

.idea-card[hidden] {
  display: none;
}

.idea-card::after {
  position: absolute;
  right: -18%;
  bottom: -27%;
  z-index: -1;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.12;
  content: "";
}

.idea-card:hover {
  transform: translateY(-5px);
}

.idea-card--featured {
  grid-column: span 8;
  min-height: 570px;
  color: var(--paper);
  background: var(--ink);
}

.idea-card--featured h3 {
  max-width: 17em;
  font-size: clamp(38px, 4vw, 62px);
}

.idea-card--paper {
  background: #f7f5ef;
}

.idea-card--blue {
  color: #fff;
  background: var(--blue);
}

.idea-card--ink {
  color: var(--paper);
  background: var(--ink);
}

.idea-card--acid {
  background: var(--acid);
}

.idea-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  opacity: 0.64;
}

.idea-card__body {
  margin: auto 0;
  padding: 42px 0;
}

.idea-card__thesis {
  margin: 0 0 15px;
  opacity: 0.58;
}

.idea-card h3 {
  margin: 0;
  font-size: clamp(28px, 2.55vw, 40px);
  font-weight: 590;
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.idea-card__body > p:last-child {
  max-width: 47em;
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.52;
  opacity: 0.7;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid currentColor;
  opacity: 0.86;
}

.card-link:hover,
.card-link:focus-visible {
  color: inherit;
  outline: none;
  opacity: 1;
}

.empty-state {
  margin: 36px 0 0;
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.1fr);
  gap: clamp(50px, 9vw, 130px);
  background: var(--paper-deep);
  border-radius: var(--radius);
}

.about__intro {
  align-self: start;
  position: sticky;
  top: 110px;
}

.about__intro > p:not(.kicker) {
  max-width: 57ch;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.career {
  border-top: 1px solid var(--ink);
}

.career__item {
  display: grid;
  grid-template-columns: 120px minmax(170px, 0.65fr) minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.career__item span {
  color: var(--muted);
  font-size: 9px;
}

.career__item strong {
  font-size: 20px;
  letter-spacing: -0.025em;
}

.career__item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.career__item--current strong {
  color: #587000;
}

.practice {
  color: var(--paper);
  background: var(--ink);
}

.section-head--light .section-head__note {
  color: rgba(240, 238, 232, 0.58);
}

.practice-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 12px;
}

.practice-card {
  display: flex;
  flex-direction: column;
  min-height: 500px;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius);
  transition: transform 220ms ease;
}

.practice-card:hover,
.practice-card:focus-visible {
  outline: none;
  transform: translateY(-5px);
}

.practice-card--consulting {
  color: var(--ink);
  background: var(--acid);
}

.practice-card--mentoring {
  color: #fff;
  background: var(--blue);
}

.practice-card > span {
  opacity: 0.6;
}

.practice-card h3 {
  max-width: 15em;
  margin: auto 0 0;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 570;
  line-height: 0.96;
  letter-spacing: -0.058em;
}

.practice-card p {
  max-width: 54ch;
  margin: 24px 0 42px;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.7;
}

.practice-card b {
  padding-top: 16px;
  border-top: 1px solid currentColor;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.subscribe {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 44px;
  margin: 12px;
  padding: clamp(48px, 7vw, 100px);
  background: var(--acid);
  border-radius: var(--radius);
}

.subscribe h2 {
  max-width: 14em;
}

.subscribe__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 24px 48px;
  color: var(--muted);
  font-size: 11px;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  outline: none;
}

.reader {
  width: min(760px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100svh - 24px);
  margin: auto 12px auto auto;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: var(--radius);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.26);
}

.reader::backdrop {
  background: rgba(17, 19, 15, 0.68);
  backdrop-filter: blur(7px);
}

.reader[open] {
  animation: reader-in 220ms ease-out;
}

@keyframes reader-in {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
}

.reader__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 28px;
  background: var(--acid);
}

.reader__close {
  padding: 8px 12px;
  background: transparent;
  border: 1px solid rgba(17, 19, 15, 0.28);
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.reader__article {
  max-height: calc(100svh - 88px);
  padding: clamp(34px, 6vw, 76px);
  overflow: auto;
}

.reader__kicker {
  margin: 0 0 20px;
  color: var(--muted);
}

.reader h2 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 64px);
  font-weight: 570;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.reader__lead {
  margin: 34px 0 0;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--ink);
  font-size: 20px;
  line-height: 1.45;
}

.reader__content {
  margin-top: 36px;
}

.reader__content h3 {
  margin: 36px 0 12px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.reader__content p {
  margin: 0 0 20px;
  color: #343730;
  font-size: 16px;
  line-height: 1.7;
}

.reader__question {
  margin-top: 48px;
  padding: 28px;
  background: var(--acid);
  border-radius: 18px;
}

.reader__question span {
  opacity: 0.56;
}

.reader__question p {
  margin: 16px 0 0;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

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

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  }

  .manifesto {
    grid-template-columns: 1fr auto;
  }

  .manifesto .kicker {
    grid-column: 1 / -1;
  }

  .idea-card,
  .idea-card--featured {
    grid-column: span 6;
  }

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

  .about__intro {
    position: static;
  }

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

  .practice-card {
    min-height: 410px;
  }
}

@media (max-width: 700px) {
  :root {
    --radius: 20px;
  }

  .site-header {
    min-height: 62px;
    padding-inline: 12px;
  }

  .brand__name {
    display: none;
  }

  .header-link {
    font-size: 11px;
  }

  .header-actions {
    gap: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 8px 8px 0;
  }

  .hero__copy {
    min-height: 620px;
    padding: 28px 22px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .hero-profile {
    min-height: 520px;
  }

  .hero-profile img {
    object-position: 43% center;
  }

  .manifesto {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
    margin: 8px;
    padding: 28px 22px;
  }

  .manifesto__text {
    font-size: 34px;
  }

  .text-button {
    justify-content: space-between;
    width: 100%;
  }

  .section {
    padding: 76px 8px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 32px;
  }

  .section-head h2,
  .about h2,
  .subscribe h2 {
    font-size: 44px;
  }

  .filters {
    flex-wrap: nowrap;
    padding-bottom: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .filter {
    flex: 0 0 auto;
  }

  .idea-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .idea-card,
  .idea-card--featured {
    grid-column: 1;
    min-height: 470px;
    padding: 24px;
  }

  .idea-card h3,
  .idea-card--featured h3 {
    font-size: 36px;
  }

  .about {
    margin-inline: 0;
    padding-inline: 22px;
    border-radius: 0;
  }

  .career__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .career__item strong {
    font-size: 24px;
  }

  .practice {
    padding-inline: 8px;
  }

  .practice-card {
    min-height: 430px;
    padding: 26px 22px;
  }

  .practice-card h3 {
    font-size: 40px;
  }

  .subscribe {
    align-items: stretch;
    flex-direction: column;
    margin: 8px;
    padding: 44px 24px;
  }

  .subscribe .button,
  .subscribe__actions {
    align-self: flex-start;
  }

  .subscribe__actions {
    justify-content: flex-start;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 20px;
  }

  .reader {
    width: calc(100vw - 12px);
    max-height: calc(100svh - 12px);
    margin: auto 6px 6px;
  }

  .reader__article {
    max-height: calc(100svh - 76px);
    padding: 34px 22px 52px;
  }

  .reader h2 {
    font-size: 44px;
  }

  .reader__lead {
    font-size: 18px;
  }
}

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