@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-condensed-latin-500.woff2") format("woff2");
}

:root {
  --night: #070c0f;
  --night-2: #11181d;
  --night-3: #151d22;
  --paper: #f5f6f4;
  --paper-2: #eceeed;
  --ink: #111415;
  --muted: #69706d;
  --line: #d9dddc;
  --dark-line: rgba(255, 255, 255, 0.08);
  --accent: #e84d2f;
  --accent-2: #ff6a3d;
  --white: #ffffff;
  --max: 1120px;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: var(--night);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.04) 44%, rgba(0, 0, 0, 0) 72%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.06) 34%, rgba(0, 0, 0, 0.05) 66%, rgba(0, 0, 0, 0.02));
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 4px;
  color: var(--white);
  text-align: center;
}

.hero-title {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: 5.15rem;
  font-weight: 500;
  line-height: 0.92;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.82);
}

.hero-subtitle {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 1.26rem;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-pillars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-pillars span:not(.pillar-divider) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
}

.hero-pillars svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  color: var(--accent-2);
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-divider {
  width: 2px;
  height: 26px;
  background: var(--accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--night);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 24px rgba(7, 12, 15, 0.18);
}

.nav-inner {
  width: min(var(--max), calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
  min-width: 0;
}

.brand-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-hex {
  fill: #0d1519;
  stroke: #f7f3ef;
  stroke-width: 2.2;
}

.logo-field,
.logo-node,
.logo-monogram {
  stroke: var(--accent);
  stroke-width: 2.25;
}

.logo-node {
  fill: var(--accent);
}

.logo-field-soft {
  opacity: 0.48;
}

.logo-monogram {
  stroke: #f7f3ef;
  stroke-width: 2.1;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name,
.section-heading h1,
.section-heading h2,
.series-card h2,
.series-card h3,
.about-copy h2,
.topics h2,
.footer-column h2,
.subscribe-form h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-name {
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
}

.brand-line {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.brand-line b {
  color: var(--accent);
}

.site-nav .nav-links {
  min-width: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 42px;
  padding: 0;
  margin: 0;
}

.site-nav .nav-links a {
  position: relative;
  display: block;
  padding: 28px 0 24px;
  font-family: var(--font-display);
  font-size: 0.87rem;
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.site-nav .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  background: transparent;
}

.site-nav .nav-links a:hover,
.site-nav .nav-links a:focus-visible,
.site-nav .nav-links .is-active,
.site-nav .nav-links .current-menu-item > a,
.site-nav .nav-links .current_page_item > a {
  color: var(--accent-2);
}

.site-nav .nav-links .is-active::after,
.site-nav .nav-links .current-menu-item > a::after,
.site-nav .nav-links .current_page_item > a::after {
  background: var(--accent);
}

.nav-tools {
  display: inline-flex;
  justify-self: end;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
}

.icon-button:hover,
.icon-button:focus-visible {
  color: var(--accent-2);
  border-color: var(--dark-line);
  background: rgba(255, 255, 255, 0.04);
}

.icon-button svg,
.section-link svg,
.card-action svg,
.button-outline svg,
.center-link svg,
.social-links svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  padding: 38px 0;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  background: var(--night);
  color: var(--white);
}

.section-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1;
}

.section-heading h1::after,
.section-heading h2::after,
.about-copy h2::after,
.topics h2::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin-top: 9px;
  background: var(--accent);
}

.section-link,
.center-link,
.card-action,
.button-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.86rem;
}

.section-link:hover,
.center-link:hover,
.card-action:hover,
.button-outline:hover {
  color: var(--accent-2);
}

.latest-carousel,
.series-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 16px;
  margin-inline: -58px;
}

.carousel-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  align-self: center;
  color: var(--night);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(8, 12, 14, 0.12);
}

.carousel-button:hover,
.carousel-button:focus-visible {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.carousel-button:disabled {
  opacity: 0.42;
  cursor: default;
  color: var(--muted);
  background: var(--paper-2);
  border-color: var(--line);
  box-shadow: none;
}

.carousel-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-button-prev svg {
  transform: rotate(180deg);
}

.latest-grid {
  display: flex;
  align-items: stretch;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 0 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 77, 47, 0.5) transparent;
}

