/* Priceless Quality Construction — site styles */
:root {
  --bg: #0a0e14;
  --bg-elev: #121820;
  --bg-card: #171e2a;
  --bg-card-2: #1c2433;
  --line: rgba(224, 184, 77, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --gold: #e0b84d;
  --gold-deep: #c9992a;
  --gold-soft: #f0d27a;
  --ink: #f4f1ea;
  --muted: #b7b3a8;
  --muted-2: #8d8a82;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --header-h: 4.5rem;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
html, body { margin: 0; padding: 0; }
html { scroll-padding-top: calc(var(--header-h) + 0.6rem); color-scheme: dark; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: #1a1408;
  padding: 0.6rem 1rem;
  z-index: 1000;
  font-weight: 600;
}
.skip:focus { top: 1rem; }

.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.container-wide { width: min(1280px, calc(100% - 2.5rem)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  background: rgba(10, 14, 20, 0.35);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.header-inner {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  flex-shrink: 0;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-text span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.site-nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
}
.site-nav a:not(.header-call)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 1.5px;
  background: var(--gold);
  transition: right 0.3s var(--ease);
}
.site-nav a:not(.header-call):hover { color: var(--gold-soft); }
.site-nav a:not(.header-call):hover::after { right: 0; }
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--gold);
  color: #1a1408 !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.header-call:hover { background: var(--gold-soft); color: #1a1408 !important; }
.header-call svg { width: 0.95rem; height: 0.95rem; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: rgba(10, 14, 20, 0.72);
  border: 1px solid rgba(224, 184, 77, 0.55);
  color: var(--ink);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.site-header.is-open .nav-toggle span { background: transparent; }
.site-header.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide picture, .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10,14,20,0.55) 0%, rgba(10,14,20,0.28) 35%, rgba(10,14,20,0.72) 100%),
    linear-gradient(90deg, rgba(10,14,20,0.55) 0%, rgba(10,14,20,0.15) 55%, rgba(10,14,20,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 2.5rem));
  padding: 5rem 0 6.5rem;
}
.eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gold);
  margin: 0 0 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 1.4rem;
  max-width: 14ch;
}
.hero h1 span { color: var(--gold); }
.lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 300;
  max-width: 36rem;
  color: #eae6dc;
  margin: 0 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
}
.hero-dots button {
  width: 2.2rem;
  height: 3px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  border-radius: 1px;
}
.hero-dots button.is-active { background: var(--gold); }
.hero-caption {
  position: absolute;
  z-index: 4;
  right: max(1.25rem, calc((100% - 1280px) / 2 + 1rem));
  bottom: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.72);
  max-width: 22rem;
  text-align: right;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.45rem;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-gold {
  background: var(--gold);
  color: #1a1408;
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-soft); color: #1a1408; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #1a1408; }

/* Sections */
section { padding: 5.5rem 0; }
.section-kicker {
  font-family: var(--font-display);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  margin: 0 0 0.6rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 1.25rem;
}
.section-lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 40rem;
  margin: 0 0 2.4rem;
}
.rule {
  width: 3.2rem;
  height: 2px;
  background: var(--gold);
  margin: 0 0 1.5rem;
  border: 0;
}

/* About */
#about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.about-copy p { margin: 0 0 1.1rem; color: var(--muted); }
.about-copy p:first-of-type { color: var(--ink); font-size: 1.15rem; }
.about-points {
  display: grid;
  gap: 0.7rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}
.about-points li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.75rem;
  color: var(--ink);
  align-items: start;
}
.about-points svg { margin-top: 0.35rem; color: var(--gold); }
.about-photo {
  position: relative;
  min-height: 420px;
}
.about-photo picture, .about-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 2px;
}
.about-photo figcaption {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(10,14,20,0.88));
  font-size: 0.78rem;
  color: #ddd8cc;
}
.about-frame {
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}
.about-photo picture,
.about-photo img { position: relative; z-index: 1; }

/* Services */
#services { background: linear-gradient(180deg, #0d121a 0%, var(--bg-elev) 100%); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.service-group {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  padding: 2rem 1.8rem 1.6rem;
  position: relative;
}
.service-group::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.service-group h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.3rem;
}
.service-group .sub {
  color: var(--muted-2);
  font-size: 0.92rem;
  margin: 0 0 1.3rem;
}
.service-group ul { list-style: none; margin: 0; padding: 0; }
.service-group li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line-soft);
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
}
.service-group li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  background: var(--gold);
  flex-shrink: 0;
  transform: rotate(45deg);
  position: relative;
  top: 0.15rem;
}

