/* ============================================================
   ADVARISE RISK CONSULTING — SHARED STYLESHEET
   styles.css — v3
   Changes: mobile hamburger menu, tablet breakpoint (600px),
            hero video hidden on mobile, hero-line commented out,
            lazy image base styles, retina-ready img defaults
   ============================================================ */

:root {
  --black:        #0C0C0B;
  --surface:      #141412;
  --card:         #1A1A18;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --gold:         #C9A84C;
  --gold-dim:     rgba(201,168,76,0.12);
  --gold-border:  rgba(201,168,76,0.35);
  --blue:         #3A7BD5;
  --blue-dim:     rgba(58,123,213,0.12);
  --blue-border:  rgba(58,123,213,0.3);
  --text:         #F0EDE6;
  --muted:        rgba(240,237,230,0.52);
  --faint:        rgba(240,237,230,0.25);
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'DM Sans', system-ui, sans-serif;
  --fs-label:     0.78rem;
  --fs-tag:       0.78rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(4rem, calc(10.36vw - 85px), 180px); height: 72px;
  background: rgba(12,12,11,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}
.logo-mark {
  width: 32px; height: 32px;
}
.logo-word {
  font-family: var(--sans); font-weight: 500;
  font-size: 0.92rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text);
}
.logo-word span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  color: var(--gold) !important;
  border: 1px solid var(--gold-border) !important;
  padding: 0.45rem 1.2rem; border-radius: 2px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-dim) !important; }

/* ── HAMBURGER BUTTON (mobile only) ── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; cursor: pointer;
  background: none; border: none; padding: 4px;
  z-index: 200;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.nav-drawer {
  display: none;
  position: fixed; inset: 0; z-index: 150;
  flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
  background: rgba(12,12,11,0.97);
  backdrop-filter: blur(20px);
  opacity: 0; transition: opacity 0.3s ease;
  pointer-events: none;
}
.nav-drawer.open {
  opacity: 1;
  pointer-events: all;
}
.nav-drawer a {
  font-size: 1.5rem; font-family: var(--serif); font-weight: 400;
  color: var(--muted); text-decoration: none; letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-drawer a:hover { color: var(--text); }
.nav-drawer .drawer-cta {
  font-family: var(--sans); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold) !important;
  border: 1px solid var(--gold-border);
  padding: 0.75rem 2.5rem; border-radius: 2px; margin-top: 1rem;
}
.nav-drawer .drawer-divider {
  width: 32px; height: 1px; background: var(--border);
}

/* ── SECTIONS ── */
section { padding: 6rem clamp(4rem, calc(10.36vw - 85px), 180px); }
.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: var(--fs-label); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-label::after { content:''; flex: 0 0 24px; height: 1px; background: var(--gold); }

/* ── TYPOGRAPHY ── */
h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 500; line-height: 1.05;
  letter-spacing: -0.01em; color: var(--text);
}
h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500; line-height: 1.15;
}
h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 500;
}
em { font-style: italic; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--gold); color: var(--black);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.85rem 2rem; text-decoration: none; border-radius: 2px;
  border: none; cursor: pointer; font-family: var(--sans);
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  display: inline-block; border: 1px solid var(--border-hover); color: var(--muted);
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.85rem 2rem; text-decoration: none; border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--faint); color: var(--text); }

.btn-blue {
  display: inline-block; background: var(--blue); color: #fff;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.75rem 1.75rem; text-decoration: none; border-radius: 2px;
  border: none; cursor: pointer; font-family: var(--sans);
  transition: opacity 0.2s;
}
.btn-blue:hover { opacity: 0.85; }

/* ── HERO ── */
.hero-wrap {
  min-height: 100vh; display: flex; align-items: center;
  padding: 8rem clamp(4rem, calc(10.36vw - 85px), 180px) 5rem; position: relative; overflow: hidden;
}
.hero-video-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-video-bg video {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.3;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(12,12,11,0.92) 0%, rgba(12,12,11,0.7) 60%, rgba(14,28,55,0.55) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px; opacity: 0.5; pointer-events: none;
}
/* ── HERO-LINE — commented out v3 (decorative vertical rule, re-enable if desired) ──
.hero-line {
  position: absolute; top: 0; right: 28%; z-index: 2;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.15) 30%, rgba(201,168,76,0.08) 70%, transparent);
  pointer-events: none;
}
── end hero-line ── */
.hero-inner { position: relative; z-index: 3; max-width: 900px; }

