/* ==========================================================================
   General Maintenance & Engineering Co.
   Heritage commercial & industrial contractor, Columbus OH. Est. 1934.
   Palette: steel/slate #1f2933 / #263238, brass accent #b5883c.
   Type: Saira Condensed (display) + Inter (body).
   ========================================================================== */

:root {
  --steel:   #1f2933;   /* primary dark */
  --slate:   #263238;   /* secondary dark */
  --steel-2: #16202a;   /* deepest */
  --brass:   #b5883c;   /* heritage accent */
  --brass-2: #c9a24f;   /* lighter brass, hover */
  --paper:   #f6f4ef;   /* warm off-white bg */
  --paper-2: #eceae3;   /* tint bg */
  --ink:     #1c232b;   /* body text on light */
  --ink-2:   #4a555f;   /* muted text on light */
  --line:    #d8d4c9;   /* borders on light */
  --onDark:  #e7ecef;   /* text on dark */
  --onDark-2:#a9b4bc;   /* muted on dark */
  --wrap: 1180px;
  --radius: 6px;
  --shadow: 0 12px 34px rgba(22, 32, 42, .14);
  --shadow-sm: 0 4px 14px rgba(22, 32, 42, .10);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: "Saira Condensed", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: .3px;
  margin: 0 0 .4em;
  text-transform: uppercase;
}
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brass); color: #1a1200; padding: 10px 16px; font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-fs: 15px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: "Saira Condensed", sans-serif;
  font-weight: 700; font-size: var(--btn-fs); letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  padding: 12px 22px; border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform .12s ease, background .16s ease, color .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--brass); color: #1a1200; border-color: var(--brass); }
