/* Public Home/Index only. Reuse the existing Hidden Places design system. */
.hp-homepage { max-width: 1440px; margin: 0 auto; color: var(--hp-forest); }
.hp-homepage *, .hp-homepage *::before { box-sizing: border-box; }
.hp-homepage h1, .hp-homepage h2, .hp-homepage h3 { font-family: var(--hp-font-heading); color: inherit; }
.hp-homepage h1 { font-size: clamp(2.5rem, 3.4vw, 4rem); line-height: 1.07; letter-spacing: -.035em; font-weight: 500; margin: 18px 0 22px; }
.hp-homepage h1 em { font-style: normal; color: var(--hp-gold); }
.hp-homepage h2 { font-size: clamp(2rem, 2.7vw, 3rem); line-height: 1.13; letter-spacing: -.025em; font-weight: 500; margin: 12px 0 18px; }
.hp-homepage h3 { font-size: 1.3rem; line-height: 1.25; margin: 0 0 10px; }
.hp-homepage p { font-size: .95rem; line-height: 1.75; margin: 0 0 20px; color: var(--hp-grey-600); }
.hp-homepage .hph-lead { font-size: 1.12rem; line-height: 1.65; color: var(--hp-forest); }
.hph-eyebrow { font-size: .68rem; font-weight: 800; letter-spacing: .13em; color: var(--hp-gold); }
.hph-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; padding: 24px 0 48px; }
.hph-hero-copy { padding: 12px 0; }
.hph-hero-media { position: relative; min-width: 0; margin: 0; align-self: stretch; min-height: 480px; border-radius: var(--hp-radius-large); overflow: hidden; background: var(--hp-forest-dark); }
.hph-hero-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.hph-hero-media::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, var(--hp-forest-dark)); }
.hph-hero-media figcaption { position: absolute; z-index: 1; bottom: 28px; left: 28px; right: 24px; color: var(--hp-cream); font: 1.8rem/1.2 var(--hp-font-heading); }
.hph-hero-media figcaption span { display: block; font: 700 .62rem/1.5 var(--hp-font-body); letter-spacing: .13em; color: var(--hp-cream); margin-bottom: 9px; }
.hph-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0 18px; }
.hp-homepage .hp-button { min-height: 46px; font-size: .82rem; justify-content: center; }
.hph-text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .84rem; font-weight: 700; color: var(--hp-forest); text-underline-offset: 5px; }
.hph-platform { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--hp-grey-200); padding: 24px 0; }
.hph-platform a { display: flex; flex-direction: column; justify-content: center; min-height: 48px; color: var(--hp-forest); text-decoration: none; }
.hph-platform strong { font-family: var(--hp-font-heading); font-size: 1.3rem; margin-bottom: 5px; }
.hph-platform a > span { color: var(--hp-grey-600); font-size: .8rem; line-height: 1.5; }
.hph-platform a > span > span { color: var(--hp-gold); margin-left: 8px; }
.hph-platform a:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.hp-homepage [id] { scroll-margin-top: 28px; }
.hp-homepage a:focus-visible { outline: 3px solid var(--hp-gold); outline-offset: 4px; }
.hph-section { padding: 52px 0; border-top: 1px solid var(--hp-grey-200); }
.hph-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 26px; }
.hph-section-heading h2 { margin-bottom: 0; }
.hph-section-heading > p { max-width: 260px; margin: 0; font-size: .88rem; }
.hph-section-heading > .hp-button { flex-shrink: 0; }
.hph-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hph-category { min-width: 0; color: var(--hp-forest); text-decoration: none; border-radius: var(--hp-radius); overflow: hidden; background: var(--hp-white); border: 1px solid var(--hp-grey-200); }
.hph-category-media { aspect-ratio: 1.65; overflow: hidden; }
.hph-category img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Existing category artwork includes a lower caption strip. Keep the photograph
   inside the image window; the accessible category caption is rendered below. */
