/* ==========================================================================
   Codehelix - Styles
   A refined, technically elegant design system
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts
   -------------------------------------------------------------------------- */
@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@500,700,800&f[]=satoshi@400,500,700&display=swap');

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-orange: #f15534;
  --color-orange-hover: #d94a2d;
  --color-dark-blue: #0f283a;
  --color-off-white: #f8f6f3;
  --color-light-grey: #e8e8e8;
  --color-medium-grey: #6b7280;
  --color-soft-orange: #fef3f0;
  --color-deep-navy: #0a1c28;
  --color-success: #10b981;
  --color-error: #ef4444;
  --color-white: #ffffff;

  /* Typography - Modern sans-serif pairing */
  /* Cabinet Grotesk: Bold geometric display font for headlines */
  /* Satoshi: Clean, modern body font */
  --font-display: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font sizes - Mobile first */
  --text-xs: 0.8125rem;    /* 13px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.375rem;    /* 22px */
  --text-3xl: 1.5rem;      /* 24px */
  --text-4xl: 2rem;        /* 32px */
  --text-5xl: 2.25rem;     /* 36px */
  --text-6xl: 2.75rem;     /* 44px */
  --text-hero: 2.75rem;    /* 44px mobile */

  /* Spacing - 8px base unit */
  --space-1: 0.25rem;      /* 4px */
  --space-2: 0.5rem;       /* 8px */
  --space-3: 0.75rem;      /* 12px */
  --space-4: 1rem;         /* 16px */
  --space-5: 1.25rem;      /* 20px */
  --space-6: 1.5rem;       /* 24px */
  --space-8: 2rem;         /* 32px */
  --space-10: 2.5rem;      /* 40px */
  --space-12: 3rem;        /* 48px */
  --space-16: 4rem;        /* 64px */
  --space-20: 5rem;        /* 80px */
  --space-24: 6rem;        /* 96px */
  --space-32: 8rem;        /* 128px */

  /* Layout */
  --container-max: 1200px;
  --container-padding: var(--space-5);
  --section-padding: var(--space-16);

  /* Header */
  --header-height: 80px;
  --header-height-scrolled: 64px;

  /* Animation */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.3s;
  --duration-slow: 0.6s;
  --duration-slower: 0.8s;

  /* Borders & Shadows */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(15, 40, 58, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 40, 58, 0.08);
  --shadow-lg: 0 8px 24px rgba(15, 40, 58, 0.12);
  --shadow-xl: 0 16px 48px rgba(15, 40, 58, 0.16);
}

/* Desktop typography scale */
@media (min-width: 1024px) {
  :root {
    --text-base: 1.125rem;   /* 18px */
    --text-2xl: 1.75rem;     /* 28px */
    --text-3xl: 2rem;        /* 32px */
    --text-4xl: 3rem;        /* 48px */
    --text-5xl: 3.5rem;      /* 56px */
    --text-6xl: 4.5rem;      /* 72px */
    --text-hero: 5rem;       /* 80px */

    --container-padding: var(--space-8);
    --section-padding: var(--space-24);
    --header-height: 100px;
    --header-height-scrolled: 70px;
  }
}

/* --------------------------------------------------------------------------
   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: 400;
  line-height: 1.6;
  color: var(--color-dark-blue);
  background-color: var(--color-white);
  overflow-x: hidden;
}

/* Skip to content link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-3) var(--space-6);
  background: var(--color-dark-blue);
  color: var(--color-white);
  text-decoration: none;
  border-radius: var(--radius-md);
  z-index: 9999;
  transition: top var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  top: var(--space-4);
}

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

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-dark-blue);
}

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

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;
}

.text-large {
  font-size: var(--text-lg);
  line-height: 1.7;
}

.text-small {
  font-size: var(--text-sm);
}

.text-muted {
  color: var(--color-medium-grey);
}

.text-orange {
  color: var(--color-orange);
}

strong, .font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

/* Accent text - uses orange color for emphasis */
.text-accent {
  color: var(--color-orange);
}

/* --------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */
a {
  color: var(--color-dark-blue);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

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

/* Animated underline link */
.link-underline {
  position: relative;
  display: inline-block;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-orange);
  transition: width var(--duration-normal) var(--ease-out);
}

.link-underline:hover::after {
  width: 100%;
}

