:root {
  --navy: #142238;
  --navy-deep: #07111f;
  --navy-soft: #20314a;
  --gold: #c6a55f;
  --gold-bright: #e0c47f;
  --ink: #142033;
  --slate: #5c6675;
  --line: #d9d6cf;
  --mist: #eeece7;
  --paper: #f7f5f0;
  --white: #fff;
  --danger: #9f2f2a;
  --display: "Bodoni 72", Didot, "Iowan Old Style", Georgia, serif;
  --sans: "Avenir Next", Avenir, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nav-font: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  --shadow: 0 18px 50px rgba(7, 17, 31, .08);
  --transition: 200ms cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
::selection { color: var(--navy-deep); background: var(--gold); }

.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(900px, calc(100% - 48px)); }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; color: var(--navy-deep); background: var(--gold); font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: rgba(20, 34, 56, .985);
  border-bottom: 1px solid rgba(198, 165, 95, .25);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.is-scrolled { background: rgba(10, 22, 38, .99); box-shadow: 0 12px 36px rgba(0, 6, 16, .22); }
.nav-wrap { display: grid; grid-template-columns: 218px 1fr auto; align-items: center; gap: 32px; min-height: 76px; }
.brand { width: 218px; text-decoration: none; }
.brand img { width: 100%; height: 58px; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; justify-content: flex-end; align-items: center; gap: 26px; }
.primary-nav a {
  position: relative;
  padding: 29px 0 27px;
  color: rgba(255,255,255,.72);
  font-family: var(--nav-font);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .115em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 1px; background: var(--gold); transition: right var(--transition); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--white); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { right: 0; }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  color: var(--navy-deep);
  background: var(--gold);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}
.nav-cta::after, .button::after { content: "↗"; font-size: .9rem; }
.nav-cta:hover, .button-primary:hover { background: var(--gold-bright); transform: translateY(-1px); }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 1px solid rgba(255,255,255,.2); color: var(--white); background: transparent; }
.nav-toggle span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: currentColor; }

