/* =========================================
   SERVICEMONITOR GHOST THEME
   Bold. Black. Orange. Unapologetic.
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400;1,700&family=Barlow:ital,wght@0,400;0,500;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ---- VARIABLES ---- */
:root {
  --orange: #FF4D00;
  --black: #0A0A0A;
  --white: #F5F4F0;
  --gray-dark: #1A1A1A;
  --gray-mid: #2C2C2C;
  --gray-light: #E8E7E3;
  --text-muted: #888;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --nav-h: 60px;
  --ticker-h: 36px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- TICKER BAR ---- */
.ticker-bar {
  background: var(--black);
  color: var(--white);
  height: var(--ticker-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #333;
}
.ticker-bar::before,
.ticker-bar::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}
.ticker-bar::before { left: 0; background: linear-gradient(to right, var(--black), transparent); }
.ticker-bar::after  { right: 0; background: linear-gradient(to left, var(--black), transparent); }
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 0 32px;
  color: var(--gray-light);
  border-right: 1px solid #333;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticker-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.ticker-item strong { color: var(--white); }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- NAVIGATION ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--black);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.logo-square {
  width: 28px; height: 28px;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}
.nav-links li a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 20px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-right: 1px solid var(--gray-light);
  transition: background 0.15s, color 0.15s;
  color: var(--text-muted);
}
.nav-links li:first-child a { border-left: 1px solid var(--gray-light); }
.nav-links li a:hover,
.nav-links li a.active {
  background: var(--black);
  color: var(--white);
}
.nav-links li a .nav-num {
  color: var(--orange);
  margin-right: 6px;
  font-weight: 500;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-status .status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.btn-nav {
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-nav:hover { background: var(--black); }
.btn-nav svg { width: 14px; height: 14px; }

/* ---- HERO ---- */
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px 0;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(72px, 12vw, 160px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-headline .highlight {
  background: var(--orange);
  color: var(--white);
  padding: 0 8px;
  display: inline;
}
.hero-headline .italic {
  font-style: italic;
  font-weight: 700;
  font-size: 0.85em;
}
.hero-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 48px;
}
.hero-sub::before {
  content: '';
  display: inline-block;
  width: 12px; height: 1px;
  background: var(--text-muted);
}

/* ---- BENTO GRID (homepage) ---- */
.bento {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}
.bento-featured {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--gray-dark);
  cursor: pointer;
}
.bento-featured img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.bento-featured:hover img { transform: scale(1.04); }
.bento-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
}
.bento-featured-tag {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
}
.bento-featured-title {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 30px);
  color: var(--white);
  line-height: 1.1;
}
.bento-featured-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  font-weight: 400;
}

.bento-about {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  background: var(--gray-dark);
  color: var(--white);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento-about-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.bento-about-text {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  flex: 1;
}
.bento-about-text strong,
.bento-about-text a {
  background: var(--orange);
  color: var(--white);
  padding: 0 3px;
  font-style: normal;
}

.bento-cta {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
  background: var(--orange);
  color: var(--white);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}
.bento-cta:hover { background: var(--black); }
.bento-cta-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}
.bento-cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-top: 8px;
}
.bento-cta-arrow {
  font-size: 1.5em;
  margin-left: 4px;
}
.bento-email {
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.6;
  margin-top: 16px;
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: stretch;
  border-top: 2px solid var(--orange);
}
.stats-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  width: 100%;
}
.stat-item {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid #333;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: var(--white);
}
.stat-value .sup {
  font-size: 14px;
  color: var(--orange);
  vertical-align: super;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #666;
  text-transform: uppercase;
}

