/* Shared stylesheet for GovMoney article pages */

:root {
  --white: #FFFFFF;
  --cream: #F7F2E7;
  --cream-dark: #EFE8D4;
  --peach: #FFDDC8;
  --black: #0A0A0A;
  --navy: #0B1736;
  --blue: #006EE9;
  --blue-soft: #E6F1FE;
  --ink: #0B1736;
  --ink-70: rgba(11,23,54,0.7);
  --ink-60: rgba(11,23,54,0.55);
  --ink-30: rgba(11,23,54,0.3);
  --ink-15: rgba(11,23,54,0.12);
  --ink-08: rgba(11,23,54,0.06);
  --radius: 20px;
  --radius-lg: 32px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Onest', -apple-system, sans-serif;
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .container-narrow { padding: 0 20px; }
}

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

/* ===== NAV ===== */
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  cursor: pointer;
}
.logo-icon {
  height: 30px;
  width: auto;
  display: block;
}
.logo-wordmark {
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.footer-brand .logo-icon { height: 34px; }
.footer-brand .logo-wordmark { font-size: 22px; }

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--ink-08);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink); transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); }

.nav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--blue); transform: translateY(-1px); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ===== ARTICLE HEADER ===== */
.article-header {
  padding: 60px 0 40px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-60);
  margin-bottom: 32px;
  font-weight: 500;
}

.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--blue); }

.article-cat {
  display: inline-block;
  padding: 6px 14px;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.article-title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 40px;
  max-width: 900px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--ink-08);
  border-bottom: 1px solid var(--ink-08);
}

.article-meta .author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.author-name { font-weight: 600; font-size: 15px; color: var(--navy); margin-bottom: 2px; }
.author-role { font-size: 13px; color: var(--ink-60); }

.meta-details {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-60);
  font-weight: 500;
  align-items: center;
}

.meta-details .dot { color: var(--ink-30); }

/* ===== HERO IMAGE ===== */
.article-hero-image {
  max-width: 1080px;
  margin: 0 auto 60px;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

@media (max-width: 900px) {
  .article-hero-image {
    margin-left: 20px;
    margin-right: 20px;
    aspect-ratio: 4/3;
  }
}

.article-hero-image .pattern-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(60px, 10vw, 160px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-align: center;
  padding: 40px;
}

.img-sred { background: linear-gradient(135deg, #006EE9 0%, #0B1736 100%); }
.img-sred .pattern-text { color: rgba(255, 221, 200, 0.55); }

.img-budget { background: linear-gradient(135deg, #0B1736 0%, #006EE9 100%); }
.img-budget .pattern-text { color: rgba(255, 221, 200, 0.55); }

.img-narrative { background: linear-gradient(135deg, #FFDDC8 0%, #F7F2E7 100%); }
.img-narrative .pattern-text { color: rgba(11, 23, 54, 0.5); }

.img-redflags { background: linear-gradient(135deg, #0A0A0A 0%, #006EE9 100%); }
.img-redflags .pattern-text { color: rgba(255, 221, 200, 0.65); }

.img-provincial { background: linear-gradient(135deg, #0B1736 0%, #006EE9 60%, #FFDDC8 100%); }
.img-provincial .pattern-text { color: rgba(255, 255, 255, 0.85); }

.img-sred2 { background: linear-gradient(135deg, #E6F1FE 0%, #006EE9 100%); }
.img-sred2 .pattern-text { color: rgba(255, 255, 255, 0.9); }

.img-startups { background: linear-gradient(135deg, #FFDDC8 0%, #006EE9 100%); }
.img-startups .pattern-text { color: rgba(255, 255, 255, 0.9); }

/* ===== ARTICLE BODY ===== */
.article-body {
  padding-bottom: 100px;
}

.article-body .container-narrow {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
}

.article-body .lead {
  font-size: 22px;
  line-height: 1.4;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.article-body p {
  margin-bottom: 24px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-70);
}

.article-body h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--navy);
  margin: 48px 0 20px;
}

.article-body h3 {
  font-family: 'Onest', sans-serif;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--navy);
  margin: 32px 0 14px;
}

.article-body ul, .article-body ol {
  margin: 20px 0 28px 24px;
  color: var(--ink-70);
}

.article-body ul li, .article-body ol li {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.6;
}

.article-body ul li::marker { color: var(--blue); }
.article-body ol li::marker { color: var(--blue); font-weight: 600; }

.article-body strong { color: var(--navy); font-weight: 600; }

.article-body a {
  color: var(--blue);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-body a:hover { color: var(--navy); }

.article-body blockquote {
  margin: 32px 0;
  padding: 28px 32px;
  background: var(--cream);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--navy);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 15px;
}

.article-body table th, .article-body table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--ink-08);
}

.article-body table th {
  background: var(--cream);
  font-weight: 600;
  color: var(--navy);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-body table tr:last-child td {
  border-bottom: none;
}

/* Callout */
.callout {
  margin: 32px 0;
  padding: 20px 24px;
  background: var(--cream);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.5;
}

.callout strong { color: var(--navy); }
.callout a { color: var(--blue); text-decoration: none; font-weight: 600; }
.callout a:hover { text-decoration: underline; }

/* CTA Box */
.article-cta-box {
  margin: 64px 0 0;
  padding: 48px 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.article-cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(0, 110, 233, 0.4), transparent 55%),
              radial-gradient(circle at 80% 100%, rgba(255, 221, 200, 0.15), transparent 50%);
  pointer-events: none;
}

.article-cta-box h3 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--white);
  position: relative;
}

.article-cta-box p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  font-size: 16px;
  position: relative;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--peach);
  color: var(--navy);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s;
  position: relative;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 221, 200, 0.3);
}

.cta-btn .arrow { transition: transform 0.25s; }
.cta-btn:hover .arrow { transform: translateX(4px); }

/* ===== RELATED ARTICLES ===== */
.related-section {
  padding: 100px 0;
  background: var(--cream);
}

.related-title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 48px;
}

.related-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}

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

@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .related-grid { grid-template-columns: 1fr; } }

.related-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}

.related-card:hover { transform: translateY(-6px); }

.related-card .article-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.4s;
}

