/* ============================================================
   Quintana Construction Group — style.css
   Theme: charcoal / steel + safety-orange. Vanilla CSS, no deps.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---------- Design tokens ---------- */
:root {
  --ink-900: #0f1115;
  --ink-800: #161a20;
  --ink-700: #1c2128;
  --ink-600: #2a323c;
  --steel-500: #5b6672;
  --steel-300: #9aa4b0;
  --paper: #f6f7f9;
  --paper-2: #eef1f4;
  --white: #ffffff;
  --line: #e2e6ea;

  --accent: #f2610c;      /* safety orange */
  --accent-600: #d4530a;
  --accent-100: #fde8dc;
  --blue: #2f6fb0;        /* blueprint blue */
  --ok: #1f9d55;

  --text: #1a1f26;
  --text-soft: #55606c;
  --text-invert: #eef2f6;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(16,19,25,.08), 0 1px 2px rgba(16,19,25,.06);
  --shadow-md: 0 10px 30px -12px rgba(16,19,25,.25);
  --shadow-lg: 0 24px 60px -20px rgba(16,19,25,.35);
  --maxw: 1180px;

  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Segoe UI", system-ui, -apple-system, "Arial Black", sans-serif;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }

.eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  color: var(--accent); text-transform: uppercase; margin-bottom: .75rem;
}
.eyebrow-dark { color: var(--accent-600); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: var(--radius-sm); font-weight: 700; font-size: .95rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(242,97,12,.7); }
.btn-primary:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(242,97,12,.8); }
.btn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,.06); }
.btn-block { width: 100%; padding: 1rem; font-size: 1rem; }

/* ---------- Header / Nav ---------- */
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; }
.brand-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; line-height: 1; }
.brand-sub { font-size: .58rem; font-weight: 600; letter-spacing: .22em; color: var(--accent); margin-top: 3px; }

