@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ── Tokens ─────────────────────────────────────────── */
:root {
  --bg: #050b16;
  --bg-accent: #071a33;
  --bg-card: #0a1628;
  --accent: #a5c0ff;
  --accent-dim: #4a6fa5;
  --text: #ffffff;
  --text-muted: #9aa3b7;
  --text-faint: #5a6478;
  --border: rgba(165, 192, 255, 0.08);
  --border-hover: rgba(165, 192, 255, 0.18);
  --radius: 8px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-heading: "Space Grotesk", var(--font);
}

/* ── Reset ──────────────────────────────────────────── */
*, *::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);
  background: var(--bg);
  color: var(--text);
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* ── Scroll Reveal ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1s cubic-bezier(0.16, 1, 0.3, 1);
  filter: blur(8px);
  will-change: opacity, transform, filter;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  filter: blur(8px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  filter: blur(8px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  filter: blur(10px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }
.reveal-delay-5 { transition-delay: 0.75s; }

/* ── Nav ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 11, 22, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
}
.nav.scrolled {
  background: rgba(5, 11, 22, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 36px; display: block; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); opacity: 1; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-muted);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(16, 42, 79, 0.6) 0%, transparent 70%),
    var(--bg);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: radial-gradient(circle at 30% 40%, rgba(165, 192, 255, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(74, 111, 165, 0.04) 0%, transparent 50%);
  animation: heroAmbient 20s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes heroAmbient {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(3%, -2%) rotate(3deg); }
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.hero-inner {
  max-width: 720px;
  animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-tag {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.hero-sub {
  color: var(--text-muted);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}
.hero-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}
.pillar-sep { color: var(--text-faint); }

/* ── Sections ───────────────────────────────────────── */
.section {
  padding: 7rem 2rem;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.section-alt {
  background: var(--bg-accent);
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin-top: 0.75rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-dim), transparent);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-title.visible::after {
  width: 80px;
}
.section-sub {
  color: var(--text-muted);
  font-size: clamp(15px, 2vw, 17px);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.text-muted { color: var(--text-muted); }

/* ── Approach ───────────────────────────────────────── */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.approach-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 0.75rem);
}
.approach-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.4s, transform 0.4s;
}
.approach-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 40px rgba(165, 192, 255, 0.03);
}
.approach-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--accent);
}
.approach-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Services ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(165, 192, 255, 0.04);
}
.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-dim);
  border-radius: 50%;
  color: var(--accent);
  margin-bottom: 1.25rem;
  transition: border-color 0.3s, background 0.3s;
}
.service-card:hover .service-icon {
  border-color: var(--accent);
  background: rgba(165, 192, 255, 0.05);
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}
.service-label {
  font-size: 0.78rem;
  color: var(--accent-dim);
  margin-bottom: 1rem;
}
.service-card > p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.service-features li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.65;
  margin-bottom: 0.4rem;
}
.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-dim);
}

/* ── Bespoke ────────────────────────────────────────── */
.bespoke-section { max-width: 700px; }
.bespoke-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}
.bespoke-list {
  margin: 1.5rem 0;
  list-style: none;
}
.bespoke-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.bespoke-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-dim);
}
.bespoke-list li strong {
  color: var(--text);
}

/* ── Sectors ────────────────────────────────────────── */
.sectors-grid {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.sector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.3s;
}
.sector:hover { color: var(--text); }
.sector svg { color: var(--accent-dim); flex-shrink: 0; transition: color 0.3s; }
.sector:hover svg { color: var(--accent); }

