/* ═══════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════ */
:root {
  --white: #fff;
  --off-white: #f4fbf7;
  --half-white: rgba(255, 255, 255, 0.8);
  --grey-50: #eef8f3;
  --grey-100: #daf0e7;
  --grey-200: #c4c4c4;
  --grey-400: #8f8f8f;
  --grey-600: #636363;
  --grey-800: #3f3f3f;

  --ink: #202f5c;
  --ink-2: #091f17;

  --green: #26d48c;
  --green-dark: #1ab87a;
  --green-light: #4ee0a3;
  --green-glow: rgba(38, 212, 140, 0.22);
  --green-dim: rgba(38, 212, 140, 0.18);
  --green-border: rgba(38, 212, 140, 0.22);

  --teal: #00c9b8;

  --border: #d8ede5;
  --shadow-xs: 0 1px 3px rgba(9, 31, 23, 0.1), 0 1px 0 rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 4px 12px rgba(9, 31, 23, 0.07), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md:
    0 13px 27px -5px rgba(9, 31, 23, 0.15), 0 8px 16px -8px rgba(0, 0, 0, 0.08);
  --shadow-lg:
    0 30px 60px -12px rgba(9, 31, 23, 0.2),
    0 18px 36px -18px rgba(0, 0, 0, 0.15);
  --shadow-green: 0 8px 30px rgba(38, 212, 140, 0.3);

  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;

  --r: 8px;
  --r-lg: 12px;
  --r-xl: 20px;

  --text-xs: 0.9rem;
  --text-sm: 1rem;
  --text-base: 1.1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.35rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;

  --section-y: 5.5rem;
  --section-x: 5%;
  --card-pad: 1.75rem;
  --gap-card: 1.25rem;
}

/* ─────────────────────────────
   TYPE SCALE
───────────────────────────── */
h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}
h3 {
  font-size: 1.35rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.1rem;
}
h6 {
  font-size: 1rem;
}
p {
  font-size: var(--text-base);
}

@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  h4 {
    font-size: 1.1rem;
  }
  h5 {
    font-size: 1rem;
  }
  h6 {
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.6rem;
  }
}

/* ─────────────────────────────
   RESET
───────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--grey-600);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  font-family: var(--font-head);
}

h3,
h4,
h5,
h6 {
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-head);
}

p {
  color: var(--grey-600);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--off-white);
}
::-webkit-scrollbar-thumb {
  background: var(--green);
  border-radius: 2px;
}

.sol-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  color: inherit;
  opacity: 0.9;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  color: var(--green-dark);
}

.sol-cta:hover {
  opacity: 1;
  transform: translateX(4px);
}

.sol-cta-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.sol-cta:hover .sol-cta-arrow {
  transform: translateX(3px);
}

/* ═══════════════════════════════════════════════
   ✦ UTILITY SECTION — COMPONENT STYLESHEET
   Copy everything below into your theme's CSS.
   The <style> tag above should already be in your theme globals.
═══════════════════════════════════════════════ */

/* ─── Container ─── */
.utility-section {
  padding: var(--section-y) var(--section-x);
}

/* ─── Background variants ─── */
.utility-section.bg-white {
  background: var(--white);
}
.utility-section.bg-light {
  background: var(--grey-50);
}
.utility-section.bg-dark {
  background: var(--ink);
}

/* ─── Split layout wrapper ─── */
.utility-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Layout: image-left — add class .image-left to .utility-split */
/* Layout: image-right (default) — no extra class needed */
/* Layout: content-only — use .utility-content-only instead of .utility-split */

/* default: image right */
.utility-split.image-left .utility-content {
  order: 2;
} /* flip to left */

/* ─── Image block ─── */
.utility-image {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.utility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Content block ─── */
.utility-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

/* Eyebrow / label */
.utility-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  width: fit-content;
}
.utility-eyebrow i {
  font-size: 0.75rem;
}

