/* ============================================================================
   PERSPICUA — site styles
   ============================================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }

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

.ink-chartreuse { color: var(--chartreuse); }
.ink-stone      { color: var(--stone); }
.ink-sage       { color: var(--sage); }

.eyebrow-light {
  color: var(--lichen);
}

/* ============================================================================
   STICKY GIANT P
   ============================================================================ */
.sticky-p {
  position: fixed;
  right: -4vw;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 34vw;
  max-width: 560px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  transition: opacity 500ms var(--easing-organic), filter 500ms var(--easing-organic);
  mix-blend-mode: multiply;
}
.sticky-p img { width: 100%; height: auto; }

/* On dark sections — switch blend mode so it stays just barely visible */
body.on-dark .sticky-p { mix-blend-mode: screen; opacity: 0.06; }
body.on-image .sticky-p { mix-blend-mode: multiply; opacity: 0.07; }

/* ============================================================================
   TOP NAV
   ============================================================================ */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(244, 239, 227, 0);
  backdrop-filter: blur(0px);
  transition: background-color 250ms var(--easing-organic), backdrop-filter 250ms var(--easing-organic), border-color 250ms var(--easing-organic);
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(244, 239, 227, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--pebble);
}
.topbar .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.topbar .brand img { width: 22px; height: 22px; }
.topbar.scrolled .brand { color: var(--charcoal); }

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav a {
  color: var(--paper);
  opacity: 0.85;
}
.topbar.scrolled .nav a { color: var(--charcoal); }
.nav a:hover { opacity: 1; color: var(--chartreuse); }
.nav-cta {
  border: 1px solid currentColor;
  padding: 8px 14px;
  border-radius: var(--radius-md);
}
.nav-cta:hover {
  background: var(--chartreuse);
  color: var(--charcoal) !important;
  border-color: var(--chartreuse);
  opacity: 1 !important;
}

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: var(--charcoal);
  color: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px 6vw 64px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(26,26,24,0.55) 0%, rgba(26,26,24,0.25) 35%, rgba(26,26,24,0.85) 100%),
    radial-gradient(80% 60% at 20% 80%, rgba(26,26,24,0.6), transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 8.5vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 28px 0 36px;
  max-width: 18ch;
  text-wrap: balance;
}
.hero-h1 .ink-chartreuse { color: var(--chartreuse); font-style: italic; font-weight: 600; }
.hero-lead {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 300;
  line-height: 1.5;
  max-width: 58ch;
  margin: 0 0 40px;
  color: rgba(244, 239, 227, 0.86);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-ghost-light {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(244, 239, 227, 0.4);
}
.btn-ghost-light:hover { border-color: var(--paper); background: rgba(244,239,227,0.06); }

.btn-dark {
  background: var(--charcoal);
  color: var(--paper);
}
.btn-dark:hover { background: var(--ember); }

.hero-meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 80px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  border-top: 1px solid rgba(244, 239, 227, 0.16);
  padding-top: 18px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.eyebrow, .eyebrow-light {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-block;
}

/* ============================================================================
   MARQUEE BAND
   ============================================================================ */
.marquee-band {
  background: var(--chartreuse);
  color: var(--charcoal);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid var(--canopy);
  border-bottom: 1px solid var(--canopy);
}
.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.01em;
  animation: marquee 60s linear infinite;
  padding-left: 28px;
}
.marquee-track .dot {
  color: var(--canopy);
  font-size: 1.4em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================================
   TAGLINE PANEL
   ============================================================================ */
.tagline-panel {
  background: var(--paper);
  padding: clamp(80px, 12vw, 160px) 6vw;
  position: relative;
  z-index: 2;
}
.tagline-wrap {
  max-width: 1280px;
  margin: 0 auto;
  text-align: left;
}
.tagline-wrap .eyebrow { color: var(--stone); margin-bottom: 32px; }
.tagline-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 18ch;
  color: var(--charcoal);
  margin: 0;
  text-wrap: balance;
}
.tagline-headline em {
  font-style: italic;
  font-weight: 600;
  color: var(--chartreuse);
}

/* ============================================================================
   SERVICES
   ============================================================================ */
.services {
  background: var(--paper);
  padding: clamp(64px, 9vw, 120px) 6vw clamp(80px, 12vw, 160px);
  position: relative;
  z-index: 2;
}
.section-header {
  max-width: 1280px;
  margin: 0 auto 64px;
}
.section-header .eyebrow { color: var(--stone); margin-bottom: 18px; }
.section-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  max-width: 22ch;
  text-wrap: balance;
}
.section-sub {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 300;
  line-height: 1.55;
  max-width: 58ch;
  color: var(--charcoal);
  margin: 0;
}
.section-sub-dark { color: rgba(244, 239, 227, 0.78); }
.section-meta {
  margin: 24px 0 0;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--sage);
  letter-spacing: 0.01em;
  max-width: 60ch;
}

.service-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1280px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--pebble);
  border-left: 1px solid var(--pebble);
}
.service-card {
  position: relative;
  padding: 40px 32px 44px;
  border-right: 1px solid var(--pebble);
  border-bottom: 1px solid var(--pebble);
  background: var(--paper);
  transition: background-color 250ms var(--easing-organic);
}
.service-card:hover { background: var(--linen); }
.service-card .card-num {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--chartreuse);
  display: block;
  margin-bottom: 28px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  color: var(--charcoal);
}
.service-card p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0;
  max-width: 38ch;
}

/* ============================================================================
   SECTION SPLITTER (turbines)
   ============================================================================ */
