/* Buildtech Sourcing — site styles. Brand: navy #2A3890, gray #58595B, Calibri. */
:root {
  --navy: #2A3890;
  --navy-deep: #1B2566;
  --navy-ink: #141B4A;
  --gray: #58595B;
  --gray-light: #8A8B8D;
  --rule: #DADCE3;
  --paper: #FFFFFF;
  --tint: #F3F4F8;
  --concrete: #E9E8E4;
  --ink: #1E1F22;
  --accent: #C9A227;
  --radius: 4px;
  --wrap: 1160px;
  --font: Calibri, Carlito, "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy-ink); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: .9em;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
}
.lede { font-size: 1.2rem; color: var(--gray); max-width: 46em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 100; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }
.nav .btn { border-bottom: 0; color: #fff; }
.nav .btn:hover, .nav .btn[aria-current="page"] { color: #fff; border-bottom: 0; }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 8px 12px;
  font: inherit;
  color: var(--navy);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-line { background: transparent; color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background: var(--navy-ink);
  overflow: hidden;
}
.hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,27,74,.95) 0%, rgba(27,37,102,.75) 45%, rgba(27,37,102,.15) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 112px; padding-bottom: 112px; }
.hero h1 { color: #fff; max-width: 14em; }
.hero .lede { color: rgba(255,255,255,.88); max-width: 34em; }
.hero .eyebrow { color: rgba(255,255,255,.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.page-hero { background: var(--navy-ink); color: #fff; }
.page-hero .wrap { padding-top: 72px; padding-bottom: 64px; }
.page-hero h1 { color: #fff; }
.page-hero .lede { color: rgba(255,255,255,.85); }
.page-hero .eyebrow { color: rgba(255,255,255,.75); }

/* Sections */
.section { padding: 88px 0; }
.section.tint { background: var(--tint); }
.section.concrete { background: var(--concrete); }
.section-head { max-width: 44em; margin-bottom: 44px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; height: 100%; max-height: 460px; object-fit: cover; }

/* Proof strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stat { padding: 28px 24px; border-left: 1px solid var(--rule); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: 2.2rem; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.stat span { color: var(--gray); font-size: 1rem; }

/* Service list */
.offer-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.offer {
  padding: 30px 28px 30px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 16px;
}
.offer:nth-child(odd) { padding-right: 40px; }
.offer:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--rule); }
.offer .num { font-weight: 700; color: var(--accent); font-size: 1.05rem; padding-top: 2px; }
.offer h3 { margin-bottom: .3em; }
.offer p { color: var(--gray); margin: 0; }
.offer ul { margin: .6em 0 0; padding-left: 1.1em; color: var(--gray); }
.offer li { margin-bottom: .2em; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 28px;
}
.card p { color: var(--gray); margin-bottom: 0; }
.card .tag { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-light); margin-bottom: .6em; display: block; }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.person { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: start; }
.person img, .person .initials {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--navy);
}
.person .initials { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2.4rem; font-weight: 700; }
.person .role { color: var(--gray); font-weight: 600; margin-bottom: .6em; }

/* Case studies */
.case { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--rule); }
.case:first-child { border-top: 0; padding-top: 0; }
.case .meta .tag { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: .4em; }
.case .meta h2 { font-size: 1.45rem; }
.case p { color: var(--ink); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .2em; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }

/* Footer */
.site-footer { background: var(--navy-ink); color: rgba(255,255,255,.78); font-size: 1rem; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1em; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45em; }
.footer-tag { color: var(--accent); font-weight: 700; letter-spacing: .14em; font-size: .85rem; text-transform: uppercase; }
.legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 20px; font-size: .9rem; color: rgba(255,255,255,.6); }

