/* =========================================================
   Prime Door Repair & Exterior Service
   Industrial / semi-premium — graphite + warm concrete + amber
   Type: Bebas Neue (display) · Barlow Condensed (labels) · Barlow (body)
   ========================================================= */

:root {
  --graphite:  #16181C;
  --graphite-2:#1B1E24;
  --steel:     #20242B;
  --iron:      #39414C;
  --hair:      rgba(255,255,255,.10);
  --hair-2:    rgba(255,255,255,.16);

  --concrete:  #F3EFE8;
  --paper:     #FBF9F5;
  --card:      #FFFFFF;

  --ink:       #191B1F;
  --ink-2:     #3B3F46;
  --muted:     #5E636C;
  --line:      #E4DED2;

  --cream:     #F4F1EB;
  --cream-soft:rgba(244,241,235,.70);
  --cream-dim: rgba(244,241,235,.52);

  --amber:     #E6A231;
  --amber-deep:#CE8A1E;
  --amber-hi:  #F3B85A;
  --amber-tint:rgba(230,162,49,.14);

  --f-display: "Bebas Neue", "Barlow Condensed", sans-serif;
  --f-cond:    "Barlow Condensed", sans-serif;
  --f-body:    "Barlow", system-ui, sans-serif;

  --r:   14px;
  --r-sm: 8px;
  --r-lg: 22px;
  --wrap: 1200px;
  --nav-h: 70px;
  --pad: clamp(20px, 4vw, 40px);

  --shadow: 0 18px 44px -22px rgba(15,17,20,.30);
  --shadow-lg: 0 40px 90px -40px rgba(15,17,20,.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--cream);
  background: var(--graphite);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.02; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--amber); color: var(--graphite);
  padding: 10px 16px; border-radius: var(--r-sm); font-family: var(--f-cond);
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--f-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 13px;
  color: var(--amber-deep);
  margin: 0 0 18px;
}
.eyebrow-light { color: var(--amber-hi); }
.eyebrow::before {
  content: ""; display: inline-block; width: 26px; height: 2px;
  background: currentColor; vertical-align: middle; margin-right: 12px;
  transform: translateY(-3px);
}
.sec-title {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: .008em;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: .96;
  color: var(--ink);
}
.sec-head-light .sec-title, .section-dark .sec-title { color: var(--cream); }
.sec-lead {
  margin: 20px 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.05rem;
}
.section-dark .sec-lead, .sec-head-light .sec-lead { color: var(--cream-soft); }
.sec-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 60px); }

.stars { color: var(--amber); letter-spacing: .12em; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--amber);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--f-cond); font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; font-size: 15px; line-height: 1;
  padding: 14px 24px; border-radius: var(--r-sm); border: 1.6px solid transparent;
  cursor: pointer; transition: transform .18s ease, background .2s, box-shadow .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-lg { padding: 17px 30px; font-size: 16.5px; }
.btn-amber { background: var(--amber); color: #17181b; border-color: var(--amber); box-shadow: 0 10px 26px -12px rgba(230,162,49,.7); }
.btn-amber:hover { background: var(--amber-hi); border-color: var(--amber-hi); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--cream); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.10); border-color: var(--cream); transform: translateY(-2px); }
.btn-dark { background: var(--graphite); color: var(--cream); border-color: var(--graphite); }
.btn-dark:hover { background: var(--steel); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* =================== NAV =================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(12,13,16,.72), rgba(12,13,16,0));
  transition: background .3s, height .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(18,20,24,.94);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--hair);
  box-shadow: 0 12px 30px -20px rgba(0,0,0,.8);
  height: 62px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--wrap); margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); }
