/* NWF Capital — static rebuild of nwfcapital.co
   Design system: Merriweather (serif display), Lato (sans body), Space Grotesk (home hero)
   Palette: navy blue-900 #1e3a8a on near-white */
:root {
  --blue-950: #172554; --blue-900: #1e3a8a; --blue-800: #1e40af; --blue-700: #1d4ed8;
  --blue-400: #60a5fa; --blue-300: #93c5fd; --blue-200: #bfdbfe; --blue-100: #dbeafe; --blue-50: #eff6ff;
  --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb; --gray-300: #d1d5db;
  --gray-400: #9ca3af; --gray-500: #6b7280; --gray-600: #4b5563;
  --green: #16a34a; --white: #ffffff; --gold: #a8863d;
  --serif: "Merriweather", Georgia, serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --grotesk: "Space Grotesk", var(--sans);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--blue-900); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--gray-500); }
.max-w { max-width: 56rem; }
.mt-2 { margin-top: 2rem; } .mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 2rem; } .mb-4 { margin-bottom: 3rem; }

/* ---------- typography ---------- */
.eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.eyebrow-light { color: #cfa85e; }
.h2 { font-family: var(--serif); font-weight: 700; text-transform: uppercase; color: var(--blue-900); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 2rem; }
.h2-light { color: var(--white); }
.h2-plain { font-family: var(--serif); font-weight: 700; color: var(--blue-900); font-size: clamp(1.7rem, 3.5vw, 2.5rem); line-height: 1.2; margin-bottom: 1rem; }
.lede { font-size: 1.1rem; color: var(--gray-600); }
.body-copy p { color: var(--gray-600); margin-bottom: 1.25rem; }
.border-top { border-top: 1px solid var(--gray-100); }
.border-y { border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }

/* ---------- nav ---------- */
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(30,58,138,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.logo { display: flex; align-items: baseline; gap: .5rem; }
.logo-serif { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--blue-900); }
.logo-sans { font-size: .875rem; color: var(--blue-900); }
.nav-right { display: flex; align-items: center; gap: 2rem; }
.nav-phone { font-size: .875rem; } .nav-phone:hover { color: var(--blue-700); }
.dropdown { position: relative; }
.dropbtn { background: none; border: none; font-family: var(--sans); font-size: .875rem; color: var(--blue-900); cursor: pointer; padding: 1.25rem 0; }
.dropdown-menu { position: absolute; left: 0; top: 100%; width: 14rem; background: var(--white); border: 1px solid var(--gray-200); border-radius: .5rem; box-shadow: 0 10px 25px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transition: .2s; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; }
.dropdown-menu a { display: block; padding: .5rem 1rem; font-size: .875rem; }
.dropdown-menu a:hover { background: var(--blue-50); }
.dropdown-sep { border-top: 1px solid var(--gray-200); }
.nav-mobile-right { display: none; align-items: center; gap: .5rem; }
.menu-toggle { display: none; }
.menu-btn { display: none; flex-direction: column; gap: 4px; padding: .6rem; cursor: pointer; }
.menu-btn span { width: 22px; height: 2px; background: var(--blue-900); }
.mobile-menu { display: none; border-top: 1px solid var(--gray-200); }
.mobile-menu a { display: block; padding: .8rem 1.25rem; font-size: .9rem; }
.mobile-menu a:hover { background: var(--blue-50); }
.menu-toggle:checked ~ .mobile-menu { display: block; }
@media (max-width: 768px) {
  .nav-right { display: none; }
  .nav-mobile-right { display: flex; }
  .menu-btn { display: flex; }
  .site-nav .mobile-menu { display: none; }
  .site-nav:has(.menu-toggle:checked) .mobile-menu { display: block; }
}

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: .9rem 2rem; font-weight: 500; font-size: 1rem; cursor: pointer; border: none; transition: .2s; text-align: center; }
.btn-sm { padding: .5rem 1.5rem; font-size: .875rem; }
.btn-xs { padding: .45rem .85rem; font-size: .75rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue-900); color: var(--white); }
.btn-primary:hover { background: var(--blue-800); }
.btn-light { background: var(--white); color: var(--blue-900); }
.btn-light:hover { background: var(--gray-100); }
.btn-outline { background: transparent; color: var(--blue-900); border: 1px solid var(--blue-900); }
.btn-outline:hover { background: var(--blue-50); }
.btn-hero { display: inline-flex; align-items: center; justify-content: space-between; min-width: 200px; padding: 1rem 2rem; font-weight: 500; transition: .2s; }
.btn-hero .arrow { margin-left: 1rem; }
.btn-hero-light { background: var(--white); color: var(--blue-900); }
.btn-hero-light:hover { background: var(--gray-100); }
.btn-hero-outline { border: 1px solid var(--white); color: var(--white); }
.btn-hero-outline:hover { background: rgba(255,255,255,.1); }
.btn-hero-dark { background: var(--blue-900); color: var(--white); }
.btn-hero-dark:hover { background: var(--blue-800); }

