:root {
  --paper: #f7f7f3;
  --surface: #ffffff;
  --ink: #111315;
  --muted: #5c6268;
  --line: #d9dbd7;
  --line-strong: #b9bdb9;
  --blue: #09438f;
  --blue-dark: #062e64;
  --blue-soft: #e9eef7;
  --red: #e3001f;
  --red-soft: #fff0f3;
  --display: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 14px 40px rgba(17, 19, 21, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--gh-font-body, var(--body));
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.head {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--gh-font-heading, var(--display));
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-name strong {
  font-weight: 900;
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
}

.nav a,
.footer-links a {
  position: relative;
  font-size: 13px;
  font-weight: 700;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search,
.menu {
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.search {
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 700;
}

.join,
.outline,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.join {
  padding: 10px 16px;
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.join:hover,
.join:focus-visible {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.menu {
  display: none;
  width: 44px;
  height: 44px;
  font-size: 25px;
}

.hero {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero-inner {
  min-height: 390px;
  padding-top: 78px;
  padding-bottom: 78px;
}

.hero-copy {
  max-width: 860px;
}

.eyebrow,
.kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.eyebrow::before {
  width: 34px;
  height: 3px;
  content: "";
  background: var(--red);
}

.hero h1 {
  margin: 0;
  font-family: var(--gh-font-heading, var(--display));
  font-size: clamp(58px, 7vw, 90px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero p {
  max-width: 620px;
  margin: 24px 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.outline {
  padding: 11px 18px;
  color: var(--ink);
  background: transparent;
}

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

.main {
  padding-top: 72px;
  padding-bottom: 80px;
}

.section-head {
  margin-bottom: 24px;
  padding-bottom: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
}

.section-head h1,
.section-head h2 {
  margin: 0;
  font-family: var(--gh-font-heading, var(--display));
  font-size: clamp(36px, 5vw, 50px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}

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

.story {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.story:hover,
.story:focus-visible {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.story.feature {
  grid-column: 1 / -1;
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.85fr);
  border-top: 5px solid var(--blue);
}

.story .art {
  height: 210px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--blue-soft);
}

.story.feature .art {
  height: 100%;
  min-height: 435px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.story .art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.story:hover .art img {
  transform: scale(1.015);
}

.story .copy {
  min-width: 0;
  padding: 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.story.feature .copy {
  padding: 42px 38px;
  justify-content: center;
}

.story h3 {
  margin: 10px 0 12px;
  font-family: var(--gh-font-heading, var(--display));
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 1;
  text-transform: uppercase;
}

.story.feature h3 {
  margin-top: 14px;
  font-size: clamp(42px, 5vw, 61px);
}

.story p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.meta {
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.pagination {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.pagination a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.split {
  margin-top: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 22px;
}

.panel {
  min-height: 330px;
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.panel h2 {
  margin: 12px 0 14px;
  font-family: var(--gh-font-heading, var(--display));
  font-size: clamp(38px, 5vw, 57px);
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 0.95;
  text-transform: uppercase;
}

.panel p {
  max-width: 520px;
  margin: 0 0 24px;
  color: var(--muted);
}

.aftershock-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 34px;
  border-top: 5px solid var(--red);
}

.aftershock-panel .kicker {
  color: var(--red);
}

.aftershock-panel > img {
  width: 230px;
  aspect-ratio: 1;
  object-fit: cover;
}

.text-link {
  min-height: auto;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 2px solid var(--red);
  border-radius: 0;
  color: var(--ink);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--red);
}

.member {
  border-top: 5px solid var(--blue);
  background: var(--surface);
}

.member .join {
  margin-top: 4px;
}

.member-note {
  margin: 18px 0 0 !important;
  font-size: 13px;
}

.member-note a {
  border-bottom: 1px solid currentColor;
  color: var(--blue);
  font-weight: 700;
}

.member-note a:hover,
.member-note a:focus-visible {
  color: var(--blue-dark);
}

footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-identity {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-identity strong,
.footer-identity span {
  display: block;
}

.footer-identity strong {
  font-family: var(--gh-font-heading, var(--display));
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.footer-identity span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--blue);
}

.article {
  max-width: 980px;
  padding-top: 64px;
  padding-bottom: 90px;
}

.article-header {
  max-width: 850px;
  margin: 0 auto 34px;
  text-align: center;
}

.article-header h1 {
  margin: 16px 0 20px;
  font-family: var(--gh-font-heading, var(--display));
  font-size: clamp(50px, 8vw, 82px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.95;
  text-transform: uppercase;
}

.article-deck {
  max-width: 720px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.article-header .meta {
  margin-top: 18px;
}

.article-lead {
  margin: 0 0 46px;
}

.article-image {
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: cover;
}

.article-body {
  max-width: 740px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

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

.article-body h2,
.article-body h3,
.article-body h4 {
  margin: 1.7em 0 0.6em;
  font-family: var(--gh-font-heading, var(--display));
  font-weight: 800;
  line-height: 1.05;
}

.article-body h2 {
  font-size: 42px;
}

.article-body h3 {
  font-size: 32px;
}

.article-body a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-body blockquote {
  margin: 34px 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--red);
  color: #30353a;
  font-size: 22px;
  line-height: 1.55;
}

.article-body figure {
  margin: 32px 0;
}

.article-body img,
.article-body video,
.article-body iframe {
  max-width: 100%;
}

.article-body figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.article-body th,
.article-body td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.article-body th {
  background: var(--blue-soft);
}

.article-body .kg-width-wide {
  width: min(980px, calc(100vw - 48px));
  max-width: none;
  margin-right: 50%;
  margin-left: 50%;
  transform: translateX(-50%);
}

.article-body .kg-width-full {
  width: 100vw;
  max-width: none;
  margin-right: 50%;
  margin-left: 50%;
  transform: translateX(-50%);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

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

@media (max-width: 1020px) {
  .head {
    gap: 18px;
  }

  .brand-name {
    font-size: 23px;
  }

  .nav {
    gap: 17px;
  }

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

  .story.feature {
    grid-column: 1 / -1;
  }

  .story:not(.feature):last-child:nth-child(even) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 850px) {
  .wrap {
    width: min(100% - 36px, 740px);
  }

  .head {
    min-height: 70px;
  }

  .brand img {
    width: 47px;
    height: 47px;
  }

  .actions .search {
    display: none;
  }

  .menu {
    margin-left: auto;
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 34px 24px;
    display: none;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .nav a::after {
    display: none;
  }

  .hero-inner {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .story.feature {
    display: flex;
  }

  .story.feature .art {
    height: 340px;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .story.feature .copy {
    padding: 30px;
  }

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

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 28px, 540px);
  }

  .head {
    min-height: 66px;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .actions {
    display: none;
  }

  .nav {
    top: 66px;
  }

  .hero-inner {
    min-height: 0;
    padding-top: 44px;
    padding-bottom: 44px;
  }

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

  .hero p {
    font-size: 16px;
  }

  .main {
    padding-top: 52px;
    padding-bottom: 58px;
  }

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

  .story.feature,
  .story:not(.feature):last-child:nth-child(even) {
    grid-column: auto;
  }

  .story.feature .art {
    height: 240px;
  }

  .story.feature .copy,
  .story .copy {
    padding: 22px;
  }

  .story.feature h3 {
    font-size: 38px;
  }

  .split {
    margin-top: 52px;
  }

  .panel {
    min-height: 0;
    padding: 26px;
  }

  .aftershock-panel {
    grid-template-columns: 1fr;
  }

  .aftershock-panel > img {
    width: min(100%, 240px);
  }

  .foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .article {
    padding-top: 45px;
    padding-bottom: 65px;
  }

  .article-header {
    text-align: left;
  }

  .article-header h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .article-deck,
  .article-body {
    font-size: 16px;
  }

  .article-body h2 {
    font-size: 34px;
  }

  .article-body blockquote {
    font-size: 19px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
