/* ===================================
   VANTVUE CONSULTING — WORLD-CLASS CSS
   =================================== */

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

:root {
  --bg: #08090d;
  --bg-2: #0d0f18;
  --bg-3: #111420;
  --fg: #ffffff;
  --fg-muted: rgba(255,255,255,0.55);
  --fg-dim: rgba(255,255,255,0.35);
  --accent: #5b8cf7;
  --accent-2: #8fb4ff;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --gap: clamp(2rem, 5vw, 4rem);
  --container: 1200px;
  --header-h: 72px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; font-size: 16px; text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.8rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }
p { font-size: clamp(1rem, 1.5vw, 1.125rem); color: var(--fg-muted); }
em { font-style: normal; color: var(--fg); }
strong { color: var(--fg); font-weight: 700; }

/* --- Utility --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }
.container.narrow { max-width: 800px; }
.label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; display: block; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: #fff; color: #08090d;
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(91,140,247,0.3); }
.btn-outline {
  border: 1px solid var(--border-hover); color: var(--fg); background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }
.btn-ghost {
  color: var(--fg); background: rgba(255,255,255,0.07); border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.875rem; }
.link-arrow { font-size: 0.9rem; font-weight: 600; color: var(--fg-muted); transition: color 0.2s, gap 0.2s; display: inline-flex; align-items: center; gap: 0.4rem; }
.link-arrow:hover { color: var(--fg); }

/* === HEADER === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled,
.site-header.nav-open {
  background: rgba(8, 9, 13, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.nav-container {
  max-width: var(--container); width: 100%; margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.logo { display: inline-flex; align-items: center; color: var(--fg); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--fg-muted);
  padding: 0.5rem 0.875rem; border-radius: 9999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.nav-active { color: var(--fg); background: rgba(255,255,255,0.08); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 32px; padding: 4px 0; }
.nav-toggle span { display: block; height: 2px; background: var(--fg); border-radius: 2px; transition: all 0.3s var(--ease); }
.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; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  min-height: auto;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 3rem) clamp(1.5rem, 4vw, 3rem) clamp(1rem, 2vw, 1.5rem);
  max-width: var(--container); margin: 0 auto;
  position: relative;
}
.hero-content { max-width: 900px; }
.hero-heading {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 900; line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}
.hero-heading .word-reveal { display: inline-block; margin-right: 0.2em; }
.hero-secondary { color: rgba(255,255,255,0.35); }
.hero-sub { max-width: 560px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--fg-muted); margin-bottom: 2.5rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* === SECTION: VISION === */
.section-vision { padding: clamp(0.75rem, 2vw, 1.5rem) 0 var(--gap); }
.vision-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  gap: 4rem; align-items: start;
  min-height: auto;
}
.vision-img { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4/3; }
.vision-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 0.8s var(--ease); }
.vision-img:hover img { transform: scale(1.05); }
.vision-text { display: flex; flex-direction: column; gap: 1.5rem; }
.vision-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }

/* === SECTION: PROCESS PREVIEW === */
.section-process { padding: var(--gap) 0; background: var(--bg-2); }
.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-top: 0.5rem; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 3rem; }
.process-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem 2rem;
  transition: border-color 0.3s, transform 0.3s;
  display: flex; flex-direction: column; gap: 1rem;
}
.process-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.process-num { font-size: 3.5rem; font-weight: 900; color: var(--border); line-height: 1; }
.process-card h3 { font-size: 1.3rem; margin: 0; }
.process-tag { font-size: 0.925rem; font-weight: 600; color: var(--fg); }
.process-card p { margin: 0; }
.process-cta { text-align: center; }

/* === SECTION: SERVICES === */
.section-services { padding: var(--gap) 0; }
.services-layout {
  display: grid; grid-template-columns: 1fr 1.6fr;
  max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  gap: 6rem; align-items: start;
}
.services-sticky { position: sticky; top: calc(var(--header-h) + 2rem); display: flex; flex-direction: column; gap: 1.5rem; }
.services-sticky h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.services-sticky p { font-size: 1rem; }

