/* ═══════════════════════════════════════════════════════════════
   OK MARC - MAIN STYLESHEET v4.0.9.5 - 
   ═══════════════════════════════════════════════════════════════
   
   MAJOR RELEASE - SINGLE-TYPEFACE SYSTEM:
   - Galaxie Polaris as sole typeface across entire brand
   - Weight-based hierarchy (Light 300, Book 400, Medium 500, Bold 700)
   - Tight tracking on display type for modern editorial feel
   - Dramatic scale jumps for confident hierarchy
   - Clean, singular, not fussy
   
   PART 1: Variables + Base Styles + Header/Navigation
   
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   DESIGN SYSTEM - CSS VARIABLES
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* —— Light Theme Colors —— */
  --ink: #0B0D12;
  --warm-gray-900: #1F2126;
  --warm-gray-700: #3B3E46;
  --warm-gray-400: #8B8F99;
  --warm-gray-100: #E8E6DC;
  --accent: #136EF6;
  --accent-hover: #0F5CD4;
  --accent-light: rgba(19, 110, 246, 0.1);
  --accent-purple: #8B5CF6;
  --accent-orange: #F97316;
  --accent-pink: #EC4899;
  
  /* —— Semantic Color Aliases —— */
  --color-text: var(--ink);
  --color-text-muted: var(--warm-gray-700);
  --color-bg: #F4F3E9;
  --color-bg-secondary: var(--warm-gray-100);
  --color-border: rgba(59, 62, 70, 0.15);
  
  /* —— Typography - Galaxie Polaris Single-Font System —— */
  --font-primary: 'Galaxie Polaris', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* —— Font Weights —— */
  --weight-light: 300;
  --weight-book: 400;
  --weight-medium: 500;
  --weight-bold: 700;
  
  /* —— Spacing Scale —— */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;
  
  /* —— Border & Radius —— */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;
  
  /* —— Shadows —— */
  --shadow-sm: 0 1px 2px rgba(11, 13, 18, 0.06);
  --shadow-md: 0 8px 16px rgba(11, 13, 18, 0.08);
  --shadow-lg: 0 20px 40px rgba(11, 13, 18, 0.12);
  --shadow-xl: 0 32px 64px rgba(11, 13, 18, 0.16);
  
  /* —— Z-Index Layers —— */
  --z-sticky: 1000;
  --z-modal: 1050;
  --z-tooltip: 1100;
 /* —— Z-Index Layers —— */ 
  --container-width-blueprint: 1140px;
}

/* —— Dark Theme —— */
[data-theme="dark"] {
  --ink: #F4F4F2;
  --warm-gray-900: #E8E8E6;
  --warm-gray-700: #B8BAC0;
  --warm-gray-400: #6B6F79;
  --warm-gray-100: #1F2126;
  --accent: #4A8FFF;
  --accent-hover: #6BA4FF;
  --accent-light: rgba(74, 143, 255, 0.1);
  
  --color-text: var(--ink);
  --color-text-muted: var(--warm-gray-700);
  --color-bg: #0B0D12;
  --color-bg-secondary: var(--warm-gray-100);
  --color-border: rgba(232, 232, 230, 0.12);
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 32px 64px rgba(0, 0, 0, 0.6);
}

/* —— Container Width Setting —— */
.container-blueprint {
  width: 100%;
  max-width: var(--container-width-blueprint);
  margin-right: auto;
  margin-left: auto;
  /* Uses your spacing variables for mobile gutters */
  padding-right: var(--space-md);
  padding-left: var(--space-md);
}

@media (min-width: 768px) {
  .container-blueprint {
    padding-right: var(--space-lg);
    padding-left: var(--space-lg);
  }
}

/* ═══════════════════════════════════════════════════════════════
   FONT LOADING - GALAXIE POLARIS (WOFF2 ONLY)
   ═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Galaxie Polaris';
  src: url('../fonts/GalaxiePolaris-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
 /* CLS reduction */
  size-adjust: 100%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Galaxie Polaris';
  src: url('../fonts/GalaxiePolaris-Book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
 /* CLS reduction */
  size-adjust: 100%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Galaxie Polaris';
  src: url('../fonts/GalaxiePolaris-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
 /* CLS reduction */
  size-adjust: 100%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Galaxie Polaris';
  src: url('../fonts/GalaxiePolaris-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
 /* CLS reduction */
  size-adjust: 100%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}
/* ═══════════════════════════════════════════════════════════════
 Bootstrap Modifications for WYSIWYG Style Menu

  Unitless values scale proportionally with font size.
  Larger headings get tighter line-height; smaller headings open up.
  These values run slightly looser than typical to match editorial preference.
 ═══════════════════════════════════════════════════════════════ */

.h1 {
    line-height: 1.4;
}

.h2 {
    line-height: 1.45;
}

.h3 {
    line-height: 1.5;
}

.h4 {
    line-height: 1.55;
}

.h5 {
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   BASE STYLES
   ═══════════════════════════════════════════════════════════════ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-primary);
  font-size: 1.0625rem;
  font-weight: var(--weight-book);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background-color 0.3s ease, color 0.3s ease;
}

html.theme-ready body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* —— Typography - All Galaxie Polaris —— */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: var(--weight-medium);
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

h1, .h1 { 
  font-size: clamp(2.5rem, 8vw, 5rem); 
  font-weight: var(--weight-medium);
  line-height: 1.05;
  letter-spacing: -0.005em;
}

h2, .h2 { 
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: var(--weight-medium);
  line-height: 1.1;
  letter-spacing: +0.03em;
}

h3, .h3 { 
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: var(--weight-medium);
  letter-spacing: -0.015em;
}

h4, .h4 { 
  font-size: clamp(1.45rem, 3.5vw, 1.7rem);
  font-weight: var(--weight-medium);
  line-height: 1.65;
  letter-spacing: -0.01em;
}
h5, .h5 { 
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  font-weight: var(--weight-medium);
  letter-spacing: 0;
}

p { 
  margin-bottom: var(--space-md);
  max-width: 65ch;
}
.ccm-ui p {
    max-width: 100%
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.65;
  color: var(--color-text-muted);
  font-weight: var(--weight-light);
  max-width: 60ch;
  letter-spacing: -0.01em;
}
/* --------------------------------------------------------------------------
   Display Intro
   --------------------------------------------------------------------------
   Large-format opening statement. Not a heading — a dramatic lead-in.
   Use for high-impact opening paragraphs on landing pages.
   -------------------------------------------------------------------------- */

.display-intro {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: var(--space-lg); /* 3rem */
}
/* --------------------------------------------------------------------------
   Meta // Primarily on Interior Pages
   --------------------------------------------------------------------------
   Secondary information — dates, bylines, availability, attributions.
   Recedes visually to support primary content.
   -------------------------------------------------------------------------- */

.meta {
    opacity: 0.7;
    font-size: 1.0375rem;
    color: var(--color-text-muted);
}
/* --------------------------------------------------------------------------
   Kicker Line
   --------------------------------------------------------------------------
   A punchy single-line payoff. Follows a display intro.
   -------------------------------------------------------------------------- */

.kicker {
    font-weight: var(--weight-bold);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xl);
}
/* --------------------------------------------------------------------------
   Column Lead-In
   --------------------------------------------------------------------------
   Bold opener for column or card content.
   -------------------------------------------------------------------------- */