.brand-mark { color: var(--amber); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 20px; }
.brand-sub { font-family: var(--f-cond); font-weight: 500; text-transform: uppercase; letter-spacing: .18em; font-size: 10.5px; color: var(--amber-hi); margin-top: 3px; }

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a:not(.btn) {
  font-family: var(--f-cond); font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; font-size: 15px; color: var(--cream-soft);
  transition: color .2s; position: relative;
}
.nav-menu a:not(.btn):hover { color: var(--cream); }
.nav-menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--amber); transition: width .25s;
}
.nav-menu a:not(.btn):hover::after { width: 100%; }
.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; padding: 10px; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2.5px; width: 100%; background: var(--cream); border-radius: 2px; transition: transform .28s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* =================== HERO =================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--graphite);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,16,19,.92) 0%, rgba(15,16,19,.66) 42%, rgba(15,16,19,.28) 100%),
    linear-gradient(0deg, rgba(15,16,19,.85) 0%, rgba(15,16,19,0) 46%);
}
.hero-inner {
  position: relative; z-index: 2;
  flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column; justify-content: center;
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(14px, 4vh, 40px)) var(--pad) clamp(24px, 5vh, 52px);
}
.hero-title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3.5rem, 8.4vw, 6.6rem);
  line-height: .9; letter-spacing: .006em;
  color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.35);
  margin: 0 0 4px;
}
.u-amber { color: var(--amber); position: relative; white-space: nowrap; }
.u-amber::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: .08em; height: .07em;
  background: var(--amber); border-radius: 2px; opacity: .9;
}
.hero-sub {
  margin: 18px 0 0; max-width: 56ch;
  color: rgba(255,255,255,.86); font-size: clamp(1.02rem, 1.6vw, 1.22rem); line-height: 1.55;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-proof { display: flex; align-items: center; gap: 12px; margin: 26px 0 0; font-size: 1rem; color: rgba(255,255,255,.9); }
.hero-proof .stars { font-size: 1.15rem; }
.hero-proof strong { color: #fff; }

.hero-strip {
  position: relative; z-index: 2; flex: 0 0 auto;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(12,13,16,.55); backdrop-filter: blur(4px);
}
.hero-strip-inner { display: flex; align-items: center; gap: 34px; padding-block: 16px; overflow: hidden; }
.hero-strip span {
  font-family: var(--f-cond); font-weight: 600; text-transform: uppercase;
  letter-spacing: .16em; font-size: 14px; color: rgba(255,255,255,.62); white-space: nowrap;
  position: relative;
}
.hero-strip span + span::before {
  content: "•"; position: absolute; left: -20px; color: var(--amber); opacity: .8;
}

/* =================== SECTION BASE =================== */
.section { padding-block: clamp(64px, 9vw, 122px); position: relative; }
.section-light { background: var(--concrete); color: var(--ink); }
.section-paper { background: var(--paper); color: var(--ink); }
.section-dark  { background: var(--graphite); color: var(--cream); }
.section-light + .section-light { padding-top: 0; }

/* =================== SERVICES =================== */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-services { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(24px, 2.6vw, 34px); box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #E7C48A; }
.svc-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--amber-tint); color: var(--amber-deep); margin-bottom: 20px;
}
.svc-ic svg { width: 27px; height: 27px; }
.svc h3 { font-family: var(--f-cond); font-weight: 700; font-size: 1.42rem; letter-spacing: .01em; color: var(--ink); margin-bottom: 10px; }
.svc p { margin: 0; color: var(--muted); font-size: 1rem; }

.svc-note {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: clamp(24px, 3vw, 36px); padding: 20px 26px;
  background: var(--graphite); color: var(--cream); border-radius: var(--r);
  font-family: var(--f-cond); font-weight: 500; font-size: 1.12rem; letter-spacing: .01em;
}
.svc-note .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); flex: none; box-shadow: 0 0 0 5px var(--amber-tint); }
.svc-note a { color: var(--amber-hi); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .95rem; margin-left: auto; }
.svc-note a:hover { color: var(--amber); }