.hero { position: relative; min-height: 640px; overflow: hidden; color: var(--white); background: var(--navy-deep); }
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,13,24,.98) 0%, rgba(5,13,24,.91) 46%, rgba(5,13,24,.45) 100%),
    url("../assets/custom-manufacturing.webp") 68% center / cover;
  filter: saturate(.7) contrast(1.08);
}
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 72px 72px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 255px; gap: 48px; align-items: end; min-height: 640px; padding: 82px 0 54px; }
.hero-copy { max-width: 720px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: #a78545; font-size: .62rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: 0 0 32px; height: 1px; background: currentColor; }
.hero .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow { color: var(--gold-bright); }
.hero h1, .page-hero h1 { margin: 0; max-width: 900px; font-family: var(--display); font-size: clamp(3.4rem, 4.7vw, 4.55rem); font-weight: 400; letter-spacing: -.04em; line-height: .95; }
.hero h1 span, .hero h1 em { display: block; padding: 0 !important; }
.hero h1 em { margin-top: .06em; color: var(--gold-bright); font-style: normal; }
.hero-lede, .page-hero p:not(.eyebrow) { max-width: 620px; margin: 22px 0 0; color: rgba(255,255,255,.68); font-size: 1rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button-secondary { color: var(--white); background: transparent; border-color: rgba(255,255,255,.32); }
.button-secondary:hover { color: var(--navy-deep); background: var(--white); border-color: var(--white); }
.trust-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.trust-row span { position: relative; padding-left: 13px; color: rgba(255,255,255,.62); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.trust-row span::before { content: ""; position: absolute; left: 0; top: .55em; width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }
.hero-panel { padding: 24px; background: rgba(20,34,56,.76); border-top: 2px solid var(--gold); box-shadow: var(--shadow); }
.hero-panel strong { display: block; margin-bottom: 12px; color: var(--gold-bright); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; }
.hero-panel p { margin: 0 0 10px; color: rgba(255,255,255,.65); font-size: .82rem; }
.hero-panel a { display: block; margin-top: 5px; color: var(--white); font-size: .8rem; text-decoration: none; }

.section { position: relative; padding: 72px 0; }
.section-tight { padding: 0; }
.section-muted { background: var(--mist); }
.section-dark { color: var(--white); background: var(--navy-deep); }
.section-heading { max-width: 760px; margin-bottom: 32px; }
h2 { margin: 0 0 14px; color: var(--navy); font-family: var(--display); font-size: clamp(2.25rem, 4vw, 3.7rem); font-weight: 400; letter-spacing: -.035em; line-height: .98; }
h3 { margin: 0 0 9px; color: var(--navy); font-size: .8rem; font-weight: 900; letter-spacing: .13em; line-height: 1.35; text-transform: uppercase; }
p { margin: 0 0 .85em; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: start; }
.split > p, .split > div > p:not(.eyebrow) { color: var(--slate); font-size: .96rem; }
.section-dark .split > p { color: rgba(255,255,255,.68); }
.metric-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy); border-bottom: 2px solid var(--gold); }
.metric-strip > div { min-height: 124px; padding: 25px 28px; border-right: 1px solid rgba(255,255,255,.12); }
.metric-strip > div:last-child { border-right: 0; }
.metric { display: block; margin-bottom: 9px; color: var(--gold); font-family: var(--display); font-size: 1.8rem; line-height: 1; }
.metric-strip p { margin: 0; color: rgba(255,255,255,.68); font-size: .82rem; line-height: 1.55; }

.card-grid, .capability-grid, .industry-grid { display: grid; gap: 18px; }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.service-card, .feature-box, .capability-grid article, .contact-card, .quote-form { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.service-card { overflow: hidden; transition: transform var(--transition), border-color var(--transition); }
.service-card:hover { transform: translateY(-3px); border-color: rgba(198,165,95,.75); }
.service-card img { width: 100%; height: 205px; object-fit: cover; filter: saturate(.68) contrast(1.08); }
.service-card > div { padding: 23px 24px 25px; }
.service-card p { margin: 0; color: var(--slate); font-size: .86rem; }
.capabilities-band { display: grid; grid-template-columns: .88fr 1.12fr; gap: 54px; align-items: start; padding: 42px; background: var(--white); border: 1px solid var(--line); border-left: 2px solid var(--gold); box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 0 0 11px 25px; margin-bottom: 11px; border-bottom: 1px solid var(--line); }
.check-list li:last-child { margin: 0; border: 0; }
.check-list li::before { content: ""; position: absolute; left: 1px; top: .48em; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.industry-grid { grid-template-columns: repeat(3, 1fr); }
.audience-section { padding: 82px 0 0; }
.audience-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 72px; align-items: end; padding-bottom: 58px; }
.audience-layout .section-heading { margin: 0; }
.industry-grid { grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid rgba(198,165,95,.26); }
.industry-grid span { display: flex; align-items: center; min-height: 58px; padding: 0 18px; border-bottom: 1px solid rgba(198,165,95,.26); color: rgba(255,255,255,.72); font-size: .64rem; font-weight: 600; letter-spacing: .105em; text-transform: uppercase; }
.industry-grid span:nth-child(odd) { border-right: 1px solid rgba(198,165,95,.26); }
.audience-rfq { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; padding: 34px 0 38px; border-top: 1px solid rgba(255,255,255,.14); }
.audience-rfq .eyebrow { margin-bottom: 8px; }
.audience-rfq h2 { margin: 0 0 7px; color: var(--white); font-size: clamp(1.9rem, 3vw, 2.75rem); }
.audience-rfq p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.58); font-size: .86rem; }
.button-outline-gold { color: var(--gold-bright); background: transparent; border-color: rgba(224,196,127,.58); }
.button-outline-gold:hover { color: var(--navy-deep); background: var(--gold-bright); border-color: var(--gold-bright); transform: translateY(-1px); }
.rfq-section { background: var(--mist); }
.contact-cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; padding: 38px 42px; color: var(--white); background: var(--navy); border-left: 2px solid var(--gold); }
.contact-cta h2 { color: var(--white); }
.contact-cta p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.66); }

