/* Exact hero rules copied from Estate checkpoint 08b72c69ded2cf559d694dbb6598aae67da7f31a.
   Loaded only by the DPRC homepage; Estate and all other DPRC pages are unchanged. */
/* Shared local hero title system: Estate, Polo and the separate DPRC review. */
.hero.unified-hero .hero-content h1.hero-family-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .16em;
  margin: 0;
  font-family: "Trajan Pro", "Cinzel", Georgia, serif;
  font-size: clamp(2rem, 9.2vw, 5.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: .055em;
  text-align: center;
  color: var(--ivory-soft);
}
.hero.unified-hero .hero-family-name {
  display: block;
  font-size: 1em;
  line-height: 1.05;
  letter-spacing: .055em;
  white-space: nowrap;
}
.hero.unified-hero .hero-family-section {
  display: block;
  font-size: .58em;
  line-height: 1.12;
  letter-spacing: .045em;
}
.hero.unified-hero .hero-content > .eyebrow {
  margin-bottom: 20px;
  color: rgba(var(--champagne-rgb), .88);
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .22em;
  text-align: center;
}

/* Reserve room below the unchanged supporting content on short screens. */
@media (max-width: 850px) and (max-height: 700px) {
  .hero.unified-hero { padding-bottom: 100px; }
}


/* Keep the shared title group centred when supporting content is wider. */
.hero.unified-hero .hero-content { min-width: 0; }

/* Estate-only hero lock. The separate DPRC review retains its existing stylesheet. */
.hero.hero-layout {
  --hero-name-size: clamp(2rem, 9.2vw, 5.25rem);
  --hero-main-line: calc(var(--hero-name-size) * 1.05);
  --hero-secondary-size: calc(var(--hero-name-size) * .58);
  --hero-secondary-line: calc(var(--hero-secondary-size) * 1.12);
  --hero-secondary-lines: 1;
  --hero-title-gap: calc(var(--hero-name-size) * .16);
  --hero-secondary-area: calc(var(--hero-secondary-line) * var(--hero-secondary-lines));
  --hero-heading-area: calc(var(--hero-main-line) + var(--hero-title-gap) + var(--hero-secondary-area));
  --hero-eyebrow-area: 17.92px;
  --hero-eyebrow-gap: 20px;
  --hero-copy-size: clamp(1rem, 1.45vw, 1.18rem);
  --hero-copy-line: calc(var(--hero-copy-size) * 1.55);
  --hero-copy-lines: 1;
  --hero-copy-area: calc(var(--hero-copy-line) * var(--hero-copy-lines));
  --hero-copy-gap: 24px;
  --hero-actions-gap: 30px;
  --hero-content-top: clamp(132px, 26svh, 300px);
  --hero-content-bottom: 76px;
  align-items: start;
  align-content: start;
  grid-template-columns: minmax(0, 1fr);
  padding: var(--hero-content-top) 24px var(--hero-content-bottom);
}
.hero.hero-layout .hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: var(--hero-eyebrow-area) var(--hero-eyebrow-gap) var(--hero-heading-area) var(--hero-copy-gap) var(--hero-copy-area) var(--hero-actions-gap) auto;
  gap: 0;
  align-items: start;
  align-content: start;
  align-self: start;
  width: min(100%, 920px);
  max-width: 920px;
  min-width: 0;
  margin: 0 auto;
  text-align: center;
}
.hero.hero-layout .hero-content > .eyebrow {
  grid-row: 1;
  align-self: end;
  width: 100%;
  min-width: 0;
  margin: 0;
  font-size: .7rem;
  line-height: 1.6;
  white-space: normal;
}
.hero.hero-layout .hero-content > h1.hero-family-title {
  grid-row: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: var(--hero-main-line) var(--hero-secondary-area);
  row-gap: var(--hero-title-gap);
  column-gap: 0;
  align-items: start;
  align-content: start;
  justify-items: center;
  width: 100%;
  min-width: 0;
  height: var(--hero-heading-area);
  margin: 0;
  font-size: var(--hero-name-size);
}
.hero.hero-layout .hero-family-name {
  grid-row: 1;
  justify-self: center;
  align-self: start;
  white-space: nowrap;
}
.hero.hero-layout .hero-family-section {
  grid-row: 2;
  justify-self: center;
  align-self: start;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  text-align: center;
}
.hero.hero-layout .hero-content > .hero-text {
  grid-row: 5;
  align-self: start;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  font-size: var(--hero-copy-size);
  line-height: 1.55;
  text-align: center;
  white-space: nowrap;
}
.hero.hero-layout .hero-content > .hero-actions {
  grid-row: 7;
  align-self: start;
  justify-self: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}
@media (min-width: 851px) and (max-height: 800px) {
  .hero.hero-layout { --hero-content-top: clamp(112px, 18svh, 160px); }
}
@media (max-width: 850px) {
  .hero.hero-layout {
    --hero-eyebrow-area: 35.84px;
    --hero-eyebrow-gap: 16px;
    --hero-secondary-lines: 2;
    --hero-copy-lines: 2;
    --hero-copy-gap: 20px;
    --hero-actions-gap: 24px;
    --hero-content-top: clamp(108px, 16svh, 160px);
    --hero-content-bottom: 100px;
    padding-inline: 20px;
  }
  .hero.hero-layout .hero-content > .hero-text { white-space: normal; }
  .hero.hero-layout .hero-content > .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 360px);
  }
}
@media (max-width: 360px) {
  .hero.hero-layout { --hero-copy-lines: 3; }
}

/* Retain the existing DPRC access note below the fixed hero rows. */
.hero.hero-layout .hero-content > .access-note {
  grid-row: 8;
  justify-self: center;
}
