/* Homepage-only presentation. UX Builder owns the saved copy, columns, and images. */
.home #header .header-main { background: #f8f6f1; }
.home .lp-home-heading__line--end { margin-bottom: 20px; }
.home .lp-heading-accent { color: #9a733f; font-weight: 500; }
.home .lp-index-label,
.home .lp-eyebrow { margin-bottom: 14px; font-size: 1rem; font-weight: 700; letter-spacing: .08em; line-height: 1.5; }
.home .lp-index-label { color: var(--lp-green); }
.home .lp-section-heading { align-items: end; gap: 24px; margin-bottom: 28px; }
.home .lp-section-heading__content { min-width: 0; }
.home .lp-section-heading__aside { max-width: 430px; }
.home .lp-legal-preview--v2 .lp-section-heading__content { flex: 1 1 60%; }
.home .lp-legal-preview--v2 .lp-section-heading__aside { flex: 0 1 40%; }
.home .lp-home-v2-story__description,
.home .lp-home-v2-project__description,
.home .lp-section-heading__description { max-width: 58ch; color: var(--lp-text); font-size: 1.15625rem; line-height: 1.7; }
.home .lp-cta__description { max-width: 58ch; color: rgba(255,255,255,.88); font-size: 1.15625rem; line-height: 1.7; }

/* Native Title elements carry the heading text and level. Responsive sizing is
   CSS because the current UX Builder Title control exposes style/tag, not size. */
.home .lp-home-v2-story h2,
.home .lp-home-v2-project h2,
.home .lp-section-heading h2,
.home .lp-progress-preview h2,
.home .lp-news-preview h2 { max-width: 850px; margin: 0 0 16px; color: var(--lp-ink); font-size: 3rem; font-weight: 650; line-height: 1.12; letter-spacing: -.035em; overflow-wrap: normal; }
.home .lp-home-v2-story h2 em,
.home .lp-home-v2-project h2 em,
.home .lp-section-heading h2 em,
.home .lp-progress-preview h2 em,
.home .lp-news-preview h2 em { color: #9a733f; font-weight: 500; }
.home .lp-hero .lp-hero__title h1 { max-width: 900px; margin: 0 0 10px; color: #fff; font-size: clamp(3.5rem, 7vw, 5.25rem); font-weight: 700; line-height: 1.04; letter-spacing: -.045em; text-align: left; text-wrap: balance; }
.home .lp-hero .lp-hero__title--accent h1 { color: #e0c391; font-style: italic; font-weight: 500; }

/* Keep Banner height and responsive placement under Builder control. */
.home .lp-hero .lp-hero__content { max-width: 960px; text-align: left; }
.home .lp-hero__lead { max-width: 560px; margin: 0 0 26px; color: rgba(255,255,255,.9); font-size: 1.125rem; line-height: 1.65; text-align: left; }
.home .lp-hero .lp-hero__content a.button.lp-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; margin: 0 12px 0 0; padding-inline: 22px; font-size: 1.0625rem; line-height: 1.2; }
.home .lp-hero--v2 .banner-bg .overlay { background-image: linear-gradient(0deg, rgba(5,19,16,.68), transparent 58%); }
.home .lp-hero--v2 .banner-bg::after { position: absolute; inset: 0 auto 0 0; z-index: 1; width: 70%; background: rgba(5,19,16,.5); content: ""; pointer-events: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%); }
.home .lp-hero--v2 .lp-hero__content a.button.is-outline.lp-button { color: #fff; background-image: linear-gradient(rgba(255,255,255,.08), rgba(255,255,255,.08)); border-color: rgba(255,255,255,.42); box-shadow: none; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.home .lp-hero--v2 .lp-hero__content a.button.is-outline.lp-button:hover { color: #fff; background-image: linear-gradient(rgba(255,255,255,.16), rgba(255,255,255,.16)); }

/* Homepage Stats retain native rows and columns with a borderless strip. */
.home .lp-stats--v3 { background: #fff; border: 0; }
.home .lp-stats--v3:not(.lp-builder-preset--stats) .lp-stat .col-inner { height: auto; min-height: 128px; padding-inline: 22px; }
.home .lp-stats--v3 .lp-stat,
.home .lp-stats--v3 .lp-stat + .lp-stat::before,
.home .lp-stats--v3 .lp-stat:nth-child(-n+2) { border: 0; }
.home .lp-stats--v3 .lp-stat + .lp-stat::before { display: none; }
.home .lp-stats--v3 .lp-stat__value h3 { border: 0; color: var(--lp-ink); font-size: clamp(1.85rem, 2.55vw, 2.5rem); line-height: 1.1; }
.home .lp-stats--v3 .lp-stat__value .section-title-main { margin-right: 0; border: 0; }
.home .lp-stats--v3 .lp-stat__unit { color: var(--lp-gold); font-size: 1.0625rem; font-weight: 700; letter-spacing: .02em; }
.home .lp-stats--v3 .lp-stat__label { color: var(--lp-text); font-size: 1rem; font-weight: 650; letter-spacing: .015em; line-height: 1.4; }
.home .lp-home-progress-shortcut.section { padding: 17px 0; background: #f1f5f2; }
.home .lp-home-progress-shortcut .col-inner { align-items: center; }

/* The Intro and Project rows use their native Builder Column widths. */
.home .lp-home-v2-story { background: #fbfaf7; }
.home .lp-home-v2-story__visual .img { width: 100%; max-width: none; margin: 0; box-shadow: var(--lp-shadow); }
.home .lp-home-v2-story__visual .img-inner { height: 410px; padding-top: 0 !important; overflow: hidden; }
.home .lp-home-v2-story__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home .lp-home-principles { margin-top: 20px; }
.home .lp-home-principle { border: 0; }
.home .lp-home-principle > .col-inner { display: flex; min-height: 88px; align-items: center; gap: 12px; padding: 16px 18px; background: #E5EEE7; border: 0; border-radius: 0; }
.home .lp-home-principle__number { width: 30px; height: 30px; display: grid; flex: 0 0 30px; place-items: center; color: var(--lp-gold); border: 1px solid rgba(181,139,82,.55); border-radius: 50%; font-family: var(--lp-serif); font-size: 1rem; }
.home .lp-home-principle__label { color: var(--lp-ink); font-size: 1rem; font-weight: 650; line-height: 1.45; }
.home .lp-home-v2-project { background: #f3f0e8; }
.home .lp-home-v2-project__visual { box-shadow: none; }
.home .lp-home-v2-project__visual .img { width: 100%; max-width: none; margin: 0; box-shadow: none; background: transparent; }
.home .lp-home-v2-project__visual .img-inner { background: transparent; }
.home .lp-home-v2-project__facts { margin-top: 18px; border: 0; }
.home .lp-home-v2-project__facts > .col { min-width: 0; }
.home .lp-home-v2-project__facts > .col > .col-inner { display: flex; min-height: 88px; flex-direction: column; justify-content: center; gap: 6px; padding: 16px 18px; border: 0; border-radius: 0; background: #E5EEE7; }
.home .lp-project-fact__number { color: var(--lp-gold); font-family: var(--lp-serif); font-size: 1rem; }
.home .lp-project-fact__label { color: var(--lp-ink); font-size: 1rem; font-weight: 650; line-height: 1.4; }

/* Infrastructure card count comes from native Column spans: 3 / 2 / 1. */
.home .lp-home-infra { background: #fff; }
.home .lp-home-infra__grid { padding: 0; }
.home .lp-home-infra .lp-section-heading { gap: 12px; margin-bottom: 14px; }
.home .lp-home-infra__cards { margin-top: 0; }
.home .lp-infra-card > .col-inner { height: 100%; padding: 0 0 22px; border: 0; }
.home .lp-infra-card__image { width: 100%; margin-bottom: 18px; }
.home .lp-infra-card__image .img-inner { height: 220px; padding-top: 0 !important; }
.home .lp-infra-card__image img { width: 100%; height: 100%; object-fit: cover; }
.home .lp-infra-card__title h3 { margin: 8px 0; font-size: 1.35rem; line-height: 1.3; border-bottom: 0; }
.home .lp-infra-card__title .section-title-main { margin-right: 0; margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.home .lp-infra-card__description { color: var(--lp-text); font-size: 1.125rem; line-height: 1.65; }

/* Dynamic legal cards stay light; only their corner arrow changes on hover. */
.home .lp-legal-preview--v2 .lp-document-card { min-height: 310px; padding: 23px; background: rgba(255,255,255,.9); }
.home .lp-legal-preview--v2 .lp-document-card::before { top: 12px; right: 12px; width: 36px; height: 36px; border: 1px solid rgba(16,39,33,.18); border-radius: 50%; content: "↗"; color: var(--lp-gold); font-size: 1.15rem; }
.home .lp-legal-preview--v2 .lp-document-card:hover { color: var(--lp-text); background: rgba(255,255,255,.9); border-color: var(--lp-line); transform: none; }
.home .lp-legal-preview--v2 .lp-document-card:hover::before { color: #fff; border-color: var(--lp-green); background: var(--lp-green); transform: none; }
.home .lp-legal-preview--v2 .lp-document-card:hover .lp-document-card__topline time { color: var(--lp-muted); }
.home .lp-legal-preview--v2 .lp-document-card:hover .lp-document-card__title a { color: var(--lp-ink); }
.home .lp-legal-preview--v2 .lp-document-card p { color: var(--lp-text); }
.home .lp-legal-preview--v2 .lp-document-card:hover p { color: var(--lp-text); }
.home .lp-legal-preview--v2 .lp-document-card:hover .lp-document-card__note { border-color: var(--lp-line); }
.home .lp-legal-preview--v2 .lp-document-card:hover .lp-text-link { color: var(--lp-green); }
.home .lp-legal-preview--v2 .lp-document-card__topline { gap: 10px; margin-bottom: 18px; padding-right: 38px; }
.home .lp-legal-preview--v2 .lp-document-card__topline time,
.home .lp-legal-preview--v2 .lp-document-card p,
.home .lp-legal-preview--v2 .lp-document-card__actions .lp-text-link,
.home .lp-legal-preview--v2 .lp-document-card__file-note { font-size: 1.125rem; line-height: 1.5; }
.home .lp-legal-preview--v2 .lp-document-card__title { max-width: 94%; font-size: 1.35rem; line-height: 1.25; }
.home .lp-legal-preview--v2 .lp-status { min-height: 30px; border-radius: 0; font-size: 1rem; letter-spacing: .02em; }

/* Homepage progress separates its editorial row from the full-width milestone grid. */
.home .lp-progress-preview--v2 { background: #f5f5f0; }
.home .lp-progress-preview--v2 .lp-progress-preview__grid { display: flex; align-items: center; gap: 36px 0; }
.home .lp-progress-preview--v2 .lp-progress-preview__grid > .col { min-width: 0; padding: 0 16px; }
.home .lp-progress-preview--v2 .lp-progress-preview__cards > .col { min-width: 0; padding: 0; }
.home .lp-progress-preview--v2 .lp-progress-preview__cards > .col > .col-inner { width: 100%; }
.home .lp-progress-preview--v2 .lp-progress-preview__description { max-width: 42rem; margin: 20px 0 0; color: var(--lp-text); font-size: 1.15625rem; line-height: 1.6; }
.home .lp-progress-preview--v2 .lp-progress-preview__visual .img { box-shadow: var(--lp-shadow); }
.home .lp-progress-preview--v2 .lp-progress-preview__visual .img-inner { height: auto; }
.home .lp-progress-preview--v2 .lp-progress-preview__visual img { object-position: center; }
.home .lp-progress-preview--v2 .lp-timeline--stacked { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.home .lp-progress-preview--v2 .lp-timeline--stacked .lp-timeline__item { display: grid; min-width: 0; grid-template-columns: 32px minmax(0, 1fr); grid-template-areas: "index content" "meta meta"; align-items: start; column-gap: 12px; row-gap: 8px; padding: 18px; border: 1px solid var(--lp-line); background: #fff; }
.home .lp-progress-preview--v2 .lp-timeline--stacked .lp-timeline__index { grid-area: index; padding-top: 2px; }
.home .lp-progress-preview--v2 .lp-timeline--stacked .lp-timeline__content { grid-area: content; min-width: 0; }
.home .lp-progress-preview--v2 .lp-timeline--stacked .lp-timeline__meta { grid-area: meta; min-width: 0; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.home .lp-progress-preview--v2 .lp-timeline--stacked time,
.home .lp-progress-preview--v2 .lp-progress-badge,
.home .lp-progress-preview--v2 .lp-timeline--stacked p,
.home .lp-progress-preview--v2 .lp-progress-source { font-size: 1rem; line-height: 1.5; }
.home .lp-progress-preview--v2 .lp-progress-badge { width: auto; white-space: normal; }
.home .lp-progress-preview--v2 .lp-timeline--stacked h3 { margin: 0 0 8px; font-size: 1.2rem; line-height: 1.35; }
.home .lp-progress-preview--v2 .lp-timeline--stacked h3 a { color: var(--lp-ink); }
.home .lp-progress-preview--v2 .lp-timeline--stacked p { margin: 0; color: var(--lp-text); font-size: 1.125rem; }
.home .lp-progress-preview--v2 .lp-progress-source { display: inline-block; margin-top: 12px; color: var(--lp-green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Body calls to action use the existing shared arrow pattern. */
.home .lp-arrow-button.button { margin-top: 16px; color: var(--lp-green); font-size: 1.0625rem; font-weight: 800; }
.home .lp-arrow-button.button::after { width: 43px; height: 43px; display: inline-grid; place-items: center; margin-left: 14px; border: 1px solid rgba(16,39,33,.28); border-radius: 50%; content: "↗"; font-size: 1.1rem; font-weight: 400; transition: .25s ease; }
.home .lp-arrow-button.button:hover::after { color: #fff; background: var(--lp-green); border-color: var(--lp-green); transform: rotate(45deg); }
.home .lp-arrow-button.button:focus-visible { outline: 3px solid var(--lp-gold); outline-offset: 4px; }

/* News keeps its dynamic cards and moves the Builder CTA under the title on mobile. */
.home .lp-news-preview--v2 .lp-news-featured-grid--ux { gap: 18px; }
.home .lp-news-preview--v2 .lp-news-featured-grid--ux .lp-news-featured { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 230px auto; }
.home .lp-news-preview--v2 .lp-news-featured-grid--ux .lp-news-featured__image { min-height: 0; }
.home .lp-news-preview--v2 .lp-news-featured-grid--ux .lp-news-featured > div { padding: 24px; }
.home .lp-news-preview--v2 .lp-news-featured-grid--ux time { font-size: 1rem; line-height: 1.55; }
.home .lp-news-preview--v2 .lp-news-featured-grid--ux p { color: var(--lp-text); font-size: 1.125rem; line-height: 1.55; }
.home .lp-news-preview--v2 .lp-news-featured-grid--ux h3 { margin: 12px 0; font-size: 1.35rem; line-height: 1.28; }
.home .lp-cta--image h2 { max-width: 750px; font-size: clamp(2.5rem, 3.34vw, 3rem); line-height: 1.15; }

@media (max-width: 849px) {
  .home .lp-legal-preview--v2 .lp-section-heading__content { flex-basis: 60%; }
  .home .lp-legal-preview--v2 .lp-section-heading__aside { flex-basis: 40%; }
  .home .lp-home-v2-story h2,
  .home .lp-home-v2-project h2,
  .home .lp-section-heading h2,
  .home .lp-progress-preview h2,
  .home .lp-news-preview h2 { font-size: 2.5rem; }
  .home .lp-stats--v3:not(.lp-builder-preset--stats) .lp-stat .col-inner { min-height: 124px; padding-inline: 12px; }
  .home .lp-stats--v3 .lp-stat__value h3 { font-size: clamp(1.6rem, 3.6vw, 1.9rem); }
  .home .lp-progress-preview--v2 .lp-timeline--stacked { grid-template-columns: minmax(0, 1fr); }
  .home .lp-legal-preview--v2 .lp-document-card { min-height: 280px; padding: 20px; }
  .home .lp-legal-preview--v2 .lp-document-card__topline { margin-bottom: 18px; }
  .home .lp-news-preview--v2 .lp-news-featured-grid--ux { gap: 22px; }
  .home .lp-news-preview--v2 .lp-news-featured-grid--ux .lp-news-featured__image { min-height: 200px; }
  .home .lp-news-preview--v2 .lp-news-featured-grid--ux .lp-news-featured > div { padding: 22px; }
}

@media (max-width: 780px) {
  .home .lp-hero--v2 .banner-bg .overlay { background-image: linear-gradient(0deg, rgba(5,19,16,.94) 0%, rgba(5,19,16,.55) 62%, rgba(5,19,16,.12) 100%); opacity: .32; }
  .home .lp-hero--v2 .banner-bg::after { width: 78%; }
}

@media (max-width: 549px) {
  .home .lp-home-infra .lp-section-heading,
  .home .lp-news-preview--v2 .lp-section-heading {
    align-items: center;
    text-align: center;

  }
   .home .lp-home-infra .lp-home-infra__cards.row-small.row-full-width {
    margin-left: 0;
    margin-right: 0;
  }
  .home .lp-hero .lp-hero__title h1 { font-size: 2.75rem; line-height: 1.03; }
  .home .lp-hero__lead { margin-bottom: 20px; font-size: 1rem; line-height: 1.55; }
  .home .lp-hero .lp-hero__content a.button.lp-button { width: 100%; max-width: 360px; min-height: 48px; margin: 0 0 12px; font-size: 1rem; }
  .home .lp-stats--v3:not(.lp-builder-preset--stats) .lp-stat .col-inner { min-height: 118px; gap: 8px; padding: 12px 10px; }
  .home .lp-stats--v3 .lp-stat__value h3 { font-size: clamp(1.45rem, 7vw, 1.8rem); }
  .home .lp-stats--v3 .lp-stat__unit,
  .home .lp-stats--v3 .lp-stat__label,
  .home .lp-index-label,
  .home .lp-eyebrow,
  .home .lp-home-v2-story__description,
  .home .lp-home-v2-project__description,
  .home .lp-section-heading__description,
  .home .lp-cta__description,
  .home .lp-home-principle__label,
  .home .lp-project-fact__label,
  .home .lp-infra-card__description,
  .home .lp-arrow-button.button { font-size: 1rem; }
  .home .lp-home-v2-story h2,
  .home .lp-home-v2-project h2,
  .home .lp-section-heading h2,
  .home .lp-progress-preview h2,
  .home .lp-news-preview h2 { font-size: 2.125rem; line-height: 1.12; }
  .home .lp-home-v2-story__visual .img-inner { height: 260px; }
  .home .lp-home-principles { margin-top: 12px; }
  .home .lp-home-principle > .col-inner { min-height: 76px; padding: 14px 16px; }
  .home .lp-home-v2-project__facts > .col > .col-inner { min-height: 76px; padding: 14px 16px; }
  .home .lp-section-heading { margin-bottom: 24px; }
  .home .lp-section-heading__aside { max-width: none; margin-top: 14px; }
  .home .lp-legal-preview--v2 .lp-section-heading__content,
  .home .lp-legal-preview--v2 .lp-section-heading__aside { flex-basis: 100%; }
  .home .lp-infra-card__image .img-inner { height: 205px; }
  .home .lp-legal-preview--v2 .lp-document-card { min-height: 260px; padding: 19px; }
  .home .lp-legal-preview--v2 .lp-document-card__topline time,
  .home .lp-legal-preview--v2 .lp-document-card p,
  .home .lp-legal-preview--v2 .lp-document-card__actions .lp-text-link,
  .home .lp-legal-preview--v2 .lp-document-card__file-note,
  .home .lp-legal-preview--v2 .lp-status,
  .home .lp-progress-preview--v2 .lp-timeline--stacked time,
  .home .lp-progress-preview--v2 .lp-progress-badge,
  .home .lp-progress-preview--v2 .lp-timeline--stacked p,
  .home .lp-progress-preview--v2 .lp-progress-source,
  .home .lp-news-preview--v2 .lp-news-featured-grid--ux time,
  .home .lp-news-preview--v2 .lp-news-featured-grid--ux p { font-size: 1rem; }
  .home .lp-legal-preview--v2 .lp-document-card__title,
  .home .lp-progress-preview--v2 .lp-timeline--stacked h3,
  .home .lp-news-preview--v2 .lp-news-featured-grid--ux h3 { font-size: 1.08rem; }
  .home .lp-progress-preview--v2 .lp-timeline--stacked { gap: 10px; margin: 18px 0; }
  .home .lp-progress-preview--v2 .lp-timeline--stacked .lp-timeline__item { column-gap: 10px; row-gap: 8px; padding: 15px; }
  .home .lp-news-preview--v2 .lp-news-featured-grid--ux .lp-news-featured { grid-template-rows: 210px auto; }
  .home .lp-cta--image h2 { font-size: 2.125rem; }
}