.page-hero { position: relative; overflow: hidden; padding: 86px 0 64px; color: var(--white); background: linear-gradient(115deg, rgba(7,17,31,.98), rgba(20,34,56,.78)), url("../assets/custom-manufacturing.webp") center / cover; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 880px; font-size: clamp(3rem, 5.4vw, 4.9rem); }
.page-hero-image { background: linear-gradient(100deg, rgba(7,17,31,.98), rgba(20,34,56,.7)), url("../assets/bolts-fasteners.webp") center / cover; }
.capability-grid { grid-template-columns: repeat(4, 1fr); }
.capability-grid article { padding: 26px 23px; border-top: 2px solid var(--gold); }
.capability-grid article > span { display: block; margin-bottom: 25px; color: var(--gold); font-family: var(--display); font-size: 1.55rem; }
.capability-grid article h2 { font-family: var(--sans); font-size: .8rem; font-weight: 900; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.capability-grid article p { margin: 0; color: var(--slate); font-size: .83rem; }
.feature-box { padding: 30px; border-left: 2px solid var(--gold); }

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: start; }
.quote-form, .contact-card { padding: 34px; }
.form-intro, .muted, .legal-copy p { color: var(--slate); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { display: grid; gap: 7px; margin-top: 12px; color: var(--navy); font-size: .62rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.quote-form .full { grid-column: 1 / -1; }
input, select, textarea { width: 100%; min-height: 46px; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid #cfd2d7; border-radius: 0; }
textarea { min-height: 118px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,165,95,.15); }
.quote-form .button { margin-top: 20px; }
.form-note { margin-top: 13px; color: var(--slate); font-size: .74rem; }
.contact-card { position: sticky; top: 94px; color: rgba(255,255,255,.68); background: var(--navy); border-color: var(--navy); border-left: 2px solid var(--gold); }
.contact-card h2, .contact-card strong { color: var(--white); }
.contact-card a { display: block; width: fit-content; margin: 5px 0; color: var(--white); text-decoration-color: rgba(198,165,95,.7); }
.contact-detail-group { margin-top: 20px; }
.notice { margin-top: 22px; padding: 16px; border: 1px solid rgba(198,165,95,.3); background: rgba(7,17,31,.28); }
.notice p { margin: 6px 0 0; font-size: .78rem; }
.location-maps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.location-map { overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.location-map > div { padding: 15px 18px; }
.location-map span { display: block; color: #8a713d; font-size: .58rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.location-map strong { font-size: .78rem; }
.location-map iframe { display: block; width: 100%; height: 265px; border: 0; filter: grayscale(.75) contrast(1.05); }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 8px; color: var(--navy); font-size: .65rem; font-weight: 900; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.text-link::after { content: "→"; color: var(--gold); }
.legal-copy h2 { margin: 28px 0 8px; font-family: var(--sans); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.legal-copy h2:first-child { margin-top: 0; }

.site-footer { position: relative; padding: 48px 0 20px; color: rgba(255,255,255,.62); background: #060f1b; border-top: 1px solid rgba(198,165,95,.35); }
.footer-grid { display: grid; grid-template-columns: 1.05fr 1.15fr .55fr; gap: 54px; }
.footer-logo { width: 235px; height: 62px; margin-bottom: 14px; object-fit: contain; object-position: left center; }
.site-footer h2 { margin: 0 0 16px; color: var(--gold); font-family: var(--sans); font-size: .6rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.site-footer p { margin-bottom: 13px; font-size: .78rem; line-height: 1.55; }
.site-footer strong { color: rgba(255,255,255,.84); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer a { display: block; width: fit-content; margin: 6px 0; color: rgba(255,255,255,.76); font-size: .76rem; text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); }
.badge { display: inline-flex; min-height: 28px; align-items: center; padding: 0 9px; border: 1px solid rgba(198,165,95,.4); color: var(--gold); font-size: .58rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 34px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom small { max-width: 620px; font-size: .66rem; }

[data-reveal] { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .nav-wrap { grid-template-columns: 205px 1fr auto; gap: 20px; }
  .brand { width: 205px; }
  .primary-nav { gap: 17px; }
  .nav-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container, .narrow { width: min(100% - 32px, 1160px); }
  .nav-wrap { grid-template-columns: 1fr auto; min-height: 70px; }
  .brand { width: 190px; }
  .brand img { height: 54px; }
  .nav-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; min-height: calc(100vh - 70px); padding: 18px 16px 38px; background: rgba(7,17,31,.995); }
  .primary-nav.is-open { display: grid; align-content: start; gap: 0; }
  .primary-nav a { padding: 17px 4px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .72rem; letter-spacing: .105em; }
  .primary-nav a::after { display: none; }
  .hero, .hero-grid { min-height: 580px; }
  .hero-grid { padding: 66px 0 42px; }
  .hero h1, .page-hero h1 { font-size: clamp(3rem, 13vw, 4.4rem); }
  .hero-lede, .page-hero p:not(.eyebrow) { font-size: .92rem; }
  .metric-strip, .card-grid, .split, .capabilities-band, .industry-grid, .audience-layout, .contact-grid, .footer-grid, .location-maps { grid-template-columns: 1fr; }
  .metric-strip > div { min-height: auto; padding: 18px 22px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .section { padding: 52px 0; }
  .section-heading { margin-bottom: 24px; }
  .split { gap: 28px; }
  .capabilities-band { gap: 28px; padding: 28px 24px; }
  .contact-cta { grid-template-columns: 1fr; gap: 24px; padding: 30px 26px; }
  .audience-section { padding-top: 58px; }
  .audience-layout { gap: 30px; padding-bottom: 40px; }
  .industry-grid span:nth-child(odd) { border-right: 0; }
  .audience-rfq { grid-template-columns: 1fr; gap: 22px; padding: 30px 0 34px; }
  .audience-rfq .button { width: fit-content; }
  .page-hero { padding: 64px 0 48px; }
  .contact-card { position: static; }
  .footer-grid { gap: 32px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .trust-row { display: grid; gap: 8px; }
  .service-card img { height: 185px; }
  .capability-grid, .form-grid { grid-template-columns: 1fr; }
  .quote-form .full { grid-column: auto; }
  .quote-form, .contact-card, .feature-box { padding: 25px 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