/* WYSIWYG content wrapper — scoped styles */
.utility-wysiwyg {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.utility-wysiwyg h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
.utility-wysiwyg h2 em,
.utility-wysiwyg h2 span.highlight {
  font-style: normal;
  color: var(--green);
}
.utility-wysiwyg h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.utility-wysiwyg h4 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}
.utility-wysiwyg p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--grey-600);
  line-height: 1.75;
  /* max-width: 58ch; */
}
.utility-wysiwyg strong {
  color: var(--grey-800);
  font-weight: 600;
}

/* Links inside WYSIWYG */
.utility-wysiwyg a:not(.btn) {
  color: var(--green-dark);
  font-weight: 500;
  text-underline-offset: 3px;
  text-decoration: underline;
  text-decoration-color: var(--green-border);
  transition:
    color 0.2s,
    text-decoration-color 0.2s;
}
.utility-wysiwyg a:not(.btn):hover {
  color: var(--ink);
  text-decoration-color: var(--green);
}

/* ─── WYSIWYG Lists with Font Awesome icons ─── */
.utility-wysiwyg ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0;
  margin: 0;
}
.utility-wysiwyg ul li {
  /* display: flex; */
  /* align-items: flex-start; */
  font-size: var(--text-sm);
  color: var(--grey-600);
  line-height: 1.65;
  position: relative;
  padding-left: 25px;
}
/* The Font Awesome icon is injected via ::before on a pseudo-wrapper. */
.utility-wysiwyg ul li::before {
  content: "\f058"; /* fa-circle-check */
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  color: var(--green);
  font-size: var(--text-xs);
  flex-shrink: 0;
  margin-top: 0.1em; /* align with first line of text */
  margin-right: 0.75rem;
  position: absolute;
  left: 0;
}
/* Alternate: use fa-arrow-right style for a different feel */
.utility-wysiwyg ul.list-arrow li::before {
  content: "\f061"; /* fa-arrow-right */
  font-size: 0.85rem;
  margin-top: 0.28em;
}
/* Alternate: diamond bullet */
.utility-wysiwyg ul.list-diamond li::before {
  content: "\f219"; /* fa-diamond */
  font-size: 0.65rem;
  margin-top: 0.35em;
  color: var(--teal);
}

/* Ordered lists */
.utility-wysiwyg ol {
  list-style: none;
  counter-reset: utility-counter;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
}
.utility-wysiwyg ol li {
  font-size: var(--text-sm);
  color: var(--grey-600);
  line-height: 1.65;
  counter-increment: utility-counter;
  position: relative;
  padding-left: 26px;
}
.utility-wysiwyg ol li::before {
  content: counter(utility-counter) ".";
  display: grid;
  place-items: center;
  border-block-end-width: 24px;
  margin-right: 0.85rem;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-head);
  margin-top: 0.2em;
  position: absolute;
  left: 0;
}

/* ─── CTA buttons (paste as HTML links in WYSIWYG or ACF link field) ─── */
.utility-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.25rem;
}

/* ─── Feature highlights (optional ACF repeater inside content) ─── */
.utility-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.25rem;
}
.utility-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: var(--grey-50);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.utility-feature-item:hover {
  border-color: var(--green-border);
  box-shadow: var(--shadow-sm);
}
.utility-feature-icon {
  width: 36px;
  height: 36px;
  background: var(--green-dim);
  border-radius: var(--r);
  display: grid;
  place-items: center;
  color: var(--green-dark);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.utility-feature-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.utility-feature-text span {
  font-size: 0.83rem;
  color: var(--grey-400);
  line-height: 1.5;
}

/* ─── Content-only layout ─── */
.utility-content-only {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* text-align: center; */
  gap: 1.5rem;
}

.utility-content-only .utility-wysiwyg ul,
.utility-content-only .utility-wysiwyg ol {
  /* align-items: center; */
}
.utility-content-only .utility-wysiwyg ul li,
.utility-content-only .utility-wysiwyg ol li {
  /* justify-content: center; */
}
.utility-content-only .utility-ctas {
  /* justify-content: center; */
}

/* Two column list for content-only variant */
.utility-content-only .utility-wysiwyg ul.list-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem 2rem;
  text-align: left;
  max-width: 640px;
  margin-inline: auto;
}