/* ---- MARQUEE BANNER ---- */
.marquee-banner {
  background: var(--orange);
  padding: 18px 0;
  overflow: hidden;
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.marquee-item::after {
  content: '—';
  color: rgba(255,255,255,0.4);
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- SECTION HEADER ---- */
.section-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 24px 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--black);
  margin-bottom: 0;
}
.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.section-title .dark-bg {
  background: var(--black);
  color: var(--white);
  padding: 0 8px;
}
.section-aside {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 200px;
  text-align: right;
  padding-bottom: 8px;
}

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--black);
  border-top: 2px solid var(--black);
}
.service-card {
  background: var(--white);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
  cursor: pointer;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover { background: var(--gray-light); }
.service-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 24px;
  filter: grayscale(30%);
  transition: filter 0.3s;
}
.service-card:hover .service-card-img { filter: grayscale(0); }
.service-card-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.service-card-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 16px;
}
.service-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.service-card-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card-link::after {
  content: '→';
  transition: transform 0.2s;
}
.service-card:hover .service-card-link::after { transform: translateX(4px); }

/* ---- POSTS / ARTICLES GRID ---- */
.posts-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--black);
  border: 2px solid var(--black);
  margin-top: 2px;
}
.post-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: background 0.15s;
}
.post-card:hover { background: var(--gray-light); }
.post-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.3s;
}
.post-card:hover .post-card-img { filter: grayscale(0); }
.post-card-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.post-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 10px;
  flex: 1;
}
.post-card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.post-card-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #aaa;
  letter-spacing: 0.05em;
  border-top: 1px solid var(--gray-light);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
}

/* ---- PAGE HEADER ---- */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 80px 24px 60px;
  border-bottom: 2px solid var(--orange);
}
.page-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.page-hero-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--orange);
  display: block;
  margin-bottom: 16px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.88;
  text-transform: uppercase;
}
.page-hero-title em {
  color: var(--orange);
  font-style: italic;
}
.page-hero-right {
  padding-bottom: 8px;
}
.page-hero-desc {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid #444;
  color: rgba(255,255,255,0.6);
  transition: border-color 0.15s, color 0.15s;
}
.tag-pill:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ---- POST / ARTICLE ---- */
.post-full {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 60px;
  align-items: start;
}
.post-sidebar-left {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.post-sidebar-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  line-height: 2;
}
.post-sidebar-meta strong {
  color: var(--black);
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 16px;
  margin-bottom: 4px;
}
.post-sidebar-meta strong:first-child { margin-top: 0; }
.post-body { min-width: 0; }
.post-feature-img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  margin-bottom: 48px;
  border-left: 4px solid var(--orange);
}
.post-content {
  font-size: 17px;
  line-height: 1.75;
  color: #222;
}
.post-content h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  text-transform: uppercase;
  margin: 48px 0 16px;
  line-height: 1;
}
.post-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  margin: 36px 0 12px;
}
.post-content p { margin-bottom: 20px; }
.post-content a { color: var(--orange); border-bottom: 1px solid currentColor; }
.post-content blockquote {
  border-left: 4px solid var(--orange);
  padding: 16px 24px;
  background: var(--gray-light);
  margin: 32px 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}
.post-content code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--gray-light);
  padding: 2px 6px;
}
.post-content pre {
  background: var(--black);
  color: var(--white);
  padding: 24px;
  overflow-x: auto;
  margin: 24px 0;
}
.post-content pre code { background: none; padding: 0; color: inherit; }
.post-content ul, .post-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.post-content li { margin-bottom: 8px; }
.post-content figure { margin: 32px 0; }
.post-content figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.05em;
}
.post-sidebar-right {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.sidebar-widget {
  border: 1px solid var(--gray-light);
  padding: 20px;
  margin-bottom: 16px;
}
.sidebar-widget-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--black);
  color: var(--white);
  border-top: 2px solid var(--orange);
}
.footer-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  max-width: 280px;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
  letter-spacing: 0.04em;
}
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid #222;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #555;
}
.footer-bottom-text a { color: var(--orange); }

/* ---- SUBSCRIBE / CTA BLOCK ---- */
.subscribe-block {
  background: var(--orange);
  color: var(--white);
  padding: 60px 24px;
  text-align: center;
}
.subscribe-block-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 16px;
}
.subscribe-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 24px auto 0;
}
.subscribe-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  background: rgba(0,0,0,0.2);
  color: var(--white);
  outline: none;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,0.5); }
