/* =====================================================
   APPLECORE PROPERTY - DESIGN SYSTEM & STYLES
   ===================================================== */

/* ----- Custom Properties ----- */
:root {
  /* Colours */
  --color-primary: #2E7AB8;
  --color-primary-dark: #1E5A8A;
  --color-grey: #8C8C8C;
  --color-text: #2D2D2D;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8F8F6;

  /* Typography */
  --font-family: 'Inter', sans-serif;
  --font-accent: 'Caveat', cursive;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 3rem;
  --font-size-hero: clamp(2.5rem, 5vw, 4rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

/* ----- 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-family);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

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

a:hover {
  color: var(--color-primary-dark);
}

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

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

h2 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

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

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

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

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

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

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--blue {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn--primary {
  background-color: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background-color: var(--color-primary);
  color: #fff;
}

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

.btn--white:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

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

.header--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header--transparent {
  background-color: transparent;
  backdrop-filter: none;
  height: 120px;
  padding-top: var(--space-sm);
}

.header--transparent .header__logo img {
  filter: brightness(0) invert(1);
  height: 70px;
}

.header--transparent .nav__link {
  color: #fff;
}

.header--transparent .nav__link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.header--transparent .nav__cta {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.header--transparent .nav__cta:hover {
  background-color: #fff;
  color: var(--color-primary);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo img {
  height: 56px;
  width: auto;
  transition: all var(--transition-base);
}

/* ----- Navigation ----- */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__list {
  display: flex;
  list-style: none;
  gap: var(--space-md);
}

.nav__link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-base);
}

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

.nav__cta {
  margin-left: var(--space-sm);
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: var(--transition-base);
}

.header--transparent .nav__toggle span {
  background-color: #fff;
}

.header--menu-open {
  background-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.header--menu-open .nav__toggle span {
  background-color: #fff;
}

/* ----- Hero Section ----- */
.hero {
  position: relative;
  height: 75vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding-top: 60px;
}

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: -1;
  border-radius: inherit;
}

.hero__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  width: 100%;
}

.hero__content {
  max-width: 600px;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-size: var(--font-size-hero);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: #fff;
  line-height: 1.1;
}

.hero__content .btn {
  margin-top: var(--space-sm);
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  font-weight: 400;
  margin-bottom: 0;
  opacity: 0.9;
}

.hero__cta {
  margin-top: var(--space-md);
}

.hero__stats {
  display: flex;
  gap: var(--space-md);
}

.hero__stat {
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__stat:first-child {
  border-left: none;
}

.hero__stat-number {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  display: block;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Image Variant (for inner pages) */
.hero--image {
  height: 60vh;
  min-height: 450px;
  width: 95%;
  max-width: 1600px;
  margin: 0 auto;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  align-items: center;
}

.hero--image .hero__container {
  justify-content: flex-start;
  align-items: center;
}

.hero--image .hero__content {
  max-width: 600px;
}

.hero--image .hero__title {
  margin-bottom: var(--space-md);
}

.hero__sidebar {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}


.hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  border-radius: inherit;
}

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

.hero__content--center {
  text-align: center;
  max-width: 800px;
}

.hero__content--center .hero__eyebrow {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .hero--image {
    width: 100%;
    border-radius: 0 0 24px 24px;
  }

  .hero__container {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__title br {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero__stats {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-xs);
  }

  .hero__stat {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-top: none;
    padding: var(--space-xs) var(--space-sm);
    flex: 1;
  }

  .hero__stat:first-child {
    border-left: none;
  }

  .hero__stat-number {
    font-size: var(--font-size-lg);
  }

  .hero__stat-label {
    font-size: 0.65rem;
  }
}

/* Hero Quick Contact */
.hero__quick-contact {
  display: flex;
  gap: var(--space-sm);
}

.hero__quick-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all var(--transition-base);
}

.hero__quick-link:hover {
  background: #fff;
  color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero__quick-link svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 768px) {
  .hero__sidebar {
    display: none;
  }

  .hero__quick-link {
    width: 42px;
    height: 42px;
  }

  .hero__quick-link svg {
    width: 18px;
    height: 18px;
  }
}

/* ----- Intro Section ----- */
.intro {
  text-align: center;
}

.intro__tagline {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  max-width: 800px;
  margin: 0 auto var(--space-md);
}

.intro__text {
  max-width: 700px;
  margin: 0 auto var(--space-md);
  font-size: var(--font-size-lg);
  color: var(--color-grey);
}

/* Intro Split (2-column with header left) */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: start;
}