/* ── Page header (insights + podcast) ─────────────────── */
.page-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--accent-dim);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.page-lede {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}
.page-header {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

/* ── Insights ─────────────────────────────────────────── */
.insights-page { max-width: 1100px; margin: 0 auto; }

.insight-feature {
  display: block;
  padding: 2.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}
.insight-feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}
.insight-feature:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35), 0 0 80px rgba(165, 192, 255, 0.04);
  opacity: 1;
}
.insight-feature-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.insight-feature-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  color: var(--text);
}
.insight-feature-summary {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 720px;
}
.insight-feature-cta {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.insight-feature:hover .insight-feature-cta { border-bottom-color: var(--accent-dim); }

.insights-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.insight-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
  min-height: 260px;
}
.insight-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  opacity: 1;
}
.insight-date {
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.insight-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0.5rem 0 0.75rem;
}
.insight-summary {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
  flex: 1;
}
.insight-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}
.insight-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.tag {
  font-size: 0.68rem;
  padding: 0.2em 0.65em;
  border-radius: 999px;
  background: rgba(165, 192, 255, 0.08);
  color: var(--accent);
  letter-spacing: 0.02em;
}
.insight-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.insight-category {
  font-family: var(--font-heading);
  font-size: 0.66rem;
  padding: 0.25em 0.7em;
  border-radius: 999px;
  border: 1px solid var(--border-hover);
  color: var(--accent-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  display: inline-block;
}
a.insight-category-link {
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
a.insight-category-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(165, 192, 255, 0.06);
  opacity: 1;
}
.insight-readtime {
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.insights-empty {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-faint);
  border: 1px dashed var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
}

/* ── Article (insight single) ─────────────────────────── */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-back {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.article-back:hover { color: var(--accent); opacity: 1; }
.article-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.article-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 1rem 0;
}
.article-author {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.article-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
}
.article-content > p:first-of-type {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 2rem;
}
.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 3rem 0 1rem;
  letter-spacing: -0.005em;
}
.article-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2.25rem 0 0.75rem;
}
.article-content p { margin-bottom: 1.25rem; color: var(--text-muted); }
.article-content strong { color: var(--text); font-weight: 600; }
.article-content em { color: var(--accent); font-style: italic; }
.article-content a { border-bottom: 1px solid var(--accent-dim); }
.article-content ul, .article-content ol {
  margin: 1.25rem 0 1.5rem 1.5rem;
  color: var(--text-muted);
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 0.6rem; line-height: 1.7; }
.article-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.65;
}
.article-content blockquote p { color: var(--text); margin-bottom: 0.5rem; }
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.875em;
  padding: 0.15em 0.45em;
  background: var(--bg-card);
  border-radius: 4px;
  color: var(--accent);
  border: 1px solid var(--border);
}
.article-content pre {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: #0a1224;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
}
.article-content pre code {
  padding: 0;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: inherit;
}
.article-content table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.article-content th,
.article-content td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.article-content th {
  font-family: var(--font-heading);
  color: var(--accent-dim);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--bg-card);
}
.article-content td { color: var(--text-muted); }
.article-content hr {
  margin: 3rem 0;
  border: none;
  height: 1px;
  background: var(--border);
}
.article-content img {
  margin: 2rem 0;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* ── Language switcher ────────────────────────────────── */
.footer-lang {
  margin-top: 0.75rem;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.lang-switch a,
.lang-switch span {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.lang-switch a:hover { color: var(--accent); opacity: 1; }
.lang-switch-active {
  background: var(--accent-dim);
  color: var(--bg) !important;
}

/* ── Podcast ─────────────────────────────────────────── */
.podcast-page { max-width: 900px; margin: 0 auto; }
.podcast-header {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.podcast-cover-wrap {
  position: relative;
}
.podcast-cover-wrap::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), transparent 60%);
  opacity: 0.15;
  z-index: 0;
}
.podcast-cover {
  position: relative;
  z-index: 1;
  width: 220px;
  height: 220px;
  border-radius: 12px;
  border: 1px solid var(--border-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.podcast-header-text { min-width: 0; }
.podcast-subscribe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}
.podcast-subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border-hover);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: var(--bg-card);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.podcast-subscribe-btn:hover {
  border-color: var(--accent);
  background: rgba(165, 192, 255, 0.05);
  transform: translateY(-1px);
  opacity: 1;
}
.podcast-subscribe-btn svg { color: var(--accent); }

.podcast-intro {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 720px;
}
.podcast-intro strong { color: var(--text); }
.podcast-intro p { margin-bottom: 1rem; }
.podcast-intro p:last-child { margin-bottom: 0; }

.podcast-section-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.podcast-episodes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.podcast-episode {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.3s, transform 0.3s;
}
.podcast-episode:hover {
  border-color: var(--border-hover);
}
.podcast-episode-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.podcast-episode-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-dim);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.podcast-episode-titles { min-width: 0; flex: 1; }
.podcast-episode-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.35rem;
  color: var(--text);
}
.podcast-episode-date {
  font-size: 0.75rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.podcast-episode-audio {
  width: 100%;
  height: 40px;
  margin-bottom: 1rem;
  border-radius: 6px;
}
.podcast-episode-desc-wrap {
  margin-top: 0.75rem;
}
.podcast-episode-desc-wrap summary {
  cursor: pointer;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--accent-dim);
  padding: 0.4rem 0;
  list-style: none;
  user-select: none;
}
.podcast-episode-desc-wrap summary::before {
  content: "▸ ";
  display: inline-block;
  transition: transform 0.2s;
}
.podcast-episode-desc-wrap[open] summary::before {
  transform: rotate(90deg);
}
.podcast-episode-desc-wrap summary:hover { color: var(--accent); }
.podcast-episode-desc-wrap[open] summary { margin-bottom: 1rem; }
.podcast-episode-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.podcast-episode-desc p { margin-bottom: 0.75rem; }
.podcast-episode-desc h1,
.podcast-episode-desc h2 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 1rem 0 0.5rem;
}
.podcast-episode-desc b, .podcast-episode-desc strong { color: var(--text); }

