/* ============================================================
   PPCL — Precision Pacific Construction
   Design tokens — "Square" visual system (green + gold on white)
   ============================================================ */
:root {
  --navy:        #2e9e5b;   /* primary accent (was blue, now green) */
  --navy-mid:    #257a48;   /* secondary green shade, gradients */
  --navy-dark:   #14151a;   /* near-black, dark surfaces (footer/preloader) */
  --stone:       #f6f7f8;   /* light section background */
  --stone-dark:  #ebedef;   /* light gray-2, card seams / tinted sections */
  --amber:       #f2a922;   /* secondary accent — gold, reserved for quote CTAs */
  --amber-light: #f7c766;
  --steel:       #6c6f75;   /* body copy gray */
  --white:       #ffffff;
  --ink:         #1c1c1e;   /* headings / high-contrast text */

  --font-display: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'Inter', sans-serif;

  --container: 1180px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.5em;
  line-height: 1.18;
  color: var(--ink);
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--navy); outline-offset: 2px;
}

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

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

.mono-label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px 28px;
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn.btn-solid { background: var(--navy); color: var(--white); }
.btn.btn-solid:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
.btn.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--white); }
.btn.btn-amber:hover { background: var(--amber-dark, #d99315); border-color: #d99315; }

.section { padding: 100px 0; }
.section-tight { padding: 60px 0; }
.section-dark { background: var(--navy-dark); color: var(--stone); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head .mono-label { display: block; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* Neutralised legacy texture (kept as a no-op so old class references don't break) */
.blueprint-grid, .blueprint-grid-light { background-image: none; }
.angle-top, .angle-bottom { clip-path: none; margin-top: 0; }

/* ============================================================
   Nav
   ============================================================ */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 200; border-bottom: 1px solid var(--stone-dark); }
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--ink); line-height: 1.05; letter-spacing: -0.01em; }
.brand-text small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 10.5px; letter-spacing: 0.1em; color: var(--steel); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--ink); transition: color 0.2s ease; }
.nav-links a:not(.btn):hover, .nav-links a.active:not(.btn) { color: var(--navy); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    flex-direction: column; align-items: flex-start; gap: 0; max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease; box-shadow: 0 12px 18px rgba(20,21,26,0.08);
  }
  .nav-links.open { max-height: 480px; }
  .nav-links a:not(.btn) { width: 100%; padding: 14px 24px; border-top: 1px solid var(--stone-dark); }
  .nav-links .btn { margin: 14px 24px; }
}

/* ============================================================
   Page header (interior pages) — light banner, not a dark hero
   ============================================================ */
.page-header {
  background: var(--white);
  color: var(--ink);
  padding: 56px 0 38px;
  border-bottom: 1px solid var(--stone-dark);
}
.page-header .mono-label { margin-bottom: 12px; display: block; }
.page-header h1 { color: var(--ink); font-size: clamp(30px, 4.2vw, 44px); margin-bottom: 10px; }
.breadcrumb { font-family: var(--font-body); font-size: 13px; color: var(--steel); }
.breadcrumb a:hover { color: var(--navy); }

/* ============================================================
   Numbered "sheet" index (services / process)
   ============================================================ */
.sheet-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--stone-dark); }
@media (max-width: 900px) { .sheet-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .sheet-list { grid-template-columns: 1fr; } }

.sheet { background: var(--white); padding: 40px 32px; position: relative; transition: background 0.25s ease; }
.sheet:hover { background: var(--stone); }
.sheet .sheet-ref { font-family: var(--font-mono); font-weight: 700; font-size: 12px; color: var(--amber); letter-spacing: 0.1em; margin-bottom: 18px; display: block; }
.sheet h3 { font-size: 20px; margin-bottom: 10px; }
.sheet p { color: var(--steel); font-size: 14.5px; margin-bottom: 0; }
.sheet .sheet-icon { width: 46px; height: 46px; border: 2px solid var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--navy); font-size: 18px; }

/* ============================================================
   Portfolio grid — edge-to-edge images, caption below (no hover reveal)
   ============================================================ */