.related-card:hover .article-image { box-shadow: 0 24px 50px rgba(11,23,54,0.15); }

.related-card .article-image .pattern-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 60px);
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-align: center;
  padding: 24px;
}

.related-card .article-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  width: fit-content;
}

.related-card h3 {
  font-family: 'Onest', sans-serif;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.related-card:hover h3 { color: var(--blue); }

.related-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-60);
}

/* ===== FOOTER ===== */
footer {
  padding: 60px 0 40px;
  background: var(--white);
  border-top: 1px solid var(--ink-08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

.footer-brand .logo-link { margin-bottom: 20px; }

.footer-desc {
  font-size: 14px;
  color: var(--ink-60);
  line-height: 1.55;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-contact { font-size: 13px; color: var(--ink-70); line-height: 1.9; }
.footer-contact a { color: var(--ink); }
.footer-contact a:hover { color: var(--blue); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-60);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--ink); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--ink-15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-60);
  flex-wrap: wrap;
  gap: 16px;
}


/* ========= ENTERPRISE FOOTER ========= */
/* ========= NEWSLETTER CTA (above footer) ========= */
.newsletter-cta {
  padding: 72px 0 88px;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.newsletter-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 110, 233, 0.28), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(255, 221, 200, 0.08), transparent 55%);
  pointer-events: none;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
@media (max-width: 800px) { .newsletter-inner { grid-template-columns: 1fr; gap: 32px; } }

.newsletter-eyebrow {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255, 221, 200, 0.12);
  color: var(--peach);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.newsletter-title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}
.newsletter-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--peach);
}

.newsletter-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  max-width: 420px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 6px;
  transition: border-color 0.2s;
}
.newsletter-form:focus-within { border-color: var(--blue); }

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 15px;
  color: var(--white);
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }

.newsletter-form button {
  background: var(--peach);
  color: var(--navy);
  border: none;
  padding: 14px 24px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.newsletter-fineprint {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}
.newsletter-fineprint a { color: rgba(255, 221, 200, 0.8); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.newsletter-fineprint a:hover { color: var(--peach); }

/* ========= MAIN FOOTER ========= */
.site-footer {
  padding: 88px 0 32px;
  background: var(--cream);
  color: var(--ink);
}

.footer-primary {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--ink-15);
}
@media (max-width: 900px) { .footer-primary { grid-template-columns: 1fr; gap: 48px; } }

.footer-brand .logo-link { margin-bottom: 20px; }
.footer-brand .logo-icon { height: 32px; }
.footer-brand .logo-wordmark { font-size: 22px; }

.footer-brand-desc {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.55;
  max-width: 340px;
  margin-bottom: 28px;
}

.footer-contact {
  margin-bottom: 28px;
}
.contact-row {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink-08);
  font-size: 13px;
  align-items: flex-start;
}
.contact-row:last-child { border-bottom: none; }
.contact-label {
  width: 60px;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-60);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 2px;
}
.contact-row a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
.contact-row a:hover { color: var(--blue); }
.contact-row > span:not(.contact-label) { color: var(--ink-70); line-height: 1.5; }

.footer-social {
  display: flex;
  gap: 10px;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ink-15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-70);
  transition: all 0.2s;
  background: var(--white);
}
.social-icon:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.social-icon svg { width: 16px; height: 16px; }