/* ---------- heroes ---------- */
.hero-home { position: relative; height: 100vh; min-height: 600px; max-height: 900px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-media img { animation: none; } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.3) 50%, transparent); }
.hero-overlay-blue { background: linear-gradient(to top, rgba(30,58,138,.9), rgba(30,58,138,.5) 50%, transparent); }
.hero-content { position: relative; z-index: 2; padding-bottom: 4rem; }
.hero-title { font-family: var(--grotesk); font-weight: 400; color: var(--white); font-size: clamp(2.3rem, 6vw, 3.8rem); line-height: 1.1; margin-bottom: 1rem; }
.hero-sub { font-family: var(--grotesk); color: var(--white); font-size: clamp(1.1rem, 2.5vw, 1.4rem); margin-bottom: 2rem; max-width: 36rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-product { position: relative; height: 60vh; min-height: 400px; max-height: 600px; display: flex; align-items: flex-end; background-size: cover; background-position: center; }
.hero-product .hero-content { padding-bottom: 3.5rem; }
.hero-product .eyebrow { margin-bottom: 1rem; color: var(--gray-300); }
.hero-title-serif { font-family: var(--serif); font-weight: 700; text-transform: uppercase; color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; margin-bottom: 1rem; letter-spacing: -.01em; }
.hero-sub-sans { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--gray-200, #e5e7eb); max-width: 40rem; }
.hero-product .hero-sub-sans, .hero-resources .hero-sub-sans { color: rgba(255,255,255,.85); }
.hero-gradient { background: linear-gradient(to right, var(--blue-900), var(--blue-800)); padding: 5rem 0; }
.hero-gradient .hero-title-serif { text-transform: none; }
.hero-sub-serif { font-family: var(--serif); font-weight: 600; color: var(--blue-50); font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 1.25rem; }
.hero-gradient .hero-sub-sans { color: var(--blue-100); }

/* ---------- sections & layout ---------- */
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 6.5rem 0; } }
.bg-gray { background: var(--gray-50); }
.section-dark { background: var(--blue-900); color: var(--white); }
.two-col { display: grid; gap: 3rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.two-col-center { align-items: center; }
.grid-2 { display: grid; gap: 2rem; }
.grid-3 { display: grid; gap: 1.5rem; }
.grid-4 { display: grid; gap: 2rem; }
.grid-5 { display: grid; gap: 2rem; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}
.welcome-img { height: 500px; overflow: hidden; }
@media (min-width: 900px) { .welcome-img { height: 700px; } }
.welcome-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- home components ---------- */
.cta-boxes { display: grid; margin-top: 3rem; }
@media (min-width: 768px) { .cta-boxes { grid-template-columns: 1fr 1fr; } }
.cta-box { padding: 3rem; display: flex; flex-direction: column; align-items: center; text-align: center; transition: .2s; }
.cta-box h3 { font-family: var(--serif); font-weight: 700; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.cta-box p { max-width: 24rem; }
.cta-box-dark { background: var(--blue-900); color: var(--white); }
.cta-box-dark:hover { background: var(--blue-800); }
.cta-box-dark p { color: var(--blue-200); }
.cta-box-light { background: var(--gray-100); color: var(--blue-900); }
.cta-box-light:hover { background: var(--gray-200); }
.cta-box-light p { color: var(--gray-600); }
.mission-card { border-top: 2px solid var(--blue-900); padding-top: 1.5rem; }
.mission-icon { font-size: 2rem; margin-bottom: 1rem; line-height: 1; }
.mission-card h3 { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; margin-bottom: .75rem; }
.mission-card p { font-size: .875rem; color: var(--gray-600); }
.stats-grid { display: grid; gap: 3rem; border-top: 1px solid var(--gray-200); padding-top: 3rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 5rem; } }
.stat-num { font-family: var(--serif); font-weight: 700; font-size: clamp(3.5rem, 8vw, 6rem); letter-spacing: -.02em; margin-bottom: 1rem; }
.stats-grid p { font-size: .875rem; color: var(--gray-600); max-width: 20rem; }
.product-card { display: block; border: 1px solid var(--gray-200); background: var(--white); padding: 2rem; transition: .2s; }
.product-card:hover { border-color: var(--blue-900); }
.product-card h3 { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; margin-bottom: .75rem; transition: .2s; }
.product-card:hover h3 { color: var(--blue-700); }
.product-card p { font-size: .875rem; color: var(--gray-600); margin-bottom: 1rem; }
.product-card .arrow { opacity: 0; transition: .2s; }
.product-card:hover .arrow { opacity: 1; }
.process-card { border-top: 1px solid var(--blue-700); padding-top: 2rem; }
.process-num { font-family: var(--serif); font-weight: 700; font-size: 2.25rem; color: var(--blue-400); display: block; margin-bottom: 1rem; }
.process-card h3 { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; margin-bottom: .75rem; color: var(--white); }
.process-card p { font-size: .875rem; color: var(--blue-200); }
.review-card { border-top: 1px solid var(--gray-200); padding-top: 2rem; }
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; letter-spacing: .15em; }
.review-card p { font-size: .9rem; color: var(--gray-600); margin-bottom: 1.5rem; }
.review-name { font-family: var(--serif); font-weight: 700; color: var(--blue-900) !important; margin-bottom: 0 !important; }