/* =================== STATS BAND =================== */
.stats-band { background: #101216; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding-block: clamp(40px, 5vw, 60px); }
.grid-stats { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 8px 10px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 1px; background: var(--hair); }
.stat-num { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 5.4vw, 3.8rem); line-height: 1; color: var(--amber); letter-spacing: .01em; }
.stat-star { font-size: .55em; color: var(--amber-hi); margin-left: 2px; }
.stat-label { display: block; margin-top: 8px; font-family: var(--f-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 13.5px; color: var(--cream-soft); }

/* =================== PROCESS =================== */
.grid-process { grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding-top: 24px; border-top: 2px solid var(--line); }
.step-no { font-family: var(--f-display); font-size: 2.5rem; color: var(--amber); line-height: 1; display: block; margin-bottom: 12px; }
.step h3 { font-family: var(--f-cond); font-weight: 700; font-size: 1.32rem; color: var(--ink); margin-bottom: 8px; letter-spacing: .01em; }
.step p { margin: 0; color: var(--muted); font-size: 1rem; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 44px; height: 2px; background: var(--amber); }

/* =================== GALLERY =================== */
.gallery { columns: 3; column-gap: 16px; }
.shot {
  break-inside: avoid; margin: 0 0 16px; position: relative; overflow: hidden;
  border-radius: var(--r); border: 1px solid var(--hair); background: var(--steel);
  box-shadow: var(--shadow);
}
.shot img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.shot:hover img { transform: scale(1.05); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px;
  font-family: var(--f-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .07em;
  font-size: 13px; color: #fff;
  background: linear-gradient(0deg, rgba(10,11,13,.86), rgba(10,11,13,0));
}
.shot figcaption::before { content: ""; display: inline-block; width: 12px; height: 2px; background: var(--amber); vertical-align: middle; margin-right: 8px; transform: translateY(-2px); }

/* =================== REVIEWS =================== */
.reviews { columns: 3; column-gap: clamp(16px, 2vw, 24px); }
.review {
  break-inside: avoid; margin: 0 0 clamp(16px, 2vw, 24px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 26px 22px; box-shadow: var(--shadow);
}
.review .stars { font-size: 1.05rem; }
.review blockquote { margin: 14px 0 18px; color: var(--ink-2); font-size: 1.02rem; line-height: 1.6; }
.review figcaption { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); padding-top: 14px; }
.rv-name { font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1.02rem; color: var(--ink); }
.rv-meta { font-size: .84rem; color: var(--muted); }
.reviews-cta { text-align: center; margin-top: clamp(30px, 4vw, 44px); }

/* =================== CONTACT =================== */
.grid-contact { grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.contact-copy { align-self: center; }
.area-list { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 12px 26px; max-width: 460px; }
.area-list li { font-family: var(--f-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 15px; color: var(--cream); display: flex; align-items: center; gap: 9px; }
.area-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--amber-tint); flex: none; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.google-badge { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border: 1px solid var(--hair-2); border-radius: 50px; background: rgba(255,255,255,.03); font-size: .98rem; color: var(--cream-soft); transition: border-color .2s, background .2s; }
.google-badge:hover { border-color: var(--amber); background: rgba(230,162,49,.08); }
.google-badge strong { color: #fff; }
.contact-map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--hair-2); min-height: 380px; box-shadow: var(--shadow-lg); }
.contact-map iframe { width: 100%; height: 100%; min-height: 380px; display: block; filter: grayscale(.25) contrast(1.03); }

/* =================== FINAL CTA =================== */
.final-cta { position: relative; overflow: hidden; padding-block: clamp(72px, 10vw, 128px); text-align: center; background: var(--graphite); }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.final-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,16,19,.9), rgba(15,16,19,.78)); }
.final-inner { position: relative; z-index: 2; }
.final-inner h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .95; color: #fff; letter-spacing: .01em; }
.final-inner p { margin: 16px auto 32px; max-width: 46ch; color: rgba(255,255,255,.85); font-size: 1.15rem; }

/* =================== FOOTER =================== */
.footer { background: #101216; color: var(--cream-soft); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--hair); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-bottom: 34px; }
.footer .brand { color: var(--cream); }
.footer-brand { max-width: 380px; }
.footer-brand .brand-sub { color: var(--amber-hi); }
.footer-tag { margin: 16px 0 0; color: var(--cream-soft); font-size: .98rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 26px; align-content: start; }
.footer-nav a { font-family: var(--f-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 14.5px; color: var(--cream-soft); transition: color .2s; }
.footer-nav a:hover { color: var(--amber); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px; border-top: 1px solid var(--hair); font-size: .86rem; color: var(--cream-dim); }

/* =================== REVEAL =================== */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.grid [data-reveal]:nth-child(2) { transition-delay: .07s; }
.grid [data-reveal]:nth-child(3) { transition-delay: .14s; }
.grid [data-reveal]:nth-child(4) { transition-delay: .21s; }
.grid [data-reveal]:nth-child(5) { transition-delay: .10s; }
.grid [data-reveal]:nth-child(6) { transition-delay: .17s; }

/* =================== RESPONSIVE =================== */
@media (max-width: 960px) {
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .grid-process { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .gallery { columns: 2; }
  .reviews { columns: 2; }
  .grid-contact { grid-template-columns: 1fr; }
  .contact-map { min-height: 320px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(17,19,23,.98); backdrop-filter: blur(12px);
    padding: 14px var(--pad) 22px; border-bottom: 1px solid var(--hair);
    box-shadow: 0 30px 50px -24px rgba(0,0,0,.8);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--hair); }
  .nav-menu a:not(.btn)::after { display: none; }
  .nav-cta { margin: 12px 0 0; }
  .hero-strip { display: none; }
  .hero-cta .btn { flex: 1 1 auto; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .grid-services { grid-template-columns: 1fr; }
  .grid-process { grid-template-columns: 1fr; }
  .grid-stats { grid-template-columns: repeat(2, 1fr); gap: 30px 12px; }
  .stat:nth-child(3)::before, .stat:nth-child(2)::before { content: none; }
  .gallery { columns: 2; column-gap: 12px; }
  .shot { margin-bottom: 12px; }
  .reviews { columns: 1; }
  .area-list { grid-template-columns: repeat(2, auto); }
  .contact-actions .btn, .hero-cta .btn { width: 100%; }
  .footer-base { justify-content: flex-start; }
}

/* =================== MOTION SAFETY =================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .shot img, .btn, .svc, .card { transition: none !important; }
  * { animation-duration: .001ms !important; }
}
