/* ============================================
   WebDevStudios Capabilities Web App
   Design System & Styles
   ============================================ */

/* ----------------------------------------
   CSS Custom Properties — WDS Brand Tokens
   ---------------------------------------- */
:root {
  /* ======================
     BRAND COLOR TOKENS
     (Single Source of Truth)
     ====================== */

  /* Primary Brand Colors */
  --brand-orange: #f3713c;
  --brand-orange-hover: #e86432;
  --brand-gray: #3d4046;
  --brand-white: #FFFFFF;

  /* Derived Neutral Tokens from brandGray */
  --text-primary: #3d4046;
  --text-muted: rgba(61, 64, 70, 0.72);
  --text-subtle: rgba(61, 64, 70, 0.5);
  --border-color: rgba(61, 64, 70, 0.12);
  --border-hover: rgba(61, 64, 70, 0.25);
  --surface: #FFFFFF;
  --surface-alt: #F9FAFB;
  /* Slightly cooler/cleaner than previous calc */
  --surface-hover: rgba(61, 64, 70, 0.03);
  --focus-ring: rgba(243, 113, 60, 0.35);
  --focus-ring-strong: rgba(243, 113, 60, 0.5);

  /* Legacy color mappings (for compatibility) */
  --color-ink: var(--text-primary);
  --color-ink-light: var(--text-muted);
  --color-ink-muted: var(--text-subtle);
  --color-paper: var(--surface);
  --color-paper-warm: var(--surface);
  --color-paper-alt: var(--surface-alt);
  --color-accent: var(--brand-orange);
  --color-accent-hover: var(--brand-orange-hover);
  --color-accent-light: rgba(243, 113, 60, 0.08);
  --color-slate: var(--brand-gray);
  --color-slate-deep: #2d3139;

  /* ======================
     TYPOGRAPHY TOKENS
     ====================== */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-weight-body: 400;
  --font-weight-medium: 500;
  --font-weight-heading: 700;
  --line-height-body: 1.6;
  --line-height-heading: 1.2;

  /* Font Sizes - Fluid Scale (Refined for hierarchy) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  /* Slightly more relaxed body */
  --text-lg: clamp(1.125rem, 1.05rem + 0.38vw, 1.25rem);
  --text-xl: clamp(1.35rem, 1.2rem + 0.75vw, 1.625rem);
  /* Increased distinctness */
  --text-2xl: clamp(1.75rem, 1.5rem + 1.25vw, 2.25rem);
  --text-3xl: clamp(2.25rem, 1.8rem + 2.25vw, 3rem);
  --text-4xl: clamp(2.75rem, 2.2rem + 2.75vw, 4rem);
  --text-5xl: clamp(3.25rem, 2.5rem + 3.75vw, 5rem);
  /* More dominant H1 */

  /* ======================
     SPACING & LAYOUT TOKENS
     ====================== */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 5rem;
  /* Increased from 4rem */
  --space-20: 7rem;
  /* Increased from 5rem */
  --space-24: 9rem;
  /* Increased from 6rem */
  --space-32: 12rem;
  /* Increased from 8rem */

  /* Layout */
  --container-max: 1240px;
  /* Slight increase for modern feel */
  --container-narrow: 840px;
  --container-padding: clamp(1.5rem, 5vw, 3rem);
  --section-padding-desktop: 120px;
  /* Significantly increased breathability */
  --section-padding-mobile: 64px;

  /* ======================
     BORDERS & SHADOWS
     ====================== */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-button: 12px;
  --radius-card: 16px;

  --shadow-sm: 0 1px 2px rgba(61, 64, 70, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(61, 64, 70, 0.07), 0 2px 4px -1px rgba(61, 64, 70, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(61, 64, 70, 0.08), 0 4px 6px -2px rgba(61, 64, 70, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(61, 64, 70, 0.1), 0 10px 10px -5px rgba(61, 64, 70, 0.04);

  /* ======================
     TRANSITIONS
     ====================== */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* ----------------------------------------
   Reset & Base
   ---------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-body);
  line-height: var(--line-height-body);
  color: var(--text-primary);
  background-color: var(--surface);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:not(.btn):hover {
  color: var(--brand-orange);
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

ul,
ol {
  list-style: none;
}

/* ----------------------------------------
   Typography
   ---------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-heading);
  color: var(--text-primary);
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

p {
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-orange);
  margin-bottom: var(--space-3);
}

.subhead {
  font-size: var(--text-xl);
  color: var(--text-muted);
  line-height: var(--line-height-body);
}

.section-intro {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 700px;
}

/* ----------------------------------------
   Layout Utilities
   ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
}

section {
  padding-top: var(--section-padding-desktop);
  padding-bottom: var(--section-padding-desktop);
}

@media (max-width: 768px) {
  section {
    padding-top: var(--section-padding-mobile);
    padding-bottom: var(--section-padding-mobile);
  }
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.text-center {
  text-align: center;
}

/* ----------------------------------------
   Animations
   ---------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring);
}

/* Primary Button - Brand Orange */
.btn--primary {
  background-color: var(--brand-orange);
  color: var(--brand-white);
}

.btn--primary:hover {
  background-color: var(--brand-orange-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--brand-white);
}

.btn--primary:focus-visible {
  box-shadow: 0 0 0 3px var(--focus-ring-strong);
}

/* Secondary Button - Transparent with border */
.btn--secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn--secondary:hover {
  background-color: var(--surface-alt);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

/* Ghost Button - Underlined text link style */
.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  padding: var(--space-2) 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
}

.btn--ghost:hover {
  color: var(--brand-orange);
}

.btn--large {
  font-size: var(--text-lg);
  padding: var(--space-5) var(--space-10);
}

/* White Button - For dark backgrounds */
.btn--white {
  background-color: var(--brand-white);
  color: var(--brand-gray);
}

.btn--white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--brand-gray);
}

/* ----------------------------------------
   Header
   ---------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  gap: var(--space-4);
}

.header__logo {
  display: flex;
  align-items: center;
  transition: opacity var(--transition-fast);
}

.header__logo:hover {
  opacity: 0.8;
}

.header__logo img {
  height: 32px;
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .header__logo img {
    height: 24px;
  }

  .header__inner .btn {
    font-size: var(--text-sm);
    padding: var(--space-3) var(--space-5);
  }
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--section-padding-desktop) + 80px);
  background-color: var(--surface);
  position: relative;
}

/* Subtle background band behind hero for presence */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 100%);
  z-index: 0;
}

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

