/*
Theme Name: Stranger Than Fiction
Theme URI: https://strangerthanfiction.org
Author: Stranger Than Fiction
Author URI: https://strangerthanfiction.org
Description: A dark, esoteric WordPress theme for Stranger Than Fiction — The Fabric of The Fringe. Occult sacred geometry meets clinical precision. Black and amber/gold aesthetic.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: strangerthanfiction
Tags: dark, blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ── CSS VARIABLES ── */
:root {
  --black: #080808;
  --deep: #0e0d0b;
  --deep-2: #131209;
  --gold: #c9a84c;
  --gold-bright: #e8c96a;
  --gold-dim: #7a6330;
  --gold-glow: rgba(201, 168, 76, 0.10);
  --gold-border: rgba(201, 168, 76, 0.18);
  --white: #f0ece0;
  --muted: #7a7568;
  --font-display: 'Cinzel', serif;
  --font-body: 'DM Sans', sans-serif;
  --container: 1200px;
  --radius: 0px;
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ── GRAIN TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.55;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 0; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: var(--white);
}

h1 { font-size: clamp(32px, 5vw, 64px); font-weight: 900; }
h2 { font-size: clamp(24px, 3vw, 40px); }
h3 { font-size: clamp(18px, 2.5vw, 28px); }
h4 { font-size: 18px; }
h5 { font-size: 14px; letter-spacing: 0.1em; }

p { margin-bottom: 1.4em; color: var(--muted); }
p:last-child { margin-bottom: 0; }

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-bright); }

strong { color: var(--white); font-weight: 500; }
em { color: var(--gold); font-style: normal; }

blockquote {
  border-left: 2px solid var(--gold);
  margin: 2em 0;
  padding: 1.2em 2em;
  background: var(--gold-glow);
  font-family: var(--font-display);
  font-size: 1.1em;
  color: var(--white);
  letter-spacing: 0.03em;
}

blockquote cite {
  display: block;
  margin-top: 1em;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-family: var(--font-body);
}

pre, code {
  font-family: 'Courier New', monospace;
  background: var(--deep-2);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  padding: 2px 8px;
  font-size: 13px;
}

pre {
  padding: 1.5em;
  overflow-x: auto;
  margin: 1.5em 0;
}

pre code { background: none; border: none; padding: 0; }

hr {
  border: none;
  border-top: 1px solid var(--gold-border);
  margin: 3em 0;
}

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

ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
  color: var(--muted);
}

li { margin-bottom: 0.4em; }

/* ── CONTAINER ── */
.stf-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

/* ── UTILITY ── */
.stf-label {
  font-size: 10px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.stf-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold-border);
}

.stf-tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 4px 12px;
  margin-bottom: 20px;
  font-family: var(--font-body);
}

.stf-btn {
  display: inline-block;
  padding: 14px 44px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
}

.stf-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.stf-btn:hover::before { transform: scaleX(1); }
.stf-btn:hover { color: var(--black); }
.stf-btn span { position: relative; z-index: 1; }

/* ── SACRED GEOMETRY BG ── */
.stf-geo-bg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
  animation: stfRotate 120s linear infinite;
}

@keyframes stfRotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── HEADER ── */
#masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold-border);
}

.stf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

/* ── SITE BRANDING ── */
.site-branding { display: flex; flex-direction: column; gap: 2px; }

.site-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold) !important;
  text-transform: uppercase;
  text-decoration: none !important;
  line-height: 1;
}

.site-title a { color: var(--gold) !important; text-decoration: none !important; }
.site-title a:hover { color: var(--gold-bright) !important; }

.site-description {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-family: var(--font-body);
  font-weight: 400;
}

/* ── NAVIGATION ── */
#site-navigation { display: flex; align-items: center; }

#site-navigation .nav-menu,
#site-navigation ul {
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
  margin: 0;
  padding: 0;
}

