/* Homepage structure templates — hub + 5 options */

.page-home-template #content,
.page-home-templates #content {
  padding: 0;
}

.page-home-template .top-sticky,
.page-home-templates .top-sticky {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
.page-home-template.has-admin-bar .top-sticky,
.page-home-templates.has-admin-bar .top-sticky {
  top: 2.75rem;
}

/* ---- Hub ---- */
.ht-hub {
  padding: 6rem 0 3rem;
}
.ht-hub__inner {
  max-width: 52rem;
}
.ht-hub__badge {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blush-600);
}
.ht-hub__lead {
  margin: 0 0 2rem;
  color: var(--ink-soft);
  max-width: 42rem;
}
.ht-hub__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .ht-hub__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ht-hub__card {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem;
  border-radius: calc(var(--radius) + 0.15rem);
  background: rgba(255, 252, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), background 0.25s;
}
.ht-hub__card:hover {
  transform: translateY(-2px);
  background: rgba(255, 252, 250, 0.96);
}
.ht-hub__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--blush-400);
}
.ht-hub__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blush-600);
}
.ht-hub__card strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
}
.ht-hub__card span:last-child {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}
.ht-hub__links {
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  color: var(--ink-soft);
}
.ht-hub__links a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.ht-hub__links a:hover { color: var(--blush-600); }

/* ---- Template bar ---- */
.ht-bar {
  position: sticky;
  top: 4.5rem;
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  background: rgba(253, 252, 251, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.page-home-template.has-admin-bar .ht-bar { top: 7.25rem; }
.ht-bar a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.ht-bar a:hover { color: var(--blush-600); }
.ht-bar__mid {
  color: var(--ink-soft);
  flex: 1;
  min-width: 10rem;
}
.ht-bar__nav {
  display: flex;
  gap: 0.85rem;
}

/* ---- Shared blocks ---- */
.ht-trust {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.ht-trust li {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(245, 217, 210, 0.45);
  border: 1px solid rgba(90, 61, 56, 0.08);
}

.ht-quote-band {
  padding: 2rem 0;
}
.ht-quote-band__inner {
  margin: 0;
  padding: 1.35rem 1.5rem;
  border-radius: calc(var(--radius) + 0.2rem);
  background: rgba(255, 252, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.ht-quote-band__inner p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-soft);
}
.ht-quote-band__inner--large p {
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
}

.ht-section-head {
  margin-bottom: 1.5rem;
  max-width: 40rem;
}
.ht-section-head__solo {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 400;
}

.ht-pathways { padding: 1.5rem 0 2rem; }
.ht-pathways__grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) {
  .ht-pathways__grid { grid-template-columns: 1fr 1fr; }
}
.ht-path-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.25rem 1.3rem;
  border-radius: calc(var(--radius) + 0.15rem);
  background: rgba(255, 252, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease);
}
.ht-path-card:hover { transform: translateY(-2px); }
.ht-path-card__eyebrow {
  font-family: var(--font-display);
  color: var(--blush-400);
  font-size: 1.1rem;
}
.ht-path-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
}
.ht-path-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.ht-path-card__link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blush-600);
}

.ht-values-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 700px) {
  .ht-values-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .ht-value-tile:nth-child(1),
  .ht-value-tile:nth-child(2),
  .ht-value-tile:nth-child(3) {
    grid-column: span 2;
  }
  .ht-value-tile:nth-child(4) { grid-column: span 3; }
  .ht-value-tile:nth-child(5) { grid-column: span 3; }
}
.ht-value-tile {
  padding: 1.1rem 1.15rem;
  border-radius: calc(var(--radius) + 0.1rem);
  background: rgba(255, 252, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.65);
}
.ht-value-tile__num {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--blush-400);
}
.ht-value-tile h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 400;
}
.ht-value-tile p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ht-steps {
  padding: 1.5rem 0 2rem;
}
.ht-steps h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
}
.ht-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 760px) {
  .ht-steps__list { grid-template-columns: repeat(3, 1fr); }
}
.ht-steps__list li {
  padding: 1rem 1.1rem;
  border-radius: calc(var(--radius) + 0.1rem);
  background: rgba(255, 252, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.65);
}
.ht-steps__list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
}
.ht-steps__list span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.ht-practitioner {
  padding: 0 0 2rem;
}
.ht-practitioner__inner {
  display: grid;
  gap: 1.25rem;
  padding: 1.35rem 1.4rem;
  border-radius: calc(var(--radius) + 0.2rem);
  background: rgba(255, 252, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
@media (min-width: 760px) {
  .ht-practitioner__inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}
.ht-practitioner h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
}
.ht-practitioner p {
  margin: 0;
  color: var(--ink-soft);
}
.ht-practitioner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ht-invite { padding-bottom: 2rem; }

/* Tree intro on template heroes */
.page-home-template [data-intro-copy] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-soft), transform 1.1s var(--ease-soft);
}
.page-home-template.is-intro-ready [data-intro-copy] {
  opacity: 1;
  transform: none;
}
.page-home-template .home-hero__scroll {
  opacity: 0;
  transition: opacity 0.8s var(--ease-soft) 0.4s;
}
.page-home-template.is-intro-ready .home-hero__scroll {
  opacity: 0.8;
}

/* ---- Option 1 hero tweaks ---- */
.ht-o1-hero .home-hero__copy {
  margin-left: max(1.25rem, calc((100% - 1120px) / 2));
  margin-right: auto;
  width: min(100% - 2.5rem, 42rem);
}

