/* Prajvis Ghost theme — pixel-aligned with prajvis-new-landing */

:root {
  --radius: 0.75rem;
  --background: #FAFAF8;
  --foreground: #2A2826;
  --card: #FFFFFF;
  --card-foreground: #2A2826;
  --primary: #242424;
  --primary-foreground: #FAFAF8;
  --secondary: #F5F3EF;
  --secondary-foreground: #2A2826;
  --muted: #ECEAE4;
  --muted-foreground: #78736E;
  --accent: #C4956A;
  --accent-foreground: #FFFFFF;
  --border: #E8E5DF;
  --ring: #2A2826;
  --footer: #1E1E1E;
  --footer-foreground: #F5F3EF;

  --font-sans: "Geist Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Literata", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-logo: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;

  /* max-w-7xl = 80rem */
  --container: 80rem;
  --article: 42rem;
  /* SiteNav: bar is h-20 (5rem), spacer is h-16 (4rem) — match both or tabs jump ~16px */
  --header-h: 5rem;
  --header-spacer: 4rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Prevent ~15px horizontal jump when scrollbar appears/disappears between pages */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--gh-font-body, var(--font-sans));
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--gh-font-heading, var(--font-serif));
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--foreground);
}

p {
  max-width: 75ch;
}

code, kbd, pre, samp {
  font-family: var(--font-mono);
}

::selection {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--foreground);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Layout — max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 */

.container,
.site-nav__shell,
.site-footer__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem; /* px-4 */
}

@media (min-width: 640px) {
  .container,
  .site-nav__shell,
  .site-footer__inner {
    padding-inline: 1.5rem; /* sm:px-6 */
  }
}

@media (min-width: 1024px) {
  .container,
  .site-nav__shell,
  .site-footer__inner {
    padding-inline: 2rem; /* lg:px-8 */
  }
}

.container--narrow {
  max-width: var(--article);
}

.container--wide {
  max-width: 60rem;
}

.site-main {
  flex: 1 0 auto;
  min-height: 40vh;
}

/* Buttons — match SiteNav / homepage CTA pills */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.25rem; /* h-9 */
  padding: 0 1.25rem; /* px-5 */
  border-radius: 9999px;
  border: 1px solid transparent;
  font-family: "Geist Sans", var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn--nav {
  height: 2.25rem;
  padding: 0 1.25rem;
}

.btn--lg {
  height: 3rem; /* h-12 */
  padding: 0 2.5rem; /* px-10 */
  font-size: 1rem;
}

.btn--mobile {
  width: 100%;
  height: 2.75rem; /* h-11 */
  padding: 0 1rem;
}

.btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn--primary:hover {
  background: color-mix(in srgb, var(--primary) 90%, transparent);
  color: var(--primary-foreground);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

.btn--outline {
  background: color-mix(in srgb, var(--background) 80%, transparent);
  border-color: color-mix(in srgb, var(--border) 60%, transparent);
  color: var(--foreground);
}

.btn--outline:hover {
  background: color-mix(in srgb, var(--secondary) 80%, transparent);
  color: var(--foreground);
}

/* Logo — exact Logo size="lg" metrics from logo.tsx
 * icon: 4.5rem / 72px, text-2xl, -ml-3, Space Grotesk 500
 * Fixed box height so font load cannot shift the icon vertically.
 */

.logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  height: 4.5rem;
  user-select: none;
  transition: opacity 0.2s ease;
}

a.logo:hover {
  opacity: 0.8;
}

.logo__icon-wrap {
  position: relative;
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  flex-shrink: 0;
}

.logo__icon {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  display: block;
}

.logo__wordmark {
  font-family: "Space Grotesk", var(--font-logo), ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
  font-size: 1.5rem; /* text-2xl */
  letter-spacing: 0.04em;
  margin-left: -0.75rem; /* -ml-3 */
  line-height: 1;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.logo--light .logo__wordmark {
  color: color-mix(in srgb, var(--foreground) 80%, transparent);
}

.logo--dark .logo__wordmark {
  color: rgba(255, 255, 255, 0.9);
}

.logo--footer {
  margin-bottom: -0.75rem; /* -mb-3 */
}

/* Header / Nav — SiteNav */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
}

