/* ============================================================
   STEEP PEAK CONSTRUCTION CO.
   Premium Dark-Theme Stylesheet
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --gold:         #c49a2a;
  --gold-dark:    #9a7820;
  --gold-dim:     rgba(196, 154, 42, 0.14);
  --gold-border:  rgba(196, 154, 42, 0.28);

  --bg:           #0a0a0a;
  --bg-alt:       #111111;
  --surface:      #141414;
  --surface-raise:#1a1a1a;

  --text:         #f0f0f0;
  --muted:        rgba(240, 240, 240, 0.5);
  --faint:        rgba(240, 240, 240, 0.24);

  --border:       rgba(255, 255, 255, 0.08);
  --border-raise: rgba(255, 255, 255, 0.12);

  --shadow-sm:    0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-md:    0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg:    0 28px 80px rgba(0, 0, 0, 0.6);

  --r-sm:  12px;
  --r-md:  20px;
  --r-lg:  28px;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
}

/* ---------- Layout ---------- */
.container {
  width: min(1160px, calc(100% - 3rem));
  margin: 0 auto;
}

.section {
  padding: clamp(4rem, 7vw, 8rem) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-testimonials {
  background: var(--bg-alt);
}

.section-contact {
  background: var(--bg);
}

/* ---------- Typography Helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.85rem;
}

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

.section-intro {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.section-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.72;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.9rem 1.75rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  white-space: nowrap;
}

.button-primary {
  background: #fff;
  color: #0a0a0a;
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.1);
}

.button-primary:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(255, 255, 255, 0.16);
}

.button-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 8px 28px rgba(196, 154, 42, 0.28);
}

.button-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(196, 154, 42, 0.38);
}

.button-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
}

.button-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-icon {
  flex-shrink: 0;
}

.brand-logo {
  height: 52px;
  width: auto;
  flex-shrink: 0;
  filter: invert(1);
  display: block;
  border-radius: 6px;
}

.brand-name {
  font-size: 0.97rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.brand-name em {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0;
}

/* Nav */
.main-nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.87rem;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: #fff;
}

.header-cta {
  margin-left: 1rem;
  padding: 0.6rem 1.35rem;
  font-size: 0.875rem;
}

/* Hamburger */
.mobile-menu-toggle {
  display: none;
  position: relative;
  width: 2.25rem;
  height: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  z-index: 300;
}

.mobile-menu-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) { top: 0; }
.mobile-menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-toggle span:nth-child(3) { bottom: 0; top: auto; }

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  /* navy gradient backdrop for the wireframe terrain (per reference) */
  background:
    radial-gradient(120% 90% at 50% 38%, #14304d 0%, #0c2138 38%, #06121f 72%, #040912 100%);
  padding: 8rem 0 6rem;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Blueprint grid */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Mountain silhouette in dark */
.hero-mountain {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 20, 20, 0.5) 35%, rgba(6, 6, 6, 0.8) 100%);
  clip-path: polygon(0 100%, 0 80%, 10% 55%, 22% 72%, 34% 36%, 46% 60%, 57% 18%, 68% 50%, 78% 32%, 88% 54%, 96% 38%, 100% 48%, 100% 100%);
}

/* 3D mountain canvas */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;            /* shown only once WebGL initialises */
  touch-action: pan-y;      /* let vertical scroll through on touch */
  /* custom little-mountain cursor (regular cursor size) */
  cursor:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M2%2021%20L9%204%20L13%2012%20L16%208%20L22%2021%20Z%22%20fill%3D%22%23d4ecff%22%20stroke%3D%22%23081322%22%20stroke-width%3D%221.6%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M7.1%207.6%20L9%204%20L10.9%207.6%20Q9%209%207.1%207.6%20Z%22%20fill%3D%22%23ffffff%22%20stroke%3D%22none%22%2F%3E%3C%2Fsvg%3E") 9 4,
    auto;
}
.hero-canvas.grabbing { cursor: grabbing; }

.hero.webgl-on .hero-canvas { display: block; }
.hero.webgl-on .hero-mountain { display: none; }   /* replaced by 3D wireframe */

/* Keep the hero background non-blocking, but let the 3D canvas receive drags */
.hero-bg { pointer-events: none; }
.hero.webgl-on .hero-canvas { pointer-events: auto; }
/* So the canvas behind the copy still gets drags, the overlay grid lets clicks
   fall through and interactive elements re-enable their own pointer events */
.hero.webgl-on .hero-layout { pointer-events: none; }
.hero.webgl-on .hero-layout a,
.hero.webgl-on .hero-layout button,
.hero.webgl-on .hero-stats-card,
.hero.webgl-on .hero-scroll-hint { pointer-events: auto; }

