/* ============================================================
   BRIEFLY — Bloomberg Businessweek Inspired Editorial Design
   Bold typography, high contrast, magazine grid
   ============================================================ */

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

/* === Variables === */
:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --red: #e8000d;
  --red-dark: #b00009;
  --yellow: #f5e642;
  --blue: #0032ff;
  --gray-100: #f4f4f4;
  --gray-200: #e8e8e8;
  --gray-400: #b0b0b0;
  --gray-600: #6b6b6b;
  --gray-800: #2a2a2a;
  --font-serif: 'Libre Baskerville', Georgia, serif;
  --font-sans: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --nav-h: 56px;
  --max: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--white); color: var(--black); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* === Utility === */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================
   TICKER TAPE
   ============================================================ */
.ticker-wrap {
  background: var(--red);
  height: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.ticker-wrap:hover .ticker-track { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.5px;
  border-right: 1px solid rgba(255,255,255,0.3);
}

.ticker-item span.up { color: var(--yellow); margin-left: 6px; }
.ticker-item span.down { color: rgba(255,255,255,0.6); margin-left: 6px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--black);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 3px solid var(--red);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  flex-shrink: 0;
}

.nav-logo em { color: var(--red); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 6px 12px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); border-bottom-color: var(--red); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-subscribe {
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 18px;
  transition: background 0.2s, transform 0.2s;
}

.btn-subscribe:hover { background: var(--red-dark); transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  border-top: 3px solid var(--red);
  padding-top: 6px;
  margin-bottom: 24px;
}

.section-label.white { color: var(--white); border-top-color: var(--white); }
.section-label.yellow { color: var(--yellow); border-top-color: var(--yellow); }

/* ============================================================
   HOMEPAGE HERO — Cover Story style
   ============================================================ */
.hero-cover {
  border-bottom: 1px solid var(--gray-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  min-height: 560px;
}

.hero-main {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.hero-main:hover .hero-main-img { transform: scale(1.03); }

.hero-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.hero-main-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  color: var(--white);
}

.hero-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 16px;
}

.hero-main-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 14px;
  transition: color 0.2s;
}

.hero-main:hover .hero-main-title { color: var(--yellow); }

.hero-main-sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 16px;
}

.hero-byline {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}

/* Right rail */
.hero-rail {
  border-left: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

.hero-rail-item {
  padding: 24px;
  border-bottom: 1px solid var(--gray-200);
  cursor: pointer;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}

.hero-rail-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease);
  transform-origin: bottom;
}

.hero-rail-item:hover { background: var(--gray-100); }
.hero-rail-item:hover::before { transform: scaleY(1); }

.hero-rail-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.hero-rail-item:hover img { transform: scale(1.03); }

.hero-rail-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
}

.hero-rail-title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  transition: color 0.2s;
}

.hero-rail-item:hover .hero-rail-title { color: var(--red); }

.hero-rail-meta {
  font-size: 11px;
  color: var(--gray-600);
  font-family: var(--font-mono);
}

/* ============================================================
   MARQUEE CATEGORIES
   ============================================================ */
.cat-marquee {
  background: var(--black);
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cat-track {
  display: flex;
  gap: 0;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}

.cat-marquee:hover .cat-track { animation-play-state: paused; }

.cat-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  cursor: pointer;
  transition: color 0.2s;
}

.cat-item::after { content: '✦'; color: var(--red); font-size: 8px; }
.cat-item:hover { color: var(--white); }

/* ============================================================
   MAIN CONTENT GRID
   ============================================================ */
.content-section { padding: 56px 0; }
.content-section.gray-bg { background: var(--gray-100); }

.main-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
}

/* Article cards */
.article-list { display: flex; flex-direction: column; gap: 0; }

.article-card {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-200);
  cursor: pointer;
  transition: opacity 0.2s;
}

.article-card:first-child { border-top: 1px solid var(--gray-200); }
.article-card:hover { opacity: 0.8; }

.article-card-img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  order: 2;
  transition: transform 0.4s var(--ease);
  flex-shrink: 0;
}

.article-card:hover .article-card-img { transform: scale(1.03); }

.article-card-body { order: 1; }

.article-card-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.article-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.article-card:hover .article-card-title { color: var(--red); }

.article-card-excerpt {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.article-card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-400);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 40px; }

.sidebar-block { border-top: 3px solid var(--black); padding-top: 16px; }
.sidebar-block h3 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.sidebar-article {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
  cursor: pointer;
  transition: opacity 0.2s;
}