/* Arrow link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 500;
  color: var(--color-orange);
}

.link-arrow svg,
.link-arrow .arrow {
  transition: transform var(--duration-fast) var(--ease-out);
}

.link-arrow:hover svg,
.link-arrow:hover .arrow {
  transform: translateX(4px);
}

.link-arrow:hover {
  color: var(--color-orange-hover);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.btn-primary {
  background-color: var(--color-orange);
  color: var(--color-white);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--color-dark-blue);
  border: 1px solid var(--color-dark-blue);
}

.btn-secondary:hover {
  background-color: var(--color-dark-blue);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-dark-blue);
}

.btn-white:hover {
  background-color: var(--color-off-white);
  color: var(--color-dark-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Button sizes */
.btn-sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
}

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

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

.section {
  padding: var(--section-padding) 0;
}

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

@media (min-width: 1024px) {
  .section-sm {
    padding: var(--space-16) 0;
  }
}

/* Background variants */
.bg-white {
  background-color: var(--color-white);
}

.bg-off-white {
  background-color: var(--color-off-white);
}

.bg-soft-orange {
  background-color: var(--color-soft-orange);
}

.bg-dark-blue {
  background-color: var(--color-dark-blue);
  color: var(--color-off-white);
}

.bg-dark-blue h1,
.bg-dark-blue h2,
.bg-dark-blue h3,
.bg-dark-blue h4 {
  color: var(--color-white);
}

.bg-deep-navy {
  background-color: var(--color-deep-navy);
  color: var(--color-off-white);
}

.bg-deep-navy h1,
.bg-deep-navy h2,
.bg-deep-navy h3,
.bg-deep-navy h4 {
  color: var(--color-white);
}

/* Grid utilities */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

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

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

/* Flexbox utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

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

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Text alignment */
.text-center {
  text-align: center;
}

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

/* Spacing utilities */
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  height: var(--header-height-scrolled);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.header__logo {
  display: flex;
  align-items: center;
  height: 40px;
  transition: transform var(--duration-normal) var(--ease-out);
}

.header__logo img,
.header__logo svg {
  height: 100%;
  width: auto;
}

.header.scrolled .header__logo {
  transform: scale(0.85);
}

/* Desktop Navigation */
.header__nav {
  display: none;
  align-items: center;
  gap: var(--space-10);
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
  }
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav__link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-dark-blue);
  padding: var(--space-2) 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-orange);
  transition: width var(--duration-fast) var(--ease-out);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--color-dark-blue);
}

.nav__link.active {
  color: var(--color-orange);
}

.header__cta {
  margin-left: var(--space-4);
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle__line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-dark-blue);
  transition: all var(--duration-normal) var(--ease-out);
}

.menu-toggle__line:nth-child(1) {
  transform: translateY(-4px);
}

.menu-toggle__line:nth-child(2) {
  transform: translateY(4px);
}

.menu-toggle.active .menu-toggle__line:nth-child(1) {
  transform: translateY(1px) rotate(45deg);
}

.menu-toggle.active .menu-toggle__line:nth-child(2) {
  transform: translateY(-1px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__list {
  list-style: none;
  text-align: center;
}

.mobile-nav__item {
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration-slow) var(--ease-out);
}

.mobile-nav.active .mobile-nav__item {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.active .mobile-nav__item:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active .mobile-nav__item:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.active .mobile-nav__item:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.active .mobile-nav__item:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.active .mobile-nav__item:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav__link {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  padding: var(--space-4) 0;
  color: var(--color-dark-blue);
}

.mobile-nav__link:hover,
.mobile-nav__link.active {
  color: var(--color-orange);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--color-deep-navy);
  color: var(--color-off-white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__inner {
  display: grid;
  gap: var(--space-10);
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-16);
  }
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  display: block;
  width: 240px;
  height: auto;
  margin-bottom: var(--space-4);
}

.footer__logo img,
.footer__logo svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 240px;
}

.footer__tagline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  color: rgba(248, 246, 243, 0.6);
  margin-top: var(--space-2);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-5);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-3);
}

.footer__links a {
  color: rgba(248, 246, 243, 0.8);
  font-size: var(--text-sm);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__links a:hover {
  color: var(--color-orange);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(248, 246, 243, 0.8);
}

.footer__contact-item a {
  color: rgba(248, 246, 243, 0.8);
}

.footer__contact-item a:hover {
  color: var(--color-orange);
}

.footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(248, 246, 243, 0.1);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(248, 246, 243, 0.5);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero--short {
  min-height: 60vh;
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--color-off-white) 0%,
    var(--color-white) 50%,
    var(--color-soft-orange) 100%
  );
  z-index: -1;
}