.splitter {
  position: relative;
  width: 100%;
  height: clamp(360px, 55vw, 720px);
  overflow: hidden;
}
.splitter img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.splitter-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(28px, 5vw, 72px) clamp(28px, 6vw, 96px);
}
.splitter-line {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(15px, 1.5vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--charcoal);
  margin: 0;
  max-width: 34ch;
  text-wrap: balance;
}
.splitter-line em { font-style: italic; color: var(--charcoal); opacity: 0.75; }

/* ============================================================================
   APPROACH (dark)
   ============================================================================ */
.approach {
  padding: clamp(80px, 11vw, 160px) 6vw clamp(80px, 12vw, 160px);
  background: var(--charcoal);
  position: relative;
  z-index: 2;
}
.section-header-dark .eyebrow { color: var(--lichen); }
.phase-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(244, 239, 227, 0.18);
}
.phase {
  position: relative;
  padding: 48px 28px 48px 0;
  border-right: 1px solid rgba(244, 239, 227, 0.18);
}
.phase:last-child { border-right: 0; padding-right: 0; }
.phase + .phase { padding-left: 28px; }
.phase-num {
  font-family: var(--font-data);
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--chartreuse);
  display: block;
  margin-bottom: 18px;
}
.phase-label {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 24px;
}
.phase h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--paper);
  max-width: 14ch;
  text-wrap: balance;
}
.phase p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(244, 239, 227, 0.72);
  margin: 0;
  max-width: 38ch;
}

/* ============================================================================
   ABOUT / TEAM
   ============================================================================ */
.about {
  background: var(--paper);
  padding: clamp(80px, 11vw, 160px) 6vw;
  position: relative;
  z-index: 2;
}
.team-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}
.team-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms var(--easing-organic);
}
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-body {
  padding: 28px 28px 32px;
  background: var(--linen);
  flex: 1;
}
.team-shannon .team-body { background: var(--charcoal); color: var(--paper); }
.team-paul .team-body    { background: var(--charcoal); color: var(--paper); }

.team-location {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lichen);
  display: block;
  margin-bottom: 16px;
}
.team-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.team-role {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--sage);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}
.team-bio {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(244, 239, 227, 0.82);
  margin: 0;
  max-width: 42ch;
}
.team-bio-extended {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 42ch;
  animation: bio-fade 320ms var(--easing-organic);
}
.team-bio-extended[hidden] { display: none; }
.team-bio-extended p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(244, 239, 227, 0.74);
  margin: 0;
}
@keyframes bio-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bio-toggle {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(244, 239, 227, 0.28);
  color: var(--paper);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 200ms var(--easing-organic), background-color 200ms var(--easing-organic), color 200ms var(--easing-organic);
}
.bio-toggle:hover {
  border-color: var(--chartreuse);
  color: var(--chartreuse);
}
.bio-toggle-icon {
  display: inline-block;
  width: 14px;
  text-align: center;
  transition: transform 200ms var(--easing-organic);
}
.bio-toggle[aria-expanded="true"] .bio-toggle-icon { transform: rotate(45deg); }

/* ============================================================================
   CTA BAND
   ============================================================================ */
.cta-band {
  background: var(--chartreuse);
  color: var(--charcoal);
  padding: clamp(72px, 10vw, 140px) 6vw;
  position: relative;
  z-index: 2;
}
.cta-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.cta-inner .eyebrow { color: var(--charcoal); margin-bottom: 20px; }
.cta-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  max-width: 18ch;
  text-wrap: balance;
}
.cta-lead {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.5;
  max-width: 58ch;
  margin: 0 0 36px;
}
.cta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  max-width: 760px;
}
.cta-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.45;
}
.cta-list .bullet {
  width: 8px;
  height: 8px;
  background: var(--charcoal);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(2px);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
}
.cta-aside {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--charcoal);
  margin: 0;
}
.cta-aside a { color: var(--charcoal); border-bottom: 1px solid currentColor; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer {
  position: relative;
  background: var(--ember);
  color: var(--paper);
  padding: clamp(64px, 9vw, 120px) 6vw 36px;
  overflow: hidden;
  z-index: 2;
}
.footer-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  z-index: 0;
}
.footer-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(40,40,33,0.55), rgba(26,26,24,0.92));
}
.footer-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.footer-mark {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}
.footer-mark-top { display: block; }
.footer-mark img { width: 44px; height: 44px; margin-bottom: 24px; }
.footer-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-style: italic;
  color: var(--chartreuse);
}
.footer-sub {
  font-family: var(--font-body);
  font-size: 17px;
  color: rgba(244, 239, 227, 0.7);
  max-width: 36ch;
  margin: 0;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-content: space-between;
  text-align: left;
}
.footer-col .eyebrow {
  color: var(--lichen);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  color: rgba(244, 239, 227, 0.82);
  font-size: 14px;
}
.footer-col a:hover { color: var(--chartreuse); }
.footer-col li {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(244, 239, 227, 0.62);
}
.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 239, 227, 0.18);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--sage);
}
.footer-mono { letter-spacing: 0.28em; }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 980px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .phase-grid   { grid-template-columns: 1fr; }
  .phase        { border-right: 0; border-bottom: 1px solid rgba(244,239,227,0.18); padding: 32px 0; }
  .phase:last-child { border-bottom: 0; }
  .phase + .phase { padding-left: 0; }
  .team-grid    { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols  { grid-template-columns: 1fr 1fr; }
  .cta-list     { grid-template-columns: 1fr; }
  .sticky-p     { width: 70vw; left: -22vw; opacity: 0.06; }
  .nav          { gap: 16px; }
  .nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
  .topbar       { padding: 14px 20px; }
  .hero         { padding: 110px 6vw 48px; }
}
