/* Homepage reconciliation. The shared main-site hero and brand remain intact.
   Page-scoped rules leave Governance and the partnership landing page unchanged. */

.page--home .hero-panel__copy .lead {
  margin: 0;
}

.page--home .hero-panel__copy .lead + .lead {
  margin-top: 1rem;
}

.page--home .section-rail {
  padding-top: 1.25rem;
}

.page--home .section-rail__shell {
  padding-top: 1.15rem;
}

.page--home .home-panel {
  --home-inset: clamp(1.5rem, 3vw, 2.8rem);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(250, 247, 240, 0.6));
}

.page--home .home-panel h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.page--home .home-panel h3 {
  margin: 0 0 0.65rem;
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.4;
}

.page--home .home-panel p {
  margin: 0;
  color: rgba(17, 20, 23, 0.76);
  font-size: 0.96rem;
  line-height: 1.75;
}

.page--home .home-panel .home-eyebrow {
  margin-bottom: 0.8rem;
  color: var(--mineral);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.page--home .home-panel .home-eyebrow--brand {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: none;
}

.page--home .home-prose > h2 + p {
  margin-top: 1.3rem;
}

.page--home .home-prose > p + p {
  margin-top: 1rem;
}

.page--home .home-text-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-top: 1.5rem;
  color: #165660;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: underline;
  text-decoration-color: rgba(22, 86, 96, 0.3);
  text-underline-offset: 0.3em;
}

.page--home .home-text-link:hover {
  text-decoration-color: currentColor;
}

.page--home .home-panel a:focus-visible {
  outline: 2px solid var(--mineral);
  outline-offset: 5px;
  border-radius: 2px;
}

.page--home .home-intro {
  padding: var(--home-inset);
}

.page--home .home-intro h2 {
  max-width: none;
  font-size: clamp(2.2rem, 3.1vw, 3rem);
}

.page--home .home-intro__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: 1.7rem;
}

.page--home .home-intro .home-intro__lead {
  color: #173f44;
  font-family: "Newsreader", serif;
  font-size: 1.5rem;
  line-height: 1.4;
}

.page--home .home-authority {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: var(--home-inset);
  background: linear-gradient(130deg, #10282e, #1c454b);
}

.page--home .home-authority h2,
.page--home .home-authority h3 {
  color: #faf5ec;
}

.page--home .home-authority p {
  color: rgba(250, 247, 240, 0.84);
}

.page--home .home-authority .home-eyebrow,
.page--home .home-authority .home-number {
  color: #a2c6c2;
}

.page--home .home-authority .home-authority__statement {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(194, 220, 214, 0.2);
  color: #edddba;
  font-family: "Newsreader", serif;
  font-size: 1.4rem;
  line-height: 1.3;
}

.page--home .home-authority__steps {
  align-self: center;
  margin: 0;
  padding: 0 0 0 clamp(1.5rem, 3vw, 2.8rem);
  border-left: 1px solid rgba(194, 220, 214, 0.2);
  list-style: none;
}

.page--home .home-authority__steps li {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.8rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(194, 220, 214, 0.2);
}

.page--home .home-authority__steps li:first-child {
  padding-top: 0;
  border-top: 0;
}

.page--home .home-authority__steps li:last-child {
  padding-bottom: 0;
}

.page--home .home-number {
  padding-top: 0.25rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.page--home .home-authority__steps p {
  font-size: 0.91rem;
}

.page--home .home-governance__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: var(--home-inset);
}

.page--home .home-benefits {
  padding-left: clamp(1.5rem, 3vw, 2.8rem);
  border-left: 1px solid var(--line-strong);
}

.page--home .home-benefits article + article {
  margin-top: 1.45rem;
  padding-top: 1.45rem;
  border-top: 1px solid var(--line);
}

.page--home .home-deployment {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.5fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: 1.8rem var(--home-inset);
  border-top: 1px solid var(--line);
  background: rgba(22, 94, 104, 0.045);
}

.page--home .home-deployment h3 {
  max-width: 22ch;
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
}

.page--home .home-deployment p {
  font-size: 0.92rem;
}

.page--home .home-core {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.page--home .home-core__art {
  position: relative;
  display: grid;
  align-items: center;
  margin: 0;
  background: #10272d;
}

.page--home .home-core__art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.page--home .home-core__copy {
  padding: var(--home-inset);
}

.page--home .home-core__qualities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.65rem;
  padding-top: 1.45rem;
  border-top: 1px solid var(--line);
}

.page--home .home-core__qualities h3 {
  font-size: 0.91rem;
}

.page--home .home-core__qualities p {
  font-size: 0.87rem;
  line-height: 1.65;
}

.page--home .home-scope__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: var(--home-inset);
}

