/* ============================================================
   ARTELLIGENCE — styles.css
   Microsoft.ai-inspired clean enterprise design
   ============================================================ */

/* ── Google Fonts already loaded via <link> in HTML ── */

/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand */
  --color-accent:       #d02c91;
  --color-accent-dark:  #a8226e;
  --color-accent-2:     #7c3aed;
  --color-accent-2-dark:#5b21b6;

  /* Text */
  --color-text:         #111827;
  --color-text-muted:   #6b7280;
  --color-text-light:   #9ca3af;

  /* Backgrounds */
  --color-bg:           #ffffff;
  --color-bg-alt:       #f3f4f6;
  --color-border:       #e5e7eb;

  /* Semantic */
  --color-quote-from:   #0f0626;
  --color-quote-to:     #3d1278;
  --color-contact-bg:   #111827;
  --color-footer-bg:    #0a0a0a;

  /* Spacing */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  48px;
  --space-xl:  80px;
  --space-2xl: 120px;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
  --shadow-accent: 0 8px 32px rgba(208,44,145,.25);

  /* Transitions */
  --ease-out: cubic-bezier(.16,1,.3,1);
  --duration: .35s;

  /* Nav */
  --nav-height: 72px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

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

ul, ol { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1 { font-size: clamp(48px, 7vw, 88px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; line-height: 1.1;  letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
h4 { font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
p  { max-width: 65ch; }

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  max-width: none;
}

.section-title {
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.section-desc {
  font-size: 19px;
  color: var(--color-text-muted);
  max-width: 56ch;
  margin-inline: auto;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              background var(--duration) var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(208,44,145,.35);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn--ghost:hover {
  background: var(--color-bg-alt);
  border-color: #d1d5db;
  transform: translateY(-2px);
}

.btn--accent-large {
  background: var(--color-accent);
  color: #fff;
  font-size: 17px;
  padding: 18px 40px;
  box-shadow: var(--shadow-accent);
}
.btn--accent-large:hover {
  background: var(--color-accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(208,44,145,.4);
}

/* ============================================================
   6. ANIMATIONS
   ============================================================ */
.animate-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}

.animate-in.visible {
  opacity: 1;
  transform: none;
}

/* Stagger children in grids */
.services__grid .animate-in:nth-child(2) { transition-delay: .1s; }
.services__grid .animate-in:nth-child(3) { transition-delay: .2s; }
.insights__grid .animate-in:nth-child(2) { transition-delay: .1s; }
.insights__grid .animate-in:nth-child(3) { transition-delay: .2s; }

/* ============================================================
   7. NAVIGATION — floating island (microsoft.ai style)
   ============================================================ */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 48px);
  max-width: 960px;
  /* Frosted glass from the start — always visible */
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 100px;
  box-shadow:
    0 2px 16px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition:
    box-shadow var(--duration) var(--ease-out),
    background var(--duration) var(--ease-out),
    top var(--duration) var(--ease-out);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.12),
    0 2px 10px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  /* Left side: more breathing room for the logo; right side: tight to hug the CTA pill */
  padding: 8px 8px 8px 22px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--color-text);
  flex-shrink: 0;
}

.nav__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin-right: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--duration), background var(--duration);
}
.nav__link:hover {
  color: var(--color-text);
  background: var(--color-bg-alt);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background var(--duration), transform var(--duration) var(--ease-out), box-shadow var(--duration);
  box-shadow: 0 2px 8px rgba(208,44,145,.3);
}
.nav__cta:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(208,44,145,.4);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--duration);
}
.nav__hamburger:hover { background: var(--color-bg-alt); }
.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease-out), opacity var(--duration);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   8. HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  /* 20px (nav top offset) + ~56px (nav height) + 44px breathing room = 120px */
  padding-top: 120px;
  display: flex;
  align-items: center;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