.hero__content {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  /* Give text slightly more space */
  gap: var(--space-8) var(--space-20);
  /* Reduced vertical gap between title and content */
  align-items: start;
}

.hero__title {
  grid-column: 1 / -1;
  text-align: left;
  margin-bottom: var(--space-10);
  max-width: 900px;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: calc(var(--text-5xl) * 1.08);
  /* 8% larger for more presence */
}

@media (max-width: 900px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--section-padding-mobile) + 80px);
    padding-bottom: var(--section-padding-mobile);
  }

  .hero__copy {
    order: -1;
  }
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero__copy .subhead {
  margin-bottom: var(--space-12);
  font-size: var(--text-xl);
  max-width: 90%;
  color: var(--text-muted);
  /* Muted so H1 dominates */
  line-height: 1.7;
}

/* Custom Text Link CTA - Replaces button */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--brand-orange);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  /* Reserve space for hover state if needed, or just clean */
  transition: all var(--transition-base);
}

.cta-link span {
  transition: transform var(--transition-base);
}

.cta-link:hover {
  opacity: 0.8;
}

.cta-link:hover span {
  transform: translateX(4px);
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

/* Chip styling with brand colors */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.5rem 1rem;
  /* More intentional padding */
  background-color: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  /* Subtle lift */
}

/* Orange dot accent on chips */
.chip::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--brand-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.hero__microcopy {
  font-size: var(--text-sm);
  color: var(--text-subtle);
}

.hero__image {
  position: relative;
}

