/* =========================================================================
   madeforghost — screen.css
   Light-first, editorial, precision-engineered.
   ========================================================================= */

/* ------------------------------------------------------------------------- */
/* 1. Tokens & Custom Properties                                             */
/* ------------------------------------------------------------------------- */
:root {
  /* Fonts — grotesk leads (UI confidence); serif is an editorial accent only.
     Both fall back to the theme's pairing when no Ghost custom font is set. */
  --font-display: var(--gh-font-heading, "Space Grotesk"), "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: var(--gh-font-body, "Plus Jakarta Sans"), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Colours */
  --color-bg:            #FFFFFF;
  --color-bg-subtle:     #F8F8F7;
  --color-bg-muted:      #F2F2F0;
  --color-text:          #0E0E0D;
  --color-text-muted:    #6B7280;
  --color-text-faint:    #9CA3AF;
  --color-border:        #E5E5E3;
  --color-border-subtle: #EFEFED;
  --color-accent:        var(--ghost-accent-color, #1A1A1A);
  --color-accent-fg:     #FFFFFF;
  --color-surface:       #FFFFFF;
  --color-surface-raised:#F8F8F7;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm:  0 2px 6px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 16px 40px rgba(0,0,0,0.10);
  --shadow-card:       0 1px 3px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 8px 28px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.07);

  /* Radii */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-full:9999px;

  /* Transitions */
  --transition-fast: 120ms ease;
  --transition-base: 220ms ease;
  --transition-slow: 380ms ease;

  /* Containers */
  --container:        1200px;
  --container-narrow: 720px;
  --container-wide:   1400px;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* Spacing — 8px grid (4px base steps) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Misc */
  --header-height: 72px;
}

/* ------------------------------------------------------------------------- */
/* 2. Reset & Base                                                           */
/* ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

img { height: auto; }

input, button, textarea, select { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: none; padding: 0; }

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

ul, ol { margin: 0; padding: 0; }

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-8) 0;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--color-text);
  color: var(--color-bg);
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  background: var(--color-accent);
  color: var(--color-accent-fg);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: top var(--transition-fast);
}
.skip-link:focus { top: var(--space-4); }

/* ------------------------------------------------------------------------- */
/* 3. Typography                                                             */
/* ------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-4);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

.font-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.font-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
}

.text-muted  { color: var(--color-text-muted); }
.text-faint  { color: var(--color-text-faint); }

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

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

a { transition: color var(--transition-fast); }

/* ------------------------------------------------------------------------- */
/* 4. Layout & Grid Utilities                                                */
/* ------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
  width: 100%;
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide   { max-width: var(--container-wide); }

.section {
  padding-block: var(--space-24);
}
.section--tight { padding-block: var(--space-16); }

.section__head {
  max-width: 640px;
  margin: 0 auto var(--space-12);
  text-align: center;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-4xl);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
}
.section__sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin: 0;
}

.grid { display: grid; gap: var(--space-8); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.main { min-height: 60vh; }

/* ------------------------------------------------------------------------- */
/* 5. Buttons                                                                */
/* ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), transform var(--transition-fast),
              opacity var(--transition-fast), box-shadow var(--transition-fast);
}
.btn:active { transform: translateY(1px); }

.btn--accent {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  border-color: var(--color-accent);
}
.btn--accent:hover { opacity: 0.88; }

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--outline:hover {
  border-color: var(--color-text);
  background: var(--color-bg-subtle);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  padding-inline: var(--space-2);
  border-color: transparent;
}
.btn--ghost .btn__arrow { transition: transform var(--transition-fast); }
.btn--ghost:hover .btn__arrow { transform: translateX(4px); }

.btn--sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }

.btn--block { display: flex; width: 100%; }

/* Plain text-link with animated arrow */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.text-link .arrow { transition: transform var(--transition-fast); }
.text-link:hover .arrow { transform: translateX(4px); }
.text-link:hover { color: var(--color-accent); }

/* ------------------------------------------------------------------------- */
/* 6. Navigation                                                             */
/* ------------------------------------------------------------------------- */
.site-header {
  width: 100%;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid transparent;
  transition: background var(--transition-base), border-color var(--transition-base),
              transform var(--transition-base), backdrop-filter var(--transition-base);
}
[data-header="sticky"] .site-header {
  position: sticky;
  top: 0;
}
[data-header="transparent"] .site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom-color: transparent;
}
[data-header="static"]  .site-header { position: relative; }

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.site-header.is-hidden { transform: translateY(-100%); }

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
  gap: var(--space-4);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.nav__logo { max-height: 32px; width: auto; }

.nav__menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.nav__link:hover { color: var(--color-text); }

.nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
}