/* Accordion */
.accordion { display: flex; flex-direction: column; }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; gap: 1rem;
  color: var(--fg-muted); font-size: 1rem; font-weight: 500;
  transition: color 0.2s;
}
.acc-btn:hover, .acc-btn[aria-expanded="true"] { color: var(--fg); }
.acc-icon {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; min-width: 24px;
  border: 1px solid var(--border); border-radius: 50%;
  font-size: 1.1rem; line-height: 1;
  transition: transform 0.3s var(--ease), border-color 0.2s, background 0.2s;
  background: transparent; color: var(--fg-muted);
  font-style: normal;
}
.acc-icon::before { content: '+'; display: block; }
.acc-btn[aria-expanded="true"] .acc-icon { transform: rotate(45deg); border-color: var(--fg); background: var(--fg); color: var(--bg); }
.acc-body {
  overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease), opacity 0.3s;
  opacity: 0;
}
.acc-body.open { opacity: 1; }
.acc-body p { padding-bottom: 1.25rem; }

/* === SECTION: CTA === */
.section-cta { padding: var(--gap) 0; }
.cta-box {
  max-width: 800px; margin: 0 auto;
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.cta-box h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-box p { max-width: 480px; }

/* === PAGE HERO === */
.page-hero {
  position: relative; height: 70vh; min-height: 480px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  padding: 0 clamp(1.5rem, 4vw, 3rem) 4rem;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,9,13,0.3) 0%, rgba(8,9,13,0.7) 60%, rgba(8,9,13,1) 100%);
}
.page-hero-img { position: absolute; inset: 0; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-content { position: relative; z-index: 1; max-width: var(--container); width: 100%; margin: 0 auto; }
.page-hero-content h1 { font-size: clamp(3rem, 7vw, 6rem); margin-bottom: 0.5rem; }
.page-hero-sub { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 800; color: rgba(255,255,255,0.5); }
.page-hero--dark { background: var(--bg-2); height: auto; padding: calc(var(--header-h) + 4rem) clamp(1.5rem, 4vw, 3rem) 4rem; }
.page-hero--dark::after { display: none; }
.page-hero-content--centered { text-align: center; }
.page-hero-content--centered h1, .page-hero-content--centered .page-hero-sub { margin-left: auto; margin-right: auto; }

/* === SECTION: INTRO === */
.section-intro { padding: var(--gap) 0; }
.section-intro .container.narrow { display: flex; flex-direction: column; gap: 1.5rem; }
.section-intro h2 { margin-bottom: 1rem; }
.section-intro p { font-size: clamp(1.05rem, 1.8vw, 1.2rem); }

/* === STEPS TIMELINE === */
.section-steps { padding: var(--gap) 0; background: var(--bg-2); }
.steps-timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-step {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 3rem; padding: 4rem 0;
  border-top: 1px solid var(--border);
}
.timeline-step:last-child .timeline-bar { display: none; }
.timeline-marker { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.timeline-num { font-size: 3rem; font-weight: 900; color: var(--accent); letter-spacing: -0.04em; }
.timeline-bar { flex: 1; width: 1px; background: var(--border); }
.timeline-content { display: flex; flex-direction: column; gap: 1rem; padding-bottom: 2rem; }
.timeline-content h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.timeline-tag { font-size: 1.05rem; font-weight: 600; color: var(--fg); }
.timeline-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.timeline-list li { color: var(--fg-muted); padding-left: 1.5rem; position: relative; font-size: 0.95rem; }
.timeline-list li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }

/* === SERVICES FULL PAGE === */
.services-full { padding: var(--gap) 0; }
.services-intro { max-width: 700px; margin-bottom: 3rem; }
.services-intro h2 { margin-bottom: 1rem; }
.services-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem; margin-bottom: 4rem;
}
.service-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { border-color: rgba(91,140,247,0.4); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.service-card--wide { grid-column: 1 / -1; flex-direction: row; gap: 2rem; align-items: flex-start; }
.service-card-icon { font-size: 2rem; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; }
.services-custom { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.services-custom h3 { font-size: 1.5rem; }
.check-list { display: flex; flex-direction: column; gap: 0.5rem; }
.check-list li { color: var(--fg-muted); padding-left: 1.75rem; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* === ABOUT PAGE === */
.section-about { padding: var(--gap) 0; }
.about-quote {
  border-left: 3px solid var(--accent);
  padding: 1.5rem 0 1.5rem 2rem;
  margin-bottom: 3rem;
}
.about-quote p { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; color: var(--fg); font-style: italic; line-height: 1.5; }
.about-body { display: flex; flex-direction: column; gap: 1.25rem; }
.about-closing { margin-top: 1rem; }

/* === VALUES === */
.section-values { padding: var(--gap) 0; background: var(--bg-2); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.value-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color 0.3s;
}
.value-card:hover { border-color: var(--border-hover); }
.value-icon { font-size: 1.5rem; color: var(--accent); }
.value-card h3 { font-size: 1.1rem; }

/* === CONTACT FORM === */
.contact-hero { padding: calc(var(--header-h) + 5rem) 0 3rem; text-align: center; }
.contact-hero-text h1 { font-size: clamp(3rem, 7vw, 6rem); }
.contact-hero-sub { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 700; color: rgba(255,255,255,0.5); margin-top: 0.5rem; }
.contact-section { padding: 3rem 0 var(--gap); }
.section-contact-form { padding: var(--gap) 0; background: var(--bg-2); }
.contact-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
.contact-details { display: flex; flex-direction: column; gap: 1rem; padding-top: 0.5rem; }
.contact-detail-item { display: flex; align-items: center; gap: 1rem; }
.contact-detail-icon { font-size: 1.1rem; width: 2rem; }
.contact-detail-item a { color: var(--fg-muted); transition: color 0.2s; }
.contact-detail-item a:hover { color: var(--fg); }

/* Forms */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.875rem; font-weight: 500; color: var(--fg-muted); }
.form-group label span { color: var(--accent); }
.form-group input, .form-group textarea {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.85rem 1rem;
  color: var(--fg); font-family: var(--font); font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; width: 100%;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,140,247,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--fg-dim); }
.form-check { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--fg-muted); cursor: pointer; }
.form-check input { width: auto; }
.form-note { font-size: 0.825rem; color: var(--fg-dim); text-align: center; }