.column-lead {
    font-weight: var(--weight-bold);
    display: block;
    margin-bottom: var(--space-xs);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

mark {
  background-color: var(--accent);
  color: white;
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  font-weight: var(--weight-bold);
}

/* —— Container for Site Pages —— */
.container-blueprint {
  max-width: var(--container-width-blueprint);
  margin-left: auto;
  margin-right: auto;
}

/* —— Skip to Content (Accessibility) —— */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: var(--weight-bold);
  z-index: var(--z-tooltip);
  transition: top 0.3s ease;
}

.skip-to-content:focus {
  top: var(--space-sm);
}
/* ==========================================================================
   CONTENT STACK — Interior Page Rhythm
   ========================================================================== */

/**
 * Content container
 * Controls line length for optimal readability (75-85 characters per line).
 * Apply to main content areas on interior pages.
 */
.content-stack {
   /* max-width removed — container handles width */
}

/**
 * Prose container
 * Apply to Content blocks that need constrained line length.
 * Use via Design > Custom Class in Concrete.
 */
.prose-narrow {
     max-width: 42rem;
     margin-left: auto;
     margin-right: auto;
 }

.prose {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.prose-wider {
    max-width: 58rem;
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   Section Label
   --------------------------------------------------------------------------
   Tight connection to the heading that follows.
   The label introduces what comes next — they're a visual unit.
   -------------------------------------------------------------------------- */

.content-stack .section-label {
    margin-bottom: var(--space-xs); /* 0.5rem */
}


/* --------------------------------------------------------------------------
   Headings
   --------------------------------------------------------------------------
   Space below headings creates connection to the content they introduce.
   Larger headings need more breathing room; smaller headings stay tighter.
   -------------------------------------------------------------------------- */

.content-stack h1,
.content-stack .h1 {
    margin-bottom: var(--space-md); /* 1.5rem */
}

.content-stack h2,
.content-stack .h2 {
  margin-top: var(--space-xl); /* 6rem — creates section breaks */
}
.content-stack h3,
.content-stack .h3 {
    margin-bottom: var(--space-sm); /* 1rem */
}

.content-stack h4,
.content-stack .h4 {
    margin-bottom: var(--space-xs); /* 0.5rem */
}

.content-stack h5,
.content-stack .h5 {
    margin-bottom: var(--space-xs); /* 0.5rem */
}


/* --------------------------------------------------------------------------
   Lead Paragraph
   --------------------------------------------------------------------------
   The lead is a transitional element — it summarizes or sets up the content.
   Needs more space below than regular paragraphs to mark the shift.
   -------------------------------------------------------------------------- */

.content-stack .lead {
    margin-bottom: var(--space-md); /* 1.5rem */
}


/* --------------------------------------------------------------------------
   Body Paragraphs
   --------------------------------------------------------------------------
   Consistent spacing between paragraphs.
   Last paragraph in a container gets no bottom margin to avoid doubled space.
   -------------------------------------------------------------------------- */

.content-stack p {
    margin-bottom: var(--space-sm); /* 1rem */
}

.content-stack p:last-child {
    margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   Section Breaks
   --------------------------------------------------------------------------
   When distinct content groups stack, generous spacing signals the shift.
   Use .content-group for manually defined sections, or let <section> tags
   trigger the spacing automatically.
   -------------------------------------------------------------------------- */

.content-stack section + section,
.content-stack .content-group + .content-group {
    margin-top: var(--space-lg); /* 3rem */
}


/* ==========================================================================
   IMAGE BREAKOUT — Bleed Options
   ========================================================================== */

/**
 * Full bleed
 * Image spans the entire viewport width, breaking out of the content column.
 * Content returns to normal measure below.
 * 
 * Apply via: Image > Advanced > Stylesheet Classes > "bleed"
 */
.content-stack .bleed {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/**
 * Bleed left
 * Image breaks out to the left edge of the viewport.
 * Right edge stays aligned with the content column.
 * 
 * Apply via: Image > Advanced > Stylesheet Classes > "bleed-left"
 */
.content-stack .bleed-left {
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
}

/**
 * Bleed right
 * Image breaks out to the right edge of the viewport.
 * Left edge stays aligned with the content column.
 * 
 * Apply via: Image > Advanced > Stylesheet Classes > "bleed-right"
 */
.content-stack .bleed-right {
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-left: 0;
}


/* --------------------------------------------------------------------------
   Bleed Image Spacing
   --------------------------------------------------------------------------
   Bleed images are visual moments — they need vertical breathing room
   to feel intentional, not cramped against surrounding content.
   -------------------------------------------------------------------------- */

.content-stack .bleed,
.content-stack .bleed-left,
.content-stack .bleed-right {
    margin-top: var(--space-md);    /* 1.5rem */
    margin-bottom: var(--space-md); /* 1.5rem */
}

/* --------------------------------------------------------------------------
   Page Title Area
   --------------------------------------------------------------------------
   Generous top spacing separates content from header.
   Bottom spacing creates break before main content.
   -------------------------------------------------------------------------- */

.page-title-area {
   /* padding-top: var(--space-xl);    /* 6rem */
    padding-top: 0;
    padding-bottom: var(--space-lg); /* 3rem */
}
.main-content {
    padding-top: 0;
    margin-top: 0;
}

/* --------------------------------------------------------------------------
   Sticky Sidebar (For Interior Pages)
   --------------------------------------------------------------------------
   Stays in view while scrolling main content.
   Top offset accounts for fixed header if present.
   -------------------------------------------------------------------------- */

.sidebar-sticky {
    position: sticky;
    top: var(--space-lg); /* 3rem — adjust if header height differs */
}

/* ═══════════════════════════════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: all 0.3s ease;
}

[data-theme="dark"] .site-header {
  background-color: rgba(11, 13, 18, 0.8);
}

.navbar {
  padding: var(--space-sm) 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  height: 62px;
  width: auto;
  transition: opacity 0.9s ease;
}

.logo:hover {
  opacity: 0.8;
}

/* Hide dark logo by default, show in dark mode */
.logo-dark {
  display: none;
}

[data-theme="dark"] .logo-light {
  display: none;
}

[data-theme="dark"] .logo-dark {
  display: block;
}

.nav-link {
  color: var(--color-text-muted) !important;
  font-weight: var(--weight-medium);
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
  font-size: 0.9375rem;
  letter-spacing: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  color: var(--accent) !important;
}

.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: white;
  font-weight: var(--weight-bold);
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  border: none;
  box-shadow: 0 4px 12px rgba(19, 110, 246, 0.3);
  position: relative;
  overflow: hidden;
  letter-spacing: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(19, 110, 246, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-text);
  color: var(--color-text);
  font-weight: var(--weight-bold);
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 0;
  letter-spacing: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--color-text);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-outline:hover {
  color: var(--color-bg);
  border-color: var(--color-text);
}

.btn-outline:hover::before {
  width: 100%;
}
[data-theme="light"] .btn-outline:hover {
  color: var(--color-bg);
}

/* —— Dark Mode Toggle —— */
.theme-toggle {
  background: none;
  border: 1px solid transparent;
  color: var(--color-text);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--color-border);
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

/* Hamburger Toggle */
.navbar-toggler {
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  position: relative;
  transition: all 0.3s ease;
  z-index: 1100;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px var(--accent-light);
  outline: none;
}

.navbar-toggler:hover {
  border-color: var(--accent);
}

.navbar-toggler-icon {
  background-image: none;
  position: relative;
  width: 24px;
  height: 16px;
  display: block;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  opacity: 0.8;
  top: 0;
  left: 0;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  opacity: 0.8;
  bottom: 0;
  left: 0;
  transition: all 0.3s ease;
}

.navbar-toggler-icon span {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  opacity: 0.8;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  display: block;
}

[data-theme="dark"] .navbar-toggler-icon::before,
[data-theme="dark"] .navbar-toggler-icon::after,
[data-theme="dark"] .navbar-toggler-icon span {
  opacity: 0.6;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 7px;
  opacity: 1;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  bottom: 7px;
  opacity: 1;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
  opacity: 0;
  transform: translateY(-50%) scale(0);
}


/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-secondary);
  background-image: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(244, 244, 242, 0.85) 100%), 
    url('../img/hero-light.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

[data-theme="dark"] .hero {
  background-color: var(--ink);
  background-image: 
    linear-gradient(135deg, rgba(11, 13, 18, 0.7) 0%, rgba(31, 33, 38, 0.85) 100%), 
    url('../img/hero-dark.jpg');
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
  mix-blend-mode: overlay;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(19, 110, 246, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: var(--space-lg);
  line-height: 1.05;
}

.hero-subhead {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: var(--space-lg);
  line-height: 1.6;
  font-weight: var(--weight-book);
  letter-spacing: 0;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   MARQUEE SECTION

   Seamless marquee:
   JS duplicates items → track becomes [A...][A...]
   Animate 0 → -50% so loop resets invisibly.
   Duration set via --marquee-duration (computed in JS)

   ═══════════════════════════════════════════════════════════════ */

.marquee-section {
  background: var(--color-bg);
  padding: var(--space-xl) 0;
  overflow: hidden;
  position: relative;
}

.marquee-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 150px;
  height: 100%;
  background: linear-gradient(90deg, var(--color-bg) 0%, transparent 100%);
  z-index: 2;
}

.marquee-section::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 150px;
  height: 100%;
  background: linear-gradient(270deg, var(--color-bg) 0%, transparent 100%);
  z-index: 2;
}

.marquee {
  display: flex;
  gap: var(--space-xl);
  animation: scroll var(--marquee-duration, 133s) linear infinite;
  width: fit-content;
  align-items: center;
}

.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  height: 220px;
  min-width: 280px;
  transition: all 0.3s ease;
}

.marquee-item:hover {
  transform: translateY(-4px);
}

.marquee-item img {
  max-height: 200px;
  max-width: 280px;
  width: auto;
  height: 200px;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
}

[data-theme="dark"] .marquee-item img {
  filter: grayscale(100%) brightness(0) invert(1);
  opacity: 0.4;
}

.marquee-item:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

[data-theme="dark"] .marquee-item:hover img {
  filter: grayscale(0%) brightness(0) invert(1);
  opacity: 0.8;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee:hover {
  opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    animation: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION DEFAULTS
   ═══════════════════════════════════════════════════════════════ */

section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--space-md);
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent-light);
  border-radius: var(--radius-md);
}