.scheme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.scheme-toggle:hover { color: var(--color-text); border-color: var(--color-text); }
.scheme-toggle svg { width: 18px; height: 18px; }
.scheme-toggle .icon-moon { display: none; }
[data-scheme="dark"] .scheme-toggle .icon-sun { display: none; }
[data-scheme="dark"] .scheme-toggle .icon-moon { display: block; }

/* Hamburger */
.nav__hamburger {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}
.nav__hamburger svg { width: 20px; height: 20px; }

/* Mobile overlay */
.nav__overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  visibility: hidden;
}
.nav-open .nav__overlay { transform: translateX(0); visibility: visible; }
.nav-open { overflow: hidden; }

.nav__overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.nav__overlay-close {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text);
}
.nav__overlay-close svg { width: 20px; height: 20px; }
.nav__overlay-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-8);
}
.nav__overlay-link {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-text);
  padding-block: var(--space-2);
}
.nav__overlay-cta { margin-top: var(--space-8); }

/* ------------------------------------------------------------------------- */
/* 7. Announcement Bar                                                       */
/* ------------------------------------------------------------------------- */
.announcement-bar {
  position: relative;
  background: var(--color-text);
  color: var(--color-bg);
  text-align: center;
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-12);
}
.announcement-bar__link {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
}
.announcement-bar__link:hover { text-decoration: underline; }
.announcement-bar__close {
  position: absolute;
  right: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  color: inherit;
  font-size: var(--text-xl);
  line-height: 1;
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}
.announcement-bar__close:hover { opacity: 1; }

/* ------------------------------------------------------------------------- */
/* 8. Hero — Dark cinematic stage (shared)                                   */
/* ------------------------------------------------------------------------- */
.hero {
  --h-bg:     #0A0A0B;
  --h-surface:#121214;
  --h-text:   #F7F7F5;
  --h-muted:  #A1A1AA;
  --h-faint:  #6E6E78;
  --h-border: rgba(255, 255, 255, 0.10);
  --h-glow:   var(--ghost-accent-color, #6E5CF6);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--h-bg);
  color: var(--h-text);
}
.hero .container { position: relative; z-index: 2; }

/* Ambient signature lighting */
.hero__glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__glow::before,
.hero__glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.hero__glow::before {
  width: 620px; height: 620px;
  left: 50%; top: -8%;
  transform: translateX(-50%);
  background: var(--h-glow);
  opacity: 0.28;
}
.hero__glow::after {
  width: 460px; height: 460px;
  right: -4%; top: 24%;
  background: #2D6BE0;
  opacity: 0.16;
}
/* Faint precision grid */
.hero__grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 35%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 35%, transparent 80%);
}
/* Melt the dark hero into the light body below */
.hero__fade {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 180px; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--color-bg) 92%);
}

/* Intro copy */
.hero__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--h-muted);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--h-border);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-7xl);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--h-text);
  margin-bottom: var(--space-5);
}
.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero__sub {
  font-size: var(--text-xl);
  line-height: 1.55;
  color: var(--h-muted);
  max-width: 560px;
  margin: 0 auto var(--space-8);
}
.hero__actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}
/* Hero buttons must pop on dark */
.hero .btn--accent {
  background: var(--h-text);
  color: #0A0A0B;
  border-color: var(--h-text);
}
.btn--hero-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--h-text);
  border: 1px solid var(--h-border);
}
.btn--hero-ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.28);
}

/* ------------------------------------------------------------------------- */
/* 8b. Hero — Centered (flagship): floating product stage                    */
/* ------------------------------------------------------------------------- */
.hero--centered {
  text-align: center;
  padding-top: var(--space-20);
  padding-bottom: var(--space-32);
}
[data-header="transparent"] .hero--centered { padding-top: calc(var(--header-height) + var(--space-12)); }
.hero__intro { max-width: 760px; margin-inline: auto; }

/* Transparent header floats over the dark hero — keep it legible */
[data-header="transparent"] .site-header:not(.is-scrolled) .nav__brand,
[data-header="transparent"] .site-header:not(.is-scrolled) .nav__link { color: rgba(255, 255, 255, 0.92); }
[data-header="transparent"] .site-header:not(.is-scrolled) .nav__link:hover { color: #fff; }
[data-header="transparent"] .site-header:not(.is-scrolled) .scheme-toggle,
[data-header="transparent"] .site-header:not(.is-scrolled) .nav__hamburger {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.18);
}
[data-header="transparent"] .site-header:not(.is-scrolled) .nav__cta {
  background: #F7F7F5; color: #0A0A0B; border-color: #F7F7F5;
}