/* Why */
#why { background: var(--bg); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  padding: 1.6rem 1.35rem 1.5rem;
  min-height: 100%;
}
.why-card .icon {
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  color: var(--gold);
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.55rem;
}
.why-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Gallery */
#gallery { background: var(--bg-elev); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.7rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: #0a0e14;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
  text-align: left;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  min-height: 220px;
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.05); }
.gallery-item figcaption,
.gallery-item .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 0.85rem 0.75rem;
  background: linear-gradient(transparent, rgba(8,10,16,0.92));
  font-size: 0.78rem;
  color: #efe9db;
  line-height: 1.35;
}
.span-8 { grid-column: span 8; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
.row-2 { min-height: 420px; }
.row-2 img { min-height: 420px; }

/* Service area */
#service-area { background: var(--bg); }
.areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.area-card {
  background:
    linear-gradient(180deg, rgba(10,14,20,0.2), rgba(10,14,20,0.82)),
    var(--bg-card);
  border: 1px solid var(--line);
  padding: 2.2rem 2rem;
  min-height: 16rem;
  position: relative;
  overflow: hidden;
}
.area-card h3 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
  letter-spacing: 0.04em;
}
.area-card p { color: var(--muted); margin: 0; max-width: 28rem; }
.area-card .tag {
  display: inline-block;
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

/* Contact */
#contact { background: linear-gradient(180deg, #10161f, #0a0e14); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.contact-details a { color: var(--ink); }
.contact-details a:hover { color: var(--gold-soft); }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.contact-list li { margin: 0 0 1.05rem; }
.contact-list .label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.15rem;
  font-weight: 600;
}
.contact-list a, .contact-list span {
  font-size: 1.15rem;
  font-weight: 500;
}

form.estimate {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  padding: 1.75rem 1.6rem 1.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.field { margin-bottom: 0.9rem; }
.field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #0e131b;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23e0b84d' d='M1 1.5 6 6.5 11 1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 12px 8px;
  padding-right: 2.2rem;
}
.field option { background: #0e131b; color: #f4f1ea; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note { color: var(--muted-2); font-size: 0.85rem; margin: 0.7rem 0 0; }
.form-status {
  margin: 0.8rem 0 0;
  font-size: 0.95rem;
}
.form-status.ok { color: #b7d59a; }
.form-status.err { color: #e8a39a; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 1.6rem 0 2rem;
  color: var(--muted-2);
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}
.footer-inner a { color: var(--muted); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 12, 0.94);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.25rem 4.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: var(--shadow);
}
.lightbox-caption {
  position: absolute;
  left: 0; right: 0; bottom: 1.1rem;
  text-align: center;
  color: #efe9db;
  font-size: 0.92rem;
  padding: 0 3rem;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: var(--gold);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
}
.lightbox-close { top: 0.6rem; right: 0.6rem; font-size: 2.2rem; }
.lightbox-prev { left: 0.3rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0.3rem; top: 50%; transform: translateY(-50%); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .about-grid,
  .services-grid,
  .why-grid,
  .areas,
  .contact-grid,
  .form-row { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .span-8, .span-6, .span-4 { grid-column: span 6; }
  .row-2, .row-2 img { min-height: 280px; }
  .hero-caption { display: none; }
}
@media (max-width: 760px) {
  :root { --header-h: 3.85rem; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(10, 14, 20, 0.97);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1.1rem 1.2rem;
    gap: 0;
    display: none;
    border-bottom: 1px solid var(--line-soft);
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a {
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .site-nav .header-call {
    margin-top: 0.8rem;
    justify-content: center;
    border-bottom: 0;
  }
  .logo-text strong { font-size: 0.9rem; }
  .logo-text span { font-size: 0.58rem; letter-spacing: 0.12em; }
  .span-8, .span-6, .span-4 { grid-column: span 12; }
  .why-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  section { padding: 3.8rem 0; }
  .about-photo, .about-photo img { min-height: 280px; }
  .about-frame { inset: 0.75rem -0.55rem -0.75rem 0.75rem; }
  .container, .container-wide, .hero-content { width: min(var(--max), calc(100% - 1.5rem)); }
}
