/* ============================================
   Fisk Industries LLC — Roofing
   Palette from logo: charcoal / gold / slate
   ============================================ */
:root {
  --ink: #161616;
  --charcoal: #222426;
  --charcoal-2: #2d3033;
  --gold: #d9a62e;
  --gold-dark: #b8891f;
  --slate: #797f85;
  --paper: #f6f5f1;
  --white: #ffffff;
  --line: #e3e1da;
  --radius: 6px;
  --pitch: 3.5vw; /* roof-pitch angle used on section edges */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, .display {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }

a { color: inherit; }

.wrap { width: min(1120px, 92%); margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-family: 'Barlow', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.9rem;
}

.dark .eyebrow { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.8rem 1.9rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #e6b53f; }

.btn-ghost { border-color: rgba(255,255,255,0.65); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid #000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}
.brand img { height: 52px; width: 52px; border-radius: 4px; }
.brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}
.brand-name small {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #d8d8d4;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-phone {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--ink) !important;
  background: var(--gold);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  border-bottom: none !important;
  white-space: nowrap;
}
.nav-phone:hover { background: #e6b53f; color: var(--ink) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--slate);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.3rem 0.65rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: var(--charcoal);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--pitch)));
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 65%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15,15,15,0.88) 25%, rgba(15,15,15,0.45) 65%, rgba(15,15,15,0.25));
}
.hero-inner {
  position: relative;
  padding: clamp(5rem, 12vw, 9.5rem) 0 clamp(7rem, 14vw, 11rem);
  max-width: 640px;
}
.hero p.lead {
  font-size: 1.2rem;
  color: #e8e6df;
  margin: 1.2rem 0 2rem;
  max-width: 46ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero h1 span { color: var(--gold); }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--paper);
  padding: 0 0 1rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -3.2rem;
  position: relative;
  z-index: 2;
}
.trust-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  box-shadow: 0 8px 24px rgba(20,20,20,0.07);
}
.trust-item strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.trust-item span { font-size: 0.92rem; color: #5b5e61; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head p { color: #55585b; margin-top: 0.9rem; }

.dark {
  background: var(--charcoal);
  color: var(--white);
}
.dark .section-head p { color: #c9c7c0; }

.pitch-top { clip-path: polygon(0 var(--pitch), 100% 0, 100% 100%, 0 100%); padding-top: calc(clamp(3.5rem, 8vw, 6rem) + var(--pitch)); }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20,20,20,0.12); }
.card img { height: 200px; object-fit: cover; width: 100%; }
.card-body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; }
.card-body h3 { margin-bottom: 0.5rem; }
.card-body p { font-size: 0.97rem; color: #55585b; }
.card-more {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  padding: 0 1.4rem 1.3rem;
}

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0,0,0,0.28); }
.checklist { list-style: none; margin-top: 1.4rem; }
.checklist li {
  padding-left: 1.9rem;
  position: relative;
  margin-bottom: 0.85rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.85em;
  height: 0.45em;
  border-left: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- Photo strip ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.strip img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  width: 100%;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid a { border-radius: var(--radius); overflow: hidden; display: block; }
.gallery-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  transition: transform 0.25s ease;
}
.gallery-grid a:hover img { transform: scale(1.04); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  clip-path: polygon(0 var(--pitch), 100% 0, 100% 100%, 0 100%);
  padding: calc(clamp(3.5rem, 8vw, 5.5rem) + var(--pitch)) 0 clamp(3.5rem, 8vw, 5.5rem);
}
.cta-band p { color: #c9c7c0; max-width: 52ch; margin: 0.9rem auto 1.8rem; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem 2rem;
}
.form-card h3 { margin-bottom: 0.4rem; }
.form-card > p { font-size: 0.95rem; color: #55585b; margin-bottom: 1.3rem; }

.field { margin-bottom: 1.05rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  color: #3c3e40;
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.8rem;
  border: 1.5px solid #cfccc3;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217,166,46,0.25);
}
.field textarea { min-height: 110px; resize: vertical; }

.form-note { font-size: 0.85rem; color: #6b6e71; margin-top: 0.8rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #b9b7b0;
  padding: 3.2rem 0 2rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.2rem;
}
.site-footer h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.site-footer a { color: #d8d6cf; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.45rem; }
.footer-license {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: var(--radius);
  padding: 0.35rem 0.8rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.7rem;
}
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #8b8983;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: clamp(3rem, 7vw, 5rem) 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 2vw));
}
.page-hero p { color: #c9c7c0; max-width: 60ch; margin-top: 0.8rem; }

/* ---------- Misc ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; }
.stat-row { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 1.6rem; }
.stat strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat span { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.08em; }

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards, .trust-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .two-col, .form-grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Nav collapses early — 8 items wrap badly on tablets otherwise */
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ink);
    border-bottom: 2px solid var(--gold);
    padding: 0.5rem 4%;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.8rem 0; border-bottom: none; }
  .nav-phone { margin: 0.6rem 0 0.9rem; display: inline-block; }
}

@media (max-width: 680px) {
  .cards, .trust-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { margin-top: -2.4rem; }
  .strip { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Social band (footer) ---------- */
.social-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid #333;
  padding-bottom: 1.6rem;
  margin-bottom: 2.2rem;
}
.social-band h4 { margin-bottom: 0 !important; font-size: 1.25rem !important; }
.btn-fb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink) !important;
  background: var(--gold);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  transition: background 0.15s ease, transform 0.12s ease;
}
.btn-fb:hover { background: #e6b53f; color: var(--ink) !important; transform: translateY(-2px); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,10,10,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
  -webkit-user-drag: none;
}
.lb-btn {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.lb-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 0.8rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.8rem; top: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #cfcdc6;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
@media (max-width: 680px) {
  .lb-btn { width: 44px; height: 44px; font-size: 1.3rem; }
  .lb-prev, .lb-next { display: none; } /* swipe is the navigation on touch */
  .social-band { flex-direction: column; align-items: flex-start; }
}
