/* MASD / Forge — V2 refinement layer.
   Preserve the approved structure and navy/gold identity of V1.
   Local demo only: no CMS or production dependencies. */
:root {
  --navy: #092b43;
  --navy-deep: #061f32;
  --text: #0b2d45;
  --muted: #465e70;
  --gold: #c88729;
  --gold-dark: #93520f;
  --gold-pale: #fbf0de;
  --line: #e0e7ed;
  --cream: #faf5ee;
  --ice: #eff4f7;
  --shadow: 0 14px 38px rgba(6, 35, 56, .065);
}
html { scroll-padding-top: 94px; }
body { color: var(--text); }
a, button { touch-action: manipulation; }
h1,h2,h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h2 { line-height: 1.19; }
:focus-visible { outline: 3px solid #bf751c; outline-offset: 4px; border-radius: 3px; }
.eyebrow { color: #455e70; font-size: 11px; letter-spacing: .19em; }
.text-link { color: var(--gold-dark); font-size: 14px; min-height: 36px; align-items: center; }
.text-link:hover { color: #683a0b; text-decoration-thickness: 2px; }
.btn { min-height: 48px; font-size: 14px; }
.btn-gold { background: #92520f; color: #fff; }
.btn-gold:hover { background: #76420b; }
.header-cta { font-size: 12px; }
.site-header { box-shadow: 0 3px 18px rgba(12, 43, 65, .028); }
.main-nav .nav-link { font-size: 12px; }
.hero {
  background: linear-gradient(115deg, #fff 0%, #fff 44%, #f5f8fa 100%);
}
.hero-copy { max-width: 635px; }
.hero h1 { font-size: clamp(46px, 4.25vw, 65px); line-height: 1.07; }
.hero-lede { color: #465e70; line-height: 1.75; }
.hero-fact strong { font-size: 14px; }
.hero-fact span { font-size: 12px; color: #4a6272; }
.hero-keywords {
  color: #153e57;
  letter-spacing: .16em;
  background: rgba(255,255,255,.48);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 6px;
  padding: 17px 15px;
  box-shadow: 0 4px 24px rgba(4,35,55,.04);
  text-shadow: none;
}
.hero-visual img { filter: brightness(1.08) saturate(.94); }
.hero-visual-shade { background: linear-gradient(90deg, rgba(251,253,254,.04), transparent 50%); }
.section-heading.centered { margin-bottom: 42px; }
.heading-rule { width: 54px; }
.expertise-card {
  min-height: 210px;
  border: 1px solid #dfe8ee;
  box-shadow: 0 12px 36px rgba(6,35,56,.047);
}
.expertise-card > img { min-height: 210px; }
.expertise-body { padding-block: 26px 22px; }
.expertise-body h3 { font-size: 20px; }
.expertise-body p { color: #4c6576; font-size: 14px; line-height: 1.6; }
.expertise-body .text-link { font-size: 13px; }
.lever-card {
  min-height: 242px;
  padding-top: 27px;
  background: #fbfcfd;
  border: 1px solid #dce5eb;
  box-shadow: none;
}
.lever-card:hover, .lever-card:focus-within {
  transform: none;
  border-color: #b7cbd7;
  box-shadow: 0 9px 23px rgba(6, 35, 56, .047);
}
.lever-card h3 { font-size: 18px; }
.lever-card p { font-size: 13px; line-height: 1.62; color: #415b6d; }
.training-card { border: 1px solid #eadfd2; min-height: 160px; }
.training-card h3 { font-size: 18px; }
.training-card p { font-size: 13px; color: #495e6b; }
.section-note { font-size: 12px; color: #61564c; }
.method-copy > p:not(.eyebrow) { color: #465d6e; }
.steps strong { font-size: 15px; }
.steps li div > span { color: #4c6575; font-size: 12px; }
.method-quote p { color: #425d70; font-size: 13px; }
.founder-subtitle { color: #485f72; }
.founder-copy > p:last-child { color: #445e71; font-size: 15px; }
.founder-highlights p { color: #435b6b; font-size: 14px; }
.section-aside { color: #526675; font-size: 12px; }
.reference-card .card-kicker { color: #526779; font-size: 10px; }
.reference-featured .card-kicker { color: #cfdae3; }
.reference-card p:not(.card-kicker) { color: #4d6375; font-size: 13px; }
.reference-featured p:not(.card-kicker) { color: #fff; }
.reference-card .card-status, .blog-card span { color: var(--gold-dark); }
.reference-featured .card-status { color: #f0bb70; }
.blog-meta { color: #475f70; font-size: 11px; }
.blog-card h3 { font-size: 17px; }
.blog-card p:not(.blog-meta) { color: #476173; font-size: 13px; }
.blog-card span { font-size: 12px; }
.footer-nav a { color: #dae5ed; font-size: 12px; }
.footer-brand > p { color: #d2e1eb; font-size: 13px; }
.footer-location span, .footer-bottom { color: #b2c4d2; font-size: 12px; }
.footer-location strong { color: #e6eff4; }
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 45;
  display: inline-grid;
  place-items: center;
  border: 1px solid #c2d2dc;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 5px 19px rgba(2, 30, 48, .14);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background-color .2s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #f1f6f9; }
.back-to-top .icon { width: 20px; height: 20px; transform: rotate(-90deg); }
@media (max-width: 1200px) {
  .hero h1 { font-size: clamp(43px, 4.25vw, 57px); }
  .expertise-body h3 { font-size: 18px; }
  .lever-card { padding-inline: 15px; }
  .lever-card h3 { font-size: 16px; }
  .lever-card p { font-size: 12px; }
  .method-copy { width: 70%; }
  .steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .steps li::after { display:none; }
  .method-quote { right: 24px; bottom: 26px; width: 230px; }
}
@media (max-width: 1000px) {
  .hero h1 { font-size: clamp(42px,4.65vw,50px); }
  .hero-facts { margin-top: 36px; }
  .method-copy { width: 75%; }
  .method-quote { width: 195px; }
  .training-card h3 { font-size: 16px; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 75px; }
  .hero-grid { width: calc(100% - 38px); }
  .hero-copy { padding-block: 45px 32px; }
  .hero h1 { font-size: clamp(36px,7vw,49px); }
  .hero-keywords { font-size: 9px; gap: 18px; padding: 12px; }
  .hero-lede { font-size: 15px; line-height: 1.68; }
  .hero-facts { margin-top: 30px; }
  .expertise-body p { font-size: 13px; }
  .expertise-body h3 { font-size: 17px; }
  .levers-grid { gap: 12px; }
  .lever-card { min-height: 215px; }
  .lever-card h3 { font-size: 17px; }
  .lever-card p { font-size: 13px; }
  .method-copy { width: 100%; }
  .reference-card > div, .blog-card > div { min-height: 220px; }
  .method-quote { width: 240px; bottom: 20px; right: 20px; }
  .back-to-top { bottom: 15px; right: 15px; width: 44px; height: 44px; }
}
@media (max-width: 430px) {
  .hero h1 { font-size: 37px; }
  .hero-fact strong { font-size: 12px; }
  .hero-fact span { font-size: 11px; }
  .hero-actions .btn { font-size: 13px; }
  .lever-card h3 { font-size: 16px; }
  .lever-card p { font-size: 12px; }
  .training-card h3 { font-size: 16px; }
  .blog-card h3, .reference-card h3 { font-size: 16px; }
  .blog-card p:not(.blog-meta), .reference-card p:not(.card-kicker) { font-size: 12px; }
  .hero-keywords { top: 24%; }
}
@media (max-width: 359px) {
  .hero h1 { font-size: 34px; }
  .hero-actions .btn { font-size: 12px; }
  .levers-grid { grid-template-columns: 1fr; }
  .lever-card { min-height: unset; }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; transform: none; }
}