.intro-split__header h2 {
  font-size: var(--font-size-3xl);
  line-height: 1.2;
  color: var(--color-text);
}

.intro-split__content p {
  color: var(--color-grey);
  margin-bottom: var(--space-md);
}

.intro-split__content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .intro-split {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ----- What We Do Section ----- */
.what-we-do__intro {
  max-width: 800px;
  font-size: var(--font-size-lg);
  color: var(--color-grey);
}

.what-we-do__intro p {
  margin-bottom: var(--space-sm);
}

.what-we-do__intro p:last-child {
  margin-bottom: 0;
}

/* ----- Content Grid (for inner pages) ----- */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-lg);
}

.content-grid__main {
  font-size: var(--font-size-lg);
  color: var(--color-grey);
}

.content-grid__main p {
  margin-bottom: var(--space-md);
}

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

.lead-text {
  font-size: var(--font-size-xl);
  line-height: 1.5;
  color: var(--color-text);
}

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

/* ----- Bio Section ----- */
.bio {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-lg);
  align-items: start;
}

.bio__image {
  border-radius: 8px;
  overflow: hidden;
}

.bio__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.bio__eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.bio__name {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-md);
}

.bio__content p {
  font-size: var(--font-size-lg);
  color: var(--color-grey);
  margin-bottom: var(--space-md);
}

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

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

  .bio__image {
    max-width: 300px;
  }
}

/* ----- Content with Graphic ----- */
.content-with-graphic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.content-with-graphic__text {
  font-size: var(--font-size-lg);
  color: var(--color-grey);
}

.content-with-graphic__text p {
  margin-bottom: var(--space-md);
}

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

/* ----- Process Wheel ----- */
.process-wheel {
  position: relative;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.process-wheel__ring {
  position: absolute;
  inset: 0;
}

.process-wheel__svg {
  width: 100%;
  height: 100%;
}

.process-wheel__progress {
  stroke-dasharray: 0 565.49;
  transition: stroke-dasharray 0.6s ease;
}

.process-wheel__icons {
  position: absolute;
  inset: 0;
}

.process-wheel__icon {
  position: absolute;
  width: 56px;
  height: 56px;
  background: var(--color-bg);
  border: 3px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.process-wheel__icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-primary);
  transition: color var(--transition-base);
}

.process-wheel__icon[data-segment="1"] {
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
}

.process-wheel__icon[data-segment="2"] {
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
}

.process-wheel__icon[data-segment="3"] {
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
}

.process-wheel__icon[data-segment="4"] {
  top: 50%;
  left: -28px;
  transform: translateY(-50%);
}

.process-wheel__icon:hover,
.process-wheel__icon.is-active {
  background: var(--color-primary);
  transform: translateX(-50%) scale(1.1);
}

.process-wheel__icon[data-segment="2"]:hover,
.process-wheel__icon[data-segment="2"].is-active {
  transform: translateY(-50%) scale(1.1);
}

.process-wheel__icon[data-segment="4"]:hover,
.process-wheel__icon[data-segment="4"].is-active {
  transform: translateY(-50%) scale(1.1);
}

.process-wheel__icon:hover svg,
.process-wheel__icon.is-active svg {
  color: #fff;
}

.process-wheel__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 140px;
}

.process-wheel__center-label {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--color-grey);
  margin-bottom: 2px;
  transition: opacity var(--transition-base);
}

.process-wheel__center-title {
  display: block;
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  transition: opacity var(--transition-base);
}

@media (max-width: 900px) {
  .content-with-graphic {
    grid-template-columns: 1fr;
  }

  .process-wheel {
    max-width: 300px;
    margin-top: var(--space-md);
  }
}

/* ----- Strategy Sections ----- */
.strategy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.strategy--reverse {
  direction: rtl;
}

.strategy--reverse > * {
  direction: ltr;
}

.strategy__eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

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

.strategy__content h3 {
  font-size: var(--font-size-lg);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.strategy__content p {
  font-size: var(--font-size-lg);
  color: var(--color-grey);
  margin-bottom: var(--space-sm);
}

.strategy__content .lead-text {
  color: var(--color-text);
}

.strategy__list {
  list-style: none;
  margin: var(--space-sm) 0;
}

.strategy__list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: var(--space-xs);
  font-size: var(--font-size-base);
  color: var(--color-grey);
}

.strategy__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
}

/* Strategy Cards */
.strategy-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

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

.strategy-card {
  background: var(--color-bg);
  padding: var(--space-md);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--color-primary);
}