.site-nav {
  position: relative;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 20%, transparent);
  background: color-mix(in srgb, var(--background) 95%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled .site-nav {
  border-bottom-color: color-mix(in srgb, var(--border) 40%, transparent);
  background: color-mix(in srgb, var(--background) 98%, transparent);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.site-nav__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 2.5rem; /* gap-10 */
  min-width: 0;
}

.site-nav__links {
  display: none;
  align-items: center;
  gap: 1.75rem; /* space-x-7 */
  font-family: "Geist Sans", var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem; /* lock metrics — no expand/contract on font settle */
  color: var(--muted-foreground);
}

.site-nav__links a:hover {
  color: var(--foreground);
}

.site-nav__actions {
  display: none;
  align-items: center;
  gap: 0.75rem; /* space-x-3 */
}

.site-nav__signin {
  font-family: "Geist Sans", var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  color: var(--muted-foreground);
}

.site-nav__signin:hover {
  color: var(--foreground);
}

.site-nav__signin--center {
  text-align: center;
  font-size: 1rem;
  display: block;
  padding: 0.25rem 0;
}

.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.625rem;
  border: 0;
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  border-radius: 0.375rem;
}

.site-nav__toggle:hover {
  color: var(--foreground);
}

.site-nav__icon-close {
  display: none;
}

.site-nav__toggle[aria-expanded="true"] .site-nav__icon-menu {
  display: none;
}

.site-nav__toggle[aria-expanded="true"] .site-nav__icon-close {
  display: block;
}

.site-nav__mobile {
  display: block;
  position: absolute;
  top: 4rem; /* top-[64px] */
  left: 0;
  right: 0;
  background: color-mix(in srgb, var(--background) 98%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 40%, transparent);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.25s ease;
}

.site-nav__mobile[hidden] {
  display: none;
}

.site-nav__mobile-inner {
  padding: 1rem;
  display: grid;
  gap: 0.25rem;
}

.site-nav__mobile a:not(.btn) {
  display: block;
  padding: 0.625rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.site-nav__mobile a:not(.btn):hover {
  color: var(--foreground);
}

.site-nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
}

.site-header-spacer {
  height: var(--header-spacer);
  flex-shrink: 0;
}

/* md: 768px — matches Tailwind md:flex in SiteNav */
@media (min-width: 768px) {
  .site-nav__links,
  .site-nav__actions {
    display: flex;
  }

  .site-nav__toggle,
  .site-nav__mobile {
    display: none !important;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page heroes */

.page-hero {
  position: relative;
  padding: 5rem 0; /* py-20 */
  overflow: hidden;
  background: linear-gradient(
    to bottom right,
    var(--background),
    color-mix(in srgb, var(--secondary) 20%, transparent),
    color-mix(in srgb, var(--muted) 30%, transparent)
  );
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(232, 228, 224, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232, 228, 224, 0.5) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(0deg, var(--background), rgba(254, 255, 254, 0.6));
  -webkit-mask-image: linear-gradient(0deg, var(--background), rgba(254, 255, 254, 0.6));
}

@media (max-width: 768px) {
  .page-hero::before {
    background-image: none;
  }
}

.page-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero--compact {
  padding: 4rem 0;
}

.page-hero--compact .container {
  text-align: left;
}

@media (min-width: 1024px) {
  .page-hero {
    padding: 8rem 0; /* lg:py-32 */
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow a {
  color: inherit;
}

.page-hero h1 {
  margin: 0 auto 1rem;
  max-width: 48rem;
  font-size: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); /* ~text-4xl → 6xl */
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-hero--compact h1 {
  margin-left: 0;
  font-size: clamp(1.875rem, 3vw + 0.5rem, 3rem);
  font-weight: 500;
}

.lede {
  margin: 0 auto;
  font-size: 1.25rem; /* text-xl */
  line-height: 1.625;
  color: var(--muted-foreground);
  max-width: 56rem;
}

.page-hero--compact .lede {
  margin-left: 0;
  font-size: 1.125rem;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.section {
  padding: 3.5rem 0;
}

.section--muted {
  background: color-mix(in srgb, var(--secondary) 40%, var(--background));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.25rem);
  font-weight: 500;
}

.section-header p {
  margin: 0;
  color: var(--muted-foreground);
}

.section-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .section-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.section-tile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.section-tile:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  box-shadow: 0 10px 15px -3px rgba(42, 40, 38, 0.06);
}

.section-tile h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 500;
}

.section-tile p {
  margin: 0;
  color: var(--muted-foreground);
  flex: 1;
}

.section-tile__cta {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

/* Post cards */

.post-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .post-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.post-card:hover {
  box-shadow: 0 10px 15px -3px rgba(42, 40, 38, 0.08);
}

.post-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.post-card__media {
  aspect-ratio: 16 / 9;
  background: var(--secondary);
  overflow: hidden;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
}

.post-card__tag {
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.post-card__title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 500;
}

.post-card__excerpt {
  margin: 0;
  flex: 1;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2rem;
  text-align: center;
  color: var(--muted-foreground);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--secondary);
}

.empty-state code {
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
  background: var(--muted);
}

/* Pagination */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.pagination__status {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Article */

.article__header {
  padding: 3.5rem 0 2rem;
}

.article__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.5vw + 0.5rem, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.article__dek {
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.article__author {
  font-weight: 500;
  color: var(--foreground);
}

.article__feature {
  margin: 0 0 2.5rem;
}

.article__feature img {
  width: 100%;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--border);
}

.article__feature figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
}

.article__footer {
  padding: 0 0 3rem;
}

.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.tag-pill:hover {
  color: var(--foreground);
}

/* Ghost content */

.gh-content {
  padding-bottom: 3rem;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.gh-content > * + * {
  margin-top: 1.25em;
}

.gh-content h2,
.gh-content h3,
.gh-content h4 {
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.gh-content h2 { font-size: 1.65rem; }
.gh-content h3 { font-size: 1.3rem; }
.gh-content h4 { font-size: 1.1rem; }

.gh-content a {
  color: color-mix(in srgb, var(--accent) 85%, var(--foreground));
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.gh-content a:hover {
  color: var(--foreground);
}

.gh-content strong {
  font-weight: 600;
}

.gh-content ul,
.gh-content ol {
  padding-left: 1.25em;
}

.gh-content li + li {
  margin-top: 0.35em;
}

.gh-content blockquote {
  margin: 1.5em 0;
  padding: 0.25em 0 0.25em 1.1em;
  border-left: 3px solid var(--accent);
  color: var(--muted-foreground);
  font-style: italic;
}

.gh-content hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5em 0;
}

.gh-content figure {
  margin: 2em 0;
}

.gh-content figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  text-align: center;
}

.gh-content :not(pre) > code {
  font-size: 0.875em;
  padding: 0.15em 0.4em;
  border-radius: 0.3rem;
  background: var(--muted);
  color: var(--foreground);
}

.gh-content pre {
  margin: 1.5em 0;
  padding: 1.1rem 1.25rem;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #1E1E1E;
  color: #F5F3EF;
  font-size: 0.875rem;
  line-height: 1.55;
}

.gh-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.gh-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.gh-content th,
.gh-content td {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  text-align: left;
}

.gh-content th {
  background: var(--secondary);
  font-weight: 600;
}

/* CTA — homepage final CTA (light) */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 5rem 0; /* py-20 */
}

@media (min-width: 1024px) {
  .cta-band {
    padding: 7rem 0; /* lg:py-28 */
  }
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 25%, transparent 70%);
}

.cta-band__fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent,
    color-mix(in srgb, var(--background) 40%, transparent),
    var(--background)
  );
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 48rem; /* max-w-3xl */
  margin-inline: auto;
  padding-inline: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .cta-band__inner {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .cta-band__inner {
    padding-inline: 2rem;
  }
}