.hero__stage {
  position: relative;
  z-index: 2;
  margin-top: var(--space-16);
  height: 420px;
}
.hero__cards {
  position: relative;
  width: min(760px, 92%);
  margin-inline: auto;
  height: 100%;
}
.hcard {
  position: absolute;
  top: 0;
  --px: 0px; --py: 0px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--h-surface);
  border: 1px solid var(--h-border);
  box-shadow: 0 40px 90px -24px rgba(0, 0, 0, 0.65);
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.hcard--front {
  left: 50%;
  width: min(560px, 100%);
  transform: translateX(-50%) translate3d(var(--px), var(--py), 0);
  z-index: 3;
}
.hcard--side {
  width: 360px;
  top: 38px;
  opacity: 0.62;
  filter: saturate(0.85);
  z-index: 1;
}
.hcard--left  { left: -2%;  transform: rotate(-3deg) scale(0.9) translate3d(var(--px), var(--py), 0); transform-origin: bottom right; }
.hcard--right { right: -2%; transform: rotate(3deg) scale(0.9) translate3d(var(--px), var(--py), 0);  transform-origin: bottom left; }

.hcard__bar {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--h-border);
}
.hcard__bar .hdot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.hdot.r { background: #FF5F57; } .hdot.y { background: #FEBC2E; } .hdot.g { background: #28C840; }
.hcard__url {
  flex: 1; margin-left: var(--space-2);
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid var(--h-border);
  border-radius: var(--radius-full);
  padding: 2px var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--h-faint);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hcard__shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #1A1A1D; }
.hcard__shot img { width: 100%; height: 100%; object-fit: cover; }
.hcard__mock { position: absolute; inset: 0; padding: var(--space-4); }
.hcard__mock-bar { height: 8px; width: 42%; border-radius: 3px; background: var(--h-glow); opacity: 0.8; margin-bottom: var(--space-4); }
.hcard__mock-ln { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.10); margin-bottom: var(--space-2); }
.hcard__mock-blk { height: 64px; border-radius: 6px; background: rgba(255,255,255,0.05); border: 1px solid var(--h-border); margin-top: var(--space-4); }

/* ------------------------------------------------------------------------- */
/* 9. Hero — Split variant                                                   */
/* ------------------------------------------------------------------------- */
.hero--split { padding-block: var(--space-20) var(--space-24); }
[data-header="transparent"] .hero--split { padding-top: calc(var(--header-height) + var(--space-12)); }
.hero--split .hero__grid {
  display: grid;
  grid-template-columns: 52fr 48fr;
  align-items: center;
  gap: var(--space-16);
}
.hero--split .hero__intro { text-align: left; margin-inline: 0; }
.hero--split .hero__sub { margin-inline: 0; }
.hero--split .hero__actions { justify-content: flex-start; }
.hero--split .hero__stage { height: auto; margin-top: 0; }
.hero--split .hcard--front { position: relative; left: auto; transform: none; width: 100%; }

/* ------------------------------------------------------------------------- */
/* 10. Hero — Statement variant                                              */
/* ------------------------------------------------------------------------- */
.hero--statement {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding-block: var(--space-16);
}
.hero--statement .hero__intro { max-width: var(--container); text-align: left; margin-inline: 0; }
.hero--statement .hero__title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-6);
}
.hero--statement .hero__rule {
  border: none;
  border-top: 1px solid var(--h-border);
  margin: var(--space-8) 0 var(--space-6);
}
.hero--statement .hero__sub { margin: 0 0 var(--space-6); text-align: left; max-width: 540px; }
.hero--statement .text-link { color: var(--h-text); }
.hero--statement .text-link:hover { color: var(--h-muted); }

