/* ============================================================
   AIR GREEN — Industrial Air Engineering
   Design system: spec-sheet / nameplate aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Expanded:wght@600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --green-dark:   #1A6B2F;
  --green-mid:    #2E8B45;
  --green-light:  #4CAF66;
  --green-pale:   #EAF3EC;
  --paper:        #F7F7F3;
  --paper-2:      #EFEFE9;
  --charcoal:     #181A19;
  --ink:          #2B2E2C;
  --steel:        #5B6B66;
  --steel-light:  #8B9893;
  --rule:         #D6DCD6;
  --rule-dark:    #3A4540;
  --red-accent:   #B6402F;
  --white:        #FFFFFF;

  --display: 'Archivo Expanded', 'Arial Narrow', sans-serif;
  --body: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── EYEBROW / LABEL ── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-mid);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--green-mid);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--green-light); }

/* ── HEADINGS ── */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-top: 10px;
  max-width: 720px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  background: var(--charcoal);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--green-mid);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 28px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #B9C7BF;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.main-nav a:hover { color: var(--white); }
.main-nav a.active {
  color: var(--white);
  border-bottom-color: var(--green-light);
}
.nav-cta {
  background: var(--green-mid);
  color: var(--white) !important;
  padding: 9px 18px !important;
  border-radius: 2px;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--green-light); color: var(--white) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--green-mid);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); }
.btn-outline {
  border-color: var(--rule-dark);
  color: var(--charcoal);
}
.btn-outline.on-dark {
  border-color: rgba(255,255,255,.35);
  color: var(--white);
}
.btn-outline.on-dark:hover { border-color: var(--white); }
.btn-arrow { transition: transform .15s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============================================================
   CORNER-TAG IMAGE FRAME — signature element
   ============================================================ */
.tag-frame {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}
.tag-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tag-frame::before,
.tag-frame::after,
.tag-frame .c2,
.tag-frame .c3 {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--green-light);
  z-index: 2;
  pointer-events: none;
}
.tag-frame::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.tag-frame::after { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.tag-frame .c2 { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.tag-frame .c3 { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.tag-frame .cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.75) 60%);
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 26px 14px 10px;
  z-index: 1;
}

/* ============================================================
   DUCT-LINE DIVIDER — airflow motif
   ============================================================ */
.duct-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 64px 0;
  color: var(--steel-light);
}
.duct-divider .seg {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--rule) 0 10px, transparent 10px 16px);
}
.duct-divider .node {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-mid);
  flex-shrink: 0;
}

/* ============================================================
   HERO (shared shape, content varies)
   ============================================================ */
.hero {
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: .34;
}
.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--charcoal) 38%, rgba(24,26,25,.55) 75%, rgba(24,26,25,.25) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 110px 0 90px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(36px, 6vw, 64px);
  max-width: 820px;
  margin-top: 16px;
}
.hero .sub {
  font-size: 17px;
  color: #C7D6CD;
  max-width: 560px;
  margin-top: 20px;
  font-weight: 400;
}
.hero .actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 56px 0 48px;
}
.page-hero .sub {
  font-size: 16px;
  color: #C7D6CD;
  max-width: 600px;
  margin-top: 16px;
}

/* ============================================================
   METRIC STRIP
   ============================================================ */
.metric-strip {
  background: var(--charcoal);
  border-top: 1px solid #2A2F2D;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px 0;
}
.metric {
  text-align: left;
  padding: 0 28px;
  border-left: 1px solid #2A2F2D;
}
.metric:first-child { border-left: none; padding-left: 0; }
.metric .val {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
}
.metric .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #94A39C;
  margin-top: 8px;
  line-height: 1.4;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 88px 0; }
.section-pale { background: var(--green-pale); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head .lede {
  max-width: 400px;
  color: var(--steel);
  font-size: 15px;
  padding-bottom: 4px;
}
.section-dark .section-head .lede { color: #9FB0A8; }

/* ── grids ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── service / discipline card ── */
.disc-card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 28px 26px;
  position: relative;
}
.disc-card .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green-mid);
  letter-spacing: 1px;
}
.disc-card h3 {
  font-size: 19px;
  margin-top: 14px;
  margin-bottom: 10px;
}
.disc-card p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.65;
}

/* ── product tag chip ── */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .3px;
  padding: 9px 16px;
  border: 1.5px solid var(--rule-dark);
  border-radius: 2px;
  color: var(--ink);
}
.chip.on-dark { border-color: #3A4540; color: #D6DED9; }

/* ── spec table ── */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--rule); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td {
  padding: 13px 0;
  font-size: 14.5px;
}
.spec-table td:first-child {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--steel);
  width: 42%;
}
.spec-table td:last-child {
  color: var(--charcoal);
  font-weight: 500;
}

/* ── quote / about box ── */
.lede-block {
  border-left: 3px solid var(--green-mid);
  padding-left: 28px;
  font-size: 19px;
  color: var(--ink);
  max-width: 760px;
  line-height: 1.6;
}

/* ============================================================
   CARDS — value props / capability tiles
   ============================================================ */
.tile {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 30px 26px;
}
.tile .icon-num {
  width: 38px; height: 38px;
  border: 1.5px solid var(--green-mid);
  color: var(--green-mid);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  margin-bottom: 18px;
}
.tile h4 { font-size: 16.5px; margin-bottom: 8px; }
.tile p { font-size: 13.5px; color: var(--steel); line-height: 1.6; }

/* ============================================================
   PHOTO MASONRY / GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
.gallery-grid .tag-frame.big { grid-column: span 2; grid-row: span 2; }
.gallery-grid .tag-frame.wide { grid-column: span 2; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--green-dark);
  color: var(--white);
  padding: 64px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: 30px; max-width: 520px; }
.cta-band p { color: #C7E0CE; margin-top: 8px; font-size: 15px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  color: #9FB0A8;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #2A2F2D;
}
.footer-grid h5 {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-grid a, .footer-grid p {
  display: block;
  font-size: 14px;
  color: #9FB0A8;
  margin-bottom: 10px;
  line-height: 1.6;
}
.footer-grid a:hover { color: var(--white); }
.footer-brand img { height: 26px; margin-bottom: 16px; }
.footer-brand p { max-width: 280px; font-size: 13.5px; color: #7E8E86; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: #6B7B73;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   CONTACT PAGE SPECIFIC
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 26px;
  margin-bottom: 16px;
  display: flex;
  gap: 18px;
}
.contact-card .ic {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green-mid);
  letter-spacing: 1px;
  text-transform: uppercase;
  flex-shrink: 0;
  width: 70px;
}
.contact-card .detail strong { display: block; font-size: 15.5px; margin-bottom: 4px; color: var(--charcoal); }
.contact-card .detail span { font-size: 14px; color: var(--steel); }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  border: 1.5px solid var(--rule-dark);
  background: var(--white);
  padding: 13px 14px;
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--charcoal);
  border-radius: 2px;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--green-mid);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 28px;
    gap: 4px;
    border-bottom: 3px solid var(--green-mid);
  }
  .main-nav.open a { width: 100%; padding: 12px 0; border-bottom: 1px solid #2A2F2D; }
  .main-nav.open a.nav-cta { text-align: center; justify-content: center; margin-top: 8px; border-bottom: none; }
  .site-header { position: relative; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .metric:nth-child(3) { border-left: none; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .tag-frame.big { grid-column: span 2; }
  section { padding: 56px 0; }
  .hero-inner { padding: 70px 0 56px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .header-inner { padding: 0 20px; height: 64px; }
  .brand img { height: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
}

/* ── reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ── focus visibility ── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--green-mid);
  outline-offset: 2px;
}
