/*
Theme Name: FFTAC Who We Are
Theme URI: https://fftac.org/
Author: OpenAI GPT-5.5 Pro
Author URI: https://openai.com/
Description: A self-contained WordPress information theme for The Foundation For The Anti-Christ. Built for a sober, nonviolent, source-led "Who We Are" public website with no external fonts, scripts, trackers, or CDNs.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fftac-who-we-are
Tags: custom-logo, custom-menu, featured-images, accessibility-ready, blog, one-column, dark, full-site-info
*/

:root {
  --fftac-black: #030303;
  --fftac-ink: #090909;
  --fftac-panel: #111111;
  --fftac-panel-2: #171717;
  --fftac-panel-3: #202020;
  --fftac-white: #f8f4eb;
  --fftac-muted: #bdb5a5;
  --fftac-dim: #847b70;
  --fftac-red: #b40018;
  --fftac-red-hot: #ff1b1b;
  --fftac-crimson: #5c000b;
  --fftac-green: #15ff00;
  --fftac-yellow: #fff400;
  --fftac-border: rgba(248, 244, 235, 0.16);
  --fftac-border-strong: rgba(248, 244, 235, 0.34);
  --fftac-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  --fftac-radius: 24px;
  --fftac-radius-small: 14px;
  --fftac-max: 1180px;
  --fftac-text: Georgia, "Times New Roman", Times, serif;
  --fftac-ui: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fftac-white);
  background:
    radial-gradient(circle at 16% 0%, rgba(180, 0, 24, 0.25), transparent 34rem),
    radial-gradient(circle at 85% 14%, rgba(92, 0, 11, 0.28), transparent 36rem),
    linear-gradient(135deg, #020202 0%, #080808 50%, #120005 100%);
  font-family: var(--fftac-ui);
  font-size: 18px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.12));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.9)),
    radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.72) 78%);
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--fftac-white);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--fftac-red-hot);
}

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

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

.skip-link:focus {
  top: 12px;
  left: 12px;
  z-index: 99999;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  color: var(--fftac-black);
  background: var(--fftac-white);
  border-radius: 999px;
}

.site-shell {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--fftac-border);
  background: rgba(3, 3, 3, 0.82);
  backdrop-filter: blur(16px);
}

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

.header-inner {
  max-width: var(--fftac-max);
  margin: 0 auto;
  padding: 0.9rem clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.82rem;
  min-width: 0;
  color: var(--fftac-white);
  text-decoration: none;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--fftac-border-strong);
  background: var(--fftac-black);
  box-shadow: 0 0 0 5px rgba(180, 0, 24, 0.12), 0 0 28px rgba(255, 27, 27, 0.23);
}

.custom-logo-link img {
  max-width: 58px;
  border-radius: 50%;
  border: 2px solid var(--fftac-border-strong);
}

.brand-text {
  min-width: 0;
}

