/* ============================================================
   LOGICORE STRATEGIES — Design System
   Government navy & slate · sober, institutional, authoritative
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;    --space-24: 6rem;  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.25rem; --radius-md: 0.4rem; --radius-lg: 0.6rem; --radius-full: 9999px;

  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 680px;
  --content-default: 1000px;
  --content-wide: 1240px;

  /* Fonts */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Archivo', 'Helvetica Neue', sans-serif;
}

/* ---------- Light mode (navy & slate) ---------- */
:root, [data-theme='light'] {
  --color-bg: #f4f6f9;
  --color-surface: #ffffff;
  --color-surface-2: #fbfcfe;
  --color-surface-offset: #eef1f6;
  --color-surface-deep: #11243f;     /* deep navy section */
  --color-divider: #dde3ec;
  --color-border: #cfd6e1;

  --color-text: #16243a;
  --color-text-muted: #5a6678;
  --color-text-faint: #97a0b0;
  --color-text-inverse: #f4f6f9;

  --color-primary: #1b3a63;          /* navy */
  --color-primary-hover: #12294a;
  --color-primary-active: #0c1d36;

  --color-accent: #b08738;           /* restrained gold-bronze */
  --color-accent-hover: #95702a;

  --color-slate: #4a5a72;
  --color-slate-soft: #8794a8;

  --shadow-sm: 0 1px 2px rgba(17, 36, 63, 0.06);
  --shadow-md: 0 6px 20px rgba(17, 36, 63, 0.08);
  --shadow-lg: 0 18px 48px rgba(17, 36, 63, 0.14);

  --header-bg: rgba(244, 246, 249, 0.85);
  --on-deep-text: #dfe6f1;
  --on-deep-muted: #97a6c0;
  --on-deep-border: rgba(255, 255, 255, 0.14);
}

/* ---------- Dark mode ---------- */
[data-theme='dark'] {
  --color-bg: #0c1622;
  --color-surface: #121f30;
  --color-surface-2: #16263a;
  --color-surface-offset: #0f1c2c;
  --color-surface-deep: #0a1320;
  --color-divider: #1e2f44;
  --color-border: #25374f;

  --color-text: #d8e0ec;
  --color-text-muted: #8b99ad;
  --color-text-faint: #5d6b80;
  --color-text-inverse: #0c1622;

  --color-primary: #6f9fd6;
  --color-primary-hover: #8db4e2;
  --color-primary-active: #a6c6e9;

  --color-accent: #cba24f;
  --color-accent-hover: #ddb766;

  --color-slate: #93a3bb;
  --color-slate-soft: #6c7c95;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.5);

  --header-bg: rgba(12, 22, 34, 0.85);
  --on-deep-text: #d8e0ec;
  --on-deep-muted: #8b99ad;
  --on-deep-border: rgba(255, 255, 255, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0c1622; --color-surface: #121f30; --color-surface-2: #16263a;
    --color-surface-offset: #0f1c2c; --color-surface-deep: #0a1320;
    --color-divider: #1e2f44; --color-border: #25374f;
    --color-text: #d8e0ec; --color-text-muted: #8b99ad; --color-text-faint: #5d6b80;
    --color-text-inverse: #0c1622;
    --color-primary: #6f9fd6; --color-primary-hover: #8db4e2; --color-primary-active: #a6c6e9;
    --color-accent: #cba24f; --color-accent-hover: #ddb766;
    --color-slate: #93a3bb; --color-slate-soft: #6c7c95;
    --header-bg: rgba(12, 22, 34, 0.85);
    --on-deep-text: #d8e0ec; --on-deep-muted: #8b99ad; --on-deep-border: rgba(255,255,255,0.10);
  }
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background-color 0.4s ease, color 0.4s ease;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 { text-wrap: balance; line-height: 1.12; font-family: var(--font-display); font-weight: 500; }
p, li { text-wrap: pretty; }

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

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: var(--radius-sm); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}

button { cursor: pointer; background: none; border: none; }