.sidebar-article:hover { opacity: 0.7; }
.sidebar-article:last-child { border-bottom: none; }

.sidebar-article img {
  width: 70px;
  height: 54px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-article-cat {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}

.sidebar-article-title {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

/* Newsletter sidebar */
.sidebar-newsletter {
  background: var(--black);
  padding: 24px;
}

.sidebar-newsletter h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.sidebar-newsletter p {
  font-size: 0.8125rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 16px;
}

.sidebar-input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 10px 12px;
  font-size: 0.875rem;
  margin-bottom: 10px;
  outline: none;
  transition: border-color 0.2s;
}

.sidebar-input:focus { border-color: var(--red); }
.sidebar-input::placeholder { color: var(--gray-600); }

.sidebar-btn {
  width: 100%;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 11px;
  transition: background 0.2s;
}

.sidebar-btn:hover { background: var(--red-dark); }

/* ============================================================
   BIG NUMBERS / STATS SECTION
   ============================================================ */
.stats-band {
  background: var(--black);
  padding: 56px 0;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-block {
  padding: 24px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.stat-block:last-child { border-right: none; }
.stat-block.visible { opacity: 1; transform: translateY(0); }

.stat-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -2px;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ============================================================
   FULL-WIDTH FEATURE (COVER STYLE)
   ============================================================ */
.feature-full {
  position: relative;
  height: 500px;
  overflow: hidden;
  cursor: pointer;
}

.feature-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.feature-full:hover img { transform: scale(1.04); }

.feature-full-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%);
}

.feature-full-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 56px 64px;
  max-width: 680px;
}

.feature-full-content .hero-tag { margin-bottom: 20px; }

.feature-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -1px;
  transition: color 0.2s;
}

.feature-full:hover .feature-title { color: var(--yellow); }

.feature-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}

/* ============================================================
   GRID 3-COL
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card-v {
  cursor: pointer;
  border-top: 3px solid var(--gray-200);
  padding-top: 20px;
  transition: border-top-color 0.2s;
}

.card-v:hover { border-top-color: var(--red); }

.card-v-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 16px;
  overflow: hidden;
  display: block;
}

.card-v-img-inner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.card-v:hover .card-v-img-inner { transform: scale(1.05); }

.card-v-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.card-v-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.card-v:hover .card-v-title { color: var(--red); }

.card-v-excerpt {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.card-v-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-400);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--black);
  padding: 72px 0;
}

.testimonials-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
}

.testimonials-header h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

.testimonial {
  background: var(--black);
  padding: 36px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.testimonial.visible { opacity: 1; transform: translateY(0); }
.testimonial:nth-child(2) { transition-delay: 0.1s; }
.testimonial:nth-child(3) { transition-delay: 0.2s; }

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 24px;
}

.testimonial-author {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-400);
}

.testimonial-author strong { color: var(--yellow); }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { padding: 80px 0; border-top: 1px solid var(--gray-200); }

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}

.services-header h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.services-header p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 3px solid var(--black);
}

.service-item {
  padding: 32px 28px;
  border-right: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: default;
}

.service-item:last-child { border-right: none; }
.service-item:hover { background: var(--black); }

.service-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-400);
  letter-spacing: 2px;
  margin-bottom: 16px;
  transition: color 0.3s;
}

.service-item:hover .service-num { color: var(--red); }

.service-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: block;
}

.service-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.service-item:hover .service-name { color: var(--white); }

.service-desc {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.6;
  transition: color 0.3s;
}

.service-item:hover .service-desc { color: var(--gray-400); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--red);
  padding: 56px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-text h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.cta-text p { font-size: 1rem; color: rgba(255,255,255,0.8); }

.btn-cta-white {
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.btn-cta-white:hover { background: var(--yellow); transform: translateY(-2px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  border-top: 3px solid var(--red);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.footer-logo em { color: var(--red); font-style: normal; }

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-contact-item {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 6px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 0.8125rem;
  color: var(--gray-600);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-600);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-600);
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--white); }

/* ============================================================
   BLOG LISTING
   ============================================================ */
.page-masthead {
  background: var(--black);
  padding: 48px 0;
  border-bottom: 3px solid var(--red);
}

.page-masthead h1 {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.page-masthead p {
  font-size: 1rem;
  color: var(--gray-400);
}

.filter-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
}

.filter-strip-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.filter-strip-inner::-webkit-scrollbar { display: none; }

.filter-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 20px;
  color: var(--gray-600);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.filter-tab:hover { color: var(--black); border-bottom-color: var(--gray-400); }