#site-navigation ul li a {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 400;
  font-family: var(--font-body);
}

#site-navigation ul li a:hover { color: var(--gold); }

#site-navigation ul li.current-menu-item > a { color: var(--gold); }

/* Last menu item styled as CTA */
#site-navigation ul li:last-child a {
  border: 1px solid var(--gold-border);
  padding: 8px 20px;
  color: var(--gold);
  transition: background 0.2s;
}

#site-navigation ul li:last-child a:hover {
  background: var(--gold-glow);
}

/* Sub-menus */
#site-navigation ul ul {
  position: absolute;
  background: rgba(8, 8, 8, 0.97);
  border: 1px solid var(--gold-border);
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
  min-width: 180px;
  display: none;
}

#site-navigation ul li:hover > ul { display: flex; }

#site-navigation ul ul li a {
  padding: 10px 20px;
  display: block;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-size: 20px;
  padding: 6px 12px;
  cursor: pointer;
}

/* ── HERO ── */
.stf-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 48px;
  overflow: hidden;
}

.stf-hero-symbol {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.stf-hero-symbol svg {
  width: 70vw;
  max-width: 800px;
  opacity: 0.06;
  animation: stfRotate 200s linear infinite reverse;
}

.stf-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.stf-hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  animation: stfFadeUp 0.8s ease both;
}

.stf-hero-eyebrow::before,
.stf-hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold-dim);
}

.stf-hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
  animation: stfFadeUp 0.8s 0.1s ease both;
}

.stf-hero-title .gold { color: var(--gold); display: block; }

.stf-hero-sub {
  font-size: clamp(10px, 1.5vw, 12px);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 40px;
  animation: stfFadeUp 0.8s 0.2s ease both;
}

.stf-hero-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 52px;
  line-height: 1.85;
  font-style: italic;
  animation: stfFadeUp 0.8s 0.3s ease both;
}

.stf-hero-desc em { color: var(--gold); font-style: normal; }

.stf-hero-cta {
  animation: stfFadeUp 0.8s 0.4s ease both;
}

@keyframes stfFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── QUOTE STRIP ── */
.stf-quote-strip {
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 64px 48px;
  text-align: center;
  background: linear-gradient(180deg, transparent, var(--gold-glow), transparent);
}

.stf-quote-text {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.5vw, 26px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1.55;
  max-width: 820px;
  margin: 0 auto 16px;
}

.stf-quote-attr {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* ── CATEGORIES STRIP ── */
.stf-categories {
  display: flex;
  border: 1px solid var(--gold-border);
  margin-bottom: 80px;
  overflow-x: auto;
}

.stf-cat-item {
  flex: 1;
  min-width: 120px;
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--gold-border);
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: block;
}

.stf-cat-item:last-child { border-right: none; }
.stf-cat-item:hover { background: var(--gold-glow); }

.stf-cat-symbol {
  display: block;
  font-size: 22px;
  margin-bottom: 10px;
  opacity: 0.6;
  color: var(--gold);
}

.stf-cat-name {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-family: var(--font-body);
}

/* ── MAIN CONTENT AREA ── */
#primary { padding: 80px 0; }

.stf-content-area {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
}

.stf-content-area.full-width {
  grid-template-columns: 1fr;
}

/* ── FEATURED/LATEST POSTS GRID ── */
.stf-posts-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 2px;
}