/* ── IMAGE OPTIMISATION DEFAULTS ── */
/* All images: prevent layout shift, fill container, retina-crisp */
img {
  display: block;
  max-width: 100%;
  height: auto;
  /* width + height attrs on <img> tags prevent CLS (Core Web Vitals) */
}
/* Blog/content images with explicit dimensions */
img.content-img {
  width: 100%; height: auto;
  object-fit: cover;
}
/* Retina: SVG favicons and logo already vector — no extra handling needed */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: var(--fs-label); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 2rem;
}
.hero-eyebrow::before { content:''; display:block; width:32px; height:1px; background:var(--gold); }
.hero-sub {
  font-size: 1.05rem; color: var(--muted);
  max-width: 520px; line-height: 1.8; margin-top: 25px; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── STATS STRIP ── */
.stats-wrap {
  background: var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 0 clamp(4rem, calc(10.36vw - 85px), 180px);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
}
.stat-item {
  background: var(--surface); padding: 2.5rem 2rem; text-align: center;
  transition: background 0.25s;
  cursor: default;
}
.stat-item:hover { background: var(--card); }
.stat-number {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4vw, 4rem); font-weight: 500;
  color: var(--gold); line-height: 1; margin-bottom: 0.5rem;
  transition: color 0.25s, text-shadow 0.25s;
}
.stat-item:hover .stat-number {
  color: #e8c76a;
  text-shadow: 0 0 32px rgba(201,168,76,0.35);
}
.stat-label {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}