.section--alt .strategy-card {
  background: #fff;
}

.strategy-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(46, 122, 184, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.strategy-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.strategy-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.strategy-card p {
  font-size: var(--font-size-base);
  color: var(--color-grey);
  margin-bottom: 0;
}

.strategy-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.strategy-card ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-xs);
  font-size: var(--font-size-base);
  color: var(--color-grey);
}

.strategy-card ul li:last-child {
  margin-bottom: 0;
}

.strategy-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.strategy-note {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: rgba(46, 122, 184, 0.08);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 8px 8px 0;
}

.strategy-note p {
  font-size: var(--font-size-base);
  color: var(--color-grey);
  font-style: italic;
  margin: 0;
}

@media (max-width: 900px) {
  .strategy-cards,
  .strategy-cards--3col {
    grid-template-columns: 1fr;
  }
}

.strategy__image {
  border-radius: 8px;
  overflow: hidden;
}

.strategy__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

  .strategy--reverse {
    direction: ltr;
  }

  .strategy__image {
    order: -1;
  }
}

/* ----- Split Content Section ----- */
.section--split {
  padding: 0;
  overflow: hidden;
}

.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.split-content__text {
  padding: var(--space-xl) var(--space-lg);
  padding-left: calc((100vw - var(--max-width)) / 2 + var(--space-md));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-content__text h2 {
  margin-bottom: var(--space-md);
}

.split-content__text .lead-text {
  margin-bottom: var(--space-md);
}

.split-content__text p {
  font-size: var(--font-size-lg);
  color: var(--color-grey);
}

.split-content__text p:last-of-type {
  margin-bottom: 0;
}

.split-content__image {
  position: relative;
  overflow: hidden;
}

.split-content__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content--reverse .split-content__text {
  padding-left: var(--space-lg);
  padding-right: calc((100vw - var(--max-width)) / 2 + var(--space-md));
}

@media (max-width: 1024px) {
  .split-content__text {
    padding-left: var(--space-md);
  }

  .split-content--reverse .split-content__text {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
}

@media (max-width: 768px) {
  .split-content {
    grid-template-columns: 1fr;
  }

  .split-content__text {
    padding: var(--space-lg) var(--space-md);
  }

  .split-content__image {
    height: 300px;
  }

  .split-content__image img {
    position: relative;
    height: 100%;
  }
}

/* ----- Audience Cards ----- */
.audience-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.audience-card {
  background: var(--color-bg-alt);
  padding: var(--space-lg);
  border-radius: 12px;
  text-align: center;
}

.audience-card__icon {
  width: 72px;
  height: 72px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.audience-card__icon svg {
  width: 36px;
  height: 36px;
  color: #fff;
}

.audience-card h2 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

.audience-card p {
  font-size: var(--font-size-lg);
  color: var(--color-grey);
  margin: 0;
}

@media (max-width: 768px) {
  .audience-cards {
    grid-template-columns: 1fr;
  }
}

/* ----- Section Header ----- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.section-header__eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

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

.section-header p {
  font-size: var(--font-size-lg);
  color: var(--color-grey);
  margin: 0;
}

/* ----- Case Studies ----- */
.case-studies {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.case-study {
  background: var(--color-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.case-study__card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-md);
}

.case-study__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.case-study__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study__content {
  padding: var(--space-md);
  padding-left: 0;
  display: flex;
  flex-direction: column;
}

.case-study__eyebrow {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.case-study__content h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

.case-study__teaser {
  font-size: var(--font-size-lg);
  color: var(--color-grey);
  margin-bottom: var(--space-sm);
}

/* Expanded full-width panel */
.case-study__full {
  display: none;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: var(--space-lg);
  margin-top: 0;
}

.case-study.is-expanded .case-study__full {
  display: block;
}

.case-study__full-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.case-study__full-inner--3col {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 1200px;
  align-items: start;
}

.case-study__full-inner--3col .case-study__result {
  margin-top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-study__full-col h4 {
  font-size: var(--font-size-xl);
  color: #fff;
  margin-bottom: var(--space-sm);
}

.case-study__full-col h5 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #fff;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.case-study__full-col p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.case-study__full-col ul {
  list-style: none;
  margin: var(--space-sm) 0;
  padding: 0;
}

.case-study__full-col ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-xs);
  color: rgba(255, 255, 255, 0.9);
}

.case-study__full-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
}

.case-study__result {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: var(--space-md);
  margin-top: var(--space-md);
  color: #fff;
  line-height: 1.7;
}

.case-study__result strong {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: var(--font-size-lg);
}

.case-study__toggle {
  background: none;
  border: none;
  color: var(--color-primary);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-top: auto;
  text-align: left;
  transition: color var(--transition-fast);
}

.case-study__toggle:hover {
  color: var(--color-primary-dark);
}

.case-study__toggle-less {
  display: none;
}

.case-study.is-expanded .case-study__toggle-more {
  display: none;
}

.case-study.is-expanded .case-study__toggle-less {
  display: inline;
}

@media (max-width: 768px) {
  .case-study__card {
    grid-template-columns: 1fr;
  }

  .case-study__content {
    padding-left: var(--space-md);
  }

  .case-study__image {
    aspect-ratio: 16 / 9;
  }

  .case-study__full {
    padding: var(--space-md);
  }

  .case-study__full-inner,
  .case-study__full-inner--3col {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ----- CTA Banner ----- */
.cta-banner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-banner__title {
  font-size: var(--font-size-3xl);
  color: #fff;
  margin-bottom: var(--space-sm);
}

.cta-banner__text {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-md);
}

/* ----- What We Do Grid ----- */
.what-we-do__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

/* ----- Process Timeline ----- */
.process-timeline {
  position: relative;
}

.process-timeline__steps {
  position: relative;
}

.process-step {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 50px;
  bottom: -8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary) 0%, rgba(46, 122, 184, 0.2) 100%);
  opacity: 0.3;
}

.process-step:last-child::before {
  display: none;
}

.process-step__marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--color-bg);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  transition: all var(--transition-base);
  position: relative;
  flex-shrink: 0;
}

