/* Grigor Construction — brand colors from the logo: charcoal #343534, gold #B18E4C */
:root {
  --ink: #161716;
  --charcoal: #343534;
  --charcoal-deep: #1f201f;
  --gold: #b18e4c;
  --gold-bright: #c9a55c;
  --cream: #f5f1ea;
  --warm-white: #faf8f5;
  --muted: #a19d94;
  --bg: #121312;
  --surface: #1b1c1b;
  --surface-2: #232423;
  --border: rgba(245, 241, 234, .09);
  --text: #e9e5dc;
  --line: rgba(177, 142, 76, .35);
  --radius: 3px;
  /* Header: the 1080p (1920px) size is the baseline; wider screens scale it up proportionally */
  --nav-h: clamp(76px, 3.958vw, 152px);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: clamp(1160px, 72vw, 1560px);
}

*, *::before, *::after { box-sizing: border-box; }
/* Fluid base size: everything in rem scales from phones (16px) up to 1440p/4K screens (20px) */
html { font-size: clamp(16px, 12.5px + .3vw, 20px); scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + .75rem); }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); color-scheme: dark;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; }
[hidden] { display: none !important; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  letter-spacing: .24em; text-transform: uppercase; font-size: .72rem; font-weight: 600; color: var(--gold-bright);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1.12; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1rem; letter-spacing: .12em; }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 40rem; }
.section { padding: 5.5rem 0; }
.section-dark { background: var(--surface); color: var(--text); border-block: 1px solid var(--border); }
.section-dark .lede { color: rgba(245, 241, 234, .7); }
.section-cream { background: var(--bg); }
.gold-rule { width: 48px; height: 2px; background: var(--gold); margin: 1rem 0 1.5rem; }
.section-head { margin-bottom: 2.75rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn-outline { background: transparent; color: var(--cream); border-color: rgba(255, 255, 255, .45); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-outline-dark { background: transparent; color: var(--text); border-color: rgba(245, 241, 234, .3); }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22, 23, 22, .94); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(177, 142, 76, .22);
}
.nav { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { height: clamp(46px, 2.396vw, 92px); width: auto; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a {
  padding: .5rem .85rem; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(245, 241, 234, .82);
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-links .btn { margin-left: .5rem; padding: .7rem 1.1rem; color: var(--ink); }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius);
  width: 44px; height: 40px; color: var(--cream); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; margin: auto; position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--ink); border-bottom: 1px solid var(--line); padding: .75rem 1.25rem 1.25rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav-links .btn { margin: 1rem 0 0; }
  .brand img { height: 38px; }
}

/* Hero */
.hero {
  position: relative; min-height: min(88vh, 780px); display: flex; align-items: flex-end;
  color: var(--cream); background: var(--ink); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14, 14, 14, .88) 0%, rgba(14, 14, 14, .55) 55%, rgba(14, 14, 14, .2) 100%),
              linear-gradient(0deg, rgba(14, 14, 14, .7) 0%, transparent 45%);
}
.hero-content { position: relative; z-index: 1; padding: 7rem 0 5rem; max-width: 46rem; }
.hero .lede { color: rgba(245, 241, 234, .82); }
.hero h1 span { color: var(--gold-bright); }

/* Capability strip */
.strip { background: var(--surface-2); color: var(--cream); border-top: 2px solid var(--gold); }
.strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip li {
  padding: 1.6rem 1rem; text-align: center; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  border-left: 1px solid rgba(255, 255, 255, .08);
}
.strip li:first-child { border-left: 0; }
.strip strong { display: block; color: var(--gold-bright); font-size: 1.05rem; letter-spacing: .1em; margin-bottom: .2rem; }
@media (max-width: 760px) {
  .strip ul { grid-template-columns: repeat(2, 1fr); }
  .strip li:nth-child(3) { border-left: 0; }
  .strip li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
}

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.service img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.service-body { padding: 1.4rem 1.4rem 1.6rem; }
.service-body .tag { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.service-body h3 { margin: .35rem 0 .5rem; }
.service-body p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.filters button {
  background: transparent; color: rgba(245, 241, 234, .75); border: 1px solid rgba(255, 255, 255, .2);
  padding: .55rem 1rem; border-radius: 999px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
}
.filters button[aria-pressed="true"], .filters button:hover { border-color: var(--gold); color: var(--gold-bright); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; background: #111; }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s, opacity .3s; }
.gallery figure:hover img { transform: scale(1.04); opacity: .85; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .85rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent);
  font-size: .78rem; letter-spacing: .08em; color: var(--cream);
}
.gallery figcaption small { display: block; color: var(--gold-bright); letter-spacing: .2em; text-transform: uppercase; font-size: .62rem; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(10, 10, 10, .94);
  display: flex; align-items: center; justify-content: center; padding: 3rem 1rem;
}
.lightbox img { max-height: 82vh; width: auto; max-width: min(100%, 1400px); border-radius: var(--radius); }
.lightbox p { position: absolute; bottom: 1.25rem; left: 0; right: 0; text-align: center; color: var(--cream); font-size: .85rem; letter-spacing: .08em; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--cream); font-size: 2rem; cursor: pointer; padding: .5rem 1rem;
}
.lightbox .lb-close { top: .75rem; right: .75rem; }
.lightbox .lb-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: .5rem; top: 50%; transform: translateY(-50%); }
.lightbox button:hover { color: var(--gold-bright); }

