/* === STAGE32A_HOME_PAGE_VISUAL_FREEZE_START ===
   Homepage visual freeze foundation.
   Purpose: freeze the current homepage visual system without rebuilding it:
   - hero image/media layer
   - hero copy position
   - hero stat cards
   - investment cards/grid
   - colors, radius, shadows and spacing used by homepage

   Do not use this file to invent a new hero direction.
   New homepage templates must respect this contract or update the guard.
*/
:root {
  --dh-home-freeze-shell: min(var(--max), calc(100% - 56px));
  --dh-home-freeze-hero-bg: #152216;
  --dh-home-freeze-hero-min-height: 500px;
  --dh-home-freeze-hero-overlay-a: rgba(0, 0, 0, .78);
  --dh-home-freeze-hero-overlay-b: rgba(0, 0, 0, .50);
  --dh-home-freeze-hero-overlay-c: rgba(0, 0, 0, .16);
  --dh-home-freeze-hero-text: #fff;
  --dh-home-freeze-hero-muted: rgba(255, 255, 255, .86);
  --dh-home-freeze-copy-width: min(680px, 52vw);
  --dh-home-freeze-title-size: clamp(42px, 5.6vw, 82px);
  --dh-home-freeze-title-line-height: .95;
  --dh-home-freeze-copy-size: clamp(17px, 1.35vw, 22px);
  --dh-home-freeze-stat-margin-top: -56px;
  --dh-home-freeze-stat-grid: repeat(4, minmax(0, 1fr));
  --dh-home-freeze-stat-gap: 16px;
  --dh-home-freeze-stat-radius: 24px;
  --dh-home-freeze-stat-min-height: 92px;
  --dh-home-freeze-investment-gap: 20px;
  --dh-home-freeze-card-radius: var(--radius);
  --dh-home-freeze-card-shadow: var(--shadow-soft);
  --dh-home-freeze-card-media-ratio: 16 / 10;
}

#view-home {
  background: transparent;
}

#view-home > .hero {
  min-height: var(--dh-home-freeze-hero-min-height);
  display: grid;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  background: var(--dh-home-freeze-hero-bg);
  color: var(--dh-home-freeze-hero-text);
}

#view-home > .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--dh-home-freeze-hero-overlay-a) 0%, var(--dh-home-freeze-hero-overlay-b) 46%, var(--dh-home-freeze-hero-overlay-c) 82%),
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .16));
  z-index: 1;
}

#view-home > .hero > .hero-media,
#view-home > .hero img.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

#view-home > .hero > .shell.hero-inner {
  width: var(--dh-home-freeze-shell);
  max-width: var(--dh-home-freeze-shell);
  min-height: var(--dh-home-freeze-hero-min-height);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 72px 0 96px;
}

#view-home > .hero .eyebrow {
  color: rgba(255, 255, 255, .88);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .24);
}

#view-home > .hero h1 {
  max-width: var(--dh-home-freeze-copy-width);
  color: var(--dh-home-freeze-hero-text);
  font-size: var(--dh-home-freeze-title-size);
  line-height: var(--dh-home-freeze-title-line-height);
  letter-spacing: -.065em;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

#view-home > .hero h1 span {
  color: #e8f0e3;
}

#view-home > .hero p {
  max-width: var(--dh-home-freeze-copy-width);
  color: var(--dh-home-freeze-hero-muted);
  font-size: var(--dh-home-freeze-copy-size);
  line-height: 1.52;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

#view-home > .hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

#view-home > .shell.hero-stats {
  width: var(--dh-home-freeze-shell);
  max-width: var(--dh-home-freeze-shell);
  margin: var(--dh-home-freeze-stat-margin-top) auto 0;
  display: grid;
  grid-template-columns: var(--dh-home-freeze-stat-grid);
  gap: var(--dh-home-freeze-stat-gap);
  position: relative;
  z-index: 4;
}

#view-home > .hero-stats .stat-card {
  min-height: var(--dh-home-freeze-stat-min-height);
  border-radius: var(--dh-home-freeze-stat-radius);
  box-shadow: var(--dh-home-freeze-card-shadow);
}

#view-home > #investments {
  padding-top: 76px;
}

#view-home .investment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--dh-home-freeze-investment-gap);
}

#view-home .investment-card {
  border-radius: var(--dh-home-freeze-card-radius);
  box-shadow: var(--dh-home-freeze-card-shadow);
  overflow: hidden;
}

#view-home .investment-card figure {
  aspect-ratio: var(--dh-home-freeze-card-media-ratio);
  overflow: hidden;
}

#view-home .investment-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 860px) {
  :root {
    --dh-home-freeze-stat-grid: repeat(2, minmax(0, 1fr));
    --dh-home-freeze-copy-width: 100%;
    --dh-home-freeze-hero-min-height: 560px;
  }

  #view-home > .hero > .shell.hero-inner {
    padding: 56px 0 92px;
  }
}