/* Hero image container - Replace with real WDS team photo */
.hero__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-xl);
}

/* Fallback placeholder styling (for development only) */
.hero__image-slot {
  aspect-ratio: 4 / 3;
  background-color: var(--surface-alt);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__image-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 40%, var(--surface-hover) 50%, transparent 60%),
    linear-gradient(45deg, transparent 40%, var(--surface-hover) 50%, transparent 60%);
  opacity: 0.5;
}

.image-caption {
  margin-top: var(--space-4);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.4;
  width: 100%;
}

.image-caption strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: var(--text-base);
  margin-bottom: 4px;
}

/* Hero mobile: copy first (handled in main media query above) */

/* ----------------------------------------
   About Section
   ---------------------------------------- */
.about {
  background-color: var(--surface);
}

.about__content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-16);
  align-items: center;
}

@media (max-width: 900px) {
  .about__content {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.about__copy h2 {
  margin-bottom: var(--space-6);
}

.about__copy p {
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

.about__highlights {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.about__highlights li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-weight: 500;
  color: var(--text-primary);
}

.about__highlights li::before {
  content: '✓';
  color: var(--brand-orange);
  font-weight: 700;
  margin-top: 2px;
}

.about__image img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-xl);
}

/* ----------------------------------------
   Why WDS Section
   ---------------------------------------- */
.why-wds {
  background-color: var(--surface-alt);
}

.why-wds__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.why-wds__header h2 {
  margin-bottom: var(--space-4);
}

.why-wds__header .section-intro {
  margin: 0 auto;
}

.why-wds__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
}

.differentiator {
  background-color: var(--surface);
  padding: var(--space-10);
  /* Increased padding for premium feel */
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  height: 100%;
  /* Ensure equal height */
}

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

.differentiator__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.differentiator__desc {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ----------------------------------------
   Capabilities Section
   ---------------------------------------- */
.capabilities {
  background-color: var(--surface);
}

.capabilities__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.capabilities__header h2 {
  margin-bottom: var(--space-4);
}

.capabilities__header .section-intro {
  margin: 0 auto;
}

.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .capabilities__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .capabilities__grid {
    grid-template-columns: 1fr;
  }
}

.capability-card {
  background-color: var(--surface);
  border: 1px solid var(--border-color);
  padding: var(--space-8);
  /* Relaxed padding */
  border-radius: var(--radius-card);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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





.capability-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.capability-card__desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: var(--line-height-body);
}

/* Removed capability-badge */

/* ----------------------------------------
   Achievements Section
   ---------------------------------------- */
.achievements {
  background-color: var(--surface);
}

.achievements__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.achievements__header .section-intro {
  margin: 0 auto;
}

.achievements__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .achievements__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .achievements__grid {
    grid-template-columns: 1fr;
  }
}

.achievement-card {
  background-color: var(--surface);
  border: 1px solid var(--border-color);
  padding: var(--space-6);
  border-radius: var(--radius-card);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.achievement-card__logo {
  margin-bottom: var(--space-2);
}

.achievement-card__logo img {
  max-height: 24px;
  max-width: 100px;
  height: auto;
  width: auto;
  opacity: 0.85;
}

.achievement-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.achievement-card__desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  line-height: var(--line-height-body);
  flex: 1;
}

.achievement-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
}

.achievement-card__links a {
  font-size: var(--text-sm);
  color: var(--brand-orange);
  text-decoration: none;
  transition: color var(--transition-base);
}

.achievement-card__links a:hover {
  color: var(--brand-orange-hover);
  text-decoration: underline;
}

.achievement-card__links a:focus {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ----------------------------------------
   WordPress Expertise Section
   ---------------------------------------- */
.expertise {
  background-color: var(--surface-alt);
}

.expertise__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

@media (max-width: 900px) {
  .expertise__content {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.expertise__copy h2 {
  margin-bottom: var(--space-6);
}

.expertise__copy>p {
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.expertise__proof {
  margin-top: var(--space-6);
}

.expertise__proof h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.expertise__proof ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.expertise__proof li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-muted);
}

.expertise__proof li::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--brand-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.expertise__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

@media (max-width: 600px) {
  .expertise__media {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }
}

/* Base media item for placeholders */
.media-item {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--brand-gray) 0%, var(--color-slate-deep) 100%);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-xs);
  text-align: center;
  padding: var(--space-4);
  position: relative;
  overflow: hidden;
}

