:root {
  --cream: #F6F4EE;
  --navy: #163F73;
  --accent: #E8792E;
  --ink: #20242C;
}
* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); font-family: 'Public Sans', system-ui, -apple-system, sans-serif; color: var(--ink); overflow-x: hidden; }
h1, h2, h3 { font-family: 'Manrope', system-ui, sans-serif; margin: 0; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #C15F1E; }
img { max-width: 100%; }
input, textarea { width: 100%; font-size: 16px; }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: clamp(18px, 5vw, 56px); padding-right: clamp(18px, 5vw, 56px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 4px; font-weight: 700; font-size: 15px; font-family: 'Public Sans', sans-serif; cursor: pointer; border: 1.5px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { background: #C15F1E; color: #ffffff; }
.btn-outline { background: transparent; color: #ffffff; border-color: rgba(255,255,255,0.55); }
.btn-outline:hover { border-color: #ffffff; color: #ffffff; }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: rgba(22,63,115,0.3); }
.btn-outline-navy:hover { border-color: var(--navy); color: var(--navy); }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.card-img { width: 100%; display: block; object-fit: cover; }
section { scroll-margin-top: 84px; }

nav a { color: var(--navy); font-weight: 600; font-size: 15px; }
nav a:hover { color: var(--accent); }
nav a.active { color: var(--accent); }
.nav-row { flex-wrap: wrap; row-gap: 10px; }
.nav-brand { font-size: clamp(15px, 4vw, 19px); white-space: nowrap; }
.nav-phone { font-size: clamp(13px, 3.5vw, 15px); white-space: nowrap; }

.hero-h1 { font-size: clamp(32px, 7.5vw, 58px); }
.section-pad { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 88px); }

/* Compact hero banner used on interior pages (About, Products, Gallery, Contact) */
.page-hero { background: var(--navy); padding-top: clamp(96px, 20vw, 140px); padding-bottom: clamp(40px, 8vw, 64px); }
.page-hero h1 { color: #ffffff; font-size: clamp(30px, 6vw, 46px); font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 17px; line-height: 1.6; margin-top: 14px; max-width: 620px; }

.form-row { flex-wrap: wrap; }
.form-row > div { flex: 1 1 160px; }

.product-nav-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 10px; border: 1px solid rgba(22,63,115,0.1); background: #ffffff; }
.product-nav-card:hover { border-color: var(--accent); }

.materials-grid { display: grid; }
.process-grid { display: grid; }

/* Fixed-height card/thumbnail crops center-crop by default, which cuts the canopy
   structure out of frame for these photos — bias the crop toward where it sits. */
img[src*="sterling_hospital_canopy"] { object-position: center 15%; }
img[src*="dome_tunnel_motorcycle_parking"] { object-position: center 25%; }
img[src*="circular_garden_canopy"] { object-position: center 32%; }

@media (min-width: 1400px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 860px) {
  .nav-links { display: none !important; }
  .products-grid { grid-template-columns: 1fr !important; }
  .gallery-grid { grid-template-columns: 1fr !important; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .product-detail-grid { grid-template-columns: 1fr !important; }
  .materials-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .process-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 520px) {
  .materials-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