/* Choreographed hero entrance */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-stage-rise {
  from { opacity: 0; transform: translateY(40px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.hero__eyebrow,
.hero__title,
.hero__sub,
.hero__actions,
.hero__rule { animation: hero-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero__title   { animation-delay: 0.06s; }
.hero__sub     { animation-delay: 0.14s; }
.hero__actions { animation-delay: 0.22s; }
.hero__rule    { animation-delay: 0.14s; }
.hero__stage   { animation: hero-stage-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.30s both; }

/* ------------------------------------------------------------------------- */
/* 11. Stats Bar                                                             */
/* ------------------------------------------------------------------------- */
.stats-bar {
  background: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-10);
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-bar__item {
  text-align: center;
  padding-inline: var(--space-4);
  border-left: 1px solid var(--color-border);
}
.stats-bar__item:first-child { border-left: none; }
.stats-bar__value {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-1);
}
.stats-bar__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ------------------------------------------------------------------------- */
/* 12. Theme Card (& Browser Chrome)                                         */
/* ------------------------------------------------------------------------- */
.theme-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.theme-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.theme-card__browser { display: block; color: inherit; }

.theme-card__chrome {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--color-bg-muted);
  border-bottom: 1px solid var(--color-border);
}
.theme-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.theme-card__dot--red    { background: #FF5F57; }
.theme-card__dot--yellow { background: #FEBC2E; }
.theme-card__dot--green  { background: #28C840; }
.theme-card__url-bar {
  flex: 1;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 2px var(--space-3);
  margin-left: var(--space-2);
  overflow: hidden;
}
.theme-card__url-text {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.theme-card__image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-muted);
}
.theme-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.theme-card:hover .theme-card__image { transform: scale(1.03); }
.theme-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  background: var(--color-bg-muted);
}
.theme-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 13, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.theme-card:hover .theme-card__overlay { opacity: 1; }
.theme-card__preview-cta {
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.theme-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
}
.theme-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.theme-card__category {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.theme-card__price {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}
.theme-card__title {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.theme-card__title a { color: var(--color-text); }
.theme-card__title a:hover { color: var(--color-accent); }
.theme-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}
.theme-card__footer {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.theme-card__footer .btn { flex: 1; }

/* Compact theme card (related themes) */
.theme-card--compact .theme-card__body { padding: var(--space-3) var(--space-1) 0; }
.theme-card--compact .theme-card__title { font-size: var(--text-base); }

/* ------------------------------------------------------------------------- */
/* 13. Post Card                                                             */
/* ------------------------------------------------------------------------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}
.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--color-border);
}
.post-card__image-link { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-bg-muted); }
.post-card__image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.post-card:hover .post-card__image { transform: scale(1.03); }
.post-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  flex: 1;
}
.post-card__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.post-card__title {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.post-card__title a { color: var(--color-text); }
.post-card__title a:hover { color: var(--color-accent); }
.post-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  flex: 1;
}
.post-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-2);
}
.post-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

/* ------------------------------------------------------------------------- */
/* 14. Page Sections (Featured, Marquee, Teaser, Newsletter)                 */
/* ------------------------------------------------------------------------- */
/* Featured themes */
.featured__foot { text-align: center; margin-top: var(--space-10); }

/* Marquee */
.marquee-section {
  padding-block: var(--space-16);
  border-block: 1px solid var(--color-border);
  background: var(--color-bg);
}
.marquee-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.marquee-label {
  flex-shrink: 0;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.marquee {
  overflow: hidden;
  position: relative;
  flex: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
}
.marquee__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
}

/* Custom Builds Teaser */
.teaser {
  background: var(--color-bg-subtle);
  padding-block: var(--space-24);
}
.teaser__grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: var(--space-16);
  align-items: center;
}
.teaser__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}
.teaser__text {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  max-width: 48ch;
}

/* Code snippet card */
.code-card {
  background: var(--color-text);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.code-card__bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.code-card__chip {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
}
.code-card__dots { display: inline-flex; gap: 6px; margin-right: var(--space-2); }
.code-card__dots span { width: 10px; height: 10px; border-radius: 50%; }
.code-card__dots span:nth-child(1) { background: #FF5F57; }
.code-card__dots span:nth-child(2) { background: #FEBC2E; }
.code-card__dots span:nth-child(3) { background: #28C840; }
.code-card pre {
  margin: 0;
  padding: var(--space-6);
  overflow-x: auto;
}
.code-card code {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.7;
  color: #E6E6E6;
  white-space: pre;
}
.code-card .tok-tag  { color: #79B8FF; }
.code-card .tok-attr { color: #FFAB70; }
.code-card .tok-str  { color: #9ECBFF; }
.code-card .tok-mut  { color: #B392F0; }

/* Newsletter CTA */
.newsletter {
  background: var(--color-bg-subtle);
  text-align: center;
  padding-block: var(--space-24);
}
.newsletter__inner { max-width: 560px; margin-inline: auto; }
.newsletter__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-4xl);
  margin-bottom: var(--space-3);
}
.newsletter__sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

/* ------------------------------------------------------------------------- */
/* 14b. Proof — logo strip, performance, build-vs-buy, testimonials          */
/* ------------------------------------------------------------------------- */
/* Logo strip */
.logos { padding-block: var(--space-16); border-bottom: 1px solid var(--color-border-subtle); }
.logos__label {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}
.logos .marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  letter-spacing: -0.01em;
  color: var(--color-text-faint);
  white-space: nowrap;
  transition: color var(--transition-fast);
}
.logos .marquee:hover .logo-mark { color: var(--color-text-muted); }
.logo-mark--caps {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--text-base);
  font-weight: 700;
}
.logo-mark--serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--text-2xl);
}

/* Performance gauges */
.perf__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}
.perf-card { text-align: center; }
.perf-gauge { position: relative; width: 104px; height: 104px; margin: 0 auto var(--space-3); }
.perf-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.perf-ring-track { fill: none; stroke: var(--color-border); stroke-width: 6; }
.perf-ring-val   { fill: none; stroke: #1D9E75; stroke-width: 6; stroke-linecap: round; }
.perf-score {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-2xl);
  color: var(--color-text);
}
.perf-label { font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); }
.perf__note {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-10);
}

/* Two ways to launch (buy a theme / commission a custom build) */
.paths__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  max-width: 920px;
  margin-inline: auto;
}
.path-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.path-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.path-card__icon {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-bg-muted);
  color: var(--color-text);
  margin-bottom: var(--space-5);
}
.path-card__icon svg { width: 22px; height: 22px; }
.path-card__title { font-size: var(--text-xl); font-weight: 600; margin-bottom: var(--space-2); }
.path-card__desc { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-5); }
.path-card__list { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-6); flex: 1; }
.path-card__list li {
  display: flex; align-items: flex-start; gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.path-card__list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: #1D9E75; }

/* Testimonials */
.tm__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.tm-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: 0;
}
.tm-stars { color: var(--color-text); letter-spacing: 0.12em; font-size: var(--text-sm); }
.tm-quote {
  margin: 0;
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-text);
  flex: 1;
}
.tm-by { display: flex; align-items: center; gap: var(--space-3); }
.tm-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.tm-meta { display: flex; flex-direction: column; line-height: 1.3; }
.tm-meta b { font-weight: 600; font-size: var(--text-sm); }
.tm-meta span { font-size: var(--text-xs); color: var(--color-text-muted); }