.accent-rule {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: var(--space-md) 0 var(--space-lg);
  border-radius: var(--radius-sm);
}
/* ==========================================================================
   SECTION TREATMENTS — Visual Texture
   Built on existing design tokens. Theme-aware for light/dark modes.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Ruled Section
   --------------------------------------------------------------------------
   Strong horizontal rule using system border.
   -------------------------------------------------------------------------- */

.section-ruled {
    border-top: 2px solid var(--color-border);
    padding-top: var(--space-xl);
    margin-top: var(--space-xl);
}


/* --------------------------------------------------------------------------
   Accent Ruled
   --------------------------------------------------------------------------
   Horizontal rule in accent color for emphasis.
   -------------------------------------------------------------------------- */

.section-ruled-accent {
    border-top: 2px solid var(--accent);
    padding-top: var(--space-xl);
    margin-top: var(--space-xl);
}


/* --------------------------------------------------------------------------
   Accent Background
   --------------------------------------------------------------------------
   Subtle background shift using secondary bg color.
   Full-bleed with contained content.
   -------------------------------------------------------------------------- */

.section-accent {
    background-color: var(--color-bg-secondary);
    padding: var(--space-xl) 0;
    margin-top: var(--space-xl);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}


/* --------------------------------------------------------------------------
   Inset Card
   --------------------------------------------------------------------------
   Lifted container with border and subtle shadow.
   -------------------------------------------------------------------------- */

.section-inset {
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-top: var(--space-xl);
    box-shadow: var(--shadow-sm);
}


/* --------------------------------------------------------------------------
   Boxed — Stronger Border
   --------------------------------------------------------------------------
   More defined container with heavier border weight.
   -------------------------------------------------------------------------- */

.section-boxed {
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-top: var(--space-xl);
}


/* --------------------------------------------------------------------------
   Accent Border Left
   --------------------------------------------------------------------------
   Strong left border in accent color. Editorial callout style.
   -------------------------------------------------------------------------- */

.section-callout {
    border-left: 4px solid var(--accent);
    padding-left: var(--space-md);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
}


/* --------------------------------------------------------------------------
   Accent Glow
   --------------------------------------------------------------------------
   Subtle accent-colored shadow for emphasis.
   -------------------------------------------------------------------------- */

.section-glow {
    background-color: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-top: var(--space-xl);
    box-shadow: 0 0 0 1px var(--accent-light), 
                0 8px 32px var(--accent-light);
}


/* ==========================================================================
   HIGH ENERGY TREATMENTS — Patterns & Texture
   ========================================================================== */

/* --------------------------------------------------------------------------
   Diagonal Stripes
   --------------------------------------------------------------------------
   Subtle diagonal line pattern using border color.
   -------------------------------------------------------------------------- */

.section-stripes {
    position: relative;
    padding: var(--space-xl) 0;
    margin-top: var(--space-xl);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.section-stripes::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        var(--color-border) 10px,
        var(--color-border) 11px
    );
    pointer-events: none;
    z-index: 0;
}

.section-stripes > * {
    position: relative;
    z-index: 1;
}


/* --------------------------------------------------------------------------
   Dot Grid
   --------------------------------------------------------------------------
   Subtle tech-inspired dot pattern.
   -------------------------------------------------------------------------- */

.section-dots {
    position: relative;
    padding: var(--space-xl) 0;
    margin-top: var(--space-xl);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.section-dots::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        var(--color-border) 1px,
        transparent 1px
    );
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

.section-dots > * {
    position: relative;
    z-index: 1;
}


/* --------------------------------------------------------------------------
   Gradient Fade — Accent
   --------------------------------------------------------------------------
   Subtle gradient using accent color.
   -------------------------------------------------------------------------- */

.section-gradient {
    position: relative;
    padding: var(--space-xl) 0;
    margin-top: var(--space-xl);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    background: linear-gradient(
        180deg,
        var(--accent-light) 0%,
        transparent 100%
    );
}


/* --------------------------------------------------------------------------
   Gradient Fade — Purple
   --------------------------------------------------------------------------
   Subtle gradient using purple accent.
   -------------------------------------------------------------------------- */

.section-gradient-purple {
    position: relative;
    padding: var(--space-xl) 0;
    margin-top: var(--space-xl);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    background: linear-gradient(
        180deg,
        rgba(139, 92, 246, 0.08) 0%,
        transparent 100%
    );
}

