/* Framework — General Contractor template
   Palette: concrete gray + charcoal + safety yellow, on warm off-white
   Type: Archivo (display + body) / Space Mono (labels) */

:root {
  --ink: #22221f;
  --charcoal: #2c2c28;
  --charcoal-deep: #1a1a17;
  --concrete: #8a8d87;
  --yellow: #f2b705;
  --yellow-deep: #cf9a02;
  --paper: #f6f4ef;
  --white: #ffffff;
  --line: #e2ded2;

  --font-display: "Archivo", sans-serif;
  --font-body: "Archivo", sans-serif;
  --font-label: "Space Mono", monospace;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html{scroll-behavior:auto;} * { animation-duration:.01ms !important; transition-duration:.01ms !important; } }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.label { font-family: var(--font-label); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow-deep); }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(44,44,40,.96); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 21px; text-transform: uppercase; letter-spacing: .01em; }
.logo .tick { width: 3px; height: 22px; background: var(--yellow); flex: none; }
nav.primary { display: flex; gap: 28px; }
nav.primary a { text-decoration: none; color: #d4d3cd; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
nav.primary a:hover { color: var(--white); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; padding: 12px 22px; border: 2px solid transparent; cursor: pointer; }
.btn--primary { background: var(--yellow); color: var(--charcoal-deep); }
.btn--primary:hover { background: var(--yellow-deep); }
.btn--outline-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--outline-dark:hover { border-color: var(--white); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* hero */
.hero { background: var(--charcoal-deep); color: var(--white); position: relative; }
.hero-inner { padding: 90px 0 40px; max-width: 680px; }
.hero h1 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(38px,5.4vw,58px); line-height: 1; margin: 16px 0 20px; }
.hero h1 span { color: var(--yellow); }
.hero p.lede { font-size: 17px; line-height: 1.6; color: #c7c6bf; max-width: 46ch; margin-bottom: 30px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.ruler { display: flex; margin-top: 46px; }
.ruler .tickmark { flex: 1; border-left: 1px solid rgba(255,255,255,.18); height: 22px; position: relative; }
.ruler .tickmark:nth-child(5n+1) { height: 32px; border-left-color: var(--yellow); }
.ruler .tickmark:last-child { border-right: 1px solid rgba(255,255,255,.18); }

/* sections */
section { padding: 78px 0; }
.section-head { max-width: 620px; margin-bottom: 42px; }
.section-head .label { display: block; margin-bottom: 10px; }
.section-head h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px,3.4vw,38px); margin: 0 0 12px; color: var(--charcoal-deep); }
.section-head p { color: #55564f; line-height: 1.6; margin: 0; }

/* services */
.grid-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 2px; background: var(--line); }
.svc { background: var(--white); padding: 30px 26px; }
.svc h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 0 0 8px; color: var(--charcoal-deep); }
.svc p { margin: 0; font-size: 14px; line-height: 1.55; color: #55564f; }

/* process timeline */
.process-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--line); }
.step { background: var(--white); padding: 28px 24px; }
.step .stepnum { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--yellow-deep); line-height: 1; }
.step h4 { font-family: var(--font-display); font-size: 17px; margin: 10px 0 8px; color: var(--charcoal-deep); text-transform: uppercase; }
.step p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #55564f; }

/* badges strip */
.badge-strip { background: var(--charcoal-deep); color: var(--white); }
.badge-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.badge { padding: 30px 24px; text-align: center; border-left: 1px solid rgba(255,255,255,.1); }
.badge:first-child { border-left: none; }
.badge .num { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--yellow); line-height: 1; }
.badge .cap { font-family: var(--font-label); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: #c7c6bf; margin-top: 8px; }

/* portfolio */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.gallery-card { background: var(--white); border: 1px solid var(--line); }
.gallery-photo { height: 170px; background: linear-gradient(135deg,#8a8d87,#2c2c28); position: relative; }
.gallery-photo .tag { position: absolute; bottom: 10px; left: 10px; font-family: var(--font-label); font-size: 10.5px; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.35); padding: 3px 7px; }
.gallery-caption { padding: 14px 16px; font-size: 14px; color: #55564f; }

/* testimonials */
.testi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.testi { background: var(--white); border-left: 3px solid var(--yellow); padding: 24px; }
.testi p { font-size: 15px; line-height: 1.6; margin: 0 0 14px; }
.testi .who { font-family: var(--font-label); font-size: 12px; color: #55564f; }

/* estimate CTA */
.estimate-shell { background: var(--charcoal-deep); color: var(--white); padding: 48px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.estimate-copy h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(26px,3.2vw,32px); margin: 12px 0 12px; }
.estimate-copy p { color: #c7c6bf; line-height: 1.6; margin: 0; }
.form-row { margin-bottom: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row label { display: block; font-family: var(--font-label); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: #c7c6bf; margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea { width: 100%; font-family: var(--font-body); font-size: 14.5px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: var(--white); }
.form-row input::placeholder, .form-row textarea::placeholder { color: #97968f; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
.estimate-form .btn--primary { width: 100%; justify-content: center; margin-top: 4px; }

/* footer */
footer.site-footer { background: var(--ink); color: #a6a59d; padding: 46px 0 26px; }
footer.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
footer.site-footer h4 { font-family: var(--font-label); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--white); margin: 0 0 14px; }
footer.site-footer p, footer.site-footer a { font-size: 14px; line-height: 1.8; text-decoration: none; color: #a6a59d; }
footer.site-footer a:hover { color: var(--yellow); }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-family: var(--font-label); font-size: 11px; color: #605f58; }

@media (max-width: 900px) {
  nav.primary { display: none; }
  .grid-services { grid-template-columns: 1fr 1fr; }
  .process-row, .badge-grid { grid-template-columns: 1fr 1fr; }
  .badge { border-left: none; border-top: 1px solid rgba(255,255,255,.1); }
  .gallery-grid, .testi-row { grid-template-columns: 1fr; }
  .estimate-shell { grid-template-columns: 1fr; padding: 30px; }
  .two-col { grid-template-columns: 1fr; }
  footer.site-footer .wrap { grid-template-columns: 1fr; }
}