/* ---------- product page components ---------- */
.feature-list { display: flex; flex-direction: column; gap: 2rem; }
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.check { color: var(--blue-900); font-weight: 700; flex-shrink: 0; margin-top: .1rem; }
.check-lg { font-size: 1.2rem; }
.feature-item h3 { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; margin-bottom: .25rem; }
.feature-item p { font-size: .875rem; color: var(--gray-600); }

/* ---------- service page components ---------- */
.key-box { background: var(--blue-50); border: 1px solid var(--gray-200); border-radius: .65rem; padding: 2rem; }
.key-box h3 { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; margin-bottom: 1.5rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.check-list li { display: flex; gap: .75rem; color: var(--gray-600); }
.benefit-row { display: flex; gap: 1rem; align-items: flex-start; }
.benefit-row p { font-size: 1.05rem; color: var(--gray-600); }
.steps-row { position: relative; }
.step-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: .65rem; padding: 1.5rem; height: 100%; }
.step-num { font-family: var(--serif); font-weight: 700; font-size: 2.25rem; color: var(--blue-900); margin-bottom: 1rem; }
.step-card h3 { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; margin-bottom: .5rem; }
.step-card p { font-size: .85rem; color: var(--gray-600); }
.card { background: var(--white); border: 1px solid var(--gray-200); border-radius: .65rem; padding: 2rem; }
.card-pad { padding: 1.75rem; }
.card-title { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin-bottom: .75rem; }
.card p { color: var(--gray-600); }
.faq-list { display: flex; flex-direction: column; gap: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--gray-200); padding-bottom: 1.5rem; }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; margin-bottom: .75rem; }
.faq-item p { color: var(--gray-600); }
.cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- contact ---------- */
.contact-card h3 { font-family: var(--serif); font-weight: 700; margin-bottom: .25rem; }
.contact-card .muted { font-size: .875rem; margin-bottom: 1rem; }
.contact-card a, .contact-strong { color: var(--blue-800); font-weight: 700; word-break: break-word; }
.contact-card a:hover { color: var(--blue-700); }

