/* ============================================
   PRISMIC SOLUTIONS — REBUILT STYLESHEET v2
   Logo palette: gray mountain + green/gold/orange stripe
   Design: Clean professional, Option A
   ============================================ */

:root {
  --gray-900: #2c3035;
  --gray-800: #3d4248;
  --gray-700: #4a5058;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;

  --green:       #5a9e47;
  --green-dark:  #3d7a2e;
  --green-deep:  #2d5c21;
  --green-light: #eaf5e5;
  --gold:        #c8a228;
  --orange:      #d4652a;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius:    6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.11);

  --nav-height:   72px;
  --max-width:    1140px;
  --section-pad:  96px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--gray-900);
  line-height: 1.15;
}
h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 44px); }
h3 { font-size: 22px; }
h4 { font-size: 17px; }
em { font-style: italic; color: var(--green); }

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--green);
  flex-shrink: 0;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header .section-eyebrow { justify-content: center; }
.section-header h2 { margin-bottom: 16px; }
.section-intro { font-size: 18px; color: var(--gray-500); line-height: 1.7; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(90,158,71,0.3);
}
.btn-ghost {
  background: rgba(255,255,255,0.10);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

/* ============ NAVIGATION ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 200;
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 36px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo: triangle only */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img { height: 58px; width: auto; }
.nav-logo-text {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: 0.01em;
  line-height: 1;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.2s;
  transform-origin: left;
}
.nav-links a:hover, .nav-links a.active { color: var(--green-dark); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all 0.3s;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Full bleed Pittsburgh skyline */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/pgh.png') center center / cover no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(28, 36, 26, 0.88) 0%,
    rgba(28, 36, 26, 0.80) 45%,
    rgba(28, 36, 26, 0.40) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 36px;
  width: 100%;
}

.hero-content-inner {
  max-width: 620px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--green);
}

.hero-headline {
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.1;
}
.hero-headline em { color: var(--green); font-style: italic; }

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.80);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Stats strip */
.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.07);
  border-top: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  padding: 28px 0;
  margin-top: auto;
}
.hero-stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  gap: 48px;
}
.hero-stat { color: var(--white); }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}

/* Hero wrapper to allow stat strip at bottom */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-wrapper .hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/pgh.png') center center / cover no-repeat;
  z-index: 0;
}
.hero-wrapper .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(22, 30, 20, 0.90) 0%,
    rgba(22, 30, 20, 0.80) 45%,
    rgba(22, 30, 20, 0.38) 100%
  );
}
.hero-wrapper .hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
}

/* ============ TWO LANE ============ */
.two-lane-section { background: var(--gray-50); }
.two-lane {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.lane {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lane-ops { background: var(--white); border-right: 1px solid var(--gray-200); }
.lane-sustain { background: var(--green-light); }


.lane h3 { color: var(--gray-900); }
.lane p { color: var(--gray-500); line-height: 1.75; font-size: 16px; }
.lane-link {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  transition: gap 0.2s;
}
.lane-ops .lane-link { color: var(--gray-700); }
.lane-sustain .lane-link { color: var(--green-dark); }
.lane-link:hover { gap: 10px; }

/* Sustainability accounting callout strip */
.sustain-acct-strip {
  background: var(--green-deep);
  color: var(--white);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  gap: 20px;
  grid-column: 1 / -1;
}
.sustain-acct-strip p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.sustain-acct-strip strong {
  color: var(--white);
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.sustain-acct-strip .strip-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(90,158,71,0.2);
  padding: 6px 14px;
  border-radius: 20px;
}

/* ============ CAPABILITIES ============ */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cap-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top-width: 4px;
}
.cap-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.cap-card h4 { color: var(--gray-900); font-size: 17px; }
.cap-card p { color: var(--gray-500); font-size: 14px; line-height: 1.65; }

/* ============ WHY PRISMIC ============ */
.why-prismic { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.why-text { display: flex; flex-direction: column; gap: 20px; }
.why-text p { color: var(--gray-500); line-height: 1.8; }

.why-attrs { display: flex; flex-direction: column; gap: 0; }
.attr {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}
.attr:first-child { border-top: 1px solid var(--gray-200); }
.attr-marker {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.attr-marker svg { width: 16px; height: 16px; color: var(--green-dark); }
.attr h4 { color: var(--gray-900); margin-bottom: 5px; font-size: 16px; }
.attr p { color: var(--gray-500); font-size: 14px; line-height: 1.6; }
.attr-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  margin-top: 4px;
}

/* ============ CLIENTS ============ */
.clients { background: var(--gray-50); }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
}
.logo-item {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  transition: background 0.2s;
  min-height: 130px;
}
.logo-item:hover { background: var(--green-light); }
.logo-item img {
  display: block;
  width: 160px !important;
  height: 64px !important;
  max-width: 160px !important;
  max-height: 64px !important;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.2s, opacity 0.2s;
}
.logo-item:hover img { filter: grayscale(0); opacity: 1; }
.logo-item.logo-item-sm img {
  width: 110px !important;
  height: 44px !important;
  max-width: 110px !important;
  max-height: 44px !important;
}
.clients-cta { text-align: center; }

/* ============ TESTIMONIAL CAROUSEL ============ */
.testimonial-section {
  background: var(--green-deep);
  padding: 80px 0;
  overflow: hidden;
}
.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 36px;
}
.testimonial-slides { position: relative; min-height: 180px; }
.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.testimonial-slide.active { opacity: 1; position: relative; }
.testimonial-slide p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--white);
  line-height: 1.45;
  font-style: italic;
}
.testimonial-slide cite {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-style: normal;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.testimonial-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}
.testimonial-dot.active { background: var(--green); }

/* ============ SUSTAINABILITY BAND ============ */
.sustain-band {
  background: var(--gray-50);
  padding: var(--section-pad) 0;
  overflow: hidden;
}
.sustain-band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.sustain-band-text {
  padding: 64px 56px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sustain-band-text p { color: var(--gray-500); line-height: 1.8; }
.sustain-standards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.std-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--green);
  color: var(--green-dark);
}
.sustain-band-image {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}
.sustain-band-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ CTA BAND ============ */
.cta-band {
  background: var(--gray-800);
  padding: 80px 0;
  text-align: center;
}
.cta-band.cta-band-green {
  background: var(--green-deep);
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p {
  color: rgba(255,255,255,0.55);
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--gray-800);
  border-top: 4px solid var(--green);
  padding: 64px 0 0;
  color: rgba(255,255,255,0.65);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 56px;
  padding-bottom: 48px;
}
.footer-brand img {
  height: 36px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-brand-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}
.footer-brand p { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,0.4); }
.footer-nav h5, .footer-contact h5 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-contact p { font-size: 14px; margin-bottom: 8px; }
.footer-contact a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-contact a:hover { color: var(--white); }
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.footer-social a {
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.28);
}
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.page-hero h1 { font-size: clamp(34px, 4vw, 50px); margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: var(--gray-500); max-width: 560px; }

/* ============ SCROLL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.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; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .two-lane { grid-template-columns: 1fr; }
  .lane-ops { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .sustain-band-grid { grid-template-columns: 1fr; }
  .sustain-band-image { min-height: 280px; }
  .hero-stats-inner { flex-wrap: wrap; gap: 28px; }
}
@media (max-width: 640px) {
  :root { --section-pad: 64px; }
  .container { padding: 0 20px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .capabilities-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    gap: 18px;
    box-shadow: var(--shadow-md);
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-cta { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
