/* Home - white field, black type, green + blue accents (same markup)
   Vertical spacing uses --pad-x / --pad-y / --pad-y-tight from css/site.css :root */

.page-home {
  --hl-navy: #043f88; /* headline base; pillar tokens from site.css */
}

/* Nav: solid white (global link/mega hovers in site.css) */
.page-home nav {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--grey-200);
  box-shadow: none;
}

/* --- Hero (deck banner: translucent full-bleed; copy on top; right-side diagram removed in asset crop) --- */
.page-home .hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(var(--nav-height), 11vh, 120px) var(--pad-x) var(--pad-y-tight);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

.hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-banner picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  opacity: 0.3;
  display: block;
  image-rendering: high-quality;
}

/* Very light wash — keeps photo visible and evenly “transparent”, not heavy white */
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 45%,
    rgba(255, 255, 255, 0.04) 100%
  );
  pointer-events: none;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(rgba(0, 0, 0, 0.022) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.28;
  pointer-events: none;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 4;
  background: linear-gradient(
    90deg,
    var(--pillar-safety) 0%,
    var(--pillar-energy) 33.33%,
    var(--pillar-carbon) 66.66%,
    var(--pillar-governance) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.page-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow-wide);
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
  opacity: 0;
  animation: fadeUp 0.7s 0.1s forwards;
}

.page-home .hero-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--blue-accent);
  border-radius: 0;
}

.page-home .hero h1 {
  font-family: var(--sans);
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  max-width: 820px;
  color: var(--hl-navy);
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.75), 0 1px 2px rgba(255, 255, 255, 0.9);
  opacity: 0;
  animation: fadeUp 0.7s 0.22s forwards;
}

.page-home .hero h1 strong {
  font-weight: 600;
}

/* Hero headline — Safety uses global --pillar-safety; light rim keeps it legible on the hero */
.page-home .hero h1 .hl-safety {
  color: var(--pillar-safety);
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(0, 0, 0, 0.2);
}

.page-home .hero h1 .hl-energy {
  color: var(--pillar-energy);
}

.page-home .hero h1 .hl-carbon {
  color: var(--pillar-carbon);
}

.page-home .hero h1 .hl-governance {
  color: var(--pillar-governance);
}

.page-home .hero-sub {
  margin-top: 1.25rem;
  font-size: var(--fs-lead);
  font-weight: 400;
  color: var(--grey-600);
  max-width: 520px;
  line-height: var(--lh-body);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.85);
  opacity: 0;
  animation: fadeUp 0.7s 0.38s forwards;
}

.page-home .hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.7s 0.52s forwards;
}

/* Hero from PPT deck: art fills the hero edge-to-edge (cover); HTML headline on top */
.page-home .hero.hero--ppt-deck {
  justify-content: center;
  padding: clamp(var(--nav-height), 11vh, 120px) var(--pad-x) var(--pad-y-tight);
}

.page-home .hero.hero--ppt-deck .hero-banner img {
  opacity: 0.42;
  object-fit: cover;
  object-position: center center;
  min-width: 100%;
  min-height: 100%;
}

.page-home .hero.hero--ppt-deck .hero-banner::after {
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.2) 44%,
    rgba(255, 255, 255, 0.06) 100%
  );
}

.page-home .hero.hero--ppt-deck::before {
  opacity: 0.22;
}

.page-home .hero.hero--ppt-deck .hero-eyebrow,
.page-home .hero.hero--ppt-deck .hero-sub {
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(255, 255, 255, 1);
}

.page-home .hero.hero--ppt-deck .hero-copy h1 {
  text-shadow: 0 0 48px rgba(255, 255, 255, 0.92), 0 0 20px rgba(255, 255, 255, 0.85),
    0 1px 3px rgba(255, 255, 255, 1);
}

.page-home .hero.hero--ppt-deck .hero-actions {
  margin-top: 2.25rem;
  position: relative;
  z-index: 5;
}

.page-home .btn-home-primary {
  display: inline-flex;
  align-items: center;
  background: var(--black);
  color: #fff !important;
  border-radius: 8px;
  padding: 14px 48px !important;
  min-width: 12rem;
  justify-content: center;
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.35;
}

.page-home .btn-home-primary:hover {
  background: var(--grey-800);
  color: #fff !important;
}

.page-home .btn-home-secondary {
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.35;
  color: var(--grey-600);
}

.page-home .btn-home-secondary:hover {
  color: var(--link-blue);
}

/* --- Pillars (value grid) --- */
.pillars-strip {
  padding: var(--pad-y) var(--pad-x);
  background: var(--page-bg);
  border-top: 1px solid var(--grey-200);
}

.pillars-intro::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 1120px;
  height: 3px;
  margin: 28px auto 0;
  background: linear-gradient(
    90deg,
    var(--pillar-safety) 0%,
    var(--pillar-energy) 33.33%,
    var(--pillar-carbon) 66.66%,
    var(--pillar-governance) 100%
  );
}

.pillars-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto clamp(28px, 4vw, 40px);
}

.pillars-intro h2 {
  font-family: var(--sans);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: var(--lh-heading);
}

.pillars-intro p {
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--grey-600);
  margin-top: 12px;
  line-height: var(--lh-body);
}

.pillars-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-200);
  border-radius: 0;
  overflow: hidden;
  max-width: 1120px;
  margin: 0 auto;
  box-shadow: none;
}

.pillar-card {
  background: var(--white);
  padding: clamp(28px, 3.5vw, 36px) clamp(22px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar-card .pc-word {
  font-family: var(--sans);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: var(--lh-heading);
}

.pillar-card .pc-line {
  width: 32px;
  height: 3px;
  border-radius: 2px;
}

.pillar-card:nth-child(1) .pc-line {
  background: var(--pillar-safety);
}

.pillar-card:nth-child(2) .pc-line {
  background: var(--pillar-energy);
}

.pillar-card:nth-child(3) .pc-line {
  background: var(--pillar-carbon);
}

.pillar-card p {
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--grey-600);
  line-height: var(--lh-body);
}

/* Metrics strip on home - align cell padding with site tokens */
.page-home .metric-item {
  padding: var(--pad-y-tight) clamp(20px, 3vw, 36px);
}

@media (max-width: 900px) {
  .hero-inner {
    text-align: left;
  }

  .hero-banner img {
    object-position: 28% center;
    opacity: 0.26;
  }

  .pillars-three {
    grid-template-columns: 1fr;
    border-radius: 0;
  }
}

@media (max-width: 768px) {
  .page-home .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