a { color: inherit; text-decoration: none; }
a, button, input, textarea, select {
  transition: color var(--transition-interactive), background var(--transition-interactive),
    border-color var(--transition-interactive), box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

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

/* ============================================================
   Layout primitives
   ============================================================ */
.container { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.container--default { max-width: var(--content-default); }
.container--narrow { max-width: var(--content-narrow); }

section { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--color-accent); display: inline-block;
}
.eyebrow--center { justify-content: center; }

.section-title { font-size: var(--text-xl); margin-top: var(--space-4); color: var(--color-text); letter-spacing: -0.01em; }
.section-lead { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 60ch; margin-top: var(--space-5); line-height: 1.5; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.01em;
  padding: 0.85rem 1.6rem; border-radius: var(--radius-sm);
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--color-border); color: var(--color-text); background: var(--color-surface); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn--on-deep { background: var(--color-accent); color: #16243a; }
.btn--on-deep:hover { background: var(--color-accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--link { padding: 0; color: var(--color-primary); font-weight: 600; border: none; }
.btn--link:hover { gap: var(--space-3); color: var(--color-accent); }

/* ============================================================
   Header / Nav
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s ease, background 0.4s ease;
}
.header--scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: var(--space-3); color: var(--color-text); }
.brand__mark { width: auto; height: 40px; color: var(--color-primary); flex-shrink: 0; }
img.brand__mark { width: auto; height: 42px; object-fit: contain; }
.brand__name { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.05; }
.brand__name span { display: block; font-family: var(--font-body); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-text-muted); }

.nav { display: flex; align-items: center; gap: var(--space-8); }
.nav__links { display: flex; align-items: center; gap: var(--space-6); list-style: none; }
.nav__link { font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); position: relative; padding-block: var(--space-2); }
.nav__link:hover, .nav__link[aria-current='page'] { color: var(--color-text); }
.nav__link[aria-current='page']::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--color-accent);
}

.header__actions { display: flex; align-items: center; gap: var(--space-4); }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-full);
  color: var(--color-text-muted); border: 1px solid var(--color-border);
}
.theme-toggle:hover { color: var(--color-primary); border-color: var(--color-primary); }

.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; color: var(--color-text); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__actions .btn { display: none; }
  .nav__links--open {
    display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2);
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--color-surface); border-bottom: 1px solid var(--color-divider);
    padding: var(--space-6) clamp(1.25rem, 4vw, 3rem); box-shadow: var(--shadow-md);
  }
  .nav__links--open .nav__link { font-size: var(--text-base); padding-block: var(--space-3); width: 100%; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; background: var(--color-surface-deep); color: var(--on-deep-text); overflow: hidden; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, var(--color-surface-deep) 0%, rgba(17,36,63,0.92) 42%, rgba(17,36,63,0.45) 100%);
  z-index: 1;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.hero__inner { position: relative; z-index: 2; padding-block: clamp(5rem, 12vw, 9rem); max-width: 760px; }
.hero h1 { font-size: var(--text-3xl); color: #fff; letter-spacing: -0.02em; }
.hero h1 em { font-style: italic; color: var(--color-accent); font-weight: 400; }
.hero__lead { font-size: var(--text-lg); color: var(--on-deep-muted); margin-top: var(--space-6); line-height: 1.55; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-10); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--space-8); margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: var(--space-8); border-top: 1px solid var(--on-deep-border); }
.hero__meta div { display: flex; flex-direction: column; gap: var(--space-1); }
.hero__meta dt { font-size: var(--text-2xl); font-family: var(--font-display); color: #fff; line-height: 1; }
.hero__meta dd { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-deep-muted); }

/* ============================================================
   Cards & grids
   ============================================================ */
.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-8);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.card__num { font-family: var(--font-display); font-size: var(--text-sm); color: var(--color-accent); font-weight: 600; letter-spacing: 0.08em; }
.card__icon { width: 44px; height: 44px; color: var(--color-primary); margin-bottom: var(--space-5); }
.card__icon svg { width: 100%; height: 100%; }
.card h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); color: var(--color-text); }
.card p { color: var(--color-text-muted); font-size: var(--text-base); }
.card ul { list-style: none; margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.card ul li { font-size: var(--text-sm); color: var(--color-text-muted); padding-left: var(--space-5); position: relative; }
.card ul li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; background: var(--color-accent); border-radius: 1px; transform: rotate(45deg); }

/* Split feature */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split--reverse .split__media { order: -1; }
@media (max-width: 820px) { .split, .split--reverse { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.split__body p { color: var(--color-text-muted); margin-top: var(--space-5); }

.feature-list { list-style: none; margin-top: var(--space-8); display: grid; gap: var(--space-5); }
.feature-list li { display: flex; gap: var(--space-4); align-items: flex-start; }
.feature-list .fl-icon { flex-shrink: 0; width: 38px; height: 38px; border-radius: var(--radius-md); background: var(--color-surface-offset); color: var(--color-primary); display: grid; place-items: center; }
.feature-list .fl-icon svg { width: 20px; height: 20px; }
.feature-list strong { display: block; color: var(--color-text); font-weight: 600; margin-bottom: 2px; }
.feature-list span { font-size: var(--text-sm); color: var(--color-text-muted); }

/* Deep section (navy band) */
.deep { background: var(--color-surface-deep); color: var(--on-deep-text); }
.deep .section-title { color: #fff; }
.deep .section-lead, .deep p { color: var(--on-deep-muted); }
.deep .eyebrow { color: var(--color-accent); }

/* ============================================================
   Page header (interior)
   ============================================================ */
.page-head { background: var(--color-surface-deep); color: var(--on-deep-text); padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem); }
.page-head h1 { font-size: var(--text-2xl); color: #fff; letter-spacing: -0.02em; margin-top: var(--space-4); }
.page-head p { color: var(--on-deep-muted); font-size: var(--text-lg); max-width: 60ch; margin-top: var(--space-5); line-height: 1.5; }
.breadcrumb { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-deep-muted); }
.breadcrumb a:hover { color: var(--color-accent); }

/* ============================================================
   Insights / blog
   ============================================================ */
.post-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--transition-interactive), box-shadow var(--transition-interactive); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__body { padding: var(--space-6) var(--space-8) var(--space-8); display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; }
.post-card h3 { font-size: var(--text-lg); margin: var(--space-3) 0; color: var(--color-text); }
.post-card p { color: var(--color-text-muted); font-size: var(--text-base); flex: 1; }
.post-card__foot { margin-top: var(--space-6); font-size: var(--text-sm); color: var(--color-text-muted); display: flex; justify-content: space-between; align-items: center; }

.featured-post { display: grid; grid-template-columns: 1.1fr 0.9fr; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface); }
@media (max-width: 820px) { .featured-post { grid-template-columns: 1fr; } }
.featured-post__media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.featured-post__body { padding: clamp(2rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.featured-post__body h2 { font-size: var(--text-xl); margin: var(--space-4) 0; color: var(--color-text); }
.featured-post__body p { color: var(--color-text-muted); }

/* ============================================================
   Case studies
   ============================================================ */
.case-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-8); position: relative; }
.case-tag { display: inline-block; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary); background: var(--color-surface-offset); padding: 0.3rem 0.7rem; border-radius: var(--radius-full); margin-bottom: var(--space-5); }
.case-card h3 { font-size: var(--text-lg); color: var(--color-text); margin-bottom: var(--space-4); }
.case-block { margin-top: var(--space-5); }
.case-block dt { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; margin-bottom: var(--space-1); }
.case-block dd { color: var(--color-text-muted); font-size: var(--text-base); }
.placeholder-note { font-style: italic; color: var(--color-text-faint); }
.case-metrics { display: flex; gap: var(--space-8); margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--color-divider); }
.case-metrics div dt { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-primary); }
.case-metrics div dd { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: var(--space-6); }
.contact-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-item .ci-icon { width: 42px; height: 42px; border-radius: var(--radius-md); background: var(--color-surface-offset); color: var(--color-primary); display: grid; place-items: center; flex-shrink: 0; }
.contact-item .ci-icon svg { width: 20px; height: 20px; }
.contact-item dt { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 2px; }
.contact-item dd { font-size: var(--text-base); color: var(--color-text); font-weight: 500; }
.contact-item dd a:hover { color: var(--color-primary); }