/* "Drag to spin" hint */
.hero-spin-hint {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(160, 210, 245, 0.3);
  border-radius: 999px;
  background: rgba(8, 19, 34, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #bfe1fb;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero.webgl-on .hero-spin-hint { display: inline-flex; opacity: 0.85; animation: spinHintPulse 2.4s ease-in-out 1s 3; }
.hero-spin-hint.hide { opacity: 0 !important; animation: none; }
@keyframes spinHintPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.95; } }

@media (prefers-reduced-motion: reduce) {
  .hero.webgl-on .hero-spin-hint { animation: none; }
}

/* Subtle gold horizon glow */
.hero-glow {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 22%;
  background: radial-gradient(ellipse, rgba(196, 154, 42, 0.055) 0%, transparent 70%);
}

/* Hero layout */
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.5rem;
}

.hero-heading {
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.hero-line1 {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 900;
  color: #fff;
}

.hero-line2 {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 900;
  color: var(--gold);
}

.hero-line3 {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 0.3rem;
}

.hero-sub {
  margin-top: 2rem;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 1.08rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Stats card — glass */
.hero-stats-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  padding: 2rem 2.25rem;
  min-width: 240px;
}

.stats-label {
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.75rem;
}

.stats-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-num {
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-num .counter {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: #fff;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--gold);
  vertical-align: top;
  margin-left: 0.05em;
}

.stat-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.36);
  font-weight: 500;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 1;
  transition: color 0.2s;
}

.hero-scroll-hint:hover {
  color: rgba(255, 255, 255, 0.55);
}

.scroll-label {
  display: block;
}

.scroll-line {
  display: block;
  width: 1.5px;
  height: 2.25rem;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.28));
  animation: scrollBob 2.2s ease-in-out infinite;
}

@keyframes scrollBob {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.55); opacity: 0.4; }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: #111111;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}

.trust-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.55;
  flex-shrink: 0;
}

/* ---------- Services ---------- */
.section-dark {
  background: #060606;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: var(--r-md);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-top-color 0.3s, background 0.3s, transform 0.3s;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(196, 154, 42, 0.045) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  border-top-color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  border-radius: var(--r-sm);
  color: var(--gold);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.44);
  line-height: 1.68;
  position: relative;
  z-index: 1;
}

/* ---------- Projects Bento ---------- */
.projects-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Card 1: large left, cards 2+3 stacked on right */
.projects-bento .project-card:nth-child(1) { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.projects-bento .project-card:nth-child(2) { grid-column: 3; grid-row: 1; }
.projects-bento .project-card:nth-child(3) { grid-column: 3; grid-row: 2; }

.project-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}

.project-img {
  width: 100%;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  transition: transform 0.55s ease;
}

.project-card:hover .project-img {
  transform: scale(1.03);
}

.project-img-1 {
  background:
    linear-gradient(to top, rgba(4,4,4,0.55) 0%, transparent 55%),
    url('images/668332625_122167918934912408_208464123339058009_n.jpg') center/cover no-repeat;
  min-height: 420px;
}

.project-img-2 {
  background:
    linear-gradient(to top, rgba(4,4,4,0.55) 0%, transparent 55%),
    url('images/520163890_122115169694912408_4793695829595602131_n.jpg') center/cover no-repeat;
}

.project-img-3 {
  background:
    linear-gradient(to top, rgba(4,4,4,0.55) 0%, transparent 55%),
    url('images/616082474_17870872275509879_8835361700092224051_n.jpg') center/cover no-repeat;
}

.project-img-4 {
  background:
    linear-gradient(to top, rgba(4,4,4,0.55) 0%, transparent 55%),
    url('images/618561253_122157236516912408_1052853648353389790_n.jpg') center/cover no-repeat;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 4, 4, 0.92) 0%, rgba(4, 4, 4, 0.22) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: background 0.35s;
}

.project-card:hover .project-overlay {
  background: linear-gradient(to top, rgba(4, 4, 4, 0.96) 0%, rgba(4, 4, 4, 0.5) 62%, transparent 100%);
}

.project-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(196, 154, 42, 0.16);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.project-overlay h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.project-overlay p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
  line-height: 1.55;
  max-width: 420px;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 1.75rem;
  right: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(196, 154, 42, 0.08) 100%);
}

.process-step {
  position: relative;
}