[data-theme="dark"] .section-gradient-purple {
    background: linear-gradient(
        180deg,
        rgba(139, 92, 246, 0.12) 0%,
        transparent 100%
    );
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════════ */

.about {
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about .section-label,
.about h2,
.about .accent-rule,
.about .lead {
  position: relative;
  z-index: 2;
}

.floating-stat {
  position: absolute;
  top: 10%;
  right: 5%;
  background: transparent;
  padding: var(--space-md);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  text-align: center;
  animation: float-gentle 6s ease-in-out infinite;
  z-index: 1;
  max-width: 230px;
}

[data-theme="dark"] .floating-stat {
  background: var(--warm-gray-100);
}

.floating-stat-book-cover {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.floating-stat:hover .floating-stat-book-cover {
  transform: scale(1.02);
}

.floating-stat-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  margin-top: var(--space-sm);
}

/* Ensure text floats above book cover in any section */
.content-container > .section-label,
.content-container > h2,
.content-container > .accent-rule,
.content-container > .lead,
.content-container > p {
  position: relative;
  z-index: 2;
}

.book-label-new {
  font-size: 0.6875rem;
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  line-height: 1;
}

.book-label-coming {
  font-size: 0.9375rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  line-height: 1;
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: auto;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.process-item {
  padding: 2.8125rem;
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: auto;
  min-height: unset;
}

.process-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-light) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.process-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.process-item:hover::before {
  opacity: 1;
}

.process-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-md);
  color: var(--accent);
  transition: transform 0.4s ease;
}

.process-item:hover .process-icon {
  transform: scale(1.1);
}

.process-item h4 {
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
  position: relative;
  z-index: 1;
  font-weight: var(--weight-medium);
}

.process-item p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
  font-weight: var(--weight-book);
}

/* ═══════════════════════════════════════════════════════════════
   OFFER SECTION - BENTO BOX STYLE
   ═══════════════════════════════════════════════════════════════ */

.offer {
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: var(--space-md);
  max-width: 1100px;
  margin: var(--space-xl) auto;
}

.offer-item {
  padding: var(--space-xl) var(--space-lg);
  background-color: var(--color-bg);
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.offer-item:nth-child(1) { 
  grid-column: span 4; 
  grid-row: span 1;
  background: linear-gradient(135deg, rgba(19, 110, 246, 0.05) 0%, transparent 100%);
}
.offer-item:nth-child(2) { 
  grid-column: span 2; 
  grid-row: span 2;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, transparent 100%);
}
.offer-item:nth-child(3) { 
  grid-column: span 2; 
  grid-row: span 1;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, transparent 100%);
}
.offer-item:nth-child(4) { 
  grid-column: span 2; 
  grid-row: span 1;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, transparent 100%);
}
.offer-item:nth-child(5) { 
  grid-column: span 3; 
  grid-row: span 1;
}
.offer-item:nth-child(6) { 
  grid-column: span 3; 
  grid-row: span 1;
}

.offer-item:hover {
  transform: scale(1.02);
  z-index: 10;
  box-shadow: var(--shadow-xl);
}

.offer-item:nth-child(1):hover { border-color: var(--accent); }
.offer-item:nth-child(2):hover { border-color: var(--accent-purple); }
.offer-item:nth-child(3):hover { border-color: var(--accent-orange); }
.offer-item:nth-child(4):hover { border-color: var(--accent-pink); }
.offer-item:nth-child(5):hover { border-color: var(--accent); }
.offer-item:nth-child(6):hover { border-color: var(--accent-purple); }

.offer-number {
  font-size: 1.5rem;
  font-weight: var(--weight-bold);
  line-height: 1;
  margin-bottom: var(--space-md);
  opacity: 0.3;
  transition: all 0.4s ease;
  display: inline-block;
  transform-origin: right bottom;
  letter-spacing: 0;
}

.offer-item:nth-child(1) .offer-number { color: var(--accent); }
.offer-item:nth-child(2) .offer-number { color: var(--accent-purple); }
.offer-item:nth-child(3) .offer-number { color: var(--accent-orange); }
.offer-item:nth-child(4) .offer-number { color: var(--accent-pink); }
.offer-item:nth-child(5) .offer-number { color: var(--accent); }
.offer-item:nth-child(6) .offer-number { color: var(--accent-purple); }

.offer-item:hover .offer-number {
  opacity: 1;
  transform: scale(1.3);
}

.offer-item h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.375rem;
  font-weight: var(--weight-medium);
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
  letter-spacing: -0.01em;
}

.offer-item p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
  font-weight: var(--weight-book);
}

/* ═══════════════════════════════════════════════════════════════
   BIO SECTION - ANIMATED GRADIENT ORB
   ═══════════════════════════════════════════════════════════════ */

.bio {
  position: relative;
  background: var(--color-bg);
  overflow: hidden;
}

.bio::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(74, 143, 255, 0.25) 0%,
    rgba(139, 92, 246, 0.2) 30%,
    rgba(236, 72, 153, 0.15) 60%,
    transparent 80%
  );
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: 0;
  animation: orb-float 25s ease-in-out infinite;
  filter: blur(60px);
}

@keyframes orb-float {
  0%, 100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  25% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: translate(80px, -60px) scale(1.15) rotate(90deg);
  }
  50% {
    border-radius: 30% 60% 50% 70% / 50% 60% 30% 60%;
    transform: translate(-40px, 80px) scale(0.95) rotate(180deg);
  }
  75% {
    border-radius: 70% 30% 60% 40% / 30% 70% 40% 60%;
    transform: translate(60px, 40px) scale(1.1) rotate(270deg);
  }
}

.bio::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle at 60% 40%,
    rgba(139, 92, 246, 0.15) 0%,
    rgba(19, 110, 246, 0.1) 40%,
    transparent 70%
  );
  border-radius: 60% 40% 30% 70% / 40% 60% 50% 40%;
  z-index: 0;
  animation: orb-float 30s ease-in-out infinite reverse;
  filter: blur(50px);
}

.bio-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.bio-image-wrapper {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  z-index: 1;
}

.bio-image {
  width: 100%;
  height: auto;
  min-height: 400px;
  max-height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease;
  display: block;
  position: relative;
  z-index: 1;
}

.bio-image:hover {
  transform: translateY(-4px);
}

.bio-image-shadow {
  width: 130%;
  max-width: 520px;
  height: 69px;
  margin-top: -10px;
  border-radius: 999px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.20) 40%,
    rgba(0, 0, 0, 0.00) 80%
  );
  filter: blur(14px);
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .bio-image-shadow {
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.80) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0.00) 80%
  );
  opacity: 1;
}

@media (min-width: 768px) {
  .bio .row {
    align-items: stretch;
  }
}

.credentials-list {
  list-style: none;
  margin-top: var(--space-lg);
  padding: 0;
}

.credentials-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  font-weight: var(--weight-book);
  transition: color 0.2s ease;
  letter-spacing: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.credentials-list li:hover {
  color: var(--color-text);
}

.credentials-list li:last-child {
  border-bottom: none;
}

.credentials-list strong {
  color: var(--color-text);
  font-weight: var(--weight-medium);
}

.credentials-list a {
  color: var(--accent);
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0.5rem 0;
  margin: -0.5rem 0;
}

.credentials-list a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.credentials-list-mobile {
  display: none;
  margin-top: var(--space-lg);
  text-align: center;
}

.credentials-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: var(--weight-medium);
  font-size: 1rem;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  min-height: 44px;
  letter-spacing: 0;
}

.credentials-link:hover {
  background: var(--accent);
  color: white;
}

.credentials-link svg {
  width: 16px;
  height: 16px;
}


/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════════ */

.contact {
  background-color: var(--color-bg-secondary);
}