/* ------------------------------------------------------------------------- */
/* 15. Themes Page                                                           */
/* ------------------------------------------------------------------------- */
.page-head {
  text-align: center;
  padding-block: var(--space-20) var(--space-12);
}
.page-head__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-5xl);
  margin-bottom: var(--space-3);
}
.page-head__sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 560px;
  margin-inline: auto;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-12);
}
.filter-btn {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}
.filter-btn:hover { color: var(--color-text); border-color: var(--color-text); }
.filter-btn.is-active {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  border-color: var(--color-accent);
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-8);
}

.empty-state {
  text-align: center;
  padding-block: var(--space-24);
  max-width: 480px;
  margin-inline: auto;
}
.empty-state__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

/* ------------------------------------------------------------------------- */
/* 16. Theme Detail Page                                                     */
/* ------------------------------------------------------------------------- */
.theme-detail { padding-block: var(--space-16); }
.theme-detail__grid {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: var(--space-12);
  align-items: start;
}
.theme-detail__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}
.theme-detail__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-5xl);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}
.theme-detail__tagline {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.theme-detail__byline {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}
.theme-detail__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.theme-detail__byline .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

/* Interactive live preview (iframe of the demo subdomain) */
.live-preview {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  margin-bottom: var(--space-10);
}
.live-preview__chrome {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--color-bg-muted);
  border-bottom: 1px solid var(--color-border);
}
.live-preview__url {
  flex: 1;
  min-width: 0;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 2px var(--space-3);
  margin-left: var(--space-2);
}
.live-preview__url span {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.live-preview__viewports {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.live-preview__viewports button,
.live-preview__viewports a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: var(--radius-sm);
  color: var(--color-text-faint);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.live-preview__viewports button svg,
.live-preview__viewports a svg { width: 16px; height: 16px; }
.live-preview__viewports button:hover,
.live-preview__viewports a:hover { color: var(--color-text); background: var(--color-bg); }
.live-preview__viewports button.is-active { color: var(--color-text); background: var(--color-bg); }

.live-preview__stage {
  position: relative;
  height: clamp(360px, 52vh, 560px);
  overflow: hidden;
  background: var(--color-bg-subtle);
}
.live-preview__poster {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.live-preview__launch {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5) var(--space-3) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.live-preview__launch:hover { transform: translate(-50%, -50%) scale(1.03); box-shadow: var(--shadow-lg); }
.live-preview__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-accent-fg);
}
.live-preview__play svg { width: 14px; height: 14px; margin-left: 2px; }

.live-preview__iframe {
  position: absolute;
  top: 0; left: 50%;
  transform-origin: top center;
  transform: translateX(-50%);
  border: 0;
  background: #fff;
  transition: width var(--transition-base), transform var(--transition-base);
}
.live-preview.is-live .live-preview__poster,
.live-preview.is-live .live-preview__launch { display: none; }
.live-preview[data-current-viewport="tablet"] .live-preview__stage,
.live-preview[data-current-viewport="mobile"] .live-preview__stage { background: var(--color-bg-muted); }

.live-preview__loading {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
.live-preview.is-loading .live-preview__loading { display: block; }
.live-preview__loading span {
  display: block;
  width: 28px; height: 28px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* Sidebar */
.theme-sidebar {
  position: sticky;
  top: calc(var(--header-height, 80px) + var(--space-6));
}
.buy-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-6);
}
.buy-card__price {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: var(--space-5);
}
.buy-card__price small { font-size: var(--text-base); font-weight: 500; color: var(--color-text-muted); }
.theme-buy-container { margin-bottom: var(--space-3); }
.buy-card__demo-link { display: block; text-align: center; margin-top: var(--space-3); }
.buy-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0;
}
.buy-card__list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.buy-card__list svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--color-accent); }
.buy-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-bg-muted);
  color: var(--color-text);
}

