*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #f7f3ea;
  --ink: #20231f;
  --muted: #706f66;
  --gold: #c8643f;
  --button-bg: var(--gold);
  --post-badge-bg: #31483f;
  --shared-card-bg: #8aa39b;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --page: min(1440px, calc(100vw - 80px));
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--gh-font-body, var(--sans));
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.tone-sage {
  --cream: #eef2e8;
  --ink: #213229;
  --gold: #b06f45;
  --button-bg: #b06f45;
  --post-badge-bg: #36584c;
  --shared-card-bg: #96aca0;
}

body.tone-sand {
  --cream: #f7efe1;
  --ink: #30251d;
  --gold: #c36d3d;
  --button-bg: #c36d3d;
  --post-badge-bg: #7b5643;
  --shared-card-bg: #d1a06e;
}

body.tone-blue {
  --cream: #eef5f6;
  --ink: #162932;
  --gold: #bc6b4c;
  --button-bg: #bc6b4c;
  --post-badge-bg: #315c70;
  --shared-card-bg: #8db6c2;
}

body.tone-frost {
  --cream: #f5f7f9;
  --ink: #17202a;
  --gold: #2f6f96;
  --button-bg: #2f6f96;
  --post-badge-bg: #243746;
  --shared-card-bg: #c4e2f5;
}

body.tone-chrome {
  --cream: #eeeeee;
  --ink: #191919;
  --gold: #4f6f82;
  --button-bg: #4f6f82;
  --post-badge-bg: #2b2b2b;
  --shared-card-bg: #dfe5ea;
}

body.tone-powder {
  --cream: #f5f5f5;
  --ink: #182025;
  --gold: #8d5f78;
  --button-bg: #8d5f78;
  --post-badge-bg: #25313a;
  --shared-card-bg: #e8edf2;
}

body.tone-blush {
  --cream: #fff4fe;
  --ink: #211820;
  --gold: #9b4f78;
  --button-bg: #9b4f78;
  --post-badge-bg: #382332;
  --shared-card-bg: #ead7e8;
}

body.tone-arctic {
  --cream: #f8f4f8;
  --ink: #1b1d22;
  --gold: #7b536d;
  --button-bg: #7b536d;
  --post-badge-bg: #262832;
  --shared-card-bg: #e8edf2;
}

body.tone-dark {
  --cream: #131313;
  --ink: #f4efe5;
  --gold: #d8a940;
  --button-bg: #d8a940;
  --muted: #b8b0a2;
  --post-badge-bg: #d8a940;
  --shared-card-bg: #303b35;
}

body.tone-white {
  --cream: #ffffff;
  --ink: #161616;
  --gold: #bd5f3f;
  --button-bg: #bd5f3f;
  --post-badge-bg: #26332f;
  --shared-card-bg: #e8ece8;
}

body.site-width-comfortable {
  --page: min(1280px, calc(100vw - 96px));
}

body.site-width-full {
  --page: min(1780px, calc(100vw - 64px));
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 26px;
  border: 0;
  border-radius: 12px;
  font: 800 14px/1 var(--sans);
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--button-bg, var(--gold));
  color: #fff;
}

.btn-secondary {
  background: rgba(23, 23, 23, 0.08);
  color: var(--ink);
}

.btn-sm {
  min-height: 42px;
  padding: 0 22px;
  font-size: 14px;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.28s ease, box-shadow 0.28s ease, backdrop-filter 0.28s ease;
}

.site-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--cream) 72%, transparent);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.site-nav.nav-top::before {
  opacity: 0;
}

.site-nav.nav-top {
  box-shadow: none;
  color: #fff;
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.28);
}

.site-nav:not(.nav-top) {
  box-shadow: 0 1px 32px rgba(0,0,0,0.07);
}

.site-nav.nav-top .btn-icon {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav.nav-top .btn-icon:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
}

.site-nav.nav-top .nav-links a,
.site-nav.nav-top .nav-signin {
  opacity: 0.82;
}

.site-nav.nav-top .nav-links a:hover,
.site-nav.nav-top .nav-signin:hover {
  opacity: 1;
}