.hph-category img.hph-category-artwork { height: 125%; object-position: center top; }
.hph-category-copy { padding: 18px 20px; }
.hph-category h3 { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.hph-category h3 span { font-family: var(--hp-font-body); font-size: 1rem; color: var(--hp-gold); }
.hph-category p { margin: 0; font-size: .82rem; }
.hph-category:hover { box-shadow: var(--hp-shadow-small); color: var(--hp-forest-dark); }
.hph-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 36px; }
.hph-number { display: block; margin-bottom: 18px; color: var(--hp-gold); font-size: .75rem; font-weight: 700; }
.hph-benefits p { font-size: .88rem; }
.hph-fees { margin-top: 18px; padding: 22px 26px; background: var(--hp-cream); border-radius: var(--hp-radius); display: flex; align-items: center; gap: 28px; }
.hph-fees p { flex: 1; margin: 0; font-size: .82rem; }
.hph-fees strong { color: var(--hp-forest); }
.hph-fees > a { flex-shrink: 0; }
.hph-os { padding: 38px; border: 0; border-radius: var(--hp-radius-large); background: linear-gradient(135deg, var(--hp-forest-dark), var(--hp-forest)); color: var(--hp-cream); display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; margin: 12px 0 52px; }
.hph-os h2 { font-size: clamp(2.3rem, 2.8vw, 3.1rem); }
.hph-os p, .hph-os .hph-lead { color: var(--hp-cream); }
.hph-os p { font-size: .88rem; }
.hph-os .hph-os-promise { color: var(--hp-gold); font-size: 1.65rem; font-weight: 500; margin: 24px 0 18px; }
.hph-os .hph-os-qualification { font-size: .78rem; line-height: 1.7; }
.hph-os-gallery { display: grid; gap: 24px; min-width: 0; }
.hph-os-tools { grid-column: 1 / -1; border-top: 1px solid var(--hp-gold); padding-top: 28px; }
.hph-os-tools-heading p { margin: 8px 0 24px; font-size: .82rem; }
.hph-os-tools .hph-os-capabilities { border: 0; padding-top: 0; row-gap: 30px; }
.hph-os-roadmap { grid-column: 1 / -1; border-top: 1px solid var(--hp-gold); padding-top: 22px; }
.hph-os-roadmap strong { font-size: .8rem; color: var(--hp-gold); }
.hph-os-roadmap p { margin: 8px 0 0; font-size: .78rem; }
.hph-os .hph-text-link { color: var(--hp-cream); }
.hph-os-image { margin: 0; min-width: 0; }
.hph-os-image img { width: 100%; height: auto; display: block; border-radius: var(--hp-radius-small); box-shadow: var(--hp-shadow-large); }
.hph-os-image figcaption { margin-top: 12px; font-size: .65rem; line-height: 1.5; color: var(--hp-cream); }
.hph-os-capabilities { grid-column: 1 / -1; border-top: 1px solid var(--hp-gold); padding-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.hph-os-capabilities h3 { font-size: 1.15rem; }
.hph-os-capabilities p { font-size: .8rem; margin: 0; }
.hph-providers { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-top: 12px; border-top: 0; }
.hph-final { text-align: center; padding: 46px 28px; margin: 8px 0 24px; border-radius: var(--hp-radius-large); background: var(--hp-cream); }
.hph-final .hph-actions { justify-content: center; margin-bottom: 0; }
@media (max-width: 1200px) {
    .hph-hero { gap: 24px; }
    .hph-os { grid-template-columns: 1fr; }
    .hph-os-copy { max-width: 650px; }
}
@media (max-width: 1000px) {
    .hph-hero { grid-template-columns: 1fr; }
    .hph-hero-copy { max-width: 650px; }
    .hph-hero-media { min-height: 340px; }
    .hph-section-heading { align-items: start; flex-direction: column; gap: 16px; }
    .hph-section-heading > p { max-width: 500px; }
    .hph-benefits { gap: 20px; }
}
@media (max-width: 600px) {
    .hph-platform { grid-template-columns: 1fr; gap: 18px; }
    .hp-homepage [id] { scroll-margin-top: 92px; }
    .hph-hero { padding-top: 8px; padding-bottom: 32px; gap: 20px; }
    .hp-homepage h1 { font-size: 2.55rem; }
    .hp-homepage h2 { font-size: 2.05rem; }
    .hph-hero-media { min-height: 290px; }
    .hph-hero-media figcaption { left: 22px; bottom: 22px; font-size: 1.65rem; }
    .hph-section { padding: 34px 0; }
    .hph-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .hph-category-media { aspect-ratio: 1.2; }
    .hph-category-copy { padding: 14px 10px; }
    .hph-category h3 { font-size: 1.07rem; }
    .hph-category p { font-size: .75rem; line-height: 1.5; }
    .hph-benefits, .hph-os-capabilities, .hph-providers { grid-template-columns: 1fr; gap: 24px; }
    .hph-benefits { margin-top: 28px; }
    .hph-number { margin-bottom: 8px; }
    .hph-benefits p { margin-bottom: 0; }
    .hph-fees { flex-direction: column; align-items: start; gap: 8px; padding: 20px; }
    .hph-os { padding: 26px 20px; margin-bottom: 34px; gap: 24px; }
    .hph-os .hph-actions { align-items: start; }
    .hph-providers { padding-top: 0; }
    .hph-final { padding: 34px 20px; }
    .hph-actions { gap: 10px; }
}