.contact-info {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.contact-info-item {
  margin-bottom: var(--space-lg);
}

.contact-info-item h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--weight-bold);
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.contact-info-item p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.8;
  font-weight: var(--weight-book);
}

.contact-info-item a {
  color: var(--color-text);
  font-weight: var(--weight-medium);
  transition: color 0.2s ease;
  display: inline-block;
  padding: 0.5rem 0;
}

.contact-info-item a:hover {
  color: var(--accent);
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

[data-theme="dark"] .contact-form-wrapper {
  background: rgba(31, 33, 38, 0.7);
}

.contact-form {
  max-width: 100%;
  margin: 0;
}

.form-control {
  background-color: var(--color-bg);
  border: 2px solid var(--color-border);
  color: var(--color-text);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  font-family: var(--font-primary);
  font-weight: var(--weight-book);
  letter-spacing: 0;
  min-height: 44px;
}

.form-control:focus {
  background-color: var(--color-bg);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
  color: var(--color-text);
  outline: none;
  transform: translateY(-2px);
}

.form-label {
  font-weight: var(--weight-medium);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  font-size: 0.9375rem;
  letter-spacing: 0;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.error-message {
  color: #DC2626;
  font-size: 0.875rem;
  margin-top: var(--space-xs);
  display: none;
  font-weight: var(--weight-medium);
}

.form-control.is-invalid {
  border-color: #DC2626;
}

.form-control.is-invalid ~ .error-message {
  display: block;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

.success-message {
  background-color: #059669;
  color: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-top: var(--space-md);
  display: none;
  font-weight: var(--weight-medium);
}

/* ═══════════════════════════════════════════════════════════════
   SIGNALS LANDING PAGE
   ═══════════════════════════════════════════════════════════════ */

.signals-landing {
  padding: var(--space-xl) 0;
}

.signals-filter-bar {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 0.625rem 1.25rem;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-primary);
  letter-spacing: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.signals-hero {
  margin-bottom: 0;
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.signals-hero:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.signals-hero-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.signals-hero-image {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: var(--color-bg-secondary);
  border-top-right-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
}

.signals-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.signals-hero:hover .signals-hero-image img {
  transform: scale(1.05);
}

.signals-hero-category {
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.signals-hero-content {
  padding: var(--space-xl);
}

.signals-hero h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-text);
  font-weight: var(--weight-medium);
  letter-spacing: -0.015em;
}

.signals-hero-excerpt {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  max-width: 100%;
  font-weight: var(--weight-book);
  letter-spacing: 0;
}

.signals-read-more {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: var(--weight-medium);
  color: var(--accent);
  margin-top: var(--space-sm);
  opacity: 0.7;
  transition: all 0.3s ease;
  letter-spacing: 0;
}

.signals-hero:hover .signals-read-more {
  opacity: 1;
  transform: translateX(4px);
}

.signals-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: var(--weight-medium);
  flex-wrap: wrap;
  letter-spacing: 0;
}

.signals-date {
  color: var(--color-text-muted);
}

.signals-readtime {
  color: var(--color-text-muted);
}

.signals-divider {
  color: var(--color-border);
}

.signals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.signals-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.signals-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.signals-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  min-height: 44px;
}

.signals-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--color-bg-secondary);
}

.signals-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.signals-card-content {
  padding: var(--space-lg);
}

.signals-card-category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  padding: 0.25rem 0.75rem;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
}

.signals-card h3 {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.4;
  margin-bottom: var(--space-md);
  color: var(--color-text);
  font-weight: var(--weight-medium);
  letter-spacing: -0.01em;
}

.signals-card-arrow {
  display: inline-block;
  font-size: 1.25rem;
  color: var(--accent);
  margin-top: var(--space-sm);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.signals-card:hover .signals-card-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.signals-pagination {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

.pagination-list {
  display: flex;
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-item {
  display: flex;
}

.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  letter-spacing: 0;
}

.pagination-link:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.pagination-item.active .pagination-link {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.pagination-link:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination-link svg {
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   BLOG POST TEMPLATE
   ═══════════════════════════════════════════════════════════════ */

.post-back-link {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.back-to-signals {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0;
  min-height: 44px;
  padding: 0.5rem 0;
}

.back-to-signals:hover {
  color: var(--accent);
  transform: translateX(-4px);
}

.back-to-signals svg {
  transition: transform 0.2s ease;
}

.back-to-signals:hover svg {
  transform: translateX(-2px);
}

.post-featured-image {
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: var(--color-bg-secondary);
  margin-bottom: var(--space-xl);
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-article {
  max-width: 100%;
  margin: 0 auto;
}

.post-header {
  max-width: 680px;
  margin: 0 auto var(--space-xl);
  padding: 0 var(--space-md);
}

.post-category-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--space-md);
  padding: 0.5rem 1rem;
  background: var(--accent-light);
  border-radius: var(--radius-md);
}

.post-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.025em;
  font-weight: var(--weight-book);
}

.post-byline {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-md);
}

.post-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.post-byline-text {
  flex: 1;
}

.post-author-name {
  font-weight: var(--weight-medium);
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
  letter-spacing: 0;
}

.post-date,
.post-readtime {
  color: var(--color-text-muted);
  font-weight: var(--weight-book);
}

.post-divider {
  color: var(--color-border);
}

.post-share {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.post-share-label {
  font-size: 0.875rem;
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all 0.2s ease;
  text-decoration: none;
}

.post-share-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.post-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.post-body p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  max-width: 100%;
  font-weight: var(--weight-book);
  letter-spacing: 0;
}

.post-lede {
  font-size: 1.375rem !important;
  line-height: 1.6 !important;
  color: var(--color-text) !important;
  font-weight: var(--weight-light) !important;
  margin-bottom: var(--space-xl) !important;
  letter-spacing: -0.01em !important;
}

.post-body h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
  font-weight: var(--weight-medium);
  letter-spacing: -0.015em;
}

.post-body h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-top: 4rem;
  margin-bottom: var(--space-md);
  line-height: 1.3;
  font-weight: var(--weight-medium);
  letter-spacing: -0.01em;
}

.post-body ul,
.post-body ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-lg);
}

.post-body li {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: var(--space-sm);
  font-weight: var(--weight-book);
}

.post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: all 0.2s ease;
  padding: 0.125rem 0;
}

.post-body a:hover {
  color: var(--accent-hover);
  text-decoration-thickness: 2px;
}

.post-body strong {
  font-weight: var(--weight-medium);
  color: var(--color-text);
}

.post-body em {
  font-style: italic;
}

.post-pullquote {
  margin: var(--space-xl) 0;
  padding: var(--space-lg) var(--space-xl);
  border-left: 4px solid var(--accent);
  background: var(--accent-light);
  border-radius: var(--radius-md);
}

.post-pullquote p {
  font-size: clamp(1.25rem, 3vw, 1.5rem) !important;
  line-height: 1.5 !important;
  font-weight: var(--weight-medium) !important;
  color: var(--color-text);
  font-style: italic;
  margin: 0 !important;
  letter-spacing: -0.01em !important;
}

.post-code {
  margin: var(--space-xl) 0;
  background: var(--warm-gray-100);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow-x: auto;
}

[data-theme="dark"] .post-code {
  background: #1a1d24;
}

.post-code pre {
  padding: var(--space-lg);
  margin: 0;
  overflow-x: auto;
}

.post-code code {
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text);
}