.stf-post-card {
  background: var(--deep);
  border: 1px solid var(--gold-border);
  padding: 40px;
  transition: border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.stf-post-card:hover {
  border-color: var(--gold-dim);
  background: rgba(201, 168, 76, 0.03);
}

.stf-post-card.featured::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.stf-post-card .stf-tag { margin-bottom: 20px; }

.stf-post-card h2,
.stf-post-card h3 {
  font-size: clamp(18px, 2vw, 26px);
  margin-bottom: 14px;
  flex: 1;
}

.stf-post-card h2 a,
.stf-post-card h3 a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.stf-post-card h2 a:hover,
.stf-post-card h3 a:hover { color: var(--gold); }

.stf-post-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.stf-post-meta {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-family: var(--font-body);
}

.stf-post-meta a { color: var(--gold-dim); }
.stf-post-meta a:hover { color: var(--gold); }

.stf-post-num {
  position: absolute;
  bottom: 20px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 72px;
  color: rgba(201, 168, 76, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ── POSTS LIST GRID ── */
.stf-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.stf-posts-grid .stf-post-card { padding: 32px; }
.stf-posts-grid .stf-post-card h3 { font-size: 16px; }

/* ── SINGLE POST ── */
.stf-single-post {
  max-width: 760px;
}

.stf-post-header {
  margin-bottom: 52px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gold-border);
}

.stf-post-header h1 {
  font-size: clamp(28px, 4vw, 52px);
  margin-bottom: 20px;
  color: var(--white);
}

.stf-post-header .stf-post-meta { margin-top: 20px; }

.stf-post-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}

.stf-post-content p { color: var(--muted); margin-bottom: 1.6em; }
.stf-post-content h2 { margin: 2.5em 0 1em; color: var(--white); }
.stf-post-content h3 { margin: 2em 0 0.8em; color: var(--white); }
.stf-post-content a { color: var(--gold); }
.stf-post-content a:hover { color: var(--gold-bright); }

.stf-post-content img {
  width: 100%;
  margin: 2em 0;
  border: 1px solid var(--gold-border);
}

/* ── THUMBNAIL ── */
.stf-post-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: 1px solid var(--gold-border);
}

.stf-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.7) sepia(0.2);
}

.stf-post-card:hover .stf-post-thumbnail img { transform: scale(1.04); }

/* ── READ MORE LINK ── */
.stf-read-more {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dim);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
  margin-top: auto;
}

.stf-read-more:hover { color: var(--gold); }
.stf-read-more::after { content: '→'; }

/* ── SIDEBAR ── */
#secondary { padding-top: 0; }

.widget {
  margin-bottom: 48px;
  border: 1px solid var(--gold-border);
  padding: 32px;
  background: var(--deep);
}

.widget-title {
  font-size: 10px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gold-border);
  font-family: var(--font-body);
  font-weight: 400;
}

.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { border-bottom: 1px solid var(--gold-border); padding: 10px 0; font-size: 13px; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--muted); transition: color 0.2s; }
.widget ul li a:hover { color: var(--gold); }

.widget_search .search-form {
  display: flex;
  border: 1px solid var(--gold-border);
}

.widget_search .search-field {
  flex: 1;
  background: var(--black);
  border: none;
  padding: 10px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
}

.widget_search .search-field::placeholder { color: var(--muted); }

.widget_search .search-submit {
  background: var(--gold-glow);
  border: none;
  border-left: 1px solid var(--gold-border);
  color: var(--gold);
  padding: 10px 16px;
  cursor: pointer;
  font-size: 12px;
  transition: background 0.2s;
}

.widget_search .search-submit:hover { background: var(--gold); color: var(--black); }

/* ── PAGINATION ── */
.stf-pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.stf-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold-border);
  color: var(--muted);
  font-size: 12px;
  transition: all 0.2s;
}

.stf-pagination .page-numbers:hover,
.stf-pagination .page-numbers.current {
  background: var(--gold-glow);
  border-color: var(--gold-dim);
  color: var(--gold);
}

/* ── POST NAVIGATION ── */
.stf-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--gold-border);
}

.stf-post-nav a {
  display: block;
  padding: 28px;
  background: var(--deep);
  border: 1px solid var(--gold-border);
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.stf-post-nav a:hover {
  border-color: var(--gold-dim);
  background: var(--gold-glow);
}

.stf-post-nav .nav-label {
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: block;
  margin-bottom: 8px;
}

.stf-post-nav .nav-title { color: var(--white); font-weight: 400; }
.stf-post-nav .nav-next { text-align: right; }

/* ── COMMENTS ── */
#comments {
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--gold-border);
}