/* ---------- resources ---------- */
.article-grid { gap: 2rem; }
.article-card { display: block; border: 1px solid var(--gray-200); border-radius: .65rem; padding: 2rem; transition: .3s; height: 100%; }
.article-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,.08); border-color: var(--blue-200); }
.article-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: .875rem; }
.pill { background: var(--blue-50); color: var(--blue-900); padding: .25rem .85rem; border-radius: 999px; font-weight: 500; font-size: .85rem; }
.article-card h3 { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; margin-bottom: .75rem; transition: .2s; }
.article-card:hover h3 { color: var(--blue-700); }
.article-card p { color: var(--gray-600); margin-bottom: 1.5rem; }
.read-more { color: var(--blue-900); font-weight: 500; }
.article-card:hover .read-more { color: var(--blue-700); }
.table-wrap { overflow-x: auto; border: 1px solid var(--gray-200); border-radius: .65rem; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 600px; }
.compare-table th { background: var(--blue-900); color: var(--white); padding: 1rem 1.5rem; text-align: left; font-weight: 600; }
.compare-table th + th, .compare-table td + td { text-align: center; }
.compare-table td { padding: 1rem 1.5rem; border-bottom: 1px solid var(--gray-100); color: var(--gray-500); }
.compare-table td:first-child { color: var(--blue-900); font-weight: 500; }
.compare-table tr:nth-child(even) td { background: rgba(249,250,251,.5); }
.compare-table .good { color: var(--green); font-weight: 700; }
.faq-cat { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin: 2rem 0 1rem; }
.faq-acc { border: 1px solid var(--gray-200); border-radius: .5rem; margin-bottom: .75rem; overflow: hidden; }
.faq-acc summary { padding: 1.25rem; cursor: pointer; font-weight: 500; list-style: none; position: relative; padding-right: 3rem; }
.faq-acc summary::-webkit-details-marker { display: none; }
.faq-acc summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--gray-400); }
.faq-acc[open] summary::after { content: "\2013"; }
.faq-acc p { padding: 0 1.25rem 1.25rem; color: var(--gray-600); }

/* ---------- articles ---------- */
.article-header { background: linear-gradient(to right, var(--blue-900), var(--blue-800)); color: var(--white); padding: 4rem 0; }
.back-link { color: var(--blue-100); display: inline-block; margin-bottom: 1rem; }
.back-link:hover { color: var(--white); }
.article-header h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.2; margin-bottom: 1rem; }
.article-meta-line { color: var(--blue-100); }
.article-body { max-width: 46rem; }
.article-body h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2rem); margin: 3rem 0 1.5rem; }
.article-body h3 { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; margin: 2rem 0 1rem; }
.article-body p { font-size: 1.1rem; margin-bottom: 1.5rem; }
.article-body ul, .article-body ol { margin: 0 0 1.5rem 1.5rem; font-size: 1.1rem; }
.article-body li { margin-bottom: .75rem; }
.article-body strong { font-weight: 700; }
.article-body blockquote { border-left: 4px solid var(--blue-900); padding-left: 1.5rem; margin: 2rem 0; color: var(--gray-600); font-style: italic; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.article-body th, .article-body td { border: 1px solid var(--gray-200); padding: .75rem; text-align: left; }
.article-body th { background: var(--blue-50); }

/* ---------- forms ---------- */
.app-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: .5rem; }
.form-field label { font-size: .9rem; font-weight: 500; }
.form-field input, .form-field textarea { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: .4rem; padding: .7rem .9rem; font-family: var(--sans); font-size: 1rem; color: var(--blue-900); }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--blue-900); outline-offset: 1px; }
.form-field textarea { min-height: 6rem; resize: vertical; }