.post-image-breakout {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.post-image-breakout img {
  width: 100%;
  height: auto;
  display: block;
}

.post-image-breakout figcaption {
  max-width: 680px;
  margin: var(--space-md) auto 0;
  padding: 0 var(--space-md);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  text-align: center;
  font-style: italic;
  font-weight: var(--weight-book);
}

.post-author-bio {
  background: var(--color-bg-secondary);
  padding: var(--space-xl) 0;
  margin-top: 4rem;
}

.post-author-bio-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.post-author-bio-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.post-author-bio-content h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: var(--space-sm);
  font-weight: var(--weight-medium);
  letter-spacing: -0.01em;
}

.post-author-bio-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  font-weight: var(--weight-book);
}

.post-author-links {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  font-size: 0.9375rem;
  flex-wrap: wrap;
}

.post-author-links a {
  color: var(--accent);
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0.5rem 0;
}

.post-author-links a:hover {
  color: var(--accent-hover);
}

.post-author-links span {
  color: var(--color-border);
}

.post-related {
  padding: var(--space-xl) 0;
  background: var(--color-bg);
}

.post-related h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: var(--weight-medium);
  letter-spacing: -0.015em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.post-navigation {
  padding: var(--space-xl) 0;
  background: var(--color-bg);
}

.post-nav-inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.3s ease;
  min-height: 120px;
}

.post-nav-link:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.post-nav-prev {
  text-align: left;
}

.post-nav-next {
  text-align: right;
}

.post-nav-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--weight-bold);
  color: var(--accent);
}

.post-nav-title {
  font-size: clamp(0.9375rem, 2vw, 1rem);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  line-height: 1.4;
  letter-spacing: 0;
}

.post-nav-arrow {
  display: inline-block;
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.5;
  transition: all 0.3s ease;
  margin-top: var(--space-xs);
}

.post-nav-link:hover .post-nav-arrow {
  opacity: 1;
}

.post-nav-prev:hover .post-nav-arrow {
  transform: translateX(-4px);
}

.post-nav-next:hover .post-nav-arrow {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════
   PROJECTS/WORK LANDING PAGE
   ═══════════════════════════════════════════════════════════════ */

.projects-landing {
  padding: var(--space-xl) 0;
}

/* —— Projects Intro —— */
.projects-intro {
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}

.projects-intro h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: var(--space-md);
}

.projects-intro .lead {
  max-width: 700px;
  margin: 0 auto;
}

/* —— Projects Masonry Grid —— */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 100px;
  gap: var(--space-lg);
  max-width: 1400px;
  margin: 0 auto;
}

/* Project card variations - masonry using row spans */
.project-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--color-bg);
}

/* Varied row spans for masonry effect */
.project-large {
  grid-row: span 6;
}

.project-medium {
  grid-row: span 5;
}

.project-small {
  grid-row: span 4;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.project-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  height: 100%;
}

.project-image {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-secondary);
  display: block;
  width: 100%;
  height: 100%;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* —— Hover Overlay —— */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 13, 18, 0.92);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  z-index: 2;
}

