/*
Theme Name: Ingle Demolition
Theme URI: https://staging.ingledemolition.com
Author: BCS / Grok Bot
Description: Custom lightweight theme for the Ingle Demolition staging site. Charcoal and safety-orange contractor layout with a hero, services grid, gallery, and quote form.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.1
Text Domain: ingle-demolition
*/

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/oswald-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/oswald-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #141414;
  --charcoal: #1c1c1c;
  --steel: #2a2d31;
  --muted: #5c6570;
  --line: #d9d3c8;
  --paper: #f6f3ee;
  --white: #fffcf8;
  --orange: #e85d04;
  --yellow: #ffb703;
  --yellow-ink: #1a1400;
  --danger: #9b1c1c;
  --ok: #1f6b3a;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  --radius: 6px;
  --max: 1140px;
  --header-h: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #222;
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #c44a03; }
h1, h2, h3, h4 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
  text-transform: uppercase;
}
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 1000;
  background: var(--yellow); color: var(--yellow-ink); padding: 0.5rem 1rem;
}
.skip-link:focus { top: 0.5rem; }

.staging-banner {
  background: var(--yellow);
  color: var(--yellow-ink);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.45rem 1rem;
}
.staging-banner strong { font-weight: 700; }

.site-header {
  background: var(--ink);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--orange);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img, .site-logo svg { height: 48px; width: auto; }
.site-logo .custom-logo { height: 52px; width: auto; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #444;
  color: var(--paper);
  padding: 0.45rem 0.7rem;
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
}
.nav-primary ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; align-items: center; }
.nav-primary a {
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.92rem;
}
.nav-primary a:hover, .nav-primary .current-menu-item > a { color: var(--yellow); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--yellow);
  color: var(--yellow-ink);
  font-family: Oswald, sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
}
.btn:hover { background: #ffc733; color: var(--yellow-ink); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  outline: 2px solid var(--paper);
  outline-offset: -2px;
}
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #c44a03; color: #fff; }

.hero {
  position: relative;
  min-height: clamp(28rem, 78vh, 42rem);
  display: grid;
  align-items: end;
  color: var(--paper);
  background: #111 center / cover no-repeat;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.25) 0%, rgba(10,10,10,0.55) 45%, rgba(10,10,10,0.88) 100%);
  z-index: -1;
}
.hero-inner { padding: 5rem 0 4rem; }
.eyebrow {
  display: inline-block;
  color: var(--yellow);
  font-family: Oswald, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  max-width: 16ch;
  margin-bottom: 0.6rem;
}
.hero .lede {
  font-size: 1.2rem;
  max-width: 42rem;
  color: #ece7de;
  margin-bottom: 1.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.photo-note {
  margin-top: 1.4rem;
  font-size: 0.8rem;
  color: #c9c3b8;
  font-style: italic;
}

.section { padding: 4.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-head h2 span { color: var(--orange); }
.kicker {
  color: var(--orange);
  font-family: Oswald, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 1.15rem 1.15rem 1.3rem; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.card a.more { display: inline-block; margin-top: 0.8rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.card a.more:hover { color: var(--orange); }

.band-dark { background: var(--charcoal); color: #ebe6dc; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: #cfc8bb; }
.why-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.why-item {
  border-top: 3px solid var(--orange);
  padding-top: 1.1rem;
}
.why-item h3 { color: var(--yellow); font-size: 1.2rem; }

.area-box {
  background: var(--white);
  border-left: 6px solid var(--yellow);
  padding: 1.5rem 1.6rem;
  color: #333;
}
.area-box .placeholder-flag {
  display: inline-block;
  background: #fff3c4;
  color: #5a4300;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  margin-bottom: 0.6rem;
}

.cta-band {
  background: linear-gradient(90deg, var(--ink), #2b2008);
  color: #fff;
  padding: 3.2rem 0;
  border-top: 4px solid var(--orange);
}
.cta-band .wrap { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 0.3rem; font-size: 2rem; }
.cta-band p { margin: 0; color: #ddd6c8; }

.page-hero {
  background: var(--ink) center / cover no-repeat;
  color: #fff;
  padding: 4.2rem 0 3rem;
  position: relative;
  isolation: isolate;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.35), rgba(10,10,10,0.78));
  z-index: -1;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; }

.entry { padding: 3.2rem 0 4rem; }
.entry .narrow { max-width: 46rem; }
.prose h2 { margin-top: 1.8em; font-size: 1.6rem; }
.prose h3 { font-size: 1.15rem; }
.service-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 0 0 3rem;
}
.service-row:nth-child(even) { grid-template-columns: 1fr 1.1fr; }
.service-row:nth-child(even) .service-copy { order: -1; }
.service-row img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.placeholder-callout {
  background: #fff3c4;
  border: 1px solid #e4c66a;
  color: #3f320c;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid figure { margin: 0; background: var(--white); border: 1px solid var(--line); }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-grid figcaption { font-size: 0.8rem; color: var(--muted); padding: 0.6rem 0.7rem 0.8rem; font-style: italic; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.2fr; gap: 2.2rem; }
.contact-card {
  background: var(--charcoal);
  color: #ece7de;
  padding: 1.7rem;
}
.contact-card h2 { color: #fff; }
.contact-card dt { font-family: Oswald, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); font-size: 0.8rem; margin-top: 1rem; }
.contact-card dd { margin: 0.2rem 0 0; }
.placeholder { background: #fff3c4; color: #5a4300; font-weight: 700; padding: 0 0.3rem; font-style: italic; }

.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.6rem;
}
.quote-form h2 { margin-top: 0; }
.form-row { margin-bottom: 0.9rem; }
.form-row label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.form-row .req { color: var(--orange); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.7rem;
  border: 1px solid #c9c3b8;
  background: #fff;
  border-radius: 2px;
}
.form-row textarea { min-height: 8rem; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-notice { padding: 0.8rem 1rem; margin-bottom: 1rem; }
.form-notice.ok { background: #e5f5ea; color: var(--ok); border: 1px solid #9fd2b0; }
.form-notice.err { background: #fde8e8; color: var(--danger); border: 1px solid #f0b0b0; }

.site-footer { background: #0e0e0e; color: #c8c2b6; padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer a { color: #eee; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.copyright {
  border-top: 1px solid #2a2a2a;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #8c877d;
}

@media (max-width: 960px) {
  .grid-5, .grid-3, .why-list, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row, .service-row:nth-child(even), .contact-grid, .grid-2, .footer-grid {
    grid-template-columns: 1fr;
  }
  .service-row:nth-child(even) .service-copy { order: 0; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav-primary {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #0e0e0e;
    border-bottom: 3px solid var(--orange);
    padding: 0.5rem 1.25rem 1rem;
  }
  .nav-primary.is-open { display: block; }
  .nav-primary ul { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .hero-inner { padding: 3.5rem 0 2.5rem; }
  .grid-5, .grid-3, .why-list, .gallery-grid { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
}