/* ─── Dark section overrides ─── */
.utility-section.bg-dark .utility-wysiwyg h2,
.utility-section.bg-dark .utility-wysiwyg h3,
.utility-section.bg-dark .utility-wysiwyg h4,
.utility-section.bg-dark strong {
  color: var(--white);
}
.utility-section.bg-dark .utility-wysiwyg p,
.utility-section.bg-dark .utility-wysiwyg ul li,
.utility-section.bg-dark .utility-wysiwyg ol li {
  color: rgba(255, 255, 255, 0.7);
}
.utility-section.bg-dark .utility-feature-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.utility-section.bg-dark .utility-feature-text strong {
  color: var(--white);
}
.utility-section.bg-dark .utility-feature-text span {
  color: rgba(255, 255, 255, 0.5);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .utility-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  /* On mobile: always show image first, then content */
  .utility-split .utility-image {
    order: 0 !important;
  }
  .utility-split .utility-content {
    order: 1 !important;
  }
  .utility-wysiwyg p {
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .utility-section {
    padding: 3.5rem var(--section-x);
  }
  .utility-features {
    grid-template-columns: 1fr;
  }
  .utility-section.bg-dark
    .utility-content-only
    .utility-wysiwyg
    ul.list-two-col {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 400px) {
  .utility-ctas {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;

  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--grey-600);
}

/* Base item */
.post-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 6px 10px;
  border-radius: var(--r);
  background: var(--grey-50);
  border: 1px solid var(--border);

  transition: all 0.2s ease;
}

/* Icons */
.post-meta i {
  font-size: 12px;
  color: var(--green);
}

/* Divider dot */
.post-meta .meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--grey-200);
}

/* Hover feel */
.post-meta .meta-item:hover {
  background: var(--off-white);
  border-color: var(--green-border);
  box-shadow: var(--shadow-xs);
  color: var(--ink);
}

.post-meta .meta-badge {
  display: inline-block;
  margin-right: 6px;
  padding: 5px 10px;

  font-size: 12px;
  border-radius: var(--r);

  background: var(--green-dim);
  color: var(--green-dark);
  border: 1px solid var(--green-border);

  transition: all 0.2s ease;
}

.post-meta .meta-badge:hover {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-green);
}

/* ═══════════════════════════════════════════════
   CASE STUDIES SECTION
   Extends your existing cf-card system.
   Add this alongside your existing section CSS.
═══════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
.cf-header {
  text-align: center;
  margin-bottom: 52px;
}
.cf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.cf-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: cf-pulse 2s infinite;
}
@keyframes cf-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
.cf-eyebrow span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.cf-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
}
.cf-header h2 em {
  font-style: normal;
  color: var(--green-dark);
}
.cf-header p {
  font-size: 1.05rem;
  color: var(--grey-600);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}
 
 
/* ═══════════════════════════════════════════════
   GRID
═══════════════════════════════════════════════ */
.cf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
 
 
/* ═══════════════════════════════════════════════
   CARD — BASE
═══════════════════════════════════════════════ */
.cf-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-height: unset;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.cf-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, var(--green-dim), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.cf-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-green);
  transform: translateY(-4px);
}
.cf-card:hover::after {
  opacity: 1;
}
 
 
/* ═══════════════════════════════════════════════
   CARD — LOGO AREA
═══════════════════════════════════════════════ */
.cf-logo-area {
  width: 100%;
  aspect-ratio: 16 / 7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 32px;
  border-bottom: 1.5px solid var(--border);
  flex-shrink: 0;
  transition: border-color 0.25s;
  position: relative;
  z-index: 1;
}
.cf-card:hover .cf-logo-area {
  border-color: rgba(38, 212, 140, 0.3);
}
.cf-logo-area img {
  max-width: 160px;
  max-height: 60px;
  object-fit: contain;
  display: block;
  filter: grayscale(0.35) opacity(0.85);
  transition: filter 0.3s;
}
.cf-card:hover .cf-logo-area img {
  filter: grayscale(0) opacity(1);
}
 
 
/* ═══════════════════════════════════════════════
   CARD — BODY
═══════════════════════════════════════════════ */
.cf-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
  flex: 1;
}
 