.process-step__number {
  display: none;
}

.process-step__icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.process-step__content {
  flex: 1;
  padding-top: 4px;
}

.process-step__content h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
  transition: color var(--transition-base);
}

.process-step__content p {
  font-size: var(--font-size-sm);
  color: var(--color-grey);
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all var(--transition-base);
}

/* Hover & Active States */
.process-step:hover .process-step__marker,
.process-step.is-active .process-step__marker {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.1);
}

.process-step:hover .process-step__icon,
.process-step.is-active .process-step__icon {
  color: #fff;
}

.process-step:hover .process-step__content h4,
.process-step.is-active .process-step__content h4 {
  color: var(--color-primary);
}

.process-step:hover .process-step__content p,
.process-step.is-active .process-step__content p {
  max-height: 60px;
  opacity: 1;
  margin-top: 4px;
}

.process-step:hover::before,
.process-step.is-active::before {
  opacity: 1;
}

/* Progress Bar */
.process-timeline__progress {
  position: absolute;
  left: calc(var(--space-md) + 20px);
  top: 80px;
  bottom: var(--space-md);
  width: 2px;
  background: rgba(46, 122, 184, 0.15);
  border-radius: 1px;
  overflow: hidden;
  display: none;
}

.process-timeline__progress-bar {
  width: 100%;
  height: 0%;
  background: var(--color-primary);
  border-radius: 1px;
  transition: height 0.6s ease;
}

@media (max-width: 900px) {
  .what-we-do__grid {
    grid-template-columns: 1fr;
  }

  .process-timeline {
    margin-top: var(--space-md);
  }
}

/* ----- Section Text Elements ----- */
.section__intro {
  font-size: var(--font-size-lg);
  color: var(--color-grey);
  max-width: 800px;
  margin-bottom: var(--space-md);
}

.section__subheading {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.section__outro {
  font-size: var(--font-size-lg);
  color: var(--color-grey);
  max-width: 800px;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

/* ----- CTA Block ----- */
.cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-bg-alt);
  border-radius: 12px;
}

.cta-block__content {
  flex: 1;
  max-width: 600px;
}

.cta-block__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-xs);
}

.cta-block__text {
  color: var(--color-grey);
  margin-bottom: 0;
}

.cta-block__action {
  flex-shrink: 0;
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: var(--font-size-lg);
}

@media (max-width: 768px) {
  .cta-block {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }
}

/* ----- Cards Grid ----- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.card {
  background-color: var(--color-bg);
  border-radius: 8px;
  padding: var(--space-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

.card__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-xs);
}

.card__text {
  color: var(--color-grey);
  margin-bottom: var(--space-sm);
}

.card__link {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card__link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.card__link:hover::after {
  transform: translateX(4px);
}

/* Cards Modifiers */
.cards--4col {
  grid-template-columns: repeat(4, 1fr);
}

