/* ============================================
   Webweezl Design System
   Colors: #0A0A0A | #FF3C00 | #E5E5E5 | #FFE0D6
   ============================================ */

:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --brand-red: #FF3C00;
  --brand-light: #FFE0D6;
  --gray: #E5E5E5;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --surface: #111111;
  --surface-2: #1A1A1A;
  --border: rgba(255,255,255,0.08);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Selection */
::selection { background: var(--brand-red); color: var(--white); }

/* ============================================
   Custom Cursor
   ============================================ */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--brand-red);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), opacity 0.3s;
  mix-blend-mode: normal;
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 60, 0, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease-out-expo), width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), opacity 0.3s;
}

.cursor.is-hovering { width: 60px; height: 60px; opacity: 0.4; }
.cursor-follower.is-hovering { width: 60px; height: 60px; opacity: 0; }

@media (hover: none) {
  .cursor, .cursor-follower { display: none; }
}

/* ============================================
   Navigation
   ============================================ */
.site-header {
  background: rgba(10, 10, 10, 0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-in-out), backdrop-filter 0.4s, border-color 0.4s;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-link {
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-red);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out-expo);
  overflow-y: auto;
  z-index: 49;
  border-top: 1px solid var(--border);
}

.mobile-menu.is-open { transform: translateX(0); }

.mobile-nav-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

/* Hamburger */
#mobile-menu-toggle.is-active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#mobile-menu-toggle.is-active .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
#mobile-menu-toggle.is-active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg) scaleX(1.5); width: 1.5rem; }

/* Language switch */
.lang-switch {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  border-radius: 100px;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-red);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  border: 2px solid var(--brand-red);
  transition: background 0.25s, transform 0.25s var(--ease-out-expo), box-shadow 0.25s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.25s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 60, 0, 0.4);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  border: 2px solid var(--border);
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out-expo);
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-red);
  font-weight: 600;
  font-size: 0.875rem;
  transition: gap 0.25s var(--ease-out-expo);
  background: transparent;
  border: none;
}

.btn-text:hover { gap: 1rem; }

/* ============================================
   Typography
   ============================================ */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.heading-lg {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.heading-md {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.text-muted { color: var(--gray-400); }
.text-brand { color: var(--brand-red); }

.label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-red);
}

/* Split text animation */
.split-word { overflow: hidden; display: inline-block; }
.split-char { display: inline-block; }

/* ============================================
   Sections
   ============================================ */
.section { padding: 8rem 0; }
.section-sm { padding: 5rem 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 2rem; }

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 10rem 0 6rem;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,60,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,60,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-headline {
  margin-bottom: 2rem;
}

.hero-headline .display-xl {
  overflow: hidden;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--gray-400);
  max-width: 680px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-stats .stat-number-big {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
}

.hero-stats .stat-label-sm {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,60,0,0.08);
  border: 1px solid rgba(255,60,0,0.2);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-red);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--brand-red);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.4s var(--ease-out-expo), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,60,0,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  border-color: rgba(255, 60, 0, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}

.card:hover::before { opacity: 1; }

/* Service Card */
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: rgba(255,60,0,0.3);
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,60,0,0.1);
  border: 1px solid rgba(255,60,0,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  transition: background 0.3s, transform 0.3s;
}

.service-card:hover .service-icon {
  background: rgba(255,60,0,0.2);
  transform: scale(1.1);
}

/* Project Card */
.project-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

.project-card:hover { transform: translateY(-8px); box-shadow: 0 32px 64px rgba(0,0,0,0.6); }

.project-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--surface-2);
  overflow: hidden;
  position: relative;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.project-card:hover .project-card-image img { transform: scale(1.05); }

.project-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }

.project-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255,60,0,0.08);
  border: 1px solid rgba(255,60,0,0.15);
  color: var(--brand-red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}

@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item {
  background: var(--surface);
  padding: 2.5rem 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-number span { color: var(--brand-red); }
.stat-label { font-size: 0.8rem; color: var(--gray-400); font-weight: 500; letter-spacing: 0.05em; }

/* ============================================
   Blog
   ============================================ */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,0,0,0.5); border-color: rgba(255,60,0,0.2); }

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-2);
}

.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out-expo); }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 1.75rem; }

/* ============================================
   Marquee / Ticker
   ============================================ */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 3rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  background: var(--brand-red);
  border-radius: 50%;
  flex-shrink: 0;
}

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