.cf-card-name {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
 
.cf-card-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--grey-600);
  line-height: 1.65;
}
 
/* Tag — fades in on hover */
.cf-card-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-family: var(--font-body);
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 10px;
  display: block;
}
.cf-card:hover .cf-card-tag {
  opacity: 1;
  transform: translateY(0);
}
 
 
/* ═══════════════════════════════════════════════
   CARD — PLACEHOLDER ("Your company next?")
═══════════════════════════════════════════════ */
.cf-card-placeholder {
  border-style: dashed;
  border-color: var(--grey-100);
  background: var(--off-white);
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.cf-card-placeholder:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-green);
  transform: translateY(-4px);
}
.cf-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.cf-plus-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px dashed var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--grey-200);
  transition: border-color 0.25s, color 0.25s;
}
.cf-card-placeholder:hover .cf-plus-ring {
  border-color: var(--green);
  color: var(--green);
}
.cf-placeholder-label {
  font-size: 12.5px;
  color: var(--grey-400);
  text-align: center;
  line-height: 1.5;
  font-family: var(--font-body);
  transition: color 0.25s;
}
.cf-card-placeholder:hover .cf-placeholder-label {
  color: var(--green-dark);
}
 
 
/* ═══════════════════════════════════════════════
   BOTTOM CTA STRIP
═══════════════════════════════════════════════ */
.cf-bottom {
  text-align: center;
  margin-top: 52px;
}
.cf-count-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grey-50);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 20px;
  margin-bottom: 24px;
}
.cf-count-strip .avatars {
  display: flex;
}
.cf-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: var(--ink);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-head);
}
.cf-avatar:first-child { margin-left: 0; }
.cf-avatar:nth-child(2) { background: #0d6e6e; }
.cf-avatar:nth-child(3) { background: var(--green-dark); }
.cf-avatar:nth-child(4) { background: #1b3f8c; }
.cf-count-strip .cf-strip-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  font-family: var(--font-body);
}
.cf-count-strip .cf-strip-text span {
  color: var(--green-dark);
}
.cf-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: var(--r-lg);
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.cf-cta-btn:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
}
.cf-cta-btn svg {
  width: 16px;
  height: 16px;
}
 
 
/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 760px) {
  .cf-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .cf-grid {
    grid-template-columns: 1fr;
  }
}

/* ── CLIENT OVERVIEW ── */
.cs-overview {
  padding: var(--section-y) 0 0;
  background: var(--white);
}
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  align-items: start;
}
.cs-overview .wrap.inner {
  background: var(--off-white);
  padding: 2rem;
  border-radius: var(--r-lg);
}

.overview-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--r);
}
.info-row-icon {
  width: 38px;
  height: 38px;
  background: var(--green-dim);
  border-radius: var(--r);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.info-row-icon i {
  color: var(--green-dark);
}
.info-row-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--grey-400);
  margin-bottom: 0.15rem;
}
.info-row-val {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
}