.site-nav.nav-on-light-hero.nav-top {
  color: var(--ink);
  text-shadow: none;
}

.site-nav.nav-top .nav-inner {
  color: var(--ink);
}

.site-nav.nav-on-light-hero.nav-top .nav-inner,
.site-nav:not(.nav-top) .nav-inner {
  color: var(--ink);
}

.site-nav.nav-on-light-hero.nav-top .btn-icon {
  border-color: color-mix(in srgb, var(--ink) 14%, transparent);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.28);
}

.site-nav.nav-on-light-hero.nav-top .btn-icon:hover {
  border-color: color-mix(in srgb, var(--ink) 24%, transparent);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

.nav-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 76px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-logo,
.footer-logo {
  font-family: var(--gh-font-heading, var(--serif));
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.7px;
}

.nav-logo img {
  max-width: 140px;
  max-height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.nav-links ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  opacity: 0.65;
  transition: opacity 0.16s;
}

.nav-links a:hover { opacity: 1; }

.nav-signin {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  opacity: 0.72;
  transition: opacity 0.16s;
}

.nav-signin:hover { opacity: 1; }

.nav-more {
  display: inline-block;
  transform: translateY(-2px);
  font-size: 22px !important;
  letter-spacing: 2px;
  opacity: 0.5;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s, opacity 0.22s;
}

.btn-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.16s, background 0.16s;
}

.btn-icon:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  border-color: color-mix(in srgb, var(--ink) 24%, transparent);
}

.hero {
  position: relative;
  width: 100%;
  min-height: 710px;
  margin: 0 auto;
  padding: 148px max(40px, calc((100vw - var(--page)) / 2)) 92px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  padding-bottom: 48px;
}

.hero-track {
  display: flex;
  transition: transform 0.55s ease;
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
}

.hero-bg-link {
  display: block;
}

.hero-featured-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--ink);
}

.hero-controls {
  position: absolute;
  right: max(40px, calc((100vw - var(--page)) / 2));
  bottom: 84px;
  z-index: 3;
  display: flex;
  gap: 12px;
}

.hero-control {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--gold);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(to bottom, rgba(247, 243, 234, 0.04) 0%, rgba(247, 243, 234, 0.42) 44%, var(--cream) 92%),
    linear-gradient(to right, var(--cream) 0%, color-mix(in srgb, var(--cream) 82%, transparent) 34%, color-mix(in srgb, var(--cream) 30%, transparent) 100%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  pointer-events: auto;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin: 0;
  padding: 0;
}