.btn--solid:hover { background: var(--brass-2); border-color: var(--brass-2); }
.btn--ghost { background: transparent; color: var(--onDark); border-color: rgba(231,236,239,.5); }
.btn--ghost:hover { border-color: var(--brass); color: #fff; }
.btn--outline { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn--outline:hover { background: var(--slate); color: var(--paper); }
.btn--sm { padding: 9px 16px; --btn-fs: 14px; }
.btn--lg { padding: 15px 28px; --btn-fs: 16px; }
.btn--block { width: 100%; }

.kicker {
  font-family: "Saira Condensed", sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: 3px; font-size: 14px; color: var(--brass); margin: 0 0 .5rem;
}
.kicker--onDark { color: var(--brass-2); }

/* ==========================================================================
   Header
   ========================================================================== */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: var(--steel);
  border-bottom: 3px solid var(--brass);
}
.masthead__row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; gap: 16px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--onDark); }
.brand__logo { display: block; width: min(390px, 43vw); height: auto; }
.brand__mark { display: inline-flex; flex: none; }
.brand__word { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: "Saira Condensed", sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: 26px; letter-spacing: 1.5px; color: #fff;
}
.brand__amp { color: var(--brass); }
.brand__sub {
  font-family: "Saira Condensed", sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 11px; letter-spacing: 3px; color: var(--onDark-2); margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav ul { display: flex; align-items: center; gap: 24px; }
.nav ul a {
  text-decoration: none; color: var(--onDark);
  font-family: "Saira Condensed", sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; font-size: 16px; padding: 6px 2px; position: relative;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--brass); transition: right .2s ease;
}
.nav ul a:hover::after, .nav ul a.is-active::after { right: 0; }
.nav ul a.is-active { color: #fff; }

/* Burger */
.burger {
  display: none; width: 46px; height: 42px; padding: 9px 8px; margin: 0;
  flex-direction: column; justify-content: center;
  background: transparent; border: 2px solid rgba(231,236,239,.35); border-radius: var(--radius);
  cursor: pointer;
}
.burger span { display: block; width: 100%; height: 2px; background: var(--onDark); border-radius: 2px; transition: .2s; }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: var(--steel-2); color: var(--onDark); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(19,29,37,.98) 0%, rgba(19,29,37,.91) 38%, rgba(19,29,37,.55) 63%, rgba(19,29,37,.15) 100%),
    linear-gradient(0deg, rgba(19,29,37,.38), rgba(19,29,37,.08)),
    url("/images/hero-industrial-site.webp") center right / cover no-repeat;
}
.hero__bg::after {
  /* faint blueprint / girder hatch */
  content: ""; position: absolute; inset: 0; opacity: .10;
  background-image: repeating-linear-gradient(45deg, var(--brass) 0 1px, transparent 1px 22px);
}
.hero__inner {
  position: relative; z-index: 1;
  display: block;
  padding-block: clamp(56px, 9vw, 104px);
}
.hero__copy { max-width: 720px; }
.eyebrow {
  font-family: "Saira Condensed", sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: 3px; font-size: 15px; color: var(--onDark-2); margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow__est {
  background: var(--brass); color: #1a1200; padding: 3px 10px; border-radius: 3px;
  letter-spacing: 2px; font-weight: 800;
}
.hero__title {
  font-size: clamp(40px, 7vw, 76px); color: #fff; margin: 0 0 20px; letter-spacing: .5px;
}
.hero__title .accent { color: var(--brass); }
.hero__lead { font-size: clamp(17px, 2vw, 20px); color: var(--onDark); max-width: 62ch; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__trust {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 26px;
  max-width: 640px;
}
.hero__trust li {
  position: relative; padding-left: 26px; font-size: 15px; color: var(--onDark);
}
.hero__trust li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px;
  background: var(--brass);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* Heritage seal */
.hero__badge { display: flex; justify-content: center; }
.heritage {
  display: grid; place-items: center; text-align: center;
  width: 210px; height: 210px; border-radius: 50%;
  border: 3px solid var(--brass);
  background: radial-gradient(circle at 50% 40%, rgba(181,136,60,.16), transparent 70%);
  box-shadow: inset 0 0 0 8px rgba(181,136,60,.14);
  font-family: "Saira Condensed", sans-serif; text-transform: uppercase; line-height: 1;
}
.heritage__est { display: block; font-size: 22px; letter-spacing: 8px; color: var(--onDark-2); }
.heritage__year { display: block; font-size: 78px; font-weight: 800; color: #fff; letter-spacing: 2px; margin: 4px 0; }
.heritage__years { display: block; font-size: 20px; letter-spacing: 3px; color: var(--brass); font-weight: 700; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--steel); color: var(--onDark); }

.head { max-width: 760px; margin-bottom: 40px; }
.head--center { margin-inline: auto; text-align: center; }
.head--light h2 { color: #fff; }
.head h2 { font-size: clamp(30px, 4.4vw, 48px); }
.head--light .lead { color: var(--onDark-2); }
.lead { font-size: clamp(17px, 1.7vw, 19px); color: var(--ink-2); }
.section--dark .lead { color: var(--onDark-2); }

h2 { color: var(--ink); }
.section--dark h2, .section--dark h3 { color: #fff; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.about__figure { margin: 0; position: relative; }
.about__figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about__cap {
  position: absolute; left: 16px; bottom: 16px;
  background: var(--brass); color: #1a1200; padding: 7px 14px; border-radius: 3px;
  font-family: "Saira Condensed", sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; font-size: 14px;
}
.about__body h2 { font-size: clamp(30px, 4.2vw, 46px); }
.about__body .lead { margin-bottom: 14px; }
.about__body .btn { margin-top: 10px; }

/* ---------- Capabilities grid ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cap {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brass);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cap:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cap__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--slate); color: var(--brass-2); margin-bottom: 16px;
}
.cap__ico svg { width: 30px; height: 30px; }
.cap h3 { font-size: 24px; color: var(--ink); letter-spacing: .5px; }
.cap > p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }

.form {
  background: var(--slate); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: "Saira Condensed", sans-serif; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px; color: var(--onDark); margin-bottom: 7px;
}
.field .req { color: var(--brass-2); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff;
  background: rgba(22,32,42,.6); border: 1.5px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #7d8890; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(181,136,60,.28);
}
.field .error { display: none; color: #f0b8a0; font-size: 13.5px; margin-top: 6px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #d98b6c; }
.field.is-invalid .error { display: block; }
.form__note { font-size: 14px; color: var(--onDark-2); margin: 14px 0 0; }
.form__note a { color: var(--brass-2); }
.form__status { font-size: 14px; color: #f0b8a0; margin: 10px 0 0; min-height: 1em; }
.form__status.ok { color: #9fd6a3; }

.contact-side { display: grid; gap: 14px; }
.ccard {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 16px;
  grid-template-areas: "ico label" "ico value";
  text-decoration: none; color: var(--onDark);
  background: var(--slate); border: 1px solid rgba(255,255,255,.08); border-left: 3px solid var(--brass);
  border-radius: var(--radius); padding: 18px 20px;
  transition: transform .12s ease, border-color .15s ease;
}
a.ccard:hover { transform: translateX(3px); border-left-color: var(--brass-2); }
.ccard__ico { grid-area: ico; color: var(--brass-2); }
.ccard__ico svg { width: 26px; height: 26px; }
.ccard__label {
  grid-area: label; font-family: "Saira Condensed", sans-serif; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; font-size: 12px; color: var(--onDark-2);
}
.ccard__value { grid-area: value; font-weight: 600; font-size: 17px; color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.foot { background: var(--steel-2); color: var(--onDark-2); border-top: 3px solid var(--brass); }
.foot__row {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px;
  padding-block: 48px 32px; align-items: start;
}
.brand--foot { align-items: flex-start; }
.brand__logo--foot { width: min(430px, 100%); }
.brand--foot .brand__name { font-size: 20px; letter-spacing: 1px; line-height: 1.1; }
.foot__tag { margin-top: 16px; max-width: 46ch; font-size: 15px; }
.foot__contact { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot__contact a { color: var(--onDark); text-decoration: none; font-size: 15px; }
.foot__contact a:hover { color: var(--brass-2); }
.foot__contact span { font-size: 15px; }
.bbb-badge { display: inline-block; margin-top: 10px; }
.bbb-badge img { border-radius: 4px; }
.foot__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding-block: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px;
}
.foot__legal p { margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .about { grid-template-columns: 1fr; }
  .about__figure { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__badge { justify-content: flex-start; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .brand__logo { width: min(365px, 70vw); }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; z-index: 90;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--steel); border-bottom: 3px solid var(--brass);
    padding: 8px 22px 22px;
    transform: translateY(-130%); transition: transform .25s ease;
    box-shadow: 0 18px 30px rgba(0,0,0,.35);
  }
  .nav.is-open { transform: translateY(0); }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav ul li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav ul a { display: block; padding: 14px 4px; font-size: 18px; }
  .nav ul a::after { display: none; }
  .nav .btn { margin-top: 16px; width: 100%; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .cap-grid { grid-template-columns: 1fr; }
  .hero__trust { grid-template-columns: 1fr; }
  .brand__logo { width: min(285px, 72vw); }
  .heritage { width: 172px; height: 172px; }
  .heritage__year { font-size: 62px; }
  .foot__row { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .brand__logo { width: min(245px, 68vw); }
  .hero__actions .btn { width: 100%; }
}

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