.table-of-content {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.about-intro.case-study .inner {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
  align-items: flex-start;
}
/* Dark container */
.toc-box {
  background: var(--ink); /* deep blue base */
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

/* Heading */
.toc-box h4 {
  font-family: var(--font-head);
  font-size: var(--text-base);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

/* List reset */
.toc-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Items */

/* Links */
.toc-box a {
  position: relative;
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--grey-200);
  text-decoration: none;
  padding: 6px 10px 6px 14px;
  border-radius: var(--r);
  transition: all 0.2s ease;
}

/* Left indicator */
.toc-box a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: transparent;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Hover */
.toc-box a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.toc-box a:hover::before {
  background: var(--green);
}

/* Active state */
.toc-box a.active {
  color: var(--white);
  background: rgba(38, 212, 140, 0.08);
  font-weight: 500;
}

.toc-box a.active::before {
  background: var(--green);
  box-shadow: 0 0 10px var(--green-glow);
}

/* Hierarchy */
.toc-level-3 a {
  padding-left: 14px;
  font-weight: 500;
  color: var(--white);
}

.toc-level-4 a {
  padding-left: 22px;
  font-size: var(--text-xs);
  color: var(--grey-200);
}

.toc-level-5 a {
  padding-left: 30px;
  font-size: var(--text-xs);
  color: var(--grey-400);
}

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

  .table-of-content {
    position: relative;
    top: auto;
    order: -1; /* move TOC above content */
  }
}

@media (max-width: 640px) {
  .cf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cf-section {
    padding: 60px 5%;
  }
}
@media (max-width: 400px) {
  .cf-grid {
    grid-template-columns: 1fr;
  }
}
/* ─────────────────────────────
   RESPONSIVE FIXES FOR CASE STUDY
───────────────────────────── */

@media (max-width: 1024px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    display: flex;
    flex-direction: column-reverse;
  }

  .about-intro.case-study .inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cs-overview {
    background-color: var(--off-white);
  }
  .cs-overview .wrap.inner {
    padding: 0;
  }

  .table-of-content {
    max-width: 100%;
  }

  .toc-box {
    width: 100%;
  }

  .table-of-content {
    position: static;
    top: 0;
  }
}

@media (max-width: 900px) {
  .cs-overview .wrap.inner {
    border-radius: var(--r);
  }

  .overview-aside {
    gap: 0.75rem;
  }

  .info-row {
    padding: 0.9rem;
  }

  .info-row-val {
    font-size: 1rem;
  }

  .cs-overview,
  .about-intro.about-intro.case-study {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 768px) {
  .info-row {
    align-items: flex-start;
  }

  .info-row-icon {
    width: 34px;
    height: 34px;
  }

  .toc-box {
    padding: 1.25rem;
  }

  .toc-box h4 {
    font-size: 0.95rem;
  }

  .toc-box a {
    font-size: 0.95rem;
    padding: 8px 10px 8px 14px;
  }

  .utility-wysiwyg p,
  .utility-wysiwyg ul li,
  .utility-wysiwyg ol li {
    font-size: 1rem;
  }

  .utility-wysiwyg ul li,
  .utility-wysiwyg ol li {
    padding-left: 22px;
  }

  .utility-wysiwyg ul li::before,
  .utility-wysiwyg ol li::before {
    left: 0;
  }
}

@media (max-width: 640px) {
  .cs-overview .wrap.inner {
    padding: 1rem;
  }
  .info-row {
    flex-direction: row;
    gap: 0.75rem;
  }

  .info-row-label {
    font-size: 0.7rem;
  }

  .info-row-val {
    font-size: 0.95rem;
  }

  .toc-level-3 a {
    padding-left: 12px;
  }

  .toc-level-4 a {
    padding-left: 18px;
  }

  .toc-level-5 a {
    padding-left: 24px;
  }
}

@media (max-width: 480px) {
  .info-row {
    padding: 0.8rem;
  }

  .info-row-icon {
    width: 32px;
    height: 32px;
  }

  .toc-box {
    padding: 1rem;
  }

  .toc-box h4 {
    margin-bottom: 0.85rem;
  }

  .toc-box a {
    font-size: 0.92rem;
  }
}

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: var(--green); /* Set a background color */
  color: var(--ink); /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 12px; /* Some padding */
  border-radius: 8px; /* Rounded corners */
  font-size: 12px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

.social-share-icons a{
    width:40px;
    height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid #ddd;
    border-radius:50%;
    text-decoration:none;
    transition:0.3s ease;
}

.social-share-icons a:hover{
    transform:translateY(-2px);
}