/* Footer nav */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
@media (max-width: 700px) { .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-60);
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--blue); }

/* Trust row */
.footer-trust {
  padding: 40px 0;
  border-bottom: 1px solid var(--ink-15);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 800px) { .footer-trust { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

.trust-item { position: relative; }
.trust-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-60);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-label::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--blue);
}
.trust-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
}

/* Bottom bar */
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-60);
}
.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: var(--ink-70);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-links a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

.footer-bottom-right {
  font-size: 13px;
  color: var(--ink-60);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Override any leftover old footer rules */
footer { padding: 0; }
footer .footer-grid { display: none; }


  /* ===================== MOBILE HAMBURGER NAV ===================== */
  .nav-hamburger {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 101;
    border-radius: 10px;
    transition: background 0.2s;
  }
  .nav-hamburger:hover { background: var(--ink-08); }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    margin: 5px auto;
    transition: transform 0.3s ease, opacity 0.2s ease;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-mobile-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 99;
    padding: 88px 24px 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
  }
  .nav-mobile-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
  }
  .nav-mobile-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 24px;
    padding: 0;
  }
  .nav-mobile-links li { border-bottom: 1px solid var(--ink-08); }
  .nav-mobile-links li:last-child { border-bottom: none; }
  .nav-mobile-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 12px;
    font-family: 'Onest', sans-serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.25s;
  }
  .nav-mobile-links a::after {
    content: '→';
    font-family: 'Instrument Serif', serif;
    font-size: 18px;
    color: var(--ink-30);
    transition: transform 0.25s, color 0.2s;
  }
  .nav-mobile-links a:hover, .nav-mobile-links a:active {
    color: var(--blue);
    padding-left: 18px;
  }
  .nav-mobile-links a:hover::after { transform: translateX(4px); color: var(--blue); }
  .nav-mobile-links a.active { color: var(--blue); }
  .nav-mobile-cta {
    display: block;
    text-align: center;
    background: var(--navy);
    color: var(--white);
    padding: 20px 28px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
  }
  .nav-mobile-cta:hover { background: var(--blue); transform: translateY(-1px); }
  .nav-mobile-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--ink-08);
    text-align: center;
    font-size: 12px;
    color: var(--ink-60);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  /* Show hamburger on mobile, hide desktop nav-cta */
  @media (max-width: 860px) {
    .nav-hamburger { display: block; }
    .nav-cta { display: none; }
  }
  @media (min-width: 861px) {
    .nav-mobile-panel { display: none; }
  }


  /* ========= PERFORMANCE ========= */
  .cv-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
  }
  @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;
    }
  }


  /* ========= RESPONSIVE POLISH ========= */
  @media (pointer: coarse) {
    .btn-primary, .btn-secondary,
    .cta-btn-primary, .cta-btn-secondary,
    .nav-cta, .nav-mobile-cta,
    .expand-btn {
      min-height: 48px;
    }
  }

  html, body { max-width: 100vw; overflow-x: hidden; }

  @media (max-width: 640px) {
    section { padding: 64px 0 !important; }
    .hero-title, .hero-title-main { font-size: clamp(32px, 9vw, 48px) !important; }
    .section-title { font-size: clamp(28px, 8vw, 40px) !important; }
    .hero-sub { font-size: 16px !important; }
    .section-sub { font-size: 15px !important; }

    /* CTAs stack */
    .hero-ctas, .cta-btns {
      flex-direction: column;
      align-items: stretch;
      width: 100%;
    }
    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary,
    .cta-btns .cta-btn-primary,
    .cta-btns .cta-btn-secondary {
      width: 100%;
      justify-content: center;
    }

    /* Stats rows: 4-col → 2x2 grid */
    .hero-meta {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 24px !important;
      padding-top: 32px !important;
      margin-top: 32px !important;
    }
    .meta-value { font-size: 28px !important; }

    /* Newsletter form stack */
    .newsletter-form {
      flex-direction: column;
      padding: 10px;
      gap: 6px;
    }
    .newsletter-form input { padding: 12px 16px !important; width: 100%; }
    .newsletter-form button { width: 100%; padding: 14px !important; }

    /* Footer cleanup */
    .footer-primary { padding-bottom: 40px !important; }
    .site-footer { padding: 56px 0 24px !important; }
    .footer-legal-links { gap: 14px !important; }
    .footer-legal-links a { font-size: 12px !important; }
    .footer-trust { padding: 28px 0 !important; gap: 18px !important; }
    .trust-value { font-size: 12px !important; }
  }

  @media (max-width: 380px) {
    .container { padding: 0 16px !important; }
    .hero-title, .hero-title-main { font-size: 30px !important; }
    .meta-value { font-size: 24px !important; }
  }