.latest-grid::-webkit-scrollbar {
  height: 8px;
}

.latest-grid::-webkit-scrollbar-track {
  background: transparent;
}

.latest-grid::-webkit-scrollbar-thumb {
  background: rgba(232, 77, 47, 0.45);
  border-radius: 999px;
}

.series-carousel .carousel-button {
  color: var(--white);
  background: var(--night-2);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.series-carousel .carousel-button:hover,
.series-carousel .carousel-button:focus-visible {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.series-carousel .carousel-button:disabled {
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.post-card {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 8px 18px rgba(8, 12, 14, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 77, 47, 0.34);
  box-shadow: 0 14px 28px rgba(8, 12, 14, 0.12);
}

.post-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--night-2);
}

.post-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card a {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.post-body {
  min-height: 184px;
  flex: 1;
  padding: 15px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.post-card h2,
.post-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.post-card p:not(.eyebrow) {
  margin: 0;
  color: #2f3636;
  font-size: 0.88rem;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.post-card time {
  display: block;
  margin-top: auto;
  padding-top: 10px;
  color: #303534;
  border-top: 1px solid rgba(17, 20, 21, 0.08);
  font-size: 0.82rem;
  font-weight: 650;
}

.series {
  padding: 36px 0;
}

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

.series-carousel .series-grid {
  display: flex;
  align-items: stretch;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 0 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 77, 47, 0.5) transparent;
}

.series-carousel .series-grid::-webkit-scrollbar {
  height: 8px;
}

.series-carousel .series-grid::-webkit-scrollbar-track {
  background: transparent;
}

.series-carousel .series-grid::-webkit-scrollbar-thumb {
  background: rgba(232, 77, 47, 0.45);
  border-radius: 999px;
}

.series-card {
  min-width: 0;
  padding: 22px 21px 20px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, var(--night-2), #0d1317);
  border: 1px solid var(--dark-line);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.series-carousel .series-card {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 230px;
  scroll-snap-align: start;
}

.series-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  margin-bottom: 22px;
}

.series-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.series-card h2,
.series-card h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1.08;
}

.series-card p {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.series-card strong {
  display: block;
  margin-bottom: 17px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.series-card ul {
  list-style: none;
  padding: 16px 0 0 0;
  margin: 0 0 20px;
  flex: 1;
  border-top: 1px solid var(--dark-line);
}

.series-card li {
  position: relative;
  padding-left: 15px;
}

.series-card li + li {
  margin-top: 11px;
}

.series-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 77, 47, 0.12);
}

.series-card li a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.series-card li a:hover {
  color: var(--white);
}

.series-card .card-action {
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--dark-line);
}

.about {
  border-bottom: 1px solid var(--line);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 0.95fr);
  gap: 56px;
  align-items: start;
}

.about-copy h2,
.topics h2 {
  margin: 0 0 18px;
  font-size: 1.42rem;
  line-height: 1;
}

.about-copy p {
  max-width: 580px;
  margin: 0 0 10px;
  color: #4d5553;
  font-size: 0.95rem;
}

.button-outline {
  min-height: 42px;
  margin-top: 14px;
  padding: 0 15px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  text-transform: uppercase;
  background: transparent;
}

.button-outline:hover {
  background: rgba(232, 77, 47, 0.08);
}

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

.topic-chip {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid #cfd5d2;
  border-radius: 6px;
}

.topic-chip:hover {
  border-color: rgba(232, 77, 47, 0.4);
  background: #ffffff;
}

.topic-chip svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: var(--night-2);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topic-chip span {
  min-width: 0;
  display: grid;
  line-height: 1.12;
}

.topic-chip b {
  overflow-wrap: anywhere;
  font-size: 0.78rem;
}

.topic-chip small {
  color: var(--muted);
  font-size: 0.74rem;
}

