:root {
  --ink: #1a2028;
  --navy: #0d223b;
  --navy-light: #173b5f;
  --gold: #e5b62d;
  --paper: #f5f4f0;
  --line: #d9dce0;
  --muted: #657180;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -50px; z-index: 10; padding: 9px 13px; border-radius: 6px; background: var(--gold); font-weight: 800; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 5; color: white; background: rgba(13,34,59,.96); border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-logo { width: 58px; height: 58px; flex: 0 0 auto; object-fit: contain; }
.brand-logo-small { width: 48px; height: 48px; }
.brand-copy { display: grid; gap: 3px; line-height: 1.05; }
.brand-copy strong { font-size: 14px; letter-spacing: .08em; }
.brand-copy em { color: var(--gold); font-style: normal; }
.brand-copy small { color: rgba(255,255,255,.58); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.brand-legal { color: rgba(229,182,45,.78); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.74); font-size: 13px; font-weight: 700; }
.site-nav a:not(.button) { padding-block: 27px; }
.site-nav a:not(.button):hover { color: var(--gold); }
.menu-toggle { display: none; border: 0; padding: 8px; color: white; background: transparent; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: white; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 5px; font-size: 13px; font-weight: 850; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.14); }
.button-small { min-height: 38px; padding-inline: 15px; font-size: 12px; }
.button-gold { color: var(--navy); background: var(--gold); }
.button-gold:hover { background: #f0c94d; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: white; font-size: 13px; font-weight: 800; }
.text-link:hover { color: var(--gold); }
.text-link-dark { color: var(--navy); }

.hero { overflow: hidden; padding-top: 0; color: white; background: var(--navy); }
.hero-copy { padding-block: 72px 92px; text-align: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero-copy .eyebrow { justify-content: center; }
.eyebrow > span { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: currentColor; }
.eyebrow-dark { color: var(--navy-light); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.045em; }
h1 { max-width: 850px; margin: 0 auto 23px; font-size: clamp(43px, 6.2vw, 78px); font-weight: 850; }
.hero-lede { max-width: 670px; margin: 0 auto 29px; color: rgba(255,255,255,.72); font-size: 17px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 25px; }
.bspec-banner { overflow: hidden; color: var(--navy); background: linear-gradient(90deg, #dcae20 0%, #f1c84a 50%, #dcae20 100%); border-top: 1px solid rgba(13,34,59,.2); border-bottom: 1px solid rgba(13,34,59,.3); }
.bspec-banner .container { display: flex; justify-content: center; }
.bspec-expansion { width: max-content; max-width: 100%; margin: 0; padding: 16px 0 17px; color: var(--navy); font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: clamp(18px, 2vw, 24px); font-weight: 800; letter-spacing: .12em; line-height: 1.15; text-align: center; text-transform: uppercase; white-space: nowrap; }
.bspec-expansion span { padding-inline: 6px; color: var(--navy-light); }
.hero-media-frame { position: relative; width: 100%; height: 56.28vw; min-height: 0; margin-top: 0; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.15); background: var(--navy) url("assets/bspec-hero-1280.webp") center / cover no-repeat; }
.hero-image { position: absolute; inset: 0; transform: translateY(var(--parallax-offset, 0px)); transition: transform .08s linear; }
.hero-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; filter: saturate(.96) contrast(1.03); }
.hero-image-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,34,59,.22), transparent 48%, rgba(13,34,59,.08)); }
.placeholder-content { position: relative; z-index: 1; display: grid; gap: 10px; width: min(640px, calc(100% - 48px)); padding: 40px; border: 1px dashed rgba(255,255,255,.55); text-align: center; background: rgba(13,34,59,.2); }
.placeholder-kicker { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.placeholder-content strong { font-size: clamp(22px, 3vw, 38px); letter-spacing: -.04em; }
.placeholder-content small { max-width: 480px; margin-inline: auto; color: rgba(255,255,255,.65); font-size: 12px; }
.placeholder-corner { position: absolute; right: 25px; bottom: 20px; color: rgba(255,255,255,.5); font-size: 10px; font-weight: 900; letter-spacing: .14em; }

.section { padding-block: 92px; }
.section-white { background: white; }
.section-soft { background: var(--paper); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 86px; align-items: center; }
h2 { margin-bottom: 20px; font-size: clamp(36px, 4.4vw, 58px); }
.lead-copy { max-width: 555px; color: #53606f; font-size: 18px; }
.body-copy { max-width: 550px; margin-bottom: 25px; color: var(--muted); font-size: 14px; }
.supporting-image { overflow: hidden; aspect-ratio: 1586 / 992; border-radius: 5px; background: #dfe6e8; }
.supporting-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.value-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 76px; padding-top: 24px; border-top: 1px solid var(--line); }
.value-row article { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.value-row article > span { color: var(--gold); font-size: 12px; font-weight: 900; }
.value-row h3 { margin-bottom: 8px; font-size: 20px; }
.value-row p { margin-bottom: 0; color: var(--muted); font-size: 13px; }

.section-heading { display: grid; grid-template-columns: 1fr .65fr; gap: 70px; align-items: end; margin-bottom: 43px; }
.section-heading h2 { margin-bottom: 0; }
.section-intro { max-width: 420px; margin-bottom: 3px; color: var(--muted); font-size: 15px; }
.service-list { border-top: 1px solid var(--line); }
.service-list article { display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.service-number { color: var(--gold); font-size: 12px; font-weight: 900; }
.service-list h3 { margin-bottom: 5px; font-size: 21px; }
.service-list p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.service-code { color: var(--navy-light); font-size: 11px; font-weight: 900; letter-spacing: .05em; white-space: nowrap; }

.process-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.process-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.process-list li { display: grid; grid-template-columns: 45px 1fr; gap: 17px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--gold); font-size: 12px; font-weight: 900; }
.process-list strong, .process-list small { display: block; }
.process-list strong { margin-bottom: 3px; font-size: 17px; }
.process-list small { color: var(--muted); font-size: 13px; }

.contact-section { color: white; background: var(--navy); }
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.contact-layout h2 { max-width: 560px; }
.contact-copy { max-width: 450px; color: rgba(255,255,255,.68); font-size: 15px; }
.contact-form { padding: 31px; border: 1px solid rgba(255,255,255,.16); border-radius: 5px; background: rgba(255,255,255,.06); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 17px; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; outline: none; color: white; background: rgba(0,0,0,.17); font-size: 13px; }
.contact-form option { color: var(--ink); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.39); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(229,182,45,.13); }
.contact-form textarea { resize: vertical; }
.form-status { margin: 14px 0 0; color: #bde3c8; font-size: 12px; }

.site-footer { padding-block: 28px 23px; color: rgba(255,255,255,.55); background: #071727; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-links { display: flex; flex-wrap: wrap; gap: 23px; font-size: 12px; font-weight: 700; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 18px; font-size: 10px; }
.footer-bottom p { max-width: 730px; margin-bottom: 0; }
.footer-bottom span { white-space: nowrap; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 8; padding: 12px 15px; border-radius: 4px; color: white; background: var(--navy); box-shadow: 0 12px 30px rgba(0,0,0,.2); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; font-size: 12px; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 820px) {
  .container { width: min(calc(100% - 34px), var(--max)); }
  .site-nav { gap: 15px; }
  .site-nav a:not(.button) { font-size: 12px; }
  .split-layout, .process-layout, .contact-layout { gap: 45px; }
  .section-heading { gap: 35px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 30px), var(--max)); }
  .nav-wrap { min-height: 68px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 8px); left: 15px; right: 15px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 5px; background: var(--navy); box-shadow: 0 15px 35px rgba(0,0,0,.22); }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.button) { padding: 12px; }
  .site-nav .button { margin-top: 7px; }
  .hero-media-frame { background-image: none; }
  .hero-copy { padding-block: 58px 72px; }
  .bspec-expansion { max-width: none; padding-block: 14px 15px; font-size: clamp(12px, 3.6vw, 16px); letter-spacing: 0; white-space: nowrap; }
  .bspec-expansion span { padding-inline: 2px; }
  .section { padding-block: 68px; }
  .split-layout, .process-layout, .contact-layout, .section-heading { grid-template-columns: 1fr; }
  .value-row { grid-template-columns: 1fr; gap: 22px; margin-top: 55px; }
  .service-list article { grid-template-columns: 33px 1fr; gap: 12px; }
  .service-code { grid-column: 2; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 22px; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom span { white-space: normal; }
}