.site-title {
  display: block;
  font-family: var(--fftac-text);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.site-description {
  display: block;
  margin-top: 0.12rem;
  color: var(--fftac-muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  color: var(--fftac-white);
  background: transparent;
  border: 1px solid var(--fftac-border);
  border-radius: 999px;
  cursor: pointer;
}

.menu-toggle .bars {
  width: 18px;
  display: grid;
  gap: 4px;
}

.menu-toggle .bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.primary-navigation ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.16rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation a {
  display: block;
  padding: 0.62rem 0.82rem;
  color: var(--fftac-muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 999px;
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible,
.primary-navigation .current-menu-item > a {
  color: var(--fftac-white);
  background: rgba(180, 0, 24, 0.26);
}

.main {
  min-height: 65vh;
}

.section,
.entry-content,
.entry-header,
.post-navigation,
.comments-area {
  max-width: var(--fftac-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.hero {
  position: relative;
  max-width: var(--fftac-max);
  margin: 0 auto;
  padding: clamp(3.2rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-kicker,
.section-kicker,
.card-kicker,
.archive-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fftac-red-hot);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-kicker::before,
.section-kicker::before,
.card-kicker::before,
.archive-kicker::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid currentColor;
  transform: rotate(45deg);
}

.hero-title,
.entry-title,
.section-title {
  margin: 0.36rem 0 1rem;
  font-family: var(--fftac-text);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(3.4rem, 11vw, 8.75rem);
}

.hero-title span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(248, 244, 235, 0.92);
  text-shadow: 0 0 34px rgba(255, 27, 27, 0.16);
}

.hero-lede {
  max-width: 68ch;
  margin: 0;
  color: var(--fftac-muted);
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button,
.wp-block-button__link,
.comment-form input[type="submit"],
.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.74rem 1.1rem;
  color: var(--fftac-white);
  background: var(--fftac-red);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(180, 0, 24, 0.28);
  cursor: pointer;
}

.button:hover,
.button:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.comment-form input[type="submit"]:hover,
.search-submit:hover {
  color: var(--fftac-white);
  background: #e6001f;
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  border-color: var(--fftac-border-strong);
  box-shadow: none;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(248, 244, 235, 0.08);
}

.hero-badge {
  position: relative;
  justify-self: center;
  width: min(430px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-aside {
  display: grid;
  gap: 1.1rem;
  align-items: start;
}

.hero-aside .hero-badge {
  width: min(360px, 100%);
}

.hero-facts {
  display: grid;
  gap: 0.72rem;
}

.hero-fact {
  padding: 0.9rem 1rem;
  border: 1px solid var(--fftac-border);
  border-radius: var(--fftac-radius-small);
  background: rgba(0, 0, 0, 0.34);
}

.hero-fact strong {
  display: block;
  margin-bottom: 0.16rem;
  color: var(--fftac-white);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-fact span {
  display: block;
  color: var(--fftac-muted);
  font-size: 0.94rem;
  line-height: 1.48;
}

.hero-badge::before,
.hero-badge::after {
  content: "";
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  border: 1px solid rgba(248, 244, 235, 0.22);
  animation: fftac-spin 46s linear infinite;
}

.hero-badge::after {
  inset: 0;
  border-color: rgba(180, 0, 24, 0.38);
  animation-duration: 80s;
  animation-direction: reverse;
}

.hero-badge img {
  position: relative;
  z-index: 2;
  width: 84%;
  border-radius: 50%;
  border: 2px solid var(--fftac-border-strong);
  box-shadow: var(--fftac-shadow), 0 0 76px rgba(180, 0, 24, 0.35);
}

@keyframes fftac-spin {
  to { transform: rotate(360deg); }
}

.signal-strip {
  max-width: var(--fftac-max);
  margin: 0 auto 1rem;
  padding: 0 clamp(1rem, 4vw, 2rem) clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.signal-tile {
  position: relative;
  min-height: 120px;
  border: 1px solid var(--fftac-border);
  border-radius: var(--fftac-radius-small);
  background: rgba(17, 17, 17, 0.72);
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.signal-tile img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.12) brightness(0.62);
  opacity: 0.86;
}

.signal-tile span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.65rem 0.75rem;
  color: var(--fftac-white);
  background: linear-gradient(to top, rgba(0,0,0,0.92), transparent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.band {
  border-top: 1px solid var(--fftac-border);
  border-bottom: 1px solid var(--fftac-border);
  background:
    linear-gradient(135deg, rgba(180, 0, 24, 0.16), rgba(0,0,0,0.16)),
    rgba(0, 0, 0, 0.36);
}

.section {
  padding-top: clamp(3.5rem, 8vw, 7rem);
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
}

.section.compact {
  padding-top: clamp(2.8rem, 6vw, 4.8rem);
  padding-bottom: clamp(2.8rem, 6vw, 4.8rem);
}

.section.narrow {
  max-width: 920px;
}

.section-title {
  font-size: clamp(2.4rem, 7vw, 5.6rem);
}

.section-lede {
  max-width: 78ch;
  margin: 0 0 2.1rem;
  color: var(--fftac-muted);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.35rem);
}

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

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

.card-grid.dense .path-card {
  padding: clamp(1rem, 2.4vw, 1.35rem);
  border-radius: var(--fftac-radius-small);
}

.card-grid.dense .path-card h3 {
  font-size: clamp(1.1rem, 2vw, 1.48rem);
  line-height: 1.12;
}

.card-grid.dense .path-card p {
  font-size: 0.96rem;
  line-height: 1.56;
}

.info-card,
.policy-card,
.path-card,
.stat-card,
.reader-card,
.standard-card,
.workflow-card,
.post-card,
.entry-content > .wp-block-group,
.comment-body {
  position: relative;
  padding: clamp(1.15rem, 3vw, 1.7rem);
  border: 1px solid var(--fftac-border);
  border-radius: var(--fftac-radius);
  background:
    linear-gradient(145deg, rgba(248, 244, 235, 0.045), rgba(248, 244, 235, 0.01)),
    rgba(13, 13, 13, 0.78);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.25);
}

.info-card::before,
.policy-card::before,
.path-card::before,
.stat-card::before,
.reader-card::before,
.standard-card::before,
.workflow-card::before,
.post-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,0.12), transparent 40%, rgba(180,0,24,0.12));
  opacity: 0.4;
}

.card-icon {
  position: relative;
  width: 66px;
  height: 66px;
  margin-bottom: 1.1rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--fftac-border);
  border-radius: 50%;
  background: rgba(0,0,0,0.36);
}

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

.info-card h3,
.policy-card h3,
.path-card h3,
.stat-card h3,
.reader-card h3,
.standard-card h3,
.workflow-card h3,
.post-card h2,
.comment-author,
.widget-title {
  position: relative;
  margin: 0 0 0.75rem;
  font-family: var(--fftac-text);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.info-card p,
.policy-card p,
.path-card p,
.stat-card p,
.reader-card p,
.standard-card p,
.workflow-card p,
.post-card p {
  position: relative;
  margin: 0;
  color: var(--fftac-muted);
}

.stat-grid,
.reader-grid,
.standard-grid,
.workflow-grid {
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.1rem);
}

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

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

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

.stat-card,
.reader-card,
.standard-card,
.workflow-card {
  border-radius: var(--fftac-radius-small);
}

.stat-card h3,
.reader-card h3,
.standard-card h3,
.workflow-card h3 {
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.12;
}

.stat-card p,
.reader-card p,
.standard-card p,
.workflow-card p {
  font-size: 0.96rem;
  line-height: 1.56;
}

.workflow-card span {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.85rem;
  color: var(--fftac-red-hot);
  border: 1px solid rgba(255, 27, 27, 0.42);
  border-radius: 50%;
  background: rgba(180, 0, 24, 0.1);
  font-size: 0.8rem;
  font-weight: 900;
}

.rule-list,
.resource-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
}

.rule-list li,
.resource-list li {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid var(--fftac-border);
  border-radius: var(--fftac-radius-small);
  background: rgba(0, 0, 0, 0.22);
  color: var(--fftac-muted);
}

.rule-list li::before,
.resource-list li::before {
  content: "";
  position: absolute;
  top: 1.24rem;
  left: 1.1rem;
  width: 0.72rem;
  height: 0.72rem;
  border: 2px solid var(--fftac-red-hot);
  transform: rotate(45deg);
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.feature-image {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--fftac-border);
  border-radius: var(--fftac-radius);
  background:
    radial-gradient(circle, rgba(180,0,24,0.26), transparent 72%),
    rgba(0,0,0,0.55);
  overflow: hidden;
  box-shadow: var(--fftac-shadow);
}

.feature-image img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(82%, 460px);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 32px rgba(255, 27, 27, 0.18));
}

