/* ===================================================================
   BIG Contracting Inc — Landing page styles
   Palette derived from the company logo (slate blue + sage/cactus green)
   =================================================================== */

:root {
  --ink: #1e262d;
  --slate: #3f5364;
  --slate-d: #2b3a46;
  --slate-l: #6a7d8c;
  --sage: #7d9e63;
  --sage-d: #5f7d49;
  --paper: #f6f5f2;
  --paper-2: #efece6;
  --card: #ffffff;
  --line: #e4e0d8;
  --muted: #64707b;

  --maxw: 1160px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(30, 38, 45, .06), 0 6px 18px rgba(30, 38, 45, .06);
  --shadow-md: 0 10px 30px rgba(30, 38, 45, .12);
  --shadow-lg: 0 24px 60px rgba(30, 38, 45, .22);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --header-h: 74px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; margin: 0; font-weight: 700; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--slate-d); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--slate-d); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--btn-bg);
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }
.btn--lg { padding: 15px 30px; font-size: 1.05rem; }
.btn--sm { padding: 9px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.75); }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; object-fit: contain; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.28rem; color: var(--slate-d); letter-spacing: .01em; }
.brand__name span { color: var(--sage-d); }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a:not(.btn) {
  font-weight: 600; color: var(--slate-d); padding: 9px 14px; border-radius: 8px;
  font-size: .98rem; transition: color .15s ease, background .15s ease;
}
.nav__links a:not(.btn):hover { color: var(--sage-d); background: var(--paper-2); }
.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer;
  padding: 10px; margin: -10px -6px -10px 0;
}
.nav__toggle span { width: 26px; height: 2.5px; background: var(--slate-d); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.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(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero__bg {
  position: absolute; inset: 0;
  background: url("assets/img/116-washington-after.jpg") center 62% / cover no-repeat;
  transform: scale(1.04);
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(24,30,36,.72) 0%, rgba(24,30,36,.35) 40%, rgba(24,30,36,.55) 78%, rgba(24,30,36,.86) 100%),
    linear-gradient(90deg, rgba(24,30,36,.62) 0%, rgba(24,30,36,.1) 60%);
}
.hero__inner { position: relative; padding: 120px 24px 96px; max-width: 820px; }
.hero__eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .28em; font-size: .78rem; font-weight: 700;
  color: #cdd8c6; margin: 0 0 18px; padding-left: 2px;
}
.hero__title { font-family: var(--serif); font-weight: 800; font-size: clamp(2.9rem, 7vw, 5.2rem); letter-spacing: -.01em; text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.hero__title em { font-style: italic; font-weight: 600; color: #dfe7d6; }
.hero__lead { font-size: clamp(1.05rem, 2.1vw, 1.32rem); max-width: 40ch; color: #eef1ee; margin: 20px 0 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 36px; border-top: 1px solid rgba(255,255,255,.22); padding-top: 26px; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; }
.hero__facts span { font-size: .86rem; color: #c8d1cd; }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); color: #fff; animation: bob 2.4s ease-in-out infinite; }
.hero__scroll svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 118px) 0; }
.section--alt { background: var(--paper-2); }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 700; color: var(--sage-d); margin: 0 0 14px; }
.section__title { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.9rem); color: var(--slate-d); letter-spacing: -.005em; }
.section__head { max-width: 640px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__sub { color: var(--muted); font-size: 1.12rem; margin-top: 14px; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__copy .section__title { margin-bottom: 22px; }
.about__copy p { color: #3f4a53; font-size: 1.08rem; }
.about__copy .btn { margin-top: 12px; }
.about__pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about__pillars li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.about__pillars li:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.about__pillars svg { width: 34px; height: 34px; fill: none; stroke: var(--sage-d); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.about__pillars h3 { font-size: 1.12rem; color: var(--slate-d); margin-bottom: 6px; }
.about__pillars p { font-size: .96rem; color: var(--muted); margin: 0; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 4px; background: var(--sage); transform: scaleY(0); transform-origin: top; transition: transform .25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d7d2c8; }
.card:hover::before { transform: scaleY(1); }
.card__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(150deg, #eef2e8, #e3ebd9); margin-bottom: 18px; }
.card__icon svg { width: 27px; height: 27px; fill: none; stroke: var(--sage-d); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.16rem; color: var(--slate-d); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- Projects / Before-After ---------- */
.project { margin-top: clamp(48px, 6vw, 80px); }
.project:first-of-type { margin-top: 0; }
.project__head { max-width: 720px; margin: 0 auto 26px; text-align: center; }
.project__head h3 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--slate-d); }
.project__head p { color: var(--muted); margin-top: 8px; }

.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ba-grid--single { grid-template-columns: 1fr; max-width: 900px; margin-left: auto; margin-right: auto; }

.ba {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); background: #ccc; user-select: none; touch-action: pan-y;
  --pos: 50%;
}
.ba__base { width: 100%; height: auto; display: block; pointer-events: none; }
.ba__before {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba__tag {
  position: absolute; top: 12px; z-index: 3; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px; color: #fff;
  background: rgba(30,38,45,.72); backdrop-filter: blur(3px); pointer-events: none;
}
.ba__tag--b { left: 12px; }
.ba__tag--a { right: 12px; background: rgba(95,125,73,.85); }
.ba__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: rgba(255,255,255,.9); z-index: 4; pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
.ba__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-md);
  display: grid; place-items: center;
}
.ba__grip::before, .ba__grip::after {
  content: ""; position: absolute; width: 0; height: 0; border: 6px solid transparent; top: 50%; transform: translateY(-50%);
}
.ba__grip::before { left: 8px; border-right-color: var(--slate); }
.ba__grip::after { right: 8px; border-left-color: var(--slate); }
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; z-index: 5;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 46px; height: 100%; cursor: ew-resize; }
.ba__range::-moz-range-thumb { width: 46px; height: 300px; border: 0; background: transparent; cursor: ew-resize; }
.ba__range:focus-visible { outline: none; }
.ba__range:focus-visible ~ .ba__line { background: var(--sage); box-shadow: 0 0 0 2px var(--sage); }
.ba figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 26px 14px 12px;
  font-size: .85rem; font-weight: 600; color: #fff; text-align: center; letter-spacing: .04em;
  background: linear-gradient(0deg, rgba(20,26,31,.72), transparent); pointer-events: none;
}

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 16 / 10; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.06); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; background: linear-gradient(135deg, var(--slate-d), var(--slate)); color: #fff; }
.cta-banner__inner { text-align: center; padding: clamp(56px, 8vw, 92px) 24px; }
.cta-banner h2 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.7rem); }
.cta-banner p { color: #d4dbde; font-size: 1.12rem; margin: 14px 0 30px; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact__intro { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }
.contact__list { display: grid; gap: 8px; margin-bottom: 30px; }
.contact__list li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__list svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--sage-d); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact__list span { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.contact__list a { font-weight: 600; color: var(--slate-d); font-size: 1.06rem; }
.contact__list a:hover { color: var(--sage-d); }
.contact__logo { width: 130px; height: auto; margin-top: 10px; opacity: .95; }

.contact__form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-md); }

