/* ===========================
   Triple C Agency — Dark Theme
   =========================== */

/* Fonts loaded via <link> in index.html — no @import needed */

/* --- Variables --- */
:root {
  --bg:           #080808;
  --surface:      #111111;
  --surface-2:    #161616;
  --text:         #f0f0f0;
  --text-sec:     #888888;
  --text-dim:     #555555;
  --teal:         #7FC7B7;
  --teal-dark:    #5ba99a;
  --teal-glow:    rgba(127, 199, 183, 0.12);
  --orange:       #F97316;
  --orange-dark:  #EA580C;
  --orange-glow:  rgba(249, 115, 22, 0.15);
  --border:       rgba(255,255,255,0.07);
  --border-light: rgba(255,255,255,0.12);
  --purple-glow:  rgba(100, 50, 220, 0.22);
  --shadow:       0 2px 20px rgba(0,0,0,0.4);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.6);
  --radius:       14px;
  --radius-sm:    8px;
  --font-head:    'Poppins', sans-serif;
  --font-body:    'Poppins', sans-serif;
  --nav-h:        72px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-head); }

/* --- Container --- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.15s, box-shadow 0.25s;
  backdrop-filter: blur(4px);
}
.btn:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.07);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.08);
}

/* Orange CTA variant — keeps orange border accent */
.btn--orange {
  border-color: var(--orange);
  color: var(--orange);
}
.btn--orange:hover {
  border-color: var(--orange);
  background: rgba(249,115,22,0.12);
  color: var(--orange);
  box-shadow: 0 4px 24px rgba(249,115,22,0.2);
}

.btn--outline {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn--outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(127,199,183,0.06);
}

/* --- Section tags --- */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