.manifesto {
  display: grid;
  gap: 1rem;
}

.manifesto-item {
  padding: 1.2rem;
  border: 1px solid var(--fftac-border);
  border-radius: var(--fftac-radius-small);
  background: rgba(3, 3, 3, 0.46);
}

.manifesto-item strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--fftac-white);
  font-family: var(--fftac-text);
  font-size: 1.28rem;
  text-transform: uppercase;
}

.manifesto-item span {
  color: var(--fftac-muted);
}

.quote-panel {
  position: relative;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid var(--fftac-border-strong);
  border-radius: var(--fftac-radius);
  background:
    linear-gradient(135deg, rgba(180, 0, 24, 0.18), rgba(0,0,0,0.2)),
    rgba(17, 17, 17, 0.72);
  box-shadow: var(--fftac-shadow);
}

.quote-panel p {
  margin: 0;
  font-family: var(--fftac-text);
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  line-height: 1.18;
}

.quote-panel cite {
  display: block;
  margin-top: 1.2rem;
  color: var(--fftac-muted);
  font-family: var(--fftac-ui);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.archive-header {
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 4vw, 3rem);
}

.archive-header-inner {
  max-width: var(--fftac-max);
  margin: 0 auto;
}

.archive-title {
  margin: 0.4rem 0 0.8rem;
  font-family: var(--fftac-text);
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.archive-description {
  max-width: 70ch;
  color: var(--fftac-muted);
}

.posts-grid {
  max-width: var(--fftac-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) clamp(4rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.post-card a {
  text-decoration: none;
}

.post-card .entry-meta,
.entry-meta {
  color: var(--fftac-dim);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.entry-header {
  max-width: 930px;
  padding-top: clamp(3.2rem, 8vw, 6.5rem);
  padding-bottom: 1.7rem;
}

.entry-title {
  font-size: clamp(2.4rem, 8vw, 6rem);
}

.entry-content {
  max-width: 930px;
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
}

.entry-content > * {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.entry-content p,
.entry-content li,
.entry-content figcaption {
  color: var(--fftac-muted);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-top: 2.2rem;
  margin-bottom: 0.75rem;
  color: var(--fftac-white);
  font-family: var(--fftac-text);
  line-height: 1.05;
  text-transform: uppercase;
}

.entry-content h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.entry-content h3 { font-size: clamp(1.45rem, 3vw, 2.2rem); }

.entry-content blockquote {
  margin-inline: 0;
  padding: 1.2rem 1.3rem;
  border-left: 4px solid var(--fftac-red-hot);
  background: rgba(180, 0, 24, 0.08);
  color: var(--fftac-white);
}

.entry-content code,
.entry-content pre {
  background: #000;
  border: 1px solid var(--fftac-border);
  border-radius: 0.45rem;
}

.entry-content code {
  padding: 0.1rem 0.34rem;
}

.entry-content pre {
  overflow-x: auto;
  padding: 1rem;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 0.75rem;
  border: 1px solid var(--fftac-border);
}

.entry-content th {
  color: var(--fftac-white);
  background: rgba(180,0,24,0.18);
}

.wp-caption,
.wp-block-image figcaption {
  color: var(--fftac-muted);
  font-size: 0.88rem;
}

.alignwide,
.alignfull {
  max-width: var(--fftac-max);
}

.search-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.search-field,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  color: var(--fftac-white);
  background: rgba(0,0,0,0.42);
  border: 1px solid var(--fftac-border);
  border-radius: 0.8rem;
}

.search-field {
  width: min(420px, 100%);
}

.site-footer {
  border-top: 1px solid var(--fftac-border);
  background:
    radial-gradient(circle at 20% 0%, rgba(180, 0, 24, 0.2), transparent 30rem),
    rgba(0,0,0,0.68);
}

.footer-inner {
  max-width: var(--fftac-max);
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 2rem;
}

.footer-title {
  margin: 0 0 0.75rem;
  font-family: var(--fftac-text);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.footer-text,
.footer-note {
  color: var(--fftac-muted);
}

.footer-note {
  max-width: var(--fftac-max);
  margin: 0 auto;
  padding: 1.2rem clamp(1rem, 4vw, 2rem);
  border-top: 1px solid var(--fftac-border);
  font-size: 0.85rem;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--fftac-muted);
  font-weight: 800;
  text-decoration: none;
}

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

.no-results,
.not-found {
  max-width: 830px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem);
}

.pagination,
.nav-links {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.page-numbers,
.post-page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0.42rem 0.7rem;
  border: 1px solid var(--fftac-border);
  border-radius: 999px;
  color: var(--fftac-muted);
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus-visible {
  color: var(--fftac-white);
  background: rgba(180,0,24,0.28);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 920px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 0.75rem clamp(1rem, 4vw, 2rem) 1rem;
    border-bottom: 1px solid var(--fftac-border);
    background: rgba(3, 3, 3, 0.96);
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation ul {
    display: grid;
    justify-content: stretch;
  }

  .primary-navigation a {
    border: 1px solid var(--fftac-border);
  }

  .hero,
  .feature-split,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    max-width: 360px;
    order: -1;
  }

  .signal-strip,
  .card-grid,
  .card-grid.two,
  .card-grid.dense,
  .stat-grid,
  .reader-grid,
  .standard-grid,
  .workflow-grid,
  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    align-items: center;
  }

  .site-title {
    max-width: 48vw;
  }

  .site-description {
    display: none;
  }

  .brand-mark,
  .custom-logo-link img {
    width: 48px;
    height: 48px;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .hero-actions,
  .search-form {
    flex-direction: column;
  }

  .button,
  .search-submit {
    width: 100%;
  }

  .signal-strip,
  .card-grid,
  .card-grid.two,
  .card-grid.dense,
  .stat-grid,
  .reader-grid,
  .standard-grid,
  .workflow-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .feature-image {
    min-height: 280px;
  }
}

.post-thumbnail {
  display: block;
  margin: -0.25rem -0.25rem 1rem;
  overflow: hidden;
  border: 1px solid var(--fftac-border);
  border-radius: calc(var(--fftac-radius) - 8px);
  background: #000;
}

.post-thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08);
}

.entry-footer,
.edit-link,
.cat-links,
.tags-links {
  color: var(--fftac-dim);
  font-size: 0.86rem;
}

.entry-footer a,
.edit-link a,
.cat-links a,
.tags-links a {
  color: var(--fftac-muted);
}

.comments-area {
  max-width: 930px;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.comment-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comment-list .children {
  margin: 1rem 0 0 1rem;
  padding: 0;
  list-style: none;
}

.comment-body {
  margin-bottom: 1rem;
}

.brand-logo a,
.custom-logo-link {
  display: grid;
  place-items: center;
}

.brand-text {
  color: var(--fftac-white);
  text-decoration: none;
}

.brand-text:hover,
.brand-text:focus-visible {
  color: var(--fftac-white);
}