/* ---------- footer ---------- */
.site-footer { background: var(--blue-900); color: var(--white); padding: 4rem 0; }
.footer-brand { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; margin-bottom: 1rem; }
.footer-desc { color: var(--blue-200); max-width: 48rem; }
.footer-top { margin-bottom: 3rem; }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-grid h4 { font-family: var(--serif); font-weight: 700; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-grid a { font-size: .875rem; color: var(--blue-200); }
.footer-grid a:hover { color: var(--white); }
.newsletter-form { display: flex; flex-direction: column; gap: .5rem; max-width: 18rem; }
.newsletter-form input[type="email"] { background: var(--blue-800); border: 1px solid var(--blue-700); border-radius: .4rem; padding: .6rem .8rem; color: var(--white); font-family: var(--sans); font-size: .875rem; }
.newsletter-form input::placeholder { color: var(--blue-300); }
.footer-bottom { border-top: 1px solid var(--blue-800); padding-top: 2rem; text-align: center; font-size: .875rem; color: var(--blue-300); }

/* ---------- accessibility & motion ---------- */
:focus-visible { outline: 2px solid var(--blue-700); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }

.article-cta-box { margin-top: 3rem; padding: 2rem; background: var(--blue-50); border: 1px solid var(--blue-200); border-radius: .65rem; }
.article-cta-box h3 { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; margin: 0 0 1rem !important; }
.article-cta-box p { margin-bottom: 1.5rem !important; }

/* ---------- scroll-scrub hero (Apple-style) ---------- */
.scrub-hero { position: relative; height: 320vh; background: var(--blue-950); }
.scrub-sticky { position: sticky; top: 0; height: 100vh; min-height: 600px; overflow: hidden; display: flex; align-items: flex-end; }
.scrub-sticky video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--blue-950) url('/images/hero-home.jpg') center/cover; }
.scrub-hero .hero-content { padding-bottom: 4rem; transition: opacity .15s linear; }
.scroll-hint { position: absolute; bottom: 1.25rem; right: 1.5rem; z-index: 3; color: rgba(255,255,255,.8); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; text-align: center; line-height: 1.6; animation: hint-bob 2s ease-in-out infinite; }
@keyframes hint-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
/* Fallback when video missing, reduced motion, or touch loop */
.scrub-hero.scrub-static { height: 100vh; min-height: 600px; max-height: 900px; }
@media (prefers-reduced-motion: reduce) { .scroll-hint { animation: none; } }