.page--home .home-scope__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 var(--home-inset);
  border-top: 1px solid var(--line-strong);
}

.page--home .home-scope__grid article {
  padding: 1.65rem 1.6rem;
  border-left: 1px solid var(--line);
}

.page--home .home-scope__grid article:nth-child(3n + 1) {
  padding-left: 0;
  border-left: 0;
}

.page--home .home-scope__grid article:nth-child(3n) {
  padding-right: 0;
}

.page--home .home-scope__grid article:nth-child(n + 4) {
  border-top: 1px solid var(--line);
}

.page--home .home-scope__grid p {
  font-size: 0.91rem;
}

.page--home .home-purpose {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: var(--home-inset);
  background: linear-gradient(120deg, rgba(230, 237, 232, 0.8), rgba(252, 249, 242, 0.82));
}

.page--home .home-purpose h2 {
  max-width: 20ch;
}

.page--home .band-cta {
  margin-top: 0;
}

.page--home .band-cta__grid {
  gap: 2rem;
  padding: 2rem clamp(1.5rem, 3vw, 2.8rem);
}

.page--home .band-cta__copy {
  gap: 0.65rem;
}

.page--home .band-cta__copy h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(1.85rem, 2.5vw, 2.4rem);
  font-weight: 500;
  line-height: 1.12;
}

.page--home .band-cta__copy p {
  max-width: 54rem;
  font-size: 0.96rem;
  line-height: 1.75;
}

@media (max-width: 1080px) {
  .page--home .hero-panel__art {
    min-height: 0;
    aspect-ratio: 1672 / 941;
  }

  .page--home .hero-panel__art::before {
    inset: 0 0 auto;
    width: 100%;
    height: 2.5rem;
    background: linear-gradient(180deg, rgba(17, 34, 39, 0.7), transparent);
  }

  .page--home .home-core {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .page--home .home-core__qualities {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .page--home .home-core__art img {
    object-position: right center;
  }
}

@media (max-width: 760px) {
  .page--home .hero-panel__art {
    min-height: 0;
    padding: 0;
    border-top: 0;
  }

  .page--home .home-panel h2 {
    font-size: clamp(1.9rem, 5.8vw, 2.35rem);
  }

  .page--home .home-intro__body,
  .page--home .home-authority,
  .page--home .home-governance__intro,
  .page--home .home-deployment,
  .page--home .home-core,
  .page--home .home-scope__intro,
  .page--home .home-purpose {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

  .page--home .home-intro h2,
  .page--home .home-purpose h2 {
    max-width: none;
  }

  .page--home .home-benefits,
  .page--home .home-authority__steps {
    padding: 1.5rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }

  .page--home .home-authority__steps {
    border-top-color: rgba(194, 220, 214, 0.2);
  }

  .page--home .home-core {
    gap: 0;
  }

  .page--home .home-core__art {
    order: 2;
  }

  .page--home .home-core__art img {
    position: static;
    max-width: 28rem;
    height: auto;
    margin: 0 auto;
  }

  .page--home .home-core__qualities {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page--home .home-scope__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page--home .home-scope__grid article,
  .page--home .home-scope__grid article:nth-child(3n + 1),
  .page--home .home-scope__grid article:nth-child(3n) {
    padding: 1.4rem;
    border-left: 1px solid var(--line);
  }

  .page--home .home-scope__grid article:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .page--home .home-scope__grid article:nth-child(even) {
    padding-right: 0;
  }

  .page--home .home-scope__grid article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .page--home .band-cta__grid {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 1.3rem;
    padding: 1.8rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .page--home .home-core__qualities,
  .page--home .home-scope__grid {
    grid-template-columns: 1fr;
  }

  .page--home .home-scope__grid article,
  .page--home .home-scope__grid article:nth-child(3n + 1),
  .page--home .home-scope__grid article:nth-child(3n) {
    padding: 1.25rem 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .page--home .home-scope__grid article:first-child {
    border-top: 0;
  }
}