.center-link {
  width: fit-content;
  margin: 22px 0 0;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--night);
}

.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 26px;
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 1fr 1.35fr;
  gap: 28px;
}

.footer-brand {
  padding-right: 28px;
  border-right: 1px solid var(--dark-line);
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-brand p,
.subscribe-form p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-links a {
  color: var(--white);
}

.social-links a:hover {
  color: var(--accent-2);
}

.footer-column,
.subscribe-form {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-column h2,
.subscribe-form h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 0.94rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.footer-column a:hover {
  color: var(--white);
}

.subscribe-form {
  padding-left: 28px;
  border-left: 1px solid var(--dark-line);
}

.subscribe-form div {
  display: flex;
  gap: 8px;
}

.subscribe-form input {
  min-width: 0;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  color: var(--white);
  background: #0b1013;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
}

.subscribe-form button {
  height: 40px;
  padding: 0 14px;
  color: var(--white);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.subscribe-form button:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
}

.copyright {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 22px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 1060px) {
  .nav-inner {
    grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
    gap: 18px;
  }

  .hero-title {
    font-size: 4.35rem;
  }

  .hero-subtitle {
    font-size: 1.12rem;
  }

  .hero-pillars {
    font-size: 1.2rem;
  }

  .hero-pillars svg {
    width: 21px;
    height: 21px;
  }

  .site-nav .nav-links {
    gap: 24px;
  }

  .latest-carousel,
  .series-carousel {
    margin-inline: -40px;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 12px;
  }

  .carousel-button {
    width: 38px;
    height: 38px;
  }

  .post-card {
    flex-basis: calc((100% - 36px) / 3);
  }

  .series-carousel .series-card {
    flex-basis: calc((100% - 36px) / 3);
  }

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

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

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

  .footer-brand,
  .subscribe-form {
    border: 0;
    padding: 0;
  }
}

@media (max-width: 820px) {
  .hero {
    height: 250px;
  }

  .hero-overlay {
    width: min(680px, calc(100% - 32px));
  }

  .hero-title {
    font-size: 3.45rem;
  }

  .hero-subtitle {
    max-width: 520px;
    margin-top: 12px;
    font-size: 1rem;
  }

  .hero-pillars {
    gap: 10px;
    margin-top: 15px;
    font-size: 1.05rem;
  }

  .hero-pillars span:not(.pillar-divider) {
    gap: 7px;
  }

  .hero-pillars svg {
    width: 20px;
    height: 20px;
  }

  .pillar-divider {
    height: 22px;
  }

  .nav-inner {
    width: min(var(--max), calc(100% - 32px));
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px 0;
    column-gap: 8px;
    row-gap: 8px;
  }

  .brand {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .nav-tools {
    grid-column: 2 / 3;
    grid-row: 2;
    align-self: center;
  }

  .site-nav .nav-links {
    grid-column: 1 / 2;
    grid-row: 2;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    padding-top: 0;
    scrollbar-width: none;
  }

  .site-nav .nav-links::-webkit-scrollbar {
    display: none;
  }

  .site-nav .nav-links a {
    padding: 10px 12px;
    border-radius: 4px;
  }

  .site-nav .nav-links a::after {
    display: none;
  }

  .section {
    padding: 30px 0;
  }

  .section-inner {
    width: min(var(--max), calc(100% - 32px));
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .latest-carousel,
  .series-carousel {
    margin-inline: 0;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 10px;
  }

  .post-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .series-carousel .series-card {
    flex-basis: calc((100% - 18px) / 2);
  }

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

  .footer-inner,
  .copyright {
    width: min(var(--max), calc(100% - 32px));
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .hero {
    height: 230px;
  }

  .hero img {
    object-position: center center;
  }

  .hero-overlay {
    width: min(100%, calc(100% - 28px));
  }

  .hero-title {
    font-size: 2.65rem;
    white-space: normal;
  }

  .hero-subtitle {
    max-width: 320px;
    margin-top: 10px;
    font-size: 0.88rem;
  }

  .hero-pillars {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.92rem;
  }

  .hero-pillars svg {
    width: 18px;
    height: 18px;
  }

  .pillar-divider {
    height: 19px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .site-nav .brand {
    display: none;
  }

  .nav-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 6px;
  }

  .site-nav .nav-links {
    grid-column: 1 / 2;
    grid-row: 1;
    padding-top: 0;
  }

  .nav-tools {
    justify-content: flex-end;
    grid-column: 2 / 3;
    grid-row: 1;
  }

  .series-grid,
  .topic-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .latest-carousel,
  .series-carousel {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 8px;
  }

  .carousel-button {
    width: 34px;
    height: 34px;
  }

  .carousel-button svg {
    width: 19px;
    height: 19px;
  }

  .post-card {
    flex-basis: 100%;
    min-width: 0;
  }

  .series-carousel .series-card {
    flex-basis: 100%;
    min-width: 0;
  }

  .series-card {
    padding: 20px;
  }

  .topic-chip {
    min-height: 54px;
  }

  .subscribe-form div {
    flex-direction: column;
  }

  .subscribe-form button {
    width: 100%;
  }
}

@media (max-width: 960px) and (max-height: 520px) and (orientation: landscape) {
  html {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    width: 100%;
    overflow-x: hidden;
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .site-header,
  .site-nav,
  main,
  .section,
  .site-footer {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .hero {
    height: 132px;
  }

  .hero-overlay {
    width: min(560px, calc(100% - 32px));
    width: min(560px, calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  }

  .hero-title {
    font-size: clamp(2.25rem, 6.4vw, 2.95rem);
  }

  .hero-subtitle {
    margin-top: 6px;
    font-size: 0.78rem;
  }

  .hero-pillars {
    gap: 8px;
    margin-top: 7px;
    font-size: 0.82rem;
  }

  .hero-pillars svg {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .pillar-divider {
    height: 16px;
  }

  .site-nav .brand {
    display: none;
  }

  .nav-inner {
    width: min(var(--max), calc(100% - 32px));
    width: min(var(--max), calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
    min-height: 48px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 6px 0;
  }

  .site-nav .nav-links {
    grid-column: 1 / 2;
    grid-row: 1;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    padding-top: 0;
    scrollbar-width: none;
  }

  .site-nav .nav-links::-webkit-scrollbar {
    display: none;
  }

  .site-nav .nav-links a {
    padding: 8px 9px;
    font-size: 0.78rem;
    border-radius: 4px;
  }

  .site-nav .nav-links a::after {
    display: none;
  }

  .nav-tools {
    grid-column: 2 / 3;
    grid-row: 1;
    justify-content: flex-end;
  }

  .icon-button {
    width: 34px;
    height: 34px;
  }

  .section {
    padding: 18px 0;
  }

  .section-inner {
    width: min(var(--max), calc(100% - 32px));
    width: min(var(--max), calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  }

  .footer-inner,
  .copyright {
    width: min(var(--max), calc(100% - 32px));
    width: min(var(--max), calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  }

  .section-heading {
    margin-bottom: 14px;
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: 1.24rem;
  }

  .latest-carousel,
  .series-carousel {
    margin-inline: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .carousel-button {
    display: none;
  }

  .latest-grid,
  .series-carousel .series-grid {
    gap: 14px;
    padding-bottom: 14px;
  }

  .post-card,
  .series-carousel .series-card {
    flex-basis: min(430px, 86vw);
    min-width: min(340px, 86vw);
  }

  .post-card a {
    height: 136px;
    min-height: 0;
    flex-direction: row;
  }

  .post-card-media {
    flex: 0 0 40%;
    aspect-ratio: auto;
    min-height: 136px;
  }

  .post-body {
    min-height: 0;
    padding: 10px 11px;
    gap: 5px;
    overflow: hidden;
  }

  .eyebrow {
    font-size: 0.64rem;
  }

  .post-card p:not(.eyebrow) {
    font-size: 0.78rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  .post-card h2,
  .post-card h3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.9rem;
    line-height: 1.15;
  }

  .post-card time {
    padding-top: 6px;
    font-size: 0.72rem;
  }

  .series-card {
    padding: 18px;
  }

  .series-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
  }

  .series-card ul {
    display: none;
  }
}

body.admin-bar .site-nav {
  top: 32px;
}

.custom-logo-link {
  flex: 0 0 auto;
}

.custom-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.archive-view {
  min-height: 48vh;
}

.archive-description {
  max-width: 720px;
  margin: -8px 0 24px;
  color: #4d5553;
}

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

.archive-grid .post-card {
  min-width: 0;
}

.empty-state {
  max-width: 680px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.empty-state h1,
.empty-state h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.empty-state p {
  margin: 0;
  color: #4d5553;
}

.entry-inner {
  max-width: 920px;
}

.entry {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(8, 12, 14, 0.08);
}

.entry-header {
  padding: 36px 38px 24px;
}

.entry-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4.1rem);
  font-weight: 500;
  line-height: 0.95;
  text-transform: uppercase;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.entry-meta a,
.entry-content a,
.entry-footer a {
  color: var(--accent);
  font-weight: 800;
}

.entry-meta a:hover,
.entry-content a:hover,
.entry-footer a:hover {
  color: var(--accent-2);
}

.entry-hero {
  margin: 0;
}

.entry-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.entry-content {
  padding: 30px 38px 38px;
  color: #2f3636;
  font-size: 1.02rem;
}

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

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 1.8em 0 0.65em;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.entry-content h2 {
  font-size: 1.7rem;
}

.entry-content h3 {
  font-size: 1.3rem;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.1em;
}

.entry-content blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 20px;
  color: #3c4543;
  border-left: 3px solid var(--accent);
}

.entry-content pre,
.entry-content code {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.entry-content pre {
  overflow-x: auto;
  padding: 16px;
  color: var(--paper);
  background: var(--night-2);
  border-radius: 6px;
}

.entry-content img,
.wp-caption {
  max-width: 100%;
}

.wp-caption-text,
.entry-content figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.alignleft {
  float: left;
  margin: 4px 24px 18px 0;
}

.alignright {
  float: right;
  margin: 4px 0 18px 24px;
}

.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.entry-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 38px 34px;
}

.entry-footer a,
.pagination a,
.pagination span,
.entry-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  font-size: 0.8rem;
}

.post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.post-nav-link a {
  display: grid;
  gap: 4px;
  min-height: 88px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.post-nav-link span {
  color: var(--accent);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pagination .current {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.search-page-form {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.search-page-form input {
  min-width: 0;
  flex: 1;
  height: 44px;
  padding: 0 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.search-page-form button {
  height: 44px;
  padding: 0 16px;
  color: var(--white);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-menu {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-widget > *:first-child {
  margin-top: 0;
}

.footer-widget > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 782px) {
  body.admin-bar .site-nav {
    top: 46px;
  }
}

@media (max-width: 820px) {
  .archive-grid,
  .post-navigation {
    grid-template-columns: 1fr;
  }

  .entry-header,
  .entry-content,
  .entry-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 600px) {
  .entry-header {
    padding-top: 28px;
  }

  .entry-header h1 {
    font-size: 2.35rem;
  }

  .search-page-form {
    flex-direction: column;
  }

  .search-page-form button {
    width: 100%;
  }
}

@media (max-width: 960px) and (max-height: 520px) and (orientation: landscape) {
  .archive-description {
    display: none;
  }

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

  .archive-grid .post-card {
    min-width: 0;
  }

  .entry-header {
    padding: 24px 24px 18px;
  }

  .entry-header h1 {
    font-size: 2.2rem;
  }

  .entry-meta {
    margin-top: 10px;
    font-size: 0.8rem;
  }

  .entry-content {
    padding: 22px 24px 26px;
    font-size: 0.95rem;
  }

  .entry-footer {
    padding: 0 24px 24px;
  }

  .post-navigation {
    gap: 14px;
  }
}