.subscribe-form button {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}
.subscribe-form button:hover { background: #222; }

/* ---- PAGINATION ---- */
.pagination {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--black);
}
.pagination a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.15s;
}
.pagination a:hover { color: var(--orange); }
.pagination .page-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

/* ---- TAG PAGE ---- */
.tag-hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: flex;
  align-items: flex-end;
  gap: 40px;
  border-bottom: 2px solid var(--black);
}
.tag-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 8vw, 100px);
  text-transform: uppercase;
  line-height: 0.9;
}
.tag-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  padding-bottom: 12px;
}

/* ---- ERROR PAGE ---- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.error-code {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(100px, 20vw, 200px);
  color: var(--gray-light);
  line-height: 1;
  margin-bottom: -20px;
}
.error-msg {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* ---- GHOST CARD REQUIRED CLASSES ---- */
.gh-content .kg-width-wide {
  position: relative;
  width: 85vw;
  min-width: 100%;
  margin-left: calc(50% - 42.5vw);
  margin-right: calc(50% - 42.5vw);
}
.gh-content .kg-width-full {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.gh-content .kg-image { max-width: 100%; height: auto; }
.gh-content .kg-image-card { margin: 32px 0; }
.gh-content .kg-image-card img { width: 100%; }
.gh-content .kg-gallery-container { display: flex; flex-wrap: wrap; gap: 4px; }
.gh-content .kg-gallery-image { flex: 1 1 auto; min-width: 200px; }
.gh-content .kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gh-content .kg-video-card { margin: 32px 0; }
.gh-content .kg-embed-card { margin: 32px 0; }
.gh-content .kg-embed-card iframe { width: 100%; }
.gh-content .kg-bookmark-card { margin: 32px 0; }
.gh-content .kg-bookmark-container {
  display: flex;
  border: 1px solid var(--gray-light);
  text-decoration: none;
  color: inherit;
}
.gh-content .kg-bookmark-content { padding: 16px; flex: 1; }
.gh-content .kg-bookmark-title { font-weight: 500; margin-bottom: 4px; }
.gh-content .kg-bookmark-description { font-size: 14px; color: var(--text-muted); }
.gh-content .kg-bookmark-thumbnail { width: 160px; flex-shrink: 0; }
.gh-content .kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.gh-content .kg-callout-card {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: var(--gray-light);
  margin: 32px 0;
  border-left: 4px solid var(--orange);
}
.gh-content .kg-callout-emoji { font-size: 24px; flex-shrink: 0; }
.gh-content .kg-toggle-card { margin: 32px 0; border: 1px solid var(--gray-light); }
.gh-content .kg-toggle-heading { padding: 16px 20px; font-weight: 600; cursor: pointer; }
.gh-content .kg-toggle-content { padding: 0 20px 16px; }
.gh-content .kg-button-card { margin: 32px 0; text-align: center; }
.gh-content .kg-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.gh-content .kg-btn:hover { background: var(--black); }
.gh-content .kg-divider { border: none; border-top: 1px solid var(--gray-light); margin: 40px 0; }
.gh-content .kg-file-card { margin: 32px 0; }
.gh-content .kg-file-card-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid var(--gray-light);
  text-decoration: none;
  color: inherit;
}
.gh-content .kg-header-card {
  margin: 32px 0;
  padding: 60px 40px;
  background: var(--black);
  color: var(--white);
  text-align: center;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-featured { grid-column: 1 / 3; }
  .bento-about { grid-column: 1 / 2; }
  .bento-cta { grid-column: 2 / 3; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .post-full { grid-template-columns: 1fr; }
  .post-sidebar-left, .post-sidebar-right { position: static; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento-featured, .bento-about { grid-column: 1 / 2; }
  .bento-cta { grid-column: 1 / 2; }
  .services-grid, .posts-grid { grid-template-columns: 1fr; }
  .stats-bar-inner { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
}
