:root {
  --ink: #18212b;
  --muted: #66717f;
  --paper: #f8f5ef;
  --surface: #ffffff;
  --line: rgba(24, 33, 43, 0.12);
  --navy: #10233a;
  --steel: #24445d;
  --teal: #00a8a8;
  --gold: #f7b733;
  --shadow: 0 24px 70px rgba(16, 35, 58, 0.18);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: linear-gradient(135deg, rgba(247, 183, 51, 0.06), transparent 32%), linear-gradient(315deg, rgba(0, 168, 168, 0.08), transparent 38%), var(--paper); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.site-header { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 14px clamp(18px, 4vw, 56px); background: rgba(248, 245, 239, 0.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; color: var(--navy); font-weight: 900; border: 2px solid var(--navy); background: linear-gradient(135deg, var(--gold), #fff 54%, var(--teal)); border-radius: 50%; }
.brand strong, .brand small { display: block; line-height: 1; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 0.78rem; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 8px; }
.site-nav a { padding: 10px 13px; color: #334252; border-radius: 999px; font-weight: 700; font-size: 0.92rem; }
.site-nav a:hover, .site-nav a.active { color: var(--navy); background: rgba(0, 168, 168, 0.12); }
.header-cta { padding: 12px 16px; color: #fff; background: var(--navy); border-radius: 999px; font-weight: 800; box-shadow: 0 12px 30px rgba(16, 35, 58, 0.2); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: var(--navy); border-radius: 8px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; }
.hero, .page-hero { position: relative; overflow: hidden; min-height: calc(100vh - 75px); display: grid; align-items: center; gap: clamp(28px, 5vw, 70px); padding: clamp(44px, 7vw, 96px) clamp(18px, 5vw, 74px); }
.hero { grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr); }
.page-hero { min-height: 440px; grid-template-columns: minmax(0, 760px); }
.blueprint-bg { background: linear-gradient(rgba(16, 35, 58, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 35, 58, 0.04) 1px, transparent 1px), radial-gradient(circle at 12% 18%, rgba(247, 183, 51, 0.2), transparent 28%), radial-gradient(circle at 82% 30%, rgba(0, 168, 168, 0.14), transparent 30%), linear-gradient(135deg, #fffaf0 0%, #eef6f4 48%, #f8f5ef 100%); background-size: 34px 34px, 34px 34px, auto, auto, auto; }
.blueprint-bg::after { content: ""; position: absolute; inset: auto -8% -18% 35%; height: 42%; background: repeating-linear-gradient(90deg, rgba(16, 35, 58, 0.09) 0 2px, transparent 2px 28px); transform: rotate(-8deg); pointer-events: none; }
.subtle::after { opacity: 0.3; }
.hero-copy, .hero-media, .page-hero > div { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; max-width: 850px; font-size: clamp(3rem, 8vw, 6.5rem); line-height: 0.9; letter-spacing: 0; color: var(--navy); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: 0; color: var(--navy); }
h3 { margin: 0 0 8px; font-size: 1.2rem; color: var(--navy); }
p { color: var(--muted); line-height: 1.7; }
.hero-lede, .page-hero p { max-width: 680px; font-size: clamp(1.05rem, 2vw, 1.3rem); color: #405060; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border: 0; border-radius: 999px; font-weight: 900; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: #fff; background: linear-gradient(135deg, var(--navy), var(--steel)); box-shadow: var(--shadow); }
.btn.secondary { color: var(--navy); background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); }
.btn.light { color: var(--navy); background: #fff; margin-top: 18px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stats span { display: grid; gap: 4px; min-width: 130px; padding: 12px 14px; background: rgba(255, 255, 255, 0.68); border: 1px solid rgba(16, 35, 58, 0.1); border-radius: var(--radius); color: #445261; }
.hero-stats strong { color: var(--navy); font-size: 1.45rem; }
.hero-media { min-height: min(64vh, 650px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-media img { filter: saturate(1.08) contrast(1.02); }
.media-note { position: absolute; right: 18px; bottom: 18px; max-width: 320px; padding: 14px 16px; color: #fff; background: rgba(16, 35, 58, 0.86); border-left: 5px solid var(--gold); border-radius: var(--radius); font-weight: 800; }
.floaters { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.floater { position: absolute; opacity: 0.34; animation: float 9s ease-in-out infinite; }
.screw { width: 84px; height: 14px; background: var(--steel); border-radius: 999px; top: 24%; left: 7%; transform: rotate(28deg); }
.screw::after { content: ""; position: absolute; right: -10px; top: -5px; border-left: 14px solid var(--steel); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.washer { width: 82px; height: 82px; border: 14px solid var(--teal); border-radius: 50%; top: 13%; right: 10%; animation-delay: -2s; }
.bracket { width: 90px; height: 90px; border-left: 16px solid var(--gold); border-bottom: 16px solid var(--gold); bottom: 18%; left: 12%; animation-delay: -4s; }
.tape { width: 140px; height: 18px; background: repeating-linear-gradient(90deg, var(--gold) 0 12px, #2d3944 12px 14px); right: 20%; bottom: 20%; transform: rotate(-18deg); animation-delay: -1s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -22px; } }
.section { padding: clamp(54px, 8vw, 105px) clamp(18px, 5vw, 74px); }
.section-heading { max-width: 820px; margin-bottom: 34px; }
.card-grid { display: grid; gap: 20px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card, .quote-card, .mini-card, .wide-card, .process-step, .contact-panel, .quote-form { background: rgba(255, 255, 255, 0.88); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 44px rgba(16, 35, 58, 0.08); }
.service-card { overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease; }
.service-card:hover, .wide-card:hover, .gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card img { height: 240px; }
.service-card div, .mini-card, .quote-card, .process-step { padding: 22px; }
.dark { color: #fff; background: var(--navy); }
.dark h2, .dark h3, .dark p, .dark .eyebrow { color: #fff; }
.angled-bg { position: relative; overflow: hidden; }
.angled-bg::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 55%; height: 150%; background: linear-gradient(135deg, rgba(247, 183, 51, 0.22), rgba(0, 168, 168, 0.2)); transform: rotate(12deg); }
.split, .split-section { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.trust-list { display: grid; gap: 14px; }
.trust-list span { padding: 18px 20px; color: #fff; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius); font-weight: 900; }
.photo-strip { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr; gap: 14px; height: clamp(260px, 38vw, 480px); margin-bottom: 28px; }
.photo-strip img { border-radius: var(--radius); box-shadow: 0 18px 50px rgba(16, 35, 58, 0.15); }
.photo-strip img:nth-child(2), .photo-strip img:nth-child(4) { margin-top: 38px; height: calc(100% - 38px); }
.center { text-align: center; }
.quote-card { margin: 0; font-size: 1.04rem; line-height: 1.7; color: #3b4652; }
.quote-card cite { display: block; margin-top: 18px; color: var(--navy); font-weight: 900; font-style: normal; }
.service-list { display: grid; gap: 18px; }
.wide-card { display: grid; grid-template-columns: minmax(220px, 0.42fr) 1fr; overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease; }
.wide-card img { min-height: 260px; }
.wide-card div { padding: clamp(22px, 4vw, 40px); }
.wide-card a { color: var(--teal); font-weight: 900; }
.feature-photo { min-height: 520px; border-radius: var(--radius); box-shadow: var(--shadow); }
.process-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.process-step span { display: inline-block; margin-bottom: 26px; color: var(--gold); font-size: 2rem; font-weight: 900; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filter-btn { min-height: 42px; padding: 9px 14px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 900; }
.filter-btn.active { color: #fff; background: var(--navy); }
.masonry-gallery { columns: 3 260px; column-gap: 18px; }
.gallery-item { break-inside: avoid; margin: 0 0 18px; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: 0 18px 44px rgba(16, 35, 58, 0.11); transition: transform 180ms ease, box-shadow 180ms ease; }
.gallery-item img { height: 290px; }
.gallery-item.tall img { height: 400px; }
.gallery-item figcaption { padding: 14px 16px; font-weight: 900; color: var(--navy); }
.gallery-item[hidden] { display: none; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }
.contact-panel, .quote-form { padding: clamp(24px, 4vw, 42px); }
.contact-link { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 1.2rem; font-weight: 900; }
.contact-link span { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; }
.quote-form { display: grid; gap: 12px; }
.quote-form label { font-weight: 900; color: var(--navy); }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.quote-form textarea { resize: vertical; }
.form-note { margin: 0; font-size: 0.9rem; }
.site-footer { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; padding: 34px clamp(18px, 5vw, 74px); color: #dfe7ef; background: #0b1724; }
.site-footer p, .site-footer span, .site-footer a { display: block; color: #dfe7ef; margin: 4px 0; }
.site-footer strong { color: #fff; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto; justify-content: space-between; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 18px; right: 18px; top: 76px; display: none; flex-direction: column; align-items: stretch; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .header-cta { display: none; }
  .hero, .split, .split-section, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-media { min-height: 420px; transform: none; }
  .card-grid.three, .card-grid.four, .process-grid { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; height: auto; }
  .photo-strip img { height: 270px; }
  .photo-strip img:nth-child(2), .photo-strip img:nth-child(4) { margin-top: 0; height: 270px; }
}
@media (max-width: 640px) {
  .site-header { padding: 12px 16px; }
  .brand-mark { width: 40px; height: 40px; }
  .hero, .page-hero, .section { padding-left: 16px; padding-right: 16px; }
  .hero-media { min-height: 310px; }
  .media-note { position: static; border-radius: 0; max-width: none; }
  .hero-stats, .cta-row { flex-direction: column; align-items: stretch; }
  .card-grid.three, .card-grid.four, .process-grid { grid-template-columns: 1fr; }
  .wide-card { grid-template-columns: 1fr; }
  .wide-card img, .feature-photo { min-height: 260px; }
  .photo-strip { grid-template-columns: 1fr; }
  .masonry-gallery { columns: 1; }
  .gallery-item img, .gallery-item.tall img { height: 320px; }
  .site-footer { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
