/* Kilpatrick's Renovations — shared styles (header, footer, "Built to Last" band).
   Page-specific styles: css/home.css, css/about.css, css/services.css (from the Squarespace
   code blocks) and css/pages.css (Projects, Contact, Thank-you, 404). */

:root {
  --navy: #0d1b2a;
  --navy-mid: #111e2c;
  --navy-deep: #0a1520;
  --gold: #c9a84c;
  --gold-h: #e0bf6a;
  --w75: rgba(255,255,255,.75);
  --w30: rgba(255,255,255,.30);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Barlow', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); background: var(--navy); color: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }

.site-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 600; }
.site-skip:focus { left: 12px; top: 12px; }
.site-sr, .site-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 44px; background: rgba(10,21,32,.96);
  border-bottom: 1px solid rgba(201,168,76,.25);
  backdrop-filter: blur(8px);
}
.site-logo { display: block; flex-shrink: 0; line-height: 0; }
.site-logo img { height: 58px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.site-nav ul a {
  text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--w75); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.site-call {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--gold); color: var(--navy); padding: 11px 20px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; transition: background .2s;
}
.site-call:hover { background: var(--gold-h); }
.site-call svg { width: 15px; height: 15px; }
.site-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.site-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .25s, top .25s; }
.site-toggle span:first-child { top: 17px; }
.site-toggle span:last-child { top: 25px; }
.nav-open .site-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .site-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .site-header { padding: 8px 20px; }
  .site-logo img { height: 48px; }
  .site-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep); border-bottom: 1px solid rgba(201,168,76,.25); padding: 8px 20px 24px;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 14px; }
  .site-nav ul a[aria-current="page"] { color: var(--gold); border-bottom-color: rgba(255,255,255,.07); }
  .site-call { margin-top: 18px; justify-content: center; padding: 15px 20px; font-size: 13px; }
}

/* ---------- "Built to Last" band ---------- */
.site-built { position: relative; overflow: hidden; border-top: 1px solid rgba(201,168,76,.25); }
.site-built-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.site-built::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,21,32,.95) 0%, rgba(13,27,42,.86) 55%, rgba(13,27,42,.72) 100%); z-index: 1; }
.site-built-inner {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 72px 44px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.site-built-title { font-family: var(--serif); font-size: 44px; font-weight: 900; margin: 0 0 22px; line-height: 1.05; }
.site-built-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; color: var(--w75); }
.site-built-list a { text-decoration: none; border-bottom: 1px solid rgba(201,168,76,.4); }
.site-built-list a:hover { color: #fff; border-color: var(--gold); }
.site-quick { background: rgba(10,21,32,.7); border: 1px solid rgba(201,168,76,.35); padding: 32px; }
.site-quick-title { font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.3; margin: 0 0 18px; }
.site-quick-row { display: flex; gap: 0; }
.site-quick input {
  flex: 1; min-width: 0; font: 400 15px var(--sans); padding: 14px 16px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06); color: #fff; border-right: 0;
}
.site-quick input::placeholder { color: rgba(255,255,255,.5); }
.site-quick input:focus { outline: 2px solid var(--gold); outline-offset: -2px; }
.site-quick button {
  font: 600 12px var(--sans); letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer;
  background: var(--gold); color: var(--navy); border: 0; padding: 0 22px; transition: background .2s;
}
.site-quick button:hover { background: var(--gold-h); }
.site-quick-note { font-size: 13px; color: var(--w30); margin: 14px 0 0; line-height: 1.6; }
.site-quick-note a { color: var(--w75); }

@media (max-width: 767px) {
  .site-built-inner { grid-template-columns: 1fr; padding: 52px 22px; gap: 32px; }
  .site-built-title { font-size: 34px; }
  .site-quick { padding: 24px 20px; }
  .site-quick-row { flex-direction: column; }
  .site-quick input { border-right: 1px solid rgba(255,255,255,.25); }
  .site-quick button { padding: 15px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); padding: 32px 44px; text-align: center; border-top: 1px solid rgba(255,255,255,.05); }
.site-footer-nav { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.site-footer-nav a { text-decoration: none; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--w75); }
.site-footer-nav a:hover { color: var(--gold); }
.site-footer p { font-size: 12px; color: var(--w30); margin: 0 0 14px; line-height: 1.7; }
.site-fb { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid rgba(201,168,76,.4); border-radius: 50%; color: var(--gold); }
.site-fb svg { width: 16px; height: 16px; fill: currentColor; }
.site-fb:hover { background: var(--gold); color: var(--navy); }
@media (max-width: 767px) { .site-footer { padding: 28px 22px; } }