/* ---------- premium polish ---------- */
svg.check { color: var(--blue-900); flex-shrink: 0; margin-top: .1rem; }
.mission-icon svg { color: var(--blue-900); }
.mission-card { transition: border-color .3s; }
.mission-card:hover { border-color: var(--gold); }
.product-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(23,37,84,.10); }
.article-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.article-card:hover { transform: translateY(-4px); }
.btn-hero .arrow, .product-card .arrow { transition: transform .25s ease, opacity .2s; }
.btn-hero:hover .arrow { transform: translate(3px,-3px); }
.product-card:hover .arrow { transform: translate(3px,-3px); }
.welcome-img img { transition: transform 6s ease; }
.welcome-img:hover img { transform: scale(1.04); }
.stat-num { color: var(--blue-900); }
.stats-grid > div { border-left: 2px solid var(--gold); padding-left: 1.5rem; }
.review-card p:first-of-type { font-style: normal; }
.review-name::before { content: "\2014\00a0"; color: var(--gold); }
.footer-brand::after { content: ""; display: block; width: 3rem; height: 2px; background: var(--gold); margin-top: .75rem; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.related-links { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.related-links .eyebrow { margin: 0 1rem 0 0; }

/* ---------- left-anchored heroes (all pages) ---------- */
.hero-content, .hero-gradient .container, .article-header .container { text-align: left; }
.hero-content { margin-left: 0; max-width: 44rem; }
.hero-home .hero-content, .hero-product .hero-content { align-self: flex-end; width: 100%; max-width: 1240px; margin: 0 auto; }
.hero-title, .hero-title-serif, .hero-sub, .hero-sub-sans, .hero-sub-serif { text-align: left; }
.hero-ctas { justify-content: flex-start; }

/* ---------- readability & premium polish ---------- */
.trust-strip { background: var(--blue-950); color: var(--blue-200); }
.trust-inner { display: flex; align-items: center; justify-content: flex-start; gap: 1.25rem; flex-wrap: wrap; padding-top: 1rem; padding-bottom: 1rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.trust-strip .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.h2 { letter-spacing: .02em; }
.body-copy p { max-width: 62ch; }
.lede { max-width: 65ch; }
.center .lede, .center.container .lede, .center .h2, .center .h2-plain { margin-left: auto; margin-right: auto; }
section.center .lede { margin-left: auto; margin-right: auto; }
.article-body > p:first-child { font-size: 1.2rem; line-height: 1.7; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.build-tag { opacity: .35; font-size: .7rem; margin-left: .75rem; }
.faq-acc summary { font-weight: 600; }
@media (max-width: 640px) { .hero-home { min-height: 540px; } .trust-inner { gap: .75rem; font-size: .7rem; } }

/* ---------- ambient hero video ---------- */
.hero-media { background: var(--blue-950) url('/images/hero-home.jpg') center/cover no-repeat; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .hero-media video { display: none; } }
/* ---------- footer (institutional) ---------- */
.footer-grid-4 { grid-template-columns: 1fr; }
@media (min-width: 900px) { .footer-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.footer-plain { font-size: .875rem; color: var(--blue-200); }
.footer-entity { border-top: 1px solid var(--blue-800); padding-top: 1.5rem; text-align: center; font-size: .8rem; letter-spacing: .06em; color: var(--blue-300); margin-bottom: 1rem; }
.footer-bottom { border-top: 0; padding-top: 0; }
.footer-bottom a { color: var(--blue-300); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- application page ---------- */
.tab-radio { position: absolute; opacity: 0; pointer-events: none; }
.tab-labels { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 2rem; }
.tab-label { display: block; text-align: center; padding: 1rem; border: 1px solid var(--gray-200); border-radius: .5rem; cursor: pointer; font-weight: 600; color: var(--gray-500); background: var(--white); transition: .2s; }
.tab-label:hover { border-color: var(--blue-900); color: var(--blue-900); }
#tab-standard:checked ~ .tab-labels label[for="tab-standard"],
#tab-construction:checked ~ .tab-labels label[for="tab-construction"] { background: var(--blue-900); border-color: var(--blue-900); color: var(--white); }
.tab-panel { display: none; }
#tab-standard:checked ~ .panel-standard, #tab-construction:checked ~ .panel-construction { display: block; }
.tab-intro { color: var(--gray-500); margin-bottom: 1.5rem; font-size: .95rem; }
.form-section { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--blue-900); padding-bottom: .5rem; border-bottom: 2px solid var(--gold); margin-top: .5rem; }
.security-block { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: .5rem; padding: 1.25rem; display: flex; flex-direction: column; gap: 1.25rem; }
.security-label { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.form-note { font-size: .8rem; color: var(--gray-500); }
.form-note a { color: var(--blue-800); text-decoration: underline; text-underline-offset: 2px; }
.form-field select { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: .4rem; padding: .7rem .9rem; font-family: var(--sans); font-size: 1rem; color: var(--blue-900); }
.form-field select:focus { outline: 2px solid var(--blue-900); outline-offset: 1px; }
@media (max-width: 560px) { .tab-labels { grid-template-columns: 1fr; } }

/* ---------- uploads & netlify honeypot ---------- */
.hidden-field { display: none; }
.upload-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .upload-grid { grid-template-columns: 1fr 1fr; } }
.upload-intro { margin-bottom: .5rem; }
.form-field input[type="file"] { background: var(--gray-50); border: 1px dashed var(--gray-300); border-radius: .4rem; padding: .7rem .9rem; font-family: var(--sans); font-size: .875rem; color: var(--gray-600); cursor: pointer; }
.form-field input[type="file"]:hover { border-color: var(--blue-900); }
.form-field input[type="file"]::file-selector-button { background: var(--blue-900); color: var(--white); border: 0; border-radius: .3rem; padding: .4rem .9rem; margin-right: .75rem; font-family: var(--sans); font-size: .8rem; cursor: pointer; }
.form-field input[type="file"]::file-selector-button:hover { background: var(--blue-800); }