.site-nav { display: flex; align-items: center; gap: .35rem; }
.nav-link {
  color: #d4dae1; padding: .55rem .85rem; border-radius: 8px; font-weight: 600; font-size: .92rem;
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.cta-nav { background: var(--accent); color: #fff !important; margin-left: .4rem; }
.cta-nav:hover { background: var(--accent-600); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 100% at 80% 0%, #1c2530 0%, var(--ink-900) 55%);
  color: var(--text-invert); padding: clamp(3rem, 7vw, 6rem) 0;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(100% 80% at 70% 10%, #000 30%, transparent 80%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-copy .lead { color: #c3cdd8; font-size: 1.1rem; max-width: 46ch; margin: 1.2rem 0 1.8rem; }
.hero h1 { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.8rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.badge {
  font-size: .8rem; font-weight: 600; color: #d4dae1;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  padding: .4rem .75rem; border-radius: 999px;
}

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--accent); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2rem 24px; text-align: center; }
.stat-num { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1; }
.stat-label { font-size: .82rem; font-weight: 600; opacity: .92; letter-spacing: .04em; }
.stat + .stat { position: relative; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--paper); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-sub { color: var(--text-soft); font-size: 1.05rem; margin-top: .8rem; }

/* ---------- Services cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d7c3b4; }
.svc-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-100); font-size: 1.5rem; margin-bottom: 1.1rem;
}
.svc-card h3 { margin-bottom: .5rem; }
.svc-card p { color: var(--text-soft); font-size: .95rem; }
.svc-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.svc-tag { font-size: .72rem; font-weight: 600; color: var(--accent-600); background: var(--accent-100); padding: .25rem .6rem; border-radius: 6px; }

/* ---------- Projects ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2rem; }
.filter-btn {
  padding: .55rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .88rem;
  color: var(--text-soft); background: #fff; border: 1.5px solid var(--line); transition: .18s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent-600); }
.filter-btn.is-active { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }

.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.project-card {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-thumb { height: 180px; position: relative; display: grid; place-items: center; }
.project-thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.project-cat {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(15,17,21,.72);
  padding: .3rem .7rem; border-radius: 6px;
}
.project-body { padding: 1.2rem 1.3rem 1.4rem; }
.project-body h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.project-meta { color: var(--text-soft); font-size: .88rem; }
.project-value { margin-top: .7rem; font-weight: 700; color: var(--accent-600); font-size: .9rem; }
.is-hidden { display: none !important; }

/* ---------- Process ---------- */
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
.process-step { position: relative; padding: 1.5rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.process-step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--accent);
  display: block; margin-bottom: .6rem;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.process-step p { font-size: .88rem; color: var(--text-soft); }

/* ---------- About (dark) ---------- */
.section-dark { background: var(--ink-900); color: var(--text-invert); }
.section-dark h2 { color: #fff; }
.about-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; }
.about-media { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.about-photo { background: linear-gradient(160deg, #1c2530, #0f1115); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.about-credential { text-align: center; }
.about-credential strong { display: block; font-size: 1.15rem; color: #fff; }
.about-credential span { font-size: .85rem; color: var(--accent); font-weight: 600; letter-spacing: .05em; }
.about-copy p { color: #c3cdd8; margin-bottom: 1rem; max-width: 62ch; }
.about-copy strong { color: #fff; }
.about-list { margin: 1.4rem 0 1.8rem; display: grid; gap: .55rem; }
.about-list li { color: #d4dae1; font-size: .95rem; }

/* ---------- Reviews ---------- */
.rating-summary { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; }
.rating-stars { color: var(--accent); font-size: 1.3rem; letter-spacing: .05em; }
.rating-text { color: var(--text-soft); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review-stars { color: var(--accent); letter-spacing: .05em; margin-bottom: .8rem; }
.review-text { color: var(--text); font-size: .98rem; margin-bottom: 1.2rem; flex: 1; }
.review-author { display: flex; align-items: center; gap: .8rem; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 1rem; }
.review-name { font-weight: 700; font-size: .95rem; }
.review-role { font-size: .82rem; color: var(--text-soft); }
.review-verified { margin-left: auto; font-size: .72rem; color: var(--ok); font-weight: 700; }

/* ---------- Contact / Lead ---------- */
.section-cta { background: linear-gradient(160deg, #16202c 0%, var(--ink-900) 70%); color: var(--text-invert); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-copy h2 { color: #fff; }
.contact-copy p { color: #c3cdd8; margin: 1rem 0 1.5rem; max-width: 46ch; }
.contact-points { display: grid; gap: .7rem; margin-bottom: 1.8rem; }
.contact-points li { color: #d4dae1; }
.contact-direct { display: flex; align-items: center; gap: .8rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); }
.contact-direct span { color: var(--steel-300); }
.contact-direct a { color: var(--accent); font-weight: 800; font-size: 1.3rem; font-family: var(--font-head); }

.lead-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-lg); position: relative; }
.lead-card h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.form-note { font-size: .8rem; color: var(--text-soft); margin-bottom: 1.2rem; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .35rem; color: var(--text); }
input, select, textarea {
  width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: .95rem; color: var(--text); background: #fff; font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-100); }
textarea { resize: vertical; min-height: 96px; }
.err { display: block; color: #d43b2f; font-size: .78rem; margin-top: .3rem; min-height: 1em; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d43b2f; }
.form-privacy { text-align: center; font-size: .8rem; color: var(--text-soft); margin-top: .9rem; }
.btn.is-loading { opacity: .75; pointer-events: none; }

/* Success state */
.lead-success { text-align: center; padding: 1.5rem .5rem; }
.success-check { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 2rem; display: grid; place-items: center; margin: 0 auto 1.2rem; animation: pop .4s ease; }
.lead-success h3 { font-size: 1.6rem; margin-bottom: .7rem; }
.lead-success p { color: var(--text-soft); margin-bottom: 1.5rem; }
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #b3bcc6; padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand-text { color: #fff; }
.footer-brand p { margin-top: .8rem; font-size: .9rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a, .footer-col span { display: block; font-size: .92rem; margin-bottom: .6rem; color: #b3bcc6; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.5rem; font-size: .82rem; color: #7d8894; }
.footer-demo { color: var(--accent); }

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

/* ============================================================
   NEW LAYER — markup added in the redesign
   ============================================================ */

/* ---------- Builder credit strip (very top) ---------- */
.credit-strip {
  background: linear-gradient(90deg, #05080f 0%, #0d141f 50%, #05080f 100%);
  border-bottom: 1px solid rgba(242,97,12,.28);
  color: #b3bcc6; font-size: .78rem;
}
.credit-inner { display: flex; align-items: center; gap: 1rem; min-height: 46px; padding-block: 6px; }
.credit-brand { display: inline-flex; align-items: center; gap: .55rem; flex: none; }
.credit-icon-wrap {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none;
  background: rgba(242,97,12,.12); border: 1px solid rgba(242,97,12,.35); overflow: hidden;
}
.credit-icon { width: 22px; height: 22px; object-fit: contain; }
.credit-text { display: flex; flex-direction: column; line-height: 1.15; }
.credit-text strong { color: var(--accent); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.credit-text span { font-size: .74rem; color: #8e99a5; }
.credit-banner-link { margin-inline: auto; display: block; }
.credit-banner { max-height: 30px; width: auto; opacity: .9; transition: opacity .18s ease; }
.credit-banner-link:hover .credit-banner { opacity: 1; }
.credit-actions { display: flex; align-items: center; gap: .9rem; flex: none; margin-left: auto; }
.credit-link { display: inline-flex; align-items: center; gap: .35rem; color: #9aa4b0; transition: color .15s ease; }
.credit-link:hover { color: var(--accent); }
.credit-socials { display: inline-flex; align-items: center; gap: .3rem; }
.credit-socials a {
  width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; color: #9aa4b0;
  background: rgba(255,255,255,.05); transition: background .15s ease, color .15s ease, transform .15s ease;
}
.credit-socials a:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.btn-inquire {
  display: inline-flex; align-items: center; background: var(--accent); color: #fff;
  font-weight: 700; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .42rem .9rem; border-radius: 999px; transition: background .18s ease, transform .18s ease;
}
.btn-inquire:hover { background: var(--accent-600); transform: translateY(-1px); }

/* ---------- Brand / info row ---------- */
.brand-row { background: #080c14; border-bottom: 1px solid rgba(255,255,255,.07); }
.brand-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.1rem; }
.brand-inner .brand { color: #fff; }
.brand-inner .brand-text { font-size: 1.45rem; }
.brand-inner .brand-sub { font-size: .62rem; }
.info-blocks { display: flex; align-items: center; gap: 2.2rem; }
.info-block { display: flex; align-items: center; gap: .7rem; }
.info-block + .info-block { padding-left: 2.2rem; border-left: 1px solid rgba(255,255,255,.08); }
.info-ico {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: rgba(242,97,12,.12); color: var(--accent); border: 1px solid rgba(242,97,12,.28);
}
.info-copy { display: flex; flex-direction: column; line-height: 1.3; }
.info-copy strong { color: #fff; font-size: .93rem; }
.info-copy span { color: #8e99a5; font-size: .8rem; }

/* ---------- Sticky nav ---------- */
.nav-bar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,14,22,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav-bar.is-stuck { background: rgba(5,8,15,.97); box-shadow: 0 10px 30px -14px rgba(0,0,0,.9); }
.nav-brand-mini {
  display: inline-flex; align-items: center; gap: .5rem; color: #fff;
  font-family: var(--font-head); font-weight: 800; letter-spacing: .06em; font-size: 1rem;
}
.nav-bar .nav-link.is-active { color: #fff; background: rgba(242,97,12,.16); }
.nav-bar .cta-nav.is-active { background: var(--accent-600); }

/* ---------- Hero scene ---------- */
.hero {
  display: flex; align-items: center;
  min-height: clamp(560px, 84vh, 880px);
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(7rem, 12vw, 10rem);
  background: #05080f;
}
.hero-scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.scene-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Photographic backdrop — sits above the SVG scene when present.
   script.js hides it if assets/hero-site.jpg is missing. */
.hero-photo {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%;
  transform: scale(1.04);
  /* Graded down so a bright daylight shot sits inside the dark theme. */
  filter: brightness(.56) contrast(1.12) saturate(.78);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
.hero-photo.is-missing { display: none; }

/* Foreground figure, bottom-right — mirrors the crew placement in the reference.
   Feathered with a radial mask so it melts into the backdrop instead of
   sitting there as a pasted rectangle. */
.hero-figure {
  position: absolute; z-index: 2;
  right: clamp(0px, 3vw, 62px); bottom: clamp(2.5rem, 6vw, 5rem);
  width: clamp(220px, 26vw, 400px);
  height: clamp(320px, 50vh, 520px);
  object-fit: cover; object-position: 70% 24%;
  filter: brightness(.86) contrast(1.06) saturate(.9);

  /* Four overlapping fades, intersected — every edge dissolves to nothing
     inside the box, so there's no rectangle outline anywhere. */
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, #000 40%),
    linear-gradient(to left,   transparent 0%, #000 10%),
    linear-gradient(to top,    transparent 0%, #000 30%),
    linear-gradient(to bottom, transparent 0%, #000 14%);
  mask-image:
    linear-gradient(to right,  transparent 0%, #000 40%),
    linear-gradient(to left,   transparent 0%, #000 10%),
    linear-gradient(to top,    transparent 0%, #000 30%),
    linear-gradient(to bottom, transparent 0%, #000 14%);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-composite: source-in, source-in, source-in;
          mask-composite: intersect, intersect, intersect;
}
.hero-figure.is-missing { display: none; }
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.10) translate3d(-1.2%, -1%, 0); }
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(95deg, rgba(5,8,15,.95) 0%, rgba(5,8,15,.86) 34%, rgba(5,8,15,.42) 62%, rgba(5,8,15,.20) 100%),
    linear-gradient(0deg, #05080f 0%, rgba(5,8,15,0) 26%);
}
.hero-grid-bg { z-index: 2; pointer-events: none; }
.hero-inner { z-index: 3; }

@keyframes sceneDrift { from { transform: translateX(-3%); } to { transform: translateX(3%); } }
@keyframes craneSway  { 0%,100% { transform: rotate(-.25deg); } 50% { transform: rotate(.25deg); } }
@keyframes hookBob    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(14px); } }
.scene-clouds { animation: sceneDrift 34s ease-in-out infinite alternate; }
.scene-crane  { transform-origin: 1159px 560px; animation: craneSway 11s ease-in-out infinite; }
.scene-hook   { animation: hookBob 6.5s ease-in-out infinite; }

/* ---------- Hero copy extras ---------- */
.eyebrow-pill {
  display: inline-flex; align-items: center; margin-bottom: 1.1rem;
  padding: .4rem .95rem; border-radius: 999px;
  background: rgba(242,97,12,.14); border: 1px solid rgba(242,97,12,.4);
  color: #ffb87a; letter-spacing: .12em;
}
.h1-accent { color: var(--accent); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  display: inline-block; margin-right: .45rem; box-shadow: 0 0 0 3px rgba(242,97,12,.18);
}
.badge { display: inline-flex; align-items: center; }

/* ---------- Live jobsite panel ---------- */
.jobsite-panel {
  position: relative;
  background: rgba(8,14,24,.86); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.11); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.jp-head {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .75rem 1.1rem; background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.jp-live {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.jp-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #2ee07a; flex: none;
  animation: jpPulse 1.8s ease-in-out infinite;
}
@keyframes jpPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(46,224,122,.55); }
  70%     { box-shadow: 0 0 0 7px rgba(46,224,122,0); }
}
.jp-id { font-family: monospace; font-size: .68rem; letter-spacing: .08em; color: #6fb2ff; }
.jp-body { padding: 1.1rem; }
.jp-blueprint {
  background: #0b1a2b; border: 1px solid #1d3a5f; border-radius: var(--radius-sm);
  overflow: hidden; margin-bottom: 1.1rem;
}
.jp-blueprint svg { width: 100%; height: auto; display: block; }
.jp-progress { display: grid; gap: .8rem; }
.jp-row { display: flex; justify-content: space-between; align-items: baseline; font-size: .84rem; color: #d4dae1; margin-bottom: .35rem; }
.jp-pct { font-family: monospace; font-weight: 700; color: var(--accent); }
.jp-track { display: block; height: 6px; border-radius: 999px; background: rgba(255,255,255,.09); overflow: hidden; }
.jp-fill {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-600), #ffa64d);
  transition: width 1.1s cubic-bezier(.22,.7,.28,1);
}
.jp-foot {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem;
  margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.09);
  font-size: .8rem; color: #9aa4b0;
}
.jp-foot strong { color: #fff; }
.jp-safe { color: #2ee07a; font-weight: 700; }

/* ---------- Overlapping value cards ---------- */
.value-strip { position: relative; z-index: 5; margin-top: clamp(-6rem, -7vw, -4rem); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; box-shadow: var(--shadow-lg);
  transition: transform .22s ease, box-shadow .22s ease;
}
.value-card:hover { transform: translateY(-6px); }
.value-card h3 { margin-bottom: .5rem; }
.value-card p { color: var(--text-soft); font-size: .93rem; }
.value-ico {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-100); color: var(--accent-600); margin-bottom: 1.1rem;
}
.value-card-featured {
  background: linear-gradient(165deg, #16202c, var(--ink-900)); border-color: rgba(242,97,12,.35);
  color: var(--text-invert); transform: translateY(-14px);
}
.value-card-featured:hover { transform: translateY(-20px); }
.value-card-featured h3 { color: #fff; }
.value-card-featured p { color: #c3cdd8; }
.value-card-featured .value-ico { background: rgba(242,97,12,.16); color: var(--accent); }

/* ---------- Section head rule ---------- */
.head-rule {
  display: block; width: 68px; height: 3px; border-radius: 999px; margin: 1rem auto 0;
  background: linear-gradient(90deg, var(--accent), #ffa64d);
}

/* ---------- Process section (dark) ---------- */
.section-process { background: var(--ink-900); color: var(--text-invert); }
.section-process h2 { color: #fff; }
.section-process .section-sub { color: #c3cdd8; }
.section-process .process-step {
  background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.09); box-shadow: none;
}
.section-process .process-step h3 { color: #fff; }
.section-process .process-step p { color: #b3bcc6; }

/* ---------- About extras ---------- */
.about-photo { position: relative; padding: 0; overflow: hidden; }
.about-photo img { width: 100%; height: auto; object-fit: cover; display: block; }
.photo-frame {
  position: absolute; inset: 14px; border: 2px solid rgba(242,97,12,.55);
  border-radius: var(--radius-sm); pointer-events: none;
}
.about-photo .about-credential {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem 1.1rem;
  background: linear-gradient(0deg, rgba(5,8,15,.95) 25%, rgba(5,8,15,0) 100%);
}
.about-media { position: relative; }
.exp-badge {
  position: absolute; right: -14px; top: -14px; z-index: 3;
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--accent); color: #fff; line-height: 1.1;
  box-shadow: 0 14px 32px -12px rgba(242,97,12,.85); border: 4px solid var(--ink-900);
}
.exp-badge strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 800; }
.exp-badge span { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.about-quote {
  margin: 1.6rem 0 1.8rem; padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--accent); background: rgba(255,255,255,.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #dfe6ed; font-size: 1.02rem; font-style: italic;
}
.about-quote cite { display: block; margin-top: .7rem; font-style: normal; font-weight: 700; font-size: .88rem; color: var(--accent); }

/* ---------- Contact glow ---------- */
.section-cta { position: relative; overflow: hidden; }
.section-cta > .container { position: relative; z-index: 2; }
.cta-glow {
  position: absolute; z-index: 1; top: -30%; right: -10%; width: 780px; height: 780px; pointer-events: none;
  background: radial-gradient(circle, rgba(242,97,12,.22) 0%, rgba(242,97,12,.07) 42%, rgba(242,97,12,0) 70%);
}

/* ---------- Footer socials + builder credit ---------- */
.footer-social { display: flex; gap: .5rem; margin-top: 1.2rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: #b3bcc6;
  background: rgba(255,255,255,.06); transition: background .16s ease, color .16s ease, transform .16s ease;
}
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

.builder-credit {
  text-align: center; max-width: 640px; margin: 3rem auto 0; padding: 2.4rem 24px 2.6rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.builder-mark {
  display: inline-grid; place-items: center; width: 96px; height: 96px; margin-bottom: 1.2rem;
  border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(242,97,12,.35);
  box-shadow: 0 18px 44px -20px rgba(242,97,12,.7); overflow: hidden;
}
.builder-mark img { width: 76px; height: 76px; object-fit: contain; }
.builder-line { color: #fff; font-size: 1.05rem; margin-bottom: .6rem; }
.builder-line strong { color: var(--accent); font-family: var(--font-head); letter-spacing: .02em; }
.builder-sub { color: #8e99a5; font-size: .9rem; max-width: 52ch; margin: 0 auto 1.5rem; }
.btn-ember {
  background: linear-gradient(135deg, var(--accent), #ff8f3c); color: #fff;
  box-shadow: 0 12px 28px -10px rgba(242,97,12,.8);
}
.btn-ember:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(242,97,12,.9); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .info-blocks { gap: 1.4rem; }
  .info-block + .info-block { padding-left: 1.4rem; }
  .info-block-hours { display: none; }
}
@media (max-width: 900px) {
  .hero-figure { display: none; }   /* panel stacks under the copy — no room for the figure */
  .credit-banner-link { display: none; }
  .credit-inner { justify-content: space-between; }
  .brand-inner { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .jobsite-panel { max-width: 520px; width: 100%; margin-inline: auto; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card-featured, .value-card-featured:hover { transform: none; }
  .exp-badge { width: 84px; height: 84px; right: 4px; top: 4px; }
  .exp-badge strong { font-size: 1.6rem; }
}
@media (max-width: 720px) {
  .credit-actions .credit-link { display: none; }
  .info-blocks { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .info-block + .info-block { padding-left: 0; border-left: none; }
  .hero { min-height: auto; }
}
@media (max-width: 560px) {
  .credit-socials { display: none; }
  .value-strip { margin-top: -3rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--ink-900); border-bottom: 1px solid rgba(255,255,255,.08); padding: 1rem 24px 1.5rem;
    gap: .3rem; transform: translateY(-140%); transition: transform .3s ease; box-shadow: var(--shadow-lg);
  }
  .site-nav.is-open { transform: translateY(0); }
  .nav-link { padding: .8rem 1rem; }
  .cta-nav { margin-left: 0; margin-top: .4rem; text-align: center; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scene-clouds, .scene-crane, .scene-hook, .jp-pulse, .hero-photo { animation: none !important; }
  .hero-photo { transform: none; }
  .jp-fill { transition: none; }
}