/* Forms */
.form-wrap { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 36px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; color: var(--navy-ink); margin-bottom: 6px; font-size: 1rem; }
.field .req { color: #B42318; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #B9BCC6;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: #B42318; }
.field .help { color: var(--gray); font-size: .9rem; margin-top: 4px; }
.field .err { color: #B42318; font-size: .92rem; margin-top: 4px; min-height: 0; }
.form-error { color: #B42318; font-weight: 600; margin-bottom: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.skeleton { height: 18px; background: var(--tint); border-radius: var(--radius); margin-bottom: 18px; }
.thanks { padding: 12px 0; }
.thanks h3 { color: var(--navy); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.contact-list strong { display: block; color: var(--gray); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }

/* Partners */
.partner-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.partner { border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px 28px; background: #fff; }
.partner h3 { margin-bottom: .2em; }
.partner .kind { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: .6em; }
.partner p { color: var(--gray); margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .case { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .menu-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    border-bottom: 1px solid var(--rule);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin-top: 12px; text-align: center; }
  .brand img { height: 44px; }
  .site-header .wrap { min-height: 68px; position: relative; }
  .hero .wrap { padding-top: 72px; padding-bottom: 72px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--rule); }
  .stat:first-child { border-top: 0; }
  .offer-list, .cards, .team, .partner-list, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .offer:nth-child(odd), .offer:nth-child(even) { padding: 24px 0; border-left: 0; }
  .person { grid-template-columns: 96px 1fr; gap: 16px; }
  .person img, .person .initials { width: 96px; height: 96px; font-size: 1.8rem; }
  .form-wrap { padding: 22px; }
}
/* Product pages */
.crumb { font-size: .95rem; margin-bottom: 1em; }
.crumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.crumb a:hover { color: #fff; text-decoration: underline; }
.product-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.product-logo { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; min-height: 150px; }
.product-logo img { max-height: 110px; width: auto; object-fit: contain; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 8px; }
.photo { width: 100%; border-radius: var(--radius); margin-bottom: 20px; object-fit: cover; max-height: 420px; }
.product-video { width: 100%; border-radius: var(--radius); background: #000; margin-bottom: 20px; }
.downloads { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--rule); }
.downloads li { border-bottom: 1px solid var(--rule); }
.downloads a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; text-decoration: none; font-weight: 600; }
.downloads a::after { content: "Download ↓"; color: var(--gray); font-weight: 400; font-size: .95rem; white-space: nowrap; }
.points { padding-left: 1.2em; }
.points li { margin-bottom: .4em; }
.specs { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: 1rem; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.specs th { width: 42%; color: var(--gray); font-weight: 600; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.partner h3 a { color: var(--navy-ink); text-decoration: none; }
.partner h3 a:hover { color: var(--navy); text-decoration: underline; }
.partner .more { display: inline-block; margin-top: .8em; font-weight: 700; text-decoration: none; }
@media (max-width: 960px) { .product-grid { grid-template-columns: 1fr; gap: 32px; } .feature-row { grid-template-columns: 1fr; } }
/* FAQ */
.faq { max-width: 52em; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 1.1rem; color: var(--navy-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.5rem; color: var(--navy); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--navy); }
.faq .answer { padding: 0 0 22px; color: var(--gray); }
.faq .answer p:last-child { margin-bottom: 0; }
/* Membership logos */
.member-logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px 44px; padding: 28px 0 0; }
.member-logos span { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.member-logos img { height: 64px; width: auto; }
.org-logo { height: 56px; width: auto; margin-bottom: 14px; }
@media (max-width: 760px) { .member-logos { gap: 16px 28px; } .member-logos span { width: 100%; text-align: center; } .member-logos img { height: 52px; } }

/* Photo band */
.photo-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo-band img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.photo-band:has(> img:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .photo-band, .photo-band:has(> img:nth-child(3):last-child) { grid-template-columns: 1fr 1fr; } }

/* Case photos */
.case-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.case-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) { .case-photos { grid-template-columns: 1fr 1fr; } .case-photos img:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }

/* Photo patch */
.case-photos .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.case-photos .ph img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: fill; border-radius: 0; display: block; }
.ph .patch { position: absolute; border-radius: 50%; background: radial-gradient(ellipse at center, #e6e8ea 50%, rgba(230,232,234,0) 100%); filter: blur(1.2px); pointer-events: none; }
@media (max-width: 760px) { .case-photos .ph:last-child { grid-column: auto; } }

/* Split photo with patch */
.split .split-ph { position: relative; overflow: hidden; border-radius: var(--radius); max-height: 460px; aspect-ratio: 9 / 10; }
.split .split-ph img { width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: 0; }
.split-ph .patch { left: 15.2%; top: 20.6%; width: 11.5%; height: 6.4%; transform: rotate(-12deg); }