/* ── SERVICE CARDS ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.service-card {
  background: var(--black); padding: 2.5rem 2rem;
  position: relative; overflow: hidden; transition: background 0.3s; cursor: default;
  text-decoration: none; display: block; color: var(--text);
}
.service-card::before {
  content:''; position:absolute; bottom:0; left:0; right:0; height:2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover { background: var(--card); }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--serif); font-size: 3.5rem; font-weight: 400;
  color: var(--faint); line-height: 1; margin-bottom: 1.25rem;
  transition: color 0.3s;
}
.service-card:hover .service-num { color: rgba(201,168,76,0.2); }
.service-name { font-size: 1rem; font-weight: 500; margin-bottom: 0.75rem; }
.service-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ── CASE STUDY CARDS ── */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); margin-top: 3rem; }
.case-card {
  background: var(--surface); padding: 2rem 1.75rem; position: relative;
  border-left: 2px solid transparent; transition: border-color 0.25s, background 0.25s;
}
.case-card:hover { border-left-color: var(--blue); background: var(--card); }
.case-tag {
  display: inline-block;
  font-size: var(--fs-tag); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); border: 1px solid var(--blue-border);
  padding: 0.25rem 0.65rem; border-radius: 2px; margin-bottom: 1rem;
}
.case-title { font-size: 0.97rem; font-weight: 500; margin-bottom: 0.75rem; line-height: 1.4; }
.case-body { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }
.case-outcome {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem; color: var(--gold);
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.case-outcome::before { content: '→'; flex-shrink: 0; }

/* ── WHY SECTION ── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 3.5rem; }
.why-item { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.why-item.visible { opacity: 1; transform: translateY(0); }
.why-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; border-radius: 2px;
  transition: background 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
}
.why-icon::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gold-dim); opacity: 0;
  transition: opacity 0.25s;
}
.why-item:hover .why-icon::after { opacity: 1; }
.why-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.5; position: relative; z-index: 1; }
.why-title { font-size: 1rem; font-weight: 500; margin-bottom: 0.6rem; }
.why-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.75; }
.why-line {
  width: 0; height: 2px; background: var(--gold);
  margin-bottom: 1.25rem; transition: width 0.6s ease 0.3s;
}
.why-item.visible .why-line { width: 32px; }

/* ── INDUSTRIES TAGS ── */
.industries-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.tag {
  font-size: 0.8rem; letter-spacing: 0.06em;
  border: 1px solid var(--border-hover); color: var(--muted);
  padding: 0.5rem 1.2rem; border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.tag:hover { border-color: var(--blue-border); color: var(--blue); }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; margin-top: 3rem; }
.contact-detail { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.contact-detail-icon {
  width: 36px; height: 36px; border: 1px solid var(--border-hover);
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px; flex-shrink: 0;
}
.contact-detail-icon svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.contact-detail-text a { color: var(--muted); text-decoration: none; font-size: 0.93rem; }
.contact-detail-text a:hover { color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.form-input, .form-textarea, .form-select {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-family: var(--sans); font-size: 0.93rem;
  padding: 0.8rem 1rem; border-radius: 2px; outline: none; width: 100%;
  transition: border-color 0.2s;
}
.form-select { appearance: none; cursor: pointer; }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--blue-border); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.78rem; color: var(--faint); margin-top: 0.5rem; }

/* ── BLUE ACCENT UTILITIES ── */
.accent-blue { color: var(--blue); }
.badge-blue {
  display: inline-block; font-size: var(--fs-tag); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); border: 1px solid var(--blue-border);
  padding: 0.2rem 0.6rem; border-radius: 2px;
}
.link-blue { color: var(--blue); text-decoration: none; font-size: 0.88rem; }
.link-blue:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 3rem clamp(4rem, calc(10.36vw - 85px), 180px);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo-word { font-family: var(--sans); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.9rem; }
.footer-logo-word span { color: var(--gold); }
.footer-copy { font-size: 0.8rem; color: var(--faint); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-size: 0.8rem; letter-spacing: 0.06em; color: var(--faint); text-decoration: none; }
.footer-links a:hover { color: var(--muted); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; animation: fadeUp 0.8s forwards; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 9rem clamp(4rem, calc(10.36vw - 85px), 180px) 5rem; background: var(--surface);
  border-bottom: 1px solid var(--border); position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 4rem; right: 4rem;
  height: 1px; background: linear-gradient(to right, var(--gold-border), transparent);
}
.page-hero-eyebrow { font-size: var(--fs-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
.page-hero-title { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 500; line-height: 1.08; margin-bottom: 1.25rem; }
.page-hero-sub { font-size: 1rem; color: var(--muted); max-width: 560px; line-height: 1.8; }

/* ── BLOG CARD ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 2px;
  overflow: hidden; text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; transition: border-color 0.25s;
}
.blog-card:hover { border-color: var(--border-hover); }
.blog-card-img {
  width: 100%; aspect-ratio: 16/9; background: var(--card);
  display: flex; align-items: center; justify-content: center;
  color: var(--faint); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  overflow: hidden; position: relative;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-tag { font-size: var(--fs-tag); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.6rem; }
.blog-card-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.25; margin-bottom: 0.75rem; }
.blog-card-excerpt { font-size: 0.85rem; color: var(--muted); line-height: 1.7; flex: 1; }
.blog-card-meta { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--faint); display: flex; justify-content: space-between; }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; gap: 0.5rem; font-size: 0.78rem; color: var(--faint); margin-bottom: 1rem; }
.breadcrumb a { color: var(--faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--muted); }
.breadcrumb span { color: var(--muted); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS — v3
   1. Tablet  : max-width 900px  (iPad landscape, small laptop)
   2. Tablet  : max-width 768px  (iPad portrait)
   3. Mobile  : max-width 600px  (phones)
   ══════════════════════════════════════════════════════════════ */

/* ── 1. TABLET — 900px ── */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }

  /* Hide desktop nav links, show hamburger */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { display: flex; }

  section, .page-hero, footer, .stats-wrap {
    padding-left: 2rem; padding-right: 2rem;
  }
  .hero-wrap { padding: 7rem 2rem 4rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  footer {
    padding: 2rem;
    flex-direction: column; align-items: flex-start;
  }
}

/* ── 2. TABLET PORTRAIT — 768px ── */
@media (max-width: 768px) {
  /* Hero video: hide on tablet/mobile — saves data, avoids slow-load blank */
  .hero-video-bg { display: none; }
  /* Compensate: make overlay fully opaque since no video beneath */
  .hero-overlay {
    background: linear-gradient(135deg, rgba(12,12,11,0.98) 0%, rgba(14,28,55,0.92) 100%);
  }

  /* Page hero smaller on tablet */
  .page-hero { padding: 7rem 2rem 3rem; }
  .page-hero::after { left: 2rem; right: 2rem; }

  /* Blog featured card: stack vertically */
  .featured-card-link { grid-template-columns: 1fr !important; }

  /* Article layout: single column */
  .article-wrap { grid-template-columns: 1fr !important; gap: 2.5rem !important; }

  /* Service page two-col grids: stack */
  .svc-resp { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .bg-resp { grid-template-columns: 1fr !important; }

  /* About grid on homepage */
  .about-grid-resp { grid-template-columns: 1fr !important; gap: 2rem !important; }

  /* Stats: keep 2-col */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Form rows: stack */
  .form-row { grid-template-columns: 1fr; }
}

/* ── 3. MOBILE — 600px ── */
@media (max-width: 600px) {
  /* Base spacing tighter on phones */
  section, .page-hero, footer, .stats-wrap {
    padding-left: 1.25rem; padding-right: 1.25rem;
  }
  .hero-wrap { padding: 6rem 1.25rem 3.5rem; }

  /* Single column everything */
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .case-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Slightly larger tap targets on buttons */
  .btn-primary, .btn-ghost, .btn-blue {
    padding: 1rem 1.5rem; font-size: 0.82rem; width: 100%; text-align: center;
  }
  .hero-actions { flex-direction: column; }

  /* Hero text: tighter line height on small screens */
  h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); line-height: 1.1; }

  /* Stat numbers slightly smaller */
  .stat-number { font-size: clamp(2rem, 8vw, 3rem); }

  /* Footer: stack everything */
  footer {
    padding: 1.75rem 1.25rem;
    gap: 1.25rem;
  }
  .footer-links { flex-wrap: wrap; gap: 1rem; }

  /* Page hero tighter */
  .page-hero { padding: 6rem 1.25rem 2.5rem; }
  .page-hero::after { left: 1.25rem; right: 1.25rem; }

  /* Blog card image shorter on mobile */
  .blog-card-img { aspect-ratio: 16/8; }

  /* Section label smaller */
  .section-label { font-size: 0.72rem; }
}