@media (max-width: 560px) {
  :root {
    --dh-home-freeze-stat-grid: minmax(0, 1fr);
  }
}
/* === STAGE32A_HOME_PAGE_VISUAL_FREEZE_END === */
/* === STAGE32D_HOME_HERO_SEPARATED_COPY_MEDIA_START ===
   Guarded homepage hero split.
   Copy and image are separate windows. Text must not overlay the project image.
*/
:root {
  --dh-home-direct-hero-shell: min(1320px, calc(100% - 56px));
  --dh-home-direct-hero-bg: #e9eee9;
  --dh-home-direct-hero-copy-bg: #07130d;
  --dh-home-direct-hero-copy-text: #f7faf5;
  --dh-home-direct-hero-copy-muted: rgba(247, 250, 245, .88);
  --dh-home-direct-hero-media-bg: #eef2ee;
  --dh-home-direct-hero-grid: minmax(360px, .43fr) minmax(0, .57fr);
  --dh-home-direct-hero-height: clamp(440px, 42vw, 600px);
  --dh-home-direct-hero-radius: 28px;
  --dh-home-direct-hero-copy-padding: clamp(34px, 4.2vw, 62px);
  --dh-home-direct-hero-title-size: clamp(34px, 4.15vw, 58px);
  --dh-home-direct-hero-title-line-height: 1.02;
  --dh-home-direct-hero-title-tracking: -.055em;
  --dh-home-direct-hero-copy-size: clamp(15px, 1.05vw, 18px);
  --dh-home-direct-hero-copy-line-height: 1.52;
  --dh-home-direct-hero-stat-margin-top: -48px;
  --dh-home-direct-hero-section-gap: 72px;
}

#view-home > .hero {
  width: var(--dh-home-direct-hero-shell) !important;
  max-width: var(--dh-home-direct-hero-shell) !important;
  min-height: var(--dh-home-direct-hero-height) !important;
  height: auto !important;
  margin: 40px auto 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: var(--dh-home-direct-hero-grid) !important;
  align-items: stretch !important;
  gap: 0 !important;
  overflow: hidden !important;
  border-radius: var(--dh-home-direct-hero-radius) !important;
  background: var(--dh-home-direct-hero-copy-bg) !important;
  color: var(--dh-home-direct-hero-copy-text) !important;
  box-shadow: 0 26px 80px rgba(15, 23, 18, .16) !important;
  isolation: isolate !important;
}

#view-home > .hero::before,
#view-home > .hero::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

#view-home > .hero > .shell.hero-inner {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: var(--dh-home-direct-hero-height) !important;
  height: 100% !important;
  margin: 0 !important;
  padding: var(--dh-home-direct-hero-copy-padding) !important;
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  background: var(--dh-home-direct-hero-copy-bg) !important;
  color: var(--dh-home-direct-hero-copy-text) !important;
}

#view-home > .hero > .hero-media,
#view-home > .hero img.hero-media {
  grid-column: 2 !important;
  grid-row: 1 !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  min-height: var(--dh-home-direct-hero-height) !important;
  z-index: 1 !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: var(--dh-home-direct-hero-media-bg) !important;
  transform: none !important;
}

#view-home > .hero .eyebrow {
  max-width: 100% !important;
  color: rgba(255, 255, 255, .9) !important;
  background: rgba(255, 255, 255, .12) !important;
  border-color: rgba(255, 255, 255, .24) !important;
  white-space: normal !important;
}

#view-home > .hero h1 {
  width: 100% !important;
  max-width: 100% !important;
  margin: 20px 0 16px !important;
  font-size: var(--dh-home-direct-hero-title-size) !important;
  line-height: var(--dh-home-direct-hero-title-line-height) !important;
  letter-spacing: var(--dh-home-direct-hero-title-tracking) !important;
  color: var(--dh-home-direct-hero-copy-text) !important;
  text-wrap: balance !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

#view-home > .hero h1 span {
  color: #e8f0e3 !important;
}

#view-home > .hero p {
  width: 100% !important;
  max-width: 100% !important;
  color: var(--dh-home-direct-hero-copy-muted) !important;
  font-size: var(--dh-home-direct-hero-copy-size) !important;
  line-height: var(--dh-home-direct-hero-copy-line-height) !important;
  text-wrap: pretty !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

#view-home > .hero .hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-top: 24px !important;
}

#view-home > .shell.hero-stats {
  width: min(1120px, calc(100% - 64px)) !important;
  max-width: min(1120px, calc(100% - 64px)) !important;
  margin: var(--dh-home-direct-hero-stat-margin-top) auto 0 !important;
  position: relative !important;
  z-index: 4 !important;
}

#view-home > #investments {
  padding-top: var(--dh-home-direct-hero-section-gap) !important;
}

@media (max-width: 980px) {
  :root {
    --dh-home-direct-hero-grid: minmax(0, 1fr);
    --dh-home-direct-hero-height: auto;
  }

  #view-home > .hero {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
  }

  #view-home > .hero > .shell.hero-inner {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-height: auto !important;
  }

  #view-home > .hero > .hero-media,
  #view-home > .hero img.hero-media {
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-height: 280px !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
  }

  #view-home > .shell.hero-stats {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    margin-top: 18px !important;
  }
}
/* === STAGE32D_HOME_HERO_SEPARATED_COPY_MEDIA_END === */