.related-themes { margin-top: var(--space-8); }
.related-themes__title {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.related-themes__list { display: flex; flex-direction: column; gap: var(--space-6); }

/* ------------------------------------------------------------------------- */
/* 17. Custom Builds Page                                                    */
/* ------------------------------------------------------------------------- */
.cb-hero {
  text-align: center;
  padding-block: var(--space-32) var(--space-16);
}
.cb-hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-6xl);
  line-height: 1.05;
  margin-bottom: var(--space-5);
  max-width: 16ch;
  margin-inline: auto;
}
.cb-hero__sub {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  max-width: 620px;
  margin-inline: auto;
}

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.tier {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.tier--featured { border-color: var(--color-text); box-shadow: var(--shadow-md); }
.tier__name {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.tier__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}
.tier__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  flex: 1;
}
.tier__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.tier__list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--color-accent); }

/* Process timeline */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-6); position: relative; }
.process__step { position: relative; }
.process__num {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  line-height: 1;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
  display: block;
}
.process__step::before {
  content: "";
  position: absolute;
  top: calc(var(--text-6xl) / 2);
  left: calc(50% + var(--space-8));
  right: calc(-50% + var(--space-8));
  border-top: 1px solid var(--color-border);
}
.process__step:last-child::before { display: none; }
.process__title { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-2); }
.process__text { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; }

/* FAQ */
.faq { max-width: var(--container-narrow); margin-inline: auto; }
.faq__item {
  border-bottom: 1px solid var(--color-border);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  font-size: var(--text-lg);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text-muted);
  transition: transform var(--transition-fast);
  line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer {
  padding-bottom: var(--space-5);
  color: var(--color-text-muted);
  margin: 0;
  max-width: 60ch;
}

/* Contact CTA */
.contact-cta {
  background: var(--color-bg-subtle);
  text-align: center;
  padding-block: var(--space-24);
}
.contact-cta__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-4xl);
  margin-bottom: var(--space-3);
}
.contact-cta__text {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 520px;
  margin-inline: auto;
}

