@font-face {
  font-family: 'Umiak';
  src: url('/fonts/Umiak-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Host Grotesk';
  src: url('/fonts/HostGrotesk-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --authority-paper: #f6f4ef;
  --authority-card: #faf9f6;
  --authority-ink: #111111;
  --authority-muted: #4b4b4b;
  --authority-line: rgba(17, 17, 17, 0.16);
  --authority-wide: 1120px;
  --authority-reading: 760px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  overflow-x: hidden;
}

button,
input,
summary {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--authority-ink);
  color: var(--authority-paper);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.reading-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1000;
  width: 100%;
  height: 2px;
  background: var(--authority-ink);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.authority-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 239, 0.96);
  border-bottom: 1px solid var(--authority-line);
  backdrop-filter: blur(12px);
}

.authority-header-inner {
  width: min(calc(100% - 48px), var(--authority-wide));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.authority-wordmark {
  flex: 0 0 auto;
  font-family: 'Umiak', 'Host Grotesk', sans-serif;
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-decoration: none !important;
}

.authority-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.8vw, 28px);
}

.authority-desktop-nav a,
.authority-mobile-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--authority-ink);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none !important;
}

.authority-desktop-nav a[aria-current='page'] {
  border-bottom: 1px solid var(--authority-ink);
}

.authority-desktop-nav .authority-nav-cta {
  min-height: 40px;
  padding: 0 18px;
  background: var(--authority-ink);
  color: var(--authority-paper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.authority-mobile-nav {
  display: none;
  position: relative;
}

.authority-mobile-nav summary {
  min-width: 58px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--authority-line);
  cursor: pointer;
  list-style: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.authority-mobile-nav summary::-webkit-details-marker {
  display: none;
}

.authority-mobile-links {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(300px, calc(100vw - 32px));
  padding: 14px 18px 18px;
  display: grid;
  background: var(--authority-paper);
  border: 1px solid var(--authority-ink);
}

.authority-mobile-links a {
  border-bottom: 1px solid var(--authority-line);
}

.authority-mobile-links a:last-child {
  margin-top: 12px;
  padding: 0 14px;
  justify-content: center;
  background: var(--authority-ink);
  color: var(--authority-paper);
  border-bottom: 0;
}

.hero .container {
  max-width: var(--authority-reading);
}

.hero h1 {
  max-width: 15ch;
}

.updated {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}

.updated a {
  color: inherit;
}

.article-shell {
  width: min(calc(100% - 48px), var(--authority-wide));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px minmax(0, var(--authority-reading));
  justify-content: center;
  gap: 56px;
}

.article-rail {
  min-width: 0;
}

.article-rail-inner {
  position: sticky;
  top: 104px;
  padding-top: 6px;
}

.article-rail-label {
  margin: 0 0 14px;
  color: var(--authority-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-toc {
  display: grid;
  border-top: 1px solid var(--authority-line);
}

.article-toc a {
  padding: 10px 0;
  border-bottom: 1px solid var(--authority-line);
  color: var(--authority-muted);
  font-size: 12px;
  line-height: 1.35;
  text-decoration: none;
}

.article-toc a:hover,
.article-toc a[aria-current='true'] {
  color: var(--authority-ink);
}

.article-content {
  min-width: 0;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-tools {
  margin: -12px 0 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-tools button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--authority-line);
  background: transparent;
  color: var(--authority-muted);
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-tools button:hover,
.article-tools button:focus-visible {
  color: var(--authority-ink);
  border-color: var(--authority-ink);
}

.tldr,
.key-claims,
.bridge-box,
.author-box,
.cta-card,
.hub-card {
  border-radius: 0 !important;
}

.tldr {
  position: relative;
}

.tldr::before {
  content: '';
  position: absolute;
  inset: -1px auto -1px -1px;
  width: 3px;
  background: var(--authority-ink);
}

.author-box {
  margin-top: 40px;
  padding: 24px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--authority-line);
  background: var(--authority-card);
}

.author-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--authority-ink);
  color: var(--authority-paper);
  font-family: 'Umiak', 'Host Grotesk', sans-serif;
  font-size: 18px;
}

.author-box h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.author-box p {
  margin: 0 0 8px;
  color: var(--authority-muted);
  font-size: 14px;
}

.page-footer {
  text-align: left !important;
}

.authority-footer-inner {
  width: min(calc(100% - 48px), var(--authority-wide));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
}

.authority-footer-name {
  margin: 0 0 6px;
  color: var(--authority-ink);
  font-size: 14px;
}

.authority-footer-note {
  margin: 0;
  color: var(--authority-muted);
  font-size: 12px;
}

.authority-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}

.authority-footer-links a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  text-decoration: none;
}

.hub-intro {
  max-width: 62ch;
}

.hub-controls {
  margin: 40px 0 48px;
  padding: 20px;
  border: 1px solid var(--authority-line);
  background: var(--authority-card);
}