/* === BLOG === */
.blog-section { padding: var(--gap) 0; }
.blog-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin-bottom: 4rem; }
.blog-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.3s, transform 0.3s; }
.blog-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.blog-card-link { display: flex; flex-direction: column; height: 100%; }
.blog-card-img { overflow: hidden; aspect-ratio: 16/10; }
.blog-card--featured .blog-card-img { aspect-ratio: 16/9; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-content { padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.blog-meta { display: flex; gap: 1rem; font-size: 0.8rem; }
.blog-category { background: rgba(91,140,247,0.15); color: var(--accent); padding: 0.2em 0.7em; border-radius: 9999px; font-weight: 600; }
.blog-date { color: var(--fg-dim); }
.blog-card h2 { font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.3; }
.blog-card p { font-size: 0.925rem; }
.blog-cta { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.blog-cta p { font-size: 1.1rem; color: var(--fg); font-weight: 500; flex: 1; }
.newsletter-form { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.newsletter-form input {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 9999px; padding: 0.75rem 1.25rem;
  color: var(--fg); font-size: 0.9rem; outline: none; min-width: 220px;
  transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--accent); }

/* === ARTICLE PAGES === */
.article-hero {
  padding: calc(var(--header-h) + 5rem) 0 3rem;
  background: radial-gradient(circle at top left, rgba(91,140,247,0.16), transparent 34%), var(--bg-2);
}
.article-hero .container { max-width: 920px; }
.article-meta {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  margin-bottom: 1.25rem;
  color: var(--fg-dim); font-size: 0.9rem;
}
.article-hero h1 { max-width: 860px; margin-bottom: 1.5rem; }
.article-dek { max-width: 720px; font-size: clamp(1.1rem, 2vw, 1.35rem); color: rgba(255,255,255,0.68); }
.article-body { padding: 4rem 0 var(--gap); }
.article-body .container { max-width: 820px; }
.article-body article { display: flex; flex-direction: column; gap: 1.5rem; }
.article-body h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-top: 1.5rem; }
.article-body p, .article-body li { font-size: clamp(1.02rem, 1.6vw, 1.14rem); color: rgba(255,255,255,0.66); }
.article-body ul { display: flex; flex-direction: column; gap: 0.75rem; margin-left: 1.2rem; list-style: disc; }
.article-body li::marker { color: var(--accent); }
.article-callout {
  border: 1px solid rgba(91,140,247,0.28);
  background: rgba(91,140,247,0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1rem 0;
}
.article-callout p { color: var(--fg); margin: 0; }
.article-back { margin-top: 2rem; }

/* === FOOTER === */
.site-footer { border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem) 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-brand .logo { margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.9rem; color: var(--fg-muted); max-width: 280px; }
.footer-location { color: var(--fg-dim) !important; font-size: 0.825rem !important; }
.footer-nav h4, .footer-contact h4 { color: var(--fg-muted); margin-bottom: 1rem; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a, .footer-contact a { font-size: 0.9rem; color: var(--fg-muted); transition: color 0.2s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--fg); }
.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-bottom { max-width: var(--container); margin: 0 auto; padding: 1.75rem clamp(1.5rem, 4vw, 3rem) 0; }
.footer-bottom p { font-size: 0.825rem; color: var(--fg-dim); }

/* === ANIMATIONS === */
[data-reveal] { opacity: 0; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal].visible { opacity: 1; transform: none; }
.word-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.word-reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal],
  .word-reveal {
    opacity: 1;
    transform: none;
  }
}

/* === MOBILE === */
@media (max-width: 960px) {
  .nav-toggle { display: flex; position: relative; z-index: 1002; }
  .logo { position: relative; z-index: 1002; }
  .nav-container { padding-left: 2.5rem; padding-right: 2.5rem; }

  /* The header gets a backdrop-filter when scrolled or when the menu is
     open. A backdrop-filter makes the header the containing block for any
     fixed-position descendant, which would clip the .nav-links overlay to
     the 72px header height — leaving the menu links overflowing onto the
     page with no background behind them. Disabling it while the menu is
     open keeps the overlay anchored to the full viewport. */
  .site-header.nav-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg);
  }

  .nav-links {
    position: fixed; inset: 0;
    background: var(--bg);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: calc(var(--header-h) + 1.5rem) 2.5rem 2rem;
    overflow-y: auto;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1000;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 0.875rem 0; display: block; font-size: 1.1rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .vision-wrap { grid-template-columns: 1fr; min-height: unset; }
  .process-grid { grid-template-columns: 1fr; }
  .services-layout { grid-template-columns: 1fr; gap: 3rem; }
  .services-sticky { position: static; }
  .contact-split { grid-template-columns: 1fr; gap: 3rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline-step { grid-template-columns: 60px 1fr; gap: 1.5rem; }
}
@media (max-width: 640px) {
  .container,
  .nav-container,
  .hero,
  .vision-wrap,
  .services-layout,
  .footer-grid {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .hero {
    min-height: auto;
    justify-content: flex-start;
    padding-top: calc(var(--header-h) + 5rem);
    padding-bottom: 2.5rem;
  }
  .hero-heading {
    font-size: clamp(2.25rem, 11vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
  }
  .hero-heading .word-reveal {
    display: block;
    margin-right: 0;
  }
  .hero-sub {
    max-width: 100%;
    font-size: 1rem;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .page-hero-content h1,
  .contact-hero-text h1,
  .article-hero h1 {
    overflow-wrap: anywhere;
  }
  [data-reveal="left"],
  [data-reveal="right"] {
    transform: translateY(28px);
  }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-card--wide { flex-direction: column; }
  .hero-cta { flex-direction: column; }
  .blog-cta { flex-direction: column; }
  .newsletter-form,
  .newsletter-form input,
  .newsletter-form .btn { width: 100%; }
}