/* ===========================
   NAV
   =========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(8,8,8,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  border-color: var(--border);
  background: rgba(8,8,8,0.92);
}
.nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 40px;
}
.nav__logo img { height: 65px; filter: brightness(0) saturate(100%) invert(76%) sepia(28%) saturate(450%) hue-rotate(118deg) brightness(95%); }
.nav__logo-text {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.nav__links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sec);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav__link:hover { color: #fff; }
.nav__cta { margin-left: 16px; padding: 10px 22px; font-size: 14px; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  padding-top: var(--nav-h);
  padding-bottom: 60px;
  overflow: hidden;
  /* prominent grid lines like nogood.io */
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 72px 72px;
}
/* dark vignette on all 4 edges so grid fades to black at borders */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 50% at 50% 50%, transparent 30%, var(--bg) 100%);
  pointer-events: none;
  z-index: 0;
}
/* teal glow beneath content */
.hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 300px;
  background: radial-gradient(ellipse, rgba(127,199,183,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* centered single-column layout */
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* tag cloud sits above headline */
.hero__visual {
  width: 100%;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-glow);
  border: 1px solid rgba(127,199,183,0.2);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero__logo {
  height: 140px;
  width: auto;
  margin-bottom: 0;
  display: block;
  padding-top: 30px;
  padding-bottom: 30px;
}
.hero__headline {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 28px;
  max-width: 860px;
}
.hero__sub {
  font-size: 22px;
  color: var(--text-sec);
  max-width: 500px;
  margin-bottom: 0;
  line-height: 1.7;
  font-weight: 500;
}

/* Tag cloud — horizontal row of floating pills */
.tag-cloud {
  position: relative;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tag-cloud::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 120px;
  background: radial-gradient(ellipse, rgba(127,199,183,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.tag-cloud__item {
  position: absolute;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 9px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  user-select: none;
  transition: border-color 0.3s, color 0.3s;
}
/* horizontal spread across 560px container */
.tc-1 { left: 0%;   top: 10px;  border-color: rgba(127,199,183,0.45); color: var(--teal); background: rgba(127,199,183,0.08); }
.tc-2 { left: 12%;  top: 55px; }
.tc-3 { left: 28%;  top: 5px;  background: rgba(249,115,22,0.12); border-color: rgba(249,115,22,0.45); color: var(--orange); }
.tc-4 { left: 44%;  top: 60px; }
.tc-5 { left: 58%;  top: 8px; }
.tc-6 { left: 68%;  top: 58px; border-color: rgba(127,199,183,0.4); color: var(--teal); background: rgba(127,199,183,0.08); }
.tc-7 { right: 10%; top: 10px; }
.tc-8 { right: 0%;  top: 56px; background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: #fff; }

/* ===========================
   LOGO BAR
   =========================== */
.logo-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.logo-bar__label {
  text-align: center;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 32px;
  text-transform: none;
  letter-spacing: 0;
}
.logo-bar__track-wrapper {
  overflow: hidden;
  position: relative;
}
.logo-bar__track-wrapper::before,
.logo-bar__track-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
}
.logo-bar__track-wrapper::before { left: 0; background: linear-gradient(to right, var(--surface), transparent); }
.logo-bar__track-wrapper::after  { right: 0; background: linear-gradient(to left, var(--surface), transparent); }
.logo-bar__track {
  display: flex;
  gap: 56px;
  width: max-content;
  align-items: center;
}
.logo-bar__item {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  letter-spacing: 0.04em;
  user-select: none;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 20px;
  border-radius: 6px;
}
.logo-bar__item img {
  max-height: 30px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  background-color: #111111;
}
.logo-bar__item img[src="spn-logo-2.png"] {
  filter: brightness(0) invert(1);
  mix-blend-mode: normal;
}

/* ===========================
   SQUAD SECTION
   =========================== */
.squad {
  padding: 120px 0;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.squad::before {
  content: '';
  position: absolute;
  top: -100px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(127,199,183,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.squad__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.squad__text h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #fff;
}
.squad__text p {
  font-size: 16px;
  color: var(--text-sec);
  margin-bottom: 36px;
  line-height: 1.8;
  font-weight: 300;
}
.floating-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.floating-tags span {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: border-color 0.2s, color 0.2s;
}
.floating-tags span:hover { border-color: var(--teal); color: var(--teal); }

/* Globe canvas */
.squad__globe {
  width: 100%;
  aspect-ratio: 1;
  max-width: 600px;
  margin: 0 auto;
}
#globeCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===========================
   SERVICES
   =========================== */
.services {
  padding: 120px 0;
  background: var(--bg);
}
.services h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 56px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  background: var(--surface);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.25s, border-color 0.25s;
  position: relative;
  border-top: 2px solid transparent;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--teal-glow);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.service-card:hover { background: var(--surface-2); }
.service-card:hover::after { opacity: 1; }
.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.7;
  flex: 1;
  font-weight: 300;
}
.service-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s, gap 0.2s;
}
.service-card__btn::after {
  content: '→';
  font-size: 13px;
  transition: transform 0.2s;
}
.service-card:hover .service-card__btn {
  color: rgba(255,255,255,0.85);
}
.service-card:hover .service-card__btn::after {
  transform: translateX(3px);
}

.services__cta,
.results__cta {
  margin-top: 48px;
  text-align: center;
}

/* ===========================
   CASE STUDIES / RESULTS
   =========================== */
.results {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: #020a14;
}
/* rich blue fill — full section */
.results::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(20,80,220,0.65) 0%, transparent 65%),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(10,50,180,0.4) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 80% 80%, rgba(30,90,200,0.35) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.results > .container { position: relative; z-index: 1; }
.results h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 56px;
}
.results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.result-card {
  background: rgba(15,5,35,0.6);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, background 0.3s;
}
.result-card:hover {
  border-color: rgba(127,199,183,0.35);
  background: rgba(20,5,50,0.7);
}
.result-card__metric {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.05em;
  line-height: 1;
}
.result-card__quote {
  font-size: 14px;
  color: var(--text-sec);
  font-style: italic;
  line-height: 1.7;
  flex: 1;
  font-weight: 300;
}
.result-card__author { display: flex; flex-direction: column; gap: 3px; }
.result-card__author strong { font-size: 14px; font-weight: 600; color: #fff; }
.result-card__author span { font-size: 12px; color: var(--text-dim); }
.result-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  margin-top: 4px;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.result-card__link:hover { color: var(--orange); }

/* ===========================
   APPROACH
   =========================== */
.approach {
  padding: 120px 0 0;
  background: var(--bg);
  overflow: hidden;
}
.approach__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.approach__header-text { flex: 1; min-width: 280px; }
.approach__header h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.05;
}
.approach__header p {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.8;
  font-weight: 400;
  max-width: 480px;
}
.approach__nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  padding-top: 8px;
}
.approach__arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.approach__arrow:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-glow);
}
.approach__track-wrap {
  overflow: hidden;
  padding-bottom: 100px;
}
.approach__track {
  display: flex;
  gap: 20px;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
}