/* ---- Option 2 cinematic ---- */
.ht-o2-hero__stage {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
}
.ht-o2-hero__title {
  text-align: center;
  width: min(100% - 2rem, 36rem);
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 0.2rem);
  background: rgba(255, 252, 250, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.ht-o2-hero__title h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  text-wrap: balance;
}
.ht-o2-chapter {
  padding: 2.5rem 0;
  min-height: min(70vh, 32rem);
  display: grid;
  align-items: center;
}
.ht-o2-chapter__inner {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: calc(var(--radius) + 0.2rem);
  background: rgba(255, 252, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
@media (min-width: 700px) {
  .ht-o2-chapter__inner {
    grid-template-columns: 5rem 1fr;
    align-items: start;
  }
}
.ht-o2-chapter__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  color: var(--blush-400);
}
.ht-o2-chapter h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 400;
}
.ht-o2-chapter p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 38rem;
}
.ht-o2-services {
  padding: 2rem 0;
}

/* ---- Option 3 editorial split ---- */
.ht-o3-hero {
  padding: 6rem 0 2rem;
}
.ht-o3-hero__grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .ht-o3-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    min-height: min(72vh, 38rem);
  }
}
.ht-o3-hero__copy {
  padding: 1.4rem 1.45rem;
  border-radius: calc(var(--radius) + 0.2rem);
  background: rgba(255, 252, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  align-self: center;
}
.ht-o3-hero__copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  text-wrap: balance;
}
.ht-o3-hero__tree {
  min-height: 16rem;
  border-radius: calc(var(--radius) + 0.2rem);
  border: 1px dashed rgba(201, 143, 132, 0.45);
  background: rgba(255, 252, 250, 0.25);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
}
.ht-o3-values {
  padding: 1.5rem 0 2rem;
}
.ht-o3-values__grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .ht-o3-values__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}
.ht-o3-values__intro {
  padding: 1.25rem 1.3rem;
  border-radius: calc(var(--radius) + 0.15rem);
  background: rgba(255, 252, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.65);
}
.ht-o3-values__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-radius: calc(var(--radius) + 0.15rem);
  background: rgba(255, 252, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.65);
  overflow: hidden;
}
.ht-o3-values__row {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(90, 61, 56, 0.08);
}
.ht-o3-values__row:last-child { border-bottom: 0; }
.ht-o3-values__row h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 400;
}
.ht-o3-values__row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---- Option 4 doorways ---- */
.ht-o4-hero {
  padding: 6rem 0 1.5rem;
}
.ht-o4-hero__inner {
  max-width: 36rem;
  padding: 1.35rem 1.4rem;
  border-radius: calc(var(--radius) + 0.2rem);
  background: rgba(255, 252, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  text-align: center;
}
.ht-o4-hero__inner h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  text-wrap: balance;
}
.ht-o4-doors {
  padding: 1rem 0 1.5rem;
}
.ht-o4-doors__grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 700px) {
  .ht-o4-doors__grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .ht-door:nth-child(1),
  .ht-door:nth-child(2),
  .ht-door:nth-child(3) { grid-column: span 2; }
  .ht-door:nth-child(4) { grid-column: span 3; }
  .ht-door:nth-child(5) { grid-column: span 3; }
}
.ht-door {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.15rem;
  min-height: 9rem;
  border-radius: calc(var(--radius) + 0.1rem);
  background: rgba(255, 252, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.65);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.ht-door:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 143, 132, 0.45);
}
.ht-door__num {
  font-family: var(--font-display);
  color: var(--blush-400);
  font-size: 1.2rem;
}
.ht-door h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
}
.ht-door p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.4;
}
.ht-door__enter {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blush-600);
}
.ht-o4-final {
  padding: 0 0 1.5rem;
}
.ht-o4-final__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

/* ---- Option 5 trust-first ---- */
.ht-o5-hero {
  padding: 6rem 0 1rem;
}
.ht-o5-hero__inner {
  max-width: 40rem;
  padding: 1.35rem 1.4rem;
  border-radius: calc(var(--radius) + 0.2rem);
  background: rgba(255, 252, 250, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.ht-o5-hero__inner h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  text-wrap: balance;
}
.btn--lg {
  min-height: 3.1rem;
  padding-inline: 1.6rem;
  font-size: 1rem;
}
.ht-o5-trust {
  padding: 0.5rem 0 1.5rem;
}
.ht-o5-trust__bar {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 760px) {
  .ht-o5-trust__bar { grid-template-columns: repeat(4, 1fr); }
}
.ht-o5-trust__bar li {
  padding: 0.75rem 0.85rem;
  border-radius: calc(var(--radius-sm));
  background: rgba(255, 252, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.ht-o5-trust__bar strong {
  display: block;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ht-o5-services {
  padding: 0 0 1.5rem;
}
.ht-o5-services__grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) {
  .ht-o5-services__grid { grid-template-columns: 1fr 1fr; }
}
.ht-service-card {
  padding: 1.25rem 1.3rem;
  border-radius: calc(var(--radius) + 0.15rem);
  background: rgba(255, 252, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.ht-service-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
}
.ht-o5-values {
  padding: 0 0 2rem;
}
.ht-o5-values__grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 760px) {
  .ht-o5-values__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ht-o5-value {
  padding: 0.85rem 0.95rem;
  border-radius: calc(var(--radius-sm));
  background: rgba(255, 252, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.65);
}
.ht-o5-value h3 {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 400;
}
.ht-o5-value--quote {
  grid-column: 1 / -1;
  padding: 1rem 1.1rem;
  background: rgba(245, 217, 210, 0.35);
}
.ht-o5-value--quote p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.45;
}
.ht-o5-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: none;
  gap: 0.5rem;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(253, 252, 251, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.ht-o5-sticky .btn { flex: 1; }
@media (max-width: 760px) {
  .page-home-option-5 .ht-o5-sticky {
    display: flex;
  }
  .page-home-option-5 .ht-invite {
    padding-bottom: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ht-path-card,
  .ht-hub__card,
  .ht-door { transition: none; }
}