.filter-tab.active { color: var(--black); border-bottom-color: var(--red); }

.blog-list-section { padding: 48px 0; }

.blog-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.blog-list-item {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 20px;
  padding: 28px 28px 28px 0;
  border-bottom: 1px solid var(--gray-200);
  cursor: pointer;
  transition: background 0.2s;
}

.blog-list-item:nth-child(even) {
  padding: 28px 0 28px 28px;
  border-left: 1px solid var(--gray-200);
}

.blog-list-item:hover { background: var(--gray-100); }

.blog-list-img {
  width: 200px;
  height: 130px;
  object-fit: cover;
  flex-shrink: 0;
  order: 2;
  transition: transform 0.4s var(--ease);
}

.blog-list-item:hover .blog-list-img { transform: scale(1.03); }

.blog-list-body { order: 1; }

.blog-list-tag {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-bottom: 10px;
}

.blog-list-title {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.blog-list-item:hover .blog-list-title { color: var(--red); }

.blog-list-excerpt {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.blog-list-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-400);
}

/* ============================================================
   BLOG POST DETAIL
   ============================================================ */
.post-masthead {
  background: var(--black);
  padding: 64px 0 0;
  border-bottom: 3px solid var(--red);
}

.post-masthead-inner { max-width: 820px; margin: 0 auto; padding: 0 24px; }

.post-masthead-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  margin-bottom: 24px;
}

.post-masthead h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.post-masthead-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 32px;
  font-style: italic;
}

.post-masthead-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-600);
  padding-bottom: 32px;
}

.post-masthead-meta span { color: var(--gray-400); }

.post-hero-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.post-body-section { padding: 56px 0; }

.post-body-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.post-lead {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--black);
  border-left: 4px solid var(--red);
  padding-left: 20px;
  margin-bottom: 2rem;
}

.post-body-inner p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
}

.post-body-inner h2 {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--black);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.5px;
}

.post-body-inner blockquote {
  border-left: 4px solid var(--red);
  background: var(--gray-100);
  padding: 20px 24px;
  margin: 2rem 0;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--gray-800);
}

.post-related { background: var(--gray-100); padding: 56px 0; }

/* ============================================================
   EDITORIAL PAGE
   ============================================================ */
.editorial-hero {
  background: var(--black);
  padding: 80px 0;
}

.editorial-hero h1 {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1.05;
  max-width: 800px;
  margin-bottom: 20px;
}

.editorial-hero h1 em { color: var(--yellow); font-style: normal; }

.editorial-hero p { font-size: 1.125rem; color: var(--gray-400); max-width: 560px; line-height: 1.7; }

.editorial-manifesto {
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-200);
}

.editorial-manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
}

.editorial-manifesto p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
}

.editorial-manifesto p strong {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--black);
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 3px solid var(--black);
  margin: 48px 0;
}

.standard-item {
  padding: 32px;
  border-right: 1px solid var(--gray-200);
}

.standard-item:last-child { border-right: none; }

.standard-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 12px;
}

.standard-item h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.standard-item p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout { padding: 64px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.contact-info p { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 28px; }

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--gray-100);
  border-left: 3px solid var(--red);
}

.contact-detail-item strong { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); margin-bottom: 3px; }
.contact-detail-item span { font-size: 0.9375rem; color: var(--black); }

.contact-form-wrap { background: var(--black); padding: 48px; }
.contact-form-wrap h3 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  padding: 12px 14px;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus { border-color: var(--red); }
.form-control::placeholder { color: rgba(255,255,255,0.25); }
textarea.form-control { min-height: 130px; resize: vertical; }

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.consent-row input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: var(--red); cursor: pointer; }
.consent-row label { font-size: 0.8125rem; color: var(--gray-400); line-height: 1.5; cursor: pointer; }
.consent-row a { color: var(--red); }

.btn-submit-full {
  width: 100%;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px;
  font-family: var(--font-mono);
  transition: background 0.2s;
}

.btn-submit-full:hover { background: var(--red-dark); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero-section {
  background: var(--black);
  padding: 80px 0;
}

.about-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.about-hero-inner h1 {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1.1;
}

.about-hero-inner h1 em { color: var(--red); font-style: normal; }

.about-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.1);
}

.about-body { padding: 80px 0; }
.about-body-inner { max-width: 760px; margin: 0 auto; }

.about-body-inner h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 2.5rem 0 1rem;
}

.about-body-inner p {
  font-size: 1.0625rem;
  color: var(--gray-800);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 3px solid var(--red);
  margin: 48px 0;
}