.portfolio-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.portfolio-filters button {
  font-family: var(--font-body); font-weight: 600; font-size: 13.5px;
  background: none; border: 1px solid var(--stone-dark); color: var(--steel); padding: 10px 18px; border-radius: 30px; cursor: pointer;
  transition: all 0.2s ease;
}
.portfolio-filters button.active, .portfolio-filters button:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--stone-dark); }
@media (min-width: 901px) { .portfolio-grid.bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; } }
.portfolio-grid.bento .project-card { grid-column: auto !important; grid-row: auto !important; }
@media (max-width: 900px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .portfolio-grid { grid-template-columns: 1fr; } }

.project-card { position: relative; background: var(--white); cursor: pointer; }
.project-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-dark) 100%);
  position: relative; overflow: hidden; transition: transform 0.4s ease;
}
.project-thumb .thumb-blocks { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 6px; padding: 20px; opacity: 0.5; }
.project-thumb .thumb-blocks span { flex: 1; background: rgba(255,255,255,0.25); }
.project-card:hover .project-thumb { transform: scale(1.03); }

.project-overlay {
  position: static; background: none; padding: 18px 20px 24px; color: var(--ink);
  display: block;
}
.project-overlay .mono-label { margin-bottom: 8px; font-size: 11px; }
.project-overlay h4 { color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.project-overlay p { font-size: 12.5px; color: var(--steel); margin: 0; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.view-tag { display: none; }

/* ============================================================
   Feature-card row — overlaps the hero's bottom edge
   ============================================================ */
.hero-feature-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  position: relative; z-index: 3; margin-top: -80px; margin-bottom: 40px;
}
@media (max-width: 780px) { .hero-feature-row { grid-template-columns: 1fr; margin-top: -50px; } }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 34px 28px;
  box-shadow: 0 18px 40px rgba(20,21,26,0.12);
}
.feature-card .feature-icon {
  width: 44px; height: 44px; border: 2px solid var(--navy); color: var(--navy); transform: rotate(45deg);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-card .feature-icon i { transform: rotate(-45deg); font-size: 16px; }
.feature-card h4 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { color: var(--steel); font-size: 14px; margin: 0; }

/* ============================================================
   About + quote-panel section (homepage)
   ============================================================ */
.about-quote-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .about-quote-grid { grid-template-columns: 1fr; } }

.about-quote-media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, #26272c 0%, #1c1c1e 55%, var(--navy-dark) 100%);
  min-height: 560px; display: flex; align-items: flex-end; padding: 36px 30px;
}
.quote-mini-form-wrap { position: relative; z-index: 2; width: 100%; }
.quote-mini-form-wrap > .mono-label { color: var(--amber-light); }
.quote-mini-form-wrap h3 { color: var(--white); font-size: 26px; margin-bottom: 22px; }
.quote-mini-form { display: flex; flex-direction: column; gap: 16px; }
.qmf-field input, .qmf-field select, .qmf-field textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.3);
  color: var(--white); font-family: var(--font-body); font-size: 14.5px; padding: 8px 2px; border-radius: 0;
}
.qmf-field textarea { resize: vertical; min-height: 44px; }
.qmf-field input::placeholder, .qmf-field textarea::placeholder { color: rgba(255,255,255,0.55); }
.qmf-field select { color: rgba(255,255,255,0.85); }
.qmf-field select option { color: var(--ink); }
.qmf-field input:focus, .qmf-field select:focus, .qmf-field textarea:focus { outline: none; border-color: var(--amber); }
.quote-mini-form .btn { width: 100%; justify-content: center; margin-top: 6px; }

.about-quote-text h2 { font-size: clamp(26px, 3.6vw, 36px); max-width: 500px; }
.about-quote-text p { color: var(--steel); max-width: 520px; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
@media (max-width: 620px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  background: var(--white); border: 1px solid var(--stone-dark); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; box-shadow: 0 10px 30px rgba(20,21,26,0.05);
}
.stat-card .stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); color: var(--navy); line-height: 1; }
.stat-card .stat-label { font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); margin-top: 8px; }

/* ============================================================
   Team
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--stone-dark); }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .team-grid { grid-template-columns: 1fr; } }

.team-card { background: var(--white); overflow: hidden; }
.team-photo { aspect-ratio: 1; background: linear-gradient(135deg, var(--stone-dark), var(--stone)); display: flex; align-items: center; justify-content: center; position: relative; }
.team-photo .initials { font-family: var(--font-display); font-weight: 800; font-size: 42px; color: var(--navy); opacity: 0.4; }
.team-info { padding: 20px; }
.team-info h4 { font-size: 17px; margin-bottom: 2px; }
.team-info .role { font-family: var(--font-mono); font-weight: 700; font-size: 11.5px; color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; display: block; }
.team-contact { display: flex; gap: 10px; }
.team-contact a { width: 30px; height: 30px; border: 1px solid var(--stone-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--steel); transition: all 0.2s ease; }
.team-contact a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ============================================================
   Timeline (about.php company history)
   ============================================================ */