/* Subtle decorative element */
.hero__background::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(
    ellipse at center,
    rgba(241, 85, 52, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

/* Hero with Background Image */
.hero--with-image {
  position: relative;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: -10% 0;
  z-index: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__image .image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e4df 0%, #d8d4cf 100%);
  font-size: var(--text-sm);
  color: var(--color-medium-grey);
}

/* Hero Canvas Animation Container */
.hero__canvas-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

#helix-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 3;
  pointer-events: none;
}

#node-network-canvas {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 2;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge {
  visibility: hidden !important;
}

.recaptcha-notice {
  font-size: 11px;
  color: var(--color-medium-grey);
  margin-top: var(--space-4);
}

.recaptcha-notice a {
  color: var(--color-medium-grey);
  text-decoration: underline;
}

.recaptcha-notice a:hover {
  color: var(--color-dark-blue);
}

/* Legal pages content */
.legal-content {
  max-width: 800px;
  font-size: 14px;
}

.legal-content h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark-blue);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark-blue);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.legal-content p {
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.legal-content ul {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.legal-content li {
  margin-bottom: var(--space-2);
  line-height: 1.6;
}

.legal-content a {
  color: var(--color-primary);
}

.legal-content a:hover {
  text-decoration: underline;
}

/* Footer legal links */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

#wave-lines-canvas,
#work-particles-canvas,
#case-studies-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.hero--with-image .hero__background {
  z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(248, 246, 243, 0.7) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(254, 243, 240, 0.6) 100%
  );
}

.hero--with-image .hero__background::before {
  display: none;
}

.hero--with-image .container {
  position: relative;
  z-index: 2;
}

.hero--with-image .scroll-indicator {
  z-index: 2;
}

.hero > .container {
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__content a,
.hero__content button {
  pointer-events: auto;
}

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

.hero__subheadline {
  font-size: var(--text-lg);
  color: var(--color-medium-grey);
  max-width: 600px;
  margin-bottom: var(--space-8);
}

@media (min-width: 1024px) {
  .hero__subheadline {
    font-size: var(--text-xl);
  }
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Scroll indicator - hidden on mobile, shown on desktop */
.scroll-indicator {
  display: none;
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-medium-grey);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .scroll-indicator {
    display: flex;
  }
}

.scroll-indicator__icon {
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-medium-grey);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator__icon::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background-color: var(--color-orange);
  border-radius: 2px;
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0.5;
  }
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--duration-normal) var(--ease-out);
}

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

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-5);
  color: var(--color-orange);
}

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

.card__description {
  color: var(--color-medium-grey);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* Feature card with border */
.card--bordered {
  background-color: transparent;
  border: 1px solid var(--color-light-grey);
}

.card--bordered:hover {
  border-color: var(--color-orange);
  background-color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: var(--space-12);
}

.section-header--center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-4);
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-description {
  color: var(--color-medium-grey);
  font-size: var(--text-lg);
}

/* --------------------------------------------------------------------------
   Stats / Numbers
   -------------------------------------------------------------------------- */
.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  line-height: 1;
  color: var(--color-orange);
  margin-bottom: var(--space-2);
}

.stat__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-medium-grey);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Image Placeholders
   -------------------------------------------------------------------------- */
.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-light-grey);
  border: 1px solid #d1d5db;
  border-radius: var(--radius-md);
  color: var(--color-medium-grey);
  font-size: var(--text-sm);
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  padding: var(--space-20) 0;
  text-align: center;
  overflow: hidden;
}

.cta-section__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section__title {
  margin-bottom: var(--space-4);
}

.cta-section__description {
  color: rgba(248, 246, 243, 0.8);
  margin-bottom: var(--space-8);
}

/* --------------------------------------------------------------------------
   About Page - Story Grid
   -------------------------------------------------------------------------- */
.story-grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.story-grid__content {
  order: 1;
}

@media (min-width: 768px) {
  .story-grid__content {
    order: 2;
  }
}

.story-grid__image {
  order: 2;
}

.story-grid__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

@media (min-width: 768px) {
  .story-grid__image {
    order: 1;
  }
}

/* --------------------------------------------------------------------------
   About Page - Approach Cards
   -------------------------------------------------------------------------- */
.approach-card {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-light-grey);
}

.approach-card__number {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-orange);
  margin-bottom: var(--space-3);
}

.approach-card__title {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.approach-card__description {
  color: var(--color-medium-grey);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   About Page - Expertise Grid
   -------------------------------------------------------------------------- */
.expertise-grid {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .expertise-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-16);
    align-items: start;
  }
}

/* Tech tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.tech-tag {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background-color: var(--color-white);
  border: 1px solid var(--color-light-grey);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-dark-blue);
  transition: all var(--duration-fast) var(--ease-out);
}

.tech-tag:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

/* --------------------------------------------------------------------------
   About Page - Value Cards
   -------------------------------------------------------------------------- */