.pillar {
  padding: 32px 28px;
  border-right: 1px solid var(--gray-200);
}

.pillar:last-child { border-right: none; }
.pillar-letter { font-family: var(--font-serif); font-size: 4rem; font-weight: 700; color: var(--red); line-height: 1; margin-bottom: 12px; }
.pillar h3 { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.pillar p { font-size: 0.8125rem; color: var(--gray-600); line-height: 1.6; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page { padding: 64px 0 80px; }
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h1 { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 700; letter-spacing: -1px; margin-bottom: 8px; }
.legal-date { font-family: var(--font-mono); font-size: 11px; color: var(--gray-400); margin-bottom: 40px; display: block; }
.legal-body h2 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.legal-body p { font-size: 0.9375rem; color: var(--gray-800); line-height: 1.8; margin-bottom: 1rem; }
.legal-body ul { padding-left: 20px; margin-bottom: 1rem; list-style: disc; }
.legal-body li { font-size: 0.9375rem; color: var(--gray-800); line-height: 1.7; margin-bottom: 6px; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--white);
  width: 100%;
  max-width: 520px;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.35s var(--ease);
}

.modal-overlay.open .modal { transform: translateY(0); }

.modal-header {
  background: var(--black);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 { font-family: var(--font-serif); font-size: 1.375rem; font-weight: 700; color: var(--white); }

.modal-close {
  color: var(--gray-400);
  font-size: 1.5rem;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover { color: var(--white); }

.modal-body { padding: 32px; }
.modal-body p { font-size: 0.875rem; color: var(--gray-600); margin-bottom: 20px; }

.modal-input {
  width: 100%;
  border: 1px solid var(--gray-200);
  padding: 12px 14px;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  outline: none;
  margin-bottom: 14px;
  transition: border-color 0.2s;
}

.modal-input:focus { border-color: var(--black); }

.modal-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.modal-consent input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: var(--red); }
.modal-consent label { font-size: 0.8125rem; color: var(--gray-600); line-height: 1.5; }
.modal-consent a { color: var(--red); }

.modal-submit {
  width: 100%;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px;
  font-family: var(--font-mono);
  transition: background 0.2s;
}

.modal-submit:hover { background: var(--red-dark); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  border-top: 3px solid var(--red);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 8000;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}

.cookie-bar.visible { transform: translateY(0); }

.cookie-text {
  font-size: 0.875rem;
  color: var(--gray-400);
  flex: 1;
}

.cookie-text a { color: var(--red); }

.cookie-accept {
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 24px;
  font-family: var(--font-mono);
  flex-shrink: 0;
  transition: background 0.2s;
}

.cookie-accept:hover { background: var(--red-dark); }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  top: 80px;
  right: 24px;
  background: var(--black);
  color: var(--white);
  border-left: 4px solid var(--red);
  padding: 14px 20px;
  font-size: 0.875rem;
  font-family: var(--font-mono);
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.35s var(--ease);
  max-width: 320px;
}

.toast.visible { transform: translateX(0); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-rail { flex-direction: row; border-left: none; border-top: 1px solid var(--gray-200); }
  .hero-rail-item { border-bottom: none; border-right: 1px solid var(--gray-200); }
  .main-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-hero-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .blog-list-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--black); flex-direction: column; padding: 16px 0; border-bottom: 3px solid var(--red); z-index: 800; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; border-bottom: none; }
  .nav-hamburger { display: flex; }
  .btn-subscribe { display: none; }

  .hero-main-title { font-size: 1.75rem; }
  .hero-rail { flex-direction: column; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .services-header { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .grid-3 { grid-template-columns: 1fr; }
  .about-pillars, .standards-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .feature-full-content { padding: 32px 24px; }
  .feature-title { font-size: 1.875rem; }
  .post-masthead h1 { font-size: 2rem; }
  .editorial-hero h1, .about-hero-inner h1 { font-size: 2.5rem; }
  .services-header h2 { font-size: 2rem; }
  .cookie-bar { flex-direction: column; align-items: flex-start; }
  .blog-list-item { grid-template-columns: 1fr; }
  .blog-list-img { width: 100%; height: 180px; order: -1; }
  .blog-list-item:nth-child(even) { border-left: none; padding: 28px 0; }
  .contact-form-wrap { padding: 28px; }
  .article-card { grid-template-columns: 1fr; }
  .article-card-img { width: 100%; height: 200px; order: -1; }
  .testimonials-header { flex-direction: column; gap: 16px; }
}