/* ------------------------------------------------------------------------- */
/* 18. Blog Post                                                             */
/* ------------------------------------------------------------------------- */
.post { padding-block: var(--space-16); }
.post__header { max-width: var(--container-narrow); margin-inline: auto; text-align: center; }
.post__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}
.post__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--text-5xl);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-5);
}
.post__excerpt {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.post__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.post__avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.post__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

.post__feature {
  max-width: var(--container-wide);
  margin: var(--space-12) auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.post__feature img { width: 100%; height: auto; object-fit: cover; }

.post-content {
  max-width: var(--container-narrow);
  margin-inline: auto;
  font-size: var(--text-lg);
  line-height: 1.75;
}
.post-content > * { margin-bottom: var(--space-6); }
.post-content h2 {
  font-size: var(--text-3xl);
  margin-top: var(--space-12);
  padding-left: var(--space-4);
  border-left: 3px solid var(--color-accent);
  scroll-margin-top: calc(var(--header-height) + var(--space-6));
}
.post-content h3 {
  font-size: var(--text-2xl);
  margin-top: var(--space-8);
  scroll-margin-top: calc(var(--header-height) + var(--space-6));
}
.post-content a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.post-content img { border-radius: var(--radius-md); }
.post-content blockquote {
  margin: var(--space-8) 0;
  padding-left: var(--space-6);
  border-left: 3px solid var(--color-border);
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-text);
  font-size: var(--text-2xl);
  line-height: 1.4;
}
.post-content ul, .post-content ol { padding-left: var(--space-6); }
.post-content li { margin-bottom: var(--space-2); }
.post-content figure { margin: var(--space-8) 0; }
.post-content figcaption {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  margin-top: var(--space-2);
}
.post-content pre {
  position: relative;
  background: var(--color-text);
  color: #E6E6E6;
  padding: var(--space-6);
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-size: var(--text-sm);
}
.post-content :not(pre) > code {
  background: var(--color-bg-muted);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.875em;
}
.copy-btn {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.copy-btn:hover { color: #fff; background: rgba(255,255,255,0.2); }

/* Koenig editor cards — wide / full-bleed breakout from the narrow column */
.post-content :is(.kg-width-wide, .kg-width-full) {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.post-content .kg-width-wide {
  width: min(85vw, 1080px);
}
.post-content .kg-width-full {
  width: 100vw;
}
.post-content .kg-width-full img { border-radius: 0; }
.post-content .kg-image,
.post-content .kg-image-card img { width: 100%; }
.post-content .kg-gallery-container { display: flex; flex-direction: column; gap: var(--space-2); }
.post-content .kg-gallery-row { display: flex; gap: var(--space-2); }
.post-content .kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.post-content .kg-card { margin-block: var(--space-8); }
.post-content .kg-bookmark-card a.kg-bookmark-container {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.post-content .kg-bookmark-content { padding: var(--space-5); flex: 1; }
.post-content .kg-bookmark-title { font-weight: 600; color: var(--color-text); }
.post-content .kg-bookmark-description { color: var(--color-text-muted); font-size: var(--text-sm); }
.post-content .kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.post-content .kg-embed-card { display: flex; flex-direction: column; align-items: center; }
.post-content .kg-button-card .kg-btn {
  display: inline-flex;
  align-items: center;
  padding: var(--space-3) var(--space-6);
  background: var(--color-accent);
  color: var(--color-accent-fg);
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
}

/* Author card */
.author-card {
  max-width: var(--container-narrow);
  margin: var(--space-16) auto 0;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
}
.author-card__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-card__name { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-1); }
.author-card__bio { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; }

/* Related posts */
.related-posts { margin-top: var(--space-24); }

/* Comments */
.post-comments { max-width: var(--container-narrow); margin: var(--space-16) auto 0; }

/* ------------------------------------------------------------------------- */
/* 19. Blog Index / Tag / Author                                             */
/* ------------------------------------------------------------------------- */
.archive { padding-block: var(--space-16); }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.author-hero, .tag-hero {
  text-align: center;
  padding-block: var(--space-16) var(--space-12);
}
.author-hero__avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-5);
}
.author-hero__name, .tag-hero__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-5xl);
  margin-bottom: var(--space-3);
}
.author-hero__bio, .tag-hero__desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto var(--space-4);
}
.author-hero__links {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}
.author-hero__links a {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.author-hero__links a:hover { color: var(--color-text); }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-16);
}
.pagination__page { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ------------------------------------------------------------------------- */
/* 20. Subscribe Form                                                        */
/* ------------------------------------------------------------------------- */
.subscribe-form {
  display: flex;
  gap: var(--space-2);
  max-width: 460px;
  margin-inline: auto;
}
.subscribe-form__input {
  flex: 1;
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-base);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: border-color var(--transition-fast);
}
.subscribe-form__input:focus-visible {
  outline: none;
  border-color: var(--color-text);
}
.subscribe-form__input::placeholder { color: var(--color-text-faint); }
.subscribe-form__btn { position: relative; }
.subscribe-form__loading {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.loading .subscribe-form__loading { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.subscribe-form__success {
  text-align: center;
  margin-top: var(--space-4);
  color: var(--color-text);
  font-weight: 500;
}

/* ------------------------------------------------------------------------- */
/* 21. Footer                                                                */
/* ------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
  padding-block: var(--space-16) var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer__brand-name {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  display: inline-block;
}
.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 32ch;
  margin-bottom: var(--space-5);
}
.footer__social { display: flex; gap: var(--space-3); }
.footer__social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.footer__social a:hover { color: var(--color-text); border-color: var(--color-text); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer__links a { font-size: var(--text-sm); color: var(--color-text-muted); }
.footer__links a:hover { color: var(--color-text); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}
.footer__bottom a:hover { color: var(--color-text); }

/* Minimal footer */
.site-footer--minimal { padding-block: var(--space-10); }
.footer-minimal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer-minimal__links { display: flex; gap: var(--space-5); list-style: none; }
.footer-minimal__links a { font-size: var(--text-sm); color: var(--color-text-muted); }
.footer-minimal__links a:hover { color: var(--color-text); }
.footer-minimal__copy { font-size: var(--text-sm); color: var(--color-text-faint); }

/* ------------------------------------------------------------------------- */
/* 22. Error Page                                                            */
/* ------------------------------------------------------------------------- */
.error-page {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-16) var(--space-6);
}
.error-page__code {
  font-family: var(--font-display);
  font-size: var(--text-7xl);
  line-height: 1;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.error-page__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3);
}
.error-page__text {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 440px;
}
.error-page__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; }