.timeline { position: relative; padding-left: 40px; border-left: 2px solid var(--stone-dark); }
.timeline-item { position: relative; padding-bottom: 46px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: attr(data-year); position: absolute; left: -40px; top: 0; transform: translateX(-100%);
  font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--amber); white-space: nowrap; padding-right: 20px;
}
.timeline-item::after { content: ''; position: absolute; left: -46px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.timeline-item h4 { font-size: 19px; margin-bottom: 6px; }
.timeline-item p { color: var(--steel); max-width: 560px; }
@media (max-width: 620px) {
  .timeline { padding-left: 20px; }
  .timeline-item::before { position: static; display: block; transform: none; padding-right: 0; margin-bottom: 6px; }
  .timeline-item::after { left: -26px; }
}

/* ============================================================
   Values grid (about.php)
   ============================================================ */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--stone-dark); }
@media (max-width: 780px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { background: var(--white); padding: 36px 30px; }
.value-card .sheet-icon { width: 46px; height: 46px; border: 2px solid var(--amber); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--amber); font-size: 18px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { background: var(--navy); color: var(--white); padding: 70px 0; position: relative; overflow: hidden; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); font-size: clamp(24px, 3.4vw, 34px); max-width: 560px; margin-bottom: 0; }
.cta-band .btn { border-color: var(--white); color: var(--white); }
.cta-band .btn:hover { background: var(--white); color: var(--navy); }

/* ============================================================
   Blog
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: var(--white); border: 1px solid var(--stone-dark); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(20,21,26,0.08); }
.blog-thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--navy-mid), var(--navy-dark)); position: relative; }
.blog-thumb .mono-label { position: absolute; bottom: 14px; left: 16px; color: var(--white); }
.blog-card-body { padding: 22px; }
.blog-meta { font-family: var(--font-mono); font-weight: 600; font-size: 11.5px; color: var(--steel); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.blog-card-body h4 { font-size: 18px; margin-bottom: 10px; }
.blog-card-body p { color: var(--steel); font-size: 14.5px; }
.read-more { font-family: var(--font-mono); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy); border-bottom: 1px solid var(--navy); padding-bottom: 2px; }

/* ============================================================
   Forms (contact + quote)
   ============================================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-mono); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 15px; padding: 13px 14px; border: 1px solid var(--stone-dark);
  border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(46,158,91,0.14);
}
.form-field textarea { resize: vertical; min-height: 130px; }

.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--stone-dark); margin-bottom: 60px; }
@media (max-width: 780px) { .info-strip { grid-template-columns: 1fr; } }
.info-card { background: var(--white); padding: 30px; }
.info-card .mono-label { margin-bottom: 10px; display: block; }
.info-card p { margin-bottom: 4px; color: var(--steel); font-size: 14.5px; }
.info-card a:hover { color: var(--navy); }

.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--stone-dark); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 14.5px; font-family: var(--font-mono); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.footer-grid a, .footer-grid p { display: block; color: rgba(255,255,255,0.65); font-size: 14px; margin-bottom: 12px; }
.footer-grid a:hover { color: var(--amber-light); }
.footer-brand .brand-logo-wrap { display: inline-block; background: var(--white); padding: 8px 14px; border-radius: var(--radius); margin-bottom: 18px; }
.footer-brand .brand-logo-wrap img { height: 32px; }
.footer-brand p { max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 0; }
.footer-social a:hover { background: var(--amber); border-color: var(--amber); color: var(--navy-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; font-family: var(--font-mono); font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ============================================================
   Preloader
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--navy-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-bars { display: flex; gap: 6px; align-items: flex-end; height: 60px; }
.preloader-bars span { width: 10px; background: var(--navy); animation: preloaderBar 0.9s ease-in-out infinite alternate; }
.preloader-bars span:nth-child(1) { height: 20%; animation-delay: 0s; }
.preloader-bars span:nth-child(2) { height: 45%; animation-delay: .1s; background: var(--amber); }
.preloader-bars span:nth-child(3) { height: 70%; animation-delay: .2s; }
.preloader-bars span:nth-child(4) { height: 40%; animation-delay: .3s; background: var(--amber); }
.preloader-bars span:nth-child(5) { height: 90%; animation-delay: .4s; }
@keyframes preloaderBar { from { transform: scaleY(0.4); } to { transform: scaleY(1); } }
.preloader-label { font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* Custom cursor rules kept only as a harmless no-op (elements no longer used in markup) */
.cursor-dot, .cursor-ring { display: none; }