.hero-title {
  max-width: 820px;
  font-family: var(--gh-font-heading, var(--serif));
  font-size: clamp(58px, 6.1vw, 112px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -2.2px;
}

.hero-sub {
  width: min(640px, 100%);
  margin: 32px 0 34px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.62;
  letter-spacing: 0;
}

/* =============================================
   Editorial hero style
   ============================================= */

.hero-editorial {
  position: relative;
  width: 100%;
  min-height: clamp(620px, 78vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
  isolation: isolate;
}

.hero-editorial__title {
  max-width: 760px;
  font-family: var(--gh-font-heading, var(--sans));
  font-size: clamp(54px, 6vw, 88px);
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--ink);
  text-wrap: balance;
  text-shadow: none;
}

.hero-editorial__excerpt {
  max-width: 620px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.58;
}

.hero-editorial__cta {
  align-self: flex-start;
  margin-top: 6px;
}

.hero-editorial__shape {
  position: absolute;
  inset: 0 0 0 auto;
  width: 54%;
  z-index: 0;
  background: linear-gradient(124deg, rgba(255, 255, 255, 0) 0 24%, color-mix(in srgb, var(--cream) 76%, #fff) 24.2% 100%);
}

.hero-editorial__intro {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin: 0 auto;
  padding: calc(76px + clamp(42px, 6vw, 88px)) 0 clamp(70px, 9vw, 108px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.84fr);
  align-items: center;
  gap: clamp(44px, 7vw, 104px);
}

.hero-editorial__copy {
  max-width: 680px;
}

.hero-editorial__eyebrow {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-editorial__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 38px;
}

.hero-editorial__link {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.hero-editorial__link::after {
  content: " ->";
}

.hero-editorial__image {
  position: relative;
  margin: clamp(26px, 5vw, 72px) 0 0;
  aspect-ratio: 1.22 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: color-mix(in srgb, var(--cream) 82%, var(--ink));
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: 0 34px 80px rgba(19, 31, 48, 0.18);
}

.hero-editorial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .hero-editorial {
    min-height: auto;
  }

  .hero-editorial__shape {
    width: 100%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0) 0 38%, color-mix(in srgb, var(--cream) 76%, #fff) 38.2% 100%);
  }

  .hero-editorial__intro {
    width: min(100% - 40px, 720px);
    padding: 112px 0 72px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-editorial__title {
    max-width: 680px;
  }

  .hero-editorial__image {
    margin-top: 0;
    aspect-ratio: 1.35 / 1;
  }
}

@media (max-width: 540px) {
  .hero-editorial__intro {
    width: min(100% - 28px, 480px);
    padding: 104px 0 56px;
  }

  .hero-editorial__title {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-editorial__actions {
    gap: 16px 20px;
    margin-top: 30px;
  }

  .hero-editorial__image {
    border-radius: 10px;
  }
}

/* =============================================
   Featured section
   ============================================= */

.featured-section {
  margin-top: 18px;
  padding-bottom: 88px;
}

.featured-grid {
  width: min(1280px, calc(100vw - 80px));
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.featured-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(860px, calc(100vw - 80px));
}

.featured-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1080px, calc(100vw - 80px));
}

.featured-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.featured-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feat-card {
  position: relative;
  width: 100%;
  aspect-ratio: 0.9 / 1;
  overflow: hidden;
  border-radius: 34px 14px 34px 14px;
  background: var(--post-badge-bg);
}

.featured-grid--5 .feat-card {
  aspect-ratio: 1 / 1;
}

.feat-card a,
.post-card-link {
  display: block;
  width: 100%;
  height: 100%;
}

.feat-card img,
.post-card img,
.missed-card img,
.topic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.feat-card:hover img,
.post-card:hover img {
  transform: scale(1.04);
}

.feat-card__overlay,
.post-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.28) 44%, rgba(0, 0, 0, 0.02) 72%);
}

.feat-card__overlay {
  padding: clamp(18px, 1.6vw, 26px);
}