/* ------------------------------------------------------------------------- */
/* 23. Dark Mode overrides                                                   */
/* ------------------------------------------------------------------------- */
[data-scheme="dark"] {
  --color-bg:            #0D0D0C;
  --color-bg-subtle:     #141413;
  --color-bg-muted:      #1A1A19;
  --color-text:          #F5F5F3;
  --color-text-muted:    #9CA3AF;
  --color-text-faint:    #6B7280;
  --color-border:        #252524;
  --color-border-subtle: #1E1E1D;
  --color-surface:       #141413;
  --color-surface-raised:#1A1A19;
  --color-accent:        var(--ghost-accent-color, #F5F5F3);
  --color-accent-fg:     #0D0D0C;
  --shadow-card:       0 1px 3px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
  --shadow-card-hover: 0 8px 28px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
}
[data-scheme="dark"] .site-header.is-scrolled {
  background: rgba(13, 13, 12, 0.9);
  border-bottom-color: var(--color-border);
}
[data-scheme="dark"] .announcement-bar { background: var(--color-bg-muted); color: var(--color-text); }

@media (prefers-color-scheme: dark) {
  [data-scheme="system"] {
    --color-bg:            #0D0D0C;
    --color-bg-subtle:     #141413;
    --color-bg-muted:      #1A1A19;
    --color-text:          #F5F5F3;
    --color-text-muted:    #9CA3AF;
    --color-text-faint:    #6B7280;
    --color-border:        #252524;
    --color-border-subtle: #1E1E1D;
    --color-surface:       #141413;
    --color-surface-raised:#1A1A19;
    --color-accent:        var(--ghost-accent-color, #F5F5F3);
    --color-accent-fg:     #0D0D0C;
    --shadow-card:       0 1px 3px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
    --shadow-card-hover: 0 8px 28px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
  }
  [data-scheme="system"] .site-header.is-scrolled {
    background: rgba(13, 13, 12, 0.9);
    border-bottom-color: var(--color-border);
  }
  [data-scheme="system"] .announcement-bar { background: var(--color-bg-muted); color: var(--color-text); }
}

/* ------------------------------------------------------------------------- */
/* 24. Scroll-reveal Animation                                               */
/* ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Choreographed stagger for grid children revealed together */
.themes-grid .reveal:nth-child(3n+2) { transition-delay: 0.08s; }
.themes-grid .reveal:nth-child(3n+3) { transition-delay: 0.16s; }
.archive-grid .reveal:nth-child(3n+2) { transition-delay: 0.08s; }
.archive-grid .reveal:nth-child(3n+3) { transition-delay: 0.16s; }

/* ------------------------------------------------------------------------- */
/* 25. Marquee Animation                                                     */
/* ------------------------------------------------------------------------- */
.marquee__track {
  display: inline-flex;
  gap: var(--space-12);
  align-items: center;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ------------------------------------------------------------------------- */
/* 26. Reading Progress Bar                                                  */
/* ------------------------------------------------------------------------- */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--color-accent);
  z-index: 200;
  transition: width 80ms linear;
}

/* ------------------------------------------------------------------------- */
/* 27. Table of Contents                                                     */
/* ------------------------------------------------------------------------- */
.post-toc-wrap {
  max-width: var(--container-narrow);
  margin: var(--space-10) auto;
}
.post-toc {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  background: var(--color-bg-subtle);
}
.post-toc__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-3);
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.toc-item--sub { padding-left: var(--space-5); }
.toc-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.toc-link:hover { color: var(--color-text); }

/* ------------------------------------------------------------------------- */
/* 28. Reduced Motion                                                        */
/* ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------------- */
/* 29. Responsive Breakpoints                                                */
/* ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__title { font-size: var(--text-6xl); }
  .hero--split .hero__title { font-size: var(--text-5xl); }
  .hero__stage { height: 360px; }
  .hcard--side { width: 300px; }
  .hero--centered .hcard--front { width: min(480px, 92%); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); gap: var(--space-10); }
  .process__step::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .tm__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav__menu { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: inline-flex; }
  .nav { grid-template-columns: auto 1fr; }
  .nav__actions { grid-column: 2; }

  .hero--split .hero__grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .hero--split .hero__intro { text-align: center; }
  .hero--split .hero__sub { margin-inline: auto; }
  .hero--split .hero__actions { justify-content: center; }
  .hcard--side { display: none; }
  .hero--centered .hero__stage { height: auto; }
  .hero--centered .hcard--front {
    position: relative; left: auto;
    transform: translate3d(var(--px), var(--py), 0);
    width: min(520px, 100%); margin-inline: auto;
  }

  .teaser__grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .theme-detail__grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .theme-sidebar { position: static; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .stats-bar__item:nth-child(1), .stats-bar__item:nth-child(3) { border-left: none; }
  .marquee-wrap { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .marquee { width: 100%; }
  .perf__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-10); }
  .paths__grid { grid-template-columns: 1fr; }
  .tm__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding-block: var(--space-16); }
  .hero--centered { padding-block: var(--space-20) var(--space-16); }
  .hero__title { font-size: var(--text-5xl); }
  .hero__sub { font-size: var(--text-lg); }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .themes-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer__bottom { flex-direction: column; gap: var(--space-3); text-align: center; }
  .process { grid-template-columns: 1fr; }
  .page-head__title { font-size: var(--text-4xl); }
  .post__title, .theme-detail__title { font-size: var(--text-4xl); }
  .cb-hero__title { font-size: var(--text-5xl); }
  .subscribe-form { flex-direction: column; }
  .subscribe-form__input, .subscribe-form__btn { width: 100%; }
  .footer-minimal { flex-direction: column; text-align: center; }
}

/* ------------------------------------------------------------------------- */
/* 30. Utility Classes                                                       */
/* ------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.hidden { display: none; }
.full-bleed { width: 100%; }