/* Subtle background gradient noise */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(208,44,145,.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(124,58,237,.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  max-width: none;
}

.hero__headline {
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.hero__headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 19px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ── Hero Visual Grid ── */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 440px;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 16px;
  border-radius: var(--radius-lg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
}

.tile svg {
  width: 32px;
  height: 32px;
  opacity: .9;
}

.tile--1 { background: linear-gradient(145deg, #d02c91, #9b1b6c); }
.tile--2 { background: linear-gradient(145deg, #7c3aed, #5b21b6); }
.tile--3 { background: linear-gradient(145deg, #0ea5e9, #0369a1); }
.tile--4 { background: linear-gradient(145deg, #f59e0b, #d97706); }
.tile--5 { background: linear-gradient(145deg, #10b981, #059669); }
.tile--6 { background: linear-gradient(145deg, #6366f1, #4338ca); }

/* ============================================================
   9. QUOTE / PHILOSOPHY SECTION
   ============================================================ */
.quote-section {
  background: linear-gradient(135deg, var(--color-quote-from) 0%, var(--color-quote-to) 100%);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.quote-section__inner {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  position: relative;
}

.quote-section__icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-inline: auto;
  margin-bottom: var(--space-md);
}

.quote-section__text {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
  margin-bottom: var(--space-lg);
  max-width: none;
}

.quote-section__cite {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.45);
  letter-spacing: .02em;
  font-style: normal;
}

/* ============================================================
   10. SERVICES
   ============================================================ */
.services {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  transition: border-color var(--duration), box-shadow var(--duration), transform var(--duration) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: rgba(208,44,145,.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card--featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent), var(--shadow-md);
}

.service-card--featured:hover {
  box-shadow: 0 0 0 1px var(--color-accent), var(--shadow-lg), var(--shadow-accent);
}

.service-card__badge {
  position: absolute;
  top: -14px;
  left: var(--space-lg);
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(208,44,145,.1), rgba(124,58,237,.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  flex-shrink: 0;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
}

.service-card__title {
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.service-card__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.service-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-md);
}

.service-card__features li {
  font-size: 14px;
  color: var(--color-text-muted);
  padding-left: 20px;
  position: relative;
}

.service-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
}

.service-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap var(--duration);
  margin-top: auto;
}

.service-card__link:hover { color: var(--color-accent-dark); }

/* ============================================================
   11. INSIGHTS (TESTIMONIALS)
   ============================================================ */
.insights {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-alt);
}

.insights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insight-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: box-shadow var(--duration), transform var(--duration) var(--ease-out);
}

.insight-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.insight-card__quote-mark {
  font-size: 64px;
  line-height: .7;
  font-weight: 800;
  color: var(--color-accent);
  opacity: .25;
  font-family: Georgia, serif;
  user-select: none;
}

.insight-card__text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  flex-grow: 1;
  font-style: normal;
  max-width: none;
}

.insight-card__footer {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

.insight-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.insight-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  max-width: none;
}

.insight-card__role {
  font-size: 13px;
  color: var(--color-text-muted);
  max-width: none;
}

/* ============================================================
   12. CLIENTS
   ============================================================ */
.clients {
  padding: var(--space-xl) 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.clients .section-header {
  margin-bottom: var(--space-lg);
}

.clients .section-title {
  font-size: clamp(28px, 3.5vw, 40px);
}

.clients__strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.client-logo {
  opacity: .6;
  filter: grayscale(30%);
  transition: opacity var(--duration), filter var(--duration), transform var(--duration) var(--ease-out);
}

.client-logo:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.04);
}

.client-logo svg {
  width: 160px;
  height: 60px;
}

/* ============================================================
   13. CONTACT CTA
   ============================================================ */
.contact-cta {
  padding: var(--space-2xl) 0;
  background: var(--color-contact-bg);
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208,44,145,.12) 0%, transparent 70%);
  pointer-events: none;
}

.contact-cta__inner {
  text-align: center;
  position: relative;
}

.contact-cta__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  max-width: none;
}

.contact-cta__title {
  color: #fff;
  margin-bottom: var(--space-md);
}

.contact-cta__sub {
  font-size: 18px;
  color: rgba(255,255,255,.6);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

/* ============================================================
   14. FOOTER
   ============================================================ */
.footer {
  background: var(--color-footer-bg);
  padding-top: var(--space-xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand .nav__logo {
  color: #fff;
  margin-bottom: var(--space-sm);
}

.footer__brand .nav__logo-text {
  color: rgba(255,255,255,.9);
}

.footer__tagline {
  font-size: 14px;
  color: rgba(255,255,255,.4);
  margin-bottom: var(--space-md);
  max-width: none;
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: background var(--duration), color var(--duration);
}

.footer__social-link:hover {
  background: var(--color-accent);
  color: #fff;
}

.footer__nav {
  display: flex;
  gap: var(--space-xl);
}

.footer__col-title {
  color: rgba(255,255,255,.9);
  margin-bottom: var(--space-md);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  transition: color var(--duration);
}

.footer__link:hover { color: rgba(255,255,255,.9); }

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

.footer__legal .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__legal p {
  font-size: 13px;
  color: rgba(255,255,255,.3);
  max-width: none;
}

/* ============================================================
   15. RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding-inline: var(--space-md); }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
    padding-top: var(--space-lg);
  }

  .hero__sub,
  .hero__headline { margin-inline: auto; }

  .hero__actions { justify-content: center; }

  .hero__visual { order: -1; }

  .hero__grid {
    max-width: 360px;
    margin-inline: auto;
  }

  .services__grid,
  .insights__grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin-inline: auto;
  }

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

/* ============================================================
   16. RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --space-xl: 56px;
    --space-2xl: 80px;
  }

  /* Nav — pill narrows to fit mobile width */
  .nav {
    top: 12px;
    width: calc(100% - 32px);
    border-radius: 20px;
  }

  .nav__hamburger { display: flex; }

  .nav__links {
    /* Drop below the pill: 12px top + ~52px pill height + 8px gap */
    position: fixed;
    top: 80px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-sm);
    transform: translateY(-12px) scale(0.97);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
    transform-origin: top center;
  }

  .nav__links.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 16px;
  }

  .nav__cta {
    margin-top: var(--space-xs);
    justify-content: center;
    padding: 14px;
    border-radius: var(--radius-md);
  }

  /* Hero */
  .hero__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .tile { padding: 20px 10px; }
  .tile svg { width: 24px; height: 24px; }
  .tile span { font-size: 10px; }

  /* Grids to single col */
  .services__grid,
  .insights__grid {
    grid-template-columns: 1fr;
  }

  .service-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  /* Clients */
  .clients__strip { gap: var(--space-lg); }
  .client-logo svg { width: 130px; }

  /* Contact */
  .contact-cta__title { font-size: clamp(28px, 7vw, 44px); }

  /* Footer */
  .footer__nav { flex-direction: column; gap: var(--space-lg); }
  .footer__legal .container { flex-direction: column; text-align: center; }
}

/* ============================================================
   17. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .animate-in,
  .animate-in.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html { scroll-behavior: auto; }

  .tile, .service-card, .insight-card, .client-logo,
  .btn, .nav__cta {
    transition: none;
  }
}