/* ============================================================
   Marquee ticker
   ============================================================ */
.marquee { background: var(--amber); color: var(--ink); overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: 0; padding: 15px 34px; display: inline-flex; align-items: center; gap: 18px; }
.marquee-track span i { font-size: 13px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   HERO — full-bleed photo/video with watch-video pill + feature-row overlap
   ============================================================ */
.hero-video {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  overflow: hidden; background: var(--navy-dark); padding: 0 0 40px;
}
.hero-video-media { position: absolute; inset: 0; z-index: 0; }
.hero-video-media video, .hero-video-media .placeholder-scene {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
}
.hero-video-media::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(20,21,26,0.88) 0%, rgba(20,21,26,0.28) 55%, rgba(20,21,26,0.5) 100%);
}
.hero-video-content { position: relative; z-index: 2; color: var(--white); }
.watch-video-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 12px 20px; border-radius: 3px; border: 1px solid rgba(255,255,255,0.55); color: var(--white);
  background: rgba(255,255,255,0.06); transition: background 0.25s ease;
}
.watch-video-pill:hover { background: rgba(255,255,255,0.16); }
.watch-video-pill i { font-size: 11px; }
.hero-video-eyebrow {
  font-family: var(--font-body); font-weight: 500; font-size: 16px;
  color: rgba(255,255,255,0.8); margin: 18px 0 0; display: block; max-width: 520px;
}
.hero-video-content h1 {
  color: var(--white); font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 6vw, 68px); line-height: 1.12; letter-spacing: -0.01em; max-width: 780px;
}
.hero-video-content h1 em { font-style: normal; font-weight: 800; color: var(--white); }
.hero-video-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

/* Placeholder "construction stages" scene — neutral dark, no video yet */
.placeholder-scene { background: linear-gradient(180deg, #26272c 0%, #1c1c1e 45%, var(--navy-dark) 100%); }
.placeholder-scene .ground { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: #101012; }
.placeholder-scene .stage {
  position: absolute; bottom: 30%; left: 50%; transform: translateX(-50%);
  width: 46%; opacity: 0; animation: stageCycle 12s ease-in-out infinite;
}
.placeholder-scene .stage-foundation { animation-delay: 0s; }
.placeholder-scene .stage-frame { animation-delay: 3s; }
.placeholder-scene .stage-roof { animation-delay: 6s; }
.placeholder-scene .stage-final { animation-delay: 9s; }
@keyframes stageCycle { 0% { opacity: 0; } 4% { opacity: 1; } 22% { opacity: 1; } 26% { opacity: 0; } 100% { opacity: 0; } }
.placeholder-scene .stage-block { fill: none; stroke: rgba(247,199,102,0.85); stroke-width: 2.4; }
.placeholder-scene .stage-fill { fill: rgba(255,255,255,0.08); }
.placeholder-scene .stage-label {
  position: absolute; top: -30px; left: 0; font-family: var(--font-mono); font-weight: 600; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-light);
}

/* ============================================================
   Testimonials — light section, dark text (no dark band)
   ============================================================ */
.testimonial-slider { max-width: 760px; margin: 0 auto; position: relative; text-align: center; }
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; animation: fadeSlide 0.6s ease; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.testimonial-slide .fa-quote-left { font-size: 28px; color: var(--navy); margin-bottom: 22px; }
.testimonial-slide p.quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(19px, 2.4vw, 25px); color: var(--ink); line-height: 1.5; margin-bottom: 26px; }
.testimonial-slide .cite-name { font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; }
.testimonial-slide .cite-role { font-family: var(--font-mono); font-size: 12px; color: var(--steel); }
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.testimonial-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--stone-dark); cursor: pointer; padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}
.testimonial-dots button.active { background: var(--navy); transform: scale(1.3); }

.back-to-top {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; z-index: 300;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); background: var(--navy-mid); }