.value-card {
  text-align: center;
  padding: var(--space-6);
}

.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: var(--color-soft-orange);
  border-radius: var(--radius-lg);
  color: var(--color-orange);
  margin-bottom: var(--space-4);
}

.value-card__title {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.value-card__description {
  color: var(--color-medium-grey);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Featured Clients
   -------------------------------------------------------------------------- */
.clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-8) var(--space-12);
}

.clients__item {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-medium-grey);
  opacity: 0.7;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.clients__item:hover {
  opacity: 1;
}

/* Client Carousel */
.clients-carousel-wrapper {
  overflow: hidden;
  width: 100%;
  padding: var(--space-4) 0;
}

.clients-track {
  display: flex;
  gap: var(--space-10);
  animation: scroll-clients 35s linear infinite;
  width: max-content;
}

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

@keyframes scroll-clients {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - var(--space-5))); }
}

.client-item {
  flex-shrink: 0;
  padding: var(--space-3) var(--space-6);
  background: white;
  border-radius: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-dark-blue);
  white-space: nowrap;
  transition: all 0.3s ease;
  border: 1px solid var(--color-light-grey);
}

.client-item--logo {
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.client-item--logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

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

.client-item:hover {
  background: var(--color-soft-orange);
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.client-item--logo:hover {
  background: white;
  border-color: var(--color-light-grey);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--color-dark-blue);
}

.form-label .required {
  color: var(--color-orange);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-dark-blue);
  background-color: var(--color-white);
  border: 1px solid var(--color-light-grey);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(241, 85, 52, 0.1);
}

.form-input--error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-medium-grey);
}

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

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

.form-error {
  font-size: var(--text-sm);
  color: var(--color-error);
  margin-top: var(--space-2);
}

.form-success {
  font-size: var(--text-sm);
  color: var(--color-success);
  margin-top: var(--space-2);
}

/* Honeypot - hidden from users */
.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Our Work Page - Projects Grid
   -------------------------------------------------------------------------- */
.projects-grid {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10);
  }
}

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

/* Project Card */
.project-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid var(--color-light-grey);
}

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

.project-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: transform var(--duration-slow) var(--ease-out),
              filter var(--duration-normal) var(--ease-out),
              opacity var(--duration-normal) var(--ease-out);
}

.project-card__image .image-placeholder {
  transition: transform var(--duration-slow) var(--ease-out);
}

.project-card:hover .project-card__image img,
.project-card:hover .project-card__image .image-placeholder {
  transform: scale(1.05);
  filter: grayscale(0%);
  opacity: 1;
}

.project-card__content {
  padding: var(--space-6);
}

.project-card__category {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-2);
}

.project-card__title {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-dark-blue);
}

.project-card__title a {
  color: inherit;
  transition: color var(--duration-fast) var(--ease-out);
}

.project-card__title a:hover {
  color: var(--color-orange);
}

.project-card__description {
  color: var(--color-medium-grey);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-dark-blue);
  transition: all var(--duration-fast) var(--ease-out);
}

.project-card__link svg {
  transition: transform var(--duration-fast) var(--ease-out);
}

.project-card__link:hover {
  color: var(--color-orange);
}

.project-card__link:hover svg {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   Our Work Page - Industries Grid
   -------------------------------------------------------------------------- */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.industry-tag {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  background-color: var(--color-off-white);
  border: 1px solid var(--color-light-grey);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-dark-blue);
  transition: all var(--duration-fast) var(--ease-out);
}

.industry-tag:hover {
  background-color: var(--color-soft-orange);
  border-color: var(--color-orange);
  color: var(--color-orange);
}

/* --------------------------------------------------------------------------
   Our Work Page - Client Need Cards
   -------------------------------------------------------------------------- */
.client-need-card {
  padding: var(--space-6);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-light-grey);
  transition: all var(--duration-normal) var(--ease-out);
}

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

.client-need-card__title {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-dark-blue);
  margin-bottom: var(--space-2);
}

