/* ═══════════════════════════════════════════════════════════
   DESIGN LANGUAGE #7 — INDUSTRIAL EDGE
   Raw, capable, no-nonsense. For construction, trades, contractors.
   ═══════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --bg:         #0F0F0F;
  --bg-alt:     #1A1A1A;
  --bg-card:    #1E1E1E;
  --fg:         #F2F0E6;
  --fg-muted:   rgba(242,240,230,.5);
  --accent:     #E8A630;
  --accent-dim: rgba(232,166,48,.15);
  --border:     rgba(242,240,230,.08);
  --border-light: rgba(242,240,230,.12);

  --serif:  'DM Serif Display', Georgia, serif;
  --sans:   'Inter', -apple-system, sans-serif;
  --mono:   'JetBrains Mono', 'SF Mono', monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 6px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ──────────────────────────────────────────── */
.t-massive {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.t-massive em { font-style: italic; color: var(--accent); }

.t-display {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.t-display em { font-style: italic; color: var(--accent); }

.t-heading {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.t-body {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--fg-muted);
}

.t-mono {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.t-mono--accent { color: var(--accent); }

/* ── Utility ─────────────────────────────────────────────── */
.mb-xs  { margin-bottom: 0.5rem; }
.mb-sm  { margin-bottom: 1rem; }
.mb-md  { margin-bottom: 1.5rem; }
.mb-lg  { margin-bottom: 2rem; }
.mb-xl  { margin-bottom: 3rem; }
.px { padding-left: clamp(1.5rem, 4vw, 3rem); padding-right: clamp(1.5rem, 4vw, 3rem); }

/* ── Loader ──────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__text {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Progress Bar ────────────────────────────────────────── */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--accent); z-index: 9998;
  transition: width 50ms linear;
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.5rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s var(--ease), padding .3s var(--ease);
}
.nav.scrolled {
  background: rgba(15,15,15,.92);
  backdrop-filter: blur(12px);
  padding-top: .75rem; padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.nav__logo {
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg);
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__anchor {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 400;
  color: var(--fg-muted);
  transition: color .3s;
}
.nav__anchor:hover { color: var(--fg); }
.nav__cta {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  padding: .6rem 1.4rem;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius);
  transition: background .3s, transform .2s;
}
.nav__cta:hover { background: #d4952a; transform: translateY(-1px); }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 24px; height: 18px;
  position: relative; z-index: 200;
}
.nav__hamburger span {
  display: block; width: 100%; height: 1.5px;
  background: var(--fg);
  transition: transform .3s var(--ease), opacity .3s;
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}

/* Mobile Menu */
.nav__mobile {
  position: fixed; inset: 0; z-index: 150;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.nav__mobile.open { opacity: 1; visibility: visible; }
.nav__mobile a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 1.5rem;
  opacity: .7;
  transition: opacity .3s;
}
.nav__mobile a:hover { opacity: 1; }
.nav__mobile-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 2rem; color: var(--fg-muted);
  background: none; border: none;
}
.nav__mobile-divider {
  width: 50px; height: 2px;
  background: var(--accent);
  margin: 1rem 0 2rem;
}
.nav__mobile-cta {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius);
  font-weight: 500;
  display: inline-block;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh; min-height: 600px;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(15,15,15,.95) 0%,
    rgba(15,15,15,.7) 35%,
    rgba(15,15,15,.3) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 900px;
}
.hero-tag {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.hero-tag.revealed { opacity: 1; transform: translateY(0); }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.hero-title .word.revealed { opacity: 1; transform: translateY(0); }

.hero-sub {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 550px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s var(--ease) .4s, transform .8s var(--ease) .4s;
}
.hero-sub.revealed { opacity: 1; transform: translateY(0); }

.hero-buttons {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s var(--ease) .6s, transform .8s var(--ease) .6s;
}
.hero-buttons.revealed { opacity: 1; transform: translateY(0); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center;
  padding: .85rem 2rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background .3s, transform .2s;
}
.btn-primary:hover { background: #d4952a; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center;
  padding: .85rem 2rem;
  border: 1px solid var(--border-light);
  color: var(--fg);
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 400;
  border-radius: var(--radius);
  transition: border-color .3s, background .3s;
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* ── Stats Ticker ────────────────────────────────────────── */
.hero-ticker {
  display: flex; gap: 3rem; flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  transition: opacity .8s var(--ease) .8s;
}
.hero-ticker.revealed { opacity: 1; }
.ticker-item {}
.ticker-num {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--fg);
  line-height: 1;
}
.ticker-label {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: .4rem;
}

/* ── Sections ────────────────────────────────────────────── */
.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 4vw, 3rem);
}
.section--alt { background: var(--bg-alt); }
.section__inner { max-width: 1100px; margin: 0 auto; }

/* ── Story ───────────────────────────────────────────────── */
.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.story-split__text .t-body + .t-body { margin-top: 1rem; }
.story-split__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
}
.story-split__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .story-split {
    grid-template-columns: 1fr;
  }
}

/* ── Services Grid ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: border-color .3s, transform .3s var(--ease);
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.service-card__num {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.service-card__title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: .75rem;
}
.service-card__desc {
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Stats Row ───────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: .5rem;
}
@media (max-width: 600px) {
  .stats-row { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  overflow: hidden;
}
.cta-banner__bg {
  position: absolute; inset: 0; z-index: 0;
}
.cta-banner__bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.cta-banner__overlay {
  position: absolute; inset: 0;
  background: rgba(15,15,15,.85);
}
.cta-banner__content {
  position: relative; z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
  cursor: pointer;
  transition: color .3s;
}
.faq__q:hover { color: var(--accent); }
.faq__icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--fg-muted);
  transition: transform .3s var(--ease);
}
.faq__item--open .faq__icon { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq__item--open .faq__a { max-height: 300px; }
.faq__a-inner {
  padding: 0 0 1.5rem;
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.footer__brand {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: .75rem;
}
.footer__desc {
  font-size: .85rem;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 380px;
}
.footer__col-title {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}
.footer__col a {
  display: block;
  font-size: .85rem;
  color: var(--fg-muted);
  margin-bottom: .5rem;
  transition: color .3s;
}
.footer__col a:hover { color: var(--fg); }
.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.footer__copy {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .06em;
  color: var(--fg-muted);
}
.footer__phone {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .04em;
  color: var(--fg-muted);
}
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ── Custom Cursor ───────────────────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 999999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 1px solid rgba(232,166,48,.4);
  transition: width .3s var(--ease), height .3s var(--ease), border-color .3s;
}
.cursor-ring.hover {
  width: 50px; height: 50px;
  border-color: rgba(232,166,48,.7);
  background: rgba(232,166,48,.05);
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}