.cards--blue .card {
  background-color: var(--color-primary);
  box-shadow: none;
}

.cards--blue .card:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-4px);
}

.cards--blue .card__icon {
  color: #fff;
}

.cards--blue .card__title {
  color: #fff;
}

.cards--blue .card__text {
  color: rgba(255, 255, 255, 0.85);
}

.cards--blue .card__link {
  color: #fff;
}

.cards--blue .card__link:hover {
  color: rgba(255, 255, 255, 0.85);
}

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

@media (max-width: 640px) {
  .cards--4col {
    grid-template-columns: 1fr;
  }
}

/* ----- About Preview Section ----- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-preview__image {
  border-radius: 8px;
  overflow: hidden;
}

.about-preview__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-preview__content {
  padding: var(--space-md) 0;
}

.about-preview__eyebrow {
  font-family: var(--font-accent);
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.about-preview__name {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-sm);
}

.about-preview__text {
  color: var(--color-grey);
  margin-bottom: var(--space-md);
}

/* About Preview Light (for blue background) */
.about-preview--light .about-preview__eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.about-preview--light .about-preview__name {
  color: #fff;
}

.about-preview--light .about-preview__text {
  color: rgba(255, 255, 255, 0.85);
}

.about-preview--light .btn--outline {
  border-color: #fff;
  color: #fff;
}

.about-preview--light .btn--outline:hover {
  background-color: #fff;
  color: var(--color-primary);
}

/* ----- Contact Page ----- */
.hero--short {
  min-height: 40vh;
}

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

.contact-info h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-sm);
}

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

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-bg-alt);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-base);
}

.contact-method:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateX(8px);
}

.contact-method__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.contact-method:hover .contact-method__icon {
  background: #fff;
  color: var(--color-primary);
}

.contact-method__icon svg {
  width: 24px;
  height: 24px;
}

.contact-method__details {
  display: flex;
  flex-direction: column;
}

.contact-method__label {
  font-size: var(--font-size-sm);
  color: var(--color-grey);
  transition: color var(--transition-base);
}

.contact-method:hover .contact-method__label {
  color: rgba(255, 255, 255, 0.8);
}

.contact-method__value {
  font-size: var(--font-size-xl);
  font-weight: 600;
}

.contact-form-wrapper {
  background: var(--color-bg-alt);
  padding: var(--space-lg);
  border-radius: 12px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-weight: 500;
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(46, 122, 184, 0.1);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238C8C8C' 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 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.btn--full {
  width: 100%;
}

.form-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group .required {
  color: #e53935;
}

.form-error {
  display: none;
  color: #e53935;
  font-size: var(--font-size-sm);
  margin-top: var(--space-xs);
}

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .contact-method__value {
    font-size: var(--font-size-lg);
  }
}

/* ----- Footer ----- */
.footer {
  background-color: var(--color-text);
  color: #fff;
  padding: var(--space-lg) 0 var(--space-md);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: var(--space-lg);
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  height: 36px;
  width: auto;
  margin-bottom: var(--space-sm);
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
}

.footer__heading {
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.5);
}

.footer__links {
  list-style: none;
}

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

.footer__links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

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

.footer__cta-text {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.footer__bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
}

/* ----- Scroll Animations ----- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="1"] { transition-delay: 100ms; }
[data-animate-delay="2"] { transition-delay: 200ms; }
[data-animate-delay="3"] { transition-delay: 300ms; }
[data-animate-delay="4"] { transition-delay: 400ms; }

/* ----- Page Transitions ----- */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.page-transition.is-active {
  opacity: 1;
  pointer-events: all;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  :root {
    --space-xl: 4rem;
    --space-lg: 3rem;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-3xl: 2.25rem;
    --font-size-2xl: 1.75rem;
  }

  .about-preview {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .about-preview__image {
    order: -1;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand {
    max-width: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 70px;
    --space-md: 1.5rem;
  }

  /* Mobile Navigation */
  .nav__list {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(46, 122, 184, 0.95) 0%, rgba(30, 90, 138, 0.95) 100%);
    backdrop-filter: blur(20px);
    padding: var(--space-md);
    gap: var(--space-md);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 999;
  }

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

  .nav__link {
    font-size: var(--font-size-xl);
    display: block;
    padding: var(--space-sm) 0;
    color: #fff;
  }

  .nav__link:hover {
    color: rgba(255, 255, 255, 0.8);
  }

  .nav__link::after {
    background-color: #fff;
  }

  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__subtitle {
    font-size: var(--font-size-lg);
  }

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

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