/* About */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.checks li { padding: .7rem 0 .7rem 2rem; position: relative; border-bottom: 1px solid var(--border); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 14px; height: 2px; background: var(--gold); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2.5rem; } .split img { aspect-ratio: 16 / 10; } }

/* Reviews */
.review-sources { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.review-source {
  display: flex; align-items: center; gap: .75rem; padding: .8rem 1.1rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); font-size: .85rem;
}
.review-source strong { font-size: 1.15rem; }
.stars { color: var(--gold); letter-spacing: .1em; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.review {
  background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; margin: 0;
}
.review blockquote { margin: 0; color: var(--text); font-size: .97rem; }
.review blockquote.clamp { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review footer { margin-top: auto; display: flex; justify-content: space-between; gap: .5rem; font-size: .8rem; color: var(--muted); }
.review footer a { color: var(--gold); font-weight: 600; }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .reviews { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact-list small { display: block; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-bright); }
.contact-list a:hover { color: var(--gold-bright); }
form.estimate { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
form.estimate .full { grid-column: 1 / -1; }
form.estimate label { display: grid; gap: .45rem; font-size: .9rem; font-weight: 600; letter-spacing: .06em; color: var(--cream); }
form.estimate input, form.estimate select, form.estimate textarea {
  width: 100%; padding: .85rem .95rem; background: #2a2b2a; color: #fff;
  border: 1px solid rgba(245, 241, 234, .32); border-radius: var(--radius); font-size: 1rem; font-weight: 400; letter-spacing: 0;
}
form.estimate select option { background: #2a2b2a; color: #fff; }
form.estimate ::placeholder { color: rgba(245, 241, 234, .55); opacity: 1; }
form.estimate input:focus, form.estimate select:focus, form.estimate textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); background: #303130;
}
form.estimate textarea { min-height: 140px; resize: vertical; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (max-width: 520px) { form.estimate { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #0c0d0c; color: rgba(245, 241, 234, .6); padding: 3rem 0; font-size: .85rem; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-footer img { height: clamp(56px, 2rem + 2vw, 84px); width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.site-footer a:hover { color: var(--gold-bright); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media (max-width: 560px) {
  .gallery figure:not(:first-child) figcaption small { display: none; }
  .gallery figcaption { font-size: .72rem; padding: 2rem .7rem .6rem; }
}

/* Process */
.process { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.process li {
  counter-increment: step; position: relative; padding: 1.5rem 1.25rem 1.6rem;
  background: var(--bg); border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: var(--radius);
}
.process li::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: .75rem;
  font-size: 1.6rem; font-weight: 700; color: var(--gold-bright); letter-spacing: .05em;
}
.process h3 { font-size: .9rem; }
.process p { margin: 0; color: var(--muted); font-size: .93rem; }
@media (max-width: 1060px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

.split p:not(.lede) { color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  color: var(--gold-bright); font-size: 1.5rem; font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--gold-bright); }
.faq details p { margin: 0 0 1.4rem; color: var(--muted); max-width: 46rem; }

/* Sticky call button (phones only) */
.call-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: none;
  background: var(--gold); color: var(--ink); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .95rem 1.3rem; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
@media (max-width: 860px) { .call-fab:not([hidden]) { display: inline-flex; } }

/* Scripture */
.verse { margin: 1.75rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 2px solid var(--gold); }
.verse p { margin: 0 0 .4rem; font-size: 1.1rem; font-style: italic; color: var(--text); }
.verse cite { font-style: normal; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright); }
.footer-verse { flex-basis: 100%; margin: .5rem 0 0; text-align: center; font-size: .8rem; font-style: italic; color: rgba(245, 241, 234, .45); }
