/* Hammermaster Construction — brand palette */
:root {
  --olive-dark: #4A523F;   /* dark text / dark sections */
  --green: #728A53;        /* headings, accents (large text only) */
  --green-light: #BFCEAC;  /* backgrounds, shading */
  --gray: #808080;         /* borders, captions */
  --warn: #B8631E;
  --warn-bg: #F3E1CB;
  --ink: #1A1A1A;          /* body text */
  --paper: #FFFFFF;
  --tint: #F4F6F0;         /* very light green tint for alt sections */
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Draft placeholders: delete the <mark class="todo"> wrappers once filled in */
mark.todo { background: var(--warn-bg); color: var(--warn); padding: 0 .25em; border-radius: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid #e3e6de; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand img { height: 38px; width: auto; }
nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 15px; }
nav a { text-decoration: none; color: var(--olive-dark); }
nav a:hover { color: var(--green); }
.nav-cta { background: var(--olive-dark); color: #fff !important; padding: 8px 14px; border-radius: 4px; }
.nav-cta:hover { background: var(--green); }

/* Hero */
.hero { background: var(--olive-dark); color: #fff; }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 72px; padding-bottom: 80px; }
.hero-text { max-width: 660px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--green-light); margin: 0 0 12px; }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin: 0 0 18px; font-weight: 800; letter-spacing: -.01em; }
.lede { font-size: 19px; color: #e6eadf; margin: 0 0 28px; }
.hero-badge { width: 240px; height: auto; opacity: .9; flex-shrink: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 4px; border: 2px solid transparent; }
.btn-primary { background: var(--green-light); color: var(--olive-dark); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: var(--green-light); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--tint); }
h2 { color: var(--green); font-size: clamp(28px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 8px; font-weight: 800; }
h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--green); margin-top: 12px; }
.section-intro { color: var(--olive-dark); margin: 16px 0 32px; }
h3 { color: var(--olive-dark); font-size: 19px; margin: 0 0 8px; }

.grid { display: grid; gap: 20px; }
.services { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { border: 1px solid #dde2d5; border-top: 4px solid var(--green); padding: 22px; background: #fff; }
.card p { margin: 0; }

.gallery { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { font-size: 14px; color: var(--gray); padding-top: 8px; }
.ph { aspect-ratio: 4 / 3; background: var(--green-light); display: grid; place-items: center; color: var(--olive-dark); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }

.about { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.creds li { border-left: 4px solid var(--green); background: var(--tint); padding: 14px 18px; color: var(--olive-dark); }
.creds strong { display: block; font-size: 18px; color: var(--ink); }

.section-dark { background: var(--olive-dark); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark h2::after { background: var(--green-light); }
.contact > p { color: #e6eadf; margin: 16px 0 28px; }
.contact-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-links > * { display: block; text-decoration: none; background: rgba(255,255,255,.07); border: 1px solid rgba(191,206,172,.35); padding: 18px; font-weight: 600; }
.contact-links a:hover { background: rgba(255,255,255,.12); }
.contact-links span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--green-light); margin-bottom: 6px; font-weight: 700; }

.site-footer { background: #2B3024; color: #c9cfc0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; padding-bottom: 20px; }
.footer-inner p { margin: 0; }

@media (max-width: 760px) {
  nav a:not(.nav-cta) { display: none; }
  .brand img { height: 30px; }
  .hero-badge { display: none; }
  .hero-inner { padding-top: 48px; padding-bottom: 56px; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 56px 0; }
}

/* Service groups */
.group-title { font-size: 14px; text-transform: uppercase; letter-spacing: .14em; color: var(--olive-dark); margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 1px solid #dde2d5; }
.section-intro + .group-title { margin-top: 8px; }
h4 { color: var(--olive-dark); font-size: 18px; margin: 0 0 8px; line-height: 1.3; }
.note { color: var(--olive-dark); font-style: italic; margin: 16px 0 0; }
.group-intro { color: var(--olive-dark); max-width: 760px; margin: 0 0 20px; }