/* ============================================
   Scroll Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================
   Dividers
   ============================================ */
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--brand-red);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* ============================================
   Process / Steps
   ============================================ */
.process-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.process-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  min-width: 5rem;
  letter-spacing: -0.03em;
}

/* ============================================
   Form Elements
   ============================================ */
.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}

.form-input:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(255,60,0,0.1);
}

.form-input::placeholder { color: var(--gray-600); }

textarea.form-input { resize: vertical; min-height: 140px; }

/* ============================================
   Cookie Banner
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 3rem);
  max-width: 900px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.8);
  animation: slideUpFade 0.5s var(--ease-out-expo) forwards;
}

@keyframes slideUpFade {
  from { transform: translateX(-50%) translateY(20px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner-content { display: flex; align-items: flex-start; gap: 1rem; flex: 1; min-width: 280px; }
.cookie-banner-icon { font-size: 2rem; flex-shrink: 0; margin-top: 0.25rem; }
.cookie-banner-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
}

.cookie-modal-inner {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  overflow-y: auto;
  z-index: 1;
}

.cookie-modal-header {
  position: sticky;
  top: 0;
  background: var(--surface);
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

.cookie-categories-list { padding: 1.5rem 2rem; }

.cookie-category-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.cookie-category-name { font-weight: 700; font-size: 0.95rem; }
.cookie-category-desc { color: var(--gray-400); font-size: 0.8rem; line-height: 1.5; margin-bottom: 0.75rem; }

/* Toggle Switch */
.toggle {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--gray-700);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s var(--ease-out-expo);
}

.toggle input:checked + .toggle-slider { background: var(--brand-red); }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); }
.toggle input:disabled + .toggle-slider { opacity: 0.6; cursor: not-allowed; }

.cookie-modal-footer {
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--black); }

/* ============================================
   Page Header
   ============================================ */
.page-header {
  padding: 12rem 0 6rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* ============================================
   Tag Pills
   ============================================ */
.tag-pill {
  display: inline-flex;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--gray-400);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

/* ============================================
   Horizontal scroll portfolio
   ============================================ */
.h-scroll-container {
  overflow-x: auto;
  cursor: grab;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.h-scroll-container::-webkit-scrollbar { display: none; }
.h-scroll-container:active { cursor: grabbing; }
.h-scroll-track { display: flex; gap: 1.5rem; width: max-content; padding: 1rem 2rem; }
.h-scroll-item { scroll-snap-align: start; flex-shrink: 0; }

/* ============================================
   About Page
   ============================================ */
.about-photo-wrapper {
  position: relative;
}

.about-photo-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255,60,0,0.2);
  border-radius: 24px;
  z-index: -1;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}

/* ============================================
   Blog Post
   ============================================ */
.blog-content h2 { font-size: 1.75rem; font-weight: 700; margin: 2.5rem 0 1rem; color: var(--white); letter-spacing: -0.02em; }
.blog-content h3 { font-size: 1.35rem; font-weight: 600; margin: 2rem 0 0.75rem; color: var(--white); }
.blog-content p { color: var(--gray-400); margin-bottom: 1.25rem; line-height: 1.8; }
.blog-content ul, .blog-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.blog-content li { color: var(--gray-400); margin-bottom: 0.5rem; line-height: 1.7; }
.blog-content ul li { list-style: disc; }
.blog-content ol li { list-style: decimal; }
.blog-content strong { color: var(--white); font-weight: 600; }
.blog-content a { color: var(--brand-red); text-decoration: underline; text-decoration-color: rgba(255,60,0,0.3); }
.blog-content a:hover { text-decoration-color: var(--brand-red); }
.blog-content blockquote { border-left: 3px solid var(--brand-red); padding: 1rem 1.5rem; margin: 2rem 0; background: var(--surface); border-radius: 0 12px 12px 0; }
.blog-content blockquote p { color: var(--gray); font-style: italic; margin: 0; }
.blog-content pre { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; margin: 1.5rem 0; overflow-x: auto; }
.blog-content code { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: var(--brand-light); }
.blog-content img { border-radius: 16px; margin: 2rem 0; width: 100%; }

/* ============================================
   Utility
   ============================================ */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Noise 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='1'/%3E%3C/svg%3E");
  opacity: 0.015;
  pointer-events: none;
  z-index: 10000;
}