/* ── Card base ── */
.approach-card {
  flex: 0 0 300px;
  height: 460px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 28px 28px;
  cursor: default;
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.approach-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
}

/* ── Gradient fill layer ── */
.approach-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.approach-card:hover::before { opacity: 1.3; }

/* ── Colour themes ── */
/* Card 1 — violet */
.approach-card--purple  { background: #0a0612; }
.approach-card--purple::before  {
  background:
    radial-gradient(ellipse 70% 60% at 35% 60%, rgba(150,70,255,1) 0%, rgba(100,30,200,0.55) 40%, transparent 70%),
    radial-gradient(ellipse 90% 50% at 50% 100%, rgba(80,20,180,0.5) 0%, transparent 60%);
}

/* Card 2 — crimson */
.approach-card--orange  { background: #0c0303; }
.approach-card--orange::before  {
  background:
    radial-gradient(ellipse 70% 60% at 30% 60%, rgba(230,40,40,1) 0%, rgba(170,15,15,0.55) 40%, transparent 70%),
    radial-gradient(ellipse 90% 50% at 50% 100%, rgba(130,8,8,0.5) 0%, transparent 60%);
}

/* Card 3 — emerald */
.approach-card--green   { background: #030d06; }
.approach-card--green::before   {
  background:
    radial-gradient(ellipse 70% 60% at 40% 60%, rgba(20,180,80,1) 0%, rgba(10,120,50,0.55) 40%, transparent 70%),
    radial-gradient(ellipse 90% 50% at 50% 100%, rgba(5,90,35,0.5) 0%, transparent 60%);
}

/* Card 4 — amber */
.approach-card--orange2 { background: #0c0700; }
.approach-card--orange2::before {
  background:
    radial-gradient(ellipse 70% 60% at 35% 60%, rgba(240,150,0,1) 0%, rgba(180,90,0,0.55) 40%, transparent 70%),
    radial-gradient(ellipse 90% 50% at 50% 100%, rgba(130,60,0,0.5) 0%, transparent 60%);
}

/* Card 5 — cobalt */
.approach-card--green2  { background: #02050e; }
.approach-card--green2::before  {
  background:
    radial-gradient(ellipse 70% 60% at 35% 60%, rgba(40,90,240,1) 0%, rgba(20,55,190,0.55) 40%, transparent 70%),
    radial-gradient(ellipse 90% 50% at 50% 100%, rgba(10,30,150,0.5) 0%, transparent 60%);
}

/* Card 6 — rose */
.approach-card--teal    { background: #0a0206; }
.approach-card--teal::before    {
  background:
    radial-gradient(ellipse 70% 60% at 35% 60%, rgba(230,40,130,1) 0%, rgba(170,15,85,0.55) 40%, transparent 70%),
    radial-gradient(ellipse 90% 50% at 50% 100%, rgba(120,5,55,0.5) 0%, transparent 60%);
}

/* ── Large background number — hidden ── */
.approach-card__num {
  display: none;
}

/* ── Small index label ── */
.approach-card__index {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  position: relative;
  z-index: 1;
  letter-spacing: 0.04em;
}

/* ── Content at bottom ── */
.approach-card__body {
  position: relative;
  z-index: 1;
}
.approach-card__body h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.approach-card__body p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  font-weight: 400;
}

/* ===========================
   FAQ
   =========================== */
.faq {
  padding: 120px 0;
  background: var(--bg);
}
.faq h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 48px;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open {
  border-color: rgba(127,199,183,0.3);
}
.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-align: left;
  gap: 24px;
  transition: color 0.2s;
}
.faq-item__q:hover { color: #fff; }
.faq-item.open .faq-item__q { color: #fff; }
.faq-item__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  transition: transform 0.35s, border-color 0.25s, color 0.25s;
  line-height: 1;
}
.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
  border-color: var(--teal);
  color: var(--teal);
}
.faq-item__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s ease;
}
.faq-item.open .faq-item__a { max-height: 2000px; }
.faq-item__a p {
  padding: 0 28px 24px;
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.8;
  font-weight: 300;
}
.faq-item__a p + p { padding-top: 0; }
.faq-item__a ul {
  padding: 0 28px 16px 44px;
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.8;
  font-weight: 300;
  list-style: disc;
}
.faq-item__a ul li { margin-bottom: 6px; }
.faq-item__a ul li strong { color: rgba(255,255,255,0.7); font-weight: 600; }

/* ===========================
   BLOG
   =========================== */
.blog {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
/* purple gradient background like nogood */
.blog::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(109,40,217,0.55) 0%, rgba(76,29,149,0.2) 50%, transparent 100%);
  pointer-events: none;
}
.blog > .container { position: relative; z-index: 1; }
.blog h2 {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 700px;
  margin-bottom: 56px;
}
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s;
}
.blog-card:hover {
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-4px);
}
.blog-card__image {
  height: 160px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.blog-card__topic {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.blog-card__body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.blog-card__body p {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.7;
  font-weight: 300;
  flex: 1;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 400;
}
.blog-card__dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
}
.blog-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.blog-card__avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.blog-card__author span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.blog__cta {
  margin-top: 48px;
  text-align: center;
}

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

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  padding: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 0;
  position: relative;
  z-index: 1;
}
.cta-section__inner h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}
.cta-section__accent {
  color: var(--teal);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--surface);
  color: rgba(255,255,255,0.4);
  padding: 0;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.footer__brand p { font-size: 15px; max-width: 280px; line-height: 1.65; font-weight: 500; color: rgba(255,255,255,0.6); text-align: center; }
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-left: auto;
}
.footer__links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  padding: 20px 24px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}

