/* Kent Greenwood Plastering — static rebuild
   Colors and type from KGP Brand Guidelines (2024). */
:root {
  /* Primary palette */
  --kelly: #40b449;      /* Kelly Green - accents on dark backgrounds, icons */
  --alloy: #e6e7e8;      /* Alloy */
  --gunmetal: #404041;   /* Gun Metal */
  --abyss: #231f20;      /* Black Abyss */
  /* Complementary */
  --sage: #437045;       /* Sage - buttons/text on light (Kelly Green fails contrast with white text) */
  --gray-light: #a7a9ac;
  --gray-dark: #6d706e;
  --white: #ffffff;

  --green: var(--sage);
  --green-dark: #355a37;
  --ink: var(--abyss);
  --charcoal: var(--gunmetal);
  --stone: #f3f3f4;
  --muted: var(--gray-dark);
  --radius: 4px;
  --max: 1200px;
  --font-head: "Saira", "Arial Narrow", sans-serif;          /* Headlines: Saira Bold */
  --font-label: "Montserrat", "Gotham", Arial, sans-serif;   /* Pre-headlines & CTAs: Gotham Bold (Montserrat = web stand-in) */
  --font-body: "Roboto", system-ui, -apple-system, Segoe UI, sans-serif; /* Body: Roboto Regular */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; line-height: 1.15; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--abyss); color: var(--white); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand img { height: 46px; width: auto; }
.brand .icon { display: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--white); text-decoration: none; font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--kelly); }
.btn { display: inline-block; background: var(--green); color: var(--white) !important; text-decoration: none; padding: 12px 26px; border-radius: var(--radius); font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; border: 0; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--green-dark); }
.btn-outline { background: transparent; border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--charcoal) !important; }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.8rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav { background: var(--abyss) !important; }
  .brand .logo { display: none; }
  .brand .icon { display: block; height: 44px; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 80px 0 0 0; background: var(--charcoal); flex-direction: column; justify-content: flex-start; padding-top: 40px; gap: 26px; transform: translateX(100%); transition: transform .25s; }
  .nav.open { transform: none; }
  .nav a { font-size: 1.3rem; }
}

/* Hero */
.hero { position: relative; background: var(--charcoal) center/cover no-repeat; color: var(--white); min-height: 72vh; display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,31,32,.85) 0%, rgba(35,31,32,.45) 100%); }
.hero .container { position: relative; padding-top: 80px; padding-bottom: 80px; }
.hero p { max-width: 640px; font-size: 1.15rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* Sections */
.section { padding: 90px 0; }
.section.alt { background: var(--stone); }
.section.dark { background: var(--charcoal); color: var(--white); }
.eyebrow { color: var(--sage); font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; margin-bottom: .6em; }
.dark .eyebrow, .hero .eyebrow { color: var(--kelly); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.badge { width: 200px; max-width: 60%; height: auto; margin-bottom: 20px; }
.dark .badge { width: 160px; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: .55em; }
.checklist li::before { content: "✔"; position: absolute; left: 0; color: var(--kelly); }
.section-title { text-align: center; margin-bottom: 50px; }
.service { margin-bottom: 80px; }
.service:last-child { margin-bottom: 0; }
.service img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.service ul { padding-left: 1.2em; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > :first-child { order: 0; }
  .section { padding: 64px 0; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-info address { font-style: normal; margin-bottom: 1.4em; }
.contact-info .note { font-size: .9rem; color: #c9cdca; font-style: italic; }
form.contact-form { display: grid; gap: 14px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid #555b57; background: #fff; color: var(--ink); border-radius: var(--radius); font: inherit; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; font-size: .95rem; }
.form-status.ok { color: var(--kelly); }
.form-status.err { color: #ffb4a8; }
@media (max-width: 860px) { .contact-grid, .contact-form .row { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { position: relative; background: var(--green) center/cover; color: var(--white); text-align: center; padding: 90px 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(35, 31, 32, .72); }
.cta-band .container { position: relative; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.gallery-grid button { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); transition: opacity .2s; }
.gallery-grid img:hover { opacity: .85; }
.lightbox { position: fixed; inset: 0; background: rgba(10,10,10,.92); display: none; align-items: center; justify-content: center; z-index: 200; flex-direction: column; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 80vh; object-fit: contain; }
.lightbox .caption { color: #ddd; margin-top: 12px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; padding: 10px 16px; }
.lb-close { top: 10px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Careers */
.job { border: 1px solid #ddd; border-radius: var(--radius); margin-bottom: 18px; background: var(--white); }
.job summary { cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1.35rem; list-style: none; display: flex; justify-content: space-between; }
.job summary::after { content: "+"; color: var(--kelly); }
.job[open] summary::after { content: "–"; }
.job .body { padding: 0 24px 24px; }
.job h4 { margin-top: 1.4em; color: var(--green); }
.jobs-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 40px 0; }
.photo-row img { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: var(--radius); }
@media (max-width: 700px) { .photo-row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--abyss); color: var(--alloy); padding: 60px 0 30px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.site-footer img { width: 240px; max-width: 100%; height: auto; }
.site-footer a { color: var(--alloy); }
.site-footer h4 { color: var(--kelly); }
.site-footer .legal { border-top: 1px solid #333; margin-top: 40px; padding-top: 20px; font-size: .85rem; text-align: center; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