/* JobDash contact CTA panel */
.contact__cta {
  background: linear-gradient(160deg, #ffffff, #f4f6f0);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(30px, 4vw, 48px); box-shadow: var(--shadow-md); text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100%;
}
.contact__cta-badge {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700;
  color: var(--sage-d); background: #e8efdf; border: 1px solid #d5e3c6; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.contact__cta h3 { font-family: var(--serif); font-size: clamp(1.5rem, 3.2vw, 2.1rem); color: var(--slate-d); margin-bottom: 12px; }
.contact__cta > p { color: var(--muted); font-size: 1.06rem; max-width: 34ch; margin-bottom: 26px; }
.contact__cta .btn { max-width: 320px; }
.contact__or { margin: 20px 0 0; font-size: .98rem; color: var(--muted); }
.contact__or a { color: var(--slate-d); font-weight: 700; }
.contact__or a:hover { color: var(--sage-d); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--slate-d); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(125,158,99,.18); background: #fff; }
.contact__note { margin: 14px 0 0; font-size: .95rem; text-align: center; min-height: 1.2em; }
.contact__note.is-ok { color: var(--sage-d); font-weight: 600; }
.contact__note.is-err { color: #b4462f; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-d); color: #cbd4d9; padding: 56px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); align-items: start; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__mark { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.footer__name { font-family: var(--serif); font-size: 1.25rem; color: #fff; margin: 0; }
.footer__tag { font-size: .85rem; color: #97a6ac; margin: 2px 0 0; letter-spacing: .04em; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__contact a, .footer__contact span { color: #cbd4d9; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; font-size: .88rem; color: #8b9aa1; }
.footer__bottom p { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 12px 16px 20px; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 13px 12px; font-size: 1.05rem; }
  .nav__cta { margin: 8px 0 0; }
  .ba-grid { grid-template-columns: 1fr; max-width: 640px; }
  .cta-banner__actions { flex-direction: column; align-items: stretch; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .about__pillars { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero__inner { padding-top: 96px; padding-bottom: 80px; }
  .field-row { grid-template-columns: 1fr; }
  .hero__facts { gap: 14px 24px; }
}

/* ---------- Motion / a11y ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