.client-need-card__description {
  color: var(--color-medium-grey);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Case Studies Page
   -------------------------------------------------------------------------- */
.case-study {
  display: grid;
  gap: var(--space-10);
  align-items: start;
}

@media (min-width: 768px) {
  .case-study {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.case-study--reverse .case-study__image {
  order: 1;
}

@media (min-width: 768px) {
  .case-study--reverse .case-study__image {
    order: 2;
  }

  .case-study--reverse .case-study__content {
    order: 1;
  }
}

.case-study__image {
  position: sticky;
  top: calc(var(--header-height) + var(--space-8));
}

.case-study__image-link {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.case-study__image-link img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter var(--duration-normal) var(--ease-out),
              opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.case-study__image-link:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.02);
}

.case-study__image .image-placeholder {
  border-radius: var(--radius-lg);
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter var(--duration-normal) var(--ease-out),
              opacity var(--duration-normal) var(--ease-out);
}

.case-study__image:hover .image-placeholder {
  filter: grayscale(0%);
  opacity: 1;
}

/* Case Study Header */
.case-study__header {
  margin-bottom: var(--space-8);
}

.case-study__header .section-label {
  display: block;
  margin-bottom: var(--space-3);
}

.case-study__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.case-study__title a {
  color: inherit;
  transition: color var(--duration-fast) var(--ease-out);
}

.case-study__title a:hover {
  color: var(--color-orange);
}

/* Visit Site Button */
.case-study__visit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4);
  background: var(--color-white);
  border: 1px solid var(--color-light-grey);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.case-study__visit:hover {
  border-color: var(--color-orange);
  background: var(--color-soft-orange);
}

.case-study__visit-label {
  font-weight: 500;
  color: var(--color-dark-blue);
}

.case-study__visit-url {
  color: var(--color-orange);
}

.case-study__visit svg {
  color: var(--color-orange);
  transition: transform var(--duration-fast) var(--ease-out);
}

.case-study__visit:hover svg {
  transform: translate(2px, -2px);
}

@media (min-width: 1024px) {
  .case-study__title {
    font-size: var(--text-4xl);
  }
}

.case-study__section {
  margin-bottom: var(--space-8);
}

.case-study__section:last-child {
  margin-bottom: 0;
}

.case-study__section h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-orange);
  margin-bottom: var(--space-3);
}

.case-study__section p {
  color: var(--color-medium-grey);
  line-height: 1.7;
}

.case-study__list {
  list-style: none;
  margin: var(--space-4) 0;
  padding-left: 0;
}

.case-study__list li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-2);
  color: var(--color-medium-grey);
  line-height: 1.6;
}

.case-study__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background-color: var(--color-orange);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Contact Page
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: var(--space-12);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-16);
  }
}

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--color-white);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-light-grey);
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: var(--space-10);
  }
}

.contact-form__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-8);
}

.form-row {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form__submit {
  width: 100%;
}

@media (min-width: 768px) {
  .contact-form__submit {
    width: auto;
  }
}

.form-message {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
}

.form-message--success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
}

.form-message--error {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--color-error);
}

/* Contact Information */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-info__block {
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-light-grey);
}

.contact-info__block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info__name {
  font-size: var(--text-xl);
  margin-bottom: var(--space-1);
}

.contact-info__title {
  color: var(--color-medium-grey);
  font-size: var(--text-sm);
}

.contact-info__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-2);
}

.contact-info__link {
  font-size: var(--text-base);
  color: var(--color-dark-blue);
  transition: color var(--duration-fast) var(--ease-out);
}

.contact-info__link:hover {
  color: var(--color-orange);
}

.contact-info__address {
  font-style: normal;
  color: var(--color-medium-grey);
  line-height: 1.7;
}

.contact-info__map {
  margin-top: var(--space-4);
}

.contact-info__map .image-placeholder {
  border-radius: var(--radius-md);
}

/* Process Steps */
.process-step {
  text-align: center;
  padding: var(--space-6);
}

.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: var(--space-4);
}

.process-step__title {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.process-step__description {
  color: var(--color-medium-grey);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-light-grey);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: all var(--duration-fast) var(--ease-out);
}

.faq-item:hover {
  border-color: var(--color-orange);
}

.faq-item[open] {
  border-color: var(--color-orange);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-dark-blue);
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--color-orange);
  transition: transform var(--duration-fast) var(--ease-out);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-5);
}

.faq-answer p {
  color: var(--color-medium-grey);
  line-height: 1.7;
}

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

.hidden {
  display: none !important;
}

@media (max-width: 767px) {
  .hidden-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hidden-desktop {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Mobile: Show thumbnails in color (no hover on touch devices)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .project-card__image img,
  .case-study__image-link img,
  .case-study__image .image-placeholder {
    filter: grayscale(0%);
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   Main content - ensure it doesn't hide under fixed header
   -------------------------------------------------------------------------- */
main {
  min-height: 100vh;
}

/* For pages that don't start with a hero */
.main-content {
  padding-top: var(--header-height);
}