#comments h2 {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--white);
}

.comment-body {
  border: 1px solid var(--gold-border);
  padding: 24px;
  margin-bottom: 16px;
  background: var(--deep);
}

.comment-meta { font-size: 11px; color: var(--gold-dim); margin-bottom: 12px; }
.comment-content p { font-size: 14px; }

.comment-form input,
.comment-form textarea {
  background: var(--deep);
  border: 1px solid var(--gold-border);
  color: var(--white);
  padding: 12px 16px;
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 12px;
}

.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--gold-dim); }

.comment-form input[type="submit"] { width: auto; cursor: pointer; }
.comment-form input[type="submit"]:hover { background: var(--gold-glow); border-color: var(--gold); color: var(--gold); }

/* ── FOOTER ── */
#colophon {
  border-top: 1px solid var(--gold-border);
  margin-top: 80px;
}

.stf-footer-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 48px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.stf-footer-brand .site-title { font-size: 22px; display: block; margin-bottom: 6px; }
.stf-footer-brand .site-description { display: block; }

.stf-footer-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  margin-top: 18px;
  max-width: 300px;
  font-style: italic;
}

.stf-footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 400;
}

.stf-footer-col ul { list-style: none; padding: 0; margin: 0; }
.stf-footer-col ul li { margin-bottom: 12px; }
.stf-footer-col ul li a { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.stf-footer-col ul li a:hover { color: var(--gold); }

.stf-footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 48px;
  border-top: 1px solid var(--gold-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stf-footer-copy {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.stf-footer-sigil {
  font-family: var(--font-display);
  color: var(--gold-dim);
  font-size: 12px;
  letter-spacing: 0.3em;
}

/* ── PAGE: FULL WIDTH ── */
.page-template-full-width #primary {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 48px;
}

/* ── 404 PAGE ── */
.error404 .stf-404 {
  text-align: center;
  padding: 120px 48px;
}

.error404 .stf-404-code {
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 180px);
  color: rgba(201, 168, 76, 0.07);
  line-height: 1;
  margin-bottom: 0;
}

.error404 .stf-404-msg {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--white);
  margin-bottom: 16px;
}

/* ── SEARCH RESULTS ── */
.search-results .stf-post-card h2 { font-size: 20px; }

/* ── FEATURED IMAGE ── */
.post-thumbnail {
  width: 100%;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--gold-border);
}

.post-thumbnail img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: brightness(0.75) sepia(0.15);
  transition: transform 0.5s ease;
}

.stf-post-card:hover .post-thumbnail img { transform: scale(1.04); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .stf-content-area {
    grid-template-columns: 1fr;
    padding: 0 32px;
  }

  .stf-posts-featured { grid-template-columns: 1fr; }
  .stf-posts-grid { grid-template-columns: 1fr 1fr; }
  .stf-footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stf-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .stf-container,
  .stf-header-inner { padding: 0 24px; }

  .stf-hero { padding: 60px 24px; min-height: 80vh; }

  .menu-toggle { display: block; }

  #site-navigation { display: none; }
  #site-navigation.toggled {
    display: flex;
    position: fixed;
    inset: 72px 0 0 0;
    background: rgba(8, 8, 8, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99;
  }

  #site-navigation.toggled .nav-menu,
  #site-navigation.toggled ul {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  #site-navigation.toggled ul li a { font-size: 14px; }

  .stf-posts-grid { grid-template-columns: 1fr; }
  .stf-footer-main { grid-template-columns: 1fr; padding: 40px 24px; }
  .stf-footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 24px; }
  .stf-categories { flex-wrap: wrap; }
  .stf-post-nav { grid-template-columns: 1fr; }
  .stf-quote-strip { padding: 40px 24px; }
}