/* Book covers - display full cover without cropping */
.media-item--book {
  aspect-ratio: auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  overflow: visible;
}

.media-item--book img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 10px 20px rgba(0, 0, 0, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.media-item--book:hover img {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.12),
    0 16px 32px rgba(0, 0, 0, 0.18),
    0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Event photos - professional styling like books */
.media-item--event {
  aspect-ratio: auto;
  background: transparent;
  padding: 0;
  overflow: visible;
  border-radius: 0;
}

.media-item--event img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 10px 20px rgba(0, 0, 0, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.media-item--event:hover img {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.12),
    0 16px 32px rgba(0, 0, 0, 0.18),
    0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Placeholder styling - only applies when span is present */
.media-item--event span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, var(--brand-gray) 0%, var(--color-slate-deep) 100%);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-xs);
  text-align: center;
}

/* Overlay effect only for placeholder items */
.media-item span::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  border-radius: var(--radius-card);
  pointer-events: none;
}

.media-item span {
  position: relative;
  z-index: 1;
}

/* ----------------------------------------
   How We Work Section
   ---------------------------------------- */
.how-we-work {
  background-color: var(--surface);
}

.how-we-work__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.how-we-work__header h2 {
  margin-bottom: var(--space-4);
}

.how-we-work__header .section-intro {
  margin: 0 auto;
}

.how-we-work__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .how-we-work__steps {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 300;
  color: var(--brand-orange);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.step__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.step__desc {
  color: var(--text-muted);
  max-width: 280px;
  margin: 0 auto;
}

/* Connector lines on desktop */
@media (min-width: 769px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -16%;
    width: 32%;
    height: 2px;
    background: linear-gradient(to right, var(--brand-orange) 0%, transparent 100%);
    opacity: 0.2;
  }
}

.how-we-work__reassurance {
  text-align: center;
  margin-top: var(--space-16);
  font-size: var(--text-lg);
  color: var(--text-subtle);
  font-style: italic;
}

/* ----------------------------------------
   Leadership & Delivery Accountability Section
   ---------------------------------------- */
.leadership {
  background-color: var(--surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.leadership__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.leadership__header h2 {
  margin-bottom: var(--space-4);
}

.leadership__header .section-intro {
  max-width: 700px;
  margin: 0 auto;
}

.leadership__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

@media (max-width: 900px) {
  .leadership__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.leadership-card {
  background-color: var(--surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-base);
  overflow: hidden;
}

.leadership-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.leadership-card__photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  background-color: var(--surface);
  border-bottom: 1px solid var(--border-color);
}

.leadership-card__photo svg {
  width: 56px;
  height: 56px;
  opacity: 0.35;
}

.leadership-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leadership-card__content {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.leadership-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.leadership-card__owns {
  font-size: var(--text-sm);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-color);
}

.leadership-card__owns strong {
  color: var(--brand-orange);
}

.leadership-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5) 0;
}

.leadership-card__list li {
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding-left: var(--space-4);
  position: relative;
  margin-bottom: var(--space-2);
  line-height: 1.5;
}

.leadership-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: var(--brand-orange);
  border-radius: 50%;
  opacity: 0.6;
}

.leadership-card__touchpoints-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
  margin-top: auto;
}

.leadership-card__touchpoints {
  list-style: none;
  padding: 0;
  margin: 0;
}

.leadership-card__touchpoints li {
  font-size: var(--text-xs);
  color: var(--text-muted);
  padding-left: var(--space-3);
  position: relative;
  margin-bottom: var(--space-1);
}

.leadership-card__touchpoints li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand-orange);
  opacity: 0.7;
}