.cta-band h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.875rem, 3vw + 0.5rem, 3.25rem);
  font-weight: 500;
  color: var(--foreground);
}

.cta-band p {
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  max-width: 36rem;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cta-band__actions {
    flex-direction: row;
  }
}

/* Footer — SiteFooter grid md:grid-cols-12 */

.site-footer {
  background: var(--footer);
  color: var(--footer-foreground);
  padding: 4rem 0 0; /* py-16 top */
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2rem;
  }

  .site-footer__brand {
    grid-column: span 4;
  }

  .site-footer__col--platform {
    grid-column: 7 / span 2;
  }

  .site-footer__col:not(.site-footer__col--platform) {
    grid-column: span 2;
  }
}

.site-footer__tagline {
  margin: 0.5rem 0 1.25rem; /* mb-5-ish */
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.4);
  max-width: 22rem;
}

.site-footer__col h3 {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.625rem; /* space-y-2.5 */
}

.site-footer__col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.15s ease;
}

.site-footer__col a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__bottom {
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.2);
}

/* Ghost koenig cards */

.kg-width-wide {
  max-width: min(100vw - 2rem, 60rem);
  margin-left: 50%;
  transform: translateX(-50%);
}

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

.kg-card {
  margin: 1.75em 0;
}

.kg-image {
  margin: 0 auto;
}

.kg-bookmark-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.kg-bookmark-container {
  display: flex;
  text-decoration: none !important;
  color: inherit !important;
}

.kg-bookmark-content {
  flex: 1;
  padding: 1rem 1.15rem;
  min-width: 0;
}

.kg-bookmark-title {
  font-family: var(--font-serif);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.kg-bookmark-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kg-bookmark-metadata {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.kg-bookmark-thumbnail {
  width: 8rem;
  flex-shrink: 0;
}

.kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kg-code-card {
  margin: 1.5em 0;
}

.kg-code-card pre {
  margin: 0;
}

@media (max-width: 640px) {
  .kg-bookmark-container {
    flex-direction: column;
  }

  .kg-bookmark-thumbnail {
    width: 100%;
    height: 10rem;
  }
}