.hub-search-label {
  display: block;
  margin: 0 0 8px;
  color: var(--authority-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hub-search {
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--authority-ink);
  border-radius: 0;
  background: transparent;
  color: var(--authority-ink);
  font-size: 17px;
}

.hub-search:focus-visible {
  outline: 2px solid var(--authority-ink);
  outline-offset: 4px;
}

.hub-filters {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hub-filter {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--authority-line);
  background: transparent;
  color: var(--authority-ink);
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hub-filter[aria-pressed='true'] {
  background: var(--authority-ink);
  color: var(--authority-paper);
  border-color: var(--authority-ink);
}

.answer-group {
  margin-top: 64px;
}

.answer-group-heading {
  margin: 0 0 8px;
}

.answer-group-intro {
  max-width: 58ch;
  color: var(--authority-muted);
}

.answer-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.answer-grid .hub-card,
.method-grid .hub-card {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.answer-grid .hub-card > a:last-child,
.method-grid .hub-card > a:last-child {
  margin-top: auto;
  padding-top: 12px;
}

.hub-card {
  transition: background-color 160ms ease-out, border-color 160ms ease-out;
}

.hub-card:hover {
  background: var(--authority-paper);
  border-color: var(--authority-ink);
}

.hub-card[hidden],
.answer-group[hidden] {
  display: none !important;
}

.results-count {
  margin: 14px 0 0;
  color: var(--authority-muted);
  font-size: 12px;
}

.method-field {
  margin: 48px 0 56px;
  border: 1px solid var(--authority-ink);
  background: var(--authority-card);
}

.method-field-core {
  padding: 28px;
  border-bottom: 1px solid var(--authority-ink);
  font-family: 'Umiak', 'Host Grotesk', sans-serif;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
}

.method-field-legs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.method-field-leg {
  min-height: 160px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--authority-ink);
}

.method-field-leg:last-child {
  border-right: 0;
}

.method-field-number {
  color: var(--authority-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.method-field-leg strong {
  font-family: 'Umiak', 'Host Grotesk', sans-serif;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.05;
}

.about-hero {
  width: min(calc(100% - 48px), var(--authority-wide));
  margin: 0 auto;
  padding: 88px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 72px;
  align-items: end;
}

.about-eyebrow {
  margin: 0 0 18px;
  color: var(--authority-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-hero h1 {
  margin: 0;
  max-width: 13ch;
  font-family: 'Umiak', 'Host Grotesk', sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.about-hero-note {
  margin: 0;
  color: var(--authority-muted);
  font-size: 18px;
  line-height: 1.5;
}

.about-founders {
  width: min(calc(100% - 48px), var(--authority-wide));
  margin: 0 auto 88px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--authority-ink);
}

.about-founder {
  min-height: 250px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-founder + .about-founder {
  border-left: 1px solid var(--authority-ink);
}

.about-founder-mark {
  font-family: 'Umiak', 'Host Grotesk', sans-serif;
  font-size: clamp(54px, 9vw, 108px);
  line-height: 0.9;
}

.about-founder h2 {
  margin: 28px 0 4px;
  font-size: 24px;
}

.about-founder p {
  margin: 0;
  color: var(--authority-muted);
  font-size: 14px;
}

.about-story {
  width: min(calc(100% - 48px), var(--authority-reading));
  margin: 0 auto;
}

.about-story section {
  padding: 56px 0;
  border-top: 1px solid var(--authority-line);
}

.about-story h2 {
  max-width: 17ch;
  margin-top: 0;
  font-size: clamp(30px, 4vw, 46px);
}

.about-story p {
  max-width: 64ch;
}

.about-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--authority-ink);
}

.about-paths a {
  min-height: 150px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--authority-ink);
  text-decoration: none;
}

.about-paths a + a {
  border-left: 1px solid var(--authority-ink);
}

.about-paths span {
  color: var(--authority-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-paths strong {
  font-family: 'Umiak', 'Host Grotesk', sans-serif;
  font-size: 22px;
}

.authority-header a:focus-visible,
.authority-footer a:focus-visible,
.article-toc a:focus-visible,
.hub-card a:focus-visible,
.about-paths a:focus-visible {
  outline: 2px solid var(--authority-ink);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .authority-desktop-nav {
    display: none;
  }

  .authority-mobile-nav {
    display: block;
  }

  .article-shell {
    grid-template-columns: minmax(0, var(--authority-reading));
    gap: 0;
  }

  .article-rail {
    display: none;
  }

  .about-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .authority-header-inner,
  .article-shell,
  .authority-footer-inner,
  .about-hero,
  .about-founders,
  .about-story {
    width: min(calc(100% - 32px), var(--authority-wide));
  }

  .authority-header-inner {
    min-height: 64px;
  }

  .hero .container,
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .authority-footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .authority-footer-links {
    justify-content: flex-start;
  }

  .answer-grid,
  .method-grid,
  .method-field-legs,
  .about-founders,
  .about-paths {
    grid-template-columns: 1fr;
  }

  .method-field-leg {
    min-height: 118px;
    border-right: 0;
    border-bottom: 1px solid var(--authority-ink);
  }

  .method-field-leg:last-child {
    border-bottom: 0;
  }

  .about-hero {
    padding: 64px 0 48px;
  }

  .about-founder {
    min-height: 210px;
  }

  .about-founder + .about-founder,
  .about-paths a + a {
    border-left: 0;
    border-top: 1px solid var(--authority-ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