/* ----------------------------------------
   Proof & Trust Section
   ---------------------------------------- */
.proof {
  background-color: var(--surface-alt);
}

.proof__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.proof__header h2 {
  margin-bottom: var(--space-4);
}

.proof__header .section-intro {
  margin: 0 auto;
}

.proof__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-6) var(--space-10);
  margin-bottom: var(--space-12);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .proof__logos {
    gap: var(--space-5) var(--space-6);
  }
}

@media (max-width: 480px) {
  .proof__logos {
    gap: var(--space-4) var(--space-5);
  }
}

/* "Cool" Separator */
.section-separator {
  width: 100%;
  max-width: 600px;
  height: 2px;
  margin: 0 auto var(--space-16);
  background: linear-gradient(90deg, transparent, var(--brand-orange), transparent);
  opacity: 0.6;
}

/* Client logos - grayscale by default, color on hover */
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-5);
  filter: grayscale(100%);
  opacity: 0.55;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.client-logo img {
  max-width: 120px;
  height: 36px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .client-logo img {
    max-width: 100px;
    height: 28px;
  }
}

/* Legacy placeholder styling */
.logo-placeholder {
  aspect-ratio: 16 / 9;
  background-color: var(--surface);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  color: var(--text-subtle);
  font-weight: 500;
  text-align: center;
  padding: var(--space-2);
  border: 1px solid var(--border-color);
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-base);
}

.logo-placeholder:hover {
  filter: grayscale(0%);
  opacity: 1;
  border-color: var(--border-hover);
}

.proof__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-20);
  text-align: center;
  padding: var(--space-8) 0;
}

@media (max-width: 600px) {
  .proof__stats {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.stat {
  padding: var(--space-6);
  position: relative;
  flex: 1;
  min-width: 280px;
}

.stat__value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

/* Orange accent underline - consistent across all metrics */
.stat__value::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background-color: var(--brand-orange);
  margin: var(--space-3) auto 0;
  border-radius: 2px;
}

.stat__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  margin-top: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.proof__testimonial {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-12) var(--space-10);
  background-color: var(--surface-alt);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  position: relative;
}

.proof__testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 180px;
  color: var(--brand-orange);
  opacity: 0.12;
  position: absolute;
  top: -48px;
  left: 24px;
  line-height: 1;
}

.proof__testimonial blockquote {
  font-size: var(--text-2xl);
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: var(--space-5);
  position: relative;
  line-height: 1.5;
}

.proof__testimonial cite {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-style: normal;
  letter-spacing: 0.02em;
}

/* ----------------------------------------
   Final CTA Section
   ---------------------------------------- */
.final-cta {
  background: linear-gradient(145deg, var(--brand-gray) 0%, var(--color-slate-deep) 100%);
  color: white;
  text-align: center;
  padding: var(--section-padding-desktop) 0;
}

.final-cta h2 {
  color: white;
  margin-bottom: var(--space-6);
}

.final-cta__copy {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto var(--space-10);
}

.final-cta__microcopy {
  margin-top: var(--space-6);
  /* More breathing room */
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
  background-color: var(--brand-gray);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-16) 0;
  font-size: var(--text-sm);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.footer__logo {
  display: flex;
  align-items: center;
  transition: opacity var(--transition-fast);
  margin-bottom: var(--space-2);
}

.footer__logo img {
  height: 28px;
  width: auto;
  display: block;
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-base);
  font-family: var(--font-display);
  font-style: italic;
  margin-bottom: var(--space-2);
}

.footer__copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

.footer__logo:hover {
  opacity: 0.85;
}

/* ----------------------------------------
   Stagger Animation Delays
   ---------------------------------------- */
.stagger-1 {
  transition-delay: 0ms;
}

.stagger-2 {
  transition-delay: 100ms;
}

.stagger-3 {
  transition-delay: 200ms;
}

.stagger-4 {
  transition-delay: 300ms;
}

.stagger-5 {
  transition-delay: 400ms;
}

.stagger-6 {
  transition-delay: 500ms;
}