.feat-tag {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.feat-card h3 {
  max-width: 330px;
  font-size: clamp(19px, 1.45vw, 26px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.7px;
}

.feat-author,
.post-meta {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
}

.tag-pills-section {
  position: relative;
  z-index: 4;
  margin-top: -48px;
  padding: 0 0 88px;
}

.tag-pills {
  width: min(1040px, calc(100vw - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tag-pill {
  position: relative;
  min-height: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: var(--tag-color, var(--shared-card-bg));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 22px 48px rgba(7, 23, 34, 0.18);
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tag-pill:hover {
  box-shadow: 0 28px 58px rgba(7, 23, 34, 0.24);
  transform: translateY(-3px);
}

.tag-pill img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
  transform: scale(1.02);
  transition: transform 0.45s ease;
}

.tag-pill:hover img {
  transform: scale(1.08);
}

.tag-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)),
    rgba(0, 0, 0, 0.18);
}

.tag-pill span {
  position: relative;
  z-index: 2;
  padding: 0 16px;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.latest,
.archive-page,
.page-template,
.post-template,
.membership-page,
.documentation-page,
.error-page {
  padding: 0 0 86px;
}

.latest-header,
.posts-grid,
.pagination,
.page-wrap,
.archive-header,
.topic-grid,
.author-grid,
.related,
.footer-inner,
.footer-bottom,
.membership-hero,
.membership-content,
.doc-section-header,
.doc-table {
  width: var(--page);
  margin-left: auto;
  margin-right: auto;
}

.latest-header {
  min-height: 132px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.latest-title,
.archive-header h1,
.page-header h1,
.article-header h1,
.related h2 {
  font-family: var(--gh-font-heading, var(--serif));
  font-size: clamp(48px, 4.2vw, 78px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -1.5px;
}

.latest-title em {
  font-style: italic;
}

.latest-authors {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  margin-top: 52px;
}

.author-stack {
  display: flex;
}

.author-stack img {
  width: 46px;
  height: 46px;
  margin-left: -12px;
  border: 3px solid var(--cream);
  border-radius: 50%;
  object-fit: cover;
}

.author-stack img:first-child {
  margin-left: 0;
}

.latest-authors-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.posts-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 20px;
}

.post-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: var(--post-badge-bg);
  aspect-ratio: 1 / 1.08;
}

.post-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.post-card__overlay {
  padding: 24px;
}

.post-card h3 {
  max-width: 420px;
  font-size: clamp(20px, 1.65vw, 30px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.8px;
}

.post-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 13px;
  padding: 7px 11px;
  border-radius: 8px;
  background: var(--post-badge-bg);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.post-card--text {
  background: var(--post-badge-bg);
}

.post-card__body {
  min-height: 100%;
  padding: 26px;
  background: var(--post-badge-bg);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.post-number {
  margin-top: 40px;
  font-family: var(--gh-font-heading, var(--serif));
  font-size: 28px;
  color: rgba(255, 255, 255, 0.68);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
  color: var(--muted);
  font-weight: 800;
}

.archive-page,
.page-template,
.post-template,
.membership-page,
.documentation-page {
  padding-top: 160px;
}

.archive-header,
.page-header,
.membership-hero,
.doc-section-header {
  margin-bottom: 44px;
}

.archive-header p,
.page-header p,
.article-header p,
.membership-hero p,
.doc-section-header p {
  max-width: 760px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.45;
}

.doc-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.doc-section-header h1 {
  max-width: 900px;
  font-family: var(--gh-font-heading, var(--serif));
  font-size: clamp(48px, 4.2vw, 78px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -1.5px;
}

.doc-table {
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.1);
  border-radius: 24px;
  background: color-mix(in srgb, var(--cream) 86%, #fff);
  box-shadow: 0 24px 70px rgba(32, 35, 31, 0.08);
}

.doc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.doc-row:last-child {
  border-bottom: 0;
}

.doc-head {
  padding: 18px 28px;
  background: rgba(23, 23, 23, 0.04);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.doc-content strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.2;
}

.doc-content p {
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.doc-content code {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(23, 23, 23, 0.07);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}

.doc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--post-badge-bg);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.archive-grid .post-card:nth-child(7n + 1),
.posts-grid .post-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1.1 / 1;
  min-height: 0;
}

.posts-grid .post-card:nth-child(6n + 4),
.archive-grid .post-card:nth-child(6n + 4) {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.topic-grid,
.author-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.topic-card,
.author-card,
.contact-card {
  overflow: hidden;
  border-radius: 18px;
  background: var(--shared-card-bg);
}

.topic-card {
  position: relative;
  min-height: 260px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--tag-color, var(--shared-card-bg));
  color: #fff;
}

.topic-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.75;
}

.topic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
}

.topic-card h2,
.topic-card p,
.topic-card span {
  position: relative;
  z-index: 2;
}

.topic-card h2,
.author-card h2 {
  font-size: 28px;
  line-height: 1.1;
}

.author-card {
  padding: 24px;
  background: var(--shared-card-bg);
}

.author-card img,
.author-archive img,
.article-author img {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  object-fit: cover;
}

.author-card p {
  margin: 14px 0;
  color: var(--muted);
}

.article-hero {
  width: var(--page);
  margin: 0 auto;
}

.article-header {
  max-width: 900px;
  margin-bottom: 42px;
}

.article-meta,
.article-authors,
.article-tags,
.membership-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.article-meta {
  margin-top: 26px;
  color: var(--muted);
  font-weight: 700;
}

.article-image {
  overflow: hidden;
  border-radius: 24px;
  background: var(--post-badge-bg);
}

.article-image img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
}

.article-image figcaption {
  padding: 12px 20px;
  color: var(--muted);
  font-size: 13px;
}

.gh-content {
  width: min(820px, calc(100vw - 48px));
  margin: 56px auto 0;
  font-family: var(--gh-font-body, var(--sans));
  font-size: 20px;
  line-height: 1.78;
}

.gh-content > * + * {
  margin-top: 1.2em;
}

.gh-content h2,
.gh-content h3 {
  font-family: var(--sans);
  line-height: 1.16;
}

.gh-content img,
.kg-image-card img,
.kg-gallery-image img {
  border-radius: 18px;
}

.kg-width-wide {
  width: min(1120px, calc(100vw - 48px));
  max-width: none;
  margin-left: calc((min(820px, calc(100vw - 48px)) - min(1120px, calc(100vw - 48px))) / 2);
}

.kg-width-full {
  width: 100vw;
  max-width: none;
  margin-left: calc((min(820px, calc(100vw - 48px)) - 100vw) / 2);
}

.kg-width-full img {
  width: 100%;
  border-radius: 0;
}

.article-footer {
  width: min(820px, calc(100vw - 48px));
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(23, 23, 23, 0.12);
}

.article-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.related {
  margin-top: 90px;
}

.related h2 {
  margin-bottom: 30px;
  font-size: clamp(48px, 4vw, 72px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
}

.contact-layout .gh-content {
  width: 100%;
  margin: 0;
}

.contact-card {
  padding: 28px;
  height: fit-content;
}

.contact-card h2 {
  margin-bottom: 12px;
  font-size: 30px;
}

.contact-card p {
  margin-bottom: 24px;
  color: var(--muted);
}

.footer {
  padding: 54px 0 0;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 58px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 14px;
  color: var(--muted);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col h5 {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col li + li {
  margin-top: 8px;
}

.footer-col a {
  font-size: 15px;
  font-weight: 600;
}

.footer-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.footer-col a:hover,
.footer-link-button:hover {
  color: var(--gold);
}

.footer-bottom {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.footer-themes-btn {
  padding: 9px 16px;
  border-radius: 10px;
  background: #16a34a;
  color: #fff;
}

.error-page {
  min-height: 70vh;
  padding-top: 180px;
  text-align: center;
}

.error-page h1 {
  font: 400 clamp(90px, 12vw, 180px)/0.9 var(--gh-font-heading, var(--serif));
}

.error-page p {
  margin: 22px 0;
  color: var(--muted);
  font-size: 24px;
}

@media (max-width: 1280px) {
  :root {
    --page: min(1120px, calc(100vw - 64px));
  }

  .hero-content {
    padding-left: 0;
  }

  .hero-title {
    font-size: clamp(56px, 7.4vw, 88px);
  }

  .hero-sub {
    font-size: 24px;
  }
}

@media (max-width: 980px) {
  .nav-inner {
    height: 74px;
    padding: 0 24px;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 24px;
    right: 24px;
    z-index: 20;
    padding: 24px;
    border-radius: 28px;
    background: color-mix(in srgb, var(--cream) 92%, transparent);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .site-nav.menu-open .nav-links {
    display: flex;
  }

  .nav-links ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .nav-actions {
    margin-left: 0;
    gap: 18px;
  }

  .hero {
    min-height: 0;
    padding-top: 110px;
  }

  .hero-controls {
    right: 32px;
    bottom: 52px;
  }

  .hero-content {
    padding: 0;
  }

  .hero-bg {
    height: 100%;
    border-radius: 0;
  }

  .featured-grid,
  .posts-grid,
  .related-grid,
  .topic-grid,
  .author-grid,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .featured-grid {
    width: min(720px, calc(100vw - 48px));
  }

  .featured-grid--3,
  .featured-grid--4,
  .featured-grid--5 {
    grid-template-columns: 1fr 1fr;
  }

  .tag-pills {
    width: min(620px, calc(100vw - 48px));
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .archive-grid .post-card:nth-child(7n + 1),
  .posts-grid .post-card:first-child {
    grid-row: span 1;
    min-height: 0;
  }

  .latest-header,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .doc-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
    padding: 22px;
  }

  .doc-badge {
    justify-self: flex-start;
  }

  .latest-authors {
    align-items: flex-start;
    margin-top: 20px;
  }

  .footer-inner,
  .footer-cols,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --page: calc(100vw - 28px);
  }

  .nav-logo,
  .footer-logo {
    font-size: 32px;
  }

  .nav-signin,
  .btn-icon {
    display: none;
  }

  .btn-primary,
  .btn-secondary {
    min-height: 42px;
    padding: 0 22px;
    font-size: 15px;
  }

  .hero {
    padding: 98px 14px 48px;
  }

  .hero-bg {
    inset: auto;
    inset: 0;
    height: 100%;
  }

  .hero-content {
    width: auto;
    padding: 0;
  }

  .hero-title,
  .archive-header h1,
  .page-header h1,
  .article-header h1,
  .doc-section-header h1 {
    font-size: clamp(48px, 15vw, 72px);
    letter-spacing: -1.4px;
  }

  .hero-sub,
  .archive-header p,
  .page-header p,
  .article-header p,
  .doc-section-header p {
    margin-top: 30px;
    font-size: 20px;
    line-height: 1.55;
  }

  .featured-grid,
  .tag-pills,
  .posts-grid,
  .related-grid,
  .topic-grid,
  .author-grid,
  .footer-inner,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .featured-grid {
    width: var(--page);
    gap: 22px;
  }

  .featured-grid--2,
  .featured-grid--3,
  .featured-grid--4,
  .featured-grid--5 {
    grid-template-columns: 1fr;
  }

  .tag-pill {
    min-height: 82px;
    border-radius: 16px;
    font-size: 17px;
  }

  .post-card {
    min-height: 320px;
  }

  .archive-grid .post-card:nth-child(7n + 1),
  .posts-grid .post-card:first-child,
  .posts-grid .post-card:nth-child(6n + 4),
  .archive-grid .post-card:nth-child(6n + 4) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / 1.08;
  }

  .article-image {
    border-radius: 28px;
  }

  .gh-content {
    font-size: 20px;
  }
}

/* =============================================
   Per-tag post sections
   ============================================= */

.tag-section {
  padding: 48px 0 0;
}

.tag-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 0 var(--gutter, 40px);
}

.tag-section-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}

.tag-section-more {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* =============================================
   Newsletter signup section
   ============================================= */

.newsletter-section {
  margin-top: 80px;
  padding: 72px 40px;
  background: var(--post-badge-bg);
  color: #fff;
}

.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  margin-bottom: 12px;
}

.newsletter-sub {
  font-size: 17px;
  opacity: 0.85;
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-row {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--sans);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  outline: none;
}

.newsletter-input::placeholder { color: rgba(255, 255, 255, 0.6); }
.newsletter-input:focus { background: rgba(255, 255, 255, 0.25); }

.newsletter-success,
.newsletter-error {
  font-size: 14px;
  text-align: center;
}

.newsletter-error { color: #ffa0a0; }

@media (max-width: 600px) {
  .newsletter-row { flex-direction: column; }
  .newsletter-section { padding: 48px 24px; }
}

/* =============================================
   Auth modal
   ============================================= */

.auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
}

.auth-modal.is-open {
  display: flex;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.auth-modal__panel {
  position: relative;
  z-index: 1;
  background: var(--cream);
  border: 1px solid rgba(128, 128, 128, 0.15);
  border-radius: 20px;
  padding: 40px;
  width: min(480px, calc(100vw - 32px));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.auth-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  opacity: 0.5;
  padding: 6px;
  border-radius: 6px;
  display: flex;
}

.auth-modal__close:hover { opacity: 1; }

.auth-modal__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  background: rgba(128, 128, 128, 0.1);
  border-radius: 10px;
  padding: 4px;
}

.auth-tab {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: none;
  color: var(--ink);
  opacity: 0.6;
  transition: all 0.18s;
}

.auth-tab--active {
  background: var(--cream);
  opacity: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.auth-modal__title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.auth-modal__sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
}

.auth-panel--hidden { display: none; }

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(128, 128, 128, 0.2);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--sans);
  background: transparent;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s;
}

.auth-input:focus { border-color: var(--gold); }

.auth-submit {
  width: 100%;
  padding: 14px;
  font-size: 15px;
}

.auth-success { color: #3b8c5c; font-size: 14px; }
.auth-error   { color: #c0392b; font-size: 14px; }

.auth-modal__legal {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* =============================================
   Membership tier cards
   ============================================= */

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: var(--page);
  margin: 48px auto;
  padding: 0 40px;
}

.tier-card {
  background: var(--cream);
  border: 1.5px solid rgba(128, 128, 128, 0.15);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tier-card--paid {
  border-color: var(--gold);
  background: var(--post-badge-bg);
  color: #fff;
}

.tier-card__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.tier-card__desc {
  font-size: 15px;
  opacity: 0.8;
}

.tier-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.tier-card__amount {
  font-size: 36px;
  font-weight: 700;
  font-family: var(--sans);
}

.tier-card__period {
  font-size: 14px;
  opacity: 0.7;
}

.tier-card__price--free {
  font-size: 28px;
  font-weight: 700;
  font-family: var(--sans);
}

.tier-card__benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  margin-top: auto;
}

.tier-card__benefits li::before {
  content: "✓  ";
  font-weight: 700;
  color: var(--gold);
}

.tier-card--paid .tier-card__benefits li::before { color: #fff; }

.membership-account {
  text-align: center;
  padding: 16px 0 48px;
}

/* =============================================
   Locked-content member CTA
   ============================================= */

.locked-cta {
  margin: 48px auto;
  max-width: var(--page);
  padding: 0 40px;
}

.locked-cta__inner {
  background: var(--post-badge-bg);
  color: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
}

.locked-cta__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 12px;
}

.locked-cta__title {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  margin-bottom: 12px;
}

.locked-cta__desc {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 28px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.locked-cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   Post reaction row
   ============================================= */

.reaction-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  max-width: var(--page);
  margin: 40px auto 0;
  padding: 24px 40px;
  border-top: 1px solid rgba(128, 128, 128, 0.15);
}

.reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid rgba(128, 128, 128, 0.2);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  transition: all 0.18s;
}

.reaction-btn svg {
  flex: 0 0 auto;
}

.reaction-count {
  min-width: 22px;
  padding: 3px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.reaction-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.reaction-btn--active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.reaction-btn--active .reaction-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* =============================================
   Share modal
   ============================================= */

.share-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.share-modal.is-open { display: flex; }

.share-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  cursor: pointer;
}

.share-modal-card {
  position: relative;
  z-index: 1;
  background: var(--cream);
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 20px;
  padding: 34px;
  width: min(620px, calc(100vw - 32px));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.share-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  cursor: pointer;
  color: var(--ink);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.share-modal-close:hover { background: color-mix(in srgb, var(--ink) 11%, transparent); }

.share-modal-close svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.share-modal-card h2 {
  max-width: 520px;
  margin-bottom: 22px;
  padding-right: 34px;
  font-family: var(--gh-font-heading, var(--serif));
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.04;
  color: var(--ink);
}

.share-preview {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--cream) 86%, #fff);
}

.share-preview img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.share-preview-no-image {
  align-items: flex-start;
}

.share-preview strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--ink);
}

.share-preview p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.share-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-modal-actions a,
.share-modal-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1.5px solid rgba(128, 128, 128, 0.2);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.18s;
}

.share-modal-actions a:hover,
.share-modal-actions button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* =============================================
   Comments modal
   ============================================= */

.comments-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
}

.comments-modal.is-open { display: flex; }

.comments-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.comments-modal__panel {
  position: relative;
  z-index: 1;
  background: var(--cream);
  border-radius: 20px;
  width: min(640px, calc(100vw - 32px));
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.comments-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.15);
  position: sticky;
  top: 0;
  background: var(--cream);
  z-index: 1;
}

.comments-modal__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.comments-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  opacity: 0.5;
  padding: 6px;
  border-radius: 6px;
  display: flex;
}

.comments-modal__close:hover { opacity: 1; }

.comments-modal__body { padding: 24px 28px; }

.comments-gate {
  padding: 48px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.comments-gate p { font-size: 16px; color: var(--muted); }

.comments-gate__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* =============================================
   Recommendations page
   ============================================= */

.recommendations-grid {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 40px 80px;
}

/* =============================================
   Secondary footer nav
   ============================================= */

.footer-secondary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: center;
}

.footer-secondary-nav a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.footer-secondary-nav a:hover { color: var(--ink); }