[data-theme="dark"] .project-overlay {
  background: rgba(11, 13, 18, 0.95);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay-content {
  text-align: center;
  color: white;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.project-card:hover .project-overlay-content {
  transform: translateY(0);
}

.project-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  padding: 0.5rem 1rem;
  background: rgba(74, 143, 255, 0.2);
  border-radius: var(--radius-md);
}

.project-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: white;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.project-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   PARTNERSHIPS SECTION
   ═══════════════════════════════════════════════════════════════ */

.partnerships {
  background: var(--color-bg-secondary);
  padding: var(--space-2xl) 0;
}

.partnerships-intro {
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}

.partnerships-intro h2 {
  margin-bottom: var(--space-md);
}

.partnerships-intro .lead {
  max-width: 700px;
  margin: 0 auto;
}

.partnerships-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.partnership-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partnership-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.partnership-link {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.partnership-image {
  height: 400px;
  overflow: hidden;
  background: var(--color-bg-secondary);
  display: block;
  width: 100%;
  position: relative;
  border-top-right-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
}

.partnership-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

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

.partnership-content {
  padding: var(--space-xl);
}

.partnership-content h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.partnership-duration {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.partnership-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.partnership-arrow {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  transition: all 0.2s ease;
}

.partnership-card:hover .partnership-arrow {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════
   PROJECT CASE STUDY TEMPLATE
   ═══════════════════════════════════════════════════════════════ */

/* —— Back to Projects Link —— */
.case-back-link {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.back-to-projects {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 44px;
  padding: 0.5rem 0;
}

.back-to-projects:hover {
  color: var(--accent);
  transform: translateX(-4px);
}

.back-to-projects svg {
  transition: transform 0.2s ease;
}

.back-to-projects:hover svg {
  transform: translateX(-2px);
}

/* —— Hero Image (Full Width) —— */
.case-hero-image {
  width: 100%;
  height: 700px;
  overflow: hidden;
  background: var(--color-bg-secondary);
  margin-bottom: var(--space-2xl);
}

.case-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* —— Case Study Container —— */
.case-article {
  max-width: 100%;
  margin: 0 auto;
}

/* —— Case Study Header —— */
.case-header {
  max-width: 680px;
  margin: 0 auto var(--space-2xl);
  padding: 0 var(--space-md);
}

.case-header h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.15;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
}

/* —— Project Metadata Grid —— */
.case-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.case-meta-item h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.case-meta-item p {
  font-size: 1rem;
  color: var(--color-text);
  margin: 0;
  line-height: 1.6;
}

/* —— Case Study Body —— */
.case-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.case-section {
  margin-bottom: var(--space-2xl);
}

.case-section:last-of-type {
  margin-bottom: var(--space-xl);
}

.case-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.case-section h3 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.case-section p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  max-width: 100%;
}

/* —— Case Study Images —— */

/* Full-width breakout image */
.case-image-breakout {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.case-image-breakout img {
  width: 100%;
  height: auto;
  display: block;
}

.case-image-breakout figcaption {
  max-width: 680px;
  margin: var(--space-md) auto 0;
  padding: 0 var(--space-md);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  text-align: center;
  font-style: italic;
}

/* Two-column image grid */
.case-image-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.case-image-grid-item {
  margin: 0;
}

.case-image-grid-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.case-image-grid-item figcaption {
  margin-top: var(--space-sm);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-style: italic;
  text-align: center;
}

/* —— Project Navigation —— */
.project-navigation {
  padding: var(--space-xl) 0;
  background: var(--color-bg);
}

.project-nav-inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.project-nav-link {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.3s ease;
  min-height: 120px;
}

.project-nav-link:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-nav-prev {
  text-align: left;
}

.project-nav-next {
  text-align: right;
}

.project-nav-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--accent);
}

.project-nav-title {
  font-size: clamp(0.9375rem, 2vw, 1rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

.project-nav-arrow {
  display: inline-block;
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.5;
  transition: all 0.3s ease;
  margin-top: var(--space-xs);
}

.project-nav-link:hover .project-nav-arrow {
  opacity: 1;
}

.project-nav-prev:hover .project-nav-arrow {
  transform: translateX(-4px);
}

.project-nav-next:hover .project-nav-arrow {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

footer {
  background-color: var(--warm-gray-100);
  padding: var(--space-xl) 0 var(--space-md);
}

[data-theme="dark"] footer {
  background-color: var(--warm-gray-100);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-col h5 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.9375rem;
  font-weight: var(--weight-book);
  letter-spacing: 0;
  display: inline-block;
  padding: 0.5rem 0;
  min-height: 44px;
  line-height: 1.5;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-left {
  color: var(--color-text-muted);
  font-size: 0.625rem;
  text-align: left;
  font-weight: var(--weight-book);
}

.footer-bottom-right {
  text-align: right;
}

.back-to-top {
  display: inline-block;
  color: var(--accent);
  font-weight: var(--weight-medium);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  letter-spacing: 0;
  padding: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  text-align: center;
}

.back-to-top:hover {
  color: var(--accent-hover);
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════ */

.text-muted {
  color: var(--color-text-muted) !important;
}

*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */

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

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   Organized systematically: 1200px, 992px, 768px, 480px
   ═══════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────────
   LARGE TABLETS & SMALL DESKTOPS (max-width: 1200px)
   ─────────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  /* Hero section adjustments */
  .hero::before {
    width: 600px;
    height: 600px;
  }
  
  /* Bio orb scaling */
  .bio::before {
    width: 600px;
    height: 600px;
  }
  
  .bio::after {
    width: 350px;
    height: 350px;
  }
  
  /* Floating book promo */
  .floating-stat {
    right: 2%;
    max-width: 200px;
  }
}

/* ───────────────────────────────────────────────────────────────
   TABLETS (max-width: 992px)
   ─────────────────────────────────────────────────────────────── */
@media (max-width: 992px) {
  /* Process grid: 3 col → 2 col */
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  /* Offer grid: maintain bento layout but adjust */
  .offer-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 900px;
  }
  
  .offer-item:nth-child(1) { grid-column: span 4; }
  .offer-item:nth-child(2) { grid-column: span 2; grid-row: span 1; }
  .offer-item:nth-child(3) { grid-column: span 2; }
  .offer-item:nth-child(4) { grid-column: span 2; }
  .offer-item:nth-child(5) { grid-column: span 2; }
  .offer-item:nth-child(6) { grid-column: span 4; }
  
  /* Signals hero image */
  .signals-hero-image {
    height: 400px;
  }
  
  /* Signals grid: 3 col → 2 col */
  .signals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Related posts: 3 col → 2 col */
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Bio section: stack on tablets */
  .bio-container .row {
    flex-direction: column;
  }
  
  .bio-image-wrapper {
    max-width: 400px;
    margin: 0 auto var(--space-xl);
  }
  
  /* Footer: 4 col → 2 col */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ───────────────────────────────────────────────────────────────
   MOBILE & SMALL TABLETS (max-width: 768px)
   ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Global mobile adjustments */
  body {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    font-size: 1rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  /* —— HEADER/NAV —— */
  
  /* Logo minimum size */
  .logo {
    height: 52px;
    min-height: 52px;
  }
  
  .navbar {
    padding: 0.75rem 0;
  }
  
  /* Keep header visible above menu */
  .site-header {
    z-index: 1050;
  }
  
  /* Full-screen mobile menu */
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-bg);
    z-index: 1000;
    padding: 0;
    margin: 0;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex !important;
    flex-direction: column;
  }
  
  .navbar-collapse.show {
    transform: translateX(0);
  }
  
  .navbar-collapse.collapsing {
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* Center menu items in container */
  .navbar-collapse .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  /* Larger nav text, left-aligned with generous margins */
  .navbar-nav {
    flex: 1;
    justify-content: center;
    padding-top: 8rem;
    padding-bottom: 2rem;
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
    width: 100%;
    align-items: stretch;
  }
  
  .nav-item {
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    text-align: left;
  }
  
  .nav-item:last-of-type {
    border-bottom: none;
  }
  
  .nav-link {
    font-size: 1.375rem !important;
    padding: var(--space-md) 0 !important;
    font-weight: 600 !important;
    justify-content: flex-start;
    text-align: left;
  }
  
  /* Extra space before CTA button */
  .nav-item.ms-lg-3 {
    margin-top: var(--space-lg) !important;
    margin-left: 0 !important;
    border-bottom: none;
  }
  
  /* More subtle CTA in menu */
  .nav-item.ms-lg-3 .btn {
    width: 100%;
    padding: var(--space-md);
    font-size: 1rem;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    box-shadow: none;
  }
  
  .nav-item.ms-lg-3 .btn:hover {
    background: var(--accent);
    color: white;
  }
  
  /* Theme toggle at bottom of menu */
  .nav-item.ms-lg-2 {
    margin-top: var(--space-md);
    margin-left: 0 !important;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    border-bottom: none;
    display: flex;
    justify-content: center;
  }
  
  .theme-toggle {
    width: 52px;
    height: 52px;
  }
  
  /* —— HERO —— */
  .hero {
    min-height: 80vh;
    padding: var(--space-xl) 0;
  }
  
  .hero::before {
    width: 400px;
    height: 400px;
    right: -30%;
  }
  
  .hero h1 {
    margin-bottom: var(--space-md);
  }
  
  .hero-subhead {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* —— MARQUEE —— */
  .marquee-section {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
  
  .marquee-section::before,
  .marquee-section::after {
    width: 60px;
  }
  
  /* Marquee text left-aligned with proper spacing on mobile */
  .marquee-section .text-center {
    text-align: left !important;
    padding: 0;
  }
  
  .marquee-section .text-muted {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100%;
    padding-right: var(--space-md);
  }
  
  .marquee-section h3 {
    padding-right: var(--space-md);
  }
  
  /* Larger logos on mobile */
  .marquee-item {
    height: 180px;
    min-width: 240px;
  }
  
  .marquee-item img {
    max-height: 160px;
    height: 160px;
  }
  
  /* —— ABOUT SECTION —— */
  .section-label {
    font-size: 0.6875rem;
    padding: 0.375rem 0.875rem;
  }
  
  /* Reorder: Book promo appears after lead paragraph on mobile */
  .about .col-lg-10 {
    display: flex;
    flex-direction: column;
  }
  
  .about .section-label {
    order: 1;
  }
  
  .about h2 {
    order: 2;
  }
  
  .about .accent-rule {
    order: 3;
  }
  
  .about .lead {
    order: 4;
  }
  
  .process-grid {
    order: 5;
  }
  
  .floating-stat {
    position: static !important;
    order: 6;
    margin: var(--space-xl) auto var(--space-xl);
    animation: none;
    max-width: 260px;
  }
  
  /* Hide credentials list on mobile */
  .credentials-list {
    display: none;
  }
  
  /* Show "Professional Background" link instead */
  .credentials-list-mobile {
    display: block;
    margin-top: var(--space-lg);
    text-align: center;
  }
  
  .credentials-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: var(--weight-medium);
    font-size: 1rem;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    min-height: 44px;
  }
  
  .credentials-link:hover {
    background: var(--accent);
    color: white;
  }
  
  /* Process grid: 2 col → 1 col */
  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
  }
  
  .process-item {
    padding: var(--space-lg);
  }
  
  /* —— HERO —— */
  .hero {
    min-height: 80vh;
    padding: var(--space-xl) 0;
  }
  
  .hero::before {
    width: 400px;
    height: 400px;
    right: -30%;
  }
  
  .hero h1 {
    margin-bottom: var(--space-md);
  }
  
  .hero-subhead {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* —— MARQUEE —— */
  .marquee-section::before,
  .marquee-section::after {
    width: 60px;
  }
  
  /* Marquee text left-aligned on mobile */
  .marquee-section .text-center {
    text-align: left !important;
  }
  
  .marquee-section .text-muted {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  
  .marquee-item {
    height: 140px;
    min-width: 200px;
  }
  
  .marquee-item img {
    max-height: 120px;
    height: 120px;
  }
  
  /* —— ABOUT SECTION —— */
  .section-label {
    font-size: 0.6875rem;
    padding: 0.375rem 0.875rem;
  }
  
  /* Reorder: Book promo appears after lead paragraph on mobile */
  .about .col-lg-10 {
    display: flex;
    flex-direction: column;
  }
  
  .about .section-label {
    order: 1;
  }
  
  .about h2 {
    order: 2;
  }
  
  .about .accent-rule {
    order: 3;
  }
  
  .about .lead {
    order: 4;
  }
  
  .process-grid {
    order: 5;
  }
  
  .floating-stat {
    position: static !important;
    order: 6;
    margin: var(--space-lg) auto var(--space-xl);
    animation: none;
    max-width: 240px;
  }
  
  /* Process grid: 2 col → 1 col */
  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
  }
  
  .process-item {
    padding: var(--space-lg);
  }
  
  /* —— OFFER SECTION —— */
  .offer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
  }
  
  .offer-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    padding: var(--space-lg);
  }
  
  .offer-item h3 {
    font-size: 1.25rem;
  }
  
  /* —— BIO SECTION —— */
  .bio::before {
    width: 100%;
    height: 400px;
    top: 5%;
    left: -20%;
    filter: blur(40px);
  }
  
  .bio::after {
    display: none;
  }
  
  .bio-image-wrapper {
    max-width: 440px;
    margin: 0 auto var(--space-lg);
  }
  
  .bio-image {
    min-height: 320px;
    max-height: 400px;
  }
  
  .bio-image-shadow {
    width: 110%;
    max-width: 300px;
    height: 50px;
  }
  
  .credentials-list {
    margin-top: var(--space-md);
  }
  
  .credentials-list li {
    font-size: 0.9375rem;
    padding: 0.75rem 0;
  }
  
  /* —— CONTACT SECTION —— */
  .contact-form-wrapper {
    padding: var(--space-lg);
  }
  
  .contact-info {
    margin-bottom: var(--space-lg);
  }
  
  /* —— SIGNALS LANDING —— */
  .signals-landing {
    padding: 4rem 0;
  }
  
  .signals-filter-bar {
    gap: 0.5rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-lg);
    justify-content: flex-start;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }
  
  .signals-hero-image {
    height: 300px;
    border-radius: 0;
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
  }
  
  .signals-hero-content {
    padding: var(--space-lg);
  }
  
  .signals-hero h2 {
    font-size: 1.5rem;
  }
  
  .signals-hero-excerpt {
    font-size: 1rem;
  }
  
  .signals-hero-category {
    top: var(--space-md);
    left: var(--space-md);
    padding: 0.375rem 0.875rem;
    font-size: 0.6875rem;
  }
  
  /* Signals grid: 2 col → 1 col */
  .signals-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .signals-card-image {
    height: 200px;
  }
  
  .signals-card-content {
    padding: var(--space-md);
  }
  
  .signals-card h3 {
    font-size: 1.0625rem;
  }
  
  /* Pagination */
  .pagination-list {
    gap: 0.375rem;
  }
  
  .pagination-link {
    min-width: 40px;
    min-height: 40px;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
  }
  
  /* —— BLOG POST —— */
  .post-featured-image {
    height: 300px;
    margin-bottom: var(--space-lg);
  }
  
  .post-header {
    margin-bottom: var(--space-lg);
  }
  
  .post-header h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .post-byline {
    flex-wrap: wrap;
    padding: var(--space-md) 0;
  }
  
  .post-share {
    margin-top: var(--space-sm);
  }
  
  .post-body p,
  .post-body li {
    font-size: 1.0625rem;
    line-height: 1.7;
  }
  
  .post-lede {
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
  }
  
  .post-body h2 {
    font-size: 1.5rem;
    margin-top: var(--space-lg);
  }
  
  .post-body h3 {
    font-size: 1.25rem;
    margin-top: var(--space-lg);
  }
  
  .post-pullquote {
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
  }
  
  .post-pullquote p {
    font-size: 1.25rem !important;
  }
  
  .post-code {
    margin: var(--space-lg) 0;
  }
  
  .post-code pre {
    padding: var(--space-md);
  }
  
  .post-code code {
    font-size: 0.875rem;
  }
  
  .post-image-breakout {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-lg);
  }
  
  .post-author-bio {
    padding: var(--space-lg) 0;
    margin-top: var(--space-lg);
  }
  
  .post-author-bio-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
  }
  
  .post-author-bio-image {
    width: 100px;
    height: 100px;
  }
  
  .post-author-bio-content h3 {
    font-size: 1.25rem;
  }
  
  .post-author-bio-content p {
    font-size: 0.9375rem;
  }
  
  .post-author-links {
    justify-content: center;
  }
  
  /* Related posts: 2 col → 1 col */
  .related-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  /* Prev/Next nav: 2 col → 1 col stacked */
  .post-nav-inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .post-nav-link {
    padding: var(--space-md);
    min-height: 100px;
  }
  
  /* Both aligned left on mobile for easier reading */
  .post-nav-next {
    text-align: left;
  }
  
  .post-nav-title {
    font-size: 0.9375rem;
  }
  
  /* —— FOOTER —— */
  
  /* Add proper padding on mobile */
  footer {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
  
  .footer-grid {
    margin-bottom: var(--space-md);
  }
  
  /* Smaller copyright text, allow natural wrap to two lines */
  .footer-bottom-left {
    font-size: 0.75rem;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
  
  .footer-bottom-left,
  .footer-bottom-right {
    text-align: center;
  }
}

/* ───────────────────────────────────────────────────────────────
   SMALL MOBILE (max-width: 480px)
   ─────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Extra tight spacing for very small screens */
  body {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
  
  section {
    padding: 3rem 0;
  }
  
  /* Hero adjustments */
  .hero {
    min-height: 70vh;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .hero-subhead {
    font-size: 1rem;
  }
  
  /* Buttons full-width with better padding */
  .btn-primary,
  .btn-outline {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
  
  /* Process items more compact */
  .process-item {
    padding: var(--space-md);
  }
  
  .process-icon {
    width: 48px;
    height: 48px;
  }
  
  .process-item h4 {
    font-size: 1.125rem;
  }
  
  /* Offer items */
  .offer-item {
    padding: var(--space-md);
  }
  
  .offer-item h3 {
    font-size: 1.125rem;
  }
  
  .offer-item p {
    font-size: 0.9375rem;
  }
  
  /* Bio image on small mobile */
  .bio-image-wrapper {
    max-width: 320px;
  }
  
  .bio-image {
    min-height: 280px;
  }
  
  /* Signals cards more compact */
  .signals-card-image {
    height: 180px;
  }
  
  .signals-card-content {
    padding: var(--space-md);
  }
  
  .signals-card h3 {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
  }
  
  /* Post template */
  .post-featured-image {
    height: 240px;
  }
  
  .post-header h1 {
    font-size: 1.5rem;
  }
  
  .post-body p,
  .post-body li {
    font-size: 1rem;
  }
  
  .post-lede {
    font-size: 1.125rem !important;
  }
  
  .post-pullquote {
    padding: var(--space-sm) var(--space-md);
  }
  
  .post-pullquote p {
    font-size: 1.125rem !important;
  }
  
  /* Footer links more compact */
  .footer-links a {
    font-size: 0.875rem;
  }
  
  .footer-col h5 {
    font-size: 0.75rem;
    margin-bottom: var(--space-sm);
  }
}