/* ── Team ───────────────────────────────────────────── */
.team-grid {
  display: flex;
  gap: 3rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.team-stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.team-number {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.team-label {
  font-size: 0.75rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.team-detail p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 700px;
}

/* ── Resources ──────────────────────────────────────── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.resource-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.4s, transform 0.4s;
}
.resource-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.resource-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.resource-type {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dim);
}
.resource-service {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15em 0.5em;
  border-radius: 3px;
  background: rgba(165, 192, 255, 0.08);
  color: var(--accent-dim);
}
.resource-tlp {
  display: inline-block;
  font-size: 0.6rem;
  font-family: monospace;
  letter-spacing: 0.08em;
  padding: 0.2em 0.6em;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.resource-card h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.resource-card > p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* ── Trust signals ──────────────────────────────────── */
.trust-section { text-align: center; }
.trust-items {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.trust-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.trust-value {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Newsletter ─────────────────────────────────────── */
.newsletter-section {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}
.newsletter-sub {
  margin-left: auto;
  margin-right: auto;
}
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 420px;
  margin: 0 auto 1rem;
}
.newsletter-form input {
  flex: 1;
}
.newsletter-note {
  font-size: 0.75rem;
  color: var(--text-faint);
}

/* ── Contact ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info {
  display: grid;
  gap: 1.5rem;
  padding-top: 0.5rem;
}
.contact-block h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 0.25rem;
}
.contact-block p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Forms ──────────────────────────────────────────── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}
input, select, textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: rgba(165, 192, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent-dim);
  background: rgba(165, 192, 255, 0.06);
}
textarea { resize: vertical; min-height: 100px; }
select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239aa3b7'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}
select option { background: var(--bg); color: var(--text); }
.form-note {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: 1rem;
}
.form-error {
  font-size: 0.8rem;
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.2);
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  margin-bottom: 1rem;
}
.form-error[hidden] { display: none; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-dim), var(--accent));
  color: var(--bg);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.5; cursor: default; transform: none; }
.btn-secondary {
  background: rgba(165, 192, 255, 0.06);
  color: var(--accent);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent-dim); }

/* ── Modal ──────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.modal-content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }
.modal-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.modal-content > p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* ── Footer ─────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}
.footer-brand img { height: 28px; margin-bottom: 0.5rem; }
.footer-tagline {
  font-size: 0.75rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}
.footer-contact {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 0.25rem;
}
.footer-legal {
  font-size: 0.75rem;
  color: var(--text-faint);
}
.footer-links {
  margin-top: 0.35rem;
}
.footer-links a {
  color: var(--text-faint);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-muted); opacity: 1; }

/* ── Article Content ────────────────────────────────── */
.page-single { padding-top: 8rem; min-height: 60vh; }
.article-header { margin-bottom: 3rem; }
.article-back {
  font-size: 0.8rem;
  color: var(--text-faint);
  display: inline-block;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.article-back:hover { color: var(--accent); opacity: 1; }
.article-header h1 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.article-author {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.article-content h2 { font-size: 1.3rem; margin: 2.5rem 0 1rem; font-weight: 500; }
.article-content h3 { font-size: 1.1rem; margin: 2rem 0 0.75rem; font-weight: 500; }
.article-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.25rem; }
.article-content ul, .article-content ol {
  color: var(--text-muted);
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  list-style: disc;
}
.article-content li { margin-bottom: 0.4rem; line-height: 1.7; }
.article-content code {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  background: rgba(165, 192, 255, 0.06);
  border-radius: 4px;
}
.article-content pre {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}
.article-content pre code {
  background: none;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1.6;
}
.article-content blockquote {
  border-left: 3px solid var(--accent-dim);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid,
  .insights-grid,
  .blog-grid,
  .resources-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-card:last-child:nth-child(odd) { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { order: -1; }
  .podcast-header {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
  }
  .podcast-cover-wrap { margin: 0 auto; }
  .podcast-subscribe { justify-content: center; }
  .podcast-episode-num { font-size: 1.25rem; }
  .insight-feature { padding: 1.75rem; }
  .insight-feature-title { font-size: 1.5rem; }
}
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(5, 11, 22, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
  }
  .nav-links a:last-child { border-bottom: none; }
  .hero { min-height: 85vh; padding: 4rem 1.5rem; }
  .hero-pillars { flex-wrap: wrap; gap: 0.5rem; }
  .section { padding: 5rem 1.5rem; min-height: auto; }
  .footer-inner { flex-direction: column; gap: 1.5rem; }
  .sectors-grid { flex-direction: column; gap: 1.25rem; }
  .team-grid { gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Focus visible (keyboard accessibility) ─────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
}