/* ===========================
   BRAND COLOUR ACCENTS
   =========================== */

/* Nav — teal on active/hover links, teal bottom border when scrolled */
.nav__link:hover { color: var(--teal); }
.nav.scrolled { border-color: rgba(127,199,183,0.18); }

/* Hero — teal subheadline, stronger hero glow */
.hero__sub { color: var(--teal); opacity: 0.85; }
.hero::after {
  width: 900px; height: 400px;
  background: radial-gradient(ellipse, rgba(127,199,183,0.1) 0%, transparent 65%);
}

/* Section headings — teal left accent bar */
.services h2,
.results h2,
.approach__header h2,
.faq h2,
.squad__text h2 {
  position: relative;
  padding-left: 20px;
}
.services h2::before,
.results h2::before,
.approach__header h2::before,
.faq h2::before,
.squad__text h2::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 4px;
  background: linear-gradient(to bottom, var(--teal), var(--teal-dark));
  border-radius: 4px;
}

/* Service cards — teal top border accent on hover */
.service-card:hover {
  border-top: 2px solid var(--teal);
}

/* Result metrics — teal glow */
.result-card__metric {
  text-shadow: 0 0 40px rgba(127,199,183,0.4);
}


/* FAQ — handled by card styles above */

/* Logo bar items — teal tint on hover */
.logo-bar__item {
  transition: color 0.2s, border-color 0.2s;
}
.logo-bar__item:hover {
  color: var(--teal);
  border-color: rgba(127,199,183,0.4);
}

/* Floating tags (squad section) — teal on hover */
.floating-tags span:nth-child(odd) {
  border-color: rgba(127,199,183,0.2);
  color: rgba(127,199,183,0.6);
}


/* Footer logo */
.footer__logo-img { height: 130px; width: auto; filter: brightness(0) saturate(100%) invert(79%) sepia(22%) saturate(453%) hue-rotate(121deg) brightness(95%) contrast(85%); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .squad__inner { grid-template-columns: 1fr; gap: 40px; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .results__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(8,8,8,0.97);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
    z-index: 99;
    backdrop-filter: blur(16px);
  }
  .nav__links.mobile-open + .nav__cta {
    display: inline-flex;
  }
  .services__grid { grid-template-columns: 1fr; }
  .results__grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; gap: 32px; }
  .footer__links { margin-left: 0; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .cta-section__inner { flex-direction: column; align-items: flex-start; gap: 28px; padding: 48px 0; }
}