.process-num {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.5rem;
  display: inline-block;
  background: var(--bg-alt);
  padding-right: 1rem;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.68;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.75;
  color: var(--gold);
  opacity: 0.26;
  margin-bottom: 0.75rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(240, 240, 240, 0.82);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-card footer {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.testimonial-card footer strong {
  display: block;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.testimonial-card footer span {
  font-size: 0.8rem;
  color: var(--faint);
}

/* ---------- About / CTA Band ---------- */
.section-band {
  background: #0d0d0d;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.band-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.band-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}

.band-copy p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
  margin-bottom: 1.5rem;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(240, 240, 240, 0.58);
}

.check-list li::before {
  content: '';
  display: inline-flex;
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%23c49a2a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 58%;
}

.band-cta-wrap {
  display: flex;
  align-items: stretch;
}

.cta-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-raise);
  border-radius: var(--r-md);
  padding: 2.5rem;
}

.cta-card-heading {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cta-card-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 0.98rem;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--surface-raise);
  border-radius: var(--r-sm);
  color: var(--gold);
  flex-shrink: 0;
}

.contact-details li > span:last-child {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.contact-details strong {
  display: block;
  font-weight: 600;
  color: var(--text);
}

/* Social links */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.social-icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(196, 154, 42, 0.08);
}

/* Form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(240, 240, 240, 0.8);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--surface-raise);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(240, 240, 240, 0.28);
}

.form-group select option {
  background: #1a1a1a;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 154, 42, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--faint);
}

.form-trust {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  background: var(--gold-dim);
  font-size: 0.82rem;
  line-height: 1.45;
}

.form-trust-icon {
  flex: 0 0 auto;
  color: var(--gold);
}

.form-trust strong {
  color: var(--gold);
}

/* ---------- Footer ---------- */
.footer {
  background: #060606;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-tagline {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 1.1rem;
  line-height: 1.7;
}

.footer-col-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.26);
  margin-bottom: 1.25rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links ul li,
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.22);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 2rem;
  }
}

@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-stats-card {
    min-width: auto;
  }

  .stats-list {
    flex-direction: row;
    gap: 2rem;
  }

  .projects-bento {
    grid-template-columns: 1fr 1fr;
  }

  .projects-bento .project-card:nth-child(1) { grid-column: span 2; grid-row: auto; }
  .projects-bento .project-card:nth-child(2) { grid-column: auto;   grid-row: auto; }
  .projects-bento .project-card:nth-child(3) { grid-column: span 2; grid-row: auto; }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .process-grid::before {
    display: none;
  }

  .process-num {
    background: transparent;
    padding-right: 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .band-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 4, 4, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* start the links below the header bar instead of up near the top */
    padding-top: 7rem;
    gap: 2.2rem;
    z-index: 200;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    font-size: 1.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
  }

  .main-nav a:hover {
    color: #fff;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .stats-list {
    flex-direction: column;
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .projects-bento {
    grid-template-columns: 1fr;
  }

  .projects-bento .project-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .trust-items .dot {
    display: none;
  }

  .trust-items span {
    background: rgba(255, 255, 255, 0.04);
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
  }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
  margin-top: 48px;
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--gold-border);
  cursor: pointer;
  background: #11110f;
  outline: none;
}
.gallery-item-wide {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
}
.gallery-item:focus-visible {
  box-shadow: 0 0 0 3px var(--gold);
}
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0));
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gallery-tag {
  align-self: flex-start;
  font-family: 'Inter', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a120a;
  background: var(--gold);
  padding: 3px 9px;
  border-radius: 999px;
}

@media (max-width: 760px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .gallery-item-wide { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .gallery-item-wide { grid-column: span 1; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 6, 0.94);
  padding: 5vh 4vw;
}
.lightbox.is-open { display: flex; }
.lightbox-img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox-caption {
  position: absolute;
  bottom: 3vh;
  left: 0;
  right: 0;
  text-align: center;
  color: #f5f0e6;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--gold-border);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: var(--gold); color: #1a120a; }
.lightbox-close {
  top: 3vh; right: 4vw;
  width: 46px; height: 46px;
  font-size: 1.8rem; line-height: 1;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 2rem; line-height: 1;
}
.lightbox-prev { left: 3vw; }
.lightbox-next { right: 3vw; }
@media (max-width: 600px) {
  .lightbox-nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .lightbox-prev { left: 1vw; }
  .lightbox-next { right: 1vw; }
}

/* ===== Floating Click-to-Call Button ===== */
.call-fab {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0,0,0,0.04);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.call-fab:hover,
.call-fab:focus-visible {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
  color: #fff;
}
.call-fab svg { flex: 0 0 auto; }
.call-fab .call-fab-label { white-space: nowrap; }

/* On small screens, collapse to a compact circular icon so it never covers content */
@media (max-width: 600px) {
  .call-fab {
    padding: 0;
    width: 56px;
    height: 56px;
    justify-content: center;
    border-radius: 50%;
  }
  .call-fab .call-fab-label { display: none; }
}