.form { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.field label { font-size: var(--text-sm); font-weight: 600; color: var(--color-text); }
.field input, .field select, .field textarea {
  padding: 0.8rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-bg); color: var(--color-text); font-size: var(--text-base);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(27,58,99,0.12); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-4); }
.form-success { display: none; padding: var(--space-5); background: var(--color-surface-offset); border-radius: var(--radius-md); color: var(--color-primary); font-weight: 500; text-align: center; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { background: var(--color-surface-deep); color: var(--on-deep-text); text-align: center; }
.cta-band h2 { font-size: var(--text-2xl); color: #fff; max-width: 22ch; margin-inline: auto; letter-spacing: -0.01em; }
.cta-band p { color: var(--on-deep-muted); max-width: 52ch; margin: var(--space-5) auto 0; font-size: var(--text-lg); }
.cta-band .hero__actions { justify-content: center; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--color-surface-deep); color: var(--on-deep-muted); border-top: 1px solid var(--on-deep-border); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-10); padding-block: clamp(3rem, 6vw, 4.5rem); }
@media (max-width: 720px) { .footer__top { grid-template-columns: 1fr; gap: var(--space-8); } }
.footer .brand { color: #fff; margin-bottom: var(--space-5); }
.footer .brand__mark { color: var(--color-accent); }
.footer img.brand__mark { height: 44px; }
.footer .brand__name { color: #fff; }
.footer .brand__name span { color: var(--on-deep-muted); }
.footer__about { max-width: 38ch; font-size: var(--text-sm); line-height: 1.6; }
.footer__col h4 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-deep-text); margin-bottom: var(--space-5); font-weight: 600; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer__col a { font-size: var(--text-sm); color: var(--on-deep-muted); }
.footer__col a:hover { color: var(--color-accent); }
.footer__bottom { border-top: 1px solid var(--on-deep-border); padding-block: var(--space-6); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; font-size: var(--text-xs); color: var(--on-deep-muted); }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Client logos ("Previously worked with")
   ============================================================ */
.clients { border-top: 1px solid var(--color-divider); }
.clients__head { text-align: center; max-width: 46rem; margin: 0 auto var(--space-10); }
.clients__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6) var(--space-8);
  align-items: center;
}
.client {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: var(--space-3);
}
.client img {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.62;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.client:hover img { filter: grayscale(0%); opacity: 1; }
.client--text {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.25;
  opacity: 0.85;
  transition: color 0.3s ease, opacity 0.3s ease;
}
.client--text:hover { color: var(--color-primary); opacity: 1; }

@media (max-width: 1024px) {
  .clients__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 720px) {
  .clients__grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-5) var(--space-4); }
  .client { min-height: 54px; }
  .client img { max-height: 36px; }
}
@media (max-width: 420px) {
